:root {
  --navy: #102a56;
  --navy-dark: #071a38;
  --blue: #2459a8;
  --gold: #d6962d;
  --cream: #f5f1e8;
  --paper: #fffdf9;
  --ink: #17243a;
  --muted: #647187;
  --line: #dce3eb;
  --success: #17725b;
  --shadow: 0 18px 50px rgba(16, 42, 86, .11);
  --radius: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", "Segoe UI", Arial, sans-serif; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; background: white; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 80; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--gold), #ffe29e); }

.utility-bar { background: var(--navy-dark); color: #dbe6f6; font-size: .82rem; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.utility-bar a { text-decoration: none; }
.site-header { background: white; position: relative; z-index: 20; }
.identity { padding-block: 15px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; gap: 18px; align-items: center; text-decoration: none; }
.brand img { width: 86px; height: 86px; object-fit: contain; border-radius: 50%; box-shadow: 0 0 0 5px var(--cream); }
.brand-copy { display: grid; line-height: 1.2; gap: 4px; }
.brand-copy small { color: var(--gold); font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brand-copy strong, h1, h2 { font-family: "Playfair Display", Georgia, serif; }
.brand-copy strong { color: var(--navy); font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.05; text-transform: uppercase; }
.brand-copy span { color: var(--muted); font-size: .82rem; }
.established-badge { margin-left: auto; min-width: 105px; padding: 10px 14px; text-align: center; color: white; background: linear-gradient(135deg, var(--navy), var(--blue)); border-radius: 14px; box-shadow: var(--shadow); }
.established-badge span { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.established-badge strong { display: block; color: var(--gold); font: 800 1.55rem/1 "Playfair Display", Georgia, serif; }
.main-nav { background: var(--navy); color: white; position: sticky; top: 0; box-shadow: 0 4px 14px rgba(7, 26, 56, .17); }
.nav-inner { min-height: 58px; display: flex; align-items: center; }
.nav-links { display: flex; align-items: stretch; align-self: stretch; }
.nav-links a { display: flex; align-items: center; padding: 0 17px; text-decoration: none; font-size: .91rem; font-weight: 600; border-bottom: 3px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: #ffe2a2; border-bottom-color: var(--gold); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; text-decoration: none; font-weight: 700; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.menu-toggle { display: none; color: white; background: transparent; border: 0; padding: 8px 0; }
.nav-backdrop { display: none; }

#app { min-height: 60vh; }
.page-enter { animation: page-in .35s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.from-left { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.visible { opacity: 1; transform: none; }
.section { padding-block: clamp(58px, 8vw, 96px); }
.section-soft { background: #f4f7fb; }
.section-cream { background: var(--cream); }
.eyebrow { display: block; color: var(--gold); text-transform: uppercase; font-size: .78rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 8px; }
.section-heading { max-width: 690px; margin-bottom: 34px; }
.section-heading.center { text-align: center; margin-inline: auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: .98; letter-spacing: -.035em; margin-bottom: 20px; }
h2 { color: var(--navy); font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.1; letter-spacing: -.025em; margin-bottom: 14px; }
h3 { line-height: 1.25; color: var(--navy); }
.lead { color: var(--muted); font-size: clamp(1rem, 2vw, 1.17rem); }
.button.primary { color: white; background: var(--navy); }
.button.secondary { color: var(--navy); background: white; box-shadow: inset 0 0 0 1px var(--line); }
.button.gold { color: var(--navy-dark); background: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero { position: relative; min-height: 620px; display: grid; place-items: center; overflow: hidden; color: white; background: var(--navy-dark); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,56,.96) 0%, rgba(7,26,56,.78) 48%, rgba(7,26,56,.25) 100%), url("../images/campus.jpg") center/cover; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; right: -100px; bottom: -300px; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.02); }
.hero-content { position: relative; z-index: 2; padding-block: 80px; }
.hero-content > * { animation: hero-rise .7s ease both; }
.hero-content > :nth-child(2) { animation-delay: .08s; }
.hero-content > :nth-child(3) { animation-delay: .16s; }
.hero-content > :nth-child(4) { animation-delay: .24s; }
.hero-content > :nth-child(5) { animation-delay: .32s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } }
.hero h1 { max-width: 800px; color: white; }
.hero .lead { max-width: 660px; color: #dbe6f6; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-tags span { padding: 7px 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.notice-strip { color: white; background: var(--blue); }
.notice-inner { min-height: 52px; display: flex; gap: 16px; align-items: center; overflow: hidden; }
.notice-label { color: var(--navy-dark); background: var(--gold); padding: 5px 11px; border-radius: 999px; font-size: .72rem; font-weight: 800; text-transform: uppercase; flex: none; }
.notice-track { white-space: nowrap; animation: notice 22s linear infinite; }
@keyframes notice { to { transform: translateX(-60%); } }

.stats-grid, .cards-grid, .program-grid, .faculty-grid, .resource-grid { display: grid; gap: 22px; }
.stats-grid { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.stat strong { display: block; color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-size: 2.3rem; line-height: 1; }
.stat span { color: var(--muted); font-size: .88rem; }
.cards-grid { grid-template-columns: repeat(3, 1fr); }
.card { background: white; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(16,42,86,.05); }
.card:hover { border-color: #b6c5d9; box-shadow: var(--shadow); transform: translateY(-4px); transition: .25s ease; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 14px; font-weight: 800; margin-bottom: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 78px); align-items: center; }
.media-frame { position: relative; }
.media-frame img { width: 100%; min-height: 380px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.media-frame::after { content: "ESTD. 2008"; position: absolute; right: -12px; bottom: -18px; padding: 14px 18px; color: var(--navy); background: var(--gold); border-radius: 13px; font-weight: 800; }
.check-list { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; }
.check-list li::before { content: "✓"; width: 24px; height: 24px; display: grid; place-items: center; flex: none; border-radius: 50%; color: white; background: var(--success); font-size: .75rem; font-weight: 800; }
.gallery { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 220px 220px; gap: 16px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 30px 18px 14px; color: white; background: linear-gradient(transparent, rgba(7,26,56,.9)); font-weight: 700; }
.gallery figure { cursor: zoom-in; }
.home-info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.notice-board, .download-panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; color: white; background: var(--navy); }
.panel-head h3 { margin: 0; color: white; }
.panel-head a { color: #ffe2a2; font-size: .78rem; font-weight: 700; text-decoration: none; }
.notice-list, .download-list { margin: 0; padding: 0; list-style: none; }
.notice-list li, .download-list li { padding: 17px 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); }
.notice-list li:last-child, .download-list li:last-child { border-bottom: 0; }
.notice-date { width: 48px; padding: 5px; text-align: center; color: white; background: var(--blue); border-radius: 8px; font-size: .68rem; font-weight: 800; line-height: 1.25; }
.notice-list strong, .download-list strong { display: block; color: var(--navy); font-size: .86rem; }
.notice-list small, .download-list small { color: var(--muted); }
.new-tag { color: white; background: #c84a46; padding: 3px 7px; border-radius: 999px; font-size: .58rem; font-weight: 800; }
.download-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--navy); background: var(--cream); border-radius: 10px; font-weight: 800; }
.download-action { border: 0; color: var(--blue); background: transparent; font-weight: 800; }
.student-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.student-service { padding: 20px; text-decoration: none; background: white; border: 1px solid var(--line); border-radius: 14px; transition: .25s; }
.student-service:hover { color: white; background: var(--navy); transform: translateY(-4px); }
.student-service strong { display: block; color: var(--navy); }
.student-service:hover strong, .student-service:hover p { color: white; }
.student-service p { margin: 5px 0 0; color: var(--muted); font-size: .78rem; }

.page-hero { color: white; padding-block: 70px; background: linear-gradient(135deg, var(--navy-dark), var(--navy) 65%, var(--blue)); }
.page-hero h1 { color: white; max-width: 800px; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero p { max-width: 700px; color: #dbe6f6; font-size: 1.08rem; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -38px; position: relative; z-index: 4; }
.quick-link { min-height: 110px; padding: 20px; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); text-decoration: none; transition: .25s ease; }
.quick-link:hover { color: white; background: var(--navy); transform: translateY(-5px); }
.quick-link b { display: block; margin-bottom: 4px; }
.quick-link span { font-size: .8rem; color: var(--muted); }
.quick-link:hover span { color: #dbe6f6; }
.leadership-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.leader-card { display: grid; grid-template-columns: 150px 1fr; padding: 0; overflow: hidden; }
.leader-portrait { min-height: 100%; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--navy), var(--blue)); font: 800 3rem Georgia, serif; position: relative; isolation: isolate; }
.leader-portrait::before { content: ""; position: absolute; inset: 18px; z-index: -1; border: 1px solid rgba(255,255,255,.28); border-radius: 50% 50% 8px 8px; }
.leader-copy { padding: 28px; }
.leader-role { color: var(--gold); font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.signature { display: block; color: var(--navy); font: italic 700 1.05rem Georgia, serif; margin-top: 16px; }
.facility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facility-card { position: relative; overflow: hidden; min-height: 245px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; color: white; border-radius: var(--radius); background: linear-gradient(180deg, transparent 20%, rgba(7,26,56,.96)), url("../images/campus.jpg") center/cover; transition: transform .3s ease; }
.facility-card:hover { transform: translateY(-6px); }
.facility-card:nth-child(2) { background-image: linear-gradient(180deg, transparent 20%, rgba(7,26,56,.96)), url("../images/event.jpg"); }
.facility-card:nth-child(3) { background-image: linear-gradient(180deg, transparent 20%, rgba(7,26,56,.96)), url("../images/placements.jpg"); }
.facility-card h3 { color: white; margin-bottom: 5px; }
.facility-card p { margin: 0; font-size: .85rem; color: #dbe6f6; }
.testimonial-shell { max-width: 800px; margin-inline: auto; text-align: center; }
.testimonial { display: none; padding: 36px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.testimonial.active { display: block; animation: testimonial-in .4s ease both; }
@keyframes testimonial-in { from { opacity: 0; transform: translateX(15px); } }
.testimonial blockquote { margin: 0 0 18px; color: var(--navy); font: 700 clamp(1.2rem, 3vw, 1.7rem)/1.5 Georgia, serif; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.slider-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #bbc7d7; transition: .2s; }
.slider-dot.active { width: 28px; border-radius: 99px; background: var(--gold); }
.faq { max-width: 850px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-question { width: 100%; padding: 18px 20px; display: flex; justify-content: space-between; gap: 18px; text-align: left; color: var(--navy); background: transparent; border: 0; font-weight: 700; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-question span { transform: rotate(45deg); }
.program-grid { grid-template-columns: repeat(2, 1fr); }
.program-card { overflow: hidden; padding: 0; }
.program-top { padding: 30px; color: white; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.program-top h3 { color: white; font-size: 1.6rem; margin-bottom: 6px; }
.program-body { padding: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { padding: 5px 10px; border-radius: 999px; color: var(--blue); background: #edf3fb; font-size: .76rem; font-weight: 700; }
.course-summary { position: relative; z-index: 3; background: var(--navy); color: white; }
.course-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.course-summary-grid > div { min-height: 130px; padding: 24px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,.14); }
.course-summary-grid > div:last-child { border-right: 0; }
.course-summary-grid span, .course-summary-grid small { color: #bfcde0; font-size: .75rem; }
.course-summary-grid strong { margin-block: 4px; font-size: 1.05rem; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(30px, 6vw, 70px); align-items: start; }
.course-main { display: grid; gap: 58px; }
.course-sidebar { position: relative; }
.sticky-card { position: sticky; top: 78px; }
.course-facts { margin: 22px 0; }
.course-facts div { display: flex; justify-content: space-between; gap: 15px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.course-facts dt { color: var(--muted); font-size: .82rem; }
.course-facts dd { margin: 0; color: var(--navy); font-weight: 700; text-align: right; }
.fine-print { padding: 12px; border-radius: 10px; color: var(--muted); background: #f4f7fb; font-size: .76rem; }
.subject-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.subject-grid article { min-height: 74px; padding: 15px; display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: white; }
.subject-grid span { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border-radius: 9px; color: var(--navy-dark); background: var(--gold); font-size: .72rem; font-weight: 800; }
.subject-grid strong { color: var(--navy); font-size: .88rem; }
.timeline { max-width: 800px; margin-inline: auto; display: grid; gap: 18px; counter-reset: step; }
.timeline-item { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.timeline-item::before { counter-increment: step; content: counter(step); width: 50px; height: 50px; display: grid; place-items: center; color: var(--navy-dark); background: var(--gold); border-radius: 50%; font-weight: 800; }
.faculty-grid { grid-template-columns: repeat(3, 1fr); }
.faculty-card { text-align: center; }
.avatar { width: 86px; height: 86px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--blue), var(--navy)); font: 800 1.35rem Georgia, serif; box-shadow: 0 0 0 7px #edf3fb; }
.faculty-card p { color: var(--muted); margin-bottom: 5px; font-size: .9rem; }
.resource-grid { grid-template-columns: repeat(3, 1fr); }
.resource-card a { color: var(--blue); font-weight: 700; text-decoration: none; }
.resource-card .card-icon { background: var(--gold); color: var(--navy-dark); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { padding: 18px; border-radius: 14px; background: #f4f7fb; }
.contact-item strong { display: block; color: var(--navy); }
.contact-item a { text-decoration: none; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: .83rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; color: var(--ink); background: white; border: 1px solid #cbd5e2; border-radius: 10px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,89,168,.12); }
.map-link { min-height: 230px; display: grid; place-items: center; padding: 30px; margin-top: 22px; border-radius: var(--radius); text-align: center; color: white; text-decoration: none; background: linear-gradient(rgba(7,26,56,.82), rgba(7,26,56,.82)), url("../images/campus.jpg") center/cover; }

.site-footer { padding-top: 62px; color: #cbd8e9; background: var(--navy-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.site-footer h2, .site-footer h3 { color: white; margin-bottom: 12px; }
.site-footer h2 { font-size: 1.6rem; }
.site-footer h3 { font-size: 1rem; }
.site-footer a, .site-footer span { display: block; color: #cbd8e9; text-decoration: none; margin-bottom: 7px; }
.footer-address { color: white; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 42px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.footer-bottom span { margin: 0; }
.back-top { position: fixed; right: 18px; bottom: 18px; z-index: 15; width: 44px; height: 44px; border: 0; border-radius: 50%; color: white; background: var(--blue); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s; }
.back-top.show { opacity: 1; pointer-events: auto; }
.floating-enquiry { position: fixed; right: 18px; bottom: 76px; z-index: 14; display: flex; align-items: center; gap: 9px; color: var(--navy-dark); background: var(--gold); padding: 8px 8px 8px 15px; border-radius: 999px; box-shadow: var(--shadow); text-decoration: none; font-size: .8rem; font-weight: 800; }
.floating-enquiry b { width: 32px; height: 32px; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 50%; }
.lightbox { width: min(920px, calc(100% - 30px)); padding: 0; overflow: visible; border: 0; border-radius: 20px; background: var(--navy-dark); box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox::backdrop { background: rgba(7,26,56,.82); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 20px 20px 0 0; }
.lightbox p { margin: 0; padding: 14px 20px; color: white; }
.lightbox-close { position: absolute; right: -10px; top: -10px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: white; background: var(--gold); font-size: 1.4rem; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 10px; color: white; background: var(--success); opacity: 0; pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .brand img { width: 70px; height: 70px; }
  .brand-copy span:last-child { display: none; }
  .established-badge { min-width: 80px; padding: 8px; }
  .established-badge strong { font-size: 1.25rem; }
  .menu-toggle { margin-left: auto; display: grid; grid-template-columns: 24px auto; align-items: center; gap: 8px; }
  .menu-toggle span { grid-column: 1; width: 24px; height: 2px; background: white; transition: .2s; }
  .menu-toggle span:nth-child(2) { margin-block: -5px; }
  .menu-toggle b { margin-left: 5px; font-size: .82rem; }
  .nav-links { position: fixed; inset: 0 auto 0 0; width: min(86vw, 360px); z-index: 45; padding: 78px 20px 30px; display: grid; align-content: start; gap: 4px; overflow-y: auto; color: var(--navy); background: white; box-shadow: 20px 0 50px rgba(7,26,56,.2); transform: translateX(-105%); transition: .28s ease; }
  .nav-links::before { content: "Explore Vishvabharti"; position: absolute; top: 24px; left: 20px; color: var(--navy); font: 800 1.1rem "Playfair Display", Georgia, serif; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { min-height: 50px; padding-inline: 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 8px; font-size: .95rem; }
  .nav-links a:hover, .nav-links a.active { color: var(--blue); border-bottom-color: var(--gold); }
  .menu-toggle { position: relative; z-index: 50; }
  body.menu-open .menu-toggle { position: fixed; top: 18px; right: 18px; width: 42px; height: 42px; display: block; color: var(--navy); background: white; border-radius: 50%; box-shadow: var(--shadow); }
  body.menu-open .menu-toggle span { position: absolute; left: 10px; top: 20px; background: var(--navy); }
  body.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }
  body.menu-open .menu-toggle b { display: none; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 40; border: 0; background: rgba(7,26,56,.72); backdrop-filter: blur(3px); }
  body.menu-open .nav-backdrop { display: block; }
  .stats-grid, .cards-grid, .faculty-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid, .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .leadership-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .course-layout { grid-template-columns: 1fr; }
  .course-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .course-summary-grid > div:nth-child(2) { border-right: 0; }
  .sticky-card { position: static; }
  .hero { min-height: 570px; }
  .home-info-grid { grid-template-columns: 1fr; }
  .student-services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .utility-inner { min-height: 30px; justify-content: center; }
  .utility-inner span:first-child { display: none; }
  .identity { padding-block: 10px; }
  .brand { gap: 11px; }
  .brand img { width: 55px; height: 55px; box-shadow: 0 0 0 3px var(--cream); }
  .brand-copy small { font-size: .58rem; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy span { font-size: .58rem; }
  .established-badge { display: none; }
  .nav-inner { min-height: 52px; }
  .hero { min-height: 520px; }
  .hero-content { padding-block: 60px; }
  .hero h1 { font-size: 2.65rem; }
  .section { padding-block: 52px; }
  .stats-grid, .cards-grid, .program-grid, .faculty-grid, .resource-grid, .form-grid { grid-template-columns: 1fr; }
  .quick-grid, .facility-grid { grid-template-columns: 1fr; }
  .student-services { grid-template-columns: 1fr; }
  .notice-list li, .download-list li { grid-template-columns: auto 1fr; }
  .notice-list li > :last-child, .download-list li > :last-child { grid-column: 2; justify-self: start; }
  .quick-grid { margin-top: -22px; }
  .quick-link { min-height: 88px; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-portrait { min-height: 180px; }
  .course-summary-grid, .subject-grid { grid-template-columns: 1fr; }
  .course-summary-grid > div { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .floating-enquiry span { display: none; }
  .floating-enquiry { padding: 7px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 210px); }
  .gallery figure:first-child { grid-row: auto; }
  .media-frame img { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { display: block; }
  .timeline-item { grid-template-columns: 44px 1fr; padding: 18px; }
  .timeline-item::before { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
