/* =====================================================
   Dr. Dipanjan Mukherjee — Contact page styles
   Built on Bootstrap 5
   ===================================================== */

:root {
    --brand: #009dff;
    --brand-dark: #0181f5;
    --brand-light: #5db2ff;
    --ink: #1f1f1f;
    --muted: #727272;
    --soft: #f7f7f7;
    --footer-bg: #303030;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------------- Shared utilities ---------------- */

.section-padding {
    padding: 80px 0;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.25;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 18px;
}

.section-subtext {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 0;
}

.btn-brand {
    background: linear-gradient(to right, var(--brand-dark) 0%, var(--brand-light) 100%);
    color: #fff !important;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 13px 34px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.35s ease;
}

.btn-brand:hover,
.btn-brand:focus {
    background: #fff;
    color: var(--brand) !important;
    border-color: var(--brand);
}

/* ---------------- Navbar ---------------- */

.site-navbar {
    background: #fff;
    padding: 6px 0;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
}

.site-navbar .navbar-brand img {
    height: 120px;
    width: auto;
}

.site-navbar .nav-link {
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--brand);
}

.site-navbar .navbar-toggler {
    border: 0;
    padding: 4px 8px;
    font-size: 22px;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* ---------------- Page banner ---------------- */

.page-banner {
    position: relative;
    background-color: #65b4f9;
    background-image: url(../img/banner/bann2.png);
    background-repeat: no-repeat;
    /* anchor to the top so the doctor's head is never clipped */
    background-position: center top;
    background-size: cover;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(9, 74, 116, 0.82), rgba(9, 74, 116, 0.55));
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.page-banner .breadcrumb {
    justify-content: center;
    margin: 0;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.page-banner .breadcrumb-item a:hover {
    color: #fff;
}

.page-banner .breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* ---------------- Contact form ---------------- */

.contact-section {
    background: #fff;
}

.contact-form-wrap {
    background: var(--soft);
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 32px;
    height: 100%;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
}

.form-control {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14.5px;
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    background: #fff;
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 157, 255, 0.12);
}

.form-control::placeholder {
    color: #a9a9a9;
}

.form-status {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.form-status i {
    margin-right: 6px;
    font-size: 16px;
}

.form-status.alert-success {
    background: rgba(25, 160, 90, 0.1);
    border: 1px solid rgba(25, 160, 90, 0.28);
    color: #15804a;
}

.form-status.alert-error {
    background: rgba(214, 51, 51, 0.08);
    border: 1px solid rgba(214, 51, 51, 0.25);
    color: #b22727;
}

/* Result popup */
.status-modal {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.status-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.status-modal-icon.is-success {
    background: rgba(25, 160, 90, 0.12);
    color: #15804a;
}

.status-modal-icon.is-error {
    background: rgba(214, 51, 51, 0.1);
    color: #b22727;
}

.status-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
}

.status-modal-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 0;
}

/* ---------------- Contact info ---------------- */

.contact-info-wrap {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info:first-child {
    padding-top: 0;
}

.contact-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.contact-info p {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0;
}

.contact-info a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--brand-dark);
}

.info-note {
    font-size: 13px;
    color: #9b9b9b;
}

.info-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 157, 255, 0.12);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
}

.contact-social > span {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
}

.contact-social .footer-social a {
    border-color: #e2e2e2;
    color: var(--brand);
}

.contact-social .footer-social a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* ---------------- Map ---------------- */

.map-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 420px;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

/* ---------------- Footer ---------------- */

.site-footer {
    background: var(--footer-bg);
    color: #bebebe;
    padding-top: 70px;
}

.footer-logo img {
    height: 52px;
    width: auto;
    margin-bottom: 18px;
}

.footer-text {
    font-size: 15px;
    line-height: 1.85;
    color: #bebebe;
    margin-bottom: 18px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 15px;
    color: #bebebe;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.footer-contact {
    color: #bebebe;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-contact:hover {
    color: var(--brand);
}

.footer-contact i {
    margin-right: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: #9b9b9b;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--brand);
}

.footer-bottom .bi-heart-fill {
    color: var(--brand);
    font-size: 12px;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 991.98px) {
    .section-padding {
        padding: 55px 0;
    }

    .site-navbar .navbar-collapse {
        padding-top: 12px;
    }

    .site-navbar .nav-link {
        padding: 9px 0 !important;
    }

    .page-banner {
        padding: 70px 0;
    }

    .contact-form-wrap,
    .contact-info-wrap {
        padding: 26px;
    }

    .contact-form-wrap {
        margin-bottom: 10px;
    }
}

@media (max-width: 767.98px) {
    .site-navbar .navbar-brand img {
        height: 96px;
    }

    .page-banner {
        padding: 55px 0;
    }

    .contact-form-wrap,
    .contact-info-wrap {
        padding: 22px;
    }

    .map-wrap iframe {
        height: 300px;
    }

    .footer-bottom {
        margin-top: 35px;
    }
}
