/* ================================================================
   KITS COLLEGE FOR WOMEN, KODAD — Official Website Stylesheet
   Theme: Deep Academic Indigo · White · Elegant Gold
   ================================================================ */

:root {
  /* Brand palette */
  --navy-900: #081A45;
  --navy-800: #0C2461;
  --navy-700: #12306B;
  --royal:    #14358F;
  --indigo:   #1E3A8A;
  --blue:     #2B4FA8;
  --blue-500: #3B66C9;
  --sky:      #8BB0F0;
  --mist:     #E8EEFB;

  --gold:     #C9A227;
  --gold-2:   #E2BE52;
  --gold-deep:#96741B;

  --ink:      #1F2A44;   /* body text on light */
  --slate:    #56638A;   /* muted text on light */
  --line:     #E3E9F4;   /* borders */
  --white:    #FFFFFF;
  --cream:    #F5F8FD;   /* soft section bg */

  --grad-primary: linear-gradient(135deg, #1E3A8A 0%, #2B4FA8 55%, #3B66C9 100%);
  --grad-deep:    linear-gradient(160deg, #081A45 0%, #0C2461 45%, #14358F 100%);
  --grad-gold:    linear-gradient(120deg, #E2BE52 0%, #C9A227 55%, #9A7814 100%);

  --shadow-sm: 0 4px 14px rgba(12, 36, 97, 0.08);
  --shadow-md: 0 14px 38px -12px rgba(12, 36, 97, 0.18);
  --shadow-lg: 0 30px 70px -24px rgba(12, 36, 97, 0.3);
  --radius: 18px;

  --font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-serif:'Lora', Georgia, serif;

  --ease: cubic-bezier(0.22, 0.65, 0.25, 1);
  --header-h: 78px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--gold); color: var(--navy-900); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #EAF0FB; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--royal), var(--blue)); border-radius: 20px; border: 2px solid #EAF0FB; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; top: -70px; left: 16px; z-index: 5000;
  background: var(--grad-primary); color: #fff; padding: 12px 20px;
  border-radius: 10px; font-weight: 600; transition: top .3s;
}
.skip-link:focus { top: 14px; }

/* ---------- LAYOUT UTILITIES ---------- */
.container { width: min(1260px, 92%); margin-inline: auto; }
.section { padding: clamp(70px, 8vw, 110px) 0; position: relative; }
.section-alt { background: var(--cream); }
.section-deep {
  background: var(--grad-deep); color: #fff;
  background-attachment: fixed;
}
.section-deep * { position: relative; z-index: 1; }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 58px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.section-deep .eyebrow { color: var(--gold-2); }

.sec-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(28px, 4.4vw, 46px); line-height: 1.16;
  letter-spacing: -0.8px; color: var(--navy-800); margin-bottom: 18px;
}
.sec-title .serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--gold-deep); }
.section-deep .sec-title { color: #fff; }
.section-deep .sec-title .serif { color: var(--gold-2); }
.sec-sub { color: var(--slate); font-size: 17px; line-height: 1.85; }
.section-deep .sec-sub { color: #C9D6F4; }
.section-head.center .sec-sub { margin-inline: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 15px 32px; border-radius: 12px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .4px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 12px 30px -10px rgba(20, 53, 143, .55); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(20, 53, 143, .65); }

.btn-gold { background: var(--grad-gold); color: var(--navy-900); box-shadow: 0 12px 30px -10px rgba(201, 162, 39, .6); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 42px -12px rgba(201, 162, 39, .7); }

.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.btn-outline:hover { background: #fff; color: var(--navy-800); transform: translateY(-3px); }

.btn-white { background: #fff; color: var(--navy-800); box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-line { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-line:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

.btn-sm { padding: 11px 22px; font-size: 13.5px; }
.btn-lg { padding: 17px 40px; font-size: 16px; }

/* ---------- GENERIC CARDS & MISC ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .6px;
}
.badge-gold { background: rgba(201,162,39,.12); color: var(--gold-deep); border: 1px solid rgba(201,162,39,.35); }
.badge-blue { background: rgba(43,79,168,.1); color: var(--royal); border: 1px solid rgba(43,79,168,.3); }

.tilt { transform: perspective(1100px) translate3d(0,var(--ty,0px),0) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: transform .28s var(--ease), box-shadow .35s, border-color .35s; }

/* ---------- TOP BAR ---------- */
.topbar { background: var(--navy-900); color: #C9D6F4; font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: #C9D6F4; transition: color .3s; }
.topbar a:hover { color: var(--gold-2); }
.topbar svg { width: 15px; height: 15px; color: var(--gold-2); }
.topbar .tb-loc { display: inline-flex; align-items: center; gap: 8px; }
.topbar-right { gap: 0; }
.topbar-right a { padding: 0 14px; border-left: 1px solid rgba(255,255,255,.14); }
.topbar-right a:first-child { border-left: none; }
.search-open {
  background: none; border: none; color: #C9D6F4; width: 44px; height: 42px;
  display: grid; place-items: center; transition: color .3s;
}
.search-open:hover { color: var(--gold-2); }
.search-open svg { width: 18px; height: 18px; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); background: rgba(255,255,255,.97); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.scrolled .nav { height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 52px; height: 52px; transition: transform .45s var(--ease), width .4s var(--ease), height .4s var(--ease); }
a.brand:hover .logo-mark { transform: rotate(-4deg) scale(1.05); }
.site-header.scrolled .logo-mark { width: 46px; height: 46px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1.05; color: var(--navy-800); letter-spacing: .3px; transition: font-size .4s var(--ease); }
.site-header.scrolled .brand-name { font-size: 19.5px; }
.brand-name .brand-sub { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; }

.main-nav-menu { display: flex; align-items: center; gap: 0; }
.main-nav-menu > li { position: relative; }
.main-nav-menu > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 26px 11px; font-family: var(--font-head); font-size: 13px;
  font-weight: 600; letter-spacing: .5px; color: var(--ink);
  position: relative; transition: color .3s;
}
.main-nav-menu > li > a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 15px; height: 3px;
  border-radius: 4px; background: var(--grad-gold); transform: scaleX(0); transform-origin: center;
  transition: transform .42s var(--ease), box-shadow .42s var(--ease); box-shadow: 0 0 0 rgba(201,162,39,0);
}
.main-nav-menu > li > a:hover, .main-nav-menu > li.active > a { color: var(--royal); }
.main-nav-menu > li > a:hover::after, .main-nav-menu > li.active > a::after { transform: scaleX(1); }
.main-nav-menu > li.active > a::after { box-shadow: 0 4px 12px rgba(201,162,39,.5); animation: navActiveIn .7s var(--ease) both; }
.main-nav-menu .caret { width: 9px; height: 9px; transition: transform .3s; }

.dropdown {
  position: absolute; top: 100%; left: 8px; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  z-index: 1300;
}
.main-nav-menu > li:hover .dropdown, .main-nav-menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(4px); }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 10px;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 500; color: var(--ink); transition: background .25s, color .25s, padding-left .25s;
}
.dropdown a::before { content: "›"; color: var(--gold-deep); font-weight: 800; transition: transform .25s; }
.dropdown a:hover { background: var(--cream); color: var(--royal); padding-left: 22px; }

.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--cream); flex-direction: column;
  justify-content: center; gap: 5.5px; align-items: center;
}
.nav-toggle span { display: block; height: 2.5px; width: 22px; background: var(--navy-800); border-radius: 4px; transition: transform .35s var(--ease), opacity .3s; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- MOBILE DRAWER ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 1390; background: rgba(8,26,69,.5);
  backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
body.menu-open .drawer-backdrop { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 1400; width: min(400px, 90%);
  background: var(--navy-900); color: #fff; transform: translateX(100%);
  transition: transform .5s var(--ease); overflow-y: auto; padding: 24px 26px 60px;
  display: flex; flex-direction: column;
}
body.menu-open .mobile-drawer { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font-size: 22px; transition: background .3s; }
.drawer-close:hover { background: var(--gold); color: var(--navy-900); }
.m-nav { flex: 1; }
.m-nav > li { border-bottom: 1px solid rgba(255,255,255,.09); }
.m-nav > li > a {
  display: flex; align-items: center; justify-content: space-between; padding: 15px 4px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .4px; color: #EDF2FF; transition: color .3s, padding-left .3s;
}
.m-nav > li > a:hover { color: var(--gold-2); padding-left: 8px; }
.m-nav .m-sub {
  max-height: 0; overflow: hidden; transition: max-height .45s var(--ease);
}
.m-nav .m-sub a { display: block; padding: 10px 4px 10px 22px; color: #AFC2EC; font-size: 14px; border-left: 2px solid rgba(201,162,39,.4); margin-left: 14px; transition: color .3s; }
.m-nav .m-sub a:hover { color: var(--gold-2); }
.m-nav li.open .m-sub { max-height: 420px; }
.m-nav .m-chevron { width: 16px; height: 16px; transition: transform .35s; }
.m-nav li.open .m-chevron { transform: rotate(180deg); }
.m-nav li.open > a { color: var(--gold-2); }
.drawer-cta { margin-top: 26px; display: grid; gap: 12px; }
.drawer-cta .btn { width: 100%; }

/* ---------- PAGE LOADER ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 6000; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: opacity .6s ease, visibility .6s ease;
}
.page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-crest { width: 90px; height: 90px; animation: crestPulse 1.6s ease-in-out infinite; }
.loader-bar { width: 180px; height: 4px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 45%; border-radius: 6px; background: var(--grad-primary); animation: loadSlide 1.1s ease-in-out infinite; }
.loader-text { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); letter-spacing: 3px; font-size: 13px; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- SCROLL PROGRESS ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; z-index: 3200; width: 0%; background: linear-gradient(90deg, var(--royal), var(--blue), var(--gold)); box-shadow: 0 0 10px rgba(201,162,39,.7); }

/* ---------- PAGE HERO / BREADCRUMBS ---------- */
.page-hero {
  position: relative; padding: clamp(110px, 14vw, 170px) 0 clamp(70px, 8vw, 110px);
  background: var(--grad-deep); color: #fff; overflow: hidden; text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(40% 55% at 15% 15%, rgba(139,176,240,.22), transparent 60%),
    radial-gradient(40% 55% at 88% 85%, rgba(201,162,39,.18), transparent 60%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: auto, auto, 46px 46px, 46px 46px;
}
.page-hero .container { position: relative; z-index: 2; }
.ph-badge { margin-bottom: 20px; }
.ph-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 5vw, 52px); letter-spacing: -1px; line-height: 1.15; }
.ph-title .serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--gold-2); }
.breadcrumbs { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; color: #AFC2EC; flex-wrap: wrap; }
.breadcrumbs a { color: #AFC2EC; transition: color .3s; }
.breadcrumbs a:hover { color: var(--gold-2); }
.breadcrumbs .sep { color: var(--gold-2); }
.breadcrumbs .current { color: #fff; font-weight: 600; }

/* ---------- HERO SLIDER (HOME) ---------- */
.hero-slider { position: relative; height: min(92vh, 820px); min-height: 560px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hs-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); }
.hero-slide.active .hs-bg { animation: kenburns 16s ease-out forwards; }
.hs-overlay { position: absolute; inset: 0; background: linear-gradient(92deg, rgba(5,15,43,.9) 0%, rgba(8,26,69,.7) 46%, rgba(8,26,69,.28) 100%); }
.hs-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 760px; }
.hs-badge { margin-bottom: 22px; }
.hs-title { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: clamp(34px, 5.4vw, 62px); line-height: 1.12; letter-spacing: -1.5px; margin-bottom: 22px; }
.hs-title .gold-line { color: var(--gold-2); }
.hs-title .serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; }
.hs-sub { color: #D6E1FA; font-size: 18px; max-width: 620px; margin-bottom: 36px; line-height: 1.8; }
.hs-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hs-fade { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity .9s var(--ease) .3s, transform .9s var(--ease) .3s, filter .9s var(--ease) .3s; }
.hero-slide.active .hs-fade { opacity: 1; transform: none; filter: blur(0); }
.hs-fade.d1 { transition-delay: .45s; } .hs-fade.d2 { transition-delay: .6s; } .hs-fade.d3 { transition-delay: .75s; }

.hs-shape { position: absolute; z-index: 2; pointer-events: none; }
.hs-ring { position: absolute; right: 6%; bottom: 16%; width: 300px; height: 300px; border: 1.5px dashed rgba(201,162,39,.5); border-radius: 50%; animation: spin 50s linear infinite; }
.hs-diamond { position: absolute; top: 20%; right: 10%; width: 30px; height: 30px; border: 2px solid rgba(139,176,240,.9); transform: rotate(45deg); animation: floatY 6s ease-in-out infinite; }
.hs-dots { position: absolute; top: 26%; left: 6%; width: 90px; height: 90px; background-image: radial-gradient(rgba(226,190,82,.8) 1.6px, transparent 1.6px); background-size: 16px 16px; animation: floatY 9s ease-in-out infinite reverse; }
.hs-specks { position: absolute; inset: 0; z-index: 1; background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px); background-size: 130px 130px; background-position: 0 0; animation: specks 26s linear infinite; }

.hs-arrows { position: absolute; right: 40px; bottom: 44px; z-index: 5; display: flex; gap: 10px; }
.hs-arrow { width: 50px; height: 50px; border-radius: 12px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px); transition: background .35s var(--ease), color .35s, transform .35s var(--ease), border-color .35s; }
.hs-arrow:hover, .hs-arrow:focus-visible { background: var(--gold); border-color: var(--gold-2); color: var(--navy-900); transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(201,162,39,.9); }
.hs-arrow:active { transform: translateY(-1px) scale(.96); }
.hs-arrow svg { width: 20px; height: 20px; }
.hs-dots-nav { position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hs-dot { width: 12px; height: 12px; border-radius: 999px; border: none; background: rgba(255,255,255,.4); transition: all .35s var(--ease); }
.hs-dot:hover { background: rgba(255,255,255,.75); }
.hs-dot.active { width: 34px; background: var(--gold-2); box-shadow: 0 0 14px rgba(226,190,82,.75); }

/* ---------- INTRODUCTION / ABOUT SPLIT ---------- */
.about-split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(40px, 6vw, 76px); align-items: center; }
.about-media { position: relative; }
.about-media .am-main { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media .am-main img { width: 100%; height: 480px; object-fit: cover; transition: transform .8s var(--ease); }
.about-media:hover .am-main img { transform: scale(1.05); }
.about-media::before { content: ""; position: absolute; inset: 26px -22px -22px 26px; border: 2px solid var(--gold); border-radius: 26px; z-index: -1; opacity: .7; }
.am-float {
  position: absolute; display: flex; align-items: center; gap: 14px; padding: 16px 22px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 3;
  animation: floatY 6s ease-in-out infinite;
}
.am-float .af-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-primary); color: #fff; }
.am-float .af-ico svg { width: 22px; height: 22px; }
.am-float strong { font-family: var(--font-head); font-size: 22px; color: var(--navy-800); line-height: 1.1; display: block; }
.am-float span { font-size: 12.5px; color: var(--slate); }
.am-float.f1 { top: -24px; right: -8px; }
.am-float.f2 { bottom: -24px; left: -10px; }

.about-text { }
.about-text p { color: var(--slate); margin-bottom: 18px; font-size: 16.5px; }
.about-text .lead { font-size: 18px; color: var(--ink); font-weight: 500; }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 26px 0 34px; }
.about-feats li { display: flex; align-items: center; gap: 11px; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.about-feats li svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; }
.about-note { display: flex; align-items: center; gap: 18px; padding: 18px 24px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); margin-bottom: 30px; }
.about-note .an-year { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--navy-800); line-height: 1; }
.about-note .an-year small { display: block; font-size: 13px; color: var(--gold-deep); font-weight: 700; letter-spacing: 1px; }
.about-note p { color: var(--slate); font-size: 14px; margin: 0; }

/* ---------- STATS BAND ---------- */
.stat-band { overflow: hidden; position: relative; }
.stat-band-inner {
  position: relative; border-radius: 26px; overflow: hidden;
  background: var(--grad-deep); padding: clamp(44px, 6vw, 70px) clamp(20px, 4vw, 60px);
  box-shadow: var(--shadow-lg);
}
.stat-band-inner::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 24px 24px; }
.stat-grid { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px 18px; }
.stat-item { text-align: center; padding: 8px; }
.stat-item .st-ico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(226,190,82,.45); color: var(--gold-2); }
.stat-item .st-ico svg { width: 23px; height: 23px; }
.stat-item .st-num { font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1; display: block; background: linear-gradient(120deg, #fff, #CFE0FF 55%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat-item .st-label { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #B9C8EE; }
.hint-note { display: block; text-align: center; font-size: 12px; color: rgba(255,255,255,.45); margin-top: 20px; }

/* ---------- ICON / WHY CARDS ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.icon-card {
  position: relative; padding: 34px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.icon-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.icon-card:hover { --ty: -8px; box-shadow: 0 0 0 1px rgba(201,162,39,.45), var(--shadow-md); border-color: rgba(201,162,39,.55); }
.icon-card:hover::after { transform: scaleX(1); }
.ic-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--mist); color: var(--royal); margin-bottom: 22px;
  transition: background .4s, color .4s, transform .4s var(--ease), box-shadow .4s;
}
.ic-icon svg { width: 27px; height: 27px; }
.icon-card:hover .ic-icon { background: var(--grad-primary); color: #fff; transform: rotate(-5deg) scale(1.07); box-shadow: 0 14px 28px -10px rgba(20,53,143,.5); }
.icon-card h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.icon-card p { color: var(--slate); font-size: 14.5px; }

/* ---------- ACADEMIC / PROGRAM CARDS ---------- */
.cat-block { margin-bottom: 56px; }
.cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.cat-head .cat-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-primary); color: #fff; box-shadow: 0 10px 24px -8px rgba(20,53,143,.5); }
.cat-head .cat-ico svg { width: 24px; height: 24px; }
.cat-head h3 { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--navy-800); }
.cat-head p { color: var(--slate); font-size: 14px; }
.program-card {
  padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.program-card:hover { --ty: -8px; box-shadow: 0 0 0 1px rgba(201,162,39,.4), var(--shadow-md); border-color: rgba(201,162,39,.5); }
.pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pc-degree { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold-deep); text-transform: uppercase; }
.pc-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--mist); color: var(--royal); transition: background .4s, color .4s, transform .4s var(--ease); }
.pc-ico svg { width: 21px; height: 21px; }
.program-card:hover .pc-ico { background: var(--grad-gold); color: var(--navy-900); transform: rotate(-6deg); }
.program-card h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--navy-800); }
.pc-meta { display: grid; gap: 6px; margin: 12px 0 16px; }
.pc-meta li { display: flex; gap: 10px; font-size: 13.5px; color: var(--slate); align-items: baseline; }
.pc-meta li strong { color: var(--ink); font-weight: 600; min-width: 74px; }
.pc-meta li svg { width: 15px; height: 15px; color: var(--blue); flex: none; transform: translateY(2px); }
.pc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--royal); transition: gap .3s, color .3s; }
.pc-link svg { width: 15px; height: 15px; }
.pc-link:hover { gap: 13px; color: var(--gold-deep); }

/* ---------- DEPARTMENT CARDS ---------- */
.dept-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.dept-card:hover { --ty: -10px; box-shadow: 0 0 0 1px rgba(201,162,39,.4), var(--shadow-lg); border-color: rgba(201,162,39,.55); }
.dc-media { position: relative; height: 210px; overflow: hidden; }
.dc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.dept-card:hover .dc-media img { transform: scale(1.09); }
.dc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,26,69,.55)); }
.dc-cat { position: absolute; left: 18px; bottom: 14px; z-index: 2; }
.dc-body { padding: 22px 24px 26px; }
.dc-body h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--navy-800); margin-bottom: 8px; }
.dc-body p { color: var(--slate); font-size: 14px; margin-bottom: 16px; }
.dc-link { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--royal); display: inline-flex; align-items: center; gap: 8px; transition: gap .3s, color .3s; }
.dc-link svg { width: 15px; height: 15px; }
.dc-link:hover { gap: 12px; color: var(--gold-deep); }

/* ---------- FACILITY CARDS ---------- */
.facility-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 300px; box-shadow: var(--shadow-md); }
.facility-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.facility-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,69,0) 30%, rgba(8,26,69,.82)); transition: background .4s; }
.facility-card:hover img { transform: scale(1.1); }
.fc-body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 3; color: #fff; }
.fc-body .fc-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); margin-bottom: 12px; color: var(--gold-2); }
.fc-body .fc-ico svg { width: 20px; height: 20px; }
.fc-body h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; }
.fc-body p { font-size: 13.5px; color: #D6E1FA; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.facility-card:hover .fc-body p { opacity: 1; transform: none; }

/* ---------- CAMPUS LIFE ---------- */
.club-card { text-align: center; padding: 34px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.club-card:hover { --ty: -8px; box-shadow: 0 0 0 1px rgba(201,162,39,.45), var(--shadow-md); border-color: rgba(201,162,39,.55); }
.club-card .cl-ico { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--royal); transition: background .4s, color .4s, transform .4s; }
.club-card .cl-ico svg { width: 28px; height: 28px; }
.club-card:hover .cl-ico { background: var(--grad-gold); color: var(--navy-900); transform: rotate(-8deg) scale(1.06); }
.club-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--navy-800); margin-bottom: 8px; }
.club-card p { color: var(--slate); font-size: 13.5px; }

/* ---------- MASONRY GALLERY ---------- */
.masonry { columns: 3; column-gap: 20px; }
.masonry .m-item { break-inside: avoid; margin-bottom: 20px; position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.gallery-item, .m-item img { width: 100%; display: block; }
.m-item img { transition: transform .7s var(--ease); }
.m-item:hover img { transform: scale(1.07); }
.m-item .mi-cat { position: absolute; left: 14px; top: 14px; z-index: 2; }
.m-item .mi-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(8,26,69,.85)); color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.m-item:hover .mi-cap { opacity: 1; transform: none; }
.mg-item { position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; border: 1px solid var(--line); break-inside: avoid; margin-bottom: 20px; }
.mg-item .mi-cat { position: absolute; left: 14px; top: 14px; z-index: 2; }
.mg-item .mi-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(8,26,69,.85)); color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.mg-item:hover .mi-cap { opacity: 1; transform: none; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 4000; background: rgba(8,18,44,.94);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage { max-width: min(1000px, 94vw); max-height: 78vh; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.lb-stage img { max-width: 100%; max-height: 78vh; object-fit: contain; }
.lb-caption { color: #fff; margin-top: 18px; font-family: var(--font-head); font-size: 15px; text-align: center; }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 54px; height: 54px; border-radius: 14px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; font-size: 22px; transition: background .3s, transform .3s; backdrop-filter: blur(8px); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--navy-900); }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-family: var(--font-head); font-size: 13.5px; }

/* ---------- FILTER BAR ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.filter-btn2 {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--slate); font-family: var(--font-head); font-weight: 600; font-size: 13.5px; letter-spacing: .3px;
  transition: all .3s var(--ease);
}
.filter-btn2:hover { border-color: var(--blue); color: var(--royal); transform: translateY(-2px); }
.filter-btn2.active { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -8px rgba(20,53,143,.5); }
.g-filter-hide { display: none; }

/* ---------- NEWS CARDS ---------- */
.news-card {
  border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.news-card:hover { --ty: -8px; box-shadow: 0 0 0 1px rgba(201,162,39,.35), var(--shadow-md); border-color: rgba(201,162,39,.5); }
.nc-media { position: relative; height: 200px; overflow: hidden; }
.nc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-card:hover .nc-media img { transform: scale(1.08); }
.nc-date {
  position: absolute; top: 16px; left: 16px; text-align: center; z-index: 2;
  background: #fff; border-radius: 12px; padding: 8px 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.nc-date strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--navy-800); line-height: 1.1; }
.nc-date span { font-size: 11px; color: var(--gold-deep); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.nc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.nc-body .badge { align-self: flex-start; margin-bottom: 12px; }
.nc-body h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; line-height: 1.4; }
.nc-body p { color: var(--slate); font-size: 14px; margin-bottom: 16px; flex: 1; }
.nc-more { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--royal); display: inline-flex; align-items: center; gap: 8px; transition: gap .3s, color .3s; }
.nc-more svg { width: 15px; height: 15px; }
.nc-more:hover { gap: 12px; color: var(--gold-deep); }

/* ---------- ACHIEVEMENT CARDS ---------- */
.ach-card {
  position: relative; padding: 32px 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
}
.ach-card::before { content: ""; position: absolute; top: -40px; right: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,.16), transparent 70%); }
.ach-card .ac-medal { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: var(--navy-900); margin-bottom: 20px; box-shadow: 0 12px 26px -8px rgba(201,162,39,.6); }
.ach-card .ac-medal svg { width: 27px; height: 27px; }
.ach-card h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.ach-card p { color: var(--slate); font-size: 14.5px; }
.ach-card .ac-tag { position: absolute; top: 22px; right: 22px; }

/* ---------- TESTIMONIAL CAROUSEL ---------- */
.t-carousel { position: relative; }
.t-viewport { overflow: hidden; border-radius: 22px; }
.t-track { display: flex; transition: transform .6s var(--ease); }
.t-slide { min-width: 100%; padding: 6px; }
.testi-card2 {
  position: relative; padding: clamp(34px, 4vw, 54px); border-radius: 20px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); text-align: center;
}
.testi-card2::before { content: "“"; position: absolute; top: 6px; left: 28px; font-family: var(--font-serif); font-size: 110px; line-height: 1; color: rgba(201,162,39,.22); }
.tc-quote { font-size: clamp(17px, 2vw, 20px); line-height: 1.9; color: var(--ink); font-style: italic; max-width: 760px; margin: 0 auto 30px; }
.tc-person { display: inline-flex; align-items: center; gap: 16px; }
.tc-avatar { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 19px; color: #fff; background: var(--c, var(--grad-primary)); border: 3px solid #fff; box-shadow: var(--shadow-md); }
.tc-person strong { display: block; font-family: var(--font-head); font-size: 16.5px; color: var(--navy-800); }
.tc-person span { font-size: 13.5px; color: var(--gold-deep); font-weight: 600; }
.tc-type { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; color: var(--royal); text-transform: uppercase; }
.t-stars { display: inline-flex; gap: 4px; color: var(--gold); margin-bottom: 18px; }
.t-stars svg { width: 18px; height: 18px; }
.t-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.t-arrow { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--blue); background: #fff; color: var(--royal); display: grid; place-items: center; transition: background .3s, color .3s, transform .3s; }
.t-arrow:hover { background: var(--grad-primary); color: #fff; border-color: transparent; transform: translateY(-3px); }
.t-arrow svg { width: 20px; height: 20px; }
.t-dots { display: flex; gap: 9px; }
.t-dot { width: 10px; height: 10px; border-radius: 999px; border: none; background: #C9D4EE; transition: all .35s var(--ease); }
.t-dot.active { width: 30px; background: var(--gold); }
.sample-note { font-size: 12px; color: var(--slate); text-align: center; margin-top: 20px; opacity: .85; }

/* ---------- ADMISSION TIMELINE ---------- */
.admis-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.admis-timeline::before { content: ""; position: absolute; top: 46px; left: 6%; right: 6%; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); border-radius: 4px; }
.at-step { text-align: center; padding: 0 8px; }
.at-node { position: relative; width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--blue); box-shadow: 0 14px 30px -10px rgba(20,53,143,.35); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.at-node svg { width: 32px; height: 32px; color: var(--royal); transition: color .4s; }
.at-step:hover .at-node { transform: translateY(-7px); border-color: var(--gold); box-shadow: 0 20px 40px -12px rgba(201,162,39,.5); }
.at-step:hover .at-node svg { color: var(--gold-deep); }
.at-num { position: absolute; top: -8px; right: -10px; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-gold); color: var(--navy-900); font-family: var(--font-head); font-weight: 800; font-size: 14px; display: grid; place-items: center; border: 2px solid #fff; }
.at-step h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--navy-800); margin-bottom: 8px; }
.at-step p { color: var(--slate); font-size: 13.5px; max-width: 220px; margin-inline: auto; }

/* ---------- TABLES ---------- */
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
.table thead th { background: var(--grad-primary); color: #fff; text-align: left; padding: 15px 18px; font-family: var(--font-head); font-size: 13.5px; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
.table tbody td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14.5px; }
.table tbody tr:nth-child(even) { background: var(--cream); }
.table tbody tr:hover { background: var(--mist); }

/* ---------- ACCORDION ---------- */
.accordion .acc-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.accordion .acc-item.open { box-shadow: var(--shadow-md); border-color: rgba(43,79,168,.4); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: none; border: none; font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--navy-800); text-align: left; }
.acc-head .acc-chev { transition: transform .35s var(--ease); color: var(--gold-deep); width: 20px; height: 20px; flex: none; }
.acc-item.open .acc-chev { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.acc-body-inner { padding: 0 22px 20px; color: var(--slate); font-size: 14.5px; }
.acc-body-inner ul { list-style: disc; padding-left: 20px; }
.acc-body-inner li { margin-bottom: 6px; }

/* ---------- QUICK LINKS ---------- */
.ql-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.quick-card {
  display: flex; align-items: center; gap: 14px; padding: 20px 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.quick-card:hover { --ty: -5px; box-shadow: 0 0 0 1px rgba(201,162,39,.4), var(--shadow-md); border-color: rgba(201,162,39,.55); }
.quick-card .q-ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--mist); color: var(--royal); transition: background .35s, color .35s; }
.quick-card .q-ico svg { width: 21px; height: 21px; }
.quick-card:hover .q-ico { background: var(--grad-gold); color: var(--navy-900); }
.quick-card span { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy-800); }

/* ---------- MESSAGE / PORTRAIT CARDS ---------- */
.message-card { display: grid; grid-template-columns: 260px 1fr; gap: clamp(26px, 3vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-md); padding: clamp(26px, 3.5vw, 44px); align-items: start; }
.msg-portrait { text-align: center; }
.msg-photo { width: 230px; height: 270px; margin: 0 auto 18px; border-radius: 18px; overflow: hidden; position: relative; box-shadow: var(--shadow-md); }
.msg-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(43,79,168,.86), rgba(12,36,97,.92)); display: grid; place-items: center; }
.msg-photo svg { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; color: rgba(255,255,255,.55); z-index: 2; }
.msg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; }
.msg-photo .ph-ring { position: absolute; inset: 10px; border: 1.5px solid rgba(226,190,82,.85); border-radius: 12px; z-index: 4; pointer-events: none; }
.msg-name { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--navy-800); }
.msg-role { color: var(--gold-deep); font-weight: 700; font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }
.msg-text .m-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.msg-text .m-head h3 { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--navy-800); }
.msg-text p { color: var(--slate); margin-bottom: 14px; }
.msg-sig { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--navy-800); }
.msg-sig small { display: block; font-family: var(--font-body); font-style: normal; color: var(--slate); font-size: 13px; margin-top: 4px; }

/* ---------- PLACEMENTS ---------- */
.pl-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.pl-stat { text-align: center; padding: 26px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.pl-stat:hover { --ty: -6px; box-shadow: 0 0 0 1px rgba(201,162,39,.35), var(--shadow-md); }
.pl-stat strong { font-family: var(--font-head); font-size: clamp(28px, 3vw, 38px); font-weight: 800; display: block; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.pl-stat span { color: var(--slate); font-size: 13px; font-weight: 600; }
.recruiters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.recruiter-card { display: grid; place-items: center; padding: 26px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; min-height: 92px; }
.recruiter-card:hover { --ty: -5px; box-shadow: 0 0 0 1px rgba(201,162,39,.3), var(--shadow-md); border-color: rgba(201,162,39,.45); }
.recruiter-card .rc-placeholder { font-family: var(--font-head); font-weight: 800; color: #8FA3D0; font-size: 17px; letter-spacing: .4px; text-align: center; }
.recruiter-card small { display: block; font-weight: 400; font-size: 11px; color: var(--slate); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 6px; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.info-card2 { display: flex; gap: 18px; padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 16px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.info-card2:hover { transform: translateX(6px); border-color: rgba(201,162,39,.5); box-shadow: var(--shadow-md); }
.info-card2 .ic2-ico { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--grad-primary); color: #fff; box-shadow: 0 10px 22px -8px rgba(20,53,143,.5); }
.info-card2 .ic2-ico svg { width: 23px; height: 23px; }
.info-card2 h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--navy-800); margin-bottom: 4px; }
.info-card2 p, .info-card2 a { color: var(--slate); font-size: 14.5px; }
.info-card2 a:hover { color: var(--royal); }
.hours-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { font-weight: 600; color: var(--ink); }

.contact-form { padding: clamp(26px, 3.5vw, 40px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .6px; color: var(--navy-800); margin-bottom: 8px; }
.form-control { width: 100%; padding: 14px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); font-size: 15px; transition: border-color .3s, box-shadow .3s, background .3s; }
.form-control::placeholder { color: #9FA9C7; }
.form-control:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(43,79,168,.12); }
select.form-control { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2356638A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
textarea.form-control { min-height: 130px; resize: vertical; }

.map-wrap { margin-top: clamp(44px, 5vw, 64px); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); position: relative; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.9); }
.map-tag { position: absolute; left: 20px; top: 20px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: rgba(255,255,255,.94); border: 1px solid var(--line); box-shadow: var(--shadow-md); font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--navy-800); pointer-events: none; }
.map-tag svg { width: 18px; height: 18px; color: var(--gold-deep); }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy-900); color: #B9C8EE; position: relative; padding-top: 60px; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--blue), var(--royal), var(--gold)); }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(30px, 4vw, 52px); padding-bottom: 46px; }
.f-brand .brand-name { color: #fff; }
.f-desc { font-size: 14.5px; line-height: 1.8; margin: 18px 0 22px; max-width: 320px; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #B9C8EE; transition: all .3s var(--ease); }
.f-social a svg { width: 17px; height: 17px; }
.f-social a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-4px); }

/* Footer accreditation badges */
.f-accred { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.f-accred-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 12px 9px; border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(226,190,82,.32);
  min-width: 78px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.f-accred-item:hover { transform: translateY(-4px); border-color: rgba(226,190,82,.65); background: rgba(255,255,255,.1); }
.f-accred-item img { width: 44px; height: auto; display: block; object-fit: contain; background: #fff; border-radius: 7px; padding: 4px; }
.f-accred-item em {
  font-family: var(--font-head); font-style: normal; font-weight: 700;
  font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold-2); line-height: 1; text-align: center; white-space: nowrap;
}
.f-title { font-family: var(--font-head); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.f-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2.5px; border-radius: 3px; background: var(--grad-gold); }
.f-links li { margin-bottom: 11px; }
.f-links a { color: #B9C8EE; font-size: 14px; display: inline-flex; align-items: center; gap: 9px; transition: color .3s, padding-left .3s var(--ease); }
.f-links a::before { content: "›"; color: var(--gold-2); font-weight: 800; }
.f-links a:hover { color: #fff; padding-left: 6px; }
.f-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; align-items: flex-start; }
.f-contact li svg { width: 17px; height: 17px; color: var(--gold-2); flex: none; margin-top: 4px; }
.f-contact a:hover { color: #fff; }
.f-newsletter { margin-top: 24px; display: flex; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.f-newsletter input { flex: 1; min-width: 0; background: none; border: none; padding: 13px 16px; color: #fff; font-size: 14px; }
.f-newsletter input::placeholder { color: #8FA3D0; }
.f-newsletter button { background: var(--grad-gold); border: none; color: var(--navy-900); padding: 0 20px; font-family: var(--font-head); font-weight: 700; transition: filter .3s; }
.f-newsletter button:hover { filter: brightness(1.1); }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.f-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 13.5px; }
.f-bottom-inner a { color: #B9C8EE; transition: color .3s; }
.f-bottom-inner a:hover { color: var(--gold-2); }
.f-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- FLOATING / EXTRAS ---------- */
.float-stack { position: fixed; right: 20px; bottom: 22px; z-index: 3000; display: flex; flex-direction: column; gap: 13px; }
.fab { width: 55px; height: 55px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 16px 36px -10px rgba(0,0,0,.45); transition: transform .3s var(--ease), box-shadow .3s; position: relative; }
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab svg { width: 25px; height: 25px; }
.fab-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37,211,102,.55); animation: fabPulse 2s ease-out infinite; }
.fab-call { background: var(--grad-primary); }
.back-top {
  position: fixed; left: 20px; bottom: 22px; z-index: 3000; width: 48px; height: 48px;
  border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--navy-800);
  display: grid; place-items: center; box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .4s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--grad-primary); color: #fff; }
.back-top svg { width: 19px; height: 19px; }

.cookie-box {
  position: fixed; left: 20px; bottom: 20px; z-index: 3100; max-width: 380px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.cookie-box.show { transform: none; }
.cookie-box h4 { font-family: var(--font-head); color: var(--navy-800); }
.cookie-box p { font-size: 13.5px; color: var(--slate); }
.cookie-actions { display: flex; gap: 10px; }

.search-overlay { position: fixed; inset: 0; z-index: 4500; background: rgba(8,18,44,.6); backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 20px 20px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box { width: min(680px, 100%); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.search-box form { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.search-box input { flex: 1; padding: 22px 26px; border: none; font-size: 18px; font-family: var(--font-head); color: var(--ink); background: none; }
.search-box input:focus { outline: none; }
.search-box .sb-close { width: 52px; height: 52px; border: none; background: none; font-size: 24px; color: var(--slate); transition: color .3s, transform .3s; }
.search-box .sb-close:hover { color: var(--navy-900); transform: rotate(90deg); }
.search-results { max-height: 52vh; overflow-y: auto; padding: 10px; }
.search-results a { display: block; padding: 12px 16px; border-radius: 12px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--navy-800); transition: background .25s, color .25s; }
.search-results a:hover { background: var(--cream); color: var(--royal); }
.search-results .sr-none { padding: 16px; color: var(--slate); font-size: 14px; text-align: center; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 160%); z-index: 4600;
  background: var(--navy-900); color: #fff; padding: 16px 26px; border-radius: 14px;
  display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  box-shadow: var(--shadow-lg); transition: transform .5s var(--ease); max-width: 92%;
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 22px; height: 22px; color: #4ADE80; flex: none; }

/* ---------- ERROR PAGE ---------- */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; padding: 40px 20px; }
.error-page::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 52px 52px; }
.error-num { font-family: var(--font-head); font-size: clamp(120px, 24vw, 220px); font-weight: 800; line-height: 1; background: linear-gradient(120deg, #fff, #9DB8F5 45%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 2px; }
.error-num .err-0 { color: var(--gold-2); font-family: var(--font-serif); font-style: italic; }

/* ---------- REVEAL ANIMATION SYSTEM ---------- */
.reveal, .reveal-l, .reveal-r, .reveal-scale { opacity: 0; filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal { transform: translateY(38px); }
.reveal-l { transform: translateX(-40px); }
.reveal-r { transform: translateX(40px); }
.reveal-scale { transform: scale(.94); }
.reveal.active, .reveal-l.active, .reveal-r.active, .reveal-scale.active { opacity: 1; transform: none; filter: blur(0); }

/* ---------- KEYFRAMES ---------- */
@keyframes kenburns { 0% { transform: scale(1.01); } 100% { transform: scale(1.13); } }
@keyframes crestPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes loadSlide { 0% { transform: translateX(-110%); } 100% { transform: translateX(360%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes specks { from { background-position: 0 0; } to { background-position: 130px 130px; } }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .9; } 70%,100% { transform: scale(1.6); opacity: 0; } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(201,162,39,.5); } 70% { box-shadow: 0 0 0 9px rgba(201,162,39,0); } 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0); } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .main-nav-menu > li > a { padding: 26px 7px; font-size: 12px; }
}
@media (max-width: 1080px) {
  .main-nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-apply { display: none; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 18px; }
  .about-split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ql-grid { grid-template-columns: repeat(3, 1fr); }
  .pl-stats { grid-template-columns: repeat(3, 1fr); }
  .recruiters { grid-template-columns: repeat(3, 1fr); }
  .message-card { grid-template-columns: 1fr; }
  .msg-portrait { display: flex; align-items: center; gap: 22px; text-align: left; }
  .msg-photo { margin: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .admis-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .admis-timeline::before { display: none; }
  .masonry { columns: 2; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar-right a { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hs-arrows { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .stat-grid, .pl-stats, .recruiters, .ql-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .hero-slider { min-height: 540px; }
  .hs-dots-nav { bottom: 20px; }
  .f-grid { grid-template-columns: 1fr; }
  .f-bottom-inner { flex-direction: column; text-align: center; }
  .btn-lg { padding: 15px 30px; }
  .msg-portrait { flex-direction: column; text-align: center; }
  .t-slide { padding: 2px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide.active .hs-bg { animation: none; transform: scale(1); }
}

/* ================================================================
   PREMIUM MOTION & DETAIL LAYER
   Animated admissions strip · refined header · cinematic hero ·
   tactile cards · smooth filters · page transitions · polished forms
   ================================================================ */

/* ---------- ADMISSIONS NOTICE STRIP ---------- */
.notice-strip {
  position: relative; overflow: hidden; color: #EAF0FF;
  background: linear-gradient(90deg, #050F2B 0%, #0C2461 48%, #081A45 100%);
  border-bottom: 1px solid rgba(226,190,82,.28);
}
.notice-strip::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(226,190,82,.16), transparent);
  transform: translateX(-100%); animation: stripSheen 11s ease-in-out infinite;
}
.ns-inner { display: flex; align-items: center; gap: 14px; min-height: 40px; }
.ns-label {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding-right: 14px; border-right: 1px solid rgba(255,255,255,.16);
  font-family: var(--font-head); font-size: 10.5px; font-weight: 800;
  letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-2);
}
.ns-live { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); animation: pulseDot 2.4s infinite; }
.ns-marquee {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.ns-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.notice-strip:hover .ns-track, .notice-strip:focus-within .ns-track { animation-play-state: paused; }
.ns-group { display: inline-flex; align-items: center; flex: none; }
.ns-item {
  display: inline-flex; align-items: center; gap: 9px; padding: 0 26px;
  font-size: 12.8px; font-weight: 500; color: #D6E1FA; white-space: nowrap;
  transition: color .25s;
}
.ns-item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
.ns-item:hover { color: #fff; }
.ns-item strong { color: var(--gold-2); font-weight: 700; }
.ns-apply {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 8px; background: var(--grad-gold); color: var(--navy-900);
  font-family: var(--font-head); font-size: 11.5px; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ns-apply:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -6px rgba(201,162,39,.85); }
.ns-apply svg { width: 13px; height: 13px; }

/* ---------- HEADER ENTRANCE & STICKY REFINEMENT ---------- */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.55), transparent);
  opacity: 0; transition: opacity .45s var(--ease); pointer-events: none;
}
.site-header.scrolled::after { opacity: 1; }
.site-header .brand { animation: headerIn .7s var(--ease) both; }
.site-header .logo-mark { animation: logoPop .85s var(--ease) both; }
.main-nav-menu > li { animation: headerIn .55s var(--ease) both; }
.main-nav-menu > li:nth-child(1) { animation-delay: .04s; }
.main-nav-menu > li:nth-child(2) { animation-delay: .07s; }
.main-nav-menu > li:nth-child(3) { animation-delay: .1s; }
.main-nav-menu > li:nth-child(4) { animation-delay: .13s; }
.main-nav-menu > li:nth-child(5) { animation-delay: .16s; }
.main-nav-menu > li:nth-child(6) { animation-delay: .19s; }
.main-nav-menu > li:nth-child(7) { animation-delay: .22s; }
.main-nav-menu > li:nth-child(8) { animation-delay: .25s; }
.main-nav-menu > li:nth-child(9) { animation-delay: .28s; }
.main-nav-menu > li:nth-child(10) { animation-delay: .31s; }
.main-nav-menu > li:nth-child(11) { animation-delay: .34s; }
.main-nav-menu > li:nth-child(12) { animation-delay: .37s; }
.main-nav-menu > li:nth-child(13) { animation-delay: .4s; }
.nav-actions { animation: headerIn .7s var(--ease) .24s both; }
.nav-actions .nav-toggle { animation: headerIn .7s var(--ease) .24s both; }

/* ---------- HERO: PROGRESS, COUNTER, POLISH ---------- */
.hero-slider { isolation: isolate; }
.hero-slide { transition: opacity 1.15s var(--ease), visibility 1.15s; }
.hs-content { max-width: 780px; }
.hs-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 6; background: rgba(255,255,255,.14); }
.hs-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 14px rgba(226,190,82,.75);
}
.hs-counter {
  position: absolute; left: max(4%, 22px); bottom: 45px; z-index: 6;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; color: rgba(255,255,255,.55);
}
.hs-counter b { color: #fff; font-size: 15px; }
.hs-counter i { display: block; width: 46px; height: 1px; background: rgba(255,255,255,.35); }
.hs-arrows { right: clamp(18px, 4vw, 40px); bottom: 40px; }
.hs-dots-nav { bottom: 46px; }
.hero-slider .hs-ring { animation: spin 60s linear infinite; }

/* ---------- UNIFIED 3D CARD MOTION ---------- */
.dept-card, .program-card, .icon-card, .club-card, .news-card,
.quick-card, .pl-stat, .recruiter-card, .facility-card, .ach-card, .tilt, .m-item {
  transform: perspective(1200px) translate3d(0, var(--ty, 0px), 0)
             rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .3s var(--ease), box-shadow .45s var(--ease), border-color .4s var(--ease);
}
.facility-card:hover { --ty: -8px; }
.ach-card:hover { --ty: -6px; }

.dept-card::after, .program-card::after, .news-card::after, .quick-card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 5;
  border-radius: inherit; pointer-events: none;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease);
}
.dept-card:hover::after, .program-card:hover::after,
.news-card:hover::after, .quick-card:hover::after { transform: scaleX(1); }

.dept-card img, .news-card img, .program-card img, .tilt img, .club-card img { transition: transform .8s var(--ease); }
.dept-card:hover img, .news-card:hover img, .program-card:hover img, .club-card:hover img { transform: scale(1.075); }

/* ---------- DECORATIVE ORBS + PARALLAX ---------- */
.ph-deco {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  translate: 0 var(--py, 0px);
}
.ph-deco.a {
  width: 340px; height: 340px; right: -100px; top: -80px;
  background: radial-gradient(circle at 32% 32%, rgba(226,190,82,.34), transparent 66%);
  animation: drift 17s ease-in-out infinite;
}
.ph-deco.b {
  width: 440px; height: 440px; left: -150px; bottom: -170px;
  background: radial-gradient(circle at 62% 42%, rgba(139,176,240,.32), transparent 66%);
  animation: drift 23s ease-in-out infinite reverse;
}
.section-deep::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(58% 78% at 12% 18%, rgba(59,102,201,.26), transparent 62%),
    radial-gradient(48% 68% at 88% 82%, rgba(201,162,39,.15), transparent 62%);
  animation: aurora 19s ease-in-out infinite alternate;
}

/* ---------- BUTTONS: SHEEN, ARROWS, FOCUS ---------- */
.btn::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg); opacity: 0; pointer-events: none;
}
.btn:hover::before, .btn:focus-visible::before { animation: sheen .9s var(--ease); }
.btn:hover > svg, .btn:focus-visible > svg { animation: arrowNudge .55s var(--ease); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-has-arrow > svg { width: 17px; height: 17px; }
.pc-link:hover svg, .dc-link:hover svg, .nc-more:hover svg, .ns-apply:hover svg { animation: arrowNudge .55s var(--ease); }
.ns-apply { position: relative; overflow: hidden; }

/* ---------- GALLERY FILTERS & LIGHTBOX ---------- */
.mg-item, .news-card, .m-item {
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.mg-item { transition-delay: 0s; }
.g-filter-fade { opacity: 0 !important; transform: scale(.94) !important; pointer-events: none; }
.mg-item:hover { border-color: rgba(201,162,39,.6); box-shadow: 0 20px 44px -20px rgba(12,36,97,.5), 0 0 0 1px rgba(201,162,39,.32); }
.mg-item img { transition: transform .85s var(--ease), filter .5s var(--ease); }
.mg-item:hover img { transform: scale(1.06); }
.filter-btn2.active { position: relative; }

.lightbox { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lb-stage img { animation: lbImgIn .45s var(--ease); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { transform: scale(1.06); }
.lb-prev:hover, .lb-next:hover { translate: 0 -50%; }
.lb-close:focus-visible, .lb-prev:focus-visible, .lb-next:focus-visible,
.filter-btn2:focus-visible, .hs-dot:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- ACCORDION CONTENT FADE ---------- */
.acc-body-inner { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.acc-item.open .acc-body-inner { animation: accFade .5s var(--ease) both; }
.acc-head { transition: color .3s var(--ease), background .3s var(--ease); }

/* ---------- FORMS ---------- */
.form-control:hover { border-color: #C6D2EA; }
.form-status {
  display: none; align-items: flex-start; gap: 10px; margin-top: 16px;
  padding: 13px 16px; border-radius: 12px; font-size: 13.5px; line-height: 1.6;
  border: 1px solid transparent;
}
.form-status.show { display: flex; animation: accFade .4s var(--ease) both; }
.form-status a { font-weight: 700; text-decoration: underline; }
.form-status.ok { background: rgba(16,148,96,.1); border-color: rgba(16,148,96,.4); color: #0F6B47; }
.form-status.err { background: rgba(196,58,58,.1); border-color: rgba(196,58,58,.35); color: #9B2C2C; }
.section-deep .form-status.ok, .apply-panel .form-status.ok { background: rgba(16,148,96,.18); border-color: rgba(120,230,180,.45); color: #B9F4D8; }
.section-deep .form-status.err, .apply-panel .form-status.err { background: rgba(196,58,58,.2); border-color: rgba(255,160,160,.45); color: #FFD5D5; }
.btn.is-sending { pointer-events: none; opacity: .8; }
.btn.is-sending::after {
  content: ""; width: 15px; height: 15px; border-radius: 50%; flex: none;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: spin .7s linear infinite;
}

/* ---------- PAGE TRANSITIONS ---------- */
main { transition: opacity .26s ease, transform .26s ease; }
body.page-in main { animation: pageIn .65s var(--ease) both; }
body.page-leaving main { opacity: 0; transform: translateY(7px); }
body.page-leaving .site-footer { opacity: .5; transition: opacity .26s ease; }
.page-hero .ph-badge { animation: heroTextIn .7s var(--ease) both; }
.page-hero .ph-title { animation: heroTextIn .85s var(--ease) .07s both; }
.page-hero .breadcrumbs { animation: heroTextIn .85s var(--ease) .16s both; }
.page-hero .ph-sub { animation: heroTextIn .85s var(--ease) .12s both; }

/* ---------- FOOTER ---------- */
.f-social a svg { transition: transform .35s var(--ease); }
.f-social a:hover svg { transform: scale(1.12) rotate(-6deg); }
.f-contact li { transition: transform .3s var(--ease); }
.f-contact li:hover { transform: translateX(4px); }
.f-links a::before { transition: transform .3s var(--ease); }
.f-links a:hover::before { transform: translateX(3px); }
.f-legal a { position: relative; }
.f-legal a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold-2); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.f-legal a:hover::after { transform: scaleX(1); }
.f-brand .logo-mark { animation: logoPop .9s var(--ease) both; }

/* ---------- FLOATING QUICK ACTIONS ---------- */
.fab { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.fab:hover { transform: translateY(-4px) scale(1.05); }

/* ---------- NEW KEYFRAMES ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes stripSheen { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes headerIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes logoPop {
  0% { opacity: 0; transform: scale(.72) rotate(-10deg); }
  62% { opacity: 1; transform: scale(1.05) rotate(2deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes navActiveIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes heroTextIn { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes drift { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-22px,18px,0) scale(1.06); } }
@keyframes aurora { 0% { opacity: .55; transform: translate3d(-2%,0,0) scale(1); } 100% { opacity: .9; transform: translate3d(2%,-2%,0) scale(1.06); } }
@keyframes lbImgIn { from { opacity: 0; transform: scale(.965); } to { opacity: 1; transform: none; } }
@keyframes arrowNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes sheen { 0% { left: -75%; opacity: 0; } 30% { opacity: 1; } 100% { left: 120%; opacity: 0; } }
@keyframes accFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- RESPONSIVE FINE-TUNING ---------- */
@media (max-width: 1080px) {
  .site-header.scrolled .nav { height: 66px; }
  .hs-counter { display: none; }
}
@media (max-width: 860px) {
  .hs-progress { height: 2px; }
  .hs-arrows { bottom: 34px; }
  .hs-dots-nav { bottom: 42px; }
  .page-hero .ph-title { animation-duration: .7s; }
}
@media (max-width: 640px) {
  .ns-label { display: none; }
  .ns-apply { display: none; }
  .ns-inner { min-height: 36px; }
  .ns-item { padding: 0 16px; font-size: 12px; }
  .ns-track { animation-duration: 34s; }
  .notice-strip::after { display: none; }
  .dept-card, .program-card, .icon-card, .club-card, .news-card,
  .quick-card, .pl-stat, .recruiter-card, .facility-card, .ach-card, .tilt, .m-item { transform: none; }
  .hs-title { letter-spacing: -.8px; }
  .ph-deco.a { width: 220px; height: 220px; }
  .ph-deco.b { width: 280px; height: 280px; }
}
@media (hover: none) {
  .dept-card, .program-card, .icon-card, .club-card, .news-card,
  .quick-card, .pl-stat, .recruiter-card, .facility-card, .ach-card, .tilt, .m-item { transform: none; }
}

/* ---------- EXTENDED REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r, .reveal-scale { opacity: 1 !important; transform: none !important; filter: none !important; }
  .ns-track, .notice-strip::after, .ph-deco, .section-deep::after,
  .hs-progress span, .hs-ring, .hs-diamond, .hs-dots, .hs-specks,
  .site-header .brand, .site-header .logo-mark, .main-nav-menu > li,
  .nav-actions, .page-hero .ph-badge, .page-hero .ph-title,
  .page-hero .breadcrumbs, .page-hero .ph-sub,
  body.page-in main, .acc-item.open .acc-body-inner { animation: none !important; }
  .hs-bg, .hero-slide.active .hs-bg { transform: none !important; animation: none !important; }
  .hs-fade { filter: none !important; transform: none !important; }
  main { opacity: 1 !important; transform: none !important; }
  body.page-leaving main, body.page-leaving .site-footer { opacity: 1 !important; transform: none !important; }
  .dept-card, .program-card, .icon-card, .club-card, .news-card,
  .quick-card, .pl-stat, .recruiter-card, .facility-card, .ach-card, .tilt, .m-item { transform: none !important; }
  .btn:hover::before { animation: none !important; }
  .btn:hover > svg, .btn:focus-visible > svg { animation: none !important; }
  .section-deep { background-attachment: scroll; }
}

/* ---------- HERO BRAND BAND (logo + college name) & TEXT-FREE SLIDES ---------- */
.hs-overlay { background: linear-gradient(180deg, rgba(5,15,43,.2) 0%, rgba(5,15,43,.03) 38%, rgba(5,15,43,.5) 100%); }

.hero-brand {
  position: relative; overflow: hidden;
  background: var(--grad-deep); color: #fff;
  padding: clamp(26px, 3.6vw, 44px) 0;
  border-bottom: 1px solid rgba(226,190,82,.28);
}
.hero-brand::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 120% at 8% 0%, rgba(201,162,39,.2), transparent 62%),
    radial-gradient(40% 120% at 92% 100%, rgba(139,176,240,.2), transparent 62%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}
.hb-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; }
.hb-logo {
  position: relative; flex: none; width: clamp(104px, 12vw, 168px); aspect-ratio: 1;
  padding: 12px; border-radius: 26px; background: #fff;
  box-shadow: 0 26px 56px -18px rgba(0,0,0,.7), 0 0 0 1.5px rgba(201,162,39,.65);
  animation: logoFloat 6.5s ease-in-out infinite;
}
.hb-logo::after {
  content: ""; position: absolute; inset: -11px; border-radius: 34px;
  border: 1px dashed rgba(226,190,82,.5); animation: spin 46s linear infinite;
}
.hb-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Logo + AICTE/NAAC accreditation cluster */
.hb-logo-cluster { flex: none; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); }
.hb-accred { display: flex; align-items: center; gap: clamp(8px, 1vw, 12px); }
.hb-accred-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 9px 10px 8px; border-radius: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(226,190,82,.34);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.7);
}
.hb-accred-item img {
  width: clamp(38px, 3.8vw, 50px); height: auto; display: block;
  object-fit: contain; border-radius: 6px;
}
.hb-accred-item em {
  font-family: var(--font-head); font-style: normal; font-weight: 800;
  font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--gold-2); line-height: 1;
}
.hb-text { flex: 1 1 420px; min-width: 290px; }
.hb-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px;
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold-2);
}
.hb-kicker::before { content: ""; width: 28px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.hb-title {
  font-family: var(--font-head); font-weight: 900; color: #fff;
  font-size: clamp(26px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -1.1px;
  text-wrap: balance;
}
.hb-title .hb-hl, .hb-title .hb-women { white-space: nowrap; }
.hb-title .hb-for { font-weight: 500; font-style: italic; font-family: var(--font-serif); color: #C9D6F4; font-size: .82em; letter-spacing: 0; }
.hb-title .hb-hl {
  position: relative; display: inline-block;
  background: linear-gradient(100deg, #E2BE52 0%, #FFE9A8 45%, #C9A227 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 26px rgba(201,162,39,.35));
}
.hb-title .hb-hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 6px;
  border-radius: 6px; background: linear-gradient(90deg, rgba(226,190,82,0), rgba(226,190,82,.9), rgba(226,190,82,0));
  transform: scaleX(0); transform-origin: left;
  animation: hlSweep 1.5s .35s var(--ease) forwards;
}
@keyframes hlSweep { to { transform: scaleX(1); } }
.hb-title .hb-women {
  background: linear-gradient(100deg, #E2BE52 0%, #FFE9A8 42%, #C9A227 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 12px 34px rgba(201,162,39,.28);
}
.hb-abbr {
  font-family: var(--font-head); font-weight: 800; letter-spacing: 1.6px;
  color: var(--gold-2); font-size: 12.5px;
}
.hb-title em {
  display: block; font-style: normal; font-weight: 600;
  font-size: .48em; letter-spacing: .2px; color: #E4ECFF; margin-top: 8px;
}
.hb-sub { margin-top: 12px; color: #C9D6F4; font-size: 14.5px; max-width: 560px; }
.hb-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: none; }
.hb-open {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-2);
}
.hb-open i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); animation: pulseDot 2.4s infinite; }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hero-slider { height: min(80vh, 700px); min-height: 440px; }

@media (max-width: 900px) {
  .hb-cta { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .hb-logo-cluster { gap: 12px; }
}
@media (max-width: 640px) {
  .hb-logo { width: 92px; border-radius: 22px; padding: 9px; }
  .hb-logo-cluster { gap: 10px; width: 100%; }
  .hb-accred { gap: 8px; }
  .hb-accred-item { padding: 7px 8px 6px; border-radius: 12px; gap: 5px; }
  .hb-accred-item img { width: 34px; }
  .hb-accred-item em { font-size: 8.5px; letter-spacing: 1.1px; }
  .hb-title { letter-spacing: -.6px; font-size: clamp(23px, 6.4vw, 30px); max-width: none; }
  .hb-title .hb-for { font-size: .92em; }
  .hb-sub { font-size: 13.5px; }
  .hero-slider { height: min(62vh, 480px); min-height: 320px; }
}
@media (max-width: 420px) {
  .hb-logo-cluster { flex-wrap: wrap; row-gap: 12px; }
  .hb-logo { width: 78px; padding: 7px; border-radius: 18px; }
  .hb-logo::after { inset: -8px; border-radius: 24px; }
  .hb-accred-item { padding: 6px 7px 5px; }
  .hb-accred-item img { width: 30px; }
  .hb-accred-item em { font-size: 8px; letter-spacing: .8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hb-logo, .hb-logo::after { animation: none !important; }
  .hb-title .hb-hl::after { animation: none !important; transform: scaleX(1); }
}

img.logo-mark { border-radius: 12px; object-fit: contain; background: #fff; padding: 2px; }

/* Prevent transient horizontal scroll during reveal animations */
html, body { overflow-x: clip; }

/* ---------- HEADER FIT FIX (desktop one-row nav) ---------- */
.container.nav { width: min(1560px, 96%); }
.main-nav {
  display: flex; align-items: center; justify-content: flex-end;
  flex: 1 1 auto; min-width: 0; gap: 14px; height: 100%;
}
.main-nav-menu { flex-wrap: nowrap; flex: none; }
.main-nav-menu > li > a { white-space: nowrap; }
.main-nav-menu > li > a { font-size: 12.5px; padding: 26px clamp(6px, .5vw, 10px); }
@media (max-width: 1560px) {
  .brand-name { font-size: 19px; }
  .brand-name .brand-sub { display: none; }
  .brand { gap: 10px; }
}
@media (max-width: 1400px) {
  .main-nav-menu > li > a { font-size: 11.5px; padding-inline: 5.5px; }
}
@media (max-width: 1240px) {
  .main-nav-menu { display: none; }
  .nav-toggle { display: flex; }
}
/* ---------- FIVE B.TECH DEPARTMENTS ---------- */
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.dept-card .dc-media.hod-media { height: 250px; background: linear-gradient(160deg, #0C2461, #2B4FA8); }
.dc-media.hod-media img { object-position: center top; }
.dept-hod { font-size: 12.5px !important; color: var(--navy-800) !important; margin: -2px 0 10px !important; letter-spacing: .01em; }
.dept-hod strong { color: var(--gold-deep); text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; }
.dept-subjects { font-size: 12.5px !important; line-height: 1.55; color: var(--slate) !important; margin: 0 0 16px !important; }
.dept-subjects b { color: var(--navy-800); font-weight: 700; }
.dept-card .dc-body { padding: 20px 20px 24px; }
.dept-card .dc-body h3 { font-size: 17px; line-height: 1.25; }
.dept-card .dc-link { font-size: 12.5px; }
.dept-note { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; color: var(--slate); font-size: 13px; }
.dept-note strong { color: var(--navy-800); }
@media (max-width: 1240px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-5 { grid-template-columns: 1fr; } .dept-card .dc-media.hod-media { height: 280px; } }
/* ---------- PROGRAMS DROPDOWN + DEPT NAV + LEVEL CARDS ---------- */
.main-nav-menu > li.has-sub { position: relative; }
.main-nav-menu .sub-caret { display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 238px; padding: 10px; margin: 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(.98);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .25s;
}
.main-nav-menu > li.has-sub:hover .sub-menu,
.main-nav-menu > li.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.sub-menu::before { content: ""; position: absolute; top: -6px; left: 50%; translate: -50% 0; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--navy-800); text-decoration: none; white-space: nowrap; transition: background .22s, color .22s, padding-left .22s; }
.sub-menu a:hover { background: #F3F6FD; color: var(--royal); padding-left: 16px; }
@media (max-width: 1240px) {
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 14px; min-width: 0; }
  .sub-menu::before { display: none; }
}

.dept-nav { position: relative; z-index: 3; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.dept-nav .container { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding-block: 14px; }
.dept-nav-link { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--navy-800); padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #F7F9FE; transition: var(--tr); }
.dept-nav-link:hover { border-color: var(--royal); color: var(--royal); transform: translateY(-2px); }
.dept-nav-link.is-active { background: var(--grad-navy); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }

.dept-level-card { position: relative; display: block; text-decoration: none; padding: 30px 28px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.dept-level-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.dept-level-card:hover { --ty: -10px; box-shadow: 0 0 0 1px rgba(201,162,39,.4), var(--shadow-lg); border-color: rgba(201,162,39,.55); }
.dept-level-card:hover::after { transform: scaleX(1); }
.dept-level-card h3 { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--navy-800); margin: 10px 0 10px; }
.dept-level-card p { color: var(--slate); font-size: 14px; margin-bottom: 14px; }
.dlc-count { display: inline-block; font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); background: rgba(201,162,39,.12); border: 1px solid rgba(201,162,39,.35); padding: 5px 12px; border-radius: 999px; }
.dlc-list { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; color: var(--royal); margin-bottom: 18px; }
.dlc-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--royal); transition: gap .3s, color .3s; }
.dlc-link svg { width: 15px; height: 15px; }
.dept-level-card:hover .dlc-link { gap: 12px; color: var(--gold-deep); }
@media (max-width: 1240px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-5 { grid-template-columns: 1fr; } }
/* ---------- SUB-PAGE DEPT GRID BALANCE ---------- */
@media (max-width: 1560px) {
  .dept-nav .container { gap: 8px; }
  .dept-nav-link { font-size: 11.5px; padding: 8px 14px; }
}
@media (max-width: 900px) {
  .dept-nav .container { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-block: 12px; }
  .dept-nav-link { white-space: nowrap; flex: none; }
  .dept-level-card { padding: 24px 22px 22px; }
}