/* ═══════════════════════════════════════════════════════════════════════
   shared.css — techsillica
   Shared design system for all portal pages:
   index.html · academic.html · competitive.html · about.html ·
   login.html · dashboard.html · result.html

   Load this file on every page BEFORE any page-specific <style> block:
     <link rel="stylesheet" href="shared.css" />

   NOTE: The exam engine pages (mains.html) use master.css
   instead — they have a completely separate design system.
═══════════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────────────
   FONT-FACE DECLARATIONS
   All fonts are self-hosted at /assets/fonts/.
────────────────────────────────────────────────────────────────────── */

/* DM Sans — body font */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; src: url('/assets/fonts/dmsans-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; src: url('/assets/fonts/dmsans-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; src: url('/assets/fonts/dmsans-600.woff2') format('woff2'); }

/* Playfair Display — display / heading font */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; src: url('/assets/fonts/playfair-display-700.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 800; src: url('/assets/fonts/playfair-display-800.woff2') format('woff2'); }

/* Plus Jakarta Sans — alternate / accent font */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; src: url('/assets/fonts/plus-jakarta-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; src: url('/assets/fonts/plus-jakarta-sans-600.woff2') format('woff2'); }

/* Noto Sans Devanagari — Hindi / bilingual support */
@font-face { font-family: 'Noto Sans Devanagari'; font-style: normal; font-weight: 400; src: url('/assets/fonts/noto-devanagari-400.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans Devanagari'; font-style: normal; font-weight: 600; src: url('/assets/fonts/noto-devanagari-600.woff2') format('woff2'); }


/* ──────────────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
────────────────────────────────────────────────────────────────────── */
:root {
  /* Brand colours */
  --navy:        #0d2137;
  --navy-mid:    #163352;
  --navy-light:  #1e4a73;
  --gold:        #c9922a;
  --gold-light:  #e8b84b;
  --gold-pale:   #fdf3e0;

  /* Neutrals */
  --cream:       #fafaf7;
  --white:       #ffffff;
  --grey-50:     #f9fafb;
  --grey-100:    #f4f5f7;
  --grey-200:    #e8eaed;
  --grey-300:    #d1d5db;
  --grey-400:    #9aa3af;
  --grey-500:    #6b7280;
  --grey-600:    #555e6b;
  --grey-700:    #374151;
  --grey-800:    #2c3340;

  /* Semantic accents */
  --green:       #1a7a45;
  --red:         #c0392b;
  --blue:        #2563eb;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Segoe UI', sans-serif;
  --font-alt:     'Plus Jakarta Sans', 'DM Sans', sans-serif;
  --font-ui:      'DM Sans', sans-serif;

  /* Shadows & Radius */
  --shadow-sm:  0 2px 8px  rgba(13,33,55,0.08);
  --shadow-md:  0 6px 24px rgba(13,33,55,0.12);
  --shadow-lg:  0 16px 48px rgba(13,33,55,0.18);
  --radius:     8px;
}

/* ──────────────────────────────────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────────────────────────────────── */
body {
  /* This applies DM Sans to all standard text on your site */
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--grey-800);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { 
  /* This applies Playfair Display to all your headings */
  font-family: var(--font-display); 
  line-height: 1.15; 
}

/* Accent font for specific classes (like timer and score components) */
.exam-timer, .score-display {
  font-family: var(--font-alt);
  font-weight: 600;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  min-height: 100dvh;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--grey-800);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.15; }

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* Accent font for timer and score components */
.exam-timer, .score-display {
  font-family: var(--font-alt);
  font-weight: 600;
}

/* ──────────────────────────────────────────────────────────────────────
   3. ACCESSIBILITY UTILITIES
────────────────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ──────────────────────────────────────────────────────────────────────
   4. SECTION UTILITIES
────────────────────────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem;
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ──────────────────────────────────────────────────────────────────────
   5. BUTTON SYSTEM
────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); opacity: 0.95; }
.btn:active { transform: translateY(0); }

/* Variants */
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }

.btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-register { background: var(--gold); color: var(--navy); }
.btn-register:hover { background: var(--gold-light); }

.btn-nav-cta { background: var(--gold); color: var(--navy); padding: 10px 20px; border-radius: var(--radius); font-size: 0.88rem; }
.btn-nav-cta:hover { background: var(--gold-light); }

/* Small modifier */
.btn-sm { padding: 9px 22px; font-size: 0.85rem; }

/* ──────────────────────────────────────────────────────────────────────
   6. ANIMATIONS
────────────────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes orb-drift {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(30px,-20px) scale(1.05); }
  66%  { transform: translate(-20px,15px) scale(0.97); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes gold-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,146,42,0); }
  50%      { box-shadow: 0 0 20px 4px rgba(201,146,42,0.2); }
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes shimmer-bar {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}

.animate-fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s;  }
.delay-2 { animation-delay: 0.2s;  }
.delay-3 { animation-delay: 0.3s;  }
.delay-4 { animation-delay: 0.4s;  }
.delay-5 { animation-delay: 0.5s;  }

.reveal         { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.skeleton {
  background: linear-gradient(90deg, var(--grey-200) 25%, var(--grey-100) 50%, var(--grey-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
  color: transparent !important;
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
  .skeleton, .hero-orb, .hero-card, .floating-badge, .edu-avatar-ring, .edu-avatar-glow, .badge-dot, .hc-live-dot { animation: none; }
}

/* ──────────────────────────────────────────────────────────────────────
   7. NAVBAR SYSTEM
────────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,33,55,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,146,42,0.15);
  transition: height 0.3s, background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  height: 56px;
  background: rgba(13,33,55,0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark {
  width: 38px; height: 38px;
  background: var(--gold); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800;
  color: var(--navy); flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1; }
.nav-logo-tagline { font-size: 0.62rem; color: var(--gold-light); letter-spacing: 0.5px; line-height: 1; margin-top: 2px; }

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.88rem; font-weight: 500; padding: 8px 14px;
  border-radius: 6px; transition: all 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--gold-light); border-bottom: 2px solid var(--gold); padding-bottom: 4px; border-radius: 0; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-login { color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nav-login:hover { color: #fff; }

#mobile-menu-btn {
  display: none; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 8px;
  background: none; color: #fff; font-size: 1.2rem;
  cursor: pointer; align-items: center; justify-content: center;
}

/* ──────────────────────────────────────────────────────────────────────
   8. PAGE HEADER (Inner Pages)
────────────────────────────────────────────────────────────────────── */
.page-header { background: var(--navy); padding: 140px 5% 80px; text-align: center; position: relative; overflow: hidden; }
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,146,42,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(201,146,42,0.06) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.page-title { font-size: clamp(2rem, 4vw, 3.2rem); color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.page-desc { font-size: 1.05rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; line-height: 1.7; position: relative; z-index: 1; }

/* ──────────────────────────────────────────────────────────────────────
   9. HERO (Landing Page)
────────────────────────────────────────────────────────────────────── */
.hero { min-height: 100vh; background: var(--navy); position: relative; display: flex; align-items: center; padding: 100px 5% 80px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,146,42,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(201,146,42,0.06) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; pointer-events: none; animation: orb-drift 18s ease-in-out infinite; }
.hero-orb-1 { width: 400px; height: 400px; background: var(--gold); top: -100px; right: 10%; animation-duration: 22s; }
.hero-orb-2 { width: 300px; height: 300px; background: #4a90d9; bottom: -80px; left: 5%; animation-duration: 18s; animation-delay: -6s; }
.hero-inner { max-width: 1200px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,146,42,0.12); border: 1px solid rgba(201,146,42,0.3); border-radius: 20px; padding: 6px 16px; font-size: 0.75rem; font-weight: 600; color: var(--gold-light); margin-bottom: 20px; }
.badge-dot { width: 6px; height: 6px; background: var(--gold-light); border-radius: 50%; animation: pulse-dot 2s infinite; }
.hero-title { font-size: clamp(2.4rem, 4.5vw, 3.6rem); color: #fff; line-height: 1.1; margin-bottom: 20px; }
.hero-title .highlight { color: var(--gold-light); }
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.hero-seals { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.trust-seal { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: rgba(255,255,255,0.38); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 4px 10px; }

/* Hero Visual Card */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 28px; backdrop-filter: blur(20px); width: 100%; max-width: 380px; box-shadow: 0 24px 64px rgba(0,0,0,0.4); animation: fadeUp 0.8s 0.4s both, float 6s 1.5s ease-in-out infinite; }
.hc-header { display: flex; justify-content: space-between; margin-bottom: 20px; }
.hc-exam-tag { background: var(--gold); color: var(--navy); font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 4px; }
.hc-live { display: flex; align-items: center; gap: 5px; font-size: 0.7rem; color: #6ee48f; font-weight: 600; }
.hc-live-dot { width: 7px; height: 7px; background: #6ee48f; border-radius: 50%; animation: pulse-dot 2s infinite; flex-shrink: 0; }
.hc-title { font-family: var(--font-display); font-size: 1.15rem; color: #fff; margin-bottom: 6px; }
.hc-sub { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.hc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 20px; }
.hcs { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 10px 8px; text-align: center; }
.hcs-val { font-size: 1.1rem; font-weight: 700; color: var(--gold-light); }
.hcs-lbl { font-size: 0.62rem; color: rgba(255,255,255,0.45); }
.hc-btn { display: block; text-align: center; padding: 12px; background: var(--gold); color: var(--navy); font-weight: 700; border-radius: 8px; transition: background 0.2s; }
.hc-btn:hover { background: var(--gold-light); }
.floating-badge { position: absolute; background: #fff; border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.fb-1 { top: -16px; right: -20px; animation: fadeUp 0.6s 0.9s both, float 5s 2s ease-in-out infinite; }
.fb-2 { bottom: 20px; left: -24px; animation: fadeUp 0.6s 1.1s both, float 7s 2.5s ease-in-out infinite; }
.fb-icon { font-size: 1.4rem; flex-shrink: 0; }

/* ──────────────────────────────────────────────────────────────────────
   10. STATS BAR
────────────────────────────────────────────────────────────────────── */
.stats-bar { background: var(--navy-mid); border-top: 1px solid rgba(201,146,42,0.2); border-bottom: 1px solid rgba(201,146,42,0.2); padding: 28px 5%; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { display: flex; align-items: center; gap: 14px; padding: 0 24px; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-item:last-child { border-right: none; }
.stat-item:nth-child(2) { transition-delay: 0.1s; }
.stat-item:nth-child(3) { transition-delay: 0.2s; }
.stat-item:nth-child(4) { transition-delay: 0.3s; }
.stat-icon { width: 44px; height: 44px; background: rgba(201,146,42,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.stat-text { display: flex; flex-direction: column; gap: 2px; }
.stat-number { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--gold-light); line-height: 1; min-width: 80px; }
.stat-label { font-size: 0.76rem; color: rgba(255,255,255,0.5); }
.stat-number.loading { background: linear-gradient(90deg, rgba(201,146,42,0.08) 25%, rgba(201,146,42,0.22) 50%, rgba(201,146,42,0.08) 75%); background-size: 400px 100%; animation: shimmer-bar 1.4s infinite linear; border-radius: 6px; height: 1.7rem; color: transparent; }

/* ──────────────────────────────────────────────────────────────────────
   11. EDUCATOR SECTION
────────────────────────────────────────────────────────────────────── */
.educator-section { padding: 0; background: var(--navy); position: relative; overflow: hidden; }
.educator-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,146,42,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,146,42,0.04) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.educator-two-col { display: grid; grid-template-columns: 380px 1fr; min-height: 680px; position: relative; z-index: 1; }

.edu-profile-panel { background: linear-gradient(160deg, var(--navy-mid) 0%, #0a1a2d 100%); border-right: 1px solid rgba(201,146,42,0.2); padding: 64px 40px 56px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.edu-profile-panel::before { content: ''; position: absolute; top: 40px; left: 50%; transform: translateX(-50%); width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(201,146,42,0.12) 0%, transparent 70%); pointer-events: none; }
.edu-avatar-wrap { position: relative; margin-bottom: 28px; }
.edu-avatar-ring { position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(201,146,42,0.35); animation: spin-ring 30s linear infinite; }
.edu-avatar-glow { position: absolute; inset: -4px; border-radius: 50%; animation: gold-glow-pulse 3s ease-in-out infinite; }
.edu-avatar { width: 130px; height: 130px; border-radius: 50%; border: 3px solid rgba(201,146,42,0.5); background: var(--navy-light); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.edu-avatar img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.edu-name { font-family: var(--font-display); font-size: 1.65rem; font-weight: 800; color: #fff; margin-bottom: 6px; position: relative; }
.edu-role { font-family: var(--font-alt); font-size: 0.85rem; color: var(--gold-light); margin-bottom: 24px; position: relative; }
.edu-bio { font-size: 0.86rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 32px; max-width: 280px; position: relative; }
.edu-stats-row { display: flex; gap: 12px; justify-content: center; margin-bottom: 32px; position: relative; flex-wrap: wrap; }
.edu-stat-badge { background: rgba(201,146,42,0.1); border: 1px solid rgba(201,146,42,0.25); border-radius: 8px; padding: 10px 16px; text-align: center; }
.edu-stat-badge .val { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--gold-light); }
.edu-stat-badge .lbl { font-size: 0.65rem; color: rgba(255,255,255,0.45); }
.edu-divider { width: 60px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 0 auto 28px; position: relative; }
.edu-contact-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; position: relative; margin-bottom: 24px; }
.edu-contact-pill { display: flex; align-items: center; gap: 7px; padding: 9px 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 30px; color: rgba(255,255,255,0.7); font-size: 0.82rem; transition: all 0.2s; }
.edu-contact-pill:hover { background: rgba(201,146,42,0.15); border-color: rgba(201,146,42,0.4); color: var(--gold-light); }
.edu-visitor-wrap { margin-top: auto; padding-top: 20px; position: relative; opacity: 0.7; min-height: 24px; }
.edu-credit { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 16px; position: relative; }
.edu-credit span { color: #e74c3c; }

.edu-portal-panel { background: var(--cream); padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; }
.portal-headline { text-align: center; margin-bottom: 48px; }
.portal-headline h2 { font-size: 2.2rem; color: var(--navy); margin-bottom: 12px; }
.portal-headline p { font-size: 1rem; color: var(--grey-600); max-width: 500px; margin: 0 auto; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.path-grid .path-card:nth-child(2) { transition-delay: 0.1s; }
.path-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: 16px; padding: 40px 30px; text-align: center; display: flex; flex-direction: column; transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s; position: relative; overflow: hidden; }
.path-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.path-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.path-card:hover::before { transform: scaleX(1); }
.path-icon { font-size: 3.5rem; margin-bottom: 20px; display: inline-block; transition: transform 0.3s; }
.path-card:hover .path-icon { transform: scale(1.1) rotate(-5deg); }
.path-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); margin-bottom: 12px; }
.path-desc { font-size: 0.9rem; color: var(--grey-600); line-height: 1.6; margin-bottom: 30px; flex-grow: 1; }
.path-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; background: rgba(13,33,55,0.05); color: var(--navy); border-radius: 8px; font-weight: 700; font-size: 0.9rem; transition: background 0.2s, color 0.2s; }
.path-card:hover .path-action { background: var(--navy); color: var(--white); }

/* ──────────────────────────────────────────────────────────────────────
   12. FREE FOR ALL SECTION
────────────────────────────────────────────────────────────────────── */
.free-section { padding: 90px 5%; background: var(--cream); text-align: center; border-top: 1px solid var(--grey-200); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.free-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 960px; margin: 0 auto 48px; }
.free-pillars .free-pillar:nth-child(2) { transition-delay: 0.15s; }
.free-pillars .free-pillar:nth-child(3) { transition-delay: 0.30s; }
.free-pillar { background: var(--white); border: 1.5px solid var(--grey-200); border-radius: 16px; padding: 32px 26px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.free-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.free-pillar-icon { font-size: 2.2rem; margin-bottom: 16px; }
.free-pillar-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.free-pillar-desc { font-size: 0.84rem; color: var(--grey-600); line-height: 1.65; }

/* ──────────────────────────────────────────────────────────────────────
   13. FOOTER
────────────────────────────────────────────────────────────────────── */
.footer { background: var(--navy); border-top: 1px solid rgba(201,146,42,0.2); padding: 56px 5% 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-desc { font-size: 0.84rem; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 20px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 34px; height: 34px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: all 0.2s; }
.social-btn:hover { background: rgba(201,146,42,0.15); border-color: var(--gold); color: var(--gold-light); }
.footer-col-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold-light); }

/* ──────────────────────────────────────────────────────────────────────
   14. PRINT STYLES
────────────────────────────────────────────────────────────────────── */
@media print {
  .navbar, .hero-orb, .floating-badge, .edu-avatar-ring,
  .edu-avatar-glow, .footer-social, .hero-actions { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .hero { min-height: auto; padding: 20px 5%; background: #fff; }
  .hero-title, .hero-subtitle { color: #000; }
  .hero-title .highlight { color: var(--gold); }
  a { color: #000; text-decoration: underline; }
}

/* ──────────────────────────────────────────────────────────────────────
   15. RESPONSIVE QUERIES
────────────────────────────────────────────────────────────────────── */

/* Tablet & Large Mobile */
@media (max-width: 1100px) {
  .educator-two-col { grid-template-columns: 320px 1fr; }
  .edu-portal-panel { padding: 48px 36px; }
}

@media (max-width: 900px) {
  /* Navbar adjustments */
  .nav-links, .nav-actions { display: none; }
  #mobile-menu-btn { display: flex !important; }
  
  .nav-links.active { display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; background: rgba(13,33,55,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(201,146,42,0.2); padding: 16px 5% 24px; }
  .nav-links.active li a { padding: 12px 0; display: block; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1rem; }
  .nav-links.active + .nav-actions { display: flex; padding: 0 5% 20px; flex-direction: column; gap: 10px; background: rgba(13,33,55,0.98); }

  /* Hero & Visuals */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual .hero-card, .hero-visual .floating-badge { display: none; }
  .hero-visual { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 8px 0 16px; }
  .hero-visual::-webkit-scrollbar { display: none; }
  .hero-mobile-preview { display: flex; gap: 12px; padding: 0 4px; width: max-content; }
  .hmp-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 16px 18px; min-width: 130px; text-align: center; backdrop-filter: blur(12px); }
  .hmp-icon { font-size: 1.6rem; margin-bottom: 8px; }
  .hmp-val  { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--gold-light); }
  .hmp-lbl  { font-size: 0.65rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

  /* Layout grids */
  .stats-inner, .free-pillars { grid-template-columns: repeat(2,1fr); }
  .educator-two-col { grid-template-columns: 1fr; }
  .edu-profile-panel { border-right: none; border-bottom: 1px solid rgba(201,146,42,0.2); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .path-grid { grid-template-columns: 1fr; }
  .edu-portal-panel { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .footer-top, .free-pillars { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-item { padding: 0 12px; }
  .stat-item:nth-child(2n) { border-right: none; }
}
