/* =========================================================
   JAIPUR AI INSTITUTE — style.css
   Design Direction: Dark tech-luxury with golden accents
   Fonts: Syne (display) + DM Sans (body)
   ========================================================= */

/* ───────────────────────────────────────────────────────── */
/*  0. CSS VARIABLES & RESET                                 */
/* ───────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --clr-bg:          #0a0b0f;
  --clr-surface:     #111318;
  --clr-surface-2:   #181c24;
  --clr-border:      rgba(255,255,255,0.08);
  --clr-border-2:    rgba(255,255,255,0.14);

  --clr-gold:        #f0b429;
  --clr-gold-light:  #ffd166;
  --clr-gold-dim:    rgba(240,180,41,0.15);
  --clr-accent:      #4f8ef7;
  --clr-accent-dim:  rgba(79,142,247,0.15);

  --clr-text:        #e8eaf0;
  --clr-text-muted:  #8a90a0;
  --clr-text-light:  #ffffff;

  /* Gradients */
  --grad-gold:       linear-gradient(135deg, #f0b429 0%, #ffd166 100%);
  --grad-accent:     linear-gradient(135deg, #4f8ef7 0%, #7c3aed 100%);
  --grad-hero:       linear-gradient(135deg, #0f1117 0%, #141820 60%, #0d1020 100%);
  --grad-why:        linear-gradient(135deg, #0e1525 0%, #111827 100%);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:  0 4px 32px rgba(0,0,0,0.4), 0 1px 0 var(--clr-border);
  --shadow-glow:  0 0 40px rgba(240,180,41,0.15);
  --shadow-btn:   0 8px 24px rgba(240,180,41,0.25);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Transitions */
  --t-fast:   0.18s ease;
  --t-med:    0.32s ease;
  --t-slow:   0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
select, input, textarea {
  font-family: var(--font-body);
  color: var(--clr-text);
}

/* ───────────────────────────────────────────────────────── */
/*  1. CUSTOM CURSOR                                         */
/* ───────────────────────────────────────────────────────── */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 8px; height: 8px;
  background: var(--clr-gold);
}

.cursor-outline {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(240,180,41,0.55);
  transition: transform 0.12s, width 0.2s, height 0.2s, opacity 0.3s;
}

.cursor-outline.hovered {
  width: 56px; height: 56px;
  border-color: var(--clr-gold);
  background: var(--clr-gold-dim);
}

@media (hover: none) {
  .cursor-dot, .cursor-outline { display: none; }
  body { cursor: auto; }
}

/* ───────────────────────────────────────────────────────── */
/*  2. PRELOADER                                             */
/* ───────────────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulseGlow 1.2s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--clr-border);
  border-radius: 99px;
  margin: 1.5rem auto 0;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  background: var(--grad-gold);
  border-radius: 99px;
  animation: loadBar 1.8s ease-in-out infinite;
}

@keyframes loadBar {
  0%   { width: 0%; transform: translateX(0); }
  50%  { width: 70%; }
  100% { width: 100%; transform: translateX(110%); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ───────────────────────────────────────────────────────── */
/*  3. UTILITIES                                             */
/* ───────────────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-sm); }
}

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

.text-gradient {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-light {
  background: linear-gradient(135deg, #ffd166, #f0b429);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  background: var(--clr-gold-dim);
  border: 1px solid rgba(240,180,41,0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--clr-gold);
  border-radius: 50%;
  animation: blink 1.8s ease infinite;
}

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

.section-tag.light {
  color: var(--clr-gold-light);
  background: rgba(255,209,102,0.12);
  border-color: rgba(255,209,102,0.3);
}

.section-head { text-align: center; margin-bottom: var(--space-xl); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--clr-text-light);
  margin-bottom: var(--space-sm);
}

.section-heading.light { color: #fff; }

.section-sub {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-sub.light { color: rgba(255,255,255,0.6); }

/* ───────────────────────────────────────────────────────── */
/*  4. BUTTONS                                               */
/* ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.8rem;
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
  cursor: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--t-fast);
  border-radius: inherit;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--grad-gold);
  color: #0a0b0f;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(240,180,41,0.4);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border-2);
}

.btn-ghost:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--grad-gold);
  color: #0a0b0f;
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
}

.btn-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn); }

.btn-mobile {
  display: block;
  text-align: center;
  background: var(--grad-gold);
  color: #0a0b0f;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  margin: 1.5rem;
}

.btn-lg { padding: 0.95rem 2.4rem; font-size: 1rem; }

.btn-course {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--clr-gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0;
  background: none;
  border-radius: 0;
  transition: gap var(--t-fast), color var(--t-fast);
}

.btn-course:hover { gap: 0.8rem; color: var(--clr-gold-light); }
.btn-course::after { display: none; }

.btn-full { width: 100%; justify-content: center; }

/* ───────────────────────────────────────────────────────── */
/*  5. HEADER / NAVBAR                                       */
/* ───────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--t-slow), padding var(--t-med), box-shadow var(--t-slow);
}

#navbar.scrolled {
  background: rgba(10,11,15,0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.7rem 0;
  box-shadow: 0 1px 0 var(--clr-border), 0 8px 32px rgba(0,0,0,0.5);
}

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: none;
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1.5px solid rgba(240,180,41,0.4);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text-light);
  line-height: 1.25;
}

.logo-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--clr-text-muted);
  font-size: 0.8rem;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  transition: color var(--t-fast), background var(--t-fast);
  cursor: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-text-light);
  background: var(--clr-border);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--clr-text-light);
  border-radius: 99px;
  transition: transform var(--t-med), opacity var(--t-med), width var(--t-med);
}

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

/* Mobile Drawer */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--clr-surface);
  border-left: 1px solid var(--clr-border);
  z-index: 999;
  padding: 5rem 0 2rem;
  transition: right var(--t-slow);
  overflow-y: auto;
}

.mobile-menu.open { right: 0; }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
}

.mobile-link {
  display: block;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--t-fast), padding-left var(--t-fast);
  cursor: pointer;
}

.mobile-link:hover { color: var(--clr-gold); padding-left: 2rem; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}

.mobile-overlay.show { opacity: 1; visibility: visible; }

/* ───────────────────────────────────────────────────────── */
/*  6. HERO SECTION                                          */
/* ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem var(--space-lg) 4rem;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  gap: 4rem;
}

/* Background */
.hero-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,180,41,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,180,41,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  pointer-events: none;
}

.hero-glow {
  position: fixed;
  top: -20%;
  left: 30%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(79,142,247,0.07) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  animation: slowFloat 12s ease-in-out infinite;
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 400px; height: 400px;
  top: -10%; left: -10%;
  background: radial-gradient(circle, rgba(240,180,41,0.08), transparent 70%);
  animation: slowFloat 14s ease-in-out infinite;
}

.orb-2 {
  width: 300px; height: 300px;
  bottom: 5%; right: 20%;
  background: radial-gradient(circle, rgba(79,142,247,0.1), transparent 70%);
  animation: slowFloat 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: 200px; height: 200px;
  top: 40%; left: 45%;
  background: radial-gradient(circle, rgba(124,58,237,0.07), transparent 70%);
  animation: slowFloat 8s ease-in-out infinite;
}

@keyframes slowFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-gold);
  background: var(--clr-gold-dim);
  border: 1px solid rgba(240,180,41,0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--clr-gold);
  border-radius: 50%;
  animation: blink 1.8s ease infinite;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--clr-text-light);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--clr-text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-sub strong { color: var(--clr-text); }

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--clr-text-light);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.03em;
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--clr-border-2);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}

.hero-central {
  position: relative;
  width: 160px; height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.central-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(240,180,41,0.2);
  animation: spinRing 10s linear infinite;
}

.central-ring:nth-child(1) { width: 140px; height: 140px; }
.central-ring.ring-2 {
  width: 200px; height: 200px;
  border-color: rgba(79,142,247,0.15);
  animation-direction: reverse;
  animation-duration: 14s;
  border-style: dashed;
}

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

.central-icon {
  font-size: 3.5rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1;
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
}

.card-ai { top: 0; left: -40px; animation: floatCard 6s ease-in-out infinite; }
.card-ds { bottom: 60px; left: -50px; animation: floatCard 7s ease-in-out infinite 1s; }
.card-py { top: 50px; right: -30px; animation: floatCard 5s ease-in-out infinite 0.5s; }

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

.card-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.card-ai .card-icon { background: rgba(240,180,41,0.15); color: var(--clr-gold); }
.card-ds .card-icon { background: rgba(79,142,247,0.15); color: var(--clr-accent); }
.card-py .card-icon { background: rgba(52,211,153,0.15); color: #34d399; }

.card-text {
  display: flex;
  flex-direction: column;
}

.card-text strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-text-light);
}

.card-text span {
  font-size: 0.72rem;
  color: var(--clr-text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px; height: 34px;
  border: 1.5px solid var(--clr-border-2);
  border-radius: 99px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-mouse span {
  display: block;
  width: 3px; height: 6px;
  background: var(--clr-gold);
  border-radius: 99px;
  animation: scrollBob 1.8s ease-in-out infinite;
}

@keyframes scrollBob {
  0%,100% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
}

/* ───────────────────────────────────────────────────────── */
/*  7. REVEAL ANIMATIONS                                     */
/* ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* Hero animations (load immediately) */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeLeft 0.8s ease forwards;
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { to { opacity: 1; transform: translateX(0); } }

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ───────────────────────────────────────────────────────── */
/*  8. ABOUT SECTION                                         */
/* ───────────────────────────────────────────────────────── */
.about {
  background: var(--clr-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual { }

.about-img-wrap {
  position: relative;
}

.about-img-box {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(240,180,41,0.05), transparent 70%);
}

.img-label {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  background: var(--clr-gold-dim);
  border: 1px solid rgba(240,180,41,0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* AI Illustration */
.about-illustration {
  position: relative;
  width: 220px; height: 220px;
}

.ai-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  background: var(--clr-gold-dim);
  border: 2px solid rgba(240,180,41,0.4);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--clr-gold);
  z-index: 2;
}

.ai-node {
  position: absolute;
  width: 50px; height: 50px;
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border-2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--clr-gold);
  z-index: 2;
}

.n1 { top: 0; left: 0; animation: floatCard 5s ease-in-out infinite; }
.n2 { top: 0; right: 0; animation: floatCard 6s ease-in-out infinite 0.5s; }
.n3 { bottom: 0; left: 0; animation: floatCard 7s ease-in-out infinite 1s; }
.n4 { bottom: 0; right: 0; animation: floatCard 5.5s ease-in-out infinite 1.5s; }

.ai-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  color: rgba(240,180,41,0.15);
  z-index: 1;
}

.about-badge-card {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-card);
}

.about-badge-card i {
  font-size: 1.5rem;
  color: var(--clr-gold);
}

.about-badge-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-text-light);
}

.about-badge-card span {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

/* About Content */
.about-text {
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-text strong { color: var(--clr-text); }
.about-text em { color: var(--clr-gold); font-style: normal; }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0 2.5rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon {
  width: 42px; height: 42px;
  min-width: 42px;
  background: var(--clr-gold-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  font-size: 1.1rem;
  margin-top: 2px;
}

.pillar strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--clr-text-light);
  margin-bottom: 0.25rem;
}

.pillar p { font-size: 0.9rem; color: var(--clr-text-muted); }

/* ───────────────────────────────────────────────────────── */
/*  9. COURSES SECTION                                       */
/* ───────────────────────────────────────────────────────── */
.courses { background: var(--clr-bg); }
.section-head { text-align: center; }

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

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

.course-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(240,180,41,0.05), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med);
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240,180,41,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), var(--shadow-glow);
}

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

.course-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0b0f;
  background: var(--clr-gold);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.course-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.course-icon-ai { background: rgba(240,180,41,0.15); color: var(--clr-gold); }
.course-icon-ds { background: rgba(79,142,247,0.15); color: var(--clr-accent); }
.course-icon-py { background: rgba(52,211,153,0.15); color: #34d399; }
.course-icon-cs { background: rgba(239,68,68,0.15); color: #ef4444; }

.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-text-light);
  margin-bottom: 0.75rem;
}

.course-card p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.course-tags li {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.course-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

.course-meta i { color: var(--clr-gold); font-size: 0.72rem; }

/* ───────────────────────────────────────────────────────── */
/*  10. WHY CHOOSE US                                        */
/* ───────────────────────────────────────────────────────── */
.why {
  background: var(--grad-why);
  position: relative;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(240,180,41,0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(79,142,247,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--space-xl);
}

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

.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}

.why-card:hover {
  background: rgba(240,180,41,0.06);
  border-color: rgba(240,180,41,0.25);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px; height: 52px;
  background: var(--clr-gold-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--clr-gold);
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* Admissions CTA */
.admissions-cta {
  text-align: center;
  background: rgba(240,180,41,0.06);
  border: 1px solid rgba(240,180,41,0.2);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.admissions-cta h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.admissions-cta p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.admissions-cta p strong { color: var(--clr-gold); }

/* ───────────────────────────────────────────────────────── */
/*  11. TESTIMONIALS                                         */
/* ───────────────────────────────────────────────────────── */
.testimonials { background: var(--clr-surface); overflow: hidden; }

.testimonials-slider-wrap {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform var(--t-slow);
}

.testi-card {
  min-width: calc(33.33% - 1rem);
  flex-shrink: 0;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.testi-stars {
  color: var(--clr-gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testi-card blockquote {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.testi-avatar {
  width: 44px; height: 44px;
  background: var(--clr-gold-dim);
  border: 2px solid rgba(240,180,41,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-gold);
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text-light);
}

.testi-author span {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 44px; height: 44px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  transition: all var(--t-fast);
  cursor: none;
}

.slider-btn:hover {
  background: var(--clr-gold-dim);
  border-color: rgba(240,180,41,0.4);
  color: var(--clr-gold);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: 99px;
  background: var(--clr-border-2);
  border: none;
  transition: all var(--t-fast);
  cursor: none;
}

.slider-dot.active {
  background: var(--clr-gold);
  width: 24px;
}

/* ───────────────────────────────────────────────────────── */
/*  12. CONTACT SECTION                                      */
/* ───────────────────────────────────────────────────────── */
.contact { background: var(--clr-bg); }

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

.contact-info { }

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.info-icon {
  width: 42px; height: 42px;
  min-width: 42px;
  background: var(--clr-gold-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  font-size: 1rem;
}

.info-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--clr-text-light);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

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

.info-item a {
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
}
.info-item a:hover { color: var(--clr-gold); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  margin-top: 1.5rem;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  letter-spacing: 0.03em;
}

.form-group label span { color: var(--clr-gold); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--clr-surface-2);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--clr-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(138,144,160,0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(240,180,41,0.5);
  box-shadow: 0 0 0 3px var(--clr-gold-dim);
}

.form-group input.error,
.form-group textarea.error {
  border-color: rgba(239,68,68,0.5);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

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

.form-group select option { background: var(--clr-surface); }

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

.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  min-height: 1em;
}

.form-success {
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: var(--radius-md);
  color: #34d399;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-success.show { display: block; }

/* ───────────────────────────────────────────────────────── */
/*  13. FOOTER                                               */
/* ───────────────────────────────────────────────────────── */
.footer { background: var(--clr-surface); border-top: 1px solid var(--clr-border); }

.footer-top { padding: var(--space-xl) 0; }

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

.footer-brand .nav-logo { margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.social-link {
  width: 38px; height: 38px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  transition: all var(--t-fast);
  cursor: none;
}

.social-link:hover {
  background: var(--clr-gold-dim);
  border-color: rgba(240,180,41,0.4);
  color: var(--clr-gold);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-light);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  transition: color var(--t-fast), padding-left var(--t-fast);
  cursor: none;
}

.footer-col a:hover { color: var(--clr-gold); padding-left: 4px; }

.footer-col address p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

.footer-col address i { color: var(--clr-gold); margin-top: 3px; min-width: 14px; }
.footer-col address a { padding-left: 0; }
.footer-col address a:hover { padding-left: 0; }

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding: 1.25rem 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
  cursor: none;
}

.footer-legal a:hover { color: var(--clr-gold); }

/* ───────────────────────────────────────────────────────── */
/*  14. BACK TO TOP                                          */
/* ───────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--grad-gold);
  color: #0a0b0f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(240,180,41,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-med);
  z-index: 500;
  cursor: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240,180,41,0.45);
}

/* ───────────────────────────────────────────────────────── */
/*  15. RESPONSIVE                                           */
/* ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 7rem;
    padding-bottom: 5rem;
    gap: 3rem;
    text-align: center;
  }

  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { text-align: center; }
  .hero-visual { min-height: 360px; }
  .scroll-indicator { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 400px; margin: 0 auto; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }

  .section { padding: 4rem 0; }

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

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

  .form-row { grid-template-columns: 1fr; }

  .testi-card { min-width: calc(100% - 0px); }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .stat-divider { display: none; }
  .hero-visual { display: none; }

  .admissions-cta { padding: 2rem 1.5rem; }
  .admissions-cta h3 { font-size: 1.4rem; }
  .contact-form-wrap { padding: 1.5rem; }
}
