/* ============================================
   AI WIZARD - FUTURISTIC CORPORATE WEBSITE
   Design: Deep Navy / Electric Blue / Purple
   Typography: Inter + Poppins
   ============================================ */

/* ----- CSS CUSTOM PROPERTIES ----- */
:root {
  --navy: #0a0e27;
  --navy-light: #111640;
  --navy-card: #131842;
  --blue-electric: #3b82f6;
  --blue-bright: #60a5fa;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --gradient-primary: linear-gradient(135deg, #6366f1, #06b6d4);
  --gradient-hero: linear-gradient(135deg, #6366f1 0%, #7c3aed 30%, #3b82f6 60%, #06b6d4 100%);
  --gradient-card: linear-gradient(145deg, rgba(99,102,241,0.08), rgba(6,182,212,0.08));
  --gradient-glow: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.15), transparent 70%);
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(99, 102, 241, 0.15);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(99,102,241,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- LIGHT THEME ----- */
[data-theme="light"] {
  --navy: #f8fafc;
  --navy-light: #f1f5f9;
  --navy-card: #ffffff;

  /* FIXED TEXT COLORS */
  --text-primary: #0f172a;   /* Dark navy instead of gray */
  --text-secondary: #334155; /* Stronger contrast */
  --text-muted: #64748b;

  --white: #ffffff;
  --border-color: rgba(99, 102, 241, 0.18);

  /* Softer shadows for light bg */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 18px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);

  --gradient-card: linear-gradient(145deg, rgba(99,102,241,0.04), rgba(6,182,212,0.04));
}


/* ----- RESET & BASE ----- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background: var(--navy);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-bright); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--cyan-light); }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden { display: none !important; }

/* ----- PARTICLE CANVAS (LIVING BACKGROUND) ----- */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

[data-theme="light"] #particleCanvas {
  opacity: 0.4;
}

/* ----- NAVIGATION ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 39, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(248, 250, 252, 0.92);
}

.navbar.scrolled .logo-circle img {
  height: 32px;
}

.navbar.scrolled .logo-circle {
  padding: 4px 14px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50px;
  padding: 6px 18px;
  box-shadow: 0 2px 12px rgba(255,255,255,0.15);
  transition: var(--transition);
}

.logo-circle:hover {
  box-shadow: 0 4px 20px rgba(255,255,255,0.25);
  transform: scale(1.03);
}

.logo-circle img {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-circle--footer {
  padding: 8px 22px;
}

.logo-circle--footer img {
  height: 44px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(99, 102, 241, 0.1);
}

.nav-cta {
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: var(--transition);
  margin-left: 8px;
}

.theme-toggle:hover {
  background: rgba(99, 102, 241, 0.2);
  color: var(--white);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ----- SECTION COMMON ----- */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-primary);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
  color: var(--white);
}

.btn-secondary {
  background: rgba(99, 102, 241, 0.1);
  color: var(--blue-bright);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--blue-bright);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-full { width: 100%; }

/* ----- HERO SECTION ----- */
.hero-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--gradient-glow);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto 24px;
  color: var(--white);
  animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue-electric), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ----- ABOUT SECTION ----- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
}

.about-card:hover::before { opacity: 1; }

.about-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--blue-bright);
}

.about-icon svg { width: 24px; height: 24px; }

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ----- SERVICES SECTION ----- */
.services-section {
  background: linear-gradient(180deg, transparent, rgba(19, 24, 66, 0.5), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--navy-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  overflow: hidden;
}

.service-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-slow);
  pointer-events: none;
}

.service-card:hover .service-card-glow { opacity: 1; }

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--white);
}

.service-card--ai .service-icon { background: linear-gradient(135deg, #6366f1, #818cf8); }
.service-card--recruit .service-icon { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.service-card--mgmt .service-icon { background: linear-gradient(135deg, #0891b2, #06b6d4); }

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 24px;
}

.service-features li {
  position: relative;
  padding: 6px 0 6px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 50%;
}

.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-bright);
  transition: var(--transition);
}

.service-link:hover { color: var(--cyan-light); letter-spacing: 0.5px; }

/* ----- CAREERCRAFT LABS ----- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.program-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
}

.program-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--cyan-light);
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.program-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.program-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.careercraft-cta {
  text-align: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- INTERNSHIP SECTION ----- */
.internship-section {
  background: linear-gradient(180deg, transparent, rgba(19, 24, 66, 0.5), transparent);
}

.internship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.intern-feature {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.intern-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--white);
}

.intern-feature h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.intern-feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ----- FORMS ----- */
.internship-form-wrapper,
.contact-form-wrapper {
  background: var(--navy-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.internship-form-wrapper h3,
.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-electric);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--navy-card);
  color: var(--text-primary);
}

.form-group input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

.form-group small {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-status {
  margin-top: 12px;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-status.success {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  padding: 10px;
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.form-status.error {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
  padding: 10px;
  border: 1px solid rgba(248, 113, 113, 0.2);
}

/* ----- QUIZ SECTION ----- */
.quiz-section {
  background: linear-gradient(180deg, transparent, rgba(19, 24, 66, 0.3), transparent);
}

.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--navy-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.quiz-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.quiz-start {
  text-align: center;
}

.quiz-start-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.quiz-start h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.quiz-start p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.quiz-topics {
  text-align: left;
  max-width: 340px;
  margin: 0 auto 32px;
}

.quiz-topics li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.quiz-topics li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* Quiz Body */
.quiz-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 0.4s ease;
  width: 0%;
}

.quiz-counter {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: center;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.5;
  text-align: center;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.quiz-option {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.quiz-option:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
}

.quiz-option.selected {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--blue-electric);
  color: var(--white);
}

.quiz-option.correct {
  background: rgba(52, 211, 153, 0.15);
  border-color: #34d399;
  color: #34d399;
}

.quiz-option.wrong {
  background: rgba(248, 113, 113, 0.15);
  border-color: #f87171;
  color: #f87171;
}

/* Quiz Results */
.quiz-results {
  text-align: center;
}

.quiz-score-circle {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
}

.quiz-score-circle svg {
  width: 100%;
  height: 100%;
}

.score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.score-text span:last-child {
  font-size: 1rem;
  color: var(--text-secondary);
}

.quiz-results h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.quiz-results > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.result-category {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-bright);
  margin-bottom: 20px;
}

.result-recommendation {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.quiz-result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- CONTACT SECTION ----- */
.contact-section {
  background: linear-gradient(180deg, transparent, rgba(19, 24, 66, 0.5), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-sm);
  color: var(--blue-bright);
}

.contact-item-icon svg { width: 20px; height: 20px; }

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.contact-social {
  margin-top: 40px;
}

.contact-social h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

.social-link svg { width: 18px; height: 18px; }

/* ----- WHY CHOOSE US ----- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
}

.why-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 12px;
  line-height: 1;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ----- FOOTER ----- */
.footer {
  position: relative;
  z-index: 1;
  background: rgba(10, 14, 39, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cyan-light);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

/* ----- BACK TO TOP ----- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.back-to-top svg { width: 20px; height: 20px; }

/* ----- ANIMATIONS ----- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 4px;
    transition: var(--transition);
    border-left: 1px solid var(--border-color);
  }

  [data-theme="light"] .nav-menu {
    background: rgba(248, 250, 252, 0.98);
  }

  .nav-menu.open { right: 0; }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
  }

  .hero-section { padding: 120px 20px 60px; min-height: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-scroll-indicator { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 48px; }
  .internship-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .quiz-container { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 1.6rem; }
  .internship-form-wrapper,
  .contact-form-wrapper { padding: 24px 20px; }
}

/* ----- PRINT ----- */
@media print {
  .navbar, .back-to-top, #particleCanvas, .hero-glow { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 24px 0; }
}
/* =====================================================
   AI WIZARD — FINAL PREMIUM LIGHT THEME OVERRIDE
   Fixes: invisible white text, footer contrast, cards,
   hero readability, forms, navbar + premium polish
   Layout & alignment remain unchanged
   ===================================================== */


/* ===============================
   ROOT LIGHT TOKENS
   =============================== */

[data-theme="light"] {
  --navy: #f8fafc;
  --navy-light: #f1f5f9;
  --navy-card: #ffffff;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --white: #ffffff;
  --border-color: rgba(15, 23, 42, 0.08);

  --shadow-sm: 0 2px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10);

  --gradient-card: linear-gradient(145deg, rgba(99,102,241,0.03), rgba(6,182,212,0.03));
}


/* ===============================
   HEADINGS FIX
   =============================== */

[data-theme="light"] .section-title,
[data-theme="light"] .hero-title,
[data-theme="light"] .about-card h3,
[data-theme="light"] .service-card h3,
[data-theme="light"] .program-card h3,
[data-theme="light"] .quiz-question,
[data-theme="light"] .contact-form-wrapper h3,
[data-theme="light"] .internship-form-wrapper h3 {
  color: #0f172a;
}


/* ===============================
   GRADIENT TEXT FIX
   =============================== */

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #4f46e5, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ===============================
   BODY TEXT VISIBILITY
   =============================== */

[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] .section-desc {
  color: #334155;
}


/* ===============================
   NAVBAR PREMIUM LIGHT
   =============================== */

[data-theme="light"] .navbar.scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

[data-theme="light"] .nav-link {
  color: #334155;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #4f46e5;
  background: rgba(99,102,241,0.08);
}


/* ===============================
   CARDS VISIBILITY FIX
   =============================== */

[data-theme="light"] .about-card,
[data-theme="light"] .service-card,
[data-theme="light"] .program-card,
[data-theme="light"] .quiz-container,
[data-theme="light"] .internship-form-wrapper,
[data-theme="light"] .contact-form-wrapper {
  color: #334155;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
}


/* ===============================
   HERO READABILITY
   =============================== */

[data-theme="light"] .hero-subtitle {
  color: #475569;
}

[data-theme="light"] .hero-badge {
  background: rgba(6,182,212,0.06);
  border: 1px solid rgba(6,182,212,0.18);
}


/* ===============================
   BUTTON PREMIUM POLISH
   =============================== */

[data-theme="light"] .btn-secondary {
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.18);
}

[data-theme="light"] .btn-outline {
  border: 1px solid rgba(0,0,0,0.12);
  color: #0f172a;
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(0,0,0,0.04);
}


/* ===============================
   QUIZ VISIBILITY
   =============================== */

[data-theme="light"] .quiz-option {
  background: #f8fafc;
  border: 1px solid rgba(0,0,0,0.06);
  color: #0f172a;
}

[data-theme="light"] .quiz-option:hover {
  background: rgba(99,102,241,0.06);
}

[data-theme="light"] .result-recommendation {
  background: rgba(6,182,212,0.05);
  border: 1px solid rgba(6,182,212,0.15);
}


/* ===============================
   FOOTER FULL FIX
   =============================== */

[data-theme="light"] .footer {
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-bottom p {
  color: #334155;
}

[data-theme="light"] .footer-links a:hover {
  color: #4f46e5;
}

[data-theme="light"] .footer-social a {
  background: #f1f5f9;
  border: 1px solid rgba(0,0,0,0.08);
  color: #334155;
}

[data-theme="light"] .footer-social a:hover {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: white;
}


/* ===============================
   FORMS VISIBILITY
   =============================== */

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(0,0,0,0.12);
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: #94a3b8;
}


/* ===============================
   ACCESSIBILITY
   =============================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

