/* =====================================================
   CONTACT HERO & FORM SECTION
   ===================================================== */

.contact-hero-banner {
    position: relative;
    width: 100%;
    height: 80vh;
    background-color: #eaeae5;
    overflow: hidden;
}

.contact-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

.contact-form-section {
    /* warm off-white */
    padding: 0 0 100px 0;
    position: relative;
}

.contact-card {
    background-color: #ffffff;
    padding: 50px;
    margin-top: -140px;
    /* overlap banner */
    position: relative;
    z-index: 10;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.05);
}

.contact-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* ---- Left Column: Contact info ---- */
.contact-card-left {
    flex: 0 0 45%;
    max-width: 45%;
}

.contact-title {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 30px 0;
}

.contact-tagline {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 200;
    margin: 0 0 14px 0;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-detail-item {
    font-size: 16px;
    font-weight: 200;
}

.contact-address-text {
    line-height: 1.6;
}

/* ---- Right Column: Form ---- */
.contact-card-right {
    flex: 0 0 48%;
    max-width: 48%;
}

.contact-minimal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.contact-form-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999990;
    margin-bottom: 6px;
}

.contact-form-control,
.contact-form-select,
.contact-form-textarea {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid #000;
    background: transparent;
    padding: 15px 10px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

input::placeholder,
textarea::placeholder {
    color: #000;
    opacity: 1;
}

.contact-form-control:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
    border-bottom-color: #8a7451;
}

.contact-form-textarea {
    resize: none;
    min-height: 150px;
    line-height: 1.6;
}

/* Custom Dropdown select wrapper */
.contact-select-wrapper {
    position: relative;
    width: 100%;
}

.contact-form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 24px;
    cursor: pointer;
    text-transform: uppercase;
}

.contact-select-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%23999990' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m1 1 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

/* ---- Styled reCAPTCHA Mockup ---- */
.contact-recaptcha-mock {
    background-color: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    width: 302px;
    height: 76px;
    margin-top: 10px;
}

.recaptcha-mock-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 12px;
}

.recaptcha-mock-checkbox-wrap {
    display: flex;
    align-items: center;
}

.recaptcha-checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.recaptcha-checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
    user-select: none;
}

.recaptcha-checkbox-box {
    width: 24px;
    height: 24px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    background-color: #ffffff;
    margin-right: 12px;
    position: relative;
    transition: background-color 0.1s ease, border-color 0.1s ease;
}

.recaptcha-checkbox-input:checked+.recaptcha-checkbox-label .recaptcha-checkbox-box::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #00c853;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.recaptcha-mock-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.recaptcha-logo-img {
    width: 32px;
    height: 32px;
    display: block;
    margin-bottom: 2px;
}

.recaptcha-text-links {
    font-size: 8px;
    color: #555555;
    line-height: 1.2;
}

.recaptcha-text-links a {
    color: #555555;
    text-decoration: none;
}

.recaptcha-text-links a:hover {
    text-decoration: underline;
}

/* ---- Submit Button ---- */
.contact-form-submit-btn {
    width: 100%;
    background-color: #897762;
    /* Olive-brown */
    color: #ffffff;
    border: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 18px 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
    text-align: center;
}

.contact-form-submit-btn:hover {
    background-color: #716150;
    transform: translateY(-1px);
}

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

.about-btn {
    font-size: 16px;
}

/* ── Responsive styling ── */

@media (max-width: 991px) {
    .contact-hero-banner {
        height: 380px;
    }

    .contact-card {
        padding: 50px;
        margin-top: -100px;
    }

    .contact-card-inner {
        flex-direction: column;
        gap: 30px;
    }

    .contact-card-left,
    .contact-card-right {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .contact-tagline:last-of-type {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero-banner {
        height: 300px;
    }

    .contact-card {
        padding: 30px;
        margin-top: -60px;
    }

    .contact-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .contact-form-section {
        padding: 0 0 50px 0;
    }
}

@media (max-width: 480px) {
    .contact-hero-banner {
        height: 220px;
    }

    .contact-card {
        padding: 35px 20px;
        margin-top: -40px;
    }

    .contact-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contact-recaptcha-mock {
        width: 100%;
    }

    .contact-form-submit-btn {
        padding: 16px 0;
        letter-spacing: 2px;
    }
}