/* ==========================================================================
   Pulse Hospital – site styles (on top of Bootstrap 5)
   ========================================================================== */
/* Corporate palette: navy + medical blue carry the brand; the logo red is kept for
   emergency elements only, so it always means "urgent". */
:root {
    --ph-primary: #0a5ea8;        /* medical blue – buttons, links, accents */
    --ph-primary-dark: #084a86;
    --ph-primary-soft: #eaf2fb;
    --ph-navy: #0a2540;           /* headings, top bar, footer */
    --ph-navy-2: #12355e;
    --ph-red: #d6202a;            /* emergency only */
    --ph-red-dark: #b0161f;
    --ph-red-soft: #fdecec;
    --ph-teal: #0e7f86;
    --ph-teal-soft: #e5f3f4;
    --ph-ink: #1b2a3a;
    --ph-muted: #5a6b7d;
    --ph-line: #e3e9ef;
    --ph-bg: #f4f7fa;
    --ph-white: #ffffff;
    --ph-radius: 12px;
    --ph-radius-sm: 8px;
    --ph-pill: 6px;
    --ph-shadow: 0 2px 12px rgba(10, 37, 64, .06);
    --ph-shadow-lg: 0 12px 32px rgba(10, 37, 64, .10);
    --ph-font: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ph-font-head: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-primary: var(--ph-primary);
    --bs-body-font-family: var(--ph-font);
}
.text-primary-ph { color: var(--ph-primary) !important; }

html { scroll-behavior: smooth; }
body {
    font-family: var(--ph-font);
    color: var(--ph-ink);
    background: var(--ph-white);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--ph-font-head); font-weight: 700; color: var(--ph-navy); letter-spacing: -.02em; }
a { color: var(--ph-primary); text-decoration: none; }
a:hover { color: var(--ph-primary-dark); }
img { max-width: 100%; }
.hi { font-family: "Noto Sans Devanagari", var(--ph-font); }
.text-muted-ph { color: var(--ph-muted) !important; }
.bg-soft { background: var(--ph-bg); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 767.98px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } }
/* Bootstrap's g-5 gutter is wider than the container padding on phones and causes sideways scroll */
@media (max-width: 575.98px) { .g-5, .gx-5 { --bs-gutter-x: 1.5rem; } }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: var(--ph-pill); padding: .72rem 1.4rem; letter-spacing: .005em; }
.btn-sm { padding: .42rem .95rem; }
.btn-ph { background: var(--ph-primary); color: #fff; border: 1px solid var(--ph-primary); }
.btn-ph:hover, .btn-ph:focus { background: var(--ph-primary-dark); border-color: var(--ph-primary-dark); color: #fff; }
.btn-emergency { background: var(--ph-red); color: #fff; border: 1px solid var(--ph-red); }
.btn-emergency:hover, .btn-emergency:focus { background: var(--ph-red-dark); border-color: var(--ph-red-dark); color: #fff; }
.btn-ph-outline { border: 1.5px solid currentColor; color: var(--ph-navy); background: transparent; }
.btn-ph-outline:hover { background: var(--ph-navy); color: #fff; border-color: var(--ph-navy); }
.btn-ph-light { background: #fff; color: var(--ph-navy); }
.btn-ph-light:hover { background: var(--ph-primary-soft); color: var(--ph-primary-dark); }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    color: var(--ph-primary); margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: currentColor; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 2.8vw, 2.35rem); margin-bottom: .85rem; line-height: 1.2; }
.section-head p { color: var(--ph-muted); font-size: 1.08rem; margin: 0; }
.section-head.text-start { margin-left: 0; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ph-navy); color: rgba(255,255,255,.82); font-size: .86rem; }
.topbar a { color: #fff; }
.topbar .item { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 0; }
.topbar .item i { color: #8cc8ff; }
.topbar .pill-emergency {
    background: var(--ph-red); color: #fff; font-weight: 700; border-radius: var(--ph-pill);
    padding: .25rem .8rem; display: inline-flex; align-items: center; gap: .4rem;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; position: relative; }
.pulse-dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff;
    animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- Navbar ---------- */
.site-nav {
    background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--ph-line); transition: box-shadow .25s ease;
}
.site-nav.scrolled { box-shadow: 0 8px 24px rgba(11,37,69,.08); }
.site-nav .navbar-brand img { height: 52px; width: auto; }
.site-nav .nav-link {
    font-weight: 600; color: var(--ph-navy); padding: .5rem .85rem !important; font-size: .94rem; position: relative;
}
.site-nav .nav-link:hover { color: var(--ph-primary); }
.site-nav .nav-link.active { color: var(--ph-primary); }
@media (min-width: 1200px) {
    /* corporate underline instead of a filled pill */
    /* ::before, because Bootstrap's dropdown caret already uses ::after */
    .site-nav .nav-link.active::before { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: -.95rem; height: 3px; background: var(--ph-primary); }
}
.navbar-toggler { border: 0; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 1199.98px) {
    .site-nav .navbar-collapse { padding: 1rem 0 1.25rem; }
    .site-nav .nav-link { padding: .7rem 1rem !important; }
    .site-nav .navbar-brand img { height: 44px; }
}

/* ---------- Hero (corporate split layout) ---------- */
.hero {
    position: relative; overflow: hidden; padding: 72px 0 80px;
    background: linear-gradient(180deg, #f2f7fc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--ph-line);
}
.hero::before {
    /* faint blue panel behind the photo */
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 38%;
    background: var(--ph-primary-soft); z-index: 0;
}
@media (max-width: 991.98px) { .hero::before { display: none; } .hero { padding: 48px 0 56px; } }
.hero .container { position: relative; z-index: 1; }
.hero-kicker {
    display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600;
    color: var(--ph-primary-dark); background: #fff; border: 1px solid #cfe0f2; border-radius: var(--ph-pill);
    padding: .35rem .75rem; margin-bottom: 1.4rem;
}
.hero-kicker i { color: var(--ph-primary); }
.hero h1 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.12; margin-bottom: 1.1rem; color: var(--ph-navy); }
.hero h1 .h1-brand { display: block; font-size: .44em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ph-primary); margin-bottom: .75rem; }
.hero h1 .accent { color: var(--ph-primary); }
.hero .lead { color: var(--ph-muted); font-size: 1.1rem; max-width: 560px; line-height: 1.65; }
.hero .hi-tag { color: var(--ph-muted); font-size: .98rem; }
.hero-facts { display: flex; flex-wrap: wrap; margin-top: 2.25rem; border-top: 1px solid var(--ph-line); padding-top: 1.5rem; }
.hero-facts > div { padding-right: 1.75rem; margin-right: 1.75rem; border-right: 1px solid var(--ph-line); }
.hero-facts > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts .num { font-family: var(--ph-font-head); font-size: 1.75rem; font-weight: 700; color: var(--ph-navy); line-height: 1; }
.hero-facts .lbl { color: var(--ph-muted); font-size: .84rem; margin-top: .35rem; }
@media (max-width: 575.98px) {
    .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
    .hero-facts > div { padding-right: .75rem; margin-right: 0; }
    .hero-facts .num { font-size: 1.35rem; }
    .hero-facts .lbl { font-size: .76rem; }
}
.hero-visual { position: relative; }
.hero-visual .frame { border-radius: var(--ph-radius); overflow: hidden; box-shadow: var(--ph-shadow-lg); aspect-ratio: 4 / 3.3; background: #dfe8f2; }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 80% center; }
.hero-visual .caption {
    position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; flex-wrap: wrap; gap: .5rem;
}
.hero-visual .caption span {
    background: rgba(10,37,64,.88); color: #fff; font-size: .82rem; font-weight: 600;
    padding: .45rem .75rem; border-radius: var(--ph-pill); display: inline-flex; align-items: center; gap: .4rem;
}
.hero-visual .caption span.em { background: var(--ph-red); }

/* ---------- Action bar (below hero) ---------- */
.action-bar { background: var(--ph-navy); }
.action-bar .row > div + div .action { border-left: 1px solid rgba(255,255,255,.1); }
.action {
    display: flex; gap: 1rem; align-items: center; padding: 1.5rem 1.25rem; color: #fff; height: 100%;
    transition: background-color .2s ease;
}
.action:hover { background: rgba(255,255,255,.05); color: #fff; }
.action .ic { width: 46px; height: 46px; border-radius: var(--ph-radius-sm); display: grid; place-items: center; font-size: 1.25rem; flex: none; background: rgba(255,255,255,.08); color: #8cc8ff; }
.action.em .ic { background: var(--ph-red); color: #fff; }
.action small { display: block; color: rgba(255,255,255,.65); font-size: .8rem; }
.action strong { display: block; font-size: 1rem; font-weight: 600; }
@media (max-width: 991.98px) {
    .action-bar .row > div + div .action { border-left: 0; }
    .action-bar .row > div { border-bottom: 1px solid rgba(255,255,255,.08); }
}

.ic-primary { background: var(--ph-primary-soft); color: var(--ph-primary); }
.ic-red { background: var(--ph-red-soft); color: var(--ph-red); }
.ic-teal { background: var(--ph-teal-soft); color: var(--ph-teal); }
.ic-navy { background: #e8eef7; color: var(--ph-navy); }
.ic-white { background: rgba(255,255,255,.18); color: #fff; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Service cards ---------- */
.service-card {
    background: #fff; border-radius: var(--ph-radius); overflow: hidden; height: 100%;
    border: 1px solid var(--ph-line); transition: transform .3s ease, box-shadow .3s ease;
    display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--ph-shadow-lg); }
.service-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ph-bg); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .thumb .ic {
    position: absolute; left: 1.25rem; bottom: -24px; width: 52px; height: 52px; border-radius: 10px;
    display: grid; place-items: center; background: var(--ph-primary); color: #fff; font-size: 1.35rem;
    box-shadow: 0 8px 20px rgba(10,94,168,.35);
}
.service-card .body { padding: 2.1rem 1.4rem 1.5rem; flex: 1; }
.service-card h3 { margin-bottom: .2rem; }
.service-card .hi { color: var(--ph-teal); font-weight: 600; font-size: .9rem; margin-bottom: .7rem; display: block; }
.service-card p { color: var(--ph-muted); margin: 0; font-size: .95rem; }

@media (min-width: 768px) {
    .dept-card { flex-direction: row; }
    .dept-card .thumb { aspect-ratio: auto; flex: 0 0 44%; min-height: 240px; }
}

/* ---------- Cath lab highlight ---------- */
.highlight {
    background: linear-gradient(120deg, var(--ph-navy) 0%, var(--ph-navy-2) 100%);
    color: #fff; border-radius: 12px; overflow: hidden; position: relative;
}
.highlight .content { padding: 3.5rem; }
.highlight h2 { color: #fff; }
.highlight blockquote { font-size: 1.25rem; line-height: 1.6; color: rgba(255,255,255,.9); border-left: 4px solid var(--ph-primary); padding-left: 1.25rem; margin: 1.5rem 0; }
.highlight .img { height: 100%; min-height: 320px; }
.highlight .img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .highlight .content { padding: 2rem 1.5rem; } }

/* ---------- Facility list ---------- */
.facility {
    display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: #fff;
    border-radius: var(--ph-radius-sm); border: 1px solid var(--ph-line); height: 100%;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.facility:hover { border-color: rgba(10,94,168,.35); box-shadow: var(--ph-shadow); }
.facility .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.facility strong { display: block; color: var(--ph-navy); font-size: .98rem; }
.facility small { color: var(--ph-muted); }

.why-img { position: relative; }
.why-img img.main { border-radius: 12px; box-shadow: var(--ph-shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.why-img .exp {
    position: absolute; right: -10px; bottom: 30px; background: var(--ph-primary); color: #fff; border-radius: 12px;
    padding: 1.25rem 1.5rem; box-shadow: var(--ph-shadow-lg); text-align: center;
}
.why-img .exp .num { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.why-img .exp small { opacity: .9; }

/* ---------- Doctors ---------- */
.doctor-card {
    background: #fff; border-radius: var(--ph-radius); overflow: hidden; height: 100%;
    border: 1px solid var(--ph-line); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column;
}
.doctor-card:hover { box-shadow: var(--ph-shadow-lg); }
.doctor-card .photo {
    aspect-ratio: 1 / 1; background: linear-gradient(160deg, #eaf1fb, #fdf0f0); position: relative; overflow: hidden;
    display: grid; place-items: center;
}
.doctor-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doctor-card .photo .initials {
    width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; color: var(--ph-navy); font-size: 2.4rem; font-weight: 800; box-shadow: var(--ph-shadow);
}
.doctor-card .dept {
    position: absolute; left: 1rem; top: 1rem; background: rgba(255,255,255,.95); color: var(--ph-primary);
    font-size: .75rem; font-weight: 800; padding: .3rem .75rem; border-radius: var(--ph-pill);
}
.doctor-card .body { padding: 1.3rem 1.3rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.doctor-card h3 { margin-bottom: .1rem; font-size: 1.1rem; }
.doctor-card .hi { color: var(--ph-muted); font-size: .9rem; }
.doctor-card .spec { color: var(--ph-teal); font-weight: 700; font-size: .9rem; margin: .35rem 0 .9rem; }
.doctor-card ul { list-style: none; padding: 0; margin: 0 0 1.1rem; font-size: .88rem; color: var(--ph-muted); }
.doctor-card ul li { display: flex; gap: .5rem; padding: .2rem 0; }
.doctor-card ul li i { color: var(--ph-primary); }
.doctor-card .btn { margin-top: auto; }
.doctor-card { scroll-margin-top: 110px; }
.doc-treat { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.doc-treat a { font-size: .78rem; font-weight: 700; padding: .25rem .65rem; border-radius: var(--ph-pill); background: var(--ph-teal-soft); color: var(--ph-teal); }
.doc-treat a:hover { background: var(--ph-teal); color: #fff; }

/* ---------- Women's care tiles ---------- */
.tile {
    position: relative; border-radius: var(--ph-radius); overflow: hidden; aspect-ratio: 4 / 3; display: block;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.07); }
.tile .cap {
    position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem 1rem; color: #fff; font-weight: 700;
    background: linear-gradient(to top, rgba(8,26,51,.88), transparent);
}

/* ---------- CTA band ---------- */
.cta-band {
    background:
        radial-gradient(600px 300px at 100% 0, rgba(255,255,255,.18), transparent 60%),
        linear-gradient(120deg, var(--ph-primary) 0%, var(--ph-primary-dark) 100%);
    color: #fff; border-radius: 12px; padding: 3rem; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; }
@media (max-width: 767.98px) { .cta-band { padding: 2rem 1.5rem; } }

/* ---------- Page header ---------- */
.page-header {
    position: relative; color: #fff; padding: 72px 0 64px; overflow: hidden;
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(10,94,168,.35), transparent 60%),
        linear-gradient(135deg, #081a33 0%, var(--ph-navy) 60%, var(--ph-navy-2) 100%);
}
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.page-header p { color: rgba(255,255,255,.78); max-width: 640px; margin: 0; }
.page-header .breadcrumb { margin-bottom: 1rem; font-size: .9rem; }
.page-header .breadcrumb a { color: rgba(255,255,255,.75); }
.page-header .breadcrumb-item.active { color: #fff; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ---------- About ---------- */
.about-img { border-radius: 12px; box-shadow: var(--ph-shadow-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.value-card { background: #fff; border-radius: var(--ph-radius); padding: 1.75rem; height: 100%; border: 1px solid var(--ph-line); text-align: center; }
.value-card .ic { width: 64px; height: 64px; border-radius: 10px; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.6rem; }
.value-card h3 { font-size: 1.05rem; margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .7rem; padding: .4rem 0; color: var(--ph-ink); }
.check-list li i { color: var(--ph-teal); font-size: 1.1rem; flex: none; margin-top: .1rem; }
.mission {
    background: var(--ph-teal-soft); border-radius: var(--ph-radius); padding: 2rem; border-left: 5px solid var(--ph-teal);
}

/* ---------- Clinics ---------- */
.clinic-card { background: #fff; border-radius: var(--ph-radius); padding: 1.75rem; height: 100%; border: 1px solid var(--ph-line); transition: box-shadow .25s ease, transform .25s ease; }
.clinic-card:hover { box-shadow: var(--ph-shadow-lg); }
.clinic-card .num { font-size: .8rem; font-weight: 800; color: var(--ph-muted); letter-spacing: .1em; }
.clinic-card .ic { width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1.1rem; }
.clinic-card h3 { font-size: 1.2rem; margin-bottom: .15rem; }
.clinic-card .hi { color: var(--ph-teal); font-weight: 600; font-size: .92rem; display: block; margin-bottom: 1rem; }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3 300px; column-gap: 1rem; }
.gallery-grid a { display: block; margin-bottom: 1rem; border-radius: var(--ph-radius-sm); overflow: hidden; position: relative; break-inside: avoid; }
.gallery-grid img { width: 100%; display: block; transition: transform .5s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid .cap {
    position: absolute; inset: auto 0 0 0; padding: 2rem 1rem .8rem; color: #fff; font-weight: 600; font-size: .9rem;
    background: linear-gradient(to top, rgba(8,26,51,.85), transparent); opacity: 0; transition: opacity .3s ease;
}
.gallery-grid a:hover .cap, .gallery-grid a:focus .cap { opacity: 1; }
.lightbox .modal-content { background: transparent; border: 0; }
.lightbox img { border-radius: 10px; max-height: 80vh; width: auto; margin: 0 auto; display: block; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 12px; padding: 2.5rem; box-shadow: var(--ph-shadow-lg); border: 1px solid var(--ph-line); }
@media (max-width: 575.98px) { .form-card { padding: 1.5rem; } }
.form-label { font-weight: 700; font-size: .9rem; color: var(--ph-navy); margin-bottom: .4rem; }
.form-label .req { color: var(--ph-primary); }
.form-control, .form-select {
    border-radius: 12px; border: 1.5px solid var(--ph-line); padding: .8rem 1rem; background-color: #fbfcfe; font-size: .98rem;
}
.form-control:focus, .form-select:focus { border-color: var(--ph-primary); box-shadow: 0 0 0 .22rem rgba(10,94,168,.14); background-color: #fff; }
.input-error, .form-control.input-validation-error, .form-select.input-validation-error { border-color: #dc3545 !important; }
.field-validation-error { color: #dc3545; font-size: .84rem; font-weight: 600; display: block; margin-top: .35rem; }
.validation-summary-errors ul { margin: 0; padding-left: 1.2rem; }
.slot-group { display: flex; gap: .75rem; flex-wrap: wrap; }
.slot-group input { position: absolute; opacity: 0; pointer-events: none; }
.slot-group label {
    flex: 1 1 160px; border: 1.5px solid var(--ph-line); border-radius: 12px; padding: .8rem 1rem; cursor: pointer;
    display: flex; align-items: center; gap: .6rem; font-weight: 600; background: #fbfcfe; transition: all .2s ease;
}
.slot-group input:checked + label { border-color: var(--ph-primary); background: var(--ph-primary-soft); color: var(--ph-primary-dark); }
.slot-group input:focus-visible + label { box-shadow: 0 0 0 .22rem rgba(10,94,168,.2); }
.alert-success-ph {
    background: #e8f7ef; border: 1px solid #b7e4c7; color: #14532d; border-radius: 10px; padding: 1.1rem 1.25rem;
    display: flex; gap: .9rem; align-items: flex-start;
}
.alert-success-ph i { font-size: 1.5rem; color: #16a34a; }

.info-card { background: var(--ph-navy); color: #fff; border-radius: 12px; padding: 2.25rem; height: 100%; }
.info-card h3 { color: #fff; }
.info-row { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #8cc8ff; font-size: 1.2rem; flex: none; }
.info-row small { color: rgba(255,255,255,.65); display: block; }
.info-row a, .info-row span { color: #fff; font-weight: 600; }
.map-wrap { border-radius: 12px; overflow: hidden; box-shadow: var(--ph-shadow); border: 1px solid var(--ph-line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #071a31; color: rgba(255,255,255,.72); padding: 80px 0 0; font-size: .95rem; }
.site-footer .f-head { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 1.25rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.site-footer .logo-box { background: #fff; display: inline-block; padding: .6rem .9rem; border-radius: 10px; margin-bottom: 1.25rem; }
.site-footer .logo-box img { height: 46px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: .3rem 0; }
.site-footer .contact-line { display: flex; gap: .75rem; padding: .4rem 0; }
.site-footer .contact-line i { color: #8cc8ff; }
.site-footer .emergency-box { background: rgba(214,32,42,.14); border: 1px solid rgba(214,32,42,.45); border-radius: 10px; padding: 1.25rem; }
.site-footer .emergency-box .num { color: #fff; font-size: 1.35rem; font-weight: 800; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 1.4rem 0; font-size: .85rem; }

/* ---------- Home: H1 brand line + treatment chips ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
    display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: var(--ph-pill);
    background: #fff; border: 1.5px solid var(--ph-line); color: var(--ph-navy); font-weight: 700; font-size: .9rem;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.chip i { color: var(--ph-primary); }
.chip:hover { border-color: var(--ph-primary); color: var(--ph-primary-dark); background: var(--ph-primary-soft); }
.chip-all { background: var(--ph-navy); border-color: var(--ph-navy); color: #fff; }
.chip-all i { color: #fff; }

/* ---------- Treatments mega menu ---------- */
.site-nav .dropdown-menu { border: 1px solid var(--ph-line); border-radius: var(--ph-radius); box-shadow: var(--ph-shadow-lg); padding: 1.25rem; }
.mega-head { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--ph-primary); margin: 0 .5rem .5rem; }
.mega-menu .dropdown-item { border-radius: 10px; padding: .45rem .5rem; font-weight: 600; font-size: .92rem; color: var(--ph-navy); white-space: normal; display: flex; gap: .55rem; align-items: center; }
.mega-menu .dropdown-item i { color: var(--ph-teal); }
.mega-menu .dropdown-item:hover, .mega-menu .dropdown-item:focus { background: var(--ph-primary-soft); color: var(--ph-primary-dark); }
.mega-foot { border-top: 1px solid var(--ph-line); margin-top: 1rem; padding-top: .9rem; display: flex; gap: 1.5rem; flex-wrap: wrap; font-weight: 700; font-size: .9rem; }
@media (min-width: 1200px) {
    .site-nav .mega { position: static; }
    /* Bootstrap pins navbar dropdowns with .dropdown-menu[data-bs-popper] { left: 0 }, so match its specificity */
    .site-nav .mega .mega-menu, .site-nav .mega .mega-menu[data-bs-popper] {
        left: 50%; right: auto; transform: translateX(-50%); width: min(1100px, calc(100vw - 2rem)); margin-top: .5rem;
    }
}
@media (max-width: 1199.98px) {
    .site-nav .dropdown-menu { box-shadow: none; padding: .5rem 0 .5rem 1rem; border: 0; border-left: 2px solid var(--ph-line); border-radius: 0; }
    .mega-menu .row { --bs-gutter-y: .75rem; }
}

/* ---------- Treatment pages ---------- */
.treat-article h2 { font-size: 1.55rem; margin: 2.25rem 0 .9rem; }
.treat-article > p { color: #3b4a5c; line-height: 1.75; }
.treat-article .lead { font-size: 1.15rem; color: var(--ph-ink); font-weight: 500; }
.hindi-box { background: var(--ph-teal-soft); border-left: 5px solid var(--ph-teal); border-radius: var(--ph-radius); padding: 1.5rem 1.75rem; margin-top: 2.25rem; font-family: "Noto Sans Devanagari", var(--ph-font); line-height: 1.85; }
.hindi-box h2 { margin: 0 0 .6rem !important; }
.med-note { margin-top: 1.5rem; font-size: .85rem; color: var(--ph-muted); }
.doc-mini { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--ph-line); border-radius: var(--ph-radius-sm); background: #fff; color: var(--ph-ink); height: 100%; transition: box-shadow .2s ease, border-color .2s ease; }
.doc-mini:hover { box-shadow: var(--ph-shadow); border-color: rgba(10,94,168,.35); color: var(--ph-ink); }
.doc-mini img, .doc-mini .initials { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.doc-mini .initials { display: grid; place-items: center; background: #e8eef7; color: var(--ph-navy); font-weight: 800; }
.doc-mini strong { display: block; color: var(--ph-navy); }
.doc-mini small { display: block; color: var(--ph-teal); font-weight: 600; font-size: .82rem; }
.doc-mini small.cred { color: var(--ph-muted); font-weight: 500; }
.sticky-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.25rem; }
.side-cta { background: var(--ph-navy); color: #fff; border-radius: 12px; padding: 1.75rem; }
.side-cta h2 { color: #fff; margin: 1rem 0 .4rem; }
.side-cta p { color: rgba(255,255,255,.75); font-size: .95rem; }
.side-cta .ic { width: 52px; height: 52px; border-radius: 10px; background: var(--ph-primary); display: grid; place-items: center; font-size: 1.4rem; }
.side-cta .btn-ph-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.side-cta .btn-ph-outline:hover { background: #fff; color: var(--ph-navy); }
.side-links { background: #fff; border: 1px solid var(--ph-line); border-radius: 12px; padding: 1.25rem; }
.side-links h2 { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--ph-muted); margin: 0 .5rem .6rem; }
.side-links a { display: flex; gap: .6rem; align-items: center; padding: .6rem .5rem; border-radius: 10px; font-weight: 600; color: var(--ph-navy); }
.side-links a i:first-child { color: var(--ph-primary); }
.side-links a:hover { background: var(--ph-primary-soft); }
.treat-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); padding: 1.5rem; color: var(--ph-ink); transition: transform .25s ease, box-shadow .25s ease; }
.treat-card:hover { box-shadow: var(--ph-shadow-lg); color: var(--ph-ink); }
.treat-card .ic { width: 48px; height: 48px; border-radius: 10px; background: var(--ph-primary-soft); color: var(--ph-primary); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1rem; }
.treat-card h3 { margin: 0 0 .15rem; font-size: 1.05rem; }
.treat-card .hi { color: var(--ph-teal); font-weight: 600; font-size: .85rem; margin-bottom: .6rem; }
.treat-card p { color: var(--ph-muted); font-size: .9rem; flex: 1; }
.treat-card .link-arrow { color: var(--ph-primary); font-size: .9rem; }

/* ---------- Videos & success stories ---------- */
.yt-lite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; cursor: pointer; overflow: hidden; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s ease, transform .4s ease; }
.yt-lite:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; border-radius: 10px; background: var(--ph-primary); color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card, .story-card { background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.video-card .body { padding: 1.1rem 1.25rem 1.25rem; }
.video-card h2 { margin: 0 0 .35rem; font-size: 1.02rem; }
.video-card p { color: var(--ph-muted); font-size: .9rem; margin: 0; }
.story-card .body { padding: 1.5rem; position: relative; display: flex; flex-direction: column; flex: 1; }
.story-card .quote { position: absolute; right: 1.25rem; top: .5rem; font-size: 3.5rem; color: var(--ph-primary-soft); line-height: 1; }
.story-card h3 { margin-bottom: .6rem; padding-right: 2.5rem; }
.story-text { color: #3b4a5c; line-height: 1.75; white-space: pre-line; flex: 1; }
.story-card .who { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--ph-line); padding-top: 1rem; margin-top: .5rem; flex-wrap: wrap; }
.story-card .who img, .story-card .who .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.story-card .who .avatar { display: grid; place-items: center; background: var(--ph-teal-soft); color: var(--ph-teal); font-size: 1.4rem; }
.story-card .who strong { display: block; color: var(--ph-navy); }
.story-card .who small { color: var(--ph-muted); }
.treat-tag { font-size: .78rem; font-weight: 700; padding: .3rem .75rem; border-radius: var(--ph-pill); background: var(--ph-primary-soft); color: var(--ph-primary-dark); }

/* ---------- Floating actions ---------- */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 1030; display: flex; flex-direction: column; gap: .7rem; }
.fab {
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.4rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.2); transition: transform .2s ease;
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab-call { background: var(--ph-red); }
.fab-wa { background: #25d366; }
.fab-top { background: var(--ph-navy); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.fab-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-card, .ecg-line path, .pulse-dot::after { animation: none; }
    html { scroll-behavior: auto; }
}
