/* ============================================================
   YBRANT GLOBAL SCHOOLS — PREMIUM DESIGN SYSTEM v2.0
   Multi-page | Madhapur, Hyderabad | Pure CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── GLOBAL MOBILE OVERFLOW PREVENTION ── */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; }



/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --royal-blue:    #1A3A8F;
  --deep-navy:     #0D1B4B;
  --midnight:      #060C1F;
  --academic-red:  #C8102E;
  --red-deep:      #9B0B22;
  --gold:          #F5A623;
  --gold-light:    #FFD166;
  --gold-pale:     #FFF8E8;

  /* Neutral */
  --white:         #FFFFFF;
  --off-white:     #F7F8FC;
  --light:         #EEF1F8;
  --border:        #DDE2EF;
  --border-dark:   #C8D0E4;
  --text-dark:     #080D22;
  --text-body:     #1E2740;
  --text-muted:    #5A6480;
  --text-light:    #8A93AF;

  /* Gradients */
  --g-hero:    linear-gradient(135deg, #060C1F 0%, #0D1B4B 55%, #1A2E7A 100%);
  --g-blue:    linear-gradient(135deg, #1A3A8F 0%, #0D1B4B 100%);
  --g-red:     linear-gradient(135deg, #C8102E 0%, #9B0B22 100%);
  --g-gold:    linear-gradient(135deg, #F5A623 0%, #D4880A 100%);
  --g-dark:    linear-gradient(160deg, #060C1F 0%, #0D1B4B 100%);
  --g-warm:    linear-gradient(135deg, #FFF8E8 0%, #FFE8B0 100%);
  --g-light:   linear-gradient(180deg, #F7F8FC 0%, #FFFFFF 100%);
  --g-card:    linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);

  /* Glass */
  --glass-dark:  rgba(255,255,255,0.07);
  --glass-bd:    rgba(255,255,255,0.12);
  --glass-light: rgba(255,255,255,0.74);
  --glass-bdl:   rgba(255,255,255,0.88);

  /* Shadows */
  --s-xs:   0 1px 4px rgba(8,13,34,0.06);
  --s-sm:   0 4px 16px rgba(8,13,34,0.08);
  --s-md:   0 8px 32px rgba(8,13,34,0.11);
  --s-lg:   0 20px 56px rgba(8,13,34,0.16);
  --s-xl:   0 40px 80px rgba(8,13,34,0.20);
  --s-blue: 0 16px 48px rgba(26,58,143,0.28);
  --s-red:  0 12px 36px rgba(200,16,46,0.28);
  --s-gold: 0 12px 36px rgba(245,166,35,0.28);

  /* Fonts */
  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;
  --f-accent:  'Outfit', system-ui, sans-serif;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 100px;

  /* Easing */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --nav-h: 76px;
  --section-py: clamp(5rem, 8vw, 8rem);
}

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

html {
  scroll-behavior: auto;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
.t-hero {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.t-display {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.t-h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.t-h3 {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.t-lead {
  font-family: var(--f-accent);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 400;
  line-height: 1.7;
}

.t-body  { font-size: 1rem;    line-height: 1.72; }
.t-small { font-size: 0.875rem; line-height: 1.65; }
.t-tiny  { font-size: 0.78rem;  line-height: 1.55; letter-spacing: 0.02em; }

.tc-blue  { color: var(--royal-blue); }
.tc-red   { color: var(--academic-red); }
.tc-gold  { color: #A07000; }
.tc-muted { color: var(--text-muted); }
.tc-white { color: var(--white); }

.ti { font-style: italic; }

.grad-text-blue {
  background: linear-gradient(135deg, var(--royal-blue), #3D6AE8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-red {
  background: linear-gradient(135deg, var(--academic-red), #E8344A);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section-py  { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.section-pt  { padding-top: var(--section-py); }
.section-pb  { padding-bottom: var(--section-py); }
.section-pym { padding-top: clamp(3.5rem, 6vw, 5.5rem); padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }

/* Section backgrounds */
.bg-white     { background: var(--white); }
.bg-off       { background: var(--off-white); }
.bg-light     { background: var(--light); }
.bg-dark      { background: var(--midnight); }
.bg-navy      { background: var(--deep-navy); }
.bg-blue      { background: var(--royal-blue); }
.bg-red       { background: var(--academic-red); }
.bg-gold-pale { background: var(--gold-pale); }

/* Two-column layouts */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.two-col-55 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.two-col-45 {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Section header */
.sec-header { margin-bottom: clamp(2.5rem, 4.5vw, 4.5rem); }
.sec-header.center { text-align: center; }
.sec-header.center p { max-width: 580px; margin-left: auto; margin-right: auto; }
.sec-header p { margin-top: 1rem; color: var(--text-muted); max-width: 520px; }
.sec-header .t-display, .sec-header .t-h2 { margin-top: 0.5rem; }

/* ============================================================
   5. LABEL TAGS
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.45rem;
  font-family: var(--f-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--r-pill);
}

.tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.tag-blue   { background: rgba(26,58,143,0.1);   color: var(--royal-blue); }
.tag-red    { background: rgba(200,16,46,0.1);   color: var(--academic-red); }
.tag-gold   { background: rgba(245,166,35,0.15); color: #9A6A00; }
.tag-white  { background: rgba(255,255,255,0.13); color: rgba(255,255,255,0.88); border: 1px solid rgba(255,255,255,0.2); }
.tag-dark   { background: rgba(8,13,34,0.07);    color: var(--deep-navy); }
.tag-green  { background: rgba(34,197,94,0.1);   color: #15803d; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 0.6rem;
  font-family: var(--f-accent);
  font-weight: 600;
  font-size: 0.94rem;
  border-radius: var(--r-pill);
  padding: 0.875rem 2rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}

.btn i, .btn svg { font-size: 0.9rem; transition: transform 0.35s var(--ease-spring); }
.btn:hover i, .btn:hover svg { transform: translateX(3px); }

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
}
.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn-primary {
  background: var(--g-red);
  color: var(--white);
  box-shadow: var(--s-red);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(200,16,46,0.40); }

.btn-navy {
  background: var(--g-blue);
  color: var(--white);
  box-shadow: var(--s-blue);
}
.btn-navy:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(26,58,143,0.40); }

.btn-gold {
  background: var(--g-gold);
  color: var(--text-dark);
  box-shadow: var(--s-gold);
  font-weight: 700;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(245,166,35,0.42); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--royal-blue);
  border: 1.5px solid var(--royal-blue);
}
.btn-outline-blue:hover { background: var(--royal-blue); color: var(--white); transform: translateY(-2px); }

.btn-outline-red {
  background: transparent;
  color: var(--academic-red);
  border: 1.5px solid var(--academic-red);
}
.btn-outline-red:hover { background: var(--academic-red); color: var(--white); transform: translateY(-2px); }

.btn-lg { padding: 1.05rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.82rem; }
.btn-full { width: 100%; }

.btn-wa {
  background: #25D366;
  color: white;
  box-shadow: 0 12px 32px rgba(37,211,102,0.32);
}
.btn-wa:hover { background: #1DAF57; transform: translateY(-2px); box-shadow: 0 20px 48px rgba(37,211,102,0.40); }

/* ============================================================
   7. SCROLL PROGRESS
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--academic-red), var(--gold));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================================
   8. NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 1px solid rgba(8,13,34,0.08);
  box-shadow: 0 2px 16px rgba(8,13,34,0.06);
  transition: box-shadow 0.4s var(--ease-smooth), border-color 0.4s;
}

#navbar.nav-transparent {
  background: #ffffff;
  border-bottom: 1px solid rgba(8,13,34,0.08);
  box-shadow: 0 2px 16px rgba(8,13,34,0.06);
}

#navbar.nav-solid {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(8,13,34,0.10);
  box-shadow: 0 4px 28px rgba(8,13,34,0.10);
}

/* Nav links — always dark on white navbar */
.nav-link {
  color: var(--text-body) !important;
}
.nav-link:hover,
.nav-link.active {
  color: var(--deep-navy) !important;
  background: rgba(8,13,34,0.05);
}
.nav-link::after {
  background: var(--academic-red) !important;
}
.nav-phone {
  color: var(--text-muted) !important;
}
.nav-phone:hover { color: var(--deep-navy) !important; }
.nav-hamburger span { background: var(--deep-navy) !important; }

/* Remove the separate solid/transparent overrides — unified above */
#navbar.nav-solid .nav-link { color: var(--text-body); }
#navbar.nav-solid .nav-link:hover,
#navbar.nav-solid .nav-link.active { color: var(--deep-navy); background: rgba(8,13,34,0.05); }
#navbar.nav-solid .nav-link::after { background: var(--academic-red); }
#navbar.nav-solid .nav-phone { color: var(--text-muted); }
#navbar.nav-solid .nav-phone:hover { color: var(--deep-navy); }
#navbar.nav-solid .nav-hamburger span { background: var(--deep-navy); }

/* Light Theme overrides — not needed now but kept for other pages */
#navbar.nav-light-theme.nav-transparent .nav-link { color: var(--deep-navy); }
#navbar.nav-light-theme.nav-transparent .nav-link:hover { color: var(--academic-red); }
#navbar.nav-light-theme.nav-transparent .nav-phone { color: var(--deep-navy); }
#navbar.nav-light-theme.nav-transparent .nav-hamburger span { background: var(--deep-navy); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}


/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 auto;
}

.nav-item { position: relative; }

.nav-link {
  font-family: var(--f-accent);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-sm);
  transition: color 0.25s, background 0.25s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link .nav-chevron {
  font-size: 0.6rem;
  transition: transform 0.3s;
  opacity: 0.55;
}

.nav-link:hover { color: var(--white); }

.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

/* Animated underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.9rem;
  right: 0.9rem;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #ffffff;
  backdrop-filter: blur(24px);
  border: 1px solid rgba(8,13,34,0.09);
  border-radius: var(--r-md);
  padding: 0.5rem;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 8px 40px rgba(8,13,34,0.14), 0 2px 8px rgba(8,13,34,0.06);
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  background: transparent;
}

.nav-item:hover .nav-chevron { transform: rotate(180deg); }

.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  font-family: var(--f-accent);
  font-size: 0.84rem;
  color: var(--text-body);
  border-radius: var(--r-xs);
  transition: all 0.22s;
  font-weight: 500;
}

.nav-dropdown a i {
  width: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.22s;
}

.nav-dropdown a:hover {
  background: rgba(26,58,143,0.06);
  color: var(--deep-navy);
  padding-left: 1.25rem;
}

.nav-dropdown a:hover i { color: var(--royal-blue); }

/* Nav right CTA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-phone {
  font-family: var(--f-accent);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s;
}

.nav-phone:hover { color: var(--white); }
.nav-phone i { color: var(--gold); font-size: 0.72rem; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.35s var(--ease-smooth);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 31, 0.99);
  backdrop-filter: blur(24px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s var(--ease-smooth);
  padding: 2rem;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mm-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  max-width: 400px;
}

.mm-link {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  color: rgba(255,255,255,0.82);
  padding: 0.65rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  border-radius: var(--r-sm);
  width: 100%;
  display: block;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}

.mobile-menu.open .mm-link {
  transform: translateY(0);
  opacity: 1;
}

.mm-link:hover { color: var(--gold); background: rgba(255,255,255,0.04); }

.mm-link.active { color: var(--gold); }

/* Stagger delays for links */
.mobile-menu.open .mm-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mm-link:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.open .mm-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mm-link:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu.open .mm-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open .mm-link:nth-child(6) { transition-delay: 0.30s; }
.mobile-menu.open .mm-link:nth-child(7) { transition-delay: 0.35s; }

.mm-divider {
  width: 60px; height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 1.25rem auto;
}

.mm-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.mm-bottom a {
  font-family: var(--f-accent);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.25s;
}

.mm-bottom a:hover { color: var(--white); }
.mm-bottom i { font-size: 0.875rem; }

/* ============================================================
   9. HOME PAGE HERO
   ============================================================ */
#home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--midnight);
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?w=1920&q=75&auto=format');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.18;
  transform: scale(1.05);
  transition: transform 8s ease, opacity 1s ease;
}

.hero-bg-img.loaded { transform: scale(1); opacity: 0.22; }

.hero-overlay-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(6,12,31,0.98) 0%, rgba(13,27,75,0.85) 50%, rgba(26,46,122,0.50) 100%);
}

/* Geo particles */
.hero-geo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26,58,143,0.15);
  animation: spinRing 28s linear infinite;
}

.geo-ring:nth-child(1) { width: 700px; height: 700px; top: -200px; right: -150px; animation-duration: 28s; }
.geo-ring:nth-child(2) { width: 420px; height: 420px; top: 8%;   right: 8%;   border-color: rgba(245,166,35,0.10); animation-duration: 20s; animation-direction: reverse; }
.geo-ring:nth-child(3) { width: 220px; height: 220px; bottom: 15%; left: 8%;  border-color: rgba(200,16,46,0.15); animation-duration: 16s; }

@keyframes spinRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.geo-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.geo-glow:nth-child(4) { width: 500px; height: 500px; top: -100px; right: -100px; background: rgba(26,58,143,0.15); }
.geo-glow:nth-child(5) { width: 300px; height: 300px; bottom: 5%; left: -50px; background: rgba(200,16,46,0.10); }

.geo-dot {
  position: absolute;
  border-radius: 50%;
  animation: pulseDot 3s ease-in-out infinite;
}

.geo-dot:nth-child(6) { width: 5px; height: 5px; top: 22%; left: 18%; background: rgba(245,166,35,0.55); }
.geo-dot:nth-child(7) { width: 7px; height: 7px; top: 55%; left: 7%;  background: rgba(255,255,255,0.25); animation-delay: 1s; }
.geo-dot:nth-child(8) { width: 4px; height: 4px; top: 38%; right: 22%; background: rgba(200,16,46,0.55); animation-delay: 2s; }
.geo-dot:nth-child(9) { width: 6px; height: 6px; bottom: 28%; right: 38%; background: rgba(245,166,35,0.40); animation-delay: 0.5s; }

@keyframes pulseDot { 0%,100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(2.2); } }

/* Hero layout */
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-left { display: flex; flex-direction: column; }

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(200,16,46,0.14);
  border: 1px solid rgba(200,16,46,0.28);
  color: #FF8096;
  font-family: var(--f-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--academic-red);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.028em;
  color: var(--white);
  margin-bottom: 1.75rem;
  animation: fadeUp 0.9s var(--ease-out) 0.4s both;
}

.hero-headline .hl-italic { font-style: italic; color: var(--gold); }
.hero-headline .hl-red    { color: #FF7088; font-size: 0.68em; font-style: normal; font-weight: 600; display: block; margin-top: 0.3em; }

.hero-sub {
  font-family: var(--f-accent);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s var(--ease-out) 0.6s both;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
  animation: fadeUp 1s var(--ease-out) 0.8s both;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--f-accent);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeUp 1s var(--ease-out) 1s both;
}

.scroll-bar { width: 36px; height: 1px; background: rgba(255,255,255,0.2); }

/* Hero right card */
.hero-right { animation: fadeLeft 1s var(--ease-out) 0.5s both; }

.hero-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3/4.2;
  box-shadow: 0 48px 96px rgba(0,0,0,0.55);
}

.hero-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-card-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,12,31,0.05) 30%, rgba(6,12,31,0.88) 100%);
}

/* Floating stat cards on hero image */
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(6,12,31,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--r-md);
  padding: 0.85rem 1.1rem;
  animation: floatUp 4s ease-in-out infinite;
}

.hero-float:nth-of-type(1) { top: 14%; right: -20px; animation-delay: 0s; }
.hero-float:nth-of-type(2) { top: 46%; left: -24px; animation-delay: 1.5s; animation-duration: 4.8s; }
.hero-float:nth-of-type(3) { bottom: 20%; left: -26px; animation-delay: 0.75s; animation-duration: 5s; }

@keyframes floatUp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hf-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hf-icon.red  { background: rgba(200,16,46,0.2);   color: #FF8096; }
.hf-icon.gold { background: rgba(245,166,35,0.2);  color: var(--gold); }
.hf-icon.blue { background: rgba(26,58,143,0.3);   color: #7BA7FF; }

.hf-info { display: flex; flex-direction: column; }
.hf-num   { font-family: var(--f-accent); font-size: 1.1rem; font-weight: 800; color: white; line-height: 1; }
.hf-label { font-family: var(--f-body);   font-size: 0.66rem; color: rgba(255,255,255,0.5); margin-top: 0.1rem; }

.hero-card-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hcb-badge {
  background: var(--g-red);
  color: white;
  font-family: var(--f-accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hcb-sub {
  font-family: var(--f-accent);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
}

/* Hero stats strip */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2rem 0;
}

.stats-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  flex: 1;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.09);
  min-width: 0;
}

.stat-cell:last-child { border-right: none; }

.stat-num {
  font-family: var(--f-accent);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.stat-num.clr-red  { color: #FF8096; }
.stat-num.clr-gold { color: var(--gold-light); }
.stat-num.clr-blue { color: #7BA7FF; }
.stat-num.clr-grn  { color: #6EE7B7; }

.stat-lbl {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ============================================================
   10. INNER PAGE HERO  (shared across all inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}

/* Dark variant */
.page-hero.ph-dark {
  background: var(--g-hero);
}

.page-hero.ph-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,58,143,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,58,143,0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.page-hero.ph-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, var(--midnight) 85%);
  pointer-events: none;
}

/* Light variant */
.page-hero.ph-light {
  background: linear-gradient(160deg, var(--off-white) 0%, var(--light) 100%);
  border-bottom: 1px solid var(--border);
}

/* Image variant */
.page-hero.ph-image {
  min-height: 480px;
  color: white;
}

.page-hero.ph-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.page-hero.ph-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,12,31,0.95) 0%, rgba(13,27,75,0.75) 100%);
}

/* Warm/red variant */
.page-hero.ph-warm {
  background: linear-gradient(135deg, #9B0B22 0%, var(--academic-red) 50%, #E8344A 100%);
  color: white;
  overflow: hidden;
}

.page-hero.ph-warm::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

/* Gold/achievement variant */
.page-hero.ph-dark-gold {
  background: linear-gradient(135deg, #060C1F 0%, #1A1200 50%, #2A1A00 100%);
  color: white;
}

.page-hero.ph-dark-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,166,35,0.15) 0%, transparent 60%);
}

.ph-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.ph-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-accent);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.page-hero.ph-light .ph-breadcrumb { color: var(--text-muted); }

.ph-breadcrumb a { transition: color 0.25s; }
.ph-breadcrumb a:hover { color: var(--gold); }

.ph-breadcrumb .sep { opacity: 0.4; }

.ph-headline {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero.ph-light .ph-headline { color: var(--text-dark); }

.ph-sub {
  font-family: var(--f-accent);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
}

.page-hero.ph-light .ph-sub { color: var(--text-muted); }

.ph-btns { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Decorative big number in page hero */
.ph-deco-num {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-accent);
  font-size: clamp(10rem, 20vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

.page-hero.ph-light .ph-deco-num { color: rgba(0,0,0,0.04); }

/* ============================================================
   11. HOME — ABOUT PREVIEW
   ============================================================ */
#h-about {
  padding: var(--section-py) 0;
  background: var(--white);
  overflow: hidden;
}

.ha-layout { align-items: start; }

.ha-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--s-xl);
}

.ha-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
}

.ha-visual:hover img { transform: scale(1.04); }

.ha-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6,12,31,0.8) 100%);
}

.ha-visual-label {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  right: 1.5rem;
}

.ha-visual-label h4 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.2rem;
}

.ha-visual-label p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-family: var(--f-accent);
}

/* Floating badge on about image */
.ha-badge {
  position: absolute;
  top: 1.5rem; right: -20px;
  background: var(--g-gold);
  color: var(--text-dark);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  font-family: var(--f-accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--s-gold);
  max-width: 150px;
  line-height: 1.45;
}

.ha-content { padding-top: 1rem; }

.ha-quote {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--royal-blue);
  line-height: 1.6;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
}

.ha-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.ha-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin: 2rem 0;
}

.ha-pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--off-white);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.ha-pillar:hover { background: var(--white); box-shadow: var(--s-sm); border-color: var(--border-dark); }

.ha-pillar-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ha-pillar:nth-child(1) .ha-pillar-icon { background: rgba(200,16,46,0.08);   color: var(--academic-red); }
.ha-pillar:nth-child(2) .ha-pillar-icon { background: rgba(26,58,143,0.08);   color: var(--royal-blue); }
.ha-pillar:nth-child(3) .ha-pillar-icon { background: rgba(245,166,35,0.12);  color: #9A6A00; }
.ha-pillar:nth-child(4) .ha-pillar-icon { background: rgba(34,197,94,0.08);   color: #15803d; }

.ha-pillar h5 {
  font-family: var(--f-accent);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.ha-pillar p { font-size: 0.75rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   12. HOME — PROGRAMS PREVIEW
   ============================================================ */
#h-programs {
  padding: var(--section-py) 0;
  background: var(--off-white);
  overflow: hidden;
}

.hp-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hp-header p { max-width: 340px; text-align: right; color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* Program cards grid */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 1.25rem;
}

.prog-card {
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.prog-card.span-2 { grid-column: span 2; }
.prog-card.span-3 {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}
.prog-card.span-3 .pc-icon  { margin-bottom: 0; flex-shrink: 0; }
.prog-card.span-3 .pc-title { font-size: 1.5rem; }
.prog-card.span-3 .pc-desc  { margin-bottom: 0; max-width: 72ch; }

.prog-card::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.07;
  transition: transform 0.5s var(--ease-out);
}

.prog-card:hover { transform: translateY(-5px); }
.prog-card:hover::before { transform: scale(1.5); }

/* Card themes */
.pc-navy  { background: var(--deep-navy); color: white; }
.pc-blue  { background: var(--royal-blue); color: white; }
.pc-red   { background: var(--academic-red); color: white; }
.pc-gold  { background: var(--gold); color: var(--text-dark); }
.pc-light { background: var(--white); color: var(--text-dark); border: 1px solid var(--border); }
.pc-off   { background: var(--off-white); color: var(--text-dark); border: 1px solid var(--border); }
.pc-blue-pale  { background: linear-gradient(135deg, #EEF2FF, #E8EEFF); color: var(--deep-navy); border: 1px solid rgba(26,58,143,0.12); }
.pc-gold-pale  { background: linear-gradient(135deg, #FFF8E8, #FFF0C0); color: var(--text-dark); border: 1px solid rgba(245,166,35,0.18); }
.pc-red-deep   { background: var(--red-deep); color: white; }
.pc-dark  { background: var(--midnight); color: white; }

.prog-card:hover { box-shadow: var(--s-xl); }
.pc-light:hover, .pc-off:hover, .pc-blue-pale:hover, .pc-gold-pale:hover { box-shadow: var(--s-lg); }

.pc-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.pc-navy .pc-icon, .pc-blue .pc-icon, .pc-red .pc-icon, .pc-red-deep .pc-icon, .pc-dark .pc-icon { background: rgba(255,255,255,0.11); }
.pc-gold .pc-icon  { background: rgba(0,0,0,0.08); }
.pc-light .pc-icon { background: rgba(26,58,143,0.07); color: var(--royal-blue); }
.pc-off .pc-icon   { background: rgba(26,58,143,0.07); color: var(--royal-blue); }
.pc-blue-pale .pc-icon { background: rgba(26,58,143,0.1); color: var(--royal-blue); }
.pc-gold-pale .pc-icon { background: rgba(200,16,46,0.1); color: var(--academic-red); }

.pc-title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.prog-card.span-2 .pc-title { font-size: 1.5rem; }

.pc-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  opacity: 0.72;
  flex: 1;
  margin-bottom: 1.5rem;
}

.pc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.45;
  font-size: 0.8rem;
  transition: all 0.3s var(--ease-spring);
  color: inherit;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
}

.prog-card:hover .pc-arrow { opacity: 1; transform: rotate(-45deg) scale(1.1); }

/* ============================================================
   13. HOME — WHY YBRANT STRIP
   ============================================================ */
#h-why {
  padding: var(--section-py) 0;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

#h-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,58,143,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,58,143,0.1) 1px, transparent 1px);
  background-size: 56px 56px;
}

#h-why::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 25%, var(--midnight) 80%);
}

.hw-inner { position: relative; z-index: 1; }

.hw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: clamp(2.5rem, 4vw, 4rem);
  border: 1px solid rgba(255,255,255,0.07);
}

.hw-card {
  background: rgba(6,12,31,0.8);
  padding: 2rem 1.75rem;
  transition: background 0.3s, transform 0.3s;
  cursor: default;
}

.hw-card:hover { background: rgba(26,58,143,0.15); }

.hw-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  color: var(--gold);
  transition: all 0.35s;
  flex-shrink: 0;
}

.hw-card:hover .hw-card-icon {
  background: rgba(245,166,35,0.25);
  transform: scale(1.08);
}

.hw-card h3 {
  font-family: var(--f-accent);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.hw-card p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ============================================================
   14. HOME — LIFE TICKER + GRID
   ============================================================ */
#h-life {
  padding: var(--section-py) 0;
  background: var(--off-white);
  overflow: hidden;
}

/* Ticker */
.ticker-wrap {
  overflow: hidden;
  background: var(--midnight);
  border-radius: var(--r-pill);
  padding: 0.75rem 0;
  margin: 1.5rem 0 2.5rem;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255,255,255,0.65);
  font-family: var(--f-accent);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.ticker-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0.7; flex-shrink: 0; }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ticker-wrap:hover .ticker-track { animation-play-state: paused; }

/* Life mosaic grid */
.life-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 240px;
  gap: 0.875rem;
}

.life-tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
}

.life-tile.wide { grid-column: span 2; }
.life-tile.tall { grid-row: span 2; }

.life-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.life-tile:hover img { transform: scale(1.06); }

.life-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,12,31,0.04) 0%, rgba(6,12,31,0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background 0.4s;
}

.life-tile:hover .life-tile-overlay { background: linear-gradient(180deg, rgba(26,46,122,0.2) 0%, rgba(6,12,31,0.88) 100%); }

.lt-cat {
  font-family: var(--f-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.lt-title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  line-height: 1.25;
}

.life-tile.wide .lt-title { font-size: 1.4rem; }

/* ============================================================
   15. HOME — TESTIMONIALS
   ============================================================ */
#h-testimonials {
  padding: var(--section-py) 0;
  background: var(--white);
  overflow: hidden;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testi-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.4s var(--ease-out);
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: var(--f-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(26,58,143,0.06);
  pointer-events: none;
}

.testi-card.featured {
  background: var(--g-blue);
  border-color: transparent;
}

.testi-card.featured::before { color: rgba(255,255,255,0.07); }

.testi-card:hover { transform: translateY(-5px); box-shadow: var(--s-lg); border-color: transparent; }
.testi-card.featured:hover { box-shadow: var(--s-blue); }

.testi-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.testi-stars .s { color: var(--gold); font-size: 0.85rem; }
.testi-card.featured .testi-stars .s { color: var(--gold-light); }

.testi-quote {
  font-family: var(--f-display);
  font-size: 0.98rem;
  line-height: 1.72;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.testi-card.featured .testi-quote { color: rgba(255,255,255,0.88); }

.testi-author { display: flex; align-items: center; gap: 0.85rem; }

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}

.testi-info h4 {
  font-family: var(--f-accent);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testi-card.featured .testi-info h4 { color: white; }

.testi-info p { font-size: 0.75rem; color: var(--text-muted); }
.testi-card.featured .testi-info p { color: rgba(255,255,255,0.55); }

/* ============================================================
   16. HOME — CTA SECTION
   ============================================================ */
#h-cta {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: var(--g-red);
  position: relative;
  overflow: hidden;
}

#h-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.hcta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
}

.hcta-text h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hcta-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-top: 0.6rem;
  font-family: var(--f-accent);
}

.hcta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.85rem; }

/* ============================================================
   17. ABOUT PAGE SECTIONS
   ============================================================ */

/* Timeline */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--royal-blue), rgba(26,58,143,0.15));
}

.tl-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -2.45rem;
  top: 0.25rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-accent);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  z-index: 1;
  transition: all 0.3s;
}

.tl-item.active .tl-dot {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: white;
  box-shadow: var(--s-blue);
}

.tl-year {
  font-family: var(--f-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-bottom: 0.35rem;
}

.tl-item h4 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.tl-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.35s var(--ease-out);
}

.value-card:hover { transform: translateY(-4px); box-shadow: var(--s-lg); border-color: transparent; }

.value-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--royal-blue), #2550D4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.35rem;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
  box-shadow: none;
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: none;
}

.value-card h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.value-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* Director message */
.director-section {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

.director-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--s-lg);
}

.director-photo img { width: 100%; height: 100%; object-fit: cover; }

.director-content .dc-label {
  font-family: var(--f-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--academic-red);
  margin-bottom: 0.5rem;
}

.director-content h2 {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.director-content .dc-role {
  font-family: var(--f-accent);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.director-quote {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--royal-blue);
  line-height: 1.6;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(26,58,143,0.04);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 1.25rem 0;
}

.director-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 0.875rem; }

/* ============================================================
   18. PROGRAMS PAGE
   ============================================================ */

/* Tabs */
.prog-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--light);
  border-radius: var(--r-pill);
  padding: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.prog-tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 0.7rem 1.25rem;
  font-family: var(--f-accent);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--r-pill);
  transition: all 0.3s var(--ease-out);
  text-align: center;
  cursor: pointer;
  border: none;
  background: none;
  white-space: nowrap;
}

.prog-tab-btn.active {
  background: var(--white);
  color: var(--royal-blue);
  box-shadow: var(--s-sm);
}

.prog-panel { display: none; }
.prog-panel.active { display: block; animation: fadeIn 0.4s var(--ease-out); }

/* Program detail layout */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.pd-content h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.pd-classes {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(26,58,143,0.08);
  color: var(--royal-blue);
  font-family: var(--f-accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}

.pd-content p { font-size: 0.98rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }

.pd-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.pd-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.875rem;
  background: var(--off-white);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

.pd-feature i {
  color: var(--royal-blue);
  font-size: 0.875rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.pd-feature span { font-size: 0.84rem; color: var(--text-body); line-height: 1.5; }

.pd-sidebar {}

.pd-quick-card {
  background: var(--g-hero);
  border-radius: var(--r-xl);
  padding: 2rem;
  color: white;
  margin-bottom: 1.25rem;
}

.pd-quick-card h4 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.pd-quick-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}

.pd-quick-item:last-child { border-bottom: none; }
.pd-quick-item .qi-label { color: rgba(255,255,255,0.55); }
.pd-quick-item .qi-val   { color: white; font-weight: 600; font-family: var(--f-accent); }

.pd-cta-card {
  background: var(--g-red);
  border-radius: var(--r-xl);
  padding: 2rem;
  text-align: center;
  color: white;
}

.pd-cta-card h4 { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.pd-cta-card p  { font-size: 0.85rem; opacity: 0.78; margin-bottom: 1.5rem; line-height: 1.6; }

/* ============================================================
   19. CAMPUS PAGE
   ============================================================ */

.facility-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 1rem;
}

.facility-tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
}

.facility-tile.wide { grid-column: span 2; }
.facility-tile.tall { grid-row: span 2; }

.facility-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.facility-tile:hover img { transform: scale(1.07); }

.ft-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,12,31,0.05) 0%, rgba(6,12,31,0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background 0.4s;
}

.facility-tile:hover .ft-overlay { background: linear-gradient(180deg, rgba(26,46,122,0.15) 0%, rgba(6,12,31,0.92) 100%); }

.ft-cat {
  font-family: var(--f-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.ft-title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: white;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.facility-tile.wide .ft-title { font-size: 1.5rem; }

.ft-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
  line-height: 1.55;
}

.facility-tile:hover .ft-desc { max-height: 64px; }

/* ============================================================
   20. ADMISSIONS PAGE
   ============================================================ */

/* Process steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ps-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.ps-step:not(:last-child) .ps-line {
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: -20px;
  width: 2px;
  background: linear-gradient(180deg, var(--royal-blue) 0%, rgba(26,58,143,0.15) 100%);
}

.ps-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-accent);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s;
  z-index: 1;
  position: relative;
}

.ps-step.active .ps-num {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: white;
  box-shadow: var(--s-blue);
}

.ps-content { padding: 0.35rem 0 2.5rem; }

.ps-content h3 {
  font-family: var(--f-accent);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.ps-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Premium form */
.adm-form-card {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--s-md);
}

.adm-form-title {
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.adm-form-sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.75rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fg-full { grid-column: span 2; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-group label {
  font-family: var(--f-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6480' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(26,58,143,0.10);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-submit-row { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item.open { border-color: rgba(26,58,143,0.2); box-shadow: var(--s-sm); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.faq-q h4 {
  font-family: var(--f-accent);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.7rem;
  transition: all 0.35s var(--ease-spring);
}

.faq-item.open .faq-icon {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: white;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s;
}

.faq-item.open .faq-a { max-height: 300px; }

.faq-a p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Documents checklist */
.docs-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.875rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: all 0.25s;
}

.doc-item:hover { background: var(--off-white); border-color: var(--border-dark); }

.doc-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  color: #15803d;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.doc-item span { font-size: 0.875rem; color: var(--text-body); }

/* ============================================================
   21. ACHIEVEMENTS PAGE
   ============================================================ */

.ach-hero-dashboard {
  background: linear-gradient(135deg, #060C1F 0%, #0D1B4B 100%);
  border-radius: var(--r-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.ach-hero-dashboard::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(200,16,46,0.07);
}

.ach-hero-dashboard::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(245,166,35,0.05);
}

.ach-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.ach-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.ach-stat-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}

.asc-icon { font-size: 1.75rem; margin-bottom: 0.75rem; display: block; }
.asc-num {
  font-family: var(--f-accent);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.asc-num.clr-red  { color: #FF8096; }
.asc-num.clr-gold { color: var(--gold-light); }
.asc-num.clr-blue { color: #7BA7FF; }
.asc-num.clr-grn  { color: #6EE7B7; }
.asc-num.clr-pur  { color: #C4B5FD; }

.asc-label { font-family: var(--f-accent); font-size: 0.76rem; color: rgba(255,255,255,0.45); }

/* Awards badges row */
.awards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.award-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-pill);
  padding: 0.45rem 1rem;
  font-family: var(--f-accent);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  transition: all 0.25s;
}

.award-chip:hover { background: rgba(255,255,255,0.1); color: white; }
.award-chip .aw-em { font-size: 0.875rem; }

/* Toppers grid */
.toppers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.topper-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.35s var(--ease-out);
}

.topper-card:hover { transform: translateY(-5px); box-shadow: var(--s-lg); border-color: transparent; }

.topper-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold);
}

.topper-rank {
  display: inline-block;
  background: var(--g-gold);
  color: var(--text-dark);
  font-family: var(--f-accent);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-pill);
  margin-bottom: 0.75rem;
}

.topper-card h4 {
  font-family: var(--f-accent);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.topper-card .tc-class { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.topper-card .tc-score {
  font-family: var(--f-accent);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--royal-blue);
  letter-spacing: -0.03em;
}

/* ============================================================
   22. CONTACT PAGE
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-col h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-info-col > p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.75; margin-bottom: 2rem; }

.contact-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.3s;
}

.contact-card:hover { background: var(--white); box-shadow: var(--s-sm); border-color: var(--border-dark); }

.cc-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.cc-icon.red  { background: rgba(200,16,46,0.08);  color: var(--academic-red); }
.cc-icon.blue { background: rgba(26,58,143,0.08);  color: var(--royal-blue); }
.cc-icon.gold { background: rgba(245,166,35,0.12); color: #9A6A00; }
.cc-icon.grn  { background: rgba(34,197,94,0.08);  color: #15803d; }

.cc-info h4 { font-family: var(--f-accent); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.35rem; }
.cc-info p, .cc-info a { font-size: 0.9rem; color: var(--text-dark); line-height: 1.55; }
.cc-info a { transition: color 0.25s; }
.cc-info a:hover { color: var(--royal-blue); }

.contact-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--border);
  box-shadow: var(--s-sm);
}

.contact-map iframe { width: 100%; height: 100%; border: none; display: block; }

.contact-form-card {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--s-md);
}

/* ============================================================
   23. FOOTER
   ============================================================ */
#footer {
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,58,143,0.5), var(--gold), rgba(200,16,46,0.4), transparent);
}

.footer-admit-strip {
  background: var(--g-red);
  padding: 0.875rem 0;
}

.footer-admit-strip .fas-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-family: var(--f-accent);
  font-size: 0.875rem;
  color: white;
  font-weight: 600;
}

.fas-inner .sep { opacity: 0.4; }

.fas-inner a {
  background: white;
  color: var(--academic-red);
  padding: 0.28rem 0.9rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.fas-inner a:hover { background: var(--gold); color: var(--text-dark); }

.footer-main { padding: 4rem 0 3rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  margin-bottom: 1.25rem;
  border-radius: 8px;
}

.footer-tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 250px;
}

.footer-social { display: flex; gap: 0.55rem; }

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.11);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: white;
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: var(--f-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.1rem 0;
}

.footer-links a::before {
  content: '→';
  font-size: 0.65rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s;
}

.footer-links a:hover { color: var(--white); padding-left: 0.5rem; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

.footer-contact { display: flex; flex-direction: column; gap: 0.85rem; }

.fc-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.fc-item i {
  color: var(--gold);
  font-size: 0.82rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 14px;
}

.fc-item span { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.fc-item a { color: rgba(255,255,255,0.65); transition: color 0.25s; }
.fc-item a:hover { color: white; }

.footer-newsletter {}
.footer-newsletter p { font-size: 0.84rem; color: rgba(255,255,255,0.45); margin-bottom: 1rem; line-height: 1.65; }

.nl-form { display: flex; gap: 0.5rem; }

.nl-form input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  color: white;
  font-size: 0.84rem;
  outline: none;
  transition: all 0.25s;
}

.nl-form input::placeholder { color: rgba(255,255,255,0.28); }
.nl-form input:focus { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.1); }

.nl-form button {
  padding: 0.65rem 1.2rem;
  background: var(--g-red);
  color: white;
  border-radius: var(--r-sm);
  font-family: var(--f-accent);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.nl-form button:hover { transform: translateY(-1px); box-shadow: var(--s-red); }

.footer-map-mini {
  margin-top: 1.5rem;
  border-radius: var(--r-sm);
  overflow: hidden;
  height: 130px;
  border: 1px solid rgba(255,255,255,0.09);
}

.footer-map-mini iframe { width: 100%; height: 100%; border: none; display: block; }

.footer-hours { margin-top: 1.5rem; }

.footer-hours h5 { margin-bottom: 0.75rem; }

.fh-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fh-row:last-child { border-bottom: none; }
.fh-row .fh-day { color: rgba(255,255,255,0.4); }
.fh-row .fh-time { color: rgba(255,255,255,0.72); font-weight: 600; font-family: var(--f-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.25s; }
.footer-bottom a:hover { color: white; }

/* ============================================================
   24. FLOATING ACTION BUTTONS
   ============================================================ */
.floating-actions {
  position: fixed;
  bottom: 1.75rem;
  right: 1.5rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}

.fa-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: white;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
  box-shadow: var(--s-lg);
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.fa-btn:hover { transform: scale(1.12) translateY(-2px); }

.fa-wa { background: #25D366; }
.fa-wa:hover { box-shadow: 0 16px 40px rgba(37,211,102,0.45); }

.fa-call { background: var(--royal-blue); }
.fa-call:hover { box-shadow: var(--s-blue); }

.fa-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%; transform: translateY(-50%);
  background: rgba(6,12,31,0.92);
  color: white;
  font-family: var(--f-accent);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%) translateX(8px);
  transition: all 0.3s var(--ease-out);
  pointer-events: none;
}

.fa-btn:hover .fa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ============================================================
   A. HOME ABOUT SECTION
   ============================================================ */
#h-about { overflow: hidden; }

.ha-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.ha-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 600px;
  box-shadow: var(--s-xl);
}

.ha-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.ha-visual:hover img { transform: scale(1.04); }

.ha-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,12,31,0.7) 100%);
}

.ha-visual-label {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  right: 1.75rem;
  color: white;
}

.ha-visual-label h4 {
  font-family: var(--f-accent);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.ha-visual-label p {
  font-family: var(--f-accent);
  font-size: 0.8rem;
  opacity: 0.65;
}

.ha-badge {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  background: rgba(245,166,35,0.95);
  color: var(--text-dark);
  font-family: var(--f-accent);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  box-shadow: var(--s-md);
}

.ha-content { display: flex; flex-direction: column; gap: 1.5rem; }
.ha-quote {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--royal-blue);
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.ha-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.ha-pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(0,0,0,0.03);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s;
}

.ha-pillar:hover { border-color: rgba(26,58,143,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.06); transform: translateY(-3px); }

.ha-pillar-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--royal-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.ha-pillar h5 {
  font-family: var(--f-accent);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 0.25rem;
}

.ha-pillar p {
  font-family: var(--f-accent);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   B. PROGRAMS PREVIEW GRID (Home)
   ============================================================ */
#h-programs { background: var(--off-white); }

.hp-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

.hp-header p {
  max-width: 380px;
  color: var(--text-muted);
  font-family: var(--f-accent);
  font-size: 1rem;
  line-height: 1.7;
  flex-shrink: 0;
}

.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.prog-card {
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  cursor: default;
}

.prog-card:hover { transform: translateY(-5px); box-shadow: var(--s-xl); }

.prog-card.span-2 { grid-column: span 2; }
.prog-card.span-3 {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}
.prog-card.span-3 .pc-icon  { margin-bottom: 0; flex-shrink: 0; }
.prog-card.span-3 .pc-title { font-size: 1.5rem; }
.prog-card.span-3 .pc-desc  { margin-bottom: 0; max-width: 72ch; }

/* Color variants */
.pc-navy     { background: var(--deep-navy); color: white; }
.pc-blue     { background: var(--royal-blue); color: white; }
.pc-red      { background: var(--academic-red); color: white; }
.pc-gold     { background: var(--gold); color: var(--text-dark); }
.pc-dark     { background: var(--midnight); color: white; }
.pc-light    { background: var(--off-white); color: var(--text-dark); border: 1px solid var(--border); }
.pc-off      { background: var(--white); color: var(--text-dark); border: 1px solid var(--border); }
.pc-blue-pale { background: rgba(26,58,143,0.07); color: var(--deep-navy); border: 1px solid rgba(26,58,143,0.12); }
.pc-gold-pale { background: var(--gold-pale); color: var(--text-dark); }
.pc-red-deep { background: var(--red-deep); color: white; }

.pc-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.pc-title {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.pc-desc {
  font-family: var(--f-accent);
  font-size: 0.93rem;
  line-height: 1.7;
  opacity: 0.75;
  margin-bottom: 1.5rem;
}

.pc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: inherit;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-spring);
}

.prog-card:hover .pc-arrow { transform: translate(3px,-3px); background: rgba(255,255,255,0.22); }

.pc-blue-pale .pc-arrow, .pc-gold-pale .pc-arrow {
  background: rgba(0,0,0,0.08);
}

/* ============================================================
   C. WHY YBRANT (Dark section)
   ============================================================ */
#h-why {
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

#h-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,58,143,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hw-inner { position: relative; z-index: 1; }

.hw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.hw-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: all 0.35s var(--ease-out);
  backdrop-filter: blur(4px);
}

.hw-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(245,166,35,0.25);
  transform: translateY(-4px);
}

.hw-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  color: var(--gold);
  transition: all 0.35s;
  flex-shrink: 0;
}

.hw-card h3 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.hw-card p {
  font-family: var(--f-accent);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ============================================================
   D. STUDENT LIFE + TICKER + MOSAIC
   ============================================================ */
#h-life {}

.ticker-wrap {
  overflow: hidden;
  margin-bottom: 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

.ticker-track {
  display: flex;
  align-items: center;
}

.ticker-row {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-accent);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  padding: 0 1.25rem;
  text-transform: uppercase;
  text-wrap: nowrap;
}

.ticker-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--academic-red);
  display: inline-block;
  margin-right: 0.75rem;
}

.life-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 320px 260px;
  gap: 1rem;
}

.life-tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
}

.life-tile.wide { grid-column: span 2; }
.life-tile.tall { grid-row: span 2; }

.life-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.life-tile:hover img { transform: scale(1.07); }

.life-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,12,31,0.88) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background 0.35s;
}

.life-tile:hover .life-tile-overlay {
  background: linear-gradient(180deg, rgba(6,12,31,0.2) 0%, rgba(6,12,31,0.92) 100%);
}

.lt-cat {
  font-family: var(--f-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.lt-title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

/* ============================================================
   E. TESTIMONIALS
   ============================================================ */
#h-testimonials {}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.testi-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-out);
}

.testi-card:hover { transform: translateY(-5px); box-shadow: var(--s-lg); border-color: var(--border-dark); }

.testi-card.featured {
  background: var(--deep-navy);
  border-color: transparent;
  color: white;
}

.testi-stars { margin-bottom: 1.25rem; }

.testi-stars .s {
  color: var(--gold);
  font-size: 1rem;
}

.testi-card.featured .testi-stars .s { color: var(--gold-light); }

.testi-quote {
  font-family: var(--f-accent);
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.5rem;
}

.testi-card.featured .testi-quote { color: rgba(255,255,255,0.72); }

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.testi-card.featured .testi-avatar { border-color: rgba(255,255,255,0.2); }

.testi-info h4 {
  font-family: var(--f-accent);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testi-card.featured .testi-info h4 { color: white; }

.testi-info p {
  font-family: var(--f-accent);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.testi-card.featured .testi-info p { color: rgba(255,255,255,0.45); }

/* ============================================================
   F. HOME CTA SECTION (#h-cta)
   ============================================================ */
#h-cta {
  background: linear-gradient(135deg, var(--academic-red) 0%, var(--red-deep) 100%);
  padding: clamp(4rem, 6vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

#h-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hcta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.hcta-text h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.hcta-text p {
  font-family: var(--f-accent);
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

.hcta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   G. HERO STATS STRIP
   ============================================================ */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
}

.stats-row {
  display: flex;
  align-items: center;
}

.stat-cell {
  flex: 1;
  padding: 1.4rem 0;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.stat-cell:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: var(--f-accent);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.clr-gold  { color: var(--gold); }
.clr-blue  { color: #60a5fa; }
.clr-red   { color: #f87171; }
.clr-grn   { color: #34d399; }
.clr-pur   { color: #c084fc; }

.stat-lbl {
  display: block;
  font-family: var(--f-accent);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
}

/* ============================================================
   H. HERO FLOATING CARD
   ============================================================ */
.hero-right { display: flex; align-items: center; justify-content: flex-end; }

.hero-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  animation: heroCardFloat 6s ease-in-out infinite;
}

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-card img {
  width: 100%; height: 420px;
  object-fit: cover;
  display: block;
}

.hero-card-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6,12,31,0.85) 100%);
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(6,12,31,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 0.65rem 0.9rem;
}

.hero-float:nth-child(3) { bottom: 130px; left: -30px; }
.hero-float:nth-child(4) { top: 40px; right: -20px; }
.hero-float:nth-child(5) { bottom: 55px; right: -25px; }

.hf-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hf-icon.gold { background: rgba(245,166,35,0.2); color: var(--gold); }
.hf-icon.red  { background: rgba(200,16,46,0.2);  color: #f87171; }
.hf-icon.blue { background: rgba(26,58,143,0.25); color: #60a5fa; }

.hf-num {
  display: block;
  font-family: var(--f-accent);
  font-size: 0.95rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.hf-label {
  display: block;
  font-family: var(--f-accent);
  font-size: 0.67rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.15rem;
  white-space: nowrap;
}

.hero-card-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hcb-badge {
  font-family: var(--f-accent);
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
}

.hcb-sub {
  font-family: var(--f-accent);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   I. HERO LEFT SIDE ELEMENTS
   ============================================================ */
.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: white;
  margin: 1.25rem 0 1.5rem;
}

.hl-italic {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}

.hl-red {
  display: block;
  font-size: 0.42em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255,255,255,0.5);
  margin-top: 0.35rem;
  font-family: var(--f-accent);
}

.hero-sub {
  font-family: var(--f-accent);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.scroll-bar {
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.scroll-bar::after {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBarAnim 2.5s ease-in-out infinite;
}

@keyframes scrollBarAnim {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

/* ============================================================
   J. FOOTER
   ============================================================ */
#footer {}

.footer-admit-strip {
  background: linear-gradient(90deg, var(--royal-blue), var(--deep-navy));
  padding: 0.9rem 0;
}

.fas-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-family: var(--f-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.fas-inner .sep { color: rgba(255,255,255,0.25); }

.fas-inner a {
  color: var(--gold-light);
  font-weight: 700;
  transition: opacity 0.2s;
}

.fas-inner a:hover { opacity: 0.8; }

.footer-main {
  background: var(--midnight);
  padding: clamp(3.5rem, 5vw, 5.5rem) 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  gap: 3rem;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  border-radius: 8px;
}

.footer-tagline {
  font-family: var(--f-accent);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: white;
  transform: translateY(-3px);
}

.footer-col h5 {
  font-family: var(--f-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-family: var(--f-accent);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover { color: white; padding-left: 0.3rem; }

.footer-contact { display: flex; flex-direction: column; gap: 1rem; }

.fc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.fc-item i {
  width: 16px;
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.fc-item span {
  font-family: var(--f-accent);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.fc-item a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.fc-item a:hover { color: white; }

.footer-newsletter p {
  font-family: var(--f-accent);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.nl-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.nl-form input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  padding: 0.65rem 0.9rem;
  color: white;
  font-family: var(--f-accent);
  font-size: 0.85rem;
  transition: border-color 0.25s;
}

.nl-form input::placeholder { color: rgba(255,255,255,0.3); }
.nl-form input:focus { outline: none; border-color: var(--royal-blue); }

.nl-form button {
  background: var(--royal-blue);
  color: white;
  border: none;
  border-radius: var(--r-sm);
  padding: 0.65rem 1.1rem;
  font-family: var(--f-accent);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s;
}

.nl-form button:hover { background: #2550D4; }

.footer-hours { margin-bottom: 1.5rem; }

.fh-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--f-accent);
  font-size: 0.82rem;
}

.fh-day { color: rgba(255,255,255,0.45); }
.fh-time { color: rgba(255,255,255,0.72); font-weight: 600; }

.footer-map-mini {
  border-radius: var(--r-md);
  overflow: hidden;
  height: 140px;
}

.footer-map-mini iframe {
  width: 100%; height: 100%;
  border: none;
  filter: grayscale(0.4) brightness(0.85);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.footer-bottom p {
  font-family: var(--f-accent);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-bottom a:hover { color: white; }

/* ============================================================
   K. PAGE HEROES (Inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4rem) 0 4.5rem;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: inherit;
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

/* Dark navy hero */
.ph-dark {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--deep-navy) 60%, #1A2E7A 100%);
}

.ph-dark .ph-breadcrumb a,
.ph-dark .ph-breadcrumb span { color: rgba(255,255,255,0.45); }
.ph-dark .ph-breadcrumb { border-color: rgba(255,255,255,0.1); }

/* Light hero */
.ph-light {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}

.ph-light::after { display: none; }

.ph-light .ph-breadcrumb a,
.ph-light .ph-breadcrumb span { color: var(--text-muted); }
.ph-light .ph-breadcrumb { border-color: var(--border); }
.ph-light .ph-headline { color: var(--deep-navy); }
.ph-light .ph-sub { color: var(--text-muted); }

/* Warm/red hero */
.ph-warm {
  background: linear-gradient(135deg, var(--academic-red) 0%, var(--red-deep) 100%);
}

.ph-warm .ph-breadcrumb a,
.ph-warm .ph-breadcrumb span { color: rgba(255,255,255,0.5); }
.ph-warm .ph-breadcrumb { border-color: rgba(255,255,255,0.12); }

/* Dark gold hero (achievements) */
.ph-dark-gold {
  background: linear-gradient(135deg, var(--midnight) 0%, #1a1200 60%, #2d1e00 100%);
}

.ph-dark-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(245,166,35,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ph-dark-gold .ph-breadcrumb a,
.ph-dark-gold .ph-breadcrumb span { color: rgba(255,255,255,0.4); }
.ph-dark-gold .ph-breadcrumb { border-color: rgba(255,255,255,0.1); }

/* Image hero (campus) */
.ph-image {
  background-color: var(--midnight);
}

.ph-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.ph-image::after { display: none; }

.ph-image .container,
.ph-image .ph-inner { position: relative; z-index: 1; }

/* Inner content */
.ph-inner { position: relative; z-index: 2; max-width: 760px; }

.ph-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-accent);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ph-breadcrumb a { transition: opacity 0.2s; }
.ph-breadcrumb a:hover { opacity: 0.8; }

.ph-breadcrumb .sep { opacity: 0.35; }

.ph-headline {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.ph-sub {
  font-family: var(--f-accent);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2rem;
}

.ph-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.ph-deco-num {
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  bottom: -0.3em;
  font-family: var(--f-display);
  font-size: clamp(5rem, 14vw, 16rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.ph-dark .ph-deco-num,
.ph-warm .ph-deco-num,
.ph-dark-gold .ph-deco-num,
.ph-image .ph-deco-num { color: rgba(255,255,255,0.03); }

.ph-light .ph-deco-num { color: rgba(8,13,34,0.04); }

/* ============================================================
   L. CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-info-col > h2 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 0.75rem;
}

.contact-info-col > p {
  font-family: var(--f-accent);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: all 0.3s;
}

.contact-card:hover { border-color: var(--royal-blue); transform: translateY(-2px); box-shadow: var(--s-sm); }

.cc-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cc-icon.red  { background: rgba(200,16,46,0.1);  color: var(--academic-red); }
.cc-icon.blue { background: rgba(26,58,143,0.1);  color: var(--royal-blue); }
.cc-icon.gold { background: rgba(245,166,35,0.12); color: #9A6A00; }
.cc-icon.grn  { background: rgba(34,197,94,0.1);  color: #16a34a; }

.cc-info h4 {
  font-family: var(--f-accent);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 0.3rem;
}

.cc-info p, .cc-info a {
  font-family: var(--f-accent);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cc-info a { transition: color 0.2s; }
.cc-info a:hover { color: var(--royal-blue); }

.contact-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--s-md);
}

.contact-map iframe {
  display: block;
  border: none;
  width: 100%;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--s-md);
}

/* ============================================================
   M. ADMISSION FORM + PROCESS STEPS
   ============================================================ */
.process-steps { margin: 2rem 0; display: flex; flex-direction: column; gap: 0; }

.ps-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  position: relative;
  opacity: 0.4;
  transition: opacity 0.4s;
}

.ps-step.active { opacity: 1; }

.ps-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-accent);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.4s;
}

.ps-step.active .ps-num {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: white;
  box-shadow: 0 6px 20px rgba(26,58,143,0.35);
}

.ps-line {
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.ps-step:last-child .ps-line { display: none; }
.ps-step.active .ps-line { background: rgba(26,58,143,0.2); }

.ps-content h3 {
  font-family: var(--f-accent);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 0.35rem;
}

.ps-content p {
  font-family: var(--f-accent);
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Form */
.adm-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--s-md);
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.adm-form-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 0.4rem;
}

.adm-form-sub {
  font-family: var(--f-accent);
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.fg-full { grid-column: span 2; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--f-accent);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.7rem 0.9rem;
  font-family: var(--f-accent);
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,58,143,0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit-row { display: flex; flex-direction: column; gap: 0.75rem; }

.form-note {
  font-family: var(--f-accent);
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

/* Docs list */
.docs-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }

.doc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-accent);
  font-size: 0.93rem;
  color: var(--text-body);
}

.doc-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  border: 1.5px solid rgba(34,197,94,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; max-width: 860px; margin: 0 auto; }

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s;
  background: var(--white);
}

.faq-item.open { border-color: var(--royal-blue); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}

.faq-q h4 {
  font-family: var(--f-accent);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--deep-navy);
  flex: 1;
}

.faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq-icon::after { content: '+'; font-weight: 700; }

.faq-item.open .faq-icon {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: white;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), padding 0.3s;
}

.faq-item.open .faq-a { max-height: 200px; }

.faq-a p {
  padding: 0 1.5rem 1.25rem;
  font-family: var(--f-accent);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   N. ABOUT PAGE — TIMELINE + VALUES + DIRECTOR
   ============================================================ */
.timeline {
  border-left: 2px solid var(--border);
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  position: relative;
  padding-bottom: 2.25rem;
  opacity: 0.4;
  transition: opacity 0.4s;
}

.tl-item:last-child { padding-bottom: 0; }
.tl-item.active { opacity: 1; }

.tl-dot {
  position: absolute;
  left: -2.75rem;
  top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: all 0.4s;
}

.tl-item.active .tl-dot {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: white;
  box-shadow: 0 6px 20px rgba(26,58,143,0.30);
}

.tl-year {
  font-family: var(--f-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--academic-red);
  display: block;
  margin-bottom: 0.35rem;
}

.tl-item h4 {
  font-family: var(--f-accent);
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 0.35rem;
}

.tl-item p {
  font-family: var(--f-accent);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.tl-step {
  position: absolute;
  left: -2rem;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--royal-blue) 0%, rgba(26,58,143,0.15) 100%);
}

.tl-item:last-child .tl-step { display: none; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s;
}

.value-card:hover { transform: translateY(-5px); box-shadow: var(--s-md); border-color: var(--royal-blue); }

.value-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 0.75rem;
}

.value-card p {
  font-family: var(--f-accent);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.director-section {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--s-md);
}

.director-photo {
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.director-content {
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
}

.dc-label {
  font-family: var(--f-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--academic-red);
}

.director-content h2 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--deep-navy);
}

.dc-role {
  font-family: var(--f-accent);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.director-quote {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--deep-navy);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1.25rem;
  background: rgba(245,166,35,0.06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  line-height: 1.6;
  margin: 0.5rem 0;
}

/* ============================================================
   O. CAMPUS / FACILITY BENTO
   ============================================================ */
.facility-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 1rem;
  margin-top: 3rem;
}

.facility-tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
}

.facility-tile.wide { grid-column: span 2; }
.facility-tile.tall { grid-row: span 2; }

.facility-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.facility-tile:hover img { transform: scale(1.07); }

.ft-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,12,31,0) 30%, rgba(6,12,31,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  transition: background 0.35s;
}

.facility-tile:hover .ft-overlay {
  background: linear-gradient(180deg, rgba(6,12,31,0.15) 0%, rgba(6,12,31,0.92) 100%);
}

.ft-cat {
  font-family: var(--f-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.ft-title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.4rem;
}

.ft-desc {
  font-family: var(--f-accent);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}

.facility-tile:hover .ft-desc { max-height: 80px; }

/* ============================================================
   P. PROGRAMS TABS
   ============================================================ */
.prog-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.prog-tab-btn {
  font-family: var(--f-accent);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-pill);
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.prog-tab-btn i { font-size: 0.8rem; }

.prog-tab-btn:hover { color: var(--royal-blue); background: rgba(26,58,143,0.06); }

.prog-tab-btn.active {
  background: var(--royal-blue);
  color: white;
  box-shadow: 0 4px 16px rgba(26,58,143,0.3);
}

.prog-panel { display: none; }
.prog-panel.active { display: block; animation: fadeUp 0.4s var(--ease-out) both; }

/* ============================================================
   25. GENERAL COMPONENT REUSE
   ============================================================ */

/* Image cards */
.img-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--s-xl);
}

.img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Horizontal divider */
.h-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

/* ============================================================
   26. ANIMATIONS & REVEALS
   ============================================================ */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeRight{ from { opacity: 0; transform: translateX(-28px); }to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn  { from { opacity: 0; transform: scale(0.93); } to { opacity: 1; transform: scale(1); } }

/* Scroll reveals */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.rv.d1 { transition-delay: 0.10s; }
.rv.d2 { transition-delay: 0.20s; }
.rv.d3 { transition-delay: 0.30s; }
.rv.d4 { transition-delay: 0.40s; }
.rv.d5 { transition-delay: 0.50s; }
.rv.d6 { transition-delay: 0.60s; }
.rv.vis { opacity: 1; transform: translateY(0); }

.rv-l { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.rv-l.vis { opacity: 1; transform: translateX(0); }

.rv-r { opacity: 0; transform: translateX(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.rv-r.vis { opacity: 1; transform: translateX(0); }

.rv-s { opacity: 0; transform: scale(0.93); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.rv-s.vis { opacity: 1; transform: scale(1); }

/* ============================================================
   27. RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --nav-h: 68px; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-body { padding-top: calc(var(--nav-h) + 2rem); }
  .stats-row { flex-wrap: wrap; }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); flex: 1 0 40%; }
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell:last-child { border-bottom: none; }

  /* About */
  .two-col, .two-col-55, .two-col-45 { grid-template-columns: 1fr; gap: 2.5rem; }
  .ha-badge { display: none; }
  .ha-visual { aspect-ratio: 16/9; max-height: 400px; }

  /* Programs */
  .prog-grid { grid-template-columns: 1fr 1fr; }
  .prog-card.span-2 { grid-column: span 2; }
.prog-card.span-3 { grid-column: span 2; flex-direction: column; }
  .hp-header { flex-direction: column; align-items: flex-start; }
  .hp-header p { text-align: left; max-width: 100%; }

  /* Why grid */
  .hw-grid { grid-template-columns: repeat(2, 1fr); }

  /* Life mosaic */
  .life-mosaic { grid-template-rows: 240px 220px; }

  /* Testimonials */
  .testi-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  /* CTA */
  .hcta-inner { flex-direction: column; text-align: center; }

  /* Programs tab */
  .pd-layout { grid-template-columns: 1fr; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Director */
  .director-section { grid-template-columns: 1fr; }
  .director-photo { aspect-ratio: 16/9; max-height: 320px; }

  /* Facility bento */
  .facility-bento { grid-auto-rows: 240px; }

  /* Achievements */
  .ach-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .toppers-grid { grid-template-columns: repeat(2, 1fr); }

  /* Nav */
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-hamburger { display: flex; }
  #nav-cta-desktop { display: none !important; }
}

/* ============================================================
   28. RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 62px; --section-py: clamp(3.5rem, 7vw, 5rem); }

  /* Hero */
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .stats-row { display: grid; grid-template-columns: 1fr 1fr; }
  .stat-cell { border: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat-cell:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }

  /* Programs grid */
  .prog-grid { grid-template-columns: 1fr; }
  .prog-card.span-2 { grid-column: span 1; }
.prog-card.span-3 { grid-column: span 1; flex-direction: column; }

  /* Why grid */
  .hw-grid { grid-template-columns: 1fr; }

  /* Life mosaic */
  .life-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }
  .life-tile.wide, .life-tile.tall { grid-column: span 1; grid-row: span 1; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* 3-col / 4-col */
  .three-col { grid-template-columns: 1fr; }
  .four-col { grid-template-columns: 1fr 1fr; }

  /* Director */
  .director-section { padding: 1.75rem; gap: 1.75rem; }

  /* Ach grid */
  .ach-stats-grid { grid-template-columns: 1fr 1fr; }

  /* Toppers */
  .toppers-grid { grid-template-columns: 1fr 1fr; }

  /* Facility bento */
  .facility-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .facility-tile.wide, .facility-tile.tall { grid-column: span 1; grid-row: span 1; }

  /* Form */
  .form-grid { grid-template-columns: 1fr; }
  .fg-full { grid-column: span 1; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }

  /* ha-pillars */
  .ha-pillars { grid-template-columns: 1fr; }

  /* Prog tabs */
  .prog-tabs { flex-wrap: nowrap; overflow-x: auto; border-radius: var(--r-md); }
  .prog-tab-btn { min-width: 120px; flex: 0 0 auto; }

  /* Tab features */
  .pd-features { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero { padding-top: calc(var(--nav-h) + 2.5rem); min-height: 320px; }
  .ph-btns { flex-direction: column; }
  .ph-btns .btn { width: 100%; justify-content: center; }

  .prog-tabs { padding: 0.3rem; }
}

/* ============================================================
   29. RESPONSIVE — MID-PHONE (≤640px)
   ============================================================ */
@media (max-width: 640px) {
  /* Newsletter form — stack vertically */
  .nl-form { flex-direction: column; }
  .nl-form input { width: 100%; min-width: 0; }
  .nl-form button { width: 100%; padding: 0.75rem 1rem; }

  /* Contact cards — single column */
  .contact-cards { grid-template-columns: 1fr; }

  /* Ach stats — 2-col */
  .ach-stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Toppers — 2-col */
  .toppers-grid { grid-template-columns: repeat(2, 1fr); }

  /* Programs tab — horizontal scroll */
  .prog-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.25rem; }
  .prog-tab-btn { flex: 0 0 auto; white-space: nowrap; font-size: 0.8rem; padding: 0.55rem 1rem; }

  /* Values grid — 2-col */
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Director section */
  .director-section { grid-template-columns: 1fr; }
  .director-photo { min-height: 280px; aspect-ratio: 16/9; }

  /* Page hero buttons — stack */
  .ph-btns { flex-direction: column; }
  .ph-btns .btn { width: 100%; justify-content: center; }

  /* CTA buttons — full width */
  .hcta-btns { flex-direction: column; align-items: center; }
  .hcta-btns .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Life mosaic — 2-col simplified */
  .life-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }
  .life-tile.wide, .life-tile.tall { grid-column: span 1; grid-row: span 1; }

  /* Facility bento */
  .facility-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .facility-tile.wide, .facility-tile.tall { grid-column: span 1; grid-row: span 1; }

  /* Floating action buttons — smaller */
  .fa-btn { width: 46px; height: 46px; font-size: 1.1rem; }

  /* Footer bottom — center */
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }

  /* Testimonials */
  .testi-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   30. RESPONSIVE — SMALL (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --section-py: clamp(3rem, 6vw, 4.5rem); }

  /* Stats row — single col */
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.07); }

  /* Numbers grid — 2-col */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }

  /* Achievements */
  .ach-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .toppers-grid { grid-template-columns: 1fr; }

  /* Facility */
  .facility-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  /* Life mosaic — single col */
  .life-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  .life-tile.wide, .life-tile.tall { grid-column: span 1; grid-row: span 1; }

  /* Testimonials */
  .testi-grid { grid-template-columns: 1fr; }

  /* Forms */
  .adm-form-card, .contact-form-card { padding: 1.25rem; }

  /* Footer */
  .footer-grid { gap: 1.5rem; }

  /* Grid utilities */
  .four-col { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hw-grid { grid-template-columns: 1fr; }

  /* Mobile reorder */
  .two-col.reverse-mobile > *:last-child { order: -1; }

  /* Page hero */
  .page-hero { min-height: 280px; }

  /* Prog tabs */
  .prog-tabs { padding: 0.25rem; }
  .prog-tab-btn { font-size: 0.78rem; padding: 0.5rem 0.85rem; }

  /* Buttons full width in hero */
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hss-btns .btn { width: 100%; justify-content: center; }

  /* Contact cards */
  .contact-cards { grid-template-columns: 1fr; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }

  /* Footer admit strip — smaller text */
  .fas-inner { font-size: 0.78rem; gap: 0.5rem; text-align: center; flex-direction: column; }
  .fas-inner .sep { display: none; }
}

/* ============================================================
   31. RESPONSIVE — TINY (≤360px)
   ============================================================ */
@media (max-width: 360px) {
  /* Hero title — reduce font */
  .hss-title { font-size: 2.2rem !important; }
  .ph-headline { font-size: 1.8rem !important; }

  /* Numbers — single col */
  .numbers-grid { grid-template-columns: 1fr; }

  /* Ach stats — 1-col */
  .ach-stats-grid { grid-template-columns: 1fr; }

  /* Prog grid */
  .prog-grid { grid-template-columns: 1fr; }

  /* Reduce card padding */
  .prog-card, .hw-card, .testi-card, .value-card { padding: 1.25rem; }

  /* Button sizes */
  .btn-lg { padding: 0.85rem 1.5rem; font-size: 0.9rem; }

  /* Containers */
  .container, .container-wide, .container-narrow { padding: 0 1rem; }
}

/* ============================================================
   32. PRINT
   ============================================================ */
@media print {
  #navbar, .floating-actions, #scroll-progress { display: none !important; }
  .page-hero { padding-top: 2rem !important; }
}

/* ============================================================
   33. MOBILE TOUCH UX — ensure min tap targets
   ============================================================ */
@media (max-width: 768px) {
  /* Ensure all interactive elements are at least 44px tall */
  .btn { min-height: 44px; }
  .nav-hamburger { min-width: 44px; min-height: 44px; justify-content: center; }
  .mm-link { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .faq-q { min-height: 56px; }
  .prog-tab-btn { min-height: 40px; }
  .fa-btn { min-width: 48px; min-height: 48px; }

  /* Remove hover-only interactions on touch */
  .ft-desc { max-height: none !important; }

  /* Reduce motion on small screens for performance */
  @media (prefers-reduced-motion: no-preference) {
    .geo-ring, .geo-glow, .geo-dot { animation-duration: 40s; }
  }

  /* Page hero — reduce excessive top padding from premium.css */
  .page-hero { padding-top: calc(var(--nav-h) + 2.5rem) !important; padding-bottom: 3rem !important; }

  /* Director section */
  .director-section { grid-template-columns: 1fr; }
  .director-photo { min-height: 260px; aspect-ratio: 16/9; }
  .director-content { padding: 2rem 1.5rem; }

  /* Reduce hero stats gap */
  .hss-stats { gap: 1.5rem; }

  /* About pull quote */
  .about-pull-quote { font-size: 1rem; padding: 0.85rem 1.1rem; }

  /* Float badges — hide on small screens to avoid overflow */
  .hss-float-badge { display: none !important; }
  .float-badge { display: none !important; }

  /* Numbers section */
  .num-cell { padding: 2rem 1rem; }
  .num-big { font-size: clamp(1.8rem, 5vw, 2.5rem); }

  /* Why card grid — 2-col on tablet */
  .why-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
