:root {
    --ink: #1b2836;
    --maroon: #0365ba;
    --maroon-deep: #02386b;
    --gold: #f0c14b;
    --gold-soft: #e7f2fb;
    --cream: #f4f8fb;
    --paper: #ffffff;
    --line: #d5e4f2;
    --muted: #5d6b7a;
    --shadow: 0 16px 40px rgba(2, 56, 107, 0.08);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Outfit", "Segoe UI", sans-serif;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--maroon); }
h1, h2, h3, h4 { font-family: "Source Serif 4", Georgia, serif; line-height: 1.25; }

.topbar { background: #f4efe4; color: #102c4c; font-size: 0.92rem; border-bottom: 1px solid #e6dcc8; }
.topbar-inner, .header-inner, .nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-inner { min-height: 42px; padding: 8px 0; }
.topbar a, .topbar-item { color: #102c4c; text-decoration: none; }
.topbar a:hover { color: #0365ba; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.topbar-cta { background: var(--gold); color: var(--maroon-deep) !important; border-radius: 999px; padding: 4px 12px; font-weight: 700; }

.site-header {
    background: linear-gradient(100deg, #0b2340 0%, #15467a 48%, #1d74c4 100%);
    border-bottom: 3px solid #f0c14b;
}
.header-inner { padding: 12px 0; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; min-width: 0; flex: 1 1 auto; }
.brand img { width: min(520px, 100%); max-width: 100%; height: auto; object-fit: contain; display: block; }
.brand-mark {
    width: 64px; height: 64px; border-radius: 50%;
    display: grid; place-items: center; flex: 0 0 auto;
    background: radial-gradient(circle at 30% 30%, #a94455, var(--maroon-deep));
    color: var(--gold-soft); font-weight: 700; letter-spacing: 0.04em;
    border: 2px solid var(--gold);
}
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-copy strong { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.05rem, 2vw, 1.55rem); color: var(--maroon-deep); }
.brand-copy small { color: var(--muted); }
.header-admit, .btn-solid, .btn-gold, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; border-radius: 999px; font-weight: 700; border: 0;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
}
.header-admit, .btn-solid { background: var(--maroon); color: #fff; padding: 10px 18px; }
.header-admit { flex: 0 0 auto; white-space: nowrap; margin-left: 16px; background: #fff; color: #102c4c; }
.btn-solid:hover { background: var(--maroon-deep); color: #fff; }
.header-admit:hover { background: #f0c14b; color: #102c4c; }
.btn-gold { background: var(--gold); color: var(--maroon-deep); padding: 12px 20px; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.55); padding: 12px 20px; background: transparent; }

.mainnav {
    background: linear-gradient(100deg, #071a30 0%, #0d3d72 58%, #0365ba 100%);
    position: sticky; top: 0; z-index: 40;
    box-shadow: 0 8px 18px rgba(2, 56, 107, 0.18);
}
.nav-toggle { display: none; background: transparent; color: #fff; border: 0; padding: 12px 0; font-weight: 700; }
.nav-list { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; width: 100%; }
.nav-list > li { position: relative; }
.nav-list > li.has-mega { position: static; }
.nav-list > li > a { color: #fff; text-decoration: none; display: flex; gap: 7px; align-items: center; padding: 15px 14px; font-weight: 600; white-space: nowrap; transition: background .25s ease; }
.nav-list > li > a i { font-size: 10px; }
.nav-list > li:hover > a, .nav-list > li.is-active > a, .nav-list > li.open > a { background: rgba(255,255,255,.12); }
.dropdown, .mega { display: none; }
.nav-list > li:hover > .dropdown, .nav-list > li:hover > .mega { display: block; }
.dropdown {
    position: absolute; left: 0; top: 100%; min-width: 280px; max-width: min(360px, 90vw); list-style: none;
    margin: 0; padding: 8px 0; background: #fff; border-top: 3px solid var(--maroon);
    box-shadow: var(--shadow); z-index: 60;
}
.nav-list > li:nth-last-child(-n+2) > .dropdown { left: auto; right: 0; }
.dropdown a, .mega a { display: block; padding: 9px 16px; color: var(--ink); text-decoration: none; line-height: 1.4; white-space: normal; transition: background .2s ease, color .2s ease, padding .2s ease; }
.dropdown a:hover, .mega a:hover { background: var(--gold-soft); color: var(--maroon-deep); }
.mega {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--maroon);
    box-shadow: 0 18px 40px rgba(2, 56, 107, 0.16); padding: 26px 0 30px; z-index: 60;
}
.mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px 28px; width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.mega h4 { font-family: "Outfit", "Segoe UI", sans-serif; font-size: 0.82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon-deep); border-bottom: 2px solid var(--maroon); padding-bottom: 8px; margin: 0 0 8px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { padding: 7px 0; }
.highlight-link { display: inline-block; background: var(--gold); color: var(--maroon-deep) !important; border-radius: 8px; font-weight: 700; margin-top: 6px; padding: 8px 12px !important; }

.home-banner { background: #0b2340; border-bottom: 4px solid #e0b03a; box-shadow: 0 14px 32px rgba(11, 35, 64, 0.16); }
.home-banner .carousel-item { height: clamp(190px, 34vw, 480px); background: #012848; }
.home-banner .carousel-item::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 42%;
    background: linear-gradient(transparent, rgba(11, 35, 64, 0.72));
    pointer-events: none;
    z-index: 1;
}
.banner-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 24px 7vw 46px;
    pointer-events: none;
}
.banner-caption span {
    display: inline-block;
    max-width: min(760px, 100%);
    color: #fff;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(1.35rem, 3vw, 2.35rem);
    font-weight: 650;
    line-height: 1.2;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
    border-bottom: 3px solid #e0b03a;
    padding-bottom: 8px;
}
.home-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.home-banner a { display: block; height: 100%; }
.home-banner .carousel-control-prev,
.home-banner .carousel-control-next { width: 48px; }
.home-banner .carousel-indicators { margin-bottom: 0.6rem; }

.hero {
    background:
        linear-gradient(115deg, rgba(77,18,28,.92), rgba(124,36,50,.72)),
        radial-gradient(circle at 80% 20%, rgba(198,161,91,.45), transparent 32%);
    color: #fff; padding: 78px 0 70px; text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin: 8px 0 12px; }
.eyebrow, .kicker { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; font-size: .82rem; margin-bottom: 0; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-lead { max-width: 720px; margin: 0 auto 18px; color: #f8efe4; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.ticker { display: flex; background: #012848; color: #fff; min-height: 48px; }
.ticker > span { background: var(--gold); color: var(--maroon-deep); font-weight: 800; display: grid; place-items: center; padding: 0 16px; white-space: nowrap; }
.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-move { display: flex; gap: 36px; white-space: nowrap; animation: ticker 36s linear infinite; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
.ticker a { color: #fff; text-decoration: none; }

.notice-band {
    position: relative;
    padding: 46px 0 18px;
    overflow: hidden;
    background:
        radial-gradient(520px 140px at 8% 0%, rgba(240, 193, 75, 0.18), transparent 70%),
        linear-gradient(180deg, #f8f4ec 0%, #f4f8fb 100%);
}
.notice-band::before {
    content: "";
    position: absolute; left: 8%; right: 8%; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, #e4c77a, transparent);
}
.notice-band-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; animation: rise-in .7s ease both; }
.notice-band-head h2 { margin: 2px 0 0; position: relative; display: inline-block; }
.notice-band-head h2::after {
    content: "";
    display: block; width: 54px; height: 3px; margin-top: 8px; border-radius: 99px;
    background: linear-gradient(90deg, #f0c14b, #0365ba);
}
.notice-viewport {
    overflow: hidden;
    padding: 8px 0 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.notice-track { display: flex; gap: 18px; width: max-content; animation: notice-ltr 36s linear infinite; }
.notice-viewport:hover .notice-track { animation-play-state: paused; }
.notice-chip {
    position: relative; overflow: hidden;
    width: 340px; flex: 0 0 340px; display: flex; align-items: center; gap: 14px;
    min-height: 124px;
    background: #fff; border: 1px solid rgba(16, 44, 76, 0.08); border-radius: 22px; padding: 14px 16px 14px 18px;
    text-decoration: none; color: inherit;
    box-shadow: 0 12px 28px rgba(11, 35, 64, 0.07);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.notice-chip::before {
    content: "";
    position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #f0c14b, #0365ba);
}
.notice-chip::after {
    content: "";
    position: absolute; top: 0; bottom: 0; width: 42%; left: -70%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: skewX(-18deg);
    transition: left .65s ease;
    pointer-events: none;
}
.notice-chip:hover {
    transform: translateY(-8px);
    border-color: #f0c14b;
    box-shadow: 0 22px 40px rgba(11, 35, 64, 0.16);
    color: inherit;
}
.notice-chip:hover::after { left: 130%; }
.notice-chip:hover em i { transform: translateX(4px); }
.notice-media { flex: 0 0 72px; width: 72px; height: 72px; }
.notice-media img, .notice-chip .notice-badge {
    width: 72px; height: 72px; border-radius: 18px; display: block;
}
.notice-media.is-photo img {
    object-fit: cover;
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(240, 193, 75, 0.85);
}
.notice-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.notice-chip strong {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: 1.02rem; line-height: 1.3;
}
.notice-chip em {
    margin-top: 4px; font-style: normal; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: #0365ba;
}
.notice-chip em i { margin-left: 4px; transition: transform .3s ease; }
.notice-chip.is-closed { cursor: default; }
.notice-chip.is-closed em { color: #8d1731; }
.notice-closed { display: inline-flex; color: #8d1731; font-weight: 700; }
.notice-chip small { display: block; color: #9a7420; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
.notice-badge { display: grid; place-items: center; color: #fff; font-size: 1.35rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.notice-badge.pdf { background: linear-gradient(160deg, #d6453d, #8f1d18); }
.notice-badge.word { background: linear-gradient(160deg, #3b82d6, #185abd); }
.notice-badge.excel { background: linear-gradient(160deg, #1fa866, #0d6b38); }
.notice-badge.image, .notice-badge.file { background: linear-gradient(160deg, #1d4e86, #0b2340); }
.notice-board { display: grid; gap: 16px; }
.notice-item {
    display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px;
    box-shadow: var(--shadow);
}
.notice-item-media img, .notice-item-media .notice-badge { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; }
.notice-item h2 { margin: 4px 0 12px; font-size: 1.35rem; }
.notice-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.notice-text-link { font-weight: 700; color: var(--maroon-deep); text-decoration: none; }
.notice-text-link:hover { color: var(--maroon); }
@keyframes notice-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.nirf-band { padding: 8px 0 54px; background: linear-gradient(180deg, #f4f8fb 0%, #eef4fa 100%); }
.nirf-panel {
    position: relative;
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center;
    padding: 42px 46px;
    border-radius: 28px; color: #fff; overflow: hidden;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(240, 193, 75, 0.28), transparent 62%),
        radial-gradient(380px 180px at 0% 100%, rgba(29, 116, 196, 0.35), transparent 70%),
        linear-gradient(118deg, #071a30 0%, #12375f 48%, #1a5c98 100%);
    box-shadow: 0 28px 50px rgba(7, 26, 48, 0.22);
    animation: rise-in .75s ease both;
}
.nirf-panel::before {
    content: "";
    position: absolute; inset: 12px; border-radius: 18px;
    border: 1px solid rgba(240, 193, 75, 0.5);
    pointer-events: none;
}
.nirf-panel::after {
    content: "";
    position: absolute; top: -40%; left: -20%; width: 40%; height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: rotate(18deg);
    animation: nirf-sheen 7s ease-in-out infinite;
    pointer-events: none;
}
.nirf-copy { position: relative; z-index: 1; }
.nirf-band h2 { margin: 0 0 10px; color: #fff; font-size: clamp(2rem, 3vw, 2.7rem); }
.nirf-band h2::after {
    content: "";
    display: block; width: 64px; height: 3px; margin-top: 14px; border-radius: 99px;
    background: linear-gradient(90deg, #f0c14b, rgba(240, 193, 75, 0));
}
.nirf-copy p { max-width: 460px; margin: 16px 0 0; color: rgba(255, 255, 255, 0.86); font-family: "Source Serif 4", Georgia, serif; font-size: 1.12rem; }
.nirf-grid { position: relative; z-index: 1; display: grid; gap: 14px; }
.nirf-card {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255, 255, 255, 0.96); color: #102c4c; text-decoration: none;
    border-radius: 18px; padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    animation: rise-in .7s ease both;
    transition: transform .35s ease, box-shadow .35s ease;
}
.nirf-card:nth-child(2) { animation-delay: .12s; }
.nirf-card:hover { transform: translateY(-6px); box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22); color: #102c4c; }
.nirf-card:hover .nirf-arrow { transform: translateX(5px); color: #0365ba; }
.nirf-icon {
    width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(160deg, #1d74c4, #0b2340); color: #fff; font-size: 1.2rem; flex: 0 0 54px;
    box-shadow: 0 8px 16px rgba(11, 35, 64, 0.25);
}
.nirf-card strong, .nirf-card small { display: block; }
.nirf-card strong { font-family: "Source Serif 4", Georgia, serif; font-size: 1.35rem; }
.nirf-card small { color: #0365ba; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .75rem; }
.nirf-arrow { margin-left: auto; color: #9a7420; transition: transform .3s ease, color .3s ease; }
@keyframes nirf-sheen {
    0%, 55% { left: -30%; }
    80%, 100% { left: 120%; }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 54px 0; }
.section-tight { padding-top: 10px; }
.welcome-grid, .contact-layout, .facility-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 28px; }
.welcome-grid, .page-sheet, .info-card, .news-card, .contact-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.welcome-grid { padding: 32px; align-items: stretch; }
.welcome-grid > div:first-child { min-width: 0; }
.contact-card { background: linear-gradient(180deg, #fff, var(--gold-soft)); padding: 26px; border-radius: 16px; }
.contact-card h3, .info-card h3, .news-card h3 { margin-top: 0; }
.contact-card a { font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.card-grid { display: grid; gap: 18px; margin-top: 28px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-card, .news-card { padding: 22px; transition: transform .35s ease, box-shadow .35s ease; }
.news-card { text-decoration: none; color: inherit; display: block; min-height: 150px; }
.news-card:hover, .info-card:hover { transform: translateY(-3px); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--maroon); margin-bottom: 10px; }
.text-link { font-weight: 700; text-decoration: none; }
.news-date { color: var(--maroon); font-size: .82rem; font-weight: 700; }

.stats-band { background: var(--maroon-deep); color: #fff; padding: 48px 0; text-align: center; }
.stats-band h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 22px; }
.stats-grid div { background: rgba(255,255,255,.08); border: 1px solid rgba(198,161,91,.35); border-radius: 14px; padding: 18px 10px; }
.stats-grid strong { display: block; font-size: 1.8rem; color: var(--gold); font-family: "Source Serif 4", Georgia, serif; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin: 34px 0 16px; }
.facility-box { margin-top: 36px; background: #fff; border-radius: 18px; padding: 28px; border: 1px solid var(--line); }
.facility-box h2 { color: var(--maroon-deep); }
.facility-tabs { display: flex; flex-direction: column; background: #e7f2fb; border-radius: 12px; overflow: hidden; }
.facility-tabs button { border: 0; background: transparent; text-align: left; padding: 14px 16px; border-bottom: 1px solid #d5e4f2; font-weight: 600; }
.facility-tabs button.active { background: var(--maroon); color: #fff; }
.facility-pane { display: none; }
.facility-pane.active { display: block; }
.heritage { margin-top: 36px; display: grid; grid-template-columns: 1.4fr .8fr; gap: 20px; background: #fff; border-radius: 18px; padding: 28px; border: 1px solid var(--line); }
.heritage-links { display: grid; gap: 10px; align-content: center; }
.heritage-links a { text-decoration: none; background: var(--cream); border-radius: 12px; padding: 14px; font-weight: 700; color: var(--maroon-deep); }

.leader-band { padding: 54px 0; background: linear-gradient(180deg, #f8f4ea 0%, #fff 72%); border-top: 1px solid #eadfcd; border-bottom: 1px solid #eadfcd; }
.leader-layout { display: grid; grid-template-columns: minmax(180px, 250px) 1fr; gap: 36px; align-items: start; }
.leader-intro h2 { margin: 6px 0 0; }
.leader-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.leader-row {
    display: block;
    padding: 0 26px;
    border-left: 1px solid #e4d8c4;
    text-decoration: none;
    color: inherit;
}
.leader-row:first-child { padding-left: 0; border-left: 0; }
.leader-row img {
    width: 78px; height: 96px;
    object-fit: cover; object-position: center top;
    border-radius: 4px;
    margin-bottom: 14px;
    transition: transform .4s ease;
}
.leader-row .role { display: block; color: #9a7420; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.leader-row h3 { margin: 4px 0 8px; font-size: 1.3rem; transition: color .3s ease; }
.leader-row p { color: var(--muted); margin: 0 0 12px; font-size: .95rem; }
.leader-row .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #0365ba; transition: gap .3s ease, color .3s ease; }
.leader-row .more::after { content: "\2192"; }
.leader-row:hover img { transform: scale(1.05); }
.leader-row:hover h3 { color: #0365ba; }
.leader-row:hover .more { gap: 12px; color: #0b2340; }

.page-banner {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(680px 200px at 0% 0%, rgba(240, 193, 75, 0.38), transparent 62%),
        linear-gradient(105deg, #0b2340 0%, #143a64 48%, #1a5694 100%);
    color: #fff;
    padding: 48px 0 36px;
    border-bottom: 4px solid #e0b03a;
}
.page-banner h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; }
.page-banner a, .page-banner p { color: rgba(255, 255, 255, 0.84); text-decoration: none; margin: 0; }
.page-banner a:hover { color: #f0c14b; }
.page-banner p span { color: #f0c14b; margin: 0 6px; }
.page-sheet { padding: 32px; }
.page-content h2, .page-content h3, .section-title, .section-heading { color: var(--maroon-deep); }
.page-content .section-title { margin: 0 0 22px; padding-bottom: 10px; border-bottom: 1px solid #eadfcd; }
.page-content .message-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.page-content .profile-card { position: sticky; top: 88px; }
.page-content .profile-card img {
    width: 100%; height: 310px; object-fit: cover; object-position: center top;
    border-radius: 6px; display: block;
    box-shadow: 12px 12px 0 #f3e6c4;
}
.page-content .profile-card .role {
    margin-top: 16px; color: #9a7420; font-size: .74rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
}
.page-content .profile-card .name { margin: 4px 0 0; font-size: 1.35rem; }
.page-content .message-body { font-size: 1.05rem; }
.page-content .message-body p { color: #243140; }
.page-content .signature {
    margin-top: 26px; padding: 4px 0 4px 16px;
    border-left: 3px solid #e0b03a; color: #102c4c; font-weight: 700;
}
.page-content .signature span { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; font-size: .92rem; }
.page-content .lcc-info-box { margin-top: 28px; padding: 18px 18px 8px; background: #f8f4ea; border-radius: 12px; }
.page-content .lcc-info-box h3 { margin: 8px 0 10px; font-size: 1.05rem; letter-spacing: .04em; }
.page-content .units-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 0 0 12px; padding-left: 18px; }
.page-content p, .rich p { margin-top: 0; }
.page-content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; background: #fff; }
.page-content th, .page-content td { border: 1px solid #d5e4f2; padding: 11px 12px; vertical-align: top; }
.page-content th { background: var(--maroon); color: #fff; }
.page-content td { color: var(--ink); }
.page-content tr:nth-child(even):not(.dept-header):not(.sfs-header):not(.coordinator-row) td { background: #f4f8fb; }
.page-content tr.dept-header td,
.page-content tr.dept-header:nth-child(even) td,
.page-content tr.sfs-header td,
.page-content tr.sfs-header:nth-child(even) td {
    background: var(--maroon-deep);
    color: #fff;
    font-weight: 700;
}
.page-content tr.coordinator-row td,
.page-content tr.coordinator-row:nth-child(even) td {
    background: var(--gold-soft);
    color: var(--maroon-deep);
    font-weight: 700;
}
.page-content .vacant-row td { color: #5c534c; font-style: italic; }
.page-content .table-wrapper { overflow-x: auto; }
.note-box, .guidelines-box, .fee-box, .browser-note, .alert-red, .relogin-box, .course-box {
    border-radius: 14px; padding: 16px 18px; margin: 16px 0;
}
.guidelines-box, .note-box, .fee-box, .browser-note { background: var(--gold-soft); }
.alert-red { background: #fde8e4; color: #7c2432; font-weight: 600; }
.rules-banner { display: inline-block; background: var(--maroon); color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; }
.proceed-btn, .relogin-btn { display: inline-flex; margin-top: 8px; background: #1f6b45; color: #fff !important; text-decoration: none; border-radius: 999px; padding: 12px 18px; font-weight: 700; }
.page-content .container { max-width: none; padding: 0; margin: 0; }
.page-content .sidebar { display: flex; flex-direction: column; gap: 8px; }
.page-content .content-box { min-width: 0; }
.page-content > .container, .page-content .container:has(.sidebar) { display: grid; grid-template-columns: 280px 1fr; gap: 22px; }
.page-content .tab-btn { border: 0; text-align: left; background: #e7f2fb; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.page-content .tab-btn.active { background: var(--maroon); color: #fff; }
.page-content .tab-panel { display: none; }
.page-content .tab-panel.active { display: block; }
.tab-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.contact-form { display: grid; gap: 12px; }
.contact-form input, .contact-form textarea, .admin-body .form-control, .admin-body .form-select {
    width: 100%; border: 1px solid #c5d7ea; border-radius: 10px; padding: 10px 12px;
}
.info-lines { display: grid; gap: 14px; margin-top: 18px; }
.info-lines strong { display: block; color: var(--maroon); }
.map-frame iframe, .footer-map { width: 100%; height: 240px; border: 0; border-radius: 12px; }

.site-footer { background: #012848; color: #d7e8f8; margin-top: 20px; padding-top: 42px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-bottom: 30px; }
.site-footer h3 { color: #fff; font-size: 1.15rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d7e8f8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; }
.footer-bottom { background: #011e36; text-align: center; padding: 14px; color: #d7e8f8; }

@media (max-width: 1199px) {
    .nav-list > li > a { padding: 14px 10px; font-size: 0.92rem; }
    .brand img { width: min(420px, 100%); }
}
@media (max-width: 991px) {
    .topbar-inner { flex-direction: column; align-items: flex-start; }
    .header-inner { align-items: center; }
    .header-admit { padding: 8px 14px; font-size: 0.88rem; }
    .nav-wrap { align-items: stretch; flex-direction: column; }
    .nav-toggle { display: inline-flex; gap: 8px; align-items: center; width: fit-content; }
    .nav-list { display: none; flex-direction: column; flex-wrap: nowrap; padding-bottom: 10px; }
    .nav-list.open { display: flex; }
    .nav-list > li > a { padding: 12px 4px; white-space: normal; }
    .nav-list > li:hover > .dropdown,
    .nav-list > li:hover > .mega { display: none; }
    .dropdown, .mega {
        position: static; display: none; width: 100%; max-width: none; min-width: 0;
        box-shadow: none; border-top: 0; background: #f4f8fb; padding: 4px 8px 10px;
    }
    .nav-list > li.open > .dropdown,
    .nav-list > li.open > .mega { display: block; }
    .mega-grid { width: 100%; grid-template-columns: 1fr; gap: 12px; }
    .dropdown a, .mega a { padding: 8px 8px; }
    .welcome-grid, .contact-layout, .facility-layout, .heritage, .leader-layout, .leader-list, .cols-3, .cols-4, .stats-grid, .footer-grid,
    .page-content > .container, .page-content .container:has(.sidebar) { grid-template-columns: 1fr; }
    .welcome-grid { padding: 18px; }
    .academics-layout { grid-template-columns: 1fr; }
    .nirf-panel { grid-template-columns: 1fr; padding: 34px 24px; }
    .page-sheet { padding: 20px; }
    .leader-row, .leader-row:first-child { padding: 22px 0; border-left: 0; border-top: 1px solid #e4d8c4; }
    .page-content .message-layout { grid-template-columns: 1fr; gap: 22px; }
    .page-content .profile-card { position: static; max-width: 280px; }
    .page-content .units-list { grid-template-columns: 1fr; }
    .leader-row:first-child { border-top: 0; padding-top: 0; }
}
@media (max-width: 575px) {
    .hero { padding: 52px 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .container { padding-left: 18px; padding-right: 18px; }
    .notice-band-head { align-items: flex-start; flex-direction: column; }
    .notice-viewport { margin-left: 16px; margin-right: 16px; }
    .notice-chip { width: calc(100vw - 86px); flex-basis: calc(100vw - 86px); }
    .nirf-panel { grid-template-columns: 1fr; padding: 28px 18px; }
    .nirf-panel::before { inset: 8px; }
    .nirf-grid { grid-template-columns: 1fr; }
    .notice-item { grid-template-columns: 1fr; }
    .split-list { grid-template-columns: 1fr; }
    .calendar-strip { flex-direction: column; align-items: flex-start; }
    .topbar { font-size: 0.82rem; }
    .topbar-links { gap: 8px; }
    .brand img { width: min(250px, calc(100vw - 150px)); }
    .header-admit { padding: 8px 12px; font-size: 0.8rem; margin-left: 8px; }
}

.page-content .about-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 32px; }
.page-content .about-photos img { width: 100%; height: 170px; object-fit: cover; border-radius: 16px; }
.about-brand { display: flex; align-items: center; gap: 16px; margin: 8px 0 22px; }
.page-content .about-brand img { width: 78px; height: 78px; object-fit: contain; border-radius: 50%; background: #fff; border: 3px solid #f0c14b; padding: 4px; }
.about-brand h2 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: .03em; }
.about-brand p { margin: 4px 0 0; color: #9a7420; font-weight: 700; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.about-timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.about-timeline li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; margin: 0 0 12px; }
.about-timeline strong {
    display: grid; place-items: center; height: 36px; border-radius: 999px;
    background: #0b2340; color: #f0c14b; font-size: .85rem;
}
.about-timeline span { padding-top: 6px; }
.about-side { background: #f8f4ea; border-radius: 20px; padding: 20px; }
.about-side h3, .about-side h4 { margin-top: 0; }
.page-content .about-building { width: 100%; height: 220px; object-fit: cover; border-radius: 16px; margin-top: 12px; }
.about-today { display: flex; align-items: flex-start; gap: 16px; margin-top: 32px; padding: 18px; border-radius: 22px; background: linear-gradient(120deg, #f8f4ea, #fff 46%); border: 1px solid #eadfcd; }
.page-content .about-today > img { width: 56px; height: 56px; min-height: 0; flex: 0 0 56px; object-fit: contain; border-radius: 8px; }
.about-logos { display: flex; gap: 18px; align-items: center; margin-top: 16px; }
.page-content .about-logos img { height: 72px; width: auto; object-fit: contain; }
@media (max-width: 991px) {
    .page-content .about-photos { grid-template-columns: 1fr 1fr; }
    .about-split, .about-today { grid-template-columns: 1fr; }
}

.faculty-block { margin: 8px 0 32px; }
.faculty-block h3 { margin: 0 0 12px; }
.page-content td.vacant { color: #8d1731; font-weight: 700; }
.academics-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; margin-top: 8px; }
.programme-card { background: #f8f4ea; border-radius: 16px; padding: 16px 18px; margin-bottom: 12px; }
.programme-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.programme-card p { margin: 0; }
.split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.split-list ul, .programme-card ul { margin: 0; padding-left: 18px; }
.seat-card { background: linear-gradient(160deg, #0b2340, #1a5c98); color: #fff; border-radius: 20px; padding: 22px; }
.seat-card h3 { color: #fff; margin-top: 0; }
.page-content .seat-card table { background: transparent; margin: 0; }
.page-content .seat-card th { background: transparent; color: #f0c14b; }
.page-content .seat-card td,
.page-content .seat-card tr:nth-child(even) td { color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.22); }
.calendar-strip {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    margin-top: 28px; padding: 18px 20px; border-radius: 18px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.calendar-strip h3 { margin: 0 0 4px; }
.calendar-strip p { margin: 0; color: var(--muted); }

.gallery-head { margin-bottom: 22px; }
.gallery-head h2 { margin: 4px 0 0; }
.gallery-head h2::after {
    content: "";
    display: block; width: 64px; height: 3px; margin-top: 12px; border-radius: 99px;
    background: linear-gradient(90deg, #f0c14b, #0365ba);
}
.gallery-album {
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow);
}
.gallery-album summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 22px; font-family: "Source Serif 4", Georgia, serif; font-size: 1.25rem; color: #102c4c;
}
.gallery-album summary::-webkit-details-marker { display: none; }
.gallery-album summary::after {
    content: "";
    width: 10px; height: 10px; flex: 0 0 10px;
    border-right: 2px solid #0365ba; border-bottom: 2px solid #0365ba;
    transform: rotate(45deg); transition: transform .25s ease;
}
.gallery-album[open] summary { background: linear-gradient(90deg, #f8f4ea, #fff 42%); border-bottom: 1px solid #eadfcd; }
.gallery-album[open] summary::after { transform: rotate(225deg); }
.gallery-album summary small { margin-left: auto; color: #9a7420; font-family: "Outfit", "Segoe UI", sans-serif; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.gallery-album[open] .gallery-panel { animation: rise-in .4s ease; }
.gallery-intro { margin: 18px 22px 0; font-weight: 700; color: #102c4c; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px; }
.gallery-grid a { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #e7f2fb; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-report { margin: 8px 22px 22px; padding: 18px 0 0; border-top: 1px solid #eadfcd; }
.gallery-report h3 { margin: 0 0 10px; font-size: 1.25rem; }
.gallery-report .btn-solid { margin-top: 14px; }
.lightbox {
    position: fixed; inset: 0; z-index: 1080; display: flex; align-items: center; justify-content: center;
    background: rgba(7, 18, 32, 0.88); padding: 24px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.lightbox-close, .lightbox-nav {
    position: absolute; border: 0; background: #fff; color: #102c4c; cursor: pointer; border-radius: 50%;
}
.lightbox-close { top: 16px; right: 16px; width: 42px; height: 42px; font-size: 28px; line-height: 1; }
.lightbox-nav { top: 50%; width: 46px; height: 46px; font-size: 32px; line-height: 1; transform: translateY(-50%); }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }
@media (max-width: 991px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
    .gallery-album summary { align-items: flex-start; flex-direction: column; gap: 4px; padding: 16px; }
    .gallery-album summary::after { position: absolute; right: 18px; margin-top: 8px; }
    .gallery-album { position: relative; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
    .gallery-report { margin: 8px 14px 16px; }
    .lightbox { padding: 64px 16px; }
}

.topbar, .site-header, .mainnav { animation: rise-in .55s ease backwards; }
.site-header { animation-delay: .06s; }
.mainnav { animation-delay: .12s; }
.dropdown, .mega { animation: menu-in .22s ease; }
.facility-pane.active,
.page-content .tab-panel.active { animation: rise-in .4s ease; }
.header-admit:hover,
.btn-solid:hover,
.btn-gold:hover,
.proceed-btn:hover,
.relogin-btn:hover { transform: translateY(-2px); }
.page-content a,
.site-footer a,
.topbar a { transition: color .2s ease; }
.page-content img { transition: transform .45s ease; }
.page-content img:hover { transform: scale(1.015); }
.info-card:hover,
.news-card:hover,
.contact-card:hover { box-shadow: 0 18px 36px rgba(2, 56, 107, 0.14); }
html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.in:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(11, 35, 64, 0.14);
}
html.js .page-banner.reveal.in:hover,
html.js .home-banner.reveal.in:hover,
html.js .stats-band.reveal.in:hover,
html.js .leader-row.reveal.in:hover,
html.js .leader-intro.reveal.in:hover,
html.js .page-content > .message-layout.reveal.in:hover,
html.js .page-content > .section-title.reveal.in:hover { transform: none; box-shadow: none; }
html.js .page-content img.reveal.in:hover { transform: scale(1.02); }

@keyframes rise-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
@keyframes menu-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.admission-popup,
.admission-popup h2,
.admission-popup h3,
.admission-popup h4,
.admission-popup p,
.admission-popup li,
.admission-popup a,
.admission-popup td,
.admission-popup th { font-family: Arial, sans-serif; }
.admission-popup .modal-dialog { max-width: 70%; width: auto; margin: 20px auto; }
.admission-popup .modal-content { background: transparent; border: 0; box-shadow: none; }
.admission-popup .modal-body { padding: 0; position: relative; text-align: center; }
.admission-popup .lcdc-popup { background: #fdfdfd; text-align: left; }
.admission-popup .popup-close {
    position: absolute; top: 4px; right: 6px; z-index: 5;
    width: 35px; height: 35px; border: 0; border-radius: 50%;
    background: #fff; color: #0c2340; font-size: 24px; line-height: 1; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.admission-popup .popup-close:hover { background: #0d6efd; color: #fff; }
.admission-popup .lcdc-banner { position: relative; overflow: hidden; }
.admission-popup .lcdc-banner > img { width: 100%; height: 342px; max-height: none; object-fit: cover; display: block; }
.admission-popup .lcdc-logo { position: absolute; top: 20px; left: 20px; }
.admission-popup .lcdc-logo img { width: 110px; height: auto; max-width: 110px; background: #fff; border-radius: 50%; padding: 8px; object-fit: contain; }
.admission-popup .college-title { background: #f8cb2f; text-align: center; padding: 10px; }
.admission-popup .college-title h2 { color: #083b83; font-weight: 800; margin: 0; font-size: 20px; line-height: 1.3; }
.admission-popup .college-title h4 { margin: 8px 0 0; color: #083b83; font-weight: 700; font-size: 13px; line-height: 1.4; }
.admission-popup .college-subtitle { color: #0d4c9b; font-size: 16px; font-weight: 600; padding: 5px; text-align: center; }
.admission-popup .admission-heading { padding: 10px 20px 25px; text-align: center; }
.admission-popup .admission-heading h3 { color: #9a0f2f; font-size: 20px; font-weight: 800; margin: 0; line-height: 1.3; }
.admission-popup .admission-heading p { color: #0b3d89; font-size: 14px; font-weight: 700; line-height: 1.7; margin: 8px 0 0; }
.admission-popup .lcdc-course-table { background: #fff; margin-bottom: 0; }
.admission-popup .lcdc-course-table thead th { background: #123d87; color: #fff; font-size: 18px; text-align: center; font-weight: 700; }
.admission-popup .lcdc-course-table td { font-size: 13px; color: #1f1f1f; vertical-align: middle; text-align: left; }
.admission-popup .lcdc-course-table strong { color: #0b3d89; font-weight: 700; }
.admission-popup .lcdc-course-table td:nth-child(2),
.admission-popup .lcdc-course-table td:nth-child(3) { font-weight: 600; text-align: left; }
.admission-popup .lcdc-features { background: #fff; padding: 8px; border: 2px solid #123d87; height: 100%; }
.admission-popup .lcdc-features h3 { font-size: 20px; font-weight: 800; color: #123d87; margin: 0 0 10px; text-align: center; line-height: 1.3; }
.admission-popup .lcdc-features ul { padding-left: 22px; margin: 0; text-align: left; }
.admission-popup .lcdc-features li { font-size: 13px; line-height: 1.8; color: #222; text-align: left; }
.admission-popup .lcdc-features li::marker { color: #123d87; }
.admission-popup .new-course-box { background: #ffd54f; padding: 25px; border-radius: 10px; }
.admission-popup .new-course-box h4 { color: #123d87; font-weight: 800; font-size: 18px; text-align: left; margin: 0 0 8px; }
.admission-popup .new-course-box ul { padding-left: 20px; margin: 0; }
.admission-popup .new-course-box li { font-size: 14px; font-weight: 700; margin-bottom: 10px; text-align: left; }
.admission-popup .admission-connect { display: flex; flex-direction: column; justify-content: center; padding: 25px; }
.admission-popup .admission-connect h4 { font-size: 20px; font-weight: 800; color: #8d1731; margin: 0; line-height: 1.3; }
.admission-popup .admission-connect h4 span { display: block; margin-top: 10px; font-size: 15px; color: #8d1731; }
.admission-popup .admission-connect h3 { font-size: 15px; font-weight: 800; color: #8d1731; margin: 12px 0 0; line-height: 1.4; }
.admission-popup .admission-connect a { color: #8d1731; font-weight: 800; text-decoration: none; }
.admission-popup .contact-box { text-align: left; padding: 8px 0; }
.admission-popup .contact-box p { margin: 0 0 8px; font-size: 14px; }
.admission-popup .contact-box .bi-globe { color: #0d6efd; }
.admission-popup .contact-box .bi-geo-alt { color: #ea4335; }
.admission-popup .contact-box .bi-whatsapp { color: #25d366; }
.admission-popup .contact-box .bi-chat-dots-fill { color: #17a2b8; }
.admission-popup .gallery-section { background: #0c4597; padding: 40px 20px; }
.admission-popup .gallery-card { background: #fff; padding: 10px; border-radius: 18px; }
.admission-popup .gallery-card img { width: 100%; height: 260px; max-height: none; object-fit: cover; border-radius: 12px; display: block; }
@media (max-width: 767px) {
    .admission-popup .modal-dialog { max-width: 94%; margin: 10px auto; }
    .admission-popup .lcdc-banner > img { height: 220px; }
    .admission-popup .lcdc-logo img { width: 70px; max-width: 70px; }
    .admission-popup .gallery-card img { height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
