/* ═══════════════════════════════════════════════════════════════
   AVERIXIS LEARNING PLATFORM — Premium Light Design System
   Complete CSS · v3.0 · 2026
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   §1  RESET & DESIGN TOKENS
   ───────────────────────────────────────────────────────────── */

:root {
  /* ── Surface palette (Light) ── */
  --bg-deepest:    #f1f5f9;
  --bg-base:       #ffffff;
  --bg-raised:     #f8fafc;
  --bg-surface:    #f1f5f9;
  --bg-subtle:     #e2e8f0;
  --bg-muted:      #cbd5e1;

  /* ── Text palette (Light) ── */
  --ink:           #0f172a;
  --ink-secondary: #334155;
  --ink-soft:      #64748b;
  --ink-muted:     #94a3b8;
  --ink-faint:     #cbd5e1;

  /* ── Accent colors ── */
  --indigo:        #6366f1;
  --indigo-deep:   #4f46e5;
  --indigo-glow:   rgba(99, 102, 241, 0.18);
  --violet:        #8b5cf6;
  --cyan:          #06b6d4;
  --cyan-glow:     rgba(6, 182, 212, 0.15);
  --amber:         #f59e0b;
  --amber-glow:    rgba(245, 158, 11, 0.15);
  --success:       #22c55e;
  --success-glow:  rgba(34, 197, 94, 0.15);
  --danger:        #ef4444;
  --danger-glow:   rgba(239, 68, 68, 0.15);
  --warning:       #eab308;

  /* ── Borders & lines ── */
  --line:          rgba(15, 23, 42, 0.06);
  --line-bright:   rgba(15, 23, 42, 0.10);
  --glass-border:  rgba(15, 23, 42, 0.06);

  /* ── Glassmorphism (Light) ── */
  --glass-bg:      rgba(255, 255, 255, 0.70);
  --glass-bg-dense:rgba(255, 255, 255, 0.85);
  --glass-blur:    blur(20px);
  --glass-blur-lg: blur(40px);

  /* ── Typography ── */
  --font-display:  'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body:     'Inter', 'Segoe UI', system-ui, sans-serif;

  /* ── Type scale (fluid) ── */
  --text-xs:       0.72rem;
  --text-sm:       0.82rem;
  --text-base:     0.92rem;
  --text-md:       1.05rem;
  --text-lg:       1.2rem;
  --text-xl:       clamp(1.4rem, 2.5vw, 1.8rem);
  --text-2xl:      clamp(1.8rem, 3vw, 2.5rem);
  --text-3xl:      clamp(2.4rem, 5.5vw, 4.2rem);

  /* ── Spacing scale ── */
  --space-xs:      4px;
  --space-sm:      8px;
  --space-md:      16px;
  --space-lg:      24px;
  --space-xl:      32px;
  --space-2xl:     48px;
  --space-3xl:     64px;
  --space-4xl:     96px;

  /* ── Radius ── */
  --radius-xs:     6px;
  --radius-sm:     10px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --radius-full:   100px;

  /* ── Shadows (Light) ── */
  --shadow-soft:   0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lift:   0 16px 48px rgba(15, 23, 42, 0.10);
  --shadow-glow:   0 0 40px var(--indigo-glow);
  --shadow-cyan:   0 0 40px var(--cyan-glow);
  --shadow-amber:  0 0 40px var(--amber-glow);

  /* ── Easing (Emil Kowalski recommended) ── */
  --ease-out:      cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:   cubic-bezier(0.77, 0, 0.175, 1);
  --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-drawer:   cubic-bezier(0.32, 0.72, 0, 1);

  /* ── Z-index scale ── */
  --z-base:        1;
  --z-dropdown:    100;
  --z-sticky:      500;
  --z-drawer:      600;
  --z-modal:       900;
  --z-toast:       1000;
  --z-chat:        1100;

  /* ── Spotlight nav vars ── */
  --spotlight-color: rgba(99, 102, 241, 0.10);
  --ambience-color:  rgba(99, 102, 241, 0.85);
  --spotlight-x:     50%;
  --ambience-x:      50%;
}

/* ── Accessibility: Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Global reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-secondary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-weight: 800; }
h2 { font-weight: 700; }

p { margin: 0 0 1em; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button { cursor: pointer; }
textarea { resize: vertical; }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

::selection {
  background: rgba(99, 102, 241, 0.30);
  color: #fff;
}

/* ─────────────────────────────────────────────────────────────
   §1.5  CUSTOM CURSOR & PAGE LOADER
   ───────────────────────────────────────────────────────────── */
body {
  /* Hide default cursor on desktop */
  cursor: none;
}
/* Re-enable default cursor on touch devices to avoid issues */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .custom-cursor, .cursor-dot, .cursor-ring { display: none !important; }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--indigo);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s ease;
  will-change: transform, width, height;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--indigo);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
  will-change: transform, width, height;
}

.cursor-dot.hover {
  background: transparent;
}

.cursor-ring.hover {
  width: 70px;
  height: 70px;
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
}



@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────────────────────
   §2  LAYOUT PRIMITIVES
   ───────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-raised);
}

.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(99, 102, 241, 0.04), transparent),
    radial-gradient(ellipse 600px 400px at 80% 50%, rgba(6, 182, 212, 0.03), transparent);
  pointer-events: none;
}

.page-header {
  padding: 130px 0 56px !important;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--bg-raised), var(--bg-base));
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 65%);
  pointer-events: none;
}

.page-header h1 {
  font-size: var(--text-2xl);
  position: relative;
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: var(--text-md);
  position: relative;
}

.eyebrow,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5b21b6;
  background: linear-gradient(135deg, rgba(238, 230, 255, 0.95), rgba(224, 214, 255, 0.9));
  padding: 8px 24px;
  border-radius: 9999px;
  border: 1.5px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
}

.eyebrow:hover,
.hero-eyebrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.18),
              inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="dark"] .eyebrow,
[data-theme="dark"] .hero-eyebrow {
  color: #ddd6fe;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(99, 102, 241, 0.18));
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.section-head {
  max-width: 640px;
  margin: 0 0 var(--space-2xl);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: var(--text-2xl);
}

.section-head p {
  font-size: var(--text-md);
  color: var(--ink-soft);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────────────────────────
   §3  BUTTONS
   ───────────────────────────────────────────────────────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  overflow: hidden;
  transition:
    transform 160ms var(--ease-out),
    box-shadow 0.35s ease,
    border-color 0.3s ease;
  will-change: transform;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.97);
}

/* ── Tactile Press Feedback (Emil Kowalski) ── */
.btn-purple-pill:active,
.btn-glass-outline:active,
.btn-primary-gradient:active {
  transform: scale(0.97);
}

.floating-card:active {
  transform: scale(0.96) !important;
}

.glass-card:active {
  transform: scale(0.98);
}

.filter-btn:active {
  transform: scale(0.97);
}

.bento-item:active {
  transform: scale(0.98);
}

.story-card:active {
  transform: scale(0.98);
}

.faq-question:active {
  transform: scale(0.99);
}

.course-card:active,
.blog-card:active,
.feature-card:active,
.placement-card:active {
  transform: scale(0.98) !important;
}

.social-icon:active,
.social-icon-btn:active {
  transform: scale(0.92);
}

.theme-toggle:active,
.theme-btn:active {
  transform: scale(0.93);
}

/* Gradient primary with glow */
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  box-shadow: 0 8px 24px var(--indigo-glow);
}

.btn-primary:hover {
  box-shadow:
    0 12px 36px var(--indigo-glow),
    0 0 60px rgba(99, 102, 241, 0.20);
  transform: translateY(-2px);
}

/* Sweep shine sheen */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.25) 50%, transparent 90%);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}

.btn:hover::after {
  left: 130%;
}

/* Outline with animated border */
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-bright);
  position: relative;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-outline:hover {
  color: var(--indigo);
  border-color: transparent;
}


/* ─────────────────────────────────────────────────────────────
   §4  NAVBAR — Capsule Spotlight (Glassmorphic Dark)
   ───────────────────────────────────────────────────────────── */

#navbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: var(--z-sticky);
  width: calc(100% - 32px);
  max-width: 1100px;
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 100px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04),
              inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  padding: 6px 16px !important;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease, box-shadow 0.4s ease !important;
}

/* Scrolled styling updates */
#navbar.scrolled {
  top: 8px;
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08),
              0 0 0 1px rgba(99, 102, 241, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  max-width: 1040px;
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), filter 0.4s ease;
}

.brand-logo-img:hover {
  transform: scale(1.04) translateY(-1px);
  filter: drop-shadow(0 0 10px rgba(212, 163, 89, 0.45));
}

.brand-logo-img-footer {
  height: 64px;
  width: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), filter 0.4s ease;
}

.brand-logo-img-footer:hover {
  transform: scale(1.04) translateY(-1px);
  filter: drop-shadow(0 0 10px rgba(212, 163, 89, 0.45));
}

/* Spotlight capsule */
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  gap: 4px;
}

/* Spotlight follow glow */
.nav-links::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-full);
  background: radial-gradient(
    120px circle at var(--spotlight-x) 100%,
    var(--spotlight-color) 0%,
    transparent 50%
  );
}

.nav-links:hover::before {
  opacity: 1;
}

/* Bottom ambience glow line removed */
.nav-links::after {
  content: none !important;
}

.nav-links > li {
  position: relative;
  z-index: 3;
}

.nav-links a,
.mobile-nav-links a {
  color: var(--ink-soft) !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  border-radius: var(--radius-full) !important;
  white-space: nowrap !important;
  transition:
    color 0.25s ease,
    background 0.25s ease !important;
  background: transparent !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:hover,
.mobile-nav-links a:hover {
  color: var(--indigo) !important;
  background: rgba(99, 102, 241, 0.05) !important;
}

.nav-links a.active {
  color: var(--indigo) !important;
  font-weight: 700 !important;
}

.chevron {
  transition: transform 0.3s var(--ease-out);
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--glass-bg-dense);
  backdrop-filter: var(--glass-blur-lg);
  -webkit-backdrop-filter: var(--glass-blur-lg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 10px 0;
  min-width: 200px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease-out), opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  z-index: var(--z-dropdown);
}

.nav-dropdown-menu li a {
  display: block !important;
  padding: 10px 20px !important;
  border-radius: 0 !important;
  font-size: 0.86rem !important;
  color: var(--ink-soft) !important;
}

.nav-dropdown-menu li a:hover {
  color: var(--indigo) !important;
  background: rgba(99, 102, 241, 0.06) !important;
  letter-spacing: 0 !important;
}

.nav-item-dropdown.active .nav-dropdown-menu {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(4px) !important;
}

.nav-item-dropdown.active .nav-dropdown-trigger svg.chevron {
  transform: rotate(180deg) !important;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  transition:
    transform 160ms var(--ease-out),
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.nav-btn:active {
  transform: scale(0.97);
}

.nav-btn.btn-outline {
  border: 1px solid var(--line-bright);
  color: var(--ink-secondary);
  background: transparent;
}

.nav-btn.btn-outline:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.nav-btn.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  border: none;
}

.nav-btn.btn-primary:hover {
  box-shadow: 0 8px 24px var(--indigo-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: calc(var(--z-drawer) + 10);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease, background 0.3s ease;
  display: block;
}

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

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: rgba(5, 8, 16, 0.60);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 85vw);
  height: 100%;
  background: var(--bg-raised);
  border-left: 1px solid var(--glass-border);
  padding: 90px 28px 28px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-drawer);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.40);
  overflow-y: auto;
}

.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-nav-links li {
  margin-bottom: 6px;
}

.mobile-nav-links a {
  display: block !important;
  padding: 12px 6px !important;
  font-size: 1rem !important;
}

.mobile-drawer .nav-dropdown-menu {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  box-shadow: none;
  border: none;
  padding-left: 14px;
  display: none;
  background: transparent;
  backdrop-filter: none;
}

.mobile-drawer .nav-item-dropdown.active .nav-dropdown-menu {
  display: block;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions {
    display: none !important;
  }
  .hamburger {
    display: flex;
  }
}


/* ─────────────────────────────────────────────────────────────
   §5  HERO SECTION (CENTERED SCREENSHOT MATCHED)
   ───────────────────────────────────────────────────────────── */

.hero-centered {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-surface);
  padding: 9.5rem 2rem 3rem !important;
  z-index: 1;
}

.hero-purple-aura {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 950px;
  height: 650px;
  background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.45) 0%, rgba(139, 92, 246, 0.25) 35%, rgba(99, 102, 241, 0.12) 60%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: auraPulse 8s ease-in-out infinite alternate;
}

@keyframes auraPulse {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.hero-centered-content {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-centered-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0f172a !important;
  margin-bottom: 2rem;
  position: relative;
}

[data-theme="dark"] .hero-centered-title {
  color: #f8fafc !important;
}

.hero-centered-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #334155 !important;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 2.8rem;
  font-weight: 500;
}

[data-theme="dark"] .hero-centered-subtitle {
  color: #cbd5e1 !important;
}

.hero-centered-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ==========================================================
   HIGH-AGENCY TASTE SKILL — BENTO 2.0 & LIQUID GLASS SYSTEM
   ========================================================== */
.hero-asymmetric {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 120px 6vw 60px 6vw;
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .hero-asymmetric {
    grid-template-columns: 1fr;
    padding-top: 100px;
    gap: 36px;
  }
}

/* ==========================================================
   HERO 3D CONTAINER, CENTRAL ORB & FLOATING TECH CARDS
   ========================================================== */
.hero-3d {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-3d-scene {
    width: 100%;
    max-width: 500px;
    height: 500px;
    position: relative;
    perspective: 1000px;
}

/* Central Orb Structure */
.central-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
}

.orb-core {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.5), 0 0 120px rgba(99, 102, 241, 0.2);
    animation: orbPulse 3s infinite ease-in-out;
}

.orb-inner-pulse {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    animation: innerPulse 2s infinite ease-out;
}

@keyframes innerPulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes orbPulse {
    0%, 100% {
        box-shadow: 0 0 60px rgba(99, 102, 241, 0.5), 0 0 120px rgba(99, 102, 241, 0.2);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 0 80px rgba(99, 102, 241, 0.7), 0 0 160px rgba(99, 102, 241, 0.3);
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* 3D Orbiting Rings — White Theme (Vibrant Indigo & Purple Accents) */
.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1.5px solid rgba(99, 102, 241, 0.35);
    border-radius: 50%;
    animation: ringRotate 10s infinite linear;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.12);
}

.ring-1 {
    width: 120px; height: 120px;
    transform: translate(-50%, -50%) rotateX(60deg);
    border-color: rgba(99, 102, 241, 0.55);
}

.ring-2 {
    width: 160px; height: 160px;
    transform: translate(-50%, -50%) rotateX(60deg) rotateY(45deg);
    animation-duration: 15s;
    animation-direction: reverse;
    border-color: rgba(168, 85, 247, 0.45);
}

.ring-3 {
    width: 200px; height: 200px;
    transform: translate(-50%, -50%) rotateX(60deg) rotateY(90deg);
    animation-duration: 20s;
    border-color: rgba(6, 182, 212, 0.35);
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}

/* Orb Particles */
.orb-particles {
    position: absolute;
    top: 50%; left: 50%;
    width: 200px; height: 200px;
    transform: translate(-50%, -50%);
}

.orb-particles span {
    position: absolute;
    top: 50%; left: 50%;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #6366f1;
    box-shadow: 0 0 10px #6366f1, 0 0 16px rgba(99, 102, 241, 0.6);
    animation: orbParticle 4s infinite ease-in-out;
    animation-delay: calc(var(--a) * -0.5s);
}

@keyframes orbParticle {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(calc(var(--a) * 45deg)) translateX(40px) scale(0.5);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) rotate(calc(var(--a) * 45deg + 180deg)) translateX(80px) scale(1);
        opacity: 1;
    }
}

/* Floating Glass Cards — Premium White Theme */
.floating-card {
    position: absolute;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    color: #0f172a !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
    z-index: 2;
    overflow: hidden;
    user-select: none;
}

.floating-card span {
    color: #0f172a !important;
    font-weight: 700;
}

.card-glow-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.12), 0 0 20px rgba(99, 102, 241, 0.08);
}

.floating-card:hover {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.22), 0 6px 16px rgba(0, 0, 0, 0.06) !important;
    transform: scale(1.08) translateY(-4px) !important;
}

.floating-card:hover .card-glow-border {
    opacity: 1;
}

.card-glow-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.15), 0 0 20px rgba(99, 102, 241, 0.1);
}

.floating-card:hover {
    border-color: #6366f1;
    transform: scale(1.08) !important;
}

.floating-card:hover .card-glow-border {
    opacity: 1;
}

.fc-icon { font-size: 1.5rem; }

/* Positioning & Floating Drift Keyframes */
.card-1 { top: 10%; left: 5%; animation: floatCard1 6s infinite ease-in-out; }
.card-2 { top: 5%; right: 10%; animation: floatCard2 7s infinite ease-in-out; }
.card-3 { bottom: 25%; right: 5%; animation: floatCard3 8s infinite ease-in-out; }
.card-4 { bottom: 10%; left: 10%; animation: floatCard4 6.5s infinite ease-in-out; }
.card-5 { top: 45%; right: 25%; animation: floatCard5 7.5s infinite ease-in-out; }

@keyframes floatCard1 {
    0%, 100% { transform: translate(0, 0) rotate(-2deg); }
    50% { transform: translate(10px, -20px) rotate(2deg); }
}
@keyframes floatCard2 {
    0%, 100% { transform: translate(0, 0) rotate(3deg); }
    50% { transform: translate(-15px, 15px) rotate(-1deg); }
}
@keyframes floatCard3 {
    0%, 100% { transform: translate(0, 0) rotate(-1deg); }
    50% { transform: translate(-10px, -25px) rotate(3deg); }
}
@keyframes floatCard4 {
    0%, 100% { transform: translate(0, 0) rotate(2deg); }
    50% { transform: translate(20px, -10px) rotate(-2deg); }
}
@keyframes floatCard5 {
    0%, 100% { transform: translate(0, 0) rotate(-3deg); }
    50% { transform: translate(-8px, 18px) rotate(1deg); }
}

/* SVG Overlay */
.connection-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-tag-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 8px #d4af37;
  animation: pulseDot 2s infinite ease-in-out;
}

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

.hero-asymmetric-title {
  font-family: 'Inter Tight', 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-asymmetric-title .gradient-text {
  background: linear-gradient(135deg, #d4af37 0%, #f3e098 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-asymmetric-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--ink-secondary);
  line-height: 1.65;
  max-width: 54ch;
  margin-bottom: 36px;
  font-weight: 450;
}

/* Liquid Glass Bento 2.0 Panel */
.bento-hero-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12),
              0 24px 48px -16px rgba(0, 0, 0, 0.45);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.bento-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #22c55e;
}

.bento-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 1.8s infinite ease-in-out;
}

.bento-metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.5rem;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s ease;
}

.bento-metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.bento-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  flex-shrink: 0;
}

.btn-purple-pill {
  padding: 0.95rem 2.4rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-purple-pill:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

.btn-watch-demo {
  padding: 0.95rem 1.8rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  color: #1e1b4b !important;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

[data-theme="dark"] .btn-watch-demo {
  color: #f8fafc !important;
}

.btn-watch-demo:hover {
  color: #6366f1 !important;
  transform: translateY(-1px);
}

.btn-watch-demo svg {
  color: #6366f1;
}

.brand-text-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(99, 102, 241, 0.45);
  letter-spacing: -0.02em;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

[data-theme="dark"] .brand-text-logo {
  color: rgba(255, 255, 255, 0.35);
}

.brand-text-logo:hover {
  color: var(--indigo);
  transform: scale(1.05);
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 1.5rem;
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.gradient-text {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-main {
  font-size: 1.125rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

@media (max-width: 960px) {
  .hero-subtitle-main {
    margin-inline: auto;
  }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 960px) {
  .hero-cta-group {
    justify-content: center;
  }
}

.btn-primary-gradient {
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-gradient:hover {
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
}

.btn-glass-outline {
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink) !important;
  background: var(--glass-bg);
  border: 1px solid var(--line-bright);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.btn-glass-outline:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: var(--indigo);
}

.hero-card-preview {
  background: var(--bg-base);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  text-align: left;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.hero {
  padding: 100px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Radial gradient backdrop */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background:
    radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.15), transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(6, 182, 212, 0.10), transparent 50%);
  pointer-events: none;
  animation: gradientShift 8s ease-in-out infinite alternate;
}

/* Subtle particle dots */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1.5px, rgba(99, 102, 241, 0.18) 100%, transparent 100%),
    radial-gradient(circle 1px, rgba(6, 182, 212, 0.12) 100%, transparent 100%);
  background-size: 80px 80px, 60px 60px;
  background-position: 20px 20px, 40px 40px;
  pointer-events: none;
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.hero h1 {
  font-size: var(--text-3xl);
  max-width: 900px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

/* Gradient text accent */
.hero h1 .accent,
.accent {
  background: linear-gradient(135deg, var(--indigo), var(--cyan), var(--violet));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 4s ease-in-out infinite alternate;
}

.phrase-morph-wrap {
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}

.phrase-morph {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

.phrase-morph.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--ink-muted);
}


/* ─────────────────────────────────────────────────────────────
   §6  DISSOLVE / SCROLL SECTION
   ───────────────────────────────────────────────────────────── */

.dissolve-section {
  padding: 40px 0 100px;
}

.dissolve-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--glass-border);
  position: relative;
}

.dissolve-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--indigo), transparent 60%, var(--cyan));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

#dissolve-canvas {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-deepest);
}

.dissolve-caption {
  text-align: center;
  margin-top: 20px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}


/* ─────────────────────────────────────────────────────────────
   §7  BENTO GRID
   ───────────────────────────────────────────────────────────── */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 140px);
  gap: var(--space-md);
}

.bento-item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.bento-item:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(99, 102, 241, 0.20);
  z-index: 2;
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-item.b-slack  { grid-column: span 2; grid-row: span 1; }
.bento-item.b-github { grid-column: span 1; grid-row: span 2; }
.bento-item.b-zoom   { grid-column: span 1; grid-row: span 1; }
.bento-item.b-wide   { grid-column: span 2; grid-row: span 1; }

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.bento-item h4 {
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink);
}

.bento-item p {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 4px 0 0;
}

@media (max-width: 800px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .bento-item.b-slack,
  .bento-item.b-github,
  .bento-item.b-zoom,
  .bento-item.b-wide {
    grid-column: span 1;
    grid-row: auto;
  }
}


/* ─────────────────────────────────────────────────────────────
   §8  3D TILT CARDS
   ───────────────────────────────────────────────────────────── */

.tilt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  perspective: 1200px;
}

.tilt-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transform-style: preserve-3d;
  transition:
    transform 0.15s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  box-shadow: var(--shadow-soft);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.tilt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05),
    transparent 60%,
    rgba(6, 182, 212, 0.03)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tilt-card:hover {
  box-shadow: var(--shadow-lift);
  border-color: rgba(99, 102, 241, 0.15);
}

.tilt-card:hover::before {
  opacity: 1;
}

.tilt-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transform: translateZ(30px);
  box-shadow: 0 4px 16px var(--indigo-glow);
}

.tilt-card h4 {
  transform: translateZ(20px);
  font-size: 1.05rem;
  color: var(--ink);
}

.tilt-card p {
  transform: translateZ(15px);
  font-size: 0.9rem;
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .tilt-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────────────────────────
   §9  TIMELINE
   ───────────────────────────────────────────────────────────── */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  perspective: 1200px;
}

.timeline-item {
  position: relative;
  padding-top: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  border-radius: 4px;
}

.timeline-item h4 {
  color: var(--ink);
  font-size: 0.95rem;
}

.timeline-item p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────────────────────────
   §10  REVIEW CARDS
   ───────────────────────────────────────────────────────────── */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  perspective: 1200px;
}

.review-grid .tilt-card {
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--amber);
  letter-spacing: 2px;
  margin-bottom: 10px;
  transform: translateZ(15px);
  font-size: 1rem;
}

.review-name {
  font-weight: 700;
  color: var(--ink);
  margin-top: 14px;
  transform: translateZ(20px);
}

.review-role {
  font-size: 0.8rem;
  color: var(--ink-muted);
  transform: translateZ(15px);
}

@media (max-width: 900px) {
  .review-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────────────────────────
   §11  COURSE & BLOG CARDS
   ───────────────────────────────────────────────────────────── */

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar filter */
.filter-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 22px;
  position: sticky;
  top: 100px;
}

.filter-card h4 {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--ink);
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-btn {
  text-align: left;
  background: transparent;
  border: none;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition:
    background 0.2s ease,
    color 0.2s ease;
  cursor: pointer;
}

.filter-btn:hover {
  background: var(--bg-subtle);
  color: var(--ink);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  box-shadow: 0 4px 12px var(--indigo-glow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ==========================================================
   ULTRA-PREMIUM VERCEL & APPLE LEVEL COURSE CARDS
   ========================================================== */
.course-card,
.blog-card,
.feature-card,
.tilt-card,
.placement-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.3s ease !important;
}

/* Clean, Elegant Hover Elevation for Course Cards without radial spotlight circle tints */
.course-card:hover,
.blog-card:hover,
.feature-card:hover,
.tilt-card:hover,
.placement-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.35), 
              0 0 20px rgba(212, 175, 55, 0.15) !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
}

/* Ensure inner contents sit cleanly above background spotlight */
.course-card > *,
.blog-card > *,
.feature-card > *,
.tilt-card > *,
.placement-card > * {
  position: relative;
  z-index: 3;
}

/* Button Active State Physics */
.btn-enroll-full,
.submit-btn,
.btn-primary {
  transition: transform 0.16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.2s ease, background 0.2s ease !important;
}

.btn-enroll-full:active,
.submit-btn:active,
.btn-primary:active {
  transform: scale(0.97) !important;
}

/* Blog card image placeholder gradient */
.blog-card .card-image {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-subtle));
  overflow: hidden;
}

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

.tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.10);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.course-card h3,
.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.course-meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 14px 0;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-card { position: static; }
  .card-grid { grid-template-columns: 1fr; }
  .filter-list {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .filter-btn {
    text-align: center !important;
    flex: 1 1 auto;
  }
}


/* ─────────────────────────────────────────────────────────────
   §12  BADGES & TAGS
   ───────────────────────────────────────────────────────────── */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-bright);
  color: var(--ink-soft);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.badge:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}


/* ─────────────────────────────────────────────────────────────
   §13  FORMS
   ───────────────────────────────────────────────────────────── */

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-bright);
  background: var(--bg-surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo);
  background: var(--bg-subtle);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.form-note {
  font-size: var(--text-sm);
  margin-top: 14px;
  min-height: 1.2em;
}

.form-note.success { color: var(--success); }
.form-note.error   { color: var(--danger); }

.submit-btn {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 8px 24px var(--indigo-glow);
  transition:
    transform 160ms var(--ease-out),
    box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.submit-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.20) 50%, transparent 90%);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}

.submit-btn:hover::after {
  left: 130%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--indigo-glow);
}

.submit-btn:active {
  transform: scale(0.97);
}


/* ─────────────────────────────────────────────────────────────
   §14  MULTI-STEP FORM / OTP
   ───────────────────────────────────────────────────────────── */

.step-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 54px;
}

/* Background progress line */
.step-progress::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--line-bright);
  z-index: 1;
}

.step-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--bg-raised);
  border: 2px solid var(--line-bright);
  color: var(--ink-muted);
  transition: transform 0.35s var(--ease-out), opacity 0.35s ease, background 0.35s ease;
  position: relative;
  z-index: 2;
}

.step-indicator span {
  position: relative;
  z-index: 3;
}

.step-indicator small {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.35s ease;
}

.step-indicator.active {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  border-color: var(--indigo);
  color: #fff;
  box-shadow: 0 0 16px var(--indigo-glow);
}

.step-indicator.active small {
  color: var(--indigo);
  font-weight: 600;
}

.step-indicator.completed {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.step-indicator.completed small {
  color: var(--success);
  font-weight: 600;
}

@media (max-width: 400px) {
  .step-indicator small {
    display: none;
  }
  .step-indicator.active small {
    display: block;
  }
}

.step-content {
  display: none;
  animation: fadeInUp 0.35s var(--ease-out);
}

.step-content.active {
  display: block;
}

/* OTP input boxes */
.otp-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: var(--space-lg) 0;
}

.otp-inputs input {
  width: 52px;
  height: 56px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-surface);
  border: 2px solid var(--line-bright);
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.otp-inputs input:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.20);
  background: var(--bg-subtle);
}


/* ─────────────────────────────────────────────────────────────
   §15  LAMP PORTAL (LOGIN / REGISTER)
   ───────────────────────────────────────────────────────────── */

.portal-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #0f172a;
  transition: background 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  position: relative;
}

.lamp-column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
}

.portal-brand {
  position: absolute;
  top: 32px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  text-decoration: none;
}

.lamp-shade {
  width: 90px;
  height: 60px;
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #334155, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lamp-stand {
  width: 3px;
  height: 26px;
  background: #334155;
}

.lamp-cord-wrapper {
  position: relative;
  cursor: pointer;
  transform-origin: top center;
  transition: transform 0.6s var(--ease-bounce);
  padding: 10px 24px;
}

.lamp-string-line {
  width: 2px;
  height: 120px;
  background: #475569;
  margin: 0 auto;
}

.lamp-string-handle {
  width: 14px;
  height: 14px;
  background: #64748b;
  border-radius: 50%;
  margin: -2px auto 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease;
}

.lamp-cord-wrapper:hover .lamp-string-handle {
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.30);
}

.lamp-hint {
  color: #64748b;
  font-size: 0.78rem;
  margin-top: 10px;
  text-align: center;
  letter-spacing: 0.04em;
}

.portal-container.lamp-illuminated .lamp-hint {
  color: var(--ink-muted);
}

.lamp-cord-wrapper.pull-animation {
  animation: cordSpringPull 0.6s cubic-bezier(0.36, 1.3, 0.4, 1.2);
}

.lamp-cord-wrapper.pull-animation .lamp-string-line {
  animation: stringStretch 0.6s cubic-bezier(0.36, 1.3, 0.4, 1.2);
  transform-origin: top center;
}

@keyframes cordSpringPull {
  0% { transform: translateY(0); }
  30% { transform: translateY(35px); }
  50% { transform: translateY(12px); }
  70% { transform: translateY(22px); }
  100% { transform: translateY(0); }
}

@keyframes stringStretch {
  0% { transform: scaleY(1); }
  30% { transform: scaleY(1.25); }
  50% { transform: scaleY(0.95); }
  70% { transform: scaleY(1.05); }
  100% { transform: scaleY(1); }
}

.lamp-light-cone {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: top center;
  width: 400px;
  height: 600px;
  background: radial-gradient(
    ellipse at top,
    rgba(253, 224, 71, 0.15) 0%,
    rgba(245, 158, 11, 0.05) 40%,
    transparent 70%
  );
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.portal-container.lamp-illuminated .lamp-light-cone {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
  filter: drop-shadow(0 0 10px rgba(253, 224, 71, 0.2));
}

.lamp-caption {
  margin-top: auto;
  padding: 40px;
  color: #475569;
  font-size: 0.85rem;
  max-width: 340px;
  text-align: center;
  transition: color 0.6s ease;
}

.portal-container.lamp-illuminated .lamp-caption {
  color: var(--ink-muted);
}

.form-column {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.reveal-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  background: var(--bg-raised);
  border-radius: 20px;
  padding: 44px;
  box-shadow: var(--shadow-lift);
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--glass-border);
}

.reveal-card h2 {
  margin-bottom: 6px;
  color: var(--ink);
}

.reveal-card .sub {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 26px;
}

.portal-container.lamp-illuminated {
  background: var(--bg-base);
}

.portal-container.lamp-illuminated .reveal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  animation: cardEntrance 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes cardEntrance {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.reveal-hint {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}

.portal-container:not(.lamp-illuminated) .form-column .reveal-hint {
  opacity: 1;
  color: #64748b;
}

.portal-switch {
  text-align: center;
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.portal-switch a {
  color: var(--indigo);
  font-weight: 600;
}

.portal-switch a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .portal-container { grid-template-columns: 1fr; }
  .lamp-column { padding-top: 90px; padding-bottom: 20px; }
  .lamp-caption { display: none; }
}


/* ─────────────────────────────────────────────────────────────
   §16  CONTACT PAGE
   ───────────────────────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(99, 102, 241, 0.10);
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 16px var(--indigo-glow);
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: var(--ink);
}

.contact-info-item p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-top: var(--space-xl);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) brightness(0.6) contrast(1.1);
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────────────────────────
   §17  FOOTER
   ───────────────────────────────────────────────────────────── */

footer {
  background: var(--bg-deepest);
  color: var(--ink-soft);
  padding: 64px 0 28px;
  margin-top: 60px;
  position: relative;
  border-top: 1px solid var(--glass-border);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--indigo), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h5 {
  color: var(--ink);
  font-size: 0.9rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-grid a {
  display: block;
  padding: 5px 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
  transition: color 0.25s ease, padding-left 0.25s var(--ease-out);
}

.footer-grid a:hover {
  color: var(--indigo);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
  font-size: 0.8rem;
  color: var(--ink-faint);
  text-align: center;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  color: var(--ink-soft);
  font-size: 1rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
  box-shadow: 0 4px 16px var(--indigo-glow);
  transform: translateY(-3px);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────────────────────────
   §18  STUDENT DASHBOARD
   ───────────────────────────────────────────────────────────── */

.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--bg-base);
}

.dash-sidebar {
  background: var(--bg-raised);
  border-right: 1px solid var(--glass-border);
  padding: var(--space-xl) 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.dash-sidebar-header {
  padding: 0 24px 20px 24px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-bright, rgba(15, 23, 42, 0.08));
}

.dash-sidebar-header .nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.dash-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border-left: 3px solid transparent;
  cursor: pointer;
}

.dash-sidebar-link:hover {
  color: var(--ink);
  background: var(--bg-surface);
}

.dash-sidebar-link.active {
  color: var(--indigo);
  background: rgba(99, 102, 241, 0.08);
  border-left-color: var(--indigo);
  font-weight: 600;
}

.dash-content {
  padding: var(--space-xl) var(--space-2xl);
}

/* Dashboard tab panels */
.dash-tab {
  display: none;
  animation: fadeInUp 0.4s var(--ease-out);
}

.dash-tab.active {
  display: block;
}

/* Stat cards with gradient borders */
.stat-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.stat-card-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* Data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-lg);
}

.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line-bright);
  background: var(--bg-raised);
}

.data-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  border-bottom: 1px solid var(--line);
}

.data-table tr {
  transition: background 0.2s ease;
}

.data-table tbody tr:hover {
  background: rgba(99, 102, 241, 0.04);
}

@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: fixed;
    left: -300px;
    width: 260px;
    z-index: var(--z-drawer);
    transition: left 0.35s var(--ease-drawer);
  }
  .dash-sidebar.open { left: 0; }
}


/* ─────────────────────────────────────────────────────────────
   §19  ADMIN PANEL
   ───────────────────────────────────────────────────────────── */

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--bg-base);
}

.admin-sidebar {
  background: var(--bg-raised);
  border-right: 1px solid var(--glass-border);
  padding: var(--space-xl) 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border-left: 3px solid transparent;
  cursor: pointer;
}

.admin-sidebar-link:hover {
  color: var(--ink);
  background: var(--bg-surface);
}

.admin-sidebar-link.active {
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border-left-color: var(--cyan);
  font-weight: 600;
}

.admin-content {
  padding: var(--space-xl) var(--space-2xl);
}

/* Admin tab panels */
.admin-tab {
  display: none;
  animation: fadeInUp 0.4s var(--ease-out);
}

.admin-tab.active {
  display: block;
}

/* Admin stat grid */
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.admin-stat-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.admin-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-out);
}

.admin-stat-card:hover::after {
  transform: scaleX(1);
}

.admin-stat-card:hover {
  border-color: rgba(6, 182, 212, 0.20);
  transform: translateY(-3px);
}

.admin-stat-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.admin-stat-card p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Admin table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-lg);
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.admin-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line-bright);
}

.admin-table td {
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  border-bottom: 1px solid var(--line);
}

.admin-table tbody tr {
  transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
  background: rgba(6, 182, 212, 0.04);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

/* Admin modal */
.admin-modal {
  display: none;
}

.admin-modal.active {
  display: flex;
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(5, 8, 16, 0.70);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.25s var(--ease-out);
}

.admin-modal-content {
  background: var(--bg-raised);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 560px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lift);
  position: relative;
}

@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed;
    left: -300px;
    width: 260px;
    z-index: var(--z-drawer);
    transition: left 0.35s var(--ease-drawer);
  }
  .admin-sidebar.open { left: 0; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .admin-stat-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────────────────────────
   §20  STATUS BADGES
   ───────────────────────────────────────────────────────────── */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-approved {
  color: var(--success);
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.20);
}
.status-approved::before { background: var(--success); }

.status-pending {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.20);
}
.status-pending::before { background: var(--amber); }

.status-paid {
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.10);
  border: 1px solid rgba(6, 182, 212, 0.20);
}
.status-paid::before { background: var(--cyan); }

.status-completed {
  color: var(--indigo);
  background: rgba(99, 102, 241, 0.10);
  border: 1px solid rgba(99, 102, 241, 0.20);
}
.status-completed::before { background: var(--indigo); }

.status-suspended {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.20);
}
.status-suspended::before { background: var(--danger); }


/* ─────────────────────────────────────────────────────────────
   §21  CERTIFICATE VERIFICATION
   ───────────────────────────────────────────────────────────── */

.verify-search {
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  display: flex;
  gap: 12px;
  align-items: center;
}

.verify-search input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-bright);
  background: var(--bg-surface);
  color: var(--ink);
  font-size: var(--text-base);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.verify-search input:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.verify-search button {
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 0.3s ease;
  white-space: nowrap;
}

.verify-search button:hover {
  box-shadow: 0 8px 24px var(--indigo-glow);
  transform: translateY(-2px);
}

.verify-search button:active {
  transform: scale(0.97);
}

.verify-result {
  max-width: 600px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.verify-result::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--success), var(--cyan));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.verify-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), var(--cyan));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px var(--success-glow);
  animation: pulse 2s ease-in-out infinite;
}

.verify-info {
  text-align: left;
  margin-top: var(--space-lg);
}

.verify-info p {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.verify-info p strong {
  color: var(--ink);
}


/* ─────────────────────────────────────────────────────────────
   §22  AI CHATBOT WIDGET
   ───────────────────────────────────────────────────────────── */

.ai-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--indigo-glow);
  z-index: var(--z-chat);
  transition:
    transform 160ms var(--ease-out),
    box-shadow 0.3s ease;
  animation: pulse 3s ease-in-out infinite;
}

.ai-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px var(--indigo-glow);
}

.ai-fab:active {
  transform: scale(0.95);
}

.ai-chat-window {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 380px;
  max-height: 520px;
  background: var(--bg-raised);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  z-index: var(--z-chat);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-out), background 0.3s ease, box-shadow 0.3s ease;
  transform-origin: bottom right;
}

.ai-chat-window.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.ai-chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.ai-chat-header h4 {
  font-size: 0.95rem;
  margin: 0;
  color: #fff;
}

.ai-chat-header button {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.ai-chat-header button:hover {
  color: #fff;
}

.ai-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-msg-user,
.ai-msg-bot {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
  animation: fadeInUp 0.25s var(--ease-out);
}

.ai-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ai-msg-bot {
  align-self: flex-start;
  background: var(--bg-surface);
  color: var(--ink-secondary);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--glass-border);
}

.ai-typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
  align-self: flex-start;
}

.ai-typing-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-muted);
  animation: typingBounce 1.4s ease-in-out infinite;
}

.ai-typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing-indicator span:nth-child(3) { animation-delay: 0.30s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-6px); opacity: 1; }
}

.ai-chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 8px;
  background: var(--bg-raised);
}

.ai-chat-input-area input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.25s ease;
}

[data-theme="dark"] .ai-chat-input-area input {
  background: #1e293b !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.ai-chat-input-area input::placeholder {
  color: #94a3b8 !important;
}

.ai-chat-input-area input:focus {
  border-color: var(--indigo) !important;
}

.ai-chat-input-area button {
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: var(--indigo);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease;
}

.ai-chat-input-area button:hover {
  background: var(--indigo-deep);
}

.ai-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  margin: 0 16px 12px;
  border-radius: var(--radius-sm);
  background: rgba(37, 211, 102, 0.10);
  border: 1px solid rgba(37, 211, 102, 0.20);
  color: #25d366;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ai-whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.18);
}

@media (max-width: 480px) {
  .ai-chat-window {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 80px;
    max-height: 70vh;
  }
}


/* ─────────────────────────────────────────────────────────────
   §23  WHATSAPP FLOATING BUTTON
   ───────────────────────────────────────────────────────────── */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  z-index: var(--z-chat);
  transition:
    transform 160ms var(--ease-out),
    box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float:active {
  transform: scale(0.95);
}


/* ─────────────────────────────────────────────────────────────
   §24  COURSE DETAIL MODAL
   ───────────────────────────────────────────────────────────── */

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.course-modal.active {
  opacity: 1;
  pointer-events: all;
}

.course-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 16, 0.70);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.course-modal-content {
  background: var(--bg-raised);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  max-width: 800px;
  width: 100%;
  max-height: 95vh;
  box-shadow: var(--shadow-lift);
  position: relative;
  z-index: 2;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow-y: auto;
}

.course-modal.active .course-modal-content {
  transform: translateY(0) scale(1);
}

.course-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 1000 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.25s ease, background 0.25s ease !important;
}

.course-modal-close:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  transform: scale(1.1) rotate(90deg) !important;
}

/* Curriculum accordion */
.curriculum-accordion {
  margin-top: var(--space-lg);
}

.curriculum-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.curriculum-toggle {
  width: 100%;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-surface);
  cursor: pointer;
  transition: background 0.2s ease;
}

.curriculum-toggle:hover {
  background: var(--bg-subtle);
}

.curriculum-toggle svg {
  transition: transform 0.3s var(--ease-out);
}

.curriculum-item.open .curriculum-toggle svg {
  transform: rotate(180deg);
}

.curriculum-item .curriculum-content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), padding 0.35s ease;
}

.curriculum-item.open .curriculum-content {
  padding: 14px 18px;
  max-height: 500px;
}


/* ─────────────────────────────────────────────────────────────
   §25  PAYMENT MODAL
   ───────────────────────────────────────────────────────────── */

.payment-modal {
  display: none;
}

.payment-modal.active {
  display: block;
}

.payment-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(5, 8, 16, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInUp 0.25s var(--ease-out);
}

.razorpay-sim {
  background: var(--bg-raised);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lift);
  text-align: center;
}

.razorpay-sim h3 {
  color: var(--ink);
  margin-bottom: 8px;
}

.razorpay-sim .amount {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--indigo);
  margin-bottom: var(--space-lg);
}


/* ─────────────────────────────────────────────────────────────
   §26  FAQ ACCORDION
   ───────────────────────────────────────────────────────────── */

.faq-section {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.15);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: color 0.25s ease;
  text-align: left;
}

.faq-question:hover {
  color: var(--indigo);
}

.faq-toggle {
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  color: var(--ink-muted);
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  color: var(--indigo);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), padding 0.2s ease;
  padding: 0 22px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 22px 18px;
}


/* ─────────────────────────────────────────────────────────────
   §27  TESTIMONIAL SLIDER
   ───────────────────────────────────────────────────────────── */

.testimonial-slider {
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  animation: fadeInUp 0.4s var(--ease-out);
  text-align: center;
  padding: var(--space-xl);
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide blockquote {
  font-size: var(--text-md);
  font-style: italic;
  color: var(--ink-secondary);
  margin: 0 0 var(--space-lg);
  line-height: 1.7;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-md);
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-muted);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.testimonial-dots button.active {
  background: var(--indigo);
  box-shadow: 0 0 8px var(--indigo-glow);
  transform: scale(1.3);
}


/* ─────────────────────────────────────────────────────────────
   §28  404 ERROR PAGE
   ───────────────────────────────────────────────────────────── */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: var(--space-2xl);
}

.error-page h1 {
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--indigo), var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: var(--space-md);
  animation: gradientShift 3s ease-in-out infinite alternate;
}

.error-page h2 {
  font-size: var(--text-xl);
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.error-page p {
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: var(--space-xl);
}


/* ─────────────────────────────────────────────────────────────
   §29  TOAST NOTIFICATIONS
   ───────────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: var(--z-toast);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lift);
  /* Use transition for interruptibility, not keyframes */
  transform: translateX(120%);
  opacity: 0;
  transition:
    transform 0.4s var(--ease-out),
    opacity 0.4s ease;
  pointer-events: auto;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border: 1px solid rgba(34, 197, 94, 0.30);
}

.toast-error {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: 1px solid rgba(239, 68, 68, 0.30);
}


/* ─────────────────────────────────────────────────────────────
   §30  SKELETON LOADERS
   ───────────────────────────────────────────────────────────── */

.skeleton {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 40%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 60%,
    transparent 100%
  );
  animation: shimmer 1.8s ease-in-out infinite;
}

.skeleton-text {
  height: 14px;
  margin-bottom: 10px;
  border-radius: 6px;
}

.skeleton-text:last-child {
  width: 60%;
}

.skeleton-card {
  height: 200px;
  border-radius: var(--radius-md);
}


/* ─────────────────────────────────────────────────────────────
   §31  SCROLL-REVEAL ANIMATIONS
   ───────────────────────────────────────────────────────────── */

.reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  filter: blur(4px);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease !important;
  will-change: auto;
}

.reveal-on-scroll.revealed {
  opacity: 1 !important;
  transform: none !important;
  filter: blur(0);
}

/* Stagger children */
.reveal-on-scroll:nth-child(1) { transition-delay: 0ms; }
.reveal-on-scroll:nth-child(2) { transition-delay: 60ms; }
.reveal-on-scroll:nth-child(3) { transition-delay: 120ms; }
.reveal-on-scroll:nth-child(4) { transition-delay: 180ms; }
.reveal-on-scroll:nth-child(5) { transition-delay: 240ms; }
.reveal-on-scroll:nth-child(6) { transition-delay: 300ms; }
.reveal-on-scroll:nth-child(7) { transition-delay: 360ms; }
.reveal-on-scroll:nth-child(8) { transition-delay: 420ms; }


/* ─────────────────────────────────────────────────────────────
   §32  @KEYFRAMES LIBRARY
   ───────────────────────────────────────────────────────────── */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 var(--indigo-glow);
  }
  50% {
    box-shadow: 0 0 0 12px transparent;
  }
}

@keyframes rotate3d {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0%   { transform: scale(0.92); opacity: 0; }
  60%  { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px var(--indigo-glow); }
  50%      { box-shadow: 0 0 40px var(--indigo-glow), 0 0 60px rgba(99, 102, 241, 0.15); }
}

@keyframes borderRotate {
  from { --angle: 0deg; }
  to   { --angle: 360deg; }
}


/* ─────────────────────────────────────────────────────────────
   §33  RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────────────────────── */

/* ── Small phones ── */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-stat strong {
    font-size: 1.4rem;
  }

  .btn {
    padding: 11px 22px;
    font-size: 0.86rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .form-card,
  .reveal-card {
    padding: 28px 20px;
  }
}

/* ── Tablets portrait ── */
@media (max-width: 768px) {
  .section-head h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .tilt-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Tablets landscape ── */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .bento-item.b-slack,
  .bento-item.b-github,
  .bento-item.b-zoom,
  .bento-item.b-wide {
    grid-column: span 1;
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Large desktops ── */
@media (min-width: 1280px) {
  .container {
    max-width: 1240px;
  }

  .hero h1 {
    font-size: 4.2rem;
  }
}

/* ── Hover-capable only ── */
@media (hover: hover) and (pointer: fine) {
  .bento-item:hover {
    transform: scale(1.03) translateY(-4px);
  }

  .course-card:hover,
  .blog-card:hover {
    transform: translateY(-6px);
  }

  .tilt-card:hover {
    box-shadow: var(--shadow-lift);
  }

  .social-icon:hover {
    transform: translateY(-3px);
  }

  .glass-card:hover,
  .faq-question:hover,
  .floating-card:hover,
  .story-card:hover,
  .placement-card:hover,
  .feature-card:hover,
  .btn:hover,
  .btn-purple-pill:hover,
  .submit-btn:hover {
    /* hover styles already defined above; this guard ensures they only fire on pointer devices */
  }
}


/* ─────────────────────────────────────────────────────────────
   §34  PRINT STYLES
   ───────────────────────────────────────────────────────────── */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    font-size: 11pt;
    line-height: 1.5;
    color: #000;
  }

  #navbar,
  .hamburger,
  .mobile-drawer,
  .ai-fab,
  .ai-chat-window,
  .whatsapp-float,
  footer,
  .hero-actions,
  .btn,
  .toast {
    display: none !important;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
    color: #000 !important;
  }

  a {
    text-decoration: underline;
    color: #1a0dab !important;
  }

  /* Certificate print */
  .verify-result {
    border: 2px solid #000;
    padding: 24px;
  }

  .verify-badge {
    border: 2px solid #000;
    background: #fff !important;
    animation: none;
  }

  .verify-info p {
    border-bottom: 1px solid #ccc;
  }

  /* Data tables print */
  .data-table,
  .admin-table {
    border: 1px solid #ccc;
  }

  .data-table th,
  .admin-table th {
    background: #f0f0f0 !important;
    border-bottom: 2px solid #000;
  }

  .data-table td,
  .admin-table td {
    border-bottom: 1px solid #ccc;
  }

  /* Status badges print-friendly */
  .status-badge {
    border: 1px solid currentColor;
    background: transparent !important;
  }

  /* Payment receipt print */
  .razorpay-sim {
    border: 2px solid #000;
    padding: 24px;
  }

  .razorpay-sim .amount {
    color: #000 !important;
    font-size: 1.5rem;
  }

  /* Avoid page breaks in cards */
  .course-card,
  .blog-card,
  .stat-card,
  .tilt-card {
    page-break-inside: avoid;
    border: 1px solid #ccc;
  }

  /* Remove glass effects */
  .form-card,
  .filter-card,
  .admin-stat-card,
  .faq-item {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #ccc;
  }
}


/* ─────────────────────────────────────────────────────────────
   §35  SCROLLBAR STYLING
   ───────────────────────────────────────────────────────────── */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ink-faint);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--bg-muted) var(--bg-base);
}


/* ─────────────────────────────────────────────────────────────
   §36  ANIMATED BACKGROUND MESH
   ───────────────────────────────────────────────────────────── */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 10% 20%, rgba(99, 102, 241, 0.06), transparent),
    radial-gradient(ellipse 600px 500px at 90% 80%, rgba(6, 182, 212, 0.04), transparent),
    radial-gradient(ellipse 500px 400px at 50% 50%, rgba(139, 92, 246, 0.03), transparent);
  animation: gradientShift 15s ease-in-out infinite alternate;
  background-size: 200% 200%;
}


/* ─────────────────────────────────────────────────────────────
   §37  MISC UTILITY CLASSES
   ───────────────────────────────────────────────────────────── */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: var(--space-sm); }
.mt-2  { margin-top: var(--space-md); }
.mt-3  { margin-top: var(--space-lg); }
.mt-4  { margin-top: var(--space-xl); }

.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: var(--space-sm); }
.mb-2  { margin-bottom: var(--space-md); }
.mb-3  { margin-bottom: var(--space-lg); }
.mb-4  { margin-bottom: var(--space-xl); }

.d-flex  { display: flex; }
.d-grid  { display: grid; }
.d-none  { display: none; }
.d-block { display: block; }

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.items-center   { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-col  { flex-direction: column; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }

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

/* ═══════════════════════════════════════════════════════════════
   END OF AVERIXIS DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* ==========================================================
   DASHBOARD USER INTERFACE POLISH & RESPONSIVENESS (2026)
   ========================================================== */

/* --- 1. Dashboard Headers & Badges --- */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line-bright);
}

.dash-user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--indigo);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.20);
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-details strong {
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
}

.user-details span {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* --- 2. Mobile Toggles --- */
#dash-mobile-toggle,
#admin-mobile-toggle {
  background: none;
  border: none;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: background 0.2s;
  display: none;
}

#dash-mobile-toggle:hover,
#admin-mobile-toggle:hover {
  background: var(--bg-surface);
}

/* --- 3. Dashboard Welcome Card --- */
.dashboard-welcome {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: var(--radius-md);
  padding: 28px var(--space-xl);
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.dashboard-welcome::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--indigo-glow) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.dashboard-welcome h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.dashboard-welcome h3 span {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-welcome p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.5;
}

/* --- 4. Interactive Polish & Sidebar Shadow --- */
.stat-card {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.08);
}

.dash-sidebar,
.admin-sidebar {
  transition: left 0.35s var(--ease-drawer), box-shadow 0.35s ease;
}

.dash-sidebar.open,
.admin-sidebar.open {
  box-shadow: 4px 0 32px rgba(15, 23, 42, 0.15);
}

/* --- 5. Media Queries for Mobile Responsive Dashboards --- */
@media (max-width: 900px) {
  #dash-mobile-toggle,
  #admin-mobile-toggle {
    display: block !important;
  }
  
  .dash-header {
    padding: var(--space-md) 0;
    margin-bottom: var(--space-lg);
  }
}

/* ==========================================================
   ADVANCED MOTION & PARALLAX ANIMATION SYSTEM (2026)
   ========================================================== */

/* --- 1. Custom Interactive Follower Cursor --- */
.custom-cursor {
  width: 8px;
  height: 8px;
  background: var(--indigo);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
  width: 32px;
  height: 32px;
  border: 1px solid var(--indigo);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s cubic-bezier(0.23, 1, 0.32, 1), width 0.2s, height 0.2s, border-color 0.2s;
}


.custom-cursor.hovering {
  width: 16px;
  height: 16px;
  background: var(--violet);
}

.custom-cursor-follower.hovering {
  width: 48px;
  height: 48px;
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.05);
}

@media (hover: none) {
  .custom-cursor, .custom-cursor-follower {
    display: none;
  }
}

/* --- 2. Premium Page Loader --- */
/* --- 2. Premium Page Loader & Seamless Page Transitions --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: #090d16;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease;
  transform: translateY(0);
  overflow: hidden;
}

.page-loader.loaded {
  transform: translateY(-100%);
  pointer-events: none;
}

.page-loader.entering {
  transform: translateY(0) !important;
  pointer-events: all;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.page-loader.hidden-out {
  display: none !important;
}

.loader-bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.35;
}

.loader-bg-glow.glow-1 {
  top: 20%;
  left: 20%;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  animation: floatOrb 6s ease-in-out infinite alternate;
}

.loader-bg-glow.glow-2 {
  bottom: 20%;
  right: 20%;
  background: radial-gradient(circle, #d4af37 0%, transparent 70%);
  animation: floatOrb 8s ease-in-out infinite alternate-reverse;
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loader-logo-ring {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.25), inset 0 0 15px rgba(212, 175, 55, 0.15);
  animation: pulseGoldRing 2s ease-in-out infinite;
  margin-bottom: 8px;
}

.loader-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  animation: logoFloat 3s ease-in-out infinite alternate;
}

.loader-brand-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #f3e098 0%, #d4af37 50%, #aa7c11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.loader-brand-sub {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 6px;
  background: linear-gradient(135deg, #f3e098 0%, #d4af37 50%, #aa7c11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.loader-bar {
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.loader-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #d4af37, #f3e098, #d4af37);
  transform: scaleX(0);
  transform-origin: left;
  animation: loaderBarFill 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.loader-status-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-top: 6px;
}

@keyframes pulseGoldRing {
  0%, 100% {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2), inset 0 0 10px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.25);
  }
  50% {
    box-shadow: 0 0 45px rgba(212, 175, 55, 0.45), inset 0 0 20px rgba(212, 175, 55, 0.3);
    border-color: rgba(243, 224, 152, 0.6);
  }
}

@keyframes logoFloat {
  0% { transform: translateY(0) scale(0.96); }
  100% { transform: translateY(-3px) scale(1.04); }
}

@keyframes loaderBarFill {
  0% { transform: scaleX(0); }
  60% { transform: scaleX(0.7); }
  100% { transform: scaleX(1); }
}

/* --- 3. 3D Motion Entrance Reveal & Stagger --- */
.reveal-in {
  opacity: 0;
  transform: translateY(24px) rotateX(4deg);
  transform-origin: bottom center;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-in.revealed {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.stagger-1 { transition-delay: 40ms; }
.stagger-2 { transition-delay: 80ms; }
.stagger-3 { transition-delay: 120ms; }
.stagger-4 { transition-delay: 160ms; }
.stagger-5 { transition-delay: 200ms; }

/* --- 4. 3D Tilt Contact & Support Styling --- */
.support-section {
  margin-bottom: var(--space-2xl);
}

.support-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.support-card-para {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--indigo);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.support-card-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.support-card-para-grey {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 440px;
  line-height: 1.6;
}

.support-graphics {
  position: relative;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.graphic-circles {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px dashed rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  animation: spin 30s linear infinite;
  transform: translateZ(10px);
}

.graphic-man {
  position: absolute;
  font-size: 5rem;
  transform: translateZ(40px);
  filter: drop-shadow(0 12px 24px rgba(99, 102, 241, 0.2));
}

.graphic-chat {
  position: absolute;
  top: 15%;
  right: 15%;
  background: var(--indigo);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 24px var(--indigo-glow);
  transform: translateZ(60px) rotate(8deg);
  animation: float 4s ease-in-out infinite alternate;
}

.contact-card-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact-card-para {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  transform: translateZ(20px);
}

.contact-card-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-md);
  transform: translateZ(30px);
}

.request-para, .contact-num-para, .email-para {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transform: translateZ(25px);
  transition: transform 0.2s;
}
.request-para { color: var(--success); }
.contact-num-para { color: var(--indigo); }
.email-para { color: var(--violet); }

.contact-card-img-1, .contact-card-img-2, .contact-card-img-3 {
  height: 120px;
  position: relative;
  margin: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.demo-graphics {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.demo-graphic-hand {
  position: absolute;
  font-size: 3rem;
  left: 20%;
  bottom: 10%;
  transform: translateZ(50px);
  z-index: 3;
}

.demo-graphic-btn {
  position: absolute;
  background: var(--success);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--success-glow);
  right: 20%;
  top: 15%;
  transform: translateZ(70px) rotate(-4deg);
  z-index: 4;
}

.demo-graphic-layer {
  position: absolute;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.02) 100%);
  border: 1px dashed rgba(34, 197, 94, 0.2);
  width: 70%;
  height: 60%;
  left: 15%;
  top: 20%;
  transform-style: preserve-3d;
}

.demo-graphic-layer.l2 {
  width: 65%;
  height: 55%;
  left: 17.5%;
  top: 22.5%;
  transform: translateZ(20px);
  background: rgba(34, 197, 94, 0.05);
}

.demo-graphic-layer.l3 {
  width: 60%;
  height: 50%;
  left: 20%;
  top: 25%;
  transform: translateZ(40px);
  background: rgba(34, 197, 94, 0.08);
}

.call-graphics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: 120px;
  height: 60px;
  transform: translateZ(10px);
  transform-style: preserve-3d;
  opacity: 0.6;
}

.call-dot {
  width: 6px;
  height: 6px;
  background: var(--indigo);
  border-radius: 50%;
  animation: pulseDot 2s infinite ease-in-out;
}

.call-phone-logo {
  position: absolute;
  font-size: 3.2rem;
  transform: translateZ(60px);
  filter: drop-shadow(0 8px 16px var(--indigo-glow));
  animation: shakePhone 3s ease-in-out infinite;
}

.mail-graphics {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.mail-chat-blue {
  position: absolute;
  left: 20%;
  top: 20%;
  font-size: 3.5rem;
  transform: translateZ(40px) rotate(-10deg);
  filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.15));
}

.mail-chat-white {
  position: absolute;
  right: 20%;
  bottom: 15%;
  font-size: 2.8rem;
  transform: translateZ(70px) rotate(15deg);
  filter: drop-shadow(0 6px 12px rgba(139, 92, 246, 0.15));
  animation: float 5s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translateZ(50px) translateY(0) rotate(8deg); }
  100% { transform: translateZ(55px) translateY(-10px) rotate(12deg); }
}

@keyframes spin {
  100% { transform: translateZ(10px) rotate(360deg); }
}

@keyframes shakePhone {
  0%, 100% { transform: translateZ(60px) rotate(0); }
  10%, 20%, 30% { transform: translateZ(60px) rotate(-5deg); }
  15%, 25% { transform: translateZ(60px) rotate(5deg); }
  40% { transform: translateZ(60px) rotate(0); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.tilt-card:hover .request-para svg,
.tilt-card:hover .contact-num-para svg,
.tilt-card:hover .email-para svg {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .contact-card-section {
    grid-template-columns: 1fr;
  }
  
  .support-card {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .support-card-para-grey {
    margin: 0 auto;
  }
}

/* --- 5. Micro-interactions for tactile press feedback --- */
button:active,
.btn:active,
.submit-btn:active,
.dash-sidebar-link:active,
.admin-sidebar-link:active,
.tilt-card:active {
  transform: scale(0.97) !important;
}

/* ==========================================================
   3D MULTI-SHEET SYLLABUS BOOK STYLES
   ========================================================== */
.syllabus-book-container.desktop-only {
  perspective: 1500px;
  display: flex;
  justify-content: center;
  margin: 32px 0 16px;
  width: 100%;
}

.syllabus-book {
  position: relative;
  width: 640px;
  height: 540px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.syllabus-book:hover {
  transform: rotateX(8deg) rotateY(-8deg) translateZ(10px);
}

.book-sheet {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), z-index 0s 0.4s;
  cursor: pointer;
  pointer-events: none; /* Let events fall through the sheet wrapper */
}

/* 3D Stacking orders (4 sheets) */
.book-sheet:nth-child(1) { z-index: 20; }
.book-sheet:nth-child(2) { z-index: 15; }
.book-sheet:nth-child(3) { z-index: 10; }
.book-sheet:nth-child(4) { z-index: 5; }

/* Open transitions with translateZ (negative moves flipped sheet closer to camera) */
.book-sheet.open {
  transform: rotateY(-180deg) translateZ(-6px);
}

/* Adjust z-index dynamically when opened to stack above all closed sheets (105-120) */
.book-sheet.open:nth-child(1) { z-index: 105; }
.book-sheet.open:nth-child(2) { z-index: 110; }
.book-sheet.open:nth-child(3) { z-index: 115; }
.book-sheet.open:nth-child(4) { z-index: 120; }

.sheet-front, .sheet-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sheet-front {
  border-radius: 0 8px 8px 0;
  z-index: 2;
  pointer-events: auto;
}

.sheet-back {
  border-radius: 8px 0 0 8px;
  transform: rotateY(180deg);
  z-index: 1;
  pointer-events: none;
}

/* Dynamic Z-index and pointer-events swaps when sheet is opened */
.book-sheet.open .sheet-front {
  z-index: 1;
  pointer-events: none;
}

.book-sheet.open .sheet-back {
  z-index: 2;
  pointer-events: auto;
}

.cover-front {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-left: 4px solid var(--indigo);
  color: #fff;
}

.cover-front .book-brand {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.cover-front h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #fff;
}

.cover-front .book-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.60);
}

.cover-front .book-open-indicator {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulseOpen 2s infinite;
}

@keyframes pulseOpen {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.cover-back {
  background: var(--bg-surface);
  border: 1px solid var(--line-bright);
  border-right: 2px solid var(--line);
  color: var(--ink);
}

.cover-back h4 {
  font-family: var(--font-display);
  color: var(--indigo);
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Curriculum page inner lists and project scrollbars */
.book-curriculum-list::-webkit-scrollbar,
.book-projects-scroll::-webkit-scrollbar {
  width: 4px;
}
.book-curriculum-list::-webkit-scrollbar-track,
.book-projects-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2px;
}
.book-curriculum-list::-webkit-scrollbar-thumb,
.book-projects-scroll::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 2px;
  transition: background-color 0.2s;
}
.book-curriculum-list::-webkit-scrollbar-thumb:hover,
.book-projects-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.55);
}

.book-curriculum-list,
.book-projects-scroll {
  overscroll-behavior: contain;
}

/* 3D Binder Center Spine Line Graphic */
.syllabus-book::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.2) 80%,
    rgba(255, 255, 255, 0.05)
  );
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6), inset 1px 0 0 rgba(255,255,255,0.1);
  z-index: 20;
  pointer-events: none;
  transform: translateX(-50%);
}

/* Mobile responsive tab layouts */
.syllabus-mobile-tabs.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .syllabus-book-container.desktop-only {
    display: none !important;
  }
  .syllabus-mobile-tabs.mobile-only {
    display: block !important;
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
  }
  .m-tab-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }
  .m-tab-btn.active {
    background: var(--indigo);
    color: #fff;
    border-color: var(--indigo);
    box-shadow: 0 4px 10px rgba(99,102,241,0.25);
  }
}

/* ==========================================================
   AI ROBOT CHATBOT FAB WIDGET
   ========================================================== */
.ai-robot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 76px;
  height: 115px;
  cursor: pointer;
  z-index: var(--z-chat);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  animation: robotBob 4s ease-in-out infinite alternate;
  user-select: none;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.2s var(--ease-out);
}

@keyframes robotBob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.ai-robot-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
}

/* --- Antenna --- */
.ai-robot-antenna {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -2px;
  transform: translateZ(-2px);
}

.ai-robot-antenna .antenna-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.ai-robot-antenna .antenna-rod {
  width: 2px;
  height: 8px;
  background: #64748b;
}

/* --- Head --- */
.ai-robot-head {
  width: 44px;
  height: 34px;
  background: linear-gradient(135deg, #475569, #1e293b);
  border-radius: 8px;
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  z-index: 5;
}

.ai-robot-ears {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: -3px;
  right: -3px;
  transform: translateY(-50%) translateZ(-2px);
  z-index: -1;
}

.ai-robot-ears .ear {
  width: 3px;
  height: 8px;
  background: var(--indigo);
  border-radius: 1px;
}

.ai-robot-face {
  width: 34px;
  height: 24px;
  background: #020617;
  border-radius: 5px;
  margin: 3.5px auto 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3px;
  box-sizing: border-box;
}

.ai-robot-eyes {
  display: flex;
  justify-content: space-between;
  padding: 0 1px;
}

.ai-robot-eyes .eye {
  width: 8px;
  height: 8px;
  background: #1e293b;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.ai-robot-eyes .pupil {
  width: 4px;
  height: 4px;
  background: #22c55e;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 0 6px #22c55e;
  transition: transform 0.05s linear, background-color 0.3s, box-shadow 0.3s;
}

.ai-robot-mouth {
  width: 12px;
  height: 2px;
  background: #22c55e;
  margin: 1px auto 1px;
  border-radius: 1px;
  box-shadow: 0 0 4px #22c55e;
  transition: background-color 0.3s, box-shadow 0.3s;
}

/* --- Neck --- */
.ai-robot-neck {
  width: 8px;
  height: 4px;
  background: #475569;
  margin: -1px auto 0;
  z-index: 4;
}

/* --- Torso --- */
.ai-robot-torso {
  width: 52px;
  height: 42px;
  background: linear-gradient(135deg, #334155, #0f172a);
  border-radius: 8px;
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s var(--ease-out), border-color 0.3s;
  z-index: 3;
}

.chest-screen {
  width: 28px;
  height: 18px;
  background: #020617;
  border-radius: 4px;
  margin: 10px auto 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chest-wave {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #22c55e;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 6px #22c55e;
  animation: pulseWave 1.5s linear infinite;
  transition: background-color 0.3s, box-shadow 0.3s;
}

@keyframes pulseWave {
  0% { transform: translateY(-50%) scaleX(0.2); opacity: 0.3; }
  50% { transform: translateY(-50%) scaleX(1); opacity: 1; }
  100% { transform: translateY(-50%) scaleX(0.2); opacity: 0.3; }
}

/* --- Arms --- */
.ai-robot-arm {
  position: absolute;
  top: 42px;
  width: 6px;
  height: 26px;
  background: #475569;
  border-radius: 3px;
  z-index: 2;
  transform-style: preserve-3d;
}

.ai-robot-arm.left {
  left: -4px;
  transform-origin: top right;
  animation: armSwingLeft 2s ease-in-out infinite alternate;
}

.ai-robot-arm.right {
  right: -4px;
  transform-origin: top left;
  animation: armSwingRight 2s ease-in-out infinite alternate;
}

.ai-robot-arm .forearm {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 12px;
  background: #64748b;
  border-radius: 3px;
}

.ai-robot-arm .hand {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: #94a3b8;
}

@keyframes armSwingLeft {
  0% { transform: rotate(10deg); }
  100% { transform: rotate(-8deg); }
}

@keyframes armSwingRight {
  0% { transform: rotate(-10deg); }
  100% { transform: rotate(8deg); }
}

/* --- Thruster --- */
.ai-robot-thruster {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -1px;
  transform: translateZ(-2px);
  z-index: 1;
}

.thruster-nozzle {
  width: 14px;
  height: 4px;
  background: #475569;
  border-radius: 1px;
}

.thruster-fire {
  width: 8px;
  height: 16px;
  background: linear-gradient(180deg, #f59e0b 0%, rgba(239, 68, 68, 0.8) 50%, transparent 100%);
  border-radius: 0 0 4px 4px;
  animation: thrusterPulse 0.15s ease-in-out infinite alternate;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
  transform-origin: top center;
  transition: background 0.3s, box-shadow 0.3s;
}

@keyframes thrusterPulse {
  0% { transform: scaleY(0.8) scaleX(0.9); }
  100% { transform: scaleY(1.2) scaleX(1.1); }
}

/* --- Hover Interactive States --- */
.ai-robot-container:hover .ai-robot-head,
.ai-robot-container:hover .ai-robot-torso {
  border-color: var(--violet);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.25);
}

.ai-robot-container:hover .pupil,
.ai-robot-container:hover .ai-robot-mouth,
.ai-robot-container:hover .antenna-dot,
.ai-robot-container:hover .chest-wave {
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
}

.ai-robot-container:hover .thruster-fire {
  background: linear-gradient(180deg, #a855f7 0%, rgba(139, 92, 246, 0.8) 50%, transparent 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.5);
}

/* Hide standard FAB since robot is active */
.ai-fab {
  display: none !important;
}

/* ==========================================================
   3D FLIPPING CARD ANIMATION STYLES
   ========================================================== */
.flip-card {
  background: transparent;
  perspective: 1000px;
  height: 250px;
  position: relative;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.flip-card-front {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 2;
}

.flip-card-back {
  transform: rotateY(180deg);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(99, 102, 241, 0.3);
  z-index: 1;
}

.back-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.back-overlay h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.back-overlay p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* ==========================================================
   BENTO PARALLAX GRAPHICS STYLES
   ========================================================== */
.bento-graphics {
  position: relative;
  height: 120px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
}

.bento-circle-dashed {
  width: 90px;
  height: 90px;
  border: 1.5px dashed rgba(99, 102, 241, 0.25);
  border-radius: 50%;
  position: absolute;
  animation: spin 30s linear infinite;
  transform: translateZ(10px);
}

.bento-main-symbol {
  position: absolute;
  font-size: 2.8rem;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
  z-index: 2;
}

.bento-badge {
  position: absolute;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 3;
}

.sprint-cards-wrap {
  width: 120px;
  height: 70px;
  position: relative;
}

.sprint-card-badge {
  background: var(--bg-deepest);
  border: 1px solid var(--line-bright);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: absolute;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.sprint-card-badge.active {
  border-color: var(--indigo);
  background: rgba(99, 102, 241, 0.1);
  color: #fff;
}

.sprint-card-badge.completed {
  border-color: var(--success);
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

/* ==========================================================
   3D SYLLABUS BOOK STYLES
   ========================================================== */
.syllabus-book-container {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  margin: 28px 0;
  width: 100%;
}

.syllabus-book {
  position: relative;
  width: 480px;
  height: 390px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.book-page {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.front-cover {
  left: 50%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  cursor: pointer;
}

.front-cover.open {
  transform: rotateY(-180deg);
}

.cover-front, .cover-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 0 8px 8px 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.cover-front {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-left: 4px solid var(--indigo);
  color: #fff;
  z-index: 2;
}

.cover-front .book-brand {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.cover-front h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #fff;
}

.cover-front .book-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.cover-front .book-open-indicator {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulseOpen 2s infinite;
}

@keyframes pulseOpen {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.cover-back {
  background: var(--bg-surface);
  border: 1px solid var(--line-bright);
  border-right: 2px solid var(--line);
  border-radius: 8px 0 0 8px;
  transform: rotateY(180deg);
  z-index: 1;
  color: var(--ink);
}

.cover-back h4 {
  font-family: var(--font-display);
  color: var(--indigo);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.inside-right {
  left: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--line-bright);
  border-left: none;
  border-radius: 0 8px 8px 0;
  padding: 24px;
  z-index: 1;
  color: var(--ink);
}

.inside-right h4 {
  font-family: var(--font-display);
  color: var(--violet);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.book-curriculum-list::-webkit-scrollbar {
  width: 4px;
}
.book-curriculum-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.02);
}
.book-curriculum-list::-webkit-scrollbar-thumb {
  background: var(--line-bright);
  border-radius: 2px;
}

/* --- Mobile Adaptive Book Layout --- */
@media (max-width: 540px) {
  .syllabus-book {
    width: 100%;
    max-width: 320px;
    height: 440px;
  }
  .book-page {
    width: 100%;
    left: 0 !important;
    height: 50%;
  }
  .front-cover {
    top: 0;
    transform-origin: bottom center;
  }
  .front-cover.open {
    transform: rotateX(180deg);
  }
  .cover-back {
    transform: rotateX(180deg);
    border-radius: 8px 8px 0 0;
    border-right: 1px solid var(--line-bright);
    border-bottom: 2px solid var(--line);
  }
  .cover-front {
    border-radius: 8px 8px 0 0;
    border-left: none;
    border-top: 4px solid var(--indigo);
  }
  .inside-right {
    top: 50%;
    height: 50%;
    border-radius: 0 0 8px 8px;
    border-left: 1px solid var(--line-bright);
    border-top: none;
    padding: 16px;
  }
}

/* ==========================================================
   PLACEMENT GRID – 3D PARALLAX CARDS
   ========================================================== */
.placement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.placement-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.placement-card:hover {
  border-color: var(--indigo);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.12),
              0 0 0 1px rgba(99, 102, 241, 0.15);
}

.placement-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.placement-card p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.placement-graphics {
  position: relative;
  height: 110px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transform-style: preserve-3d;
}

.placement-ring {
  width: 80px;
  height: 80px;
  border: 1.5px dashed rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  position: absolute;
  animation: spin 25s linear infinite;
  transform: translateZ(10px);
}

.placement-symbol {
  position: absolute;
  font-size: 2.4rem;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2));
  z-index: 2;
}

.placement-tag {
  position: absolute;
  color: #fff;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

/* ==========================================================
   SUCCESS STORIES – ANIMATED CARD CAROUSEL
   ========================================================== */
.stories-slider-container {
  position: relative;
  width: 100%;
  overflow: visible; /* Let slides render but container clip handles it */
  margin-top: 12px;
}

.stories-slider-track-wrap {
  width: 100%;
  overflow: hidden;
  padding: 10px 0 20px;
}

.stories-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.story-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.5s ease,
              transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.35s ease,
              box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  opacity: 0.35;
  transform: scale(0.95);
  pointer-events: none;
}

.story-card.active-slide {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.story-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.story-card:hover::before {
  opacity: 1;
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.1),
              0 0 0 1px rgba(99, 102, 241, 0.1);
}

.story-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.story-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.story-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.story-role {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.story-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.story-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  border: none;
}

.story-quote em {
  color: var(--indigo);
  font-weight: 600;
  font-style: normal;
}

.story-outcome {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.story-outcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 500;
}

.story-outcome-badge strong {
  color: var(--ink);
}

/* ==========================================================
   GLOBAL POLISH — SECTION SPACING & MICRO-ANIMATIONS
   ========================================================== */

/* Improve section heading accent lines */
.section-head.center .eyebrow {
  display: inline-block;
  position: relative;
}

.section-head.center .eyebrow::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--indigo);
  border-radius: 1px;
  opacity: 0.7;
}

/* Improve FAQ hover states */
.faq-item {
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.faq-question {
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--indigo);
}

/* CTA section polish */
#cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  background: linear-gradient(135deg, var(--ink), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive story cards slider widths */
@media (max-width: 1024px) {
  .story-card {
    flex: 0 0 calc(50% - 12px) !important;
  }
  .placement-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .story-card {
    flex: 0 0 100% !important;
  }
  .placement-grid {
    grid-template-columns: 1fr;
  }
}

/* Slider Nav Buttons */
.slider-btn {
  position: absolute;
  top: calc(50% - 32px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-bright);
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slider-btn:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  box-shadow: 0 0 12px var(--indigo-glow);
  transform: scale(1.1);
}

.slider-btn.prev-btn {
  left: -22px;
}

.slider-btn.next-btn {
  right: -22px;
}

@media (max-width: 1200px) {
  .slider-btn.prev-btn {
    left: 10px;
  }
  .slider-btn.next-btn {
    right: 10px;
  }
}

/* ==========================================================
   GLASS SECTION — 3D TILT & ULTRA GLASS (WHY CHOOSE US)
   ========================================================== */

.glass-section {
  position: relative;
  padding: 6.5rem 2rem;
  background: linear-gradient(165deg, #f0f4ff 0%, #f8f6ff 25%, #eef2ff 50%, #f5f3ff 75%, #f0f0ff 100%);
  overflow: hidden;
  perspective: 1200px;
}

/* Floating Particle Canvas */
.glass-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 1.0;
}

/* Soft Floating Background Orbs */
.glass-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glass-orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.38), transparent 70%);
  top: -8%;
  left: -6%;
  animation: glassOrbFloat 14s ease-in-out infinite alternate;
}

.glass-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.32), transparent 70%);
  bottom: -10%;
  right: -5%;
  animation: glassOrbFloat 11s ease-in-out infinite alternate-reverse;
}

.glass-orb-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.28), transparent 70%);
  top: 35%;
  right: 18%;
  animation: glassOrbFloat 16s ease-in-out infinite alternate;
}

@keyframes glassOrbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(25px, -20px) scale(1.1); }
}

/* Grid Container */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  perspective: 1000px;
}

/* 3D Tilt Card */
.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 34px 24px 30px;
  text-align: center;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out, box-shadow 0.35s ease, background 0.35s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03),
              0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(99, 102, 241, 0.12),
              0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}

/* Interactive Dynamic Glare / Reflection Overlay */
.glass-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  mix-blend-mode: overlay;
}

.glass-card:hover .glass-shine {
  opacity: 1;
}

/* Animated Shimmer Border Overlay */
.glass-shimmer-border {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(167,139,250,0.4), rgba(255,255,255,0.2), rgba(96,165,250,0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.glass-card:hover .glass-shimmer-border {
  opacity: 1;
}

/* Icon Badge with 3D Pop-out */
.glass-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--icon-bg);
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transform: translateZ(25px);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
}

.glass-card:hover .glass-icon {
  transform: translateZ(40px) scale(1.1);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.glass-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--icon-clr, #6366f1);
  fill: none;
  transition: stroke-width 0.3s ease;
}

.glass-card:hover .glass-icon svg {
  stroke-width: 2.1;
}

/* Typography with 3D Depth */
.glass-card h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  transform: translateZ(18px);
  transition: transform 0.35s ease;
}

.glass-card p {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.58;
  margin: 0;
  transform: translateZ(12px);
  transition: transform 0.35s ease;
}

.glass-card:hover h4 {
  transform: translateZ(28px);
}

.glass-card:hover p {
  transform: translateZ(20px);
  color: #475569;
}

/* Responsive */
@media (max-width: 1024px) {
  .glass-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 580px) {
  .glass-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .glass-section {
    padding: 4.5rem 1.25rem;
  }
}

/* ==========================================================
   DARK THEME OVERRIDES FOR GLASS SECTION
   ========================================================== */
[data-theme="dark"] .glass-section {
  background: linear-gradient(165deg, #0b0f19 0%, #0f172a 35%, #1e1548 70%, #0b0f19 100%);
}

[data-theme="dark"] .glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

[data-theme="dark"] .glass-card:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25),
              0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

[data-theme="dark"] .glass-card h4 {
  color: #f8fafc;
}

[data-theme="dark"] .glass-card p {
  color: #94a3b8;
}

[data-theme="dark"] .glass-card:hover p {
  color: #cbd5e1;
}

[data-theme="dark"] .glass-shine {
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 65%);
}

[data-theme="dark"] .glass-shimmer-border {
  background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(167,139,250,0.6), rgba(96,165,250,0.6), rgba(255,255,255,0.1));
}

[data-theme="dark"] .glass-icon {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .glass-section .section-head h2 {
  color: #ffffff !important;
}

[data-theme="dark"] .glass-section .section-head p {
  color: #cbd5e1 !important;
}





/* ==========================================================
   FEATURE CARDS (WHY CHOOSE US) - CLEAN ICON STYLE
   ========================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  perspective: 1000px;
  height: 380px;
  cursor: pointer;
}

.feature-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 20px;
}

.feature-card:hover .feature-card-inner {
  transform: rotateY(180deg);
}

.feature-card-front,
.feature-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.feature-card:hover .feature-card-front {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.12);
}

/* Front Side Layout */
.feature-card-front {
  display: flex;
  flex-direction: column;
  padding: 0;
  text-align: left;
  align-items: stretch;
}

.feature-card-art-wrap {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: #0f172a;
}

.feature-card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.feature-card:hover .feature-card-art {
  transform: scale(1.06);
}

.feature-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.6) 100%);
  pointer-events: none;
}

.feature-icon-badge {
  position: absolute;
  top: 126px;
  left: 20px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.feature-icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
}

.feature-card-body {
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.feature-card-body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.feature-card-body p {
  font-size: 0.84rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.feature-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.feature-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--indigo);
}

.flip-hint {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  opacity: 0.7;
}

/* Back Side Layout */
.feature-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-deepest));
  border-color: rgba(99, 102, 241, 0.3);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  align-items: stretch;
}

.feature-back-header {
  margin-bottom: 12px;
}

.back-stat-badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(99, 102, 241, 0.12);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 8px;
}

.feature-card-back h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.feature-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-bullet-list li {
  font-size: 0.82rem;
  color: var(--ink-secondary);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-bullet-list li span {
  color: var(--indigo);
  font-weight: 700;
  flex-shrink: 0;
}

.feature-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: auto;
}

.feature-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { height: 360px; }
}

/* ==========================================================
   COURSE CUBE – 3D ROTATING ICON
   ========================================================== */
.course-cube-wrap {
  perspective: 200px;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
}

.course-cube {
  width: 60px;
  height: 60px;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeFloat 10s ease-in-out infinite;
}

.course-cube-face {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ccf-front  { transform: rotateY(0deg) translateZ(30px); }
.ccf-back   { transform: rotateY(180deg) translateZ(30px); }
.ccf-right  { transform: rotateY(90deg) translateZ(30px); }
.ccf-left   { transform: rotateY(-90deg) translateZ(30px); }
.ccf-top    { transform: rotateX(90deg) translateZ(30px); }
.ccf-bottom { transform: rotateX(-90deg) translateZ(30px); }

@keyframes cubeFloat {
  0%   { transform: rotateX(-15deg) rotateY(0deg); }
  25%  { transform: rotateX(5deg) rotateY(90deg); }
  50%  { transform: rotateX(-10deg) rotateY(180deg); }
  75%  { transform: rotateX(5deg) rotateY(270deg); }
  100% { transform: rotateX(-15deg) rotateY(360deg); }
}

/* ==========================================================
   BENTO GRID – IMPROVED GLASSMORPHIC
   ========================================================== */
.bento-item {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(99, 102, 241, 0.08) !important;
  border-radius: 20px !important;
  padding: 32px 24px !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease, background 0.4s ease !important;
}

.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 20px;
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-item:hover {
  border-color: rgba(99, 102, 241, 0.2) !important;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.08),
              0 0 0 1px rgba(99, 102, 241, 0.1),
              inset 0 1px 0 rgba(255,255,255,0.05) !important;
  transform: translateY(-4px);
}

.bento-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.bento-item p {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.bento-tool-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  position: relative;
}

.bento-tool-logo::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1px dashed rgba(99, 102, 241, 0.15);
  animation: spin 20s linear infinite;
}

/* ==========================================================
   COURSE CARD STYLE OVERHAUL (MATCHING USER MOCKUP)
   ========================================================== */
.course-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: left;
}

.course-card.most-popular {
  border-color: rgba(219, 39, 119, 0.3) !important;
  box-shadow: 0 10px 30px rgba(219, 39, 119, 0.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(219, 39, 119, 0.2);
  z-index: 5;
  text-transform: uppercase;
}

.course-card .green-mode-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: inline-block;
  text-transform: uppercase;
}

.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 6px 0;
  color: var(--ink);
}

.course-card p {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  flex-grow: 1;
}

.course-tools-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 20px;
}

.tool-pill {
  background: rgba(99, 102, 241, 0.06);
  color: var(--indigo);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.05);
}

/* ==========================================================
   ULTRA-PREMIUM ANIMATED ENROLL NOW BUTTON
   ========================================================== */
.btn-enroll-full {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0b1120 !important;
  background: linear-gradient(135deg, #f3e098 0%, #d4af37 50%, #b88a1e 100%) !important;
  border: none;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), 
              box-shadow 0.25s ease, 
              background 0.25s ease !important;
  z-index: 1;
}

/* Metallic Light Sweep Effect on Hover */
.btn-enroll-full::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 75%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  z-index: 2;
}

.btn-enroll-full:hover::before {
  transform: skewX(-25deg) translateX(320%);
}

.btn-enroll-full:hover {
  transform: translateY(-2px) scale(1.015) !important;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.6), 
              0 0 20px rgba(243, 224, 152, 0.45),
              inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
  background: linear-gradient(135deg, #fff0b3 0%, #e5c060 50%, #c49626 100%) !important;
}

.btn-enroll-full:active {
  transform: scale(0.97) !important;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3) !important;
}

.card-3d-emblem {
  display: none !important;
}

/* ==========================================================
   ANIMATED TRUCK ENROLL BUTTON (DISPATCH ORDER STYLE)
   ========================================================== */
:root {
  --b-dark:  #1C212E;
  --b-blue:  #d4af37;
  --b-bll:   #f3e098;
  --b-grey:  #6C7486;
  --b-gd:    #3F4656;
  --b-gl:    #CDD9ED;
  --b-green: #16BF78;
  --b-sand:  #DCB773;
  --b-sandl: #EDD9A9;
}

.ship-btn {
  appearance: none;
  border: 0;
  background: var(--b-dark);
  position: relative;
  height: 50px;
  width: 100%;
  padding: 0;
  outline: none;
  cursor: pointer;
  border-radius: 28px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  font-family: var(--font-body);
  display: block;
}

.ship-btn:hover {
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.ship-btn:active {
  transform: scale(.96);
}

.ship-btn .lbl {
  --o: 1;
  position: absolute;
  left: 0; right: 0;
  text-align: center;
  top: 13px;
  line-height: 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: var(--o);
  transition: opacity .3s ease;
  z-index: 5;
}

.ship-btn .lbl.idle { transition-delay: .3s; }
.ship-btn .lbl.done { --o: 0; color: #16BF78; }
.ship-btn .lbl.done svg {
  width: 14px; height: 12px;
  display: inline-block;
  vertical-align: middle;
  margin: -2px 0 0 6px;
  fill: none;
  stroke: var(--b-green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: stroke-dashoffset .3s ease;
}

.ship-btn .rail {
  opacity: 0;
  position: absolute;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  width: 6px;
  top: 25px;
  left: 100%;
  box-shadow:
     15px 0 0 #fff,  30px 0 0 #fff,  45px 0 0 #fff,  60px 0 0 #fff,
     75px 0 0 #fff,  90px 0 0 #fff, 105px 0 0 #fff, 120px 0 0 #fff,
    135px 0 0 #fff, 150px 0 0 #fff, 165px 0 0 #fff, 180px 0 0 #fff,
    195px 0 0 #fff, 210px 0 0 #fff, 225px 0 0 #fff, 240px 0 0 #fff,
    255px 0 0 #fff, 270px 0 0 #fff, 285px 0 0 #fff, 300px 0 0 #fff,
    315px 0 0 #fff, 330px 0 0 #fff;
}

.ship-btn .cargo {
  background: linear-gradient(var(--b-sandl), var(--b-sand));
  width: 21px; height: 21px;
  right: 100%; top: 14px;
  border-radius: 2px;
  position: absolute;
  z-index: 2;
}

.ship-btn .cargo::before,
.ship-btn .cargo::after {
  content: ''; top: 10px;
  position: absolute; left: 0; right: 0;
}
.ship-btn .cargo::before { height: 3px; margin-top: -1px; background: rgba(0,0,0,.1); }
.ship-btn .cargo::after  { height: 1px; background: rgba(0,0,0,.15); }

.ship-btn .vehicle {
  width: 60px; height: 36px;
  left: 100%; z-index: 3;
  top: 7px; position: absolute;
  transform: translateX(24px);
}
.ship-btn .vehicle::before,
.ship-btn .vehicle::after {
  --r: -90deg;
  content: '';
  height: 2px; width: 20px;
  right: 58px; position: absolute;
  display: block; background: #fff;
  border-radius: 1px;
  transform-origin: 100% 50%;
  transform: rotate(var(--r));
}
.ship-btn .vehicle::before { top: 4px; }
.ship-btn .vehicle::after  { --r: 90deg; bottom: 4px; }

.ship-btn .cab-back {
  background: linear-gradient(#fff, var(--b-gl));
  left: 0; top: 0;
  width: 60px; height: 36px;
  z-index: 1; border-radius: 2px;
  position: absolute;
}
.ship-btn .cab-front {
  overflow: hidden; position: absolute;
  border-radius: 2px 9px 9px 2px;
  width: 26px; height: 36px; left: 60px;
}
.ship-btn .cab-front::before,
.ship-btn .cab-front::after {
  content: ''; position: absolute; display: block;
}
.ship-btn .cab-front::before {
  height: 13px; width: 2px; left: 0; top: 11px;
  background: linear-gradient(var(--b-grey), var(--b-gd));
}
.ship-btn .cab-front::after {
  border-radius: 2px 9px 9px 2px;
  background: var(--b-blue);
  width: 24px; height: 36px; right: 0;
}

.ship-btn .windshield {
  overflow: hidden;
  border-radius: 2px 8px 8px 2px;
  background: var(--b-bll);
  transform: perspective(4px) rotateY(3deg);
  width: 22px; height: 36px;
  position: absolute; left: 2px; top: 0;
  z-index: 1; transform-origin: 0 50%;
}
.ship-btn .windshield::before,
.ship-btn .windshield::after {
  content: ''; position: absolute; right: 0;
}
.ship-btn .windshield::before {
  top: 0; bottom: 0; width: 14px;
  background: var(--b-dark);
}
.ship-btn .windshield::after {
  width: 14px; top: 7px; height: 4px;
  background: rgba(255,255,255,.14);
  transform: skewY(14deg);
  box-shadow: 0 7px 0 rgba(255,255,255,.14);
}

.ship-btn .headlight {
  width: 3px; height: 7px; left: 83px;
  transform-origin: 100% 50%;
  position: absolute; border-radius: 2px;
  transform: scaleX(.8);
  background: rgba(240,220,95,1);
}
.ship-btn .headlight::before {
  content: '';
  height: 4px; width: 7px; opacity: 0;
  transform: perspective(2px) rotateY(-15deg) scaleX(.94);
  position: absolute; transform-origin: 0 50%;
  left: 3px; top: 50%; margin-top: -2px;
  background: linear-gradient(90deg,
    rgba(240,220,95,1), rgba(240,220,95,.7), rgba(240,220,95,0));
}
.ship-btn .headlight.top    { top: 3px; }
.ship-btn .headlight.bottom { bottom: 3px; }

/* ── animated state ── */
.ship-btn.go .lbl.idle          { --o: 0; transition-delay: 0s; }
.ship-btn.go .lbl.done          { --o: 1; transition-delay: 7s; }
.ship-btn.go .lbl.done svg      { stroke-dashoffset: 0; transition-delay: 7.3s; }
.ship-btn.go .vehicle           { animation: veh    10s ease forwards; }
.ship-btn.go .vehicle::before   { animation: hatch1  2.4s ease forwards .3s; }
.ship-btn.go .vehicle::after    { animation: hatch2  2.4s ease forwards .6s; }
.ship-btn.go .headlight::before { animation: glow   10s ease forwards; }
.ship-btn.go .cargo             { animation: pkg    10s ease forwards; }
.ship-btn.go .rail              { animation: rails  10s ease forwards; }

@keyframes veh {
  10%, 30% { transform: translateX(-164px); }
  40%      { transform: translateX(-104px); }
  60%      { transform: translateX(-260px); }
  75%, 100%{ transform: translateX(24px);  }
}
@keyframes rails {
  0%,  30% { opacity: 0; transform: scaleY(.7) translateX(0);    }
  35%, 65% { opacity: 1;                                          }
  70%      { opacity: 0;                                          }
  100%     { transform: scaleY(.7) translateX(-400px);            }
}
@keyframes glow {
  0%,  30% { opacity: 0; transform: perspective(2px) rotateY(-15deg) scaleX(.88); }
  40%, 100%{ opacity: 1; transform: perspective(2px) rotateY(-15deg) scaleX(.94); }
}
@keyframes hatch1 { 30%, 50% { transform: rotate(32deg);  } }
@keyframes hatch2 { 30%, 50% { transform: rotate(-32deg); } }
@keyframes pkg {
  8%,  10% { transform: translateX(40px);  opacity: 1; }
  25%      { transform: translateX(112px); opacity: 1; }
  26%      { transform: translateX(112px); opacity: 0; }
  27%, 100%{ transform: translateX(0);     opacity: 0; }
}

.syllabus-trigger-link {
  font-size: 0.75rem;
  color: var(--indigo);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
  cursor: pointer;
  margin-left: auto;
}

.syllabus-trigger-link:hover {
  color: var(--violet);
}

/* ==========================================================
   BENTO GRID - 3D INTERACTIVE PARALLAX OVERLAYS
   ========================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-item.b-wide {
  grid-column: span 2;
}

.bento-graphics {
  position: relative;
  height: 150px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transform-style: preserve-3d;
}

.bento-circle-dashed {
  width: 90px;
  height: 90px;
  border: 1.5px dashed rgba(99, 102, 241, 0.25);
  border-radius: 50%;
  position: absolute;
  animation: spin 25s linear infinite;
  transform: translateZ(8px);
}

.bento-illustration {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.bento-avatar {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.08);
}

.bento-avatar.a1 {
  left: calc(50% - 44px);
  top: calc(50% - 36px);
}

.bento-avatar.a2 {
  right: calc(50% - 44px);
  bottom: calc(50% - 36px);
}

.bento-bubble {
  position: absolute;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  pointer-events: none;
  white-space: nowrap;
}

.branch-line {
  position: absolute;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--indigo), transparent);
}

.branch-node {
  position: absolute;
  font-size: 1.4rem;
  color: var(--indigo);
  font-weight: 700;
  filter: drop-shadow(0 4px 8px rgba(99,102,241,0.3));
}

.bento-badge {
  position: absolute;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.bento-badge.pulse-red {
  animation: pulseRed 2s infinite;
}

.bento-main-symbol {
  position: absolute;
  font-size: 2.5rem;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

.bento-kanban-item {
  position: absolute;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.bento-kanban-item.k-todo {
  left: 12%;
  top: 15%;
  border-left: 3px solid var(--ink-soft);
}

.bento-kanban-item.k-progress {
  left: calc(50% - 60px);
  top: calc(50% - 15px);
  border-left: 3px solid var(--indigo);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 10px 25px rgba(99,102,241,0.25);
}

.bento-kanban-item.k-done {
  right: 12%;
  bottom: 15%;
  border-left: 3px solid var(--success);
  color: var(--success);
}

@keyframes pulseRed {
  0%, 100% { transform: translateZ(70px) scale(1) rotate(5deg); opacity: 0.9; }
  50% { transform: translateZ(70px) scale(1.05) rotate(5deg); opacity: 1; box-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }
}

/* Landscape side-by-side bento layout for desktop */
@media (min-width: 769px) {
  .bento-item.b-slack,
  .bento-item.b-wide {
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
  }
  .bento-item.b-slack .bento-text,
  .bento-item.b-wide .bento-text {
    width: 52% !important;
    flex-shrink: 0;
    text-align: left;
  }
  .bento-item.b-slack .bento-graphics,
  .bento-item.b-wide .bento-graphics {
    width: 42% !important;
    flex-shrink: 0;
    margin-bottom: 0 !important;
    height: 100% !important;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-item.b-wide {
    grid-column: span 1;
  }
}

/* Success Stories Infinite Marquee Scrolling */
.stories-slider-track.marquee-active {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeContinuous 38s linear infinite;
  transform: translateX(0);
}

.stories-slider-track.marquee-active:hover {
  animation-play-state: paused;
}

.stories-slider-track.marquee-active .story-card {
  flex: 0 0 330px !important; /* Fixed width in marquee */
  opacity: 1 !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
}

.stories-slider-track.marquee-active .story-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.1) !important;
}

@keyframes marqueeContinuous {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px)); /* Seamless loop */
  }
}

/* ==========================================================
   ENTERPRISE UPSKILLING SECTION
   ========================================================== */
.enterprise-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  margin-top: 16px;
}

.enterprise-info {
  text-align: left;
}

.enterprise-desc {
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin: 16px 0 32px;
}

.enterprise-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ent-feat-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ent-feat-icon {
  font-size: 1.6rem;
  background: rgba(99, 102, 241, 0.06);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.04);
}

.ent-feat-item h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.ent-feat-item p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.enterprise-form-wrap {
  position: relative;
  z-index: 2;
}

.enterprise-form-wrap::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan), var(--violet));
  z-index: -1;
  opacity: 0.15;
  filter: blur(8px);
  transition: opacity 0.4s ease;
}

.enterprise-form-wrap:hover::after {
  opacity: 0.3;
  filter: blur(12px);
}

.enterprise-form-wrap .form-card {
  padding: 36px 32px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.enterprise-form-wrap:hover .form-card {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 25px 60px rgba(99, 102, 241, 0.12), inset 0 1px 0 rgba(255,255,255,0.05);
}

.enterprise-form-wrap .form-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 24px;
  text-align: center;
}

.enterprise-form-wrap .form-group input,
.enterprise-form-wrap .form-group select,
.enterprise-form-wrap .form-group textarea {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.enterprise-form-wrap .form-group input:focus,
.enterprise-form-wrap .form-group select:focus,
.enterprise-form-wrap .form-group textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
  transform: scale(1.01);
  background: rgba(255,255,255,0.03);
}

.ent-feat-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.ent-feat-item:hover {
  transform: translateX(8px);
}

.ent-feat-item:hover .ent-feat-icon {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

@media (max-width: 980px) {
  .enterprise-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Global Responsive Visibility Utilities */
@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

/* =================================═════════════════════════
   HERO LAYOUT & THEME STYLING
   ========================================================== */
.hero-inner-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-left-col {
  flex: 1.1;
  text-align: left;
  max-width: 580px;
}

.hero-right-col {
  flex: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Eyebrow and Typography */
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 850;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 18px;
  text-align: left;
  max-width: 100%;
}

/* Rounded sky pill button */
.hero-enroll-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 24px;
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: transform 0.3s var(--ease-out), background 0.3s ease, box-shadow 0.3s ease;
}
.hero-enroll-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}
.hero-enroll-pill .arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out);
}
.hero-enroll-pill:hover .arrow-circle {
  transform: rotate(45deg);
}

/* Image Card & Badges */
.hero-image-card-wrapper {
  position: relative;
  width: 360px;
  height: 400px;
  margin-top: 20px;
}

.hero-geom-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  transform: skewX(-8deg);
  border-radius: 36px;
  z-index: 1;
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.20);
}

.hero-student-img {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* Badges styling */
.hero-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  transition: transform 0.3s var(--ease-out);
}
.hero-badge:hover {
  transform: translateY(-4px) scale(1.02);
}

.badge-enrolled {
  top: 15%;
  left: -24%;
}
.badge-google {
  bottom: 12%;
  right: -24%;
}
.badge-cert {
  top: 45%;
  right: -20%;
}

.avatar-stack {
  display: flex;
}
.stack-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
}
.stack-avatar:first-child {
  margin-left: 0;
}

.google-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.badge-tag {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.badge-text strong {
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 800;
}

/* Partners Banner Marquee */
.hero-partners-banner {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  text-align: center;
  width: 100%;
}
.partners-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.marquee-section {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 14px 0;
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
.scroll-section {
  width: 100%;
  overflow: hidden;
}
.scroll-container {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}
.scroll-container img,
.partner-hd-logo {
  height: 38px;
  width: auto;
  opacity: 0.9;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.05));
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), filter 0.35s ease;
  object-fit: contain;
  cursor: pointer;
}
.scroll-container img:hover,
.partner-hd-logo:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.1);
  filter: drop-shadow(0 6px 14px rgba(99, 102, 241, 0.25));
}

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

/* Responsive updates */
@media (max-width: 980px) {
  .hero-inner-flex {
    flex-direction: column;
    text-align: center;
    gap: 48px;
    padding-top: 20px;
  }
  .hero-left-col {
    text-align: center;
    max-width: 100%;
  }
  .hero h1 {
    text-align: center;
    font-size: 2.3rem;
  }
  .hero-search-wrap {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-left-col div:nth-child(5) {
    justify-content: center;
  }
  .hero-image-card-wrapper {
    width: 300px;
    height: 340px;
  }
  .badge-enrolled { left: -10%; }
  .badge-google { right: -10%; }
  .badge-cert { right: -10%; }
}

/* =================================═════════════════════════
   FULL PAGE SMOOTH STARBURST FLOW & 3D RENDERING FIXES
   ========================================================== */
/* Make all page sections, headers, and footer transparent so background canvas is fully continuous */
main,
section,
.section,
.section-alt,
.hero,
.page-header,
footer,
#features,
#popular-courses,
#integrations,
#placement,
#home {
  background: transparent !important;
  background-color: transparent !important;
}



/* =================================═════════════════════════
   HERO POLISH & REFINE STYLING
   ========================================================== */
/* Left Column Alignments */
.hero-left-col .phrase-morph-wrap {
  justify-content: flex-start !important;
  min-height: 2em !important;
}
.hero-left-col .phrase-morph {
  text-align: left !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--ink-soft) !important;
  margin: 0 !important;
}

/* Premium Search Bar Input */
.hero-search-wrap .hero-search-input {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 100px !important;
  padding: 12px 24px 12px 48px !important;
  font-size: 0.9rem !important;
  color: var(--ink) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease, background 0.3s ease !important;
}
.hero-search-wrap .hero-search-input:focus {
  border-color: var(--indigo) !important;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12),
              0 0 0 3px rgba(99, 102, 241, 0.08) !important;
  background: #ffffff !important;
}

/* Inner Frame (Clipped Student Portrait inside Card) */
.hero-card-inner-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 36px;
  z-index: 1;
  background: #ffffff !important;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06) !important;
}

/* Badge Layout Overrides & Floating Animations */
.hero-image-card-wrapper {
  overflow: visible !important;
  animation: cardFloat 6s ease-in-out infinite;
}

.hero-student-img {
  position: absolute;
  bottom: 0;
  right: -5%;
  width: 95%;
  height: auto;
  z-index: 2;
  pointer-events: none;
  /* Smoothly fade the left edge of the photo into the blue geometric shape behind it */
  mask-image: linear-gradient(to right, transparent 0%, #000 25%) !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 25%) !important;
}

@keyframes cardFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes badgeFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px) scale(1.01); }
  100% { transform: translateY(0px); }
}

.hero-badge {
  animation: badgeFloat 5s ease-in-out infinite alternate;
}

.badge-enrolled {
  top: 15%;
  left: -20%;
  animation-delay: -1s;
}

.badge-google {
  bottom: 12%;
  right: -20%;
  animation-delay: -2.5s;
}

.badge-cert {
  top: 45%;
  right: -20%;
  animation-delay: -4s;
}

/* Smooth transition for theme colors changing */
body, 
footer, 
.bento-item, 
.feature-card-front, 
.feature-card-back, 
.placement-card,
.hero-card-inner-frame,
input, 
select, 
textarea,
h1, h2, h3, h4, h5, h6,
p, span, a, label {
  transition: background 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, fill 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

/* ==========================================================
   §12 THEME MODE STYLES & OVERRIDES (LIGHT & DARK)
   ========================================================== */

/* Theme Toggle Button Style (Desktop) */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.12);
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), background 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: rgba(99, 102, 241, 0.12);
  color: var(--indigo);
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

/* Sun/Moon visibility mapping */
.theme-toggle .sun-icon {
  display: none;
}
.theme-toggle .moon-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}
[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

/* Mobile labels visibility mapping */
.theme-toggle-mobile .theme-label-sun {
  display: none;
}
.theme-toggle-mobile .theme-label-moon {
  display: inline-flex;
}

[data-theme="dark"] .theme-toggle-mobile .theme-label-sun {
  display: inline-flex;
}
[data-theme="dark"] .theme-toggle-mobile .theme-label-moon {
  display: none;
}

/* Dark Mode Global Variables Overrides */
[data-theme="dark"] {
  /* ── Surface palette (Dark) ── */
  --bg-deepest:    #0b0f19;
  --bg-base:       #0f172a;
  --bg-raised:     #1e293b;
  --bg-surface:    #0b0f19;
  --bg-subtle:     #1e293b;
  --bg-muted:      #334155;

  /* ── Text palette (Dark) ── */
  --ink:           #f8fafc;
  --ink-secondary: #cbd5e1;
  --ink-soft:      #94a3b8;
  --ink-muted:     #64748b;
  --ink-faint:     #334155;

  /* ── Borders & lines (Dark) ── */
  --line:          rgba(255, 255, 255, 0.08);
  --line-bright:   rgba(255, 255, 255, 0.14);
  --glass-border:  rgba(255, 255, 255, 0.08);

  /* ── Glassmorphism (Dark) ── */
  --glass-bg:      rgba(15, 23, 42, 0.70);
  --glass-bg-dense:rgba(15, 23, 42, 0.85);

  /* ── Shadows (Dark) ── */
  --shadow-soft:   0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lift:   0 16px 48px rgba(0, 0, 0, 0.4);
}

/* Dark mode adjustment for brand logos marquee */
[data-theme="dark"] .partner-hd-logo {
  filter: brightness(1.25) contrast(1.1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}
[data-theme="dark"] .partner-hd-logo:hover {
  filter: brightness(1.4) drop-shadow(0 0 16px rgba(167, 139, 250, 0.45));
}

/* Dark mode adjustment for specific components */
[data-theme="dark"] body {
  background: var(--bg-surface);
  color: var(--ink-secondary);
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: var(--bg-base) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

[data-theme="dark"] .feature-card-front,
[data-theme="dark"] .feature-card-back {
  background: var(--bg-base) !important;
  border-color: var(--line) !important;
}

[data-theme="dark"] .hero-card-inner-frame {
  background: var(--bg-base) !important;
}

[data-theme="dark"] .brand-logo-img {
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.1));
}

/* Dark mode adjustment for navbar capsule */
[data-theme="dark"] #navbar {
  background: rgba(15, 23, 42, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] #navbar.scrolled {
  background: rgba(15, 23, 42, 0.90) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6),
              0 0 0 1px rgba(99, 102, 241, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

[data-theme="dark"] .nav-links a,
[data-theme="dark"] .mobile-nav-links a {
  color: var(--ink-secondary) !important;
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .mobile-nav-links a:hover {
  color: #818cf8 !important;
  background: rgba(99, 102, 241, 0.15) !important;
}

[data-theme="dark"] .nav-links a.active {
  color: #a5b4fc !important;
  background: rgba(99, 102, 241, 0.2) !important;
}

[data-theme="dark"] .nav-dropdown-menu {
  background: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .nav-dropdown-menu li a {
  color: var(--ink-secondary) !important;
}

[data-theme="dark"] .nav-dropdown-menu li a:hover {
  color: #818cf8 !important;
  background: rgba(99, 102, 241, 0.15) !important;
}

[data-theme="dark"] .mobile-drawer-panel {
  background: rgba(15, 23, 42, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(99, 102, 241, 0.25) !important;
  color: #818cf8 !important;
}

[data-theme="dark"] .nav-btn.btn-outline {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--ink) !important;
}

/* ─────────────────────────────────────────────────────────────
   PLACEMENT PROCESS SECTION (TILT CARDS & DASHED CONNECTOR)
   ───────────────────────────────────────────────────────────── */

.placement-section {
  padding: 6rem 2rem;
  background: var(--bg-surface);
  color: var(--ink);
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

.placement-container {
  max-width: 1200px;
  margin: 0 auto;
}

.placement-header {
  text-align: center;
  margin-bottom: 4.5rem;
  max-width: 600px;
  margin-inline: auto;
}

.placement-header .badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--indigo);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.placement-header .title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink);
}

.placement-header .subtitle {
  font-size: 1.125rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.cards-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  perspective: 2000px;
}

@media (min-width: 768px) {
  .cards-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.connector-line {
  display: none;
}

@media (min-width: 768px) {
  .connector-line {
    display: block;
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background-image: linear-gradient(to right, transparent 50%, rgba(99, 102, 241, 0.4) 50%);
    background-size: 15px 100%;
    z-index: 0;
    transform-origin: left center;
  }
}

.placement-card {
  position: relative;
  background: var(--bg-base);
  border: 1px solid var(--line-bright);
  border-radius: 24px;
  padding: 3rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  cursor: pointer;
}

.placement-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.2);
}

.card-bg-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  opacity: 0.08;
  user-select: none;
  pointer-events: none;
  transform: translateZ(10px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  transform: translateZ(20px);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.placement-card:hover .card-icon {
  transform: translateZ(30px) scale(1.1);
  background: rgba(99, 102, 241, 0.2);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
  transform: translateZ(15px);
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin: 0;
  transform: translateZ(10px);
}

/* =========================================================
   3D COURSE ARTWORK & PROPER DIMENSIONS STYLING
   ========================================================= */

.course-card-thumb {
  width: calc(100% + 48px) !important;
  margin: -24px -24px 16px -24px !important;
  aspect-ratio: 1.5 / 1 !important;
  height: auto !important;
  overflow: hidden !important;
  border-radius: 18px 18px 0 0 !important;
  position: relative !important;
  border-bottom: 1px solid var(--line) !important;
  background: var(--bg-surface) !important;
  z-index: 5 !important;
}

.course-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  transform: scale(1) !important;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.course-card:hover .course-card-thumb img {
  transform: scale(1.03) !important;
  filter: none !important;
}

/* 3D Floating Glass Emblem Overlay inside Course Cards */
.card-3d-emblem {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 10 !important;
  perspective: 600px !important;
  transform-style: preserve-3d !important;
  pointer-events: none !important;
}

.emblem-3d-prism {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 
              inset 0 0 10px rgba(212, 175, 55, 0.25),
              0 0 15px rgba(212, 175, 55, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: translateZ(25px) rotateY(12deg) rotateX(-6deg) !important;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, border-color 0.5s ease !important;
  animation: emblemFloat3D 3.5s ease-in-out infinite alternate !important;
}

.emblem-3d-icon {
  font-size: 1.3rem !important;
  line-height: 1 !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) !important;
}

.course-card:hover .emblem-3d-prism {
  transform: translateZ(50px) scale(1.2) rotateY(28deg) rotateX(-12deg) !important;
  border-color: rgba(243, 224, 152, 0.9) !important;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55), 
              0 0 30px rgba(212, 175, 55, 0.6),
              inset 0 0 14px rgba(243, 224, 152, 0.45) !important;
}

@keyframes emblemFloat3D {
  0% { transform: translateZ(20px) rotateY(10deg) translateY(0); }
  100% { transform: translateZ(32px) rotateY(22deg) translateY(-5px); }
}

.modal-course-banner {
  width: 100% !important;
  aspect-ratio: 1.5 / 1 !important;
  height: auto !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  margin-bottom: 20px !important;
  border: 1px solid var(--line-bright) !important;
  position: relative !important;
  background: var(--bg-surface) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.modal-course-banner img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

@media (max-width: 640px) {
  .course-card-thumb,
  .modal-course-banner {
    aspect-ratio: 1.5 / 1 !important;
    height: auto !important;
  }
}

/* =========================================================
   FLOATING CAPSULE NAVBAR STYLING
   ========================================================= */

.nav-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 0 20px;
  pointer-events: none;
}

.nav-capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  padding: 10px 20px;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-bright);
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), background 0.3s ease, border-color 0.3s ease;
}

/* Logo & 3D Cube */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo-icon-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-logo-symbol {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-logo:hover .logo-icon-simple {
  transform: scale(1.08) rotate(4deg);
}

.lc-face {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.lc-front  { transform: rotateY(0deg) translateZ(18px); }
.lc-back   { transform: rotateY(180deg) translateZ(18px); }
.lc-right  { transform: rotateY(90deg) translateZ(18px); }
.lc-left   { transform: rotateY(-90deg) translateZ(18px); }
.lc-top    { transform: rotateX(90deg) translateZ(18px); }
.lc-bottom { transform: rotateX(-90deg) translateZ(18px); }

@keyframes cubeRotate {
  0%   { transform: rotateX(-15deg) rotateY(0deg); }
  100% { transform: rotateX(-15deg) rotateY(360deg); }
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-main {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #e5c060 0%, #b88a1e 50%, #946b10 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.nav-logo-sub {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #e5c060 0%, #b88a1e 50%, #946b10 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-top: 1px;
}

/* Nav Links Capsule */
.nav-links-capsule {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.04);
  padding: 4px;
  border-radius: 50px;
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-link-btn:hover,
.nav-link-btn.active {
  color: var(--indigo);
  background: var(--bg-deepest);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

.chevron-icon {
  transition: transform 0.25s ease;
}

.nav-link-item {
  position: relative;
}

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

/* Dropdown Panel */
.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 210px;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 10000;
}

.nav-link-item:hover .dropdown-panel,
.nav-link-item.active-dropdown .dropdown-panel {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

.nav-link-item:hover .chevron-icon,
.nav-link-item.active-dropdown .chevron-icon {
  transform: rotate(180deg) !important;
}

.dropdown-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item-link:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--indigo);
  transform: translateX(3px);
}

/* Right Actions */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-deepest);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.theme-btn:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  transform: rotate(15deg);
}

.auth-btn-pill {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.auth-login-pill {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.auth-login-pill:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.auth-register-pill {
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.auth-register-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.mobile-toggle-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-deepest);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Drawer Panel */
.mobile-drawer-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-bright);
  border-radius: 20px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 10000;
}

.mobile-drawer-panel.active,
.mobile-drawer-panel.open {
  display: flex !important;
}

.mobile-nav-item {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.mobile-sub-item {
  padding: 6px 14px 6px 28px;
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .nav-links-capsule {
    display: none;
  }
  .mobile-toggle-btn {
    display: flex;
  }
}

/* =========================================================
   EXACT MOCKUP FOOTER STYLING
   ========================================================= */

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--line-bright);
  padding: 4.5rem 2rem 2.5rem;
  color: var(--ink-secondary);
  font-family: var(--font-body);
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.footer-logo-sub {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #818cf8;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 1.75rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.social-icon-btn {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-icon-btn:hover {
  color: var(--indigo);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

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

.footer-links-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links-col a:hover {
  color: var(--indigo);
  transform: translateX(2px);
}

.footer-sub-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

@media (max-width: 900px) {
  .footer-grid-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 540px) {
  .footer-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   STATS SECTION
   ========================================================== */
.stats-section {
  width: 100%;
  padding: 80px 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.stats-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 24px;
}

@media (min-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-item.animated {
  opacity: 1;
  transform: translateY(0);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .stat-number {
    font-size: 4rem;
  }
}

.stat-suffix {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

@media (min-width: 1024px) {
  .stat-suffix {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #64748b;
  margin-top: 8px;
  font-weight: 500;
}

/* Dark Theme Overrides for Stats Section */
[data-theme="dark"] .stats-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.12));
}

[data-theme="dark"] .stat-label {
  color: #94a3b8;
}

/* ==========================================================
   ABOUT PAGE REPLACEMENT & VIDEO SHOWREEL STYLES
   ========================================================== */

/* Showreel Video Frame */
.video-showreel-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.video-showreel-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.25),
              0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.6s ease;
  filter: brightness(0.85);
}

.video-showreel-card:hover .video-poster-img {
  transform: scale(1.06);
  filter: brightness(0.95);
}

.video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.7) 100%);
  pointer-events: none;
}

/* Pulsing Center Play Button */
.play-btn-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.6);
  animation: playPulse 2s infinite;
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 3;
}

.play-btn-pulse svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  margin-left: 4px;
}

.video-showreel-card:hover .play-btn-pulse {
  transform: translate(-50%, -50%) scale(1.15);
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
  70% { box-shadow: 0 0 0 25px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.video-tag-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  z-index: 3;
}

.video-duration-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  z-index: 3;
}

/* Animated Journey Timeline */
.journey-timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  border-radius: 3px;
  opacity: 0.3;
}

.journey-node {
  position: relative;
  display: flex;
  margin-bottom: 50px;
}

.journey-node:nth-child(odd) {
  justify-content: flex-start;
  padding-right: 50%;
}

.journey-node:nth-child(even) {
  justify-content: flex-end;
  padding-left: 50%;
}

.journey-node-content {
  position: relative;
  width: 92%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.journey-node:nth-child(odd) .journey-node-content {
  margin-right: 30px;
}

.journey-node:nth-child(even) .journey-node-content {
  margin-left: 30px;
}

.journey-node-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
}

.journey-dot {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
  z-index: 2;
  transition: transform 0.3s ease, background 0.3s ease;
}

.journey-node:hover .journey-dot {
  transform: translateX(-50%) scale(1.3);
  background: #8b5cf6;
  box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.4);
}

.journey-year-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.journey-node-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 8px;
}

.journey-node-content p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1050px;
  margin: 0 auto;
}

.team-card {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
}

.team-avatar-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #f1f5f9;
}

.team-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6366f1;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.team-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  background: rgba(241, 245, 249, 0.9);
  padding: 3px 10px;
  border-radius: 6px;
}

/* Video Lightbox Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #0b0f19;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-modal-backdrop.open .video-modal-container {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.video-iframe-player {
  width: 100%;
  height: 100%;
  border: none;
}

/* Dark Theme Overrides */
[data-theme="dark"] .journey-node-content,
[data-theme="dark"] .team-card {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .journey-node-content h3,
[data-theme="dark"] .team-card h4 {
  color: #f8fafc;
}

[data-theme="dark"] .journey-node-content p,
[data-theme="dark"] .team-bio {
  color: #94a3b8;
}

[data-theme="dark"] .team-tag {
  background: rgba(30, 41, 59, 0.8);
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .journey-timeline::before {
    left: 20px;
  }
  .journey-node:nth-child(odd),
  .journey-node:nth-child(even) {
    justify-content: flex-start;
    padding-left: 50px;
    padding-right: 0;
  }
  .journey-node:nth-child(odd) .journey-node-content,
  .journey-node:nth-child(even) .journey-node-content {
    width: 100%;
    margin: 0;
  }
  .journey-dot {
    left: 20px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* ==========================================================
   GLOBAL FIXED FULL-PAGE BACKGROUND ANIMATIONS
   ========================================================== */
.global-page-bg-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg-base);
}

body.has-global-bg {
  background: transparent !important;
}

body.has-global-bg .page-header {
  background: transparent !important;
}

body.has-global-bg .section-alt {
  background: rgba(248, 250, 252, 0.85) !important;
}

[data-theme="dark"] body.has-global-bg .section-alt {
  background: rgba(30, 41, 59, 0.85) !important;
}

body.has-global-bg .glass-section {
  background: linear-gradient(165deg, rgba(240, 244, 255, 0.85) 0%, rgba(248, 246, 255, 0.85) 25%, rgba(238, 242, 255, 0.85) 50%, rgba(245, 243, 255, 0.85) 75%, rgba(240, 240, 255, 0.85) 100%) !important;
}

[data-theme="dark"] body.has-global-bg .glass-section {
  background: linear-gradient(165deg, rgba(11, 15, 25, 0.85) 0%, rgba(15, 23, 42, 0.85) 35%, rgba(30, 21, 72, 0.45) 70%, rgba(11, 15, 25, 0.85) 100%) !important;
}

/* Make everything borderless and clean on global background pages */
body.has-global-bg .site-footer {
  border-top: none !important;
}

body.has-global-bg .nav-capsule {
  border: none !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="dark"] body.has-global-bg .nav-capsule {
  background: rgba(15, 23, 42, 0.6) !important;
  border: none !important;
}

body.has-global-bg .glass-card,
body.has-global-bg .tilt-card,
body.has-global-bg .course-card,
body.has-global-bg .bento-item,
body.has-global-bg .feature-card-front,
body.has-global-bg .feature-card-back,
body.has-global-bg .review-card,
body.has-global-bg .faq-item,
body.has-global-bg .team-card,
body.has-global-bg .blog-card,
body.has-global-bg .filter-card {
  border: none !important;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.05) !important;
}

[data-theme="dark"] body.has-global-bg .glass-card,
[data-theme="dark"] body.has-global-bg .tilt-card,
[data-theme="dark"] body.has-global-bg .course-card,
[data-theme="dark"] body.has-global-bg .bento-item,
[data-theme="dark"] body.has-global-bg .feature-card-front,
[data-theme="dark"] body.has-global-bg .feature-card-back,
[data-theme="dark"] body.has-global-bg .review-card,
[data-theme="dark"] body.has-global-bg .faq-item,
[data-theme="dark"] body.has-global-bg .team-card,
[data-theme="dark"] body.has-global-bg .blog-card,
[data-theme="dark"] body.has-global-bg .filter-card {
  border: none !important;
  background: rgba(15, 23, 42, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

/* Force page elements into a stacking context to prevent particles from rendering on top */
body.has-global-bg main,
body.has-global-bg .site-footer {
  position: relative;
  z-index: 1;
}

/* ==========================================================
   WHY CHOOSE US — ULTRA-PREMIUM ANIMATED BENTO (.wcu-section)
   ========================================================== */
.wcu-section {
  position: relative;
  padding: 6.5rem 2rem;
  overflow: hidden;
}

/* Ambient Floating Orbs Behind Section */
.wcu-bg-orb-1 {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16), transparent 70%);
  filter: blur(100px);
  top: -10%;
  left: -6%;
  pointer-events: none;
  animation: wcuOrbFloat 14s ease-in-out infinite alternate;
}

.wcu-bg-orb-2 {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.14), transparent 70%);
  filter: blur(100px);
  bottom: -10%;
  right: -5%;
  pointer-events: none;
  animation: wcuOrbFloat 16s ease-in-out infinite alternate-reverse;
}

@keyframes wcuOrbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, -25px) scale(1.12); }
}

.wcu-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1000px;
}

.wcu-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 22px !important;
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Shimmer Border Overlay */
.wcu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), var(--accent, rgba(99,102,241,0.5)), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.wcu-card:hover::before {
  opacity: 1;
}

.wcu-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent, var(--indigo));
  opacity: 0.85;
  transition: width 0.3s var(--ease-out), opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .wcu-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 24px 55px var(--accent-glow, rgba(99, 102, 241, 0.16)), 0 0 0 1px var(--accent, var(--indigo)) inset !important;
    border-color: transparent !important;
  }

  .wcu-card:hover .wcu-card-accent {
    width: 6px;
    opacity: 1;
  }
}

.wcu-card-inner {
  position: relative;
  z-index: 2;
}

.wcu-step {
  position: absolute;
  top: -4px;
  right: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink-faint, #cbd5e1);
  opacity: 0.45;
  letter-spacing: -0.04em;
  user-select: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease, opacity 0.4s ease;
}

.wcu-card:hover .wcu-step {
  transform: scale(1.15) translateY(-2px);
  color: var(--accent, var(--indigo));
  opacity: 0.4;
}

.wcu-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--icon-bg);
  margin-bottom: 20px;
  box-shadow: 0 6px 18px var(--accent-glow, rgba(99, 102, 241, 0.15));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
}

.wcu-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  border: 1.5px dashed var(--accent, #6366f1);
  opacity: 0;
  transform: scale(0.8);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.wcu-card:hover .wcu-icon-wrap {
  transform: scale(1.12) rotate(4deg) !important;
  box-shadow: 0 10px 28px var(--accent-glow, rgba(99, 102, 241, 0.28)) !important;
}

.wcu-card:hover .wcu-icon-wrap::after {
  opacity: 0.5;
  transform: scale(1);
}

.wcu-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: var(--icon-clr, var(--indigo));
  fill: none;
  transition: stroke-width 0.3s ease;
}

.wcu-card:hover .wcu-icon-wrap svg {
  stroke-width: 2.2;
}

.wcu-card h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.wcu-card p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.58;
  margin: 0;
}

/* Hero Cards (Spanning 2 columns) */
.wcu-hero-card .wcu-card-body {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  position: relative;
  z-index: 2;
}

.wcu-hero-card .wcu-text {
  flex: 1;
}

.wcu-hero-card h4 {
  font-size: 1.2rem;
}

.wcu-hero-card p {
  font-size: 0.89rem;
  line-height: 1.62;
}

.wcu-stat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid var(--accent-glow, rgba(99, 102, 241, 0.25)) !important;
  border-radius: 16px;
  min-width: 110px;
  text-align: center;
  align-self: center;
  box-shadow: 0 6px 20px var(--accent-glow, rgba(99, 102, 241, 0.12)), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.wcu-card:hover .wcu-stat-badge {
  transform: scale(1.06);
  box-shadow: 0 10px 28px var(--accent-glow, rgba(99, 102, 241, 0.22)) !important;
}

.wcu-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent, #6366f1), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wcu-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Dark theme overrides for WCU Bento */
[data-theme="dark"] .wcu-section {
  background: transparent;
}

[data-theme="dark"] .wcu-card {
  background: rgba(15, 23, 42, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .wcu-card:hover {
  background: rgba(30, 41, 59, 0.9) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--accent, var(--indigo)) inset !important;
}

[data-theme="dark"] .wcu-stat-badge {
  background: rgba(15, 23, 42, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .wcu-step {
  color: rgba(255, 255, 255, 0.15);
}

/* Responsive Grid for WCU */
@media (max-width: 1024px) {
  .wcu-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .wcu-hero-card {
    grid-column: span 2 !important;
  }
}

@media (max-width: 640px) {
  .wcu-bento {
    grid-template-columns: 1fr;
  }
  .wcu-hero-card {
    grid-column: span 1 !important;
  }
  .wcu-hero-card .wcu-card-body {
    flex-direction: column;
  }
  .wcu-stat-badge {
    align-self: flex-start;
    margin-top: 14px;
  }
}

/* ==========================================================
   SITE-WIDE HIGH-AGENCY AESTHETIC UPGRADE (TASTE SKILL + EMIL)
   ========================================================== */

/* 1. Global Glass Cards Polish */
.course-card,
.blog-card,
.placement-card,
.team-card,
.story-card,
.bento-item,
.faq-item,
.contact-info-item,
.stat-card,
.enterprise-form-wrap {
  border-radius: 20px !important;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, border-color 0.3s ease, background 0.3s ease !important;
  will-change: transform;
}

/* 2. Interactive Card Hover Lift & Ambient Glow */
@media (hover: hover) and (pointer: fine) {
  .course-card:hover,
  .blog-card:hover,
  .placement-card:hover,
  .team-card:hover,
  .story-card:hover,
  .contact-info-item:hover {
    transform: translateY(-6px) scale(1.008) !important;
    box-shadow: 0 20px 48px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.2) inset !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
  }
}

/* 3. Image Zoom Physics on Hover */
.course-card-thumb img,
.blog-card-thumb img,
.team-avatar-img,
.video-poster-img,
.partner-hd-logo {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  .course-card:hover .course-card-thumb img,
  .blog-card:hover .blog-card-thumb img,
  .video-showreel-card:hover .video-poster-img {
    transform: scale(1.05) !important;
    filter: brightness(1.03) !important;
  }
}

/* 4. Section Head & Eyebrow Polish */
.section-head h2 {
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.25;
}

.section-head p {
  font-size: 1.02rem;
  line-height: 1.6;
}

.eyebrow,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.12));
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 6px 18px;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.06);
}

[data-theme="dark"] .eyebrow,
[data-theme="dark"] .hero-eyebrow {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(167, 139, 250, 0.3);
}

/* 5. Button Hover Elevation & Shimmer */
.btn-primary,
.btn-purple-pill,
.btn-primary-gradient {
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.22);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .btn-purple-pill:hover,
  .btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.35) !important;
  }

  .btn-outline:hover,
  .btn-glass-outline:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.4) !important;
    background: rgba(99, 102, 241, 0.06) !important;
  }
}

/* 6. Dark Theme Glass Optimization */
[data-theme="dark"] .course-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .placement-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .story-card,
[data-theme="dark"] .faq-item {
  background: rgba(15, 23, 42, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) !important;
}

[data-theme="dark"] .course-card:hover,
[data-theme="dark"] .blog-card:hover,
[data-theme="dark"] .placement-card:hover,
[data-theme="dark"] .team-card:hover,
[data-theme="dark"] .story-card:hover {
  background: rgba(30, 41, 59, 0.85) !important;
  border-color: rgba(167, 139, 250, 0.4) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(167, 139, 250, 0.2) inset !important;
}

/* ==========================================================
   IMPECCABLE BRAND & PARTNER LOGO POLISH SYSTEM
   ========================================================== */

/* Partner Banner Floating Glass Card Container */
.hero-partners-banner {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 24px !important;
  padding: 26px 36px !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  margin-top: 4rem !important;
}

[data-theme="dark"] .hero-partners-banner {
  background: rgba(15, 23, 42, 0.65) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Crisp Clean Floating Logos (No Double-Boxing) */
.scroll-container img,
.partner-hd-logo {
  height: 44px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 0.88 !important;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.06)) !important;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s ease, filter 0.35s ease !important;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .scroll-container img:hover,
  .partner-hd-logo:hover {
    opacity: 1 !important;
    transform: translateY(-4px) scale(1.1) !important;
    filter: drop-shadow(0 8px 20px rgba(99, 102, 241, 0.3)) !important;
  }
}

[data-theme="dark"] .partner-hd-logo {
  opacity: 0.9 !important;
  filter: brightness(1.25) contrast(1.1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.15)) !important;
}

[data-theme="dark"] .partner-hd-logo:hover {
  opacity: 1 !important;
  filter: brightness(1.4) contrast(1.15) drop-shadow(0 0 22px rgba(167, 139, 250, 0.55)) !important;
}

/* Nav Logo Icon & Typography Shimmer */
.logo-icon-simple {
  border-radius: 12px;
  background: radial-gradient(circle, rgba(229, 192, 96, 0.16), transparent 70%);
  padding: 3px;
  box-shadow: 0 4px 12px rgba(229, 192, 96, 0.2);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.nav-logo:hover .logo-icon-simple {
  transform: scale(1.12) rotate(4deg);
  box-shadow: 0 6px 18px rgba(229, 192, 96, 0.35);
}

.nav-logo-main,
.footer-logo-main {
  font-family: var(--font-display) !important;
  font-size: 1.18rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  background: linear-gradient(135deg, #d4af37 0%, #f3e098 50%, #b88a1e 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.nav-logo-sub,
.footer-logo-sub {
  font-family: var(--font-display) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 3.5px !important;
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* ==========================================================
   MASTER RESPONSIVE UI ENGINE (Mobile, Tablet, Laptop, Ultra-Wide)
   ========================================================== */

/* 1. Global Viewport Safety & Touch Targets */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Responsive Containers & Grid Sizing */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* 3. Mobile Viewports (Phones up to 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Hide inline action pills on small screens to give header space */
  #navbar-actions-dynamic {
    display: none !important;
  }

  /* Full-width Glass Mobile Drawer Panel */
  .nav-capsule {
    position: relative !important;
  }

  .mobile-drawer-panel {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: -10px !important;
    right: -10px !important;
    width: calc(100% + 20px) !important;
    background: var(--bg-surface) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px !important;
    padding: 20px 16px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25) !important;
    z-index: 10000 !important;
  }

  .mobile-drawer-panel.active,
  .mobile-drawer-panel.open {
    display: flex !important;
  }

  .mobile-nav-item {
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
  }

  /* Floating Hero Tech Badges Mobile Fix */
  .hero-3d {
    min-height: auto !important;
    margin-top: 20px !important;
    width: 100% !important;
  }

  .hero-3d-scene {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 0 !important;
  }

  .floating-card {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    animation: none !important;
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  }

  .connection-lines {
    display: none !important;
  }

  /* Login Portal Mobile Fix */
  .reveal-card {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    filter: none !important;
    padding: 24px 18px !important;
  }

  .reveal-hint, .lamp-cord-wrapper, .lamp-shade, .lamp-stand, .lamp-hint, .lamp-light-cone {
    display: none !important;
  }

  .lamp-column {
    padding-top: 20px !important;
    padding-bottom: 10px !important;
  }

  .portal-container {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
    gap: 20px !important;
  }

  /* Typography Sizing */
  h1, .hero-title, .hero-asymmetric-title {
    font-size: clamp(1.75rem, 7vw, 2.35rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
  }

  h2, .section-head h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.8rem) !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 1.15rem !important;
  }

  .eyebrow {
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
  }

  /* Grid Conversions */
  .grid-2, .grid-3, .grid-4, .course-card-grid, .features-grid, .stats-grid,
  .footer-grid-layout, .admin-stat-grid, .contact-grid, .curriculum-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Header user badge alignment */
  .dash-user-badge {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .dash-user-badge button {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
  }

  /* Admin & Dashboard Mobile Sidebar */
  .admin-layout, .dashboard-layout {
    display: block !important;
  }

  .admin-sidebar, .dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 270px !important;
    z-index: 10000 !important;
    background: var(--bg-surface) !important;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .admin-sidebar.sidebar-open, .dashboard-sidebar.sidebar-open,
  .admin-sidebar.active, .dashboard-sidebar.active {
    transform: translateX(0) !important;
  }

  #admin-mobile-toggle, #dash-mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Data Tables Mobile Overflow */
  .table-responsive {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 8px !important;
  }

  .data-table th, .data-table td {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }

  /* Modals & Dialogs on Small Screens */
  .admin-modal-content, .modal-content {
    width: 95% !important;
    max-width: 100% !important;
    padding: 20px 16px !important;
    margin: 12px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    border-radius: 16px !important;
  }

  .admin-modal-content form div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Floating AI Chatbot Mobile Sizing */
  .ai-robot-container {
    right: 12px !important;
    bottom: 12px !important;
    transform: scale(0.85) !important;
    transform-origin: bottom right !important;
  }

  .ai-chat-window {
    width: calc(100vw - 24px) !important;
    right: 12px !important;
    bottom: 70px !important;
    max-height: 75vh !important;
    border-radius: 16px !important;
  }
}

/* 4. Tablets & iPads (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .grid-3, .grid-4, .course-card-grid, .admin-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .footer-grid-layout {
    grid-template-columns: 1.5fr 1fr 1fr !important;
    gap: 2rem !important;
  }

  .hero-title {
    font-size: 2.75rem !important;
  }

  .admin-modal-content {
    max-width: 580px !important;
    width: 90% !important;
  }
}

/* 5. Desktop & Ultra-Wide (1025px+) */
@media (min-width: 1025px) {
  .admin-modal-content {
    max-width: 600px;
  }
}



