/* General form styling */

/* Input fields */
.wpcf7 .row.two-col p{display:flex;gap:20px;}
.wpcf7 p{margin-bottom:20px !important;}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea{width:100%;padding:12px;border:1px solid #ccc;border-radius:6px;font-family:var(--montserrat);font-size:var(--f16);box-sizing:border-box;transition:border-color 0.3s,box-shadow 0.3s;}

/* Focus effect */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus{border-color:var(--color-primary);box-shadow:0 0 5px rgba(0,115,230,0.5);outline:none;}

/* Submit button */
.wpcf7 input[type="submit"]{display:inline-block;padding:12px 20px;background-color:var(--color-primary);color:#fff;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:background-color 0.3s;}
.wpcf7 input[type="submit"]:hover{background-color:var(--color-primary);}

/* Labels */
.wpcf7 label{display:block;font-weight:bold;color:var(--black);font-size:16px;width:100%;}

 /* Error message styling */
.wpcf7-response-output{margin-top:15px;padding:10px;border:1px solid #f44336;background-color:#fdecea;color:#f44336;border-radius:4px;display:none;}

/* Success message styling */
.wpcf7 .wpcf7-mail-sent-ok{margin-top:15px;padding:10px;border:1px solid #4caf50;background-color:#e8f5e9;color:#4caf50;border-radius:4px;}

/* Validation error styling */
.wpcf7 .wpcf7-not-valid{border-color:#f44336;box-shadow:0 0 5px rgba(244,67,54,0.5);}

/* Gravity Form */

.contact-form .gform-theme--foundation .gfield {
    

    @media (min-width: 991px)  {
        grid-column: 1 / 6 !important;
    }
    &.right-msg {
        @media (min-width: 991px)  {
            grid-column: 6 / 13 !important;
            grid-row: 1 / 6 !important;
        }
        display: flex;
        flex-direction: column-reverse;
        justify-items: flex-end;
        .ginput_container_textarea{
            height: 100%;
            textarea{
                height: 100%;
                padding-top: 25px !important;
                font-size: 16px !important;
            }
        }
        .gfield_description{
            font-size: var(--f38);
           
            color: var(--white);
            margin-bottom: 25px;
            text-transform: uppercase;
            letter-spacing: -0.6px;
          
            @media (min-width: 1700px)  {
                font-size: 43px;
                margin-top: -1px;
                margin-left: -5px;
            }

            span{
                font-weight: 600;
                color: var(--color-primary);
            }
        }
    }
    &.right-info{

        @media (min-width: 991px)  {
            grid-column: 6 / 9 !important;
            grid-row: 6 / 8 !important;
        }
        color: var(--white);
        font-size: 14px;
        .contact-info {
            display: flex;
            gap: 5px;
            justify-content: space-between;
            width: 233px;
            padding-top: 5px;
            h6{
                margin: 0;
                font-size: 16px;
                text-transform: capitalize;
                font-weight: bold;
            }
            img{
                width: 55px;
                max-width: 55px;
            }
        }
        ul{
            list-style: none;
            padding: 0;
            margin: 14px 0 0;
            li{
                display: flex;
                margin-bottom: -4px;
                 span {
                    flex: 0 0 73px
                }
                a{
                    color: var(--color-primary);
                    &:hover{
                     color: var(--white);
                    }
                }
                &:last-child{
                    margin-top: 16px;
                    span{
                        flex: 0 0 auto;
                        margin-right: 5px                    
                    }
                }
            }
        }
    }
	&.gfield--type-turnstile{
		  @media (min-width: 1024px)  {
			  text-align:end;
           grid-column: 9 / 13 !important;
    	   grid-row: 6 / 8 !important;
        }		    
	}
}
/* Input fields */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper select,
.gform_wrapper textarea{width:100%;padding: 12px 20px !important;border:1px solid transparent !important;border-radius: 4px !important;font-family:var(--montserrat) !important;font-size:16px !important;box-sizing:border-box;box-shadow:none !important;transition:border-color 0.3s,box-shadow 0.3s; outline: none !important; resize: none;}
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper select,
.gform_wrapper input[type="number"]{
    min-height: 60px !important;
    @media (max-width: 992px)  {
        min-height: 50px !important;
    }
}
.gform_wrapper textarea,
.gform_wrapper input{
    &::-webkit-input-placeholder { /* WebKit, Blink, Edge */
        color:    #9b9c9e;
    }
    &:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
       color:    #9b9c9e;
       opacity:  1;
    }
    &::-moz-placeholder { /* Mozilla Firefox 19+ */
       color:    #9b9c9e;
       opacity:  1;
    }
    &:-ms-input-placeholder { /* Internet Explorer 10-11 */
       color:    #9b9c9e;
    }
    &::-ms-input-placeholder { /* Microsoft Edge */
       color:    #9b9c9e;
    }
    
    &::placeholder { /* Most modern browsers support this now. */
       color:    #9b9c9e;
    }
    
}
.gform_wrapper select{
    color: var(--white) !important;
    font-weight: 600 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none !important;
    background: var(--color-primary) url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2021%2010.44%22%3E%3Cpolygon%20points%3D%220%200%2010.5%2010.44%2021%200%200%200%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E') no-repeat center right 30px !important;   
    background-size: 20px!important;
	padding-right:50px !important;
    
}


/* Focus effect */
.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper input[type="number"]:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus{border-color:var(--color-primary) !important;box-shadow:0 0 5px rgba(0,115,230,0.5) !important;outline:none;}

/* Submit button */
/* Submit button */
.gform_wrapper input[type="submit"],
.gform_wrapper button[type="submit"]{
    padding: 14px 46px !important;
    background-color: var(--color-primary) !important;
    color: var(--white) !important;
    border: 2px solid var(--color-primary) !important;
    font-family: var(--montserrat) !important;
    border-radius: 0px !important;
    font-size: var(--f16) !important;
    line-height: 1.25em !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: capitalize !important;
    min-width: auto !important;
}
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper button[type="submit"]:hover{background-color:var(--color-secondary) !important;color: var(--white) !important;}
.gform_wrapper input[type="submit"]:focus{outline:0 !important;box-shadow:none !important;}
.gform-theme--foundation .gform_fields{gap:25px 41px !important;
    @media (max-width: 992px)  {
        gap:20px 41px !important;
    }
}
.gform-theme--framework .gfield_validation_message:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)){
    background-color: var(--white); padding: 5px; border-radius: 5px;
}
.gform-theme--framework .gform_validation_errors{
    background-color: var(--white) !important;

    .gform_submission_error{
        text-transform: unset!important;
    }
}

/* Labels */
.gform_wrapper .gfield_label{display:block;font-weight:bold;color:var(--black);font-size:16px;width:100%;}

/* Error message styling */
.gform_wrapper .gform_validation_error{margin-top:15px;padding:10px;border:1px solid #f44336;background-color:#fdecea;color:#f44336;border-radius:4px;}

/* Success message styling */
.gform_confirmation_message{margin-top:15px;padding:10px;border:1px solid #4caf50;background-color:#e8f5e9;color:#4caf50;border-radius:4px;}

/* Validation error styling for fields */
.gform_wrapper .gfield_error input[type="text"],
.gform_wrapper .gfield_error input[type="email"],
.gform_wrapper .gfield_error input[type="tel"],
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea{border-color:#f44336;box-shadow:0 0 5px rgba(244,67,54,0.5);}


/** 31-05**/
.gform-theme--framework .gform_validation_errors{display:none !important;}
.gform-theme--foundation .gform_fields .gfield_validation_message{width:auto;display:inline-block;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 5px !important;
    margin-bottom: 0 !important;

}
.gform_wrapper select:focus{box-shadow:none !important;}
.gform-theme--framework .gform-loader{border-block-end-color:var(--color-primary) !important;border-block-start-color:var(--white)!important;border-inline-end-color:var(--white) !important;border-inline-start-color:var(--color-primary)!important;width:30px;height:30px;}
.gform-theme--foundation .gfield select{line-height:2.2;}
.gform_confirmation_message{background-color:green;text-align:center;padding:30px;color:#fff;border-radius:6px !important;}
.popup-close .elementor-icon{border-color:var(--color-primary) !important;}
.gform-theme--foundation .hidden_label .gfield_label {display: none;}

@media (min-width: 1400px)  {
.gform-theme--foundation .gfield .ginput_container input{letter-spacing: 1px; padding:10px 19px !important;line-height:1.3 !important;}
}

@media (max-width: 1400.98px)  {
.gform_wrapper .gfield_description {margin-top: 0 !important;margin-bottom: 20px !important;line-height: 1.15;}
.gform-theme--foundation .gform_fields{gap:20px 30px !important;}
.gform_wrapper select{background:var(--color-primary) url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2021%2010.44%22%3E%3Cpolygon%20points%3D%220%200%2010.5%2010.44%2021%200%200%200%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E) no-repeat center right 20px !important;background-size:20px !important;}
}

@media (max-width: 992px)  {
.gform_wrapper select{line-height:1.5em !important;background-position:center right 20px !important;background-size:15px!important;}
}

@media (max-width: 991.98px)  {
.gform-theme--foundation .gfield textarea.large{min-block-size:15rem;}
}

@media (max-width: 990.98px)  {
.gform-theme--foundation .gform_fields{display:flex !important;flex-wrap:wrap;flex-direction:column;}
}

/* End */
