.custom-contact-section {
    display: grid;
    gap: 40px;

}

.contact-left figure {
    position: relative;
    border-radius: 8px;
    overflow: hidden;

}

.contact-left figure::before {
    content: "";
    position: static;
    width: 100%;
    padding-top: calc(517 / 545 * 100%);
    display: block;
}

.contact-left figure img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-right .wpcf7-spinner{
        position: absolute;
        left: 150px;
        top: 10px;
}



.contact-right p {
    font-family: 'inter', sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: #595959;
    margin-top: 16px;
    margin-bottom: 0;
}

.contact-form {
    margin-top: 32px;
}

.contact-form label {
    font-size: 14px;
    color: #595959;
    margin-bottom: 20px;
    width: 100%;
    
}

.contact-form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 11px 16px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.2s ease;
    font-family: inherit;
    color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #000000;
}

.contact-form textarea {
    width: 100%;
    resize: none;
    height: 110px;
}

.contact-form input[type="submit"] {
    background-color: #004123;
    border-color: #004123;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-family: 'inter', sans-serif;
    width: auto;
}

.contact-form input[type="submit"]:hover {
    background-color: #3a9046;
    border-color: #004123;
}

.contact-form .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 11px;
    position: absolute;
    top: calc(100% - 5px);
    left: 0;
}





@media screen and (min-width: 1000px) {
  
    .contact-form input[type="submit"] {
        font-size: 14px;
         padding: 13px 20px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
           padding: 13px 16px;
    }
    .contact-right p { 
    font-size: 16px;
    line-height: 18px;
    }

 
 

}


@media screen and (min-width: 1200px) {
    .custom-contact-section {
        grid-template-columns: 1fr 1.3fr;
        gap: 60px;

    }
}