/* =====================================================================
   Divine Dhanwantari Hospital — public website styles
   Colours taken from the hospital logo: indigo blue + crimson,
   with turmeric (haldi) and tulsi green as small supporting accents.
   ===================================================================== */
:root {
    --neel: #17346B;
    --neel-deep: #0E2147;
    --neel-soft: #E8EDF6;
    --sindoor: #C8202F;
    --sindoor-dark: #A5161F;
    --haldi: #E3A21A;
    --tulsi: #2E5E4E;
    --tulsi-tint: #F0F5F1;
    --ink: #1B2230;
    --muted: #5B6474;
    --line: #E2E6EC;
    --paper: #FFFFFF;
    --radius: 10px;
    --font-display: 'Marcellus', Georgia, serif;
    --font-body: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { overflow-x: clip; font-family: var(--font-body); color: var(--ink); background: var(--paper); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .section-title { font-family: var(--font-display); font-weight: 400; color: var(--neel-deep); line-height: 1.2; letter-spacing: 0; }
a { color: var(--neel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sindoor); }
:focus-visible { outline: 3px solid var(--haldi); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--neel); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 8px; padding: .55rem 1.15rem; }
.btn-lg { padding: .75rem 1.5rem; font-size: 1.05rem; }
.btn-sm { padding: .35rem .8rem; font-size: .9rem; }
.btn-brand { background: var(--sindoor); border: 1px solid var(--sindoor); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--sindoor-dark); border-color: var(--sindoor-dark); color: #fff; }
.btn-outline-brand { border: 1px solid var(--neel); color: var(--neel); background: transparent; }
.btn-outline-brand:hover { background: var(--neel); color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: #fff; color: var(--neel-deep); }
.btn-light-outline { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-light-outline:hover { background: #fff; color: var(--neel-deep); }

/* ---------- Top bar ---------- */
.topbar { background: var(--neel-deep); color: rgba(255,255,255,.85); font-size: .9rem; padding: 6px 0; }
.topbar a { color: rgba(255,255,255,.9); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--haldi); margin-right: 4px; }
.topbar-social { gap: 4px; }
.topbar-social a { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; }
.topbar-social a:hover { background: rgba(255,255,255,.12); }
.topbar-social i { color: #fff; margin: 0; }

/* ---------- Brand row ---------- */
.brandbar { background: #fff; padding: 14px 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand-logo { width: 78px; height: 78px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.65rem; color: var(--neel-deep); line-height: 1.1; }
.brand-sub { color: var(--muted); font-size: .98rem; line-height: 1.3; margin-top: 3px; }
.brand-tag { color: var(--sindoor); font-size: .88rem; font-weight: 600; line-height: 1.3; }
.emergency { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.emergency-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #FCEBEC; color: var(--sindoor); font-size: 1.1rem; }
.emergency small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.2; }
.emergency strong { display: block; color: var(--neel-deep); font-size: 1.15rem; line-height: 1.25; }
.nav-toggle { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; color: var(--neel); font-size: 1.2rem; flex-shrink: 0; }

/* ---------- Main nav (desktop) ---------- */
.mainnav { background: var(--neel); position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 10px rgba(14,33,71,.18); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.nav-item-x { position: static; }
.nav-item-x:not(.is-mega) { position: relative; }
.nav-link-x { display: flex; align-items: center; gap: 6px; padding: 15px 4px; color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; background: none; border: 0; position: relative; white-space: nowrap; }
.nav-link-x i { font-size: .62rem; opacity: .8; transition: transform .2s; }
.nav-link-x::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 9px; height: 2px; background: var(--haldi); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-link-x:hover, .nav-link-x.active { color: #fff; }
.nav-link-x:hover::after, .nav-link-x.active::after, .has-drop.open > .nav-link-x::after { transform: scaleX(1); }
.has-drop:hover > .nav-link-x i, .has-drop.open > .nav-link-x i { transform: rotate(180deg); }

.drop { position: absolute; top: 100%; background: #fff; border-top: 3px solid var(--sindoor); box-shadow: 0 18px 40px rgba(14,33,71,.18); border-radius: 0 0 var(--radius) var(--radius); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 1040; }
.has-drop:hover > .drop, .has-drop:focus-within > .drop, .has-drop.open > .drop { opacity: 1; visibility: visible; transform: none; }
.dropdown-x { list-style: none; margin: 0; padding: 8px 0; min-width: 300px; left: 0; }
.dropdown-x.drop-right { left: auto; right: 0; }
.dropdown-x > li > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 20px; color: var(--ink); text-decoration: none; font-weight: 500; }
.dropdown-x > li > a:hover, .dropdown-x > li > a.active { background: var(--neel-soft); color: var(--neel); }
.dropdown-x i { font-size: .65rem; color: var(--muted); }
.has-flyout { position: relative; }
.flyout { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 100%; top: -8px; min-width: 330px; background: #fff; box-shadow: 0 18px 40px rgba(14,33,71,.18); border-radius: var(--radius); border-left: 3px solid var(--haldi); opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.has-flyout:hover > .flyout, .has-flyout:focus-within > .flyout { opacity: 1; visibility: visible; }
.flyout a { display: block; padding: 9px 20px; color: var(--ink); text-decoration: none; }
.flyout a:hover, .flyout a.active { background: var(--neel-soft); color: var(--neel); }

.mega { left: 12px; right: 12px; padding: 26px; }
.mega-grid { display: grid; grid-template-columns: 260px repeat(2, 1fr); gap: 28px; }
.mega-college .mega-grid { grid-template-columns: 240px repeat(3, 1fr); }
.mega-aside { background: var(--tulsi-tint); border-radius: var(--radius); padding: 20px; align-self: start; }
.mega-aside-title { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--neel-deep); margin-bottom: 6px; }
.mega-aside p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.mega-col { list-style: none; margin: 0; padding: 0; }
.mega-col li { border-bottom: 1px solid var(--line); }
.mega-col li:last-child { border-bottom: 0; }
.mega-col a { display: flex; align-items: flex-start; gap: 10px; padding: 8px 4px; color: var(--ink); text-decoration: none; font-size: .96rem; line-height: 1.35; }
.mega-col a i { color: var(--sindoor); width: 18px; margin-top: 3px; text-align: center; }
.mega-col a:hover, .mega-col a.active { color: var(--sindoor); }

/* ---------- Mobile nav ---------- */
.mobile-nav { max-width: 360px; }
.mobile-nav .offcanvas-header { background: var(--neel-deep); color: #fff; }
.mobile-nav .offcanvas-title { font-family: var(--font-display); font-size: 1.3rem; }
.mobile-nav .btn-close { filter: invert(1); }
.m-list { list-style: none; padding: 0; margin: 0 0 20px; }
.m-list > li { border-bottom: 1px solid var(--line); }
.m-link { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 12px 4px; color: var(--ink); font-weight: 600; text-decoration: none; background: none; border: 0; text-align: left; }
.m-link.active { color: var(--sindoor); }
.m-toggle i { font-size: .7rem; transition: transform .2s; }
.m-toggle:not(.collapsed) i { transform: rotate(180deg); }
.m-sub { list-style: none; padding: 0 0 10px 10px; margin: 0; }
.m-sub a { display: block; padding: 7px 8px; color: var(--muted); text-decoration: none; font-size: .96rem; line-height: 1.35; border-left: 2px solid var(--line); }
.m-sub a.active, .m-sub a:hover { color: var(--sindoor); border-left-color: var(--sindoor); }
.m-child a { padding-left: 22px; font-size: .9rem; }

/* ---------- Home slider: photo stack ---------- */
.hs { position: relative; overflow: hidden; padding: 54px 0 50px; background: radial-gradient(circle at 80% 40%, #FFFFFF 0%, rgba(255,255,255,0) 50%), linear-gradient(180deg, #F2F5FA 0%, #FBFCFE 100%); }
.hs::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--neel) 0 33.3%, var(--haldi) 33.3% 66.6%, var(--sindoor) 66.6%); }
.hs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 500px; }
.hs-texts { display: grid; }
.hs-text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.hs-text.is-active { opacity: 1; visibility: visible; }
.hs-badge { display: inline-flex; align-items: center; font-size: .92rem; font-weight: 700; padding: 5px 16px; border-radius: 30px; background: #FFF1F2; color: var(--sindoor-dark); border: 1px solid rgba(200,32,47,.3); }
.hs-title { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.08; color: var(--neel-deep); margin: 18px 0 16px; text-wrap: balance; }
.hs-p { color: #47536B; font-weight: 500; font-size: 1.12rem; line-height: 1.7; max-width: 44ch; margin: 0 0 28px; }
.hs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hs-btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 10px; padding: 13px 22px; font-weight: 700; font-size: 1.02rem; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.hs-btn i { font-size: .9rem; }
.hs-btn-red { background: var(--sindoor); color: #fff; box-shadow: 0 12px 26px rgba(200,32,47,.28); }
.hs-btn-red i { transition: transform .2s; }
.hs-btn-red:hover, .hs-btn-red:focus { background: var(--sindoor-dark); color: #fff; }
.hs-btn-red:hover i { transform: translateX(4px); }
.hs-btn-outline { background: #fff; color: var(--neel-deep); border: 1px solid var(--line); }
.hs-btn-outline i { color: var(--sindoor); }
.hs-btn-outline:hover, .hs-btn-outline:focus { border-color: var(--neel); color: var(--neel-deep); }

.hs-controls { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.hs-count { font-family: var(--font-body); font-weight: 600; color: var(--muted); font-size: 1.05rem; min-width: 70px; }
.hs-count b { font-weight: 700; color: var(--neel-deep); font-size: 1.6rem; }
.hs-track { flex: 1; max-width: 230px; height: 3px; background: #DCE1EA; border-radius: 3px; overflow: hidden; }
.hs-track span { display: block; height: 100%; background: var(--sindoor); transform-origin: left; transform: scaleX(0); }
.hs-track span.run { animation: hs-fill var(--hs-dur, 6.5s) linear both; }
.hs.is-paused .hs-track span.run { animation-play-state: paused; }
.hs-round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #D5DBE6; background: #fff; color: var(--neel); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.hs-round:hover { background: var(--neel); border-color: var(--neel); color: #fff; }

.hs-stack { position: relative; height: 470px; }
.hs-card { position: absolute; left: 50%; top: 50%; width: min(100%, 500px); margin: 0; background: #fff; padding: 12px 12px 46px; border-radius: 14px; box-shadow: 0 24px 54px rgba(14,33,71,.22); transition: transform .9s cubic-bezier(.3,.7,.2,1), opacity .6s, box-shadow .6s; will-change: transform; }
.hs-card > img, .hs-card-empty { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.hs-card-empty { display: grid; place-items: center; background: radial-gradient(circle at 75% 20%, rgba(227,162,26,.3), transparent 45%), linear-gradient(150deg, var(--neel), var(--neel-deep)); }
.hs-card-empty img { width: 40%; max-width: 190px; background: #fff; border-radius: 50%; padding: 5px; box-shadow: 0 0 0 10px rgba(255,255,255,.12), 0 0 0 22px rgba(255,255,255,.06); }
.hs-ghost .hs-card-empty { background: linear-gradient(150deg, #E6EBF4, #D9E0EC); }
.hs-card figcaption { position: absolute; left: 18px; right: 18px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; color: var(--neel-deep); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-card figcaption em { font-style: normal; color: var(--sindoor); font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.hs-card[data-pos="0"] { z-index: 3; transform: translate(-50%, -50%) rotate(-3deg); }
.hs-card[data-pos="1"] { z-index: 2; transform: translate(-44%, -54%) rotate(5deg) scale(.95); box-shadow: 0 14px 30px rgba(14,33,71,.14); }
.hs-card[data-pos="2"] { z-index: 1; transform: translate(-56%, -47%) rotate(-9deg) scale(.9); box-shadow: 0 10px 24px rgba(14,33,71,.10); }
.hs-card:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]) { z-index: 0; opacity: 0; transform: translate(-50%, -50%) rotate(-3deg) scale(.85); }
.hs-card.is-leaving { z-index: 4; transform: translate(40%, -60%) rotate(16deg) scale(.95); opacity: 0; }
.hs-stamp { position: absolute; z-index: 5; right: 2%; top: 2%; display: flex; align-items: center; gap: 10px; background: var(--neel-deep); color: #fff; border-radius: 40px; padding: 7px 18px 7px 7px; box-shadow: 0 12px 26px rgba(14,33,71,.3); font-weight: 600; font-size: .92rem; }
.hs-stamp img { width: 36px; height: 36px; background: #fff; border-radius: 50%; }

@keyframes hs-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hs-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hs-text.is-active .hs-badge   { animation: hs-rise .6s ease-out both; }
.hs-text.is-active .hs-title   { animation: hs-rise .75s cubic-bezier(.2,.7,.2,1) .12s both; }
.hs-text.is-active .hs-p       { animation: hs-rise .75s ease-out .3s both; }
.hs-text.is-active .hs-actions { animation: hs-rise .75s ease-out .45s both; }

@media (max-width: 991px) {
    .hs { padding: 30px 0 36px; }
    .hs-grid { grid-template-columns: 1fr; gap: 26px; min-height: 0; }
    .hs-stack { order: -1; height: 380px; max-width: 520px; width: 100%; margin: 0 auto; }
    .hs-controls { margin-top: 28px; }
}
@media (max-width: 575px) {
    .hs-stack { height: 300px; }
    .hs-card { width: 86%; padding: 9px 9px 38px; }
    .hs-card figcaption { left: 12px; right: 12px; bottom: 9px; font-size: .84rem; }
    .hs-stamp { font-size: .78rem; padding: 5px 12px 5px 5px; }
    .hs-stamp img { width: 28px; height: 28px; }
    .hs-title { font-size: 2rem; }
    .hs-p { font-size: 1rem; margin-bottom: 22px; }
    .hs-btn { padding: 11px 18px; font-size: .96rem; }
    .hs-round { width: 44px; height: 44px; }
}

/* ---------- Quick access bar ---------- */
.quick { position: relative; z-index: 6; margin-top: 0; padding-top: 6px; }
.quick-bar { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: 0 14px 40px rgba(14,33,71,.14); overflow: hidden; }
.quick-item { display: flex; gap: 14px; align-items: center; padding: 22px 22px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); }
.quick-item:last-child { border-right: 0; }
.quick-item i { font-size: 1.5rem; color: var(--sindoor); width: 30px; text-align: center; }
.quick-item strong { display: block; color: var(--neel-deep); line-height: 1.25; }
.quick-item span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.35; }
a.quick-item:hover { background: var(--neel-soft); color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tint { background: var(--tulsi-tint); }
.section-title { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.08rem; }
.section-head.d-flex { max-width: none; }
.lead-text { font-size: 1.12rem; color: #3A4352; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.tick-list li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.tick-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--tulsi); }
.tick-list.two-col { columns: 2; column-gap: 32px; }
.tick-list.two-col li { break-inside: avoid; }
@media (max-width: 575px) { .tick-list.two-col { columns: 1; } }

/* ---------- Arch frame (signature element) ---------- */
.arch-frame { position: relative; display: block; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50% 50% 14px 14px / 34% 34% 14px 14px; box-shadow: 0 0 0 7px #fff, 0 0 0 8px var(--haldi); background: var(--neel-soft); }
.arch-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.arch-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, var(--neel-soft), #fff); }
.arch-placeholder img { width: 55%; height: auto; object-fit: contain; }
.arch-sm { width: 100%; max-width: 210px; margin: 0 auto 18px; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--haldi); }
.arch-initial { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; color: var(--neel); background: linear-gradient(170deg, var(--neel-soft), #fff); }
.arch-inline { width: 260px; max-width: 100%; }

/* ---------- Notice board ---------- */
.notice-board { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.nb-head { background: var(--neel); padding: 14px 20px; }
.nb-head h2 { color: #fff; font-size: 1.3rem; margin: 0; }
.nb-head i { color: var(--haldi); }
.nb-body { max-height: 360px; overflow: hidden; position: relative; }
.nb-body.is-scrolling .nb-list { animation: nb-scroll 32s linear infinite; }
.nb-body.is-scrolling:hover .nb-list, .nb-body.is-scrolling:focus-within .nb-list { animation-play-state: paused; }
@keyframes nb-scroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.nb-list { list-style: none; padding: 6px 20px; margin: 0; }
.nb-list li { padding: 12px 0; border-bottom: 1px dashed var(--line); line-height: 1.4; }
.nb-list li:last-child { border-bottom: 0; }
.nb-date { display: block; font-size: .82rem; color: var(--sindoor); font-weight: 600; margin-bottom: 2px; }
.nb-list a { color: var(--ink); text-decoration: none; }
.nb-list a:hover { color: var(--sindoor); text-decoration: underline; }
.badge-new { display: inline-block; margin-left: 6px; background: var(--haldi); color: var(--neel-deep); font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 20px; vertical-align: 2px; }

/* ---------- Stats ---------- */
.stats { background: var(--neel-deep); color: #fff; padding: 46px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 6px 12px; border-right: 1px solid rgba(255,255,255,.15); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; color: var(--haldi); }
.stat-label { color: rgba(255,255,255,.82); }

/* ---------- Facilities ---------- */
.facility-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facility { display: flex; flex-direction: column; gap: 12px; padding: 26px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; transition: background .15s; }
.facility i { font-size: 1.6rem; color: var(--sindoor); }
.facility:hover { background: var(--neel-soft); color: var(--neel-deep); }

/* ---------- Facts (definition list) ---------- */
.facts { margin: 22px 0 0; }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts > div:first-child { border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--neel-deep); }
.facts dd { margin: 0; color: #3A4352; }
@media (max-width: 575px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Departments list ---------- */
.dept-list { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.dept { display: flex; align-items: center; gap: 16px; padding: 18px 22px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.dept:last-child { border-bottom: 0; }
.dept-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--neel-soft); color: var(--neel); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.dept-body { flex: 1; }
.dept-body strong { display: block; color: var(--neel-deep); }
.dept-body small { color: var(--muted); font-size: .9rem; }
.dept-go { color: var(--muted); font-size: .8rem; }
.dept:hover { background: var(--neel-soft); color: var(--ink); }
.dept:hover .dept-go { color: var(--sindoor); }

/* ---------- Leadership ---------- */
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.leader { text-align: center; text-decoration: none; color: var(--ink); }
.leader strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--neel-deep); }
.leader small { color: var(--muted); font-size: .95rem; }
.leader:hover strong { color: var(--sindoor); }

/* ---------- Gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.mosaic-item { overflow: hidden; border-radius: 8px; display: block; }
.mosaic-item.is-feature { grid-column: span 2; grid-row: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaic-item:hover img { transform: scale(1.04); }
.album-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.album-tabs a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 30px; color: var(--ink); text-decoration: none; font-weight: 600; }
.album-tabs a span { color: var(--muted); font-weight: 500; font-size: .85rem; margin-left: 2px; }
.album-tabs a.active, .album-tabs a:hover { background: var(--neel); border-color: var(--neel); color: #fff; }
.album-tabs a.active span, .album-tabs a:hover span { color: rgba(255,255,255,.75); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.g-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--neel-soft); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.04); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; color: #fff; font-size: .92rem; background: linear-gradient(transparent, rgba(14,33,71,.85)); }

/* ---------- CTA ---------- */
.cta { background: var(--sindoor); color: #fff; padding: 52px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 6px; }
.cta p { margin: 0; color: rgba(255,255,255,.9); }
.cta .btn-light { color: var(--sindoor-dark); }

/* ---------- Page hero / breadcrumb ---------- */
.page-hero { background: linear-gradient(120deg, var(--neel-deep), var(--neel)); color: #fff; padding: 42px 0 46px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(227,162,26,.12); }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; max-width: 900px; position: relative; z-index: 1; }
.crumbs { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; color: rgba(255,255,255,.75); position: relative; z-index: 1; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }

/* ---------- Static page body ---------- */
.page-body { padding-top: 56px; }
.side-nav { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.side-title { background: var(--tulsi-tint); font-size: 1.2rem; padding: 14px 18px; margin: 0; border-bottom: 1px solid var(--line); }
.side-nav ul { list-style: none; margin: 0; padding: 6px 0; max-height: 560px; overflow-y: auto; }
.side-nav a { display: block; padding: 8px 18px; color: var(--ink); text-decoration: none; font-size: .96rem; line-height: 1.4; border-left: 3px solid transparent; }
.side-nav a:hover { color: var(--sindoor); background: #FBFBFC; }
.side-nav a.active { border-left-color: var(--sindoor); color: var(--sindoor); font-weight: 600; background: #FDF3F4; }
.help-card { background: var(--neel-deep); color: rgba(255,255,255,.85); border-radius: var(--radius); padding: 22px; margin-top: 24px; }
.help-card h2 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.help-card p { font-size: .95rem; }
.help-line { display: block; color: #fff; text-decoration: none; padding: 4px 0; word-break: break-word; }
.help-line i { color: var(--haldi); width: 20px; }
.help-line:hover { color: var(--haldi); }

.prose { max-width: 78ch; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 .8rem; }
.prose > h2:first-child { margin-top: 0; }
.callout { background: var(--tulsi-tint); border-left: 4px solid var(--tulsi); padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0; }
.callout strong { display: block; color: var(--neel-deep); margin-bottom: 4px; }
.callout .btn { margin: 4px 6px 0 0; }
.callout-alert { background: #FDF3F4; border-left-color: var(--sindoor); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1rem; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 56px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--neel); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--line); }
.steps strong { display: block; color: var(--neel-deep); font-size: 1.08rem; }
.steps span { color: #3A4352; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 18px; }
.mv { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.mv h2 { margin-top: 10px !important; }
.mv-icon { width: 52px; height: 52px; border-radius: 50%; background: #FDF3F4; color: var(--sindoor); display: grid; place-items: center; font-size: 1.3rem; }

.message { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.message-person { text-align: center; }
.message-person strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--neel-deep); }
.message-person small { color: var(--muted); }
.message-text { font-size: 1.08rem; }
.message-text .sign { margin-top: 1.4rem; }
.people-pair { display: grid; gap: 28px; margin-top: 24px; }
.person { display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.person .arch-sm { margin: 0; }
.person h2 { margin: 0 !important; }
.person-role { color: var(--sindoor); font-weight: 600; display: block; margin-bottom: 8px; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.resource { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; }
.resource i { color: var(--sindoor); font-size: 1.4rem; }
.resource:hover { border-color: var(--neel); background: var(--neel-soft); color: var(--neel-deep); }

/* ---------- Documents ---------- */
.docs { margin-top: 30px; }
.docs-title { font-size: 1.5rem; margin-bottom: 14px; }
.doc-list { list-style: none; margin: 0 0 24px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.doc { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.doc:last-child { border-bottom: 0; }
.doc-icon { width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.doc-icon.is-pdf { background: #FDF3F4; color: var(--sindoor); }
.doc-icon.is-img { background: var(--neel-soft); color: var(--neel); }
.doc-name { flex: 1; font-weight: 600; line-height: 1.35; }
.doc-actions { display: flex; gap: 6px; flex-shrink: 0; }
.pdf-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pdf-frame iframe { width: 100%; height: 760px; border: 0; display: block; background: #F4F5F7; }
.pdf-fallback { margin: 0; padding: 10px 16px; font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); }
.doc-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.doc-images a { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.doc-images img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.docs-empty { display: flex; gap: 18px; align-items: center; padding: 26px; border: 1px dashed #C9D0DA; border-radius: var(--radius); background: #FAFBFC; margin-top: 24px; }
.docs-empty > i { font-size: 2rem; color: var(--neel); }
.docs-empty strong { display: block; color: var(--neel-deep); }
.docs-empty p { margin: 0; color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 30px rgba(14,33,71,.06); }
.form-card > h2 { font-size: 1.6rem; margin-bottom: 18px; }
.form-card fieldset { margin-bottom: 26px; }
.form-card legend { font-family: var(--font-display); color: var(--neel-deep); font-size: 1.25rem; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 16px; }
.form-label { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.form-control, .form-select { border-radius: 8px; border-color: #CDD3DC; padding: .6rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--neel); box-shadow: 0 0 0 .2rem rgba(23,52,107,.15); }
.req { color: var(--sindoor); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li > i { width: 44px; height: 44px; border-radius: 50%; background: var(--neel-soft); color: var(--neel); display: grid; place-items: center; flex-shrink: 0; font-size: 1.05rem; }
.contact-list strong { display: block; color: var(--neel-deep); }
.contact-list span { color: #3A4352; word-break: break-word; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: saturate(.9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--neel-deep); color: rgba(255,255,255,.78); padding-top: 64px; font-size: .98rem; }
.f-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.f-brand img { width: 70px; height: 70px; background: #fff; border-radius: 50%; padding: 3px; }
.f-name { display: block; font-family: var(--font-display); color: #fff; font-size: 1.35rem; line-height: 1.2; }
.f-sub { display: block; font-size: .9rem; color: rgba(255,255,255,.65); }
.f-about { max-width: 38ch; }
.f-social { display: flex; gap: 8px; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: #fff; text-decoration: none; }
.f-social a:hover { background: var(--sindoor); border-color: var(--sindoor); }
.f-title { color: #fff; font-size: 1.25rem; margin-bottom: 16px; }
.f-links { list-style: none; padding: 0; margin: 0; }
.f-links li { margin-bottom: 8px; }
.f-links a, .f-contact a { color: rgba(255,255,255,.8); text-decoration: none; }
.f-links a:hover, .f-contact a:hover { color: var(--haldi); }
.f-contact { list-style: none; padding: 0; margin: 0; }
.f-contact li { display: flex; gap: 12px; margin-bottom: 12px; line-height: 1.45; word-break: break-word; }
.f-contact i { color: var(--haldi); width: 18px; margin-top: 4px; flex-shrink: 0; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding: 18px 0; font-size: .92rem; color: rgba(255,255,255,.65); }
.f-bottom a { color: var(--haldi); text-decoration: none; }

/* ---------- Floating contact ---------- */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 1020; display: flex; flex-direction: column; gap: 10px; }
.float-contact a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.35rem; box-shadow: 0 8px 22px rgba(0,0,0,.2); text-decoration: none; }
.fc-wa { background: #1FA855; }
.fc-call { background: var(--sindoor); }
.float-contact a:hover { color: #fff; transform: translateY(-2px); }

/* ---------- Pagination ---------- */
.pagination .page-link { color: var(--neel); }
.pagination .active > .page-link { background: var(--neel); border-color: var(--neel); }

/* ---------- Responsive ---------- */
@media (max-width: 1399px) {
    .nav-link-x { font-size: .95rem; }
}
@media (max-width: 1199px) {
    .facility-grid { grid-template-columns: repeat(3, 1fr); }
    .leaders { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .section { padding: 60px 0; }
    .quick-bar { grid-template-columns: 1fr 1fr; }
    .quick-item:nth-child(2) { border-right: 0; }
    .quick-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .stats-row { grid-template-columns: 1fr 1fr; row-gap: 26px; }
    .stat:nth-child(2) { border-right: 0; }
    .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .message, .person { grid-template-columns: 1fr; text-align: left; }
    .message-person { max-width: 220px; }
    .person .arch-sm { max-width: 180px; }
    .resource-grid { grid-template-columns: 1fr 1fr; }
    .arch-frame:not(.arch-sm) { max-width: 360px; margin: 0 auto; }
}
@media (max-width: 767px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
    .brand-logo { width: 58px; height: 58px; }
    .brand-name { font-size: 1.2rem; }
    .brand-sub { font-size: .85rem; }
    .brand-tag { display: none; }
    .quick { margin-top: 0; }
    .quick-bar { grid-template-columns: 1fr; }
    .quick-item { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 16px 18px; }
    .quick-item:last-child { border-bottom: 0; }
    .facility-grid { grid-template-columns: 1fr 1fr; }
    .facility { padding: 18px 14px; font-size: .95rem; }
    .mv-grid { grid-template-columns: 1fr; }
    .doc { flex-wrap: wrap; }
    .doc-actions { width: 100%; padding-left: 56px; }
    .pdf-frame iframe { height: 520px; }
    .form-card { padding: 22px 18px; }
    .float-contact a { width: 46px; height: 46px; font-size: 1.15rem; }
}
@media (max-width: 479px) {
    .leaders { gap: 22px; }
    .leader strong { font-size: 1.05rem; }
    .resource-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
}
.arch-placeholder, .arch-initial { position: absolute; inset: 0; }