/* ════════════════════════════════════════════════════════════
   St. Mary's High School, Vijayawada — School E (Complete)
   Theme: Near-black (#05080F) + Burgundy (#7C1D3E) + Gold (#D4AF37)
   Typography: Playfair Display (headings) + Inter (body)
   Features: LMS, Mobile App, Alumni Network, SEO, multilingual chatbot
   ════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* ── CSS Variables ── */
:root {
  --bg-dark: #05080F;
  --bg-mid: #0C0F18;
  --bg-alt: #0A0D15;
  --bg-card: rgba(255,255,255,0.03);
  --accent-burgundy: #7C1D3E;
  --accent-burgundy-dark: #5C142E;
  --accent-burgundy-light: #9D2E50;
  --accent-gold: #D4AF37;
  --accent-gold-dark: #B8942E;
  --accent-gold-light: #E8C95A;
  --accent-burgundy-dim: rgba(124,29,62,0.15);
  --accent-gold-dim: rgba(212,175,55,0.12);
  --text: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --glass-border: rgba(255,255,255,0.08);
  --glass-border-gold: rgba(212,175,55,0.2);
  --line: rgba(255,255,255,0.08);
  --line-light: rgba(255,255,255,0.04);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-w: 1120px;
  --shadow: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.4), 0 2px 4px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 20px rgba(212,175,55,0.25);
  --shadow-burgundy: 0 4px 20px rgba(124,29,62,0.3);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent-gold); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--accent-gold-light); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent-burgundy); color: var(--accent-gold); }

/* ── Layout ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-title {
  font-family: var(--font-heading);
  font-size: 30px; font-weight: 700; margin-bottom: 8px;
  color: var(--text); letter-spacing: -0.02em; line-height: 1.2;
}
.section-title .gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  color: var(--text-muted); font-size: 14px; margin-bottom: 36px; max-width: 600px;
}
.section-label {
  display: inline-block;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent-gold); font-weight: 600;
  margin-bottom: 6px; font-family: var(--font-body);
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Glass Utility ── */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */
.navbar {
  background: rgba(5,8,15,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.navbar .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 12px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  font-family: var(--font-heading); font-weight: 700; font-size: 17px;
  letter-spacing: -0.02em; white-space: nowrap;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand .brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-burgundy), var(--accent-burgundy-light));
  border: 1px solid rgba(212,175,55,0.2);
  color: var(--accent-gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.nav-brand .brand-accent { 
  color: var(--accent-gold);
}
.nav-toggle {
  display: none; background: none; border: none; color: var(--text);
  cursor: pointer; padding: 8px; font-size: 22px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 8px; transition: background .2s;
}
.nav-toggle:hover { background: var(--accent-burgundy-dim); }
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  color: var(--text-muted); font-size: 13px;
  padding: 8px 14px; border-radius: 8px;
  white-space: nowrap; font-weight: 500;
  transition: all .15s; text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent-gold); background: var(--accent-gold-dim); text-decoration: none;
}
.nav-links .lang-toggle {
  display: flex; border: 1px solid var(--glass-border);
  border-radius: 6px; overflow: hidden; margin-left: 8px; flex-shrink: 0;
}
.nav-links .lang-btn {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-family: var(--font-body);
  font-size: 11px; font-weight: 600; padding: 5px 10px;
  transition: all .15s; text-transform: uppercase;
}
.nav-links .lang-btn.active { background: var(--accent-gold); color: #05080F; }
.nav-links .lang-btn:not(.active):hover { background: var(--accent-gold-dim); color: var(--accent-gold); }

/* ── Language Toggle ── */

/* Default (English mode): show English, hide Telugu */
/* NOTE: :root prefix prevents [lang="te"] from matching <html> itself */
:root .lang-en, :root [lang="en"] { display: revert; }
:root .lang-te, :root [lang="te"] { display: none; }
.lang-en, .lang-te { transition: opacity .2s; }

/* Telugu mode: show Telugu, hide English */
[lang="te"] .lang-en,
[lang="te"] [lang="en"] { display: none; }
[lang="te"] .lang-te,
[lang="te"] [lang="te"] { display: revert; }

/* ── Drawer ── */
.nav-drawer-overlay {
  display: none; position: fixed; inset: 0; z-index: 199;
  background: rgba(5,8,15,0.7); backdrop-filter: blur(4px);
}
.nav-drawer-overlay.open { display: block; }
.nav-drawer {
  position: fixed; top: 0; left: -290px; width: 290px; height: 100%; z-index: 200;
  background: var(--bg-dark); border-right: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg); transition: left .3s ease;
  overflow-y: auto; padding-top: 0;
}
.nav-drawer.open { left: 0; }
.nav-drawer .drawer-header {
  padding: 20px; border-bottom: 1px solid var(--glass-border);
  font-family: var(--font-heading); font-weight: 700; font-size: 16px;
  color: var(--accent-gold); background: rgba(0,0,0,0.2);
}
.nav-drawer .drawer-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; color: var(--text-muted); font-size: 11px;
  border-bottom: 1px solid var(--glass-border);
}
.nav-drawer .drawer-brand span { font-size: 12px; color: var(--accent-gold); font-weight: 600; }
.nav-drawer a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; color: var(--text-muted);
  font-size: 14px; font-weight: 500;
  border-radius: 0; transition: all .15s;
  border-bottom: 1px solid var(--line-light); text-decoration: none;
}
.nav-drawer a:hover, .nav-drawer a.active {
  background: var(--accent-burgundy-dim); color: var(--accent-gold); text-decoration: none;
}
.nav-drawer a i { width: 20px; text-align: center; color: var(--accent-gold); opacity: 0.7; }
.nav-drawer .drawer-lang {
  display: flex; gap: 0; padding: 16px 20px;
  border-top: 1px solid var(--glass-border); margin-top: auto;
}
.nav-drawer .drawer-lang button {
  flex: 1; background: var(--bg-card); border: 1px solid var(--glass-border);
  color: var(--text-muted); cursor: pointer; font-family: var(--font-body);
  font-size: 12px; font-weight: 600; padding: 8px;
  transition: all .15s;
}
.nav-drawer .drawer-lang button.active { background: var(--accent-gold); color: #05080F; border-color: var(--accent-gold); }
.nav-drawer .drawer-lang button:first-child { border-radius: 6px 0 0 6px; }
.nav-drawer .drawer-lang button:last-child { border-radius: 0 6px 6px 0; }

/* ════════════════════════════════════════
   MARQUEE TICKER
   ════════════════════════════════════════ */
.marquee-bar {
  background: var(--accent-burgundy);
  padding: 7px 0; overflow: hidden; white-space: nowrap;
  font-size: 12px; font-weight: 600; position: relative; z-index: 99;
}
.marquee-bar .container {
  display: flex; align-items: center; gap: 12px;
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.marquee-bar .marquee-label {
  background: rgba(212,175,55,0.2); padding: 2px 10px; border-radius: 4px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 700; flex-shrink: 0; color: var(--accent-gold);
}
.marquee-bar .marquee-text {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  animation: marquee-scroll 30s linear infinite; color: var(--text);
}
@keyframes marquee-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ════════════════════════════════════════
   HERO — full-screen with burgundy overlay
   ════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: 85vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #05080F 0%, #0C0F18 50%, #05080F 100%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.08;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,29,62,0.15) 0%, transparent 60%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5,8,15,0.3) 0%, rgba(5,8,15,0.85) 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,175,55,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2; max-width: var(--max-w);
  margin: 0 auto; padding: 0 20px; text-align: center; width: 100%;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-burgundy-dim);
  border: 1px solid rgba(124,29,62,0.3);
  color: var(--accent-gold);
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 5px 16px; border-radius: 20px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 46px; font-weight: 800; line-height: 1.1;
  margin-bottom: 14px; color: var(--text);
  letter-spacing: -0.02em;
}
.hero-content h1 .gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.hero-content .hero-subtitle {
  font-size: 16px; color: var(--text-secondary);
  max-width: 580px; margin: 0 auto 28px; line-height: 1.7;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ── Wave Divider ── */
.wave-divider {
  position: absolute; bottom: -2px; left: 0; width: 100%;
  height: 80px; line-height: 0; overflow: hidden; z-index: 3;
}
.wave-divider svg {
  display: block; width: 100%; height: 80px;
}

/* ════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════ */
.btn, .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s; border: none;
  text-decoration: none !important;
}
.btn {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #05080F; box-shadow: var(--shadow-gold);
}
.btn:hover {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,175,55,0.4);
  color: #05080F;
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 2px solid var(--glass-border);
}
.btn-outline:hover {
  border-color: var(--accent-gold); color: var(--accent-gold);
  background: var(--accent-gold-dim);
}
.btn-sm { padding: 10px 22px; font-size: 12px; }

/* ════════════════════════════════════════
   FAB
   ════════════════════════════════════════ */
.fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-burgundy), var(--accent-burgundy-light));
  color: var(--accent-gold); border: 1px solid rgba(212,175,55,0.3);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: var(--shadow-burgundy);
  transition: transform .2s, box-shadow .2s; text-decoration: none;
}
.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(124,29,62,0.5);
  text-decoration: none; color: var(--accent-gold-light);
}

/* ════════════════════════════════════════
   FEATURES GRID (6 cards)
   ════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px; position: relative; overflow: hidden;
  transition: all .3s;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-burgundy), var(--accent-gold), var(--accent-burgundy));
  opacity: 0; transition: opacity .35s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.25);
  background: rgba(255,255,255,0.06);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .feature-icon {
  font-size: 30px; margin-bottom: 14px; display: block;
  color: var(--accent-gold);
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 17px; font-weight: 700; margin-bottom: 6px;
  color: var(--text);
}
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ════════════════════════════════════════
   STATS
   ════════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px; margin: 0;
}
.stat-card {
  text-align: center; padding: 24px 12px;
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all .3s;
}
.stat-card:hover {
  border-color: rgba(212,175,55,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-card .num {
  font-size: 30px; font-weight: 800; font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.1;
}
.stat-card .label {
  font-size: 10px; color: var(--text-muted); margin-top: 4px; font-weight: 500;
}

/* ════════════════════════════════════════
   DASHBOARD / APP / ALUMNI SECTIONS (E-specific premium sections)
   ════════════════════════════════════════ */
.premium-section {
  background: linear-gradient(135deg, rgba(5,8,15,0.5), rgba(12,15,24,0.3));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.premium-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), var(--accent-burgundy), transparent);
}
.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.premium-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all .3s;
}
.premium-card:hover {
  border-color: rgba(212,175,55,0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.premium-card .p-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line-light);
}
.premium-card .p-header i {
  font-size: 20px; color: var(--accent-gold);
  width: 36px; height: 36px;
  background: var(--accent-gold-dim);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.premium-card .p-header h4 {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 600; color: var(--text);
}
.premium-card .p-body { font-size: 12px; color: var(--text-muted); }
.premium-card .p-body .p-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; border-bottom: 1px solid var(--line-light);
  font-size: 12px;
}
.premium-card .p-body .p-row:last-child { border-bottom: none; }
.premium-card .p-body .p-label { color: var(--text-muted); }
.premium-card .p-body .p-value { color: var(--text-secondary); font-weight: 600; }
.premium-card .p-body .p-value.active { color: #4ADE80; }
.premium-card .p-body .p-value.gold { color: var(--accent-gold); }

/* ── LMS / App / Alumni Mockups ── */
.mockup-card {
  background: linear-gradient(135deg, #0a0d18, #100a14);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,175,55,0.15);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.mockup-card .mock-header {
  background: rgba(124,29,62,0.15);
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}
.mock-header .mock-title {
  font-size: 12px; font-weight: 600; color: var(--accent-gold);
}
.mock-header .mock-dots {
  display: flex; gap: 4px;
}
.mock-header .mock-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted);
}
.mock-body { padding: 16px; }
.mock-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px;
}
.mock-stat {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 8px; padding: 10px; text-align: center;
}
.mock-stat .mock-num {
  font-size: 16px; font-weight: 700; color: var(--accent-gold);
}
.mock-stat .mock-label {
  font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em;
}
.mock-table { width: 100%; font-size: 11px; }
.mock-table th {
  text-align: left; padding: 6px 4px;
  color: var(--text-muted); font-weight: 500; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--glass-border);
}
.mock-table td {
  padding: 6px 4px; color: var(--text-secondary);
  border-bottom: 1px solid var(--line-light);
}
.mock-table .pass { color: #4ADE80; font-weight: 600; }

/* ── Premium showpiece (mobile app, alumni) ── */
.premium-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.premium-showcase .showcase-visual {
  display: flex; justify-content: center; align-items: center;
}
.premium-showcase .showcase-content h3 {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700; margin-bottom: 10px;
  color: var(--text);
}
.premium-showcase .showcase-content h3 .gold { color: var(--accent-gold); }
.premium-showcase .showcase-content p {
  font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px;
}
.premium-showcase .showcase-content ul {
  list-style: none; padding: 0;
}
.premium-showcase .showcase-content ul li {
  padding: 6px 0; font-size: 13px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
}
.premium-showcase .showcase-content ul li i { color: var(--accent-gold); width: 18px; text-align: center; }

/* App badges */
.app-badges {
  display: flex; gap: 12px; margin-top: 16px;
}
.app-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 11px; color: var(--text-secondary);
  transition: all .2s;
}
.app-badge:hover {
  border-color: rgba(212,175,55,0.3);
  background: var(--accent-gold-dim);
}
.app-badge i { font-size: 20px; color: var(--accent-gold); }
.app-badge strong { font-size: 13px; color: var(--text); display: block; }

/* QR code placeholder */
.qr-code {
  width: 120px; height: 120px;
  background: var(--bg-card);
  border: 2px solid var(--glass-border-gold);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: var(--accent-gold);
  margin: 20px auto 0;
}

/* Alumni profile card */
.alumni-profile {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: all .2s;
}
.alumni-profile:hover {
  border-color: rgba(212,175,55,0.25);
  background: rgba(255,255,255,0.05);
}
.alumni-profile .alumni-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-burgundy-dim);
  border: 2px solid rgba(212,175,55,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent-gold); flex-shrink: 0;
}
.alumni-profile .alumni-info strong { font-size: 13px; color: var(--text); display: block; }
.alumni-profile .alumni-info span { font-size: 11px; color: var(--text-muted); }

/* ════════════════════════════════════════
   COMPARISON TABLE: Complete vs Connect
   ════════════════════════════════════════ */
.comparison-wrap {
  overflow-x: auto;
  margin-top: 24px;
}
.comparison-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.comparison-table thead th {
  padding: 14px 16px;
  text-align: center;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.comparison-table thead th:first-child {
  text-align: left;
  background: rgba(5,8,15,0.8);
  color: var(--text-muted);
}
.comparison-table thead th:nth-child(2) {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border-bottom: 2px solid var(--glass-border);
}
.comparison-table thead th:last-child {
  background: var(--accent-burgundy-dim);
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
}
.comparison-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-light);
  text-align: center;
}
.comparison-table tbody td:first-child {
  text-align: left;
  color: var(--text-secondary);
  font-weight: 500;
}
.comparison-table tbody td:nth-child(2) {
  color: var(--text-muted);
}
.comparison-table tbody td:last-child {
  color: var(--text);
  font-weight: 500;
}
.comparison-table tbody tr:hover td {
  background: rgba(212,175,55,0.04);
}
.comparison-table .fa-check { color: #4ADE80; font-size: 14px; }
.comparison-table .fa-times { color: #F87171; font-size: 14px; opacity: 0.5; }
.comparison-table .fa-star { color: var(--accent-gold); font-size: 14px; }
.comparison-highlight td:last-child {
  background: var(--accent-burgundy-dim) !important;
}

/* ════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px; position: relative; transition: all .3s;
}
.testimonial-card:hover {
  border-color: rgba(212,175,55,0.2);
  box-shadow: var(--shadow-md);
}
.stars { color: var(--accent-gold); font-size: 14px; margin-bottom: 8px; letter-spacing: 2px; }
.testimonial-card .quote {
  font-size: 13px; color: var(--text-secondary);
  font-style: italic; margin-bottom: 14px; line-height: 1.6;
}
.testimonial-card .quote::before {
  content: '\201C'; color: var(--accent-gold);
  font-size: 28px; font-weight: 700; font-family: Georgia,serif;
  opacity: 0.6; line-height: 0; vertical-align: -6px; margin-right: 2px;
}
.testimonial-card .quote::after {
  content: '\201D'; color: var(--accent-gold);
  font-size: 28px; font-weight: 700; font-family: Georgia,serif;
  opacity: 0.6; line-height: 0; vertical-align: 4px; margin-left: 2px;
}
.testimonial-card .author {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  border-top: 1px solid var(--line-light); padding-top: 12px;
}
.testimonial-card .author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-burgundy-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent-gold); flex-shrink: 0;
  overflow: hidden; border: 2px solid rgba(212,175,55,0.15);
}
.testimonial-card .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card .author-info strong { font-size: 13px; display: block; color: var(--text); }
.testimonial-card .author-info span { font-size: 11px; color: var(--text-muted); }

/* ════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 16px;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--glass-border);
  cursor: pointer; transition: all .25s; box-shadow: var(--shadow);
}
.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: rgba(212,175,55,0.25);
}

/* ── Lightbox ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(5,8,15,0.95);
  justify-content: center; align-items: center;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border-gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox .close {
  position: absolute; top: 20px; right: 28px;
  color: var(--text); font-size: 36px; cursor: pointer;
  background: none; border: none; opacity: 0.7; transition: all .2s;
}
.lightbox .close:hover { opacity: 1; color: var(--accent-gold); }

/* ════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #05080F 0%, #0C0F18 100%);
  text-align: center; padding: 56px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(124,29,62,0.08) 0%, transparent 60%);
}
.cta-section .container { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 6px;
}
.cta-section p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-outline { border-color: var(--glass-border); color: var(--text); }
.cta-section .btn-outline:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

/* ════════════════════════════════════════
   ENQUIRY FORM
   ════════════════════════════════════════ */
.enquiry-section {
  background: rgba(5,8,15,0.5);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.enquiry-info h3 {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700; margin-bottom: 12px;
}
.enquiry-info p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.enquiry-info ul { list-style: none; padding: 0; }
.enquiry-info ul li {
  padding: 8px 0; font-size: 13px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
}
.enquiry-info ul li i { color: var(--accent-gold); width: 18px; text-align: center; }
.enquiry-form {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.enquiry-form .form-row { margin-bottom: 16px; }
.enquiry-form label {
  display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px;
  color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.03em;
}
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%; padding: 11px 16px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body); font-size: 13px;
  transition: border-color .2s, box-shadow .2s;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus {
  outline: none; border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px var(--accent-gold-dim);
  background: rgba(255,255,255,0.08);
}
.enquiry-form textarea { resize: vertical; min-height: 80px; }
.enquiry-form .btn { width: 100%; justify-content: center; padding: 13px; }
.enquiry-form select option { background: #0C0F18; color: var(--text); }

/* ════════════════════════════════════════
   NOTICE BOARD / EVENTS LIST
   ════════════════════════════════════════ */
.events-list {
  display: flex; flex-direction: column; gap: 0;
  border-left: 3px solid var(--accent-gold); padding-left: 0;
}
.event-item {
  position: relative; padding: 20px 0 20px 30px;
  border-bottom: 1px solid var(--glass-border);
}
.event-item:last-child { border-bottom: none; }
.event-item::before {
  content: ''; position: absolute; left: -9px; top: 26px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-gold);
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 0 2px var(--accent-gold);
}
.event-date {
  font-size: 11px; color: var(--accent-gold);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
}
.event-title {
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 600; margin: 4px 0; color: var(--text);
}
.event-desc { font-size: 12px; color: var(--text-muted); }

/* ════════════════════════════════════════
   TABLE (compliance/academics)
   ════════════════════════════════════════ */
.table-wrap { overflow-x: auto; }
table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--glass-border); }
th {
  background: var(--accent-burgundy-dim);
  color: var(--accent-gold); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
}
td { color: var(--text-secondary); }
tr:last-child td { border-bottom: none; }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
footer {
  background: rgba(5,8,15,0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border);
  padding: 48px 0 24px;
}
footer .container {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}
footer h4 {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 700; margin-bottom: 12px;
  color: var(--text);
}
footer p, footer a {
  font-size: 12px; color: var(--text-muted); line-height: 1.9;
}
footer a:hover { color: var(--accent-gold); text-decoration: none; }
footer .brand-icon {
  font-weight: 800; font-size: 22px; color: var(--accent-gold);
  font-family: var(--font-heading); margin-bottom: 8px;
}
footer .social-links {
  display: flex; gap: 10px; margin-top: 12px;
}
footer .social-links a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 14px; transition: all .25s;
  color: var(--text-muted);
}
footer .social-links a:hover {
  border-color: var(--accent-gold); background: var(--accent-gold-dim);
  transform: translateY(-2px); color: var(--accent-gold);
}
.footer-bottom {
  margin-top: 28px; padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  font-size: 11px; color: rgba(148,163,184,0.5);
  text-align: center;
}
.footer-bottom a { color: rgba(148,163,184,0.5); font-size: 11px; }
.footer-bottom a:hover { color: var(--accent-gold); }

/* ════════════════════════════════════════
   PAGE HERO (subpages)
   ════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #05080F 0%, #0C0F18 100%);
  padding: 60px 0 48px; text-align: center; position: relative;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-burgundy), var(--accent-gold), transparent);
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 34px; font-weight: 800; color: var(--text);
  margin-bottom: 8px; letter-spacing: -0.02em;
}
.page-hero h1 .gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 14px; color: var(--text-muted);
  max-width: 600px; margin: 0 auto;
}

/* ════════════════════════════════════════
   CONTENT CARDS (subpages)
   ════════════════════════════════════════ */
.content-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 20px;
  transition: all .3s;
}
.content-card:hover {
  border-color: rgba(212,175,55,0.2);
  box-shadow: var(--shadow-md);
}
.content-card h3 {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700; margin-bottom: 10px;
  color: var(--text);
}
.content-card h3 .gold-text { color: var(--accent-gold); }
.content-card p {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 8px;
}
.content-card p:last-child { margin-bottom: 0; }
.content-card ul {
  padding-left: 20px; list-style: disc; margin: 8px 0;
}
.content-card li {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 4px;
}

/* ════════════════════════════════════════
   STAFF GRID
   ════════════════════════════════════════ */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 20px;
}
.staff-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px; text-align: center;
  transition: all .3s;
}
.staff-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.25);
}
.staff-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent-burgundy-dim);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--accent-gold);
  overflow: hidden; border: 2px solid rgba(212,175,55,0.2);
}
.staff-avatar img { width: 100%; height: 100%; object-fit: cover; }
.staff-card h3 {
  font-family: var(--font-heading);
  font-size: 15px; font-weight: 700; color: var(--text);
}
.staff-card .role {
  font-size: 11px; color: var(--accent-gold);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 4px; font-weight: 600;
}
.staff-card .dept, .staff-card .qual {
  font-size: 11px; color: var(--text-muted);
}

/* ════════════════════════════════════════
   ACCORDION
   ════════════════════════════════════════ */
.accordion-item {
  border-bottom: 1px solid var(--glass-border);
}
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
  padding: 16px 0; display: flex;
  justify-content: space-between; align-items: center;
  cursor: pointer; font-family: var(--font-heading);
  font-size: 15px; font-weight: 600;
  color: var(--text); transition: color .2s;
  user-select: none;
}
.accordion-header:hover { color: var(--accent-gold); }
.accordion-header .arrow {
  font-size: 12px; transition: transform .2s;
  color: var(--accent-gold);
}
.accordion-item.open .accordion-header .arrow { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease; padding: 0;
}
.accordion-item.open .accordion-body {
  max-height: 500px; padding: 0 0 16px;
}
.accordion-body p, .accordion-body li {
  font-size: 13px; color: var(--text-muted); line-height: 1.7;
}
.accordion-body ul { padding-left: 20px; list-style: disc; }
.accordion-body li { margin-bottom: 4px; }

/* ════════════════════════════════════════
   STICKY CTA BAR (mobile)
   ════════════════════════════════════════ */
.cta-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 80; background: var(--bg-dark);
  border-top: 1px solid var(--glass-border);
  padding: 10px 0;
}
.cta-bar .container {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cta-bar .cta-bar-badge {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent-gold); font-weight: 700;
}
.cta-bar p { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .premium-grid { grid-template-columns: repeat(2, 1fr); }
  .premium-showcase { grid-template-columns: 1fr; text-align: center; }
  .premium-showcase .showcase-content ul li { justify-content: center; }
  .app-badges { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-content h1 { font-size: 34px; }
  .hero { min-height: 70vh; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  footer .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .page-hero h1 { font-size: 26px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-bar { display: block; }
  .fab { bottom: 80px; }
  .premium-grid { grid-template-columns: 1fr; }
  .premium-section { padding: 24px; }
  .enquiry-grid { grid-template-columns: 1fr; gap: 24px; }
  .comparison-table { font-size: 11px; }
  .comparison-table th, .comparison-table td { padding: 10px 10px; }
  .premium-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 26px; }
  .hero { min-height: 60vh; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .staff-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
  .page-hero { padding: 40px 0 32px; }
  .page-hero h1 { font-size: 22px; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: var(--accent-burgundy);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }
