.contact-us {
    margin-top: 7.5rem;
    margin-bottom: 4.375rem;
}

.contact-us h2 {
    padding-bottom: 2.5rem;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #2f4447;
    text-align: left;
    margin: 0;
}

.min-contant-row h3 {
    color: #2f4447;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.form-contact {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: space-between;
}

.max-contact-row {
    width: 60%;
}

.max-contact-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.min-contant-row {
    width: 40%;
}

form#contactForm {
    margin-top: 2.5rem;
}

.form-group:not(:last-child) {
    margin-bottom: 2rem;
}

button.btn.btn-primary {
    background-color: #2d4446;
}

input::placeholder {
    color: #6A6A6A;
}

.form-control:valid {
    border-color: #E7B17D;
}

.custom-checkbox input[type="checkbox"] {
    visibility: hidden;
    position: absolute;
}

.custom-checkbox .checkmark {
    position: relative;
    height: 1.56rem;
    width: 1.56rem;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #000;
    transform: translate(-52%, -54%);
}

label.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
}

label.custom-checkbox a {
    color: #E7B17D;
}

div#errorMessages {
    margin-bottom: 2rem;
}

@media (min-width:1200px) {
    button.btn.btn-primary {
        padding-left: 6.25rem;
        padding-right: 6.25rem;
    }

    button.btn.btn-primary:before {
        height: 500%;
    }
}

@media (max-width:1024px) {
    .form-contact {
        gap: 1.875rem;
        flex-direction: column;
    }

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

    .min-contant-row {
        width: 100%;
    }
}

@media (max-width:766px) {
    .contact-us {
        margin-top: 4.3rem;
    }

    .contact-us h2 {
        padding-bottom: 1.875rem;
    }

    button.btn.btn-primary {
        width: 100%;
    }
}
