section.contact {
    padding: 40px 0 180px 0;
}

.contact .container {
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.contact .contact__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
    max-width: 531px;
    padding-bottom: 70px;
}

.contact .contact__title {
    font-weight: 400;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.contact__desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 30px;
}

.contact .contact__title span {
    color: var(--primary-color);
}

.contact .contact__images {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 542px;
    padding-bottom: 70px;
    height: 100%;
    z-index: 1;
}

.contact .contact__images--large {
    position: absolute;
    left: 0;
    top: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 542px;
    width: 100%;
    max-width: 460px;
}

.contact .contact__images--small {
    position: absolute;
    right: 0;
    bottom: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 342px;
    width: 100%;
    max-width: 282px;
}

/* Contact Form Styles */
.contact__form {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.contact-form .form-group {
    width: 100%;
    position: relative;
}

.contact-form .form-control {
    width: 100%;
    padding: 10px 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.05em;
    border: 0;
    border-bottom: 1px solid var(--extra-color);
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus-visible {
    outline: none !important;
}

/* .contact-form .form-control:focus {
    outline: none;
    border-color: #FFC107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
} */

.contact-form .form-control::placeholder {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: var(--secondary-color);
}

.form-control.error::placeholder {
    color: #ba2416;
    ;
}

.contact-form .form-control.error {
    border-color: #ba2416;
    ;
}

.contact-form .error-message {
    display: block;
    position: absolute;
    right: 0;
    top: 12px;
    color: #ba2416;
    ;
    font-size: 14px;
}

.contact-form .btn-send {
    width: 100%;
    min-height: 59px;
}

/* .contact-form .btn-send {
    width: 100%;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #FFC107;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form .btn-send:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
} */

.contact-form .btn-send:active {
    transform: translateY(0);
}

.contact-form .btn-send:disabled {
    cursor: not-allowed;
    transform: none;
    opacity: 0.5;
}

.contact-form .form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 0;
    font-size: 14px;
    display: none;
}

.contact-form .form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form .form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #ba2416;
    border: 1px solid #f5c6cb;
}

/* .contact-form .form-group-checkbox {
    margin-bottom: 25px;
} */

.contact-form .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    color: var(--text-color);
}

.form-group-checkbox .checkbox-label:has(input.error) .checkbox-text,
.form-group-checkbox .checkbox-label:has(input.error) .checkbox-text a {
    color: #ba2416;
}

.contact-form .checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 15px;
    height: 15px;
    padding: 0;
    margin-right: 10px;
    cursor: pointer;
    border: 1px solid var(--secondary-color) !important;
    position: relative;
    border-radius: 0;
    background: #fff;
    transition: all 0.3s linear;
}

.contact-form .checkbox-label input[type="checkbox"]:hover {
    border-color: var(--primary-color);
}

.contact-form .checkbox-label input[type="checkbox"]:checked {
    /* background: var(--primary-color); */
    border-color: var(--primary-color);
}

.contact-form .checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 9px;
    transform: translate(-50%, -50%);
    width: 23px;
    height: 20px;
    background-image: url('../images/checkbox.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-form .checkbox-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: var(--secondary-color);
    padding-top: 2px;
}

.contact-form .checkbox-text a {
    color: var(--primary-color);
    border-bottom: 1px solid transparent;
    text-decoration: underline;
    transition: color 0.3s linear, border-bottom 0.3s linear;
}

.contact-form .checkbox-text a:hover {
    border-bottom: 1px solid var(--primary-color);
}

@media screen and (max-width: 1279px) {
    .contact .container {
        padding: 0;
        margin: 0 40px;
    }
}

@media screen and (max-width: 1200px) {
    .contact .contact__images {
        min-width: 45%;
    }

    .contact .contact__images--large {
        height: 455px;
        max-width: 385px;
    }

    .contact .contact__images--small {
        height: 275px;
        max-width: 225px;
    }

    .contact .contact__content {
        padding-bottom: 0;
    }

    .contact .contact__content {
        max-width: 465px;
    }
}

@media screen and (max-width: 1023px) {
    .contact .contact__content {
        max-width: 430px;
    }

    .contact .contact__images {
        min-width: 47%;
    }
}

@media screen and (max-width: 959px) {
    section.contact {
        padding: 40px 0 100px 0;
    }

    .contact .contact__images {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 40px;
    }

    .contact .container {
        padding: 0;
        margin: 0 40px;
        flex-direction: column;
        gap: 80px;
    }

    .contact .contact__images--large {
        position: relative;
    }

    .contact .contact__content {
        max-width: 100%;
    }

    .contact .contact__images {
        padding-bottom: 60px;
    }

    .contact .contact__title,
    .contact__desc {
        text-align: center;
        align-self: center;
    }

    .contact .contact__title {
        font-size: 60px;
    }
}

@media screen and (max-width: 767px) {
    .contact .contact__images--large {
        background-image: url(../images/mobile-main-bg.png);
    }

    .contact .contact__images {
        padding-bottom: 40px;
    }


}

@media screen and (max-width: 549px) {
    .contact .container {
        padding: 0 15px;
        margin: 0;
    }

    .contact .contact__images--large {
        max-width: 80%;
        height: 360px;
    }

    .contact .contact__images {
        max-width: 100%;
        max-height: none;
        align-items: flex-start;
    }

    .contact .contact__images--small {
        height: 200px;
        max-width: 166px;
    }

    .contact .contact__title {
        font-size: 44px;
    }

    .contact__desc {
        font-size: 16px;
    }

    section.contact {
        padding: 60px 0 70px 0;
    }
}

@media screen and (max-width: 474px) {
    .contact .contact__images--large {
        height: 320px;
        max-width: 69%;
    }
}

@media screen and (max-width: 424px) {
    .contact .contact__images--large {
        height: 318px;
        max-width: 270px;
    }
}
