:root {
    --navy: #0d3150;
    --blue: #1176c8;
    --sky: #eaf6ff;
    --ink: #193449;
    --muted: #647786;
    --white: #fff;
    --line: #dbe7ef;
    --green: #18a66a;
    --bg: #f7fafc;
    --shadow: 0 16px 45px rgba(13, 49, 80, .10);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
}
a {
    text-decoration: none;
    color: inherit;
}
.topbar {
    background: var(--navy);
    color: #e9f5ff;
    font-size: 14px;
}
.topbar .wrap {
    max-width: 1180px;
    margin: auto;
    padding: 8px 22px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav {
    max-width: 1180px;
    margin: auto;
    padding: 15px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 900;
}
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 19px;
}
.navlinks {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.navlinks a {
    padding: 9px 11px;
    border-radius: 8px;
    font-weight: 700;
}
.navlinks a:hover {
    background: var(--sky);
    color: var(--blue);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--blue);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    box-shadow: 0 7px 20px rgba(17, 118, 200, .18);
}
.btn:hover {
    transform: translateY(-1px);
}
.btn.green {
    background: var(--green);
}
.btn.light {
    background: #edf7ff;
    color: var(--blue);
    box-shadow: none;
}
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 85% 15%, #dff2ff 0, transparent 32%), linear-gradient(135deg, #f0f9ff, #fff);
    padding: 78px 0 72px;
}
.container {
    max-width: 1180px;
    margin: auto;
    padding: 0 22px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 55px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 13px;
    background: #e6f4ff;
    padding: 7px 10px;
    border-radius: 99px;
}
h1 {
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    line-height: 1.05;
    margin: 15px 0;
    color: var(--navy);
    letter-spacing: -.04em;
}
h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.15;
    color: var(--navy);
    margin: 0 0 14px;
}
h3 {
    color: var(--navy);
    margin: 8px 0;
}
.lead {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 720px;
}
.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.doctor-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}
.doctor-card:before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px dashed #b9d9ee;
    border-radius: 18px;
    pointer-events: none;
}
.doctor-card img {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #fff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .16);
    position: relative;
}
.verified {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    background: #eaf8f1;
    color: #118557;
    border-radius: 99px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}
.section {
    padding: 72px 0;
}
.section.alt {
    background: var(--bg);
}
.center {
    text-align: center;
}
.center .lead {
    margin-left: auto;
    margin-right: auto;
}
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 28px rgba(13, 49, 80, .06);
}
.card:hover {
    box-shadow: var(--shadow);
}
.iconbox {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--sky);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 900;
}
.feature {
    display: flex;
    gap: 15px;
}
.feature p {
    color: var(--muted);
    margin-top: 3px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}
.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}
.stat b {
    font-size: 1.45rem;
    color: var(--navy);
    display: block;
}
.stat span {
    color: var(--muted);
    font-size: .9rem;
}
.notice {
    background: #edf8ff;
    border-left: 4px solid var(--blue);
    padding: 16px 18px;
    border-radius: 10px;
    color: #31576d;
}
.contact-list {
    display: grid;
    gap: 16px;
}
.contact-row {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}
.contact-row b {
    display: block;
    color: var(--navy);
}
.contact-row a {
    color: var(--blue);
    font-weight: 700;
}
form {
    display: grid;
    gap: 15px;
}
label {
    font-weight: 800;
    color: var(--navy);
    font-size: .93rem;
}
input,
textarea,
select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    background: #fff;
    color: var(--ink);
}
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #d9efff;
    border-color: #72bce9;
}
textarea {
    min-height: 125px;
    resize: vertical;
}
.mapbox {
    min-height: 320px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e8f5fc, #f7fbfe);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}
footer {
    background: #0a2943;
    color: #dbeaf4;
    padding: 42px 0 25px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 28px;
}
.footer-title {
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
}
.footer-links {
    display: grid;
    gap: 7px;
}
.copyright {
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 30px;
    padding-top: 18px;
    font-size: .88rem;
    color: #9db3c3;
}
.badge-row {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.badge {
    padding: 7px 10px;
    background: #f1f7fa;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-weight: 700;
    font-size: .88rem;
}

/* --- NEW: Gallery grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(13, 49, 80, .06);
    aspect-ratio: 4 / 3;
    background: #eee;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(13, 49, 80, .75));
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .02em;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 850px) {
    .topbar .wrap {
        flex-direction: column;
    }
    .nav {
        align-items: flex-start;
        flex-direction: column;
    }
    .hero-grid,
    .grid2,
    .grid3,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .stats {
        grid-template-columns: 1fr;
    }
    .navlinks {
        width: 100%;
    }
    .hero {
        padding: 55px 0;
    }
    .doctor-card {
        max-width: 520px;
        margin: auto;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Supplied hospital promotional images --- */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.promo-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(13, 49, 80, .06);
}
.promo-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}
.promo-card.landscape img { height: 250px; }
.promo-card .promo-body { padding: 18px 20px 20px; }
.promo-card h3 { margin-top: 0; }
.promo-card p { color: var(--muted); margin-bottom: 0; }
.brochure-image {
    width: 100%;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: block;
}
@media (max-width: 900px) { .promo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 850px) {
    .promo-grid { grid-template-columns: 1fr; }
    .promo-card img, .promo-card.landscape img {
        height: auto; max-height: 620px; object-fit: contain; background: #f5f8fa;
    }
}
