/* ==================================================
   INDU PRATIBHA - CONTACT US PAGE STYLESHEET
   Built on Bootstrap 5. Relies on the CSS variables
   and shared header/footer rules defined in style.css
   (loaded before this file) — do not duplicate them here.
   ================================================== */

/* ==================================================
   CONTACT HERO
   ================================================== */
.ip-contact-hero {
    /* IMAGE PLACEHOLDER: replace contact-hero.webp with your own photo */
    background-image:url("Assets/contact-us-banner.webp");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: var(--ip-cream);
    padding: 70px 0;
    min-height: 475px;
    display: flex;
    align-items: center;
}

.ip-contact-eyebrow {
    display: inline-block;
    color: var(--ip-red);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .5px;
    margin-bottom: 10px;
}

.ip-contact-heading {
    font-size: 40px;
    line-height: 1.25;
    margin-bottom: 18px;
}

.ip-contact-desc {
    font-size: 15px;
    color: var(--ip-text-muted);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==================================================
   CONTACT INFORMATION + FORM
   ================================================== */
.ip-contact-main {
    padding: 70px 0;
    background-color: #FFFFFF;
}

.ip-contact-info-heading {
    font-size: 26px;
    margin-bottom: 14px;
}

.ip-contact-info-text {
    font-size: 14px;
    color: var(--ip-text-muted);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 30px;
}

.ip-contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ip-contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--ip-text-dark);
    line-height: 1.6;
}

.ip-contact-info-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--ip-cream-dark);
    color: var(--ip-orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

/* Form card */
.ip-contact-form-card {
    background-color: #FFFFFF;
    border: 1px solid #F1E4CC;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    padding: 30px;
}

.ip-contact-form-heading {
    font-size: 20px;
    color: var(--ip-red);
    margin-bottom: 22px;
}

.ip-form-control {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--ip-text-dark);
    background-color: #FFFFFF;
    border: 1px solid #E4D6BC;
    border-radius: 8px;
    padding: 12px 16px;
}

.ip-form-control::placeholder {
    color: #B7A98E;
}

.ip-form-control:focus {
    border-color: var(--ip-orange-dark);
    box-shadow: 0 0 0 3px rgba(224, 122, 63, 0.15);
}

.ip-form-textarea {
    resize: vertical;
    min-height: 110px;
}

.ip-contact-submit {
    width: 100%;
    border-radius: 30px;
    padding: 13px 28px;
    margin-top: 6px;
}

.ip-form-success {
    display: none;
    margin: 14px 0 0 0;
    font-size: 13px;
    color: #2E7D32;
    text-align: center;
}

.ip-form-success.is-visible {
    display: block;
}

/* Bootstrap validation state colors, mapped to site palette */
.ip-form-control.is-invalid {
    border-color: var(--ip-red);
}

.ip-form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(185, 58, 46, 0.15);
}

/* ==================================================
   MAP
   ================================================== */
.ip-contact-map {
    width: 100%;
    height: 380px;
    line-height: 0;
}

/* ==================================================
   RESPONSIVE - TABLET
   ================================================== */
@media (max-width: 991px) {
    .ip-contact-hero {
        min-height: 300px;
        padding: 50px 0;
    }

    .ip-contact-heading {
        font-size: 32px;
    }

    .ip-contact-info-heading {
        margin-top: 0;
    }
}

/* ==================================================
   RESPONSIVE - MOBILE
   ================================================== */
@media (max-width: 767px) {
    .ip-contact-hero {
        background-position: center;
        background-image: url("Assets/contact-us-banner-mobile.webp");
        padding: 40px 0;
        min-height: 260px;
        text-align: left;
    }

    .ip-contact-heading {
        font-size: 26px;
        line-height: 1.35;
    }

    .ip-contact-desc {
        font-size: 13px;
        max-width: 100%;
    }

    .ip-contact-main {
        padding: 45px 0;
    }

    .ip-contact-form-card {
        padding: 22px;
    }

    .ip-contact-map {
        height: 260px;
    }
}
