/* ============================================
   JOY ROBOTICS â€” Overrides & Polish
   Production-ready styling refinements
   ============================================ */

/* =====================
   GLOBAL LUCIDE ICON SYSTEM
   ===================== */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icon in card-icon containers */
.card-icon [data-lucide],
.feature-icon [data-lucide],
.trust-icon [data-lucide],
.contact-card-icon [data-lucide],
.timeline-node [data-lucide],
.timeline-icon [data-lucide] {
  width: 1.4em;
  height: 1.4em;
  color: var(--accent);
}

/* Icon in mentor avatars */
.mentor-avatar [data-lucide] {
  width: 1.8em;
  height: 1.8em;
  color: #fff;
}

/* Icon in gallery items */
.gallery-item [data-lucide] {
  width: 2.5em;
  height: 2.5em;
  color: var(--accent);
}

/* Icon in project thumbnails (when no image) */
.project-thumbnail [data-lucide],
.project-thumb [data-lucide] {
  width: 3em;
  height: 3em;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

/* Hero robot icon */
.robot-emoji [data-lucide] {
  width: 5rem;
  height: 5rem;
  color: var(--accent);
  filter: drop-shadow(0 0 30px rgba(0,217,255,0.3));
}

/* Float card icons */
.float-card-icon [data-lucide],
.hero-float .float-icon [data-lucide] {
  width: 1.2em;
  height: 1.2em;
  color: var(--accent);
}

/* Nav logo icon */
.logo-icon [data-lucide] {
  width: 1.1em;
  height: 1.1em;
  color: #fff;
}

/* Stat label icons */
.stat-label [data-lucide] {
  width: 1em;
  height: 1em;
  margin-right: 4px;
  margin-bottom: -2px;
  color: var(--accent);
}

/* Tech badge icons */
.tech-badge [data-lucide] {
  width: 0.85em;
  height: 0.85em;
  margin-right: 3px;
}

/* Footer social icons */
.footer-social a [data-lucide] {
  width: 1.1em;
  height: 1.1em;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-social a:hover [data-lucide] {
  color: var(--accent);
}

/* WhatsApp float icon */
.whatsapp-float [data-lucide] {
  width: 1.5em;
  height: 1.5em;
  color: #fff;
  stroke-width: 2.5;
}

/* Back to top icon */
.back-to-top [data-lucide] {
  width: 1.2em;
  height: 1.2em;
}

/* FAQ toggle icon */
.faq-toggle [data-lucide],
.faq-icon [data-lucide] {
  width: 0.9em;
  height: 0.9em;
  color: var(--accent);
}

/* Testimonial star icons */
.testimonial-stars [data-lucide] {
  width: 0.9em;
  height: 0.9em;
  fill: #fbbf24;
  color: #fbbf24;
}

/* Testimonial nav icons */
.testimonial-btn [data-lucide] {
  width: 1.1em;
  height: 1.1em;
}

/* Level badge icons */
.level-badge [data-lucide] {
  width: 0.85em;
  height: 0.85em;
}

/* Registration check icons */
.reg-feature .check-icon [data-lucide],
.register-benefits [data-lucide] {
  width: 1em;
  height: 1em;
  color: var(--accent);
}

/* Course meta icons */
.course-meta-item [data-lucide] {
  width: 0.9em;
  height: 0.9em;
  color: var(--accent);
}

/* Curriculum item icons */
.curriculum-item [data-lucide] {
  width: 0.85em;
  height: 0.85em;
  color: var(--accent);
  flex-shrink: 0;
}

/* MV card icons */
.mv-card h3 [data-lucide] {
  width: 1.2em;
  height: 1.2em;
  color: var(--accent);
}

/* Story visual icon */
.story-visual [data-lucide] {
  width: 4em;
  height: 4em;
  color: var(--accent);
  opacity: 0.6;
}

/* =====================
   SECTION BADGE (alias for section-label)
   ===================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 20px;
  background: rgba(0,217,255,0.08);
  border: 1px solid rgba(0,217,255,0.15);
  border-radius: var(--radius-full);
}

.section-badge [data-lucide] {
  width: 0.9em;
  height: 0.9em;
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================
   DESKTOP GRID DEFAULTS
   ===================== */
.projects-page-grid, .gallery-grid, .mentors-grid, .curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

/* =====================
   HERO OVERRIDES
   ===================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,217,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 8s ease-in-out infinite;
  z-index: 0;
}
.hero-glow-1 { width: 500px; height: 500px; background: rgba(0,217,255,0.12); top: -10%; right: -5%; }
.hero-glow-2 { width: 400px; height: 400px; background: rgba(0,87,255,0.1); bottom: -5%; left: -5%; animation-delay: -4s; }
.hero-glow-3 { width: 300px; height: 300px; background: rgba(124,58,237,0.08); top: 40%; left: 30%; animation-delay: -2s; }

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: var(--z-content);
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 20px;
  line-height: 1.2;
}

.heading-line-2 {
  display: block;
  margin-top: 4px;
}

.hero-title .gradient-text {
  white-space: nowrap;
}

.hero-subtitle {
  margin-bottom: 32px;
  font-size: 1.15rem;
  max-width: 550px;
}

@media (min-width: 1025px) {
  .hero-visual {
    transform: translateX(-40px);
  }
}

.hero-buttons .btn {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,217,255,0.5);
}

.hero-buttons .btn-outline:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(0,217,255,0.12);
  box-shadow: 0 12px 30px rgba(0,217,255,0.25);
  border-color: var(--accent);
}

/* =====================
   PREMIUM 3D ROBOT VISUAL
   ===================== */

/* Scene container */
.hero-robot-scene {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  margin: 0 auto;
  perspective: 1000px;
}

/* Radial glow behind robot */
.robot-radial-glow {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(0,217,255,0.15) 0%, rgba(0,87,255,0.05) 40%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
}
.robot-radial-glow-2 {
  top: 20% !important;
  left: 15% !important;
  right: 15% !important;
  bottom: 20% !important;
  background: radial-gradient(circle, rgba(0,217,255,0.2) 0%, transparent 60%) !important;
  animation-delay: -1.5s;
}
.robot-radial-glow-3 {
  top: 35% !important;
  left: 30% !important;
  right: 30% !important;
  bottom: 35% !important;
  background: radial-gradient(circle, rgba(0,217,255,0.3) 0%, transparent 50%) !important;
  animation-delay: -3s;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

:root {
  --orbit-radius: 194px;
}
@media (max-width: 1024px) {
  :root {
    --orbit-radius: 154px;
  }
}
@media (max-width: 768px) {
  :root {
    --orbit-radius: 121px;
  }
}
@media (max-width: 480px) {
  :root {
    --orbit-radius: 97px;
  }
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-sizing: border-box;
}
.orbit-ring-1 {
  width: calc(var(--orbit-radius) * 2);
  height: calc(var(--orbit-radius) * 2);
  border: 1px solid rgba(0,217,255,0.4);
  box-shadow: 0 0 30px rgba(0,217,255,0.15), inset 0 0 30px rgba(0,217,255,0.15);
  animation: spinOrbit 40s linear infinite;
}

@keyframes spinOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ========== ROBOT BODY ========== */
.robot-body-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 32px)) scale(0.5);
  z-index: 3;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: filter 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0,217,255,0));
}
.robot-breathing {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  animation: premiumFloat 6s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Antenna */
.robot-antenna {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -4px;
  z-index: 5;
  position: relative;
}
.antenna-tip {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent), 0 0 40px rgba(0,217,255,0.6);
  animation: antennaPulse 2s ease-in-out infinite;
}
@keyframes antennaPulse {
  0%, 100% { box-shadow: 0 0 15px var(--accent), 0 0 40px rgba(0,217,255,0.6); transform: scale(1); }
  50% { box-shadow: 0 0 25px var(--accent), 0 0 60px rgba(0,217,255,0.8); transform: scale(1.1); }
}
.antenna-rod {
  width: 4px;
  height: 24px;
  background: linear-gradient(to bottom, var(--accent), #0f1c3f);
  border-radius: 2px;
  box-shadow: inset 1px 0 0 rgba(255,255,255,0.3);
}
.antenna-base {
  width: 24px;
  height: 8px;
  background: linear-gradient(180deg, #1f2e54, #0a1128);
  border-radius: 6px 6px 0 0;
  border: 1px solid rgba(0,217,255,0.2);
  border-bottom: none;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.1);
}

/* Head */
.robot-head {
  width: 140px;
  height: 115px;
  position: relative;
  z-index: 4;
  transition: transform 0.15s ease-out;
  will-change: transform;
  transform-style: preserve-3d;
}
.head-edge-glow {
  position: absolute;
  inset: -2px;
  border-radius: 34px 34px 26px 26px;
  background: linear-gradient(135deg, rgba(0,217,255,0.4), transparent 50%, rgba(0,87,255,0.4));
  filter: blur(4px);
  z-index: -1;
}
.head-surface {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #24355c 0%, #152342 45%, #0a1128 100%);
  border-radius: 32px 32px 24px 24px;
  border: 1px solid rgba(0,217,255,0.25);
  border-top: 2px solid rgba(0,217,255,0.5);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 15px 35px rgba(0,0,0,0.6),
    inset 4px 4px 10px rgba(255,255,255,0.1),
    inset -4px -4px 15px rgba(0,0,0,0.5);
}
.head-highlight {
  position: absolute;
  top: 0;
  left: 5%;
  right: 30%;
  height: 45%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
  border-radius: 32px 32px 50% 50%;
}
.head-highlight-2 {
  position: absolute;
  top: 10%;
  left: 8%;
  width: 20%;
  height: 20%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  border-radius: 50%;
}

/* Visor + Eyes */
.robot-visor {
  position: absolute;
  top: 30px;
  left: 12px;
  right: 12px;
  height: 44px;
  background: linear-gradient(135deg, rgba(3,10,24,0.9), rgba(10,20,40,0.9));
  border-radius: 12px;
  border: 1px solid rgba(0,217,255,0.3);
  border-top: 1px solid rgba(0,217,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  box-shadow: 
    inset 0 4px 15px rgba(0,0,0,0.8),
    inset 0 0 10px rgba(0,217,255,0.2),
    0 4px 10px rgba(0,0,0,0.4);
  overflow: hidden;
}
.visor-reflection {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, transparent 40%);
  transform: rotate(-10deg);
  pointer-events: none;
}
.robot-eye {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #00f5ff 30%, #0057FF 80%);
  box-shadow: 0 0 15px var(--accent), 0 0 30px rgba(0,217,255,0.5);
  animation: robotBlink 5s infinite;
  position: relative;
}

@keyframes robotBlink {
  0%, 96%, 98% { transform: scaleY(1); }
  97% { transform: scaleY(0.1); }
}
  box-shadow: 0 0 15px var(--accent), 0 0 30px rgba(0,217,255,0.5);
  transition: transform 0.1s ease-out;
  will-change: transform;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eye-iris {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff;
}

/* Chin & Mouth */
.head-chin-line {
  position: absolute;
  bottom: 28px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,217,255,0.3), transparent);
}
.head-mouth {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}
.head-mouth span {
  width: 6px;
  height: 4px;
  background: rgba(0,217,255,0.3);
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(0,217,255,0.2);
}
.head-mouth span:nth-child(3) { height: 6px; transform: translateY(-1px); background: rgba(0,217,255,0.5); }

/* Ears */
.head-ear {
  position: absolute;
  top: 40px;
  width: 14px;
  height: 36px;
  background: linear-gradient(90deg, #1a2744, #0a1128);
  border: 1px solid rgba(0,217,255,0.2);
  border-radius: 4px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.5);
}
.head-ear-l { left: -12px; border-right: none; border-radius: 6px 0 0 6px; }
.head-ear-r { right: -12px; border-left: none; border-radius: 0 6px 6px 0; }
.head-ear::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 16px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent);
}

/* Neck */
.robot-neck {
  width: 44px;
  height: 20px;
  background: linear-gradient(90deg, #0a1128, #1a2744, #0a1128);
  border-left: 2px solid rgba(0,217,255,0.3);
  border-right: 2px solid rgba(0,217,255,0.3);
  margin-top: -4px;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.neck-joint {
  width: 100%;
  height: 4px;
  background: rgba(0,0,0,0.5);
  box-shadow: 0 8px 0 rgba(0,0,0,0.5);
}

/* Torso */
.robot-torso {
  width: 160px;
  height: 130px;
  position: relative;
  z-index: 2;
}
.torso-edge-glow {
  position: absolute;
  inset: -2px;
  border-radius: 20px 20px 32px 32px;
  background: linear-gradient(135deg, rgba(0,217,255,0.3), transparent 60%, rgba(0,87,255,0.3));
  filter: blur(4px);
  z-index: -1;
}
.torso-surface {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #24355c 0%, #152342 40%, #0a1128 100%);
  border-radius: 18px 18px 28px 28px;
  border: 1px solid rgba(0,217,255,0.2);
  border-top: 2px solid rgba(0,217,255,0.4);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.7),
    inset 4px 4px 12px rgba(255,255,255,0.08),
    inset -4px -4px 15px rgba(0,0,0,0.6);
}
.torso-highlight {
  position: absolute;
  top: 0;
  left: 5%;
  right: 40%;
  height: 35%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.08), transparent);
  border-radius: 18px 0 50% 0;
}
.torso-panel-line {
  position: absolute;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: rgba(0,0,0,0.3);
  box-shadow: 1px 0 0 rgba(255,255,255,0.05);
}
.torso-panel-line-l { left: 24px; }
.torso-panel-line-r { right: 24px; }

/* Chest core reactor */
.chest-core {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050a14;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.8), 0 2px 5px rgba(255,255,255,0.1);
  border: 2px solid rgba(0,217,255,0.1);
}
.core-outer-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(0,217,255,0.3);
  animation: coreSpin 10s linear infinite reverse;
}
.core-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(0,217,255,0.6);
  border-top-color: transparent;
  animation: coreSpin 4s linear infinite;
  box-shadow: 0 0 15px rgba(0,217,255,0.4);
}
@keyframes coreSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.core-glow {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(0,217,255,0.8);
  animation: coreFlicker 2s ease-in-out infinite;
}
.core-flare {
  position: absolute;
  width: 150%;
  height: 2px;
  background: rgba(255,255,255,0.4);
  transform: rotate(45deg);
  filter: blur(1px);
  animation: coreFlicker 2s ease-in-out infinite;
}
@keyframes coreFlicker {
  0%, 100% { opacity: 0.7; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Chest vents */
.chest-vent {
  position: absolute;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  top: 90px;
}
.chest-vent-l {
  left: 20px;
  background: rgba(0,217,255,0.2);
  box-shadow: 0 6px 0 rgba(0,217,255,0.15), 0 12px 0 rgba(0,217,255,0.1);
}
.chest-vent-r {
  right: 20px;
  background: rgba(0,217,255,0.2);
  box-shadow: 0 6px 0 rgba(0,217,255,0.15), 0 12px 0 rgba(0,217,255,0.1);
}

/* Shoulders & Arms */
.robot-shoulder {
  position: absolute;
  top: 10px;
  width: 34px;
  height: 48px;
  background: linear-gradient(135deg, #24355c, #0a1128);
  border: 1px solid rgba(0,217,255,0.25);
  border-top: 2px solid rgba(0,217,255,0.5);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  box-shadow: 
    5px 5px 15px rgba(0,0,0,0.5),
    inset 2px 2px 8px rgba(255,255,255,0.1);
  z-index: 1;
}
.robot-shoulder-l { left: -42px; border-radius: 16px 8px 8px 16px; }
.robot-shoulder-r { right: -42px; border-radius: 8px 16px 16px 8px; }
.shoulder-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: shoulderPulse 2.5s ease-in-out infinite;
}
.robot-shoulder-r .shoulder-light { animation-delay: -1.25s; }
.shoulder-detail {
  margin-top: 12px;
  width: 20px;
  height: 3px;
  background: rgba(0,0,0,0.4);
  box-shadow: 0 6px 0 rgba(0,0,0,0.4);
}
@keyframes shoulderPulse {
  0%, 100% { opacity: 0.4; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 1; box-shadow: 0 0 20px var(--accent); }
}
.robot-arm {
  position: absolute;
  top: 64px;
  width: 18px;
  height: 40px;
  background: linear-gradient(90deg, #152342, #0a1128);
  border: 1px solid rgba(0,217,255,0.15);
  border-radius: 0 0 8px 8px;
  z-index: 0;
}
.robot-arm-l { left: -34px; }
.robot-arm-r { right: -34px; }

/* Base / Waist */
.robot-base {
  width: 90px;
  height: 24px;
  margin: -4px auto 0;
  background: linear-gradient(180deg, #152342, #050a14);
  border: 1px solid rgba(0,217,255,0.2);
  border-top: none;
  border-radius: 0 0 45px 45px;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 -4px 10px rgba(0,0,0,0.8), 0 15px 30px rgba(0,217,255,0.1);
}
.robot-base::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: rgba(0,217,255,0.3);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0,217,255,0.2);
}

/* ========== TECH ORBIT NODES ========== */

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

.hero-robot-scene:hover .robot-body-wrapper {
  filter: drop-shadow(0 0 30px rgba(0,217,255,0.4));
}

.robot-scan-line {
  position: absolute;
  top: 0;
  left: -20%;
  width: 140%;
  height: 8px;
  background: linear-gradient(to bottom, rgba(0,217,255,0), rgba(0,217,255,0.8), rgba(0,217,255,0));
  box-shadow: 0 0 15px rgba(0,217,255,0.8);
  border-radius: 50%;
  z-index: 50;
  opacity: 0;
  animation: scanSweep 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanSweep {
  0% { top: -10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}


.tech-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4; /* Badges stay above ring but orbit ring is behind everything */
  cursor: pointer;
  transform-origin: 0 0;
  transform: rotate(calc(-1 * var(--angle)));
}

.tech-node-content {
  position: absolute;
  top: 0;
  left: var(--orbit-radius);
  transform: translate(-50%, -50%) rotate(var(--angle));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: nodeFloat 6s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-node-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15,23,55,0.9), rgba(10,15,35,0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,217,255,0.25);
  border-top: 1px solid rgba(0,217,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.5),
    0 0 25px rgba(0,217,255,0.1),
    inset 0 2px 10px rgba(255,255,255,0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tech-node-icon::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.tech-node-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(10,15,35,0.8);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.tech-node:hover {
  z-index: 10;
}
.tech-node:hover .tech-node-icon {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow:
    0 15px 40px rgba(0,0,0,0.6),
    0 0 40px rgba(0,217,255,0.4),
    inset 0 0 15px rgba(0,217,255,0.3);
  color: var(--accent);
}
.tech-node:hover .tech-node-icon::before { left: 200%; }
.tech-node:hover .tech-node-label {
  color: #fff;
  border-color: rgba(0,217,255,0.3);
  box-shadow: 0 0 15px rgba(0,217,255,0.2);
}

/* Exact Mathematical Polar Coordinates */
.tech-node-1 { --angle: 90deg; } .tech-node-1 .tech-node-content { animation-delay: 0s; }
.tech-node-2 { --angle: 30deg; } .tech-node-2 .tech-node-content { animation-delay: -1s; }
.tech-node-3 { --angle: -30deg; } .tech-node-3 .tech-node-content { animation-delay: -2s; }
.tech-node-4 { --angle: -90deg; } .tech-node-4 .tech-node-content { animation-delay: -3s; }
.tech-node-5 { --angle: -150deg; } .tech-node-5 .tech-node-content { animation-delay: -4s; }
.tech-node-6 { --angle: 150deg; } .tech-node-6 .tech-node-content { animation-delay: -5s; }

@keyframes nodeFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0); filter: brightness(1); }
  50% { transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-4px); filter: brightness(1.2); }
}

/* =====================
   STATS BAR
   ===================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,217,255,0.4), transparent);
}
.stats-section { padding: 60px 0; }

/* =====================
   LEVEL BADGE COLORS
   ===================== */
.level-badge-green, .level-badge-yellow, .level-badge-cyan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  width: fit-content;
}
.level-badge-green { background: rgba(34,197,94,0.1); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.level-badge-yellow { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
.level-badge-cyan { background: rgba(0,217,255,0.1); color: var(--accent); border: 1px solid rgba(0,217,255,0.2); }

.level-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }
.level-topics li { padding: 6px 0; font-size: 0.88rem; color: var(--text-secondary); }
.level-duration { display: flex; gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.82rem; color: var(--text-muted); }
.level-featured-tag { position: absolute; top: 16px; right: 16px; padding: 4px 12px; background: rgba(0,217,255,0.12); border: 1px solid rgba(0,217,255,0.2); border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 600; color: var(--accent); }

/* =====================
   PROJECT CARD â€” IMAGE SUPPORT
   ===================== */
.project-thumbnail,
.project-thumb {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,217,255,0.05), rgba(0,87,255,0.05));
}

.project-thumbnail img,
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
  filter: brightness(1);
}

.project-card:hover .project-thumbnail img,
.project-card:hover .project-thumb img {
  transform: scale(1.08);
  filter: brightness(1.15);
}

.project-thumbnail::after,
.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(5,8,22,0.3) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.project-card:hover .project-thumbnail::after,
.project-card:hover .project-thumb::after {
  opacity: 0.5;
}

/* Move tag inside thumbnail overlay */
.project-thumbnail .project-tag,
.project-thumb .project-tag {
  z-index: 2;
}

/* Project tag colors */
.project-tag-robotics { background: rgba(0,217,255,0.15) !important; border: 1px solid rgba(0,217,255,0.2) !important; color: var(--accent) !important; }
.project-tag-ai { background: rgba(124,58,237,0.15) !important; border: 1px solid rgba(124,58,237,0.2) !important; color: #a78bfa !important; }
.project-tag-iot { background: rgba(34,197,94,0.15) !important; border: 1px solid rgba(34,197,94,0.2) !important; color: #22c55e !important; }
.project-tag-drone { background: rgba(251,191,36,0.15) !important; border: 1px solid rgba(251,191,36,0.2) !important; color: #fbbf24 !important; }

/* Project Card Layout Alignment Fix */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-thumbnail,
.project-thumb {
  flex-shrink: 0;
}

.project-title {
  margin-top: 24px;
  padding: 0 24px;
  min-height: 52px;
  margin-bottom: 8px;
}

.project-desc {
  padding: 0 24px;
  flex-grow: 1;
  margin-bottom: 24px;
}

.project-tech {
  margin-top: auto;
  padding: 0 24px 24px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tech-badge {
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* =====================
   TIMELINE OVERRIDES
   ===================== */
.timeline-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 40px 0;
  position: relative;
}
.timeline-step { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; position: relative; z-index: 1; }
.timeline-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--bg-glass); border: 2px solid rgba(0,217,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 16px;
  transition: all var(--transition-base); position: relative;
}
.timeline-step:hover .timeline-icon { border-color: var(--accent); background: rgba(0,217,255,0.1); box-shadow: 0 0 30px rgba(0,217,255,0.25); transform: scale(1.1); }
.timeline-step-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.timeline-step-desc { font-size: 0.8rem; color: var(--text-muted); max-width: 140px; line-height: 1.5; }
.timeline-steps .timeline-connector { flex: 0.5; height: 2px; background: linear-gradient(90deg, rgba(0,217,255,0.2), rgba(0,87,255,0.2)); position: relative; top: 36px; max-width: 80px; }

/* =====================
   TRUST SECTION
   ===================== */
.trust-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; margin-top: 8px; }

/* =====================
   FAQ OVERRIDES
   ===================== */
.faq-section .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-toggle { width: 28px; height: 28px; border-radius: 50%; background: rgba(0,217,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--accent); flex-shrink: 0; transition: all var(--transition-base); line-height: 1; }
.faq-item.active .faq-toggle { transform: rotate(45deg); background: rgba(0,217,255,0.15); }

/* =====================
   REGISTRATION SECTION
   ===================== */
.register-section { position: relative; overflow: hidden; }
.register-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(0,217,255,0.06) 0%, transparent 60%); }
.register-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.register-info-text { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; margin-bottom: 28px; }
.register-benefits { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.register-benefits li { font-size: 0.92rem; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.register-whatsapp { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.register-whatsapp span { font-size: 0.88rem; color: var(--text-muted); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: var(--radius-full);
  color: #25D366; font-size: 0.88rem; font-weight: 500;
  transition: all var(--transition-base);
}
.btn-whatsapp:hover { background: rgba(37, 211, 102, 0.2); color: #25D366; transform: translateY(-1px); }

.register-form-wrapper { position: relative; }
.register-form {
  background: var(--bg-glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass); border-radius: var(--radius-xl);
  padding: 40px; position: relative; overflow: hidden;
}
.register-form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-primary); }
.register-form .form-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; margin-bottom: 24px; text-align: center; }
.register-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.register-form .form-group, .register-form .form-group-full { margin-bottom: 16px; }
.register-form label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.register-form input {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: var(--text-primary); font-size: 0.9rem;
  transition: all var(--transition-fast);
}
.register-form input:focus { border-color: var(--accent); background: rgba(0,217,255,0.04); box-shadow: 0 0 0 3px rgba(0,217,255,0.1); }
.register-form input::placeholder { color: var(--text-muted); }
.btn-full { width: 100%; justify-content: center; }
.form-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; }
.form-note a { color: var(--accent); }

/* =====================
   CTA BANNER & BUTTON
   ===================== */
.cta-section { padding: 80px 0; position: relative; }

.cta-banner {
  background: var(--bg-glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass); border-radius: var(--radius-xl);
  padding: 60px; text-align: center; position: relative; overflow: hidden;
  background-image: radial-gradient(ellipse at 50% 50%, rgba(0,217,255,0.06) 0%, transparent 60%);
}
.cta-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 12px; }
.cta-subtitle { color: var(--text-secondary); font-size: 1rem; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }

.cta-card {
  background: var(--bg-glass); backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass); border-radius: var(--radius-xl);
  padding: 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(0,217,255,0.06) 0%, transparent 60%); }
.cta-card h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 12px; position: relative; }
.cta-card p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 28px; position: relative; }
.cta-card .btn { position: relative; }

.btn-cta-large {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  background: var(--gradient-primary); color: #fff !important;
  border-radius: var(--radius-full); font-weight: 600; font-size: 1.1rem;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3); border: none;
}
.btn-cta-large:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(0, 217, 255, 0.5); }

/* =====================
   COURSE PAGE
   ===================== */
.course-header-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.course-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; }
.course-description { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.curriculum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }

/* =====================
   GALLERY SECTION
   ===================== */
.gallery-item {
  position: relative;
}

.gallery-emoji {
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(5,8,22,1) 0%, rgba(5,8,22,0.3) 50%, transparent 100%);
  pointer-events: none;
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* =====================
   PREMIUM MICRO-INTERACTIONS
   ===================== */
.nav-links a:hover, .nav-links a.active {
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}
.nav-links a::after {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  height: 2px;
  border-radius: 2px;
}
.btn-primary:hover, .btn-cta:hover, .hero-buttons .btn:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 10px 25px rgba(0, 217, 255, 0.3) !important;
}
.btn-primary:active, .btn-cta:active, .hero-buttons .btn:active {
  transform: translateY(0) scale(0.98) !important;
}
.feature-card:hover, .project-card:hover, .course-card:hover, .stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 217, 255, 0.15), inset 0 0 0 1px rgba(0, 217, 255, 0.3);
}
.feature-card, .project-card, .course-card, .stat-item {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

/* =====================
   GLOBAL PAGE TRANSITIONS
   ===================== */
.global-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999999;
  pointer-events: none;
  opacity: 1; /* Start visible to hide FOUC */
  transition: opacity 0.4s ease;
}

.global-transition-overlay.hidden {
  opacity: 0;
}

/* =====================
   PREMIUM PRELOADER
   ===================== */
.premium-preloader {
  position: fixed;
  inset: 0;
  background: #050a14;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
  overflow: hidden;
}

.premium-preloader.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
}

/* Background Effects */
.preloader-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0,217,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  z-index: 1;
}
.preloader-particles {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 20%, #050a14 80%);
  z-index: 2;
}

/* Centerpiece */
.preloader-centerpiece {
  position: relative;
  width: 250px;
  height: 250px;
  z-index: 3;
  margin-bottom: 60px; /* Increased visual spacing from text */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: plFadeInUp 0.8s ease forwards;
}

/* Preloader specific glows and rings */
.preloader-glow {
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(0,217,255,0.2) 0%, transparent 60%);
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite;
}
.preloader-ring {
  position: absolute;
  border-radius: 50%;
  box-sizing: border-box;
}
.preloader-ring-1 {
  width: 100%; height: 100%;
  border: 2px dashed rgba(0,217,255,0.4);
  animation: spinSlow 4s linear infinite;
}
.preloader-ring-2 {
  width: 120%; height: 120%;
  border: 1px solid rgba(0,87,255,0.3);
  border-left-color: rgba(0,217,255,0.8);
  animation: spinSlow 6s linear infinite reverse;
}
.preloader-ring-3 {
  width: 140%; height: 140%;
  border: 2px dotted rgba(0,217,255,0.2);
  animation: spinSlow 10s linear infinite;
}

/* Scale the 3D robot to fit the preloader */
.preloader-robot {
  transform: scale(0.65);
  position: relative;
  z-index: 10;
}

/* Text Container */
.preloader-text-container {
  z-index: 4;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
}

.preloader-logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(10px);
  /* JS will trigger fade in */
}

.preloader-sub-text {
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  opacity: 0;
}

.preloader-boot-sequence {
  width: 100%;
  text-align: left;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,217,255,0.2);
  padding: 16px;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
  margin-bottom: 20px;
}

.boot-line {
  margin-bottom: 8px;
  opacity: 0; /* Hidden initially */
  display: flex;
  align-items: center;
  gap: 8px;
}

.boot-line:last-child {
  margin-bottom: 0;
}

.boot-check {
  color: var(--accent);
  font-weight: bold;
}

.preloader-percentage {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: bold;
  margin-top: 10px;
  text-shadow: 0 0 10px var(--accent);
  opacity: 0;
}

.preloader-welcome-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: scale(0.9);
}

/* Utility Animations */
@keyframes plFadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.show-fade-up {
  animation: plFadeInUp 0.5s ease forwards;
}

.show-fade {
  animation: plFadeIn 0.4s ease forwards;
}

@keyframes plFadeIn {
  to { opacity: 1; }
}

.show-typewriter {
  animation: typewriterFade 0.3s ease forwards;
}

@keyframes typewriterFade {
  0% { opacity: 0; transform: translateX(-5px); }
  100% { opacity: 1; transform: translateX(0); }
}

.show-welcome {
  animation: welcomePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

/* =====================
   RESPONSIVE â€” ALL BREAKPOINTS
   ===================== */
@media (max-width: 1024px) {
  .grid-3, .grid-4, .mentors-grid, .gallery-grid, .curriculum-grid, .projects-page-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .mv-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-container {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 40px;
  }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-robot-scene { max-width: 440px; }
  .tech-node-icon { width: 38px; height: 38px; border-radius: 10px; }
  .register-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .register-info { text-align: center; }
  .register-benefits { align-items: center; }
  .register-whatsapp { justify-content: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-3, .grid-4, .mentors-grid, .gallery-grid, .curriculum-grid, .projects-page-grid {
    grid-template-columns: 1fr !important;
  }
  .story-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .timeline-steps { flex-direction: column; align-items: center; gap: 0; }
  .timeline-steps .timeline-connector { width: 2px; height: 32px; top: 0; max-width: none; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .register-form .form-row { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); }
  .hero-robot-scene { max-width: 360px; }
  .robot-head { width: 90px; height: 76px; }
  .robot-torso { width: 105px; height: 82px; }
  .robot-shoulder, .robot-arm { display: none; }
  .robot-base { width: 60px; height: 16px; margin-top: -2px; }
  .cta-banner { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-robot-scene { max-width: 280px; }


  .register-form { padding: 28px 20px; }
  .cta-banner { padding: 32px 20px; }
  .gallery-grid { grid-template-columns: 1fr !important; }
}

/* =====================
   UI REFINEMENTS
   ===================== */
.faq-item.active .faq-answer {
  max-height: 2000px !important;
}

.faq-answer-inner {
  word-wrap: break-word;
  white-space: pre-wrap;
}

.footer-social a i {
  font-size: 1.2rem;
}

/* =====================
   PREMIUM FAQ SECTION REDESIGN
   ===================== */
.faq-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.faq-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,217,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
}
.faq-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.3;
}
.faq-glow-1 { top: 10%; right: 10%; width: 400px; height: 400px; background: rgba(0,217,255,0.1); }
.faq-glow-2 { bottom: -10%; left: -10%; width: 300px; height: 300px; background: rgba(124,58,237,0.1); }

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .faq-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.faq-content-left {
  position: sticky;
  top: 120px;
}
.faq-content-left .section-title {
  text-align: left;
  margin-bottom: 24px;
}
.faq-content-left .section-subtitle {
  text-align: left;
  margin-bottom: 40px;
  max-width: 90%;
}
.faq-content-left .section-badge {
  margin: 0 0 20px 0;
  display: inline-block;
}

.faq-stats {
  display: flex;
  gap: 20px;
}
.faq-stat {
  padding: 20px;
  background: rgba(0,217,255,0.05);
  border: 1px solid rgba(0,217,255,0.1);
  border-radius: var(--radius-md);
  text-align: center;
  flex: 1;
}
.faq-stat h4 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}
.faq-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: rgba(10, 15, 30, 0.6) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: var(--radius-lg) !important;
  transition: all 0.4s ease !important;
  overflow: hidden;
}
.faq-item:hover {
  background: rgba(0,217,255,0.05) !important;
  border-color: rgba(0,217,255,0.2) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 0 20px rgba(0,217,255,0.02);
}
.faq-item.active {
  border-color: rgba(0,217,255,0.3) !important;
  box-shadow: 0 10px 40px rgba(0,217,255,0.1) !important;
}

.faq-question {
  padding: 24px 32px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #fff !important;
}
.faq-answer {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 32px 24px 32px !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: rgba(255,255,255,0.8) !important;
}

.faq-toggle {
  width: 36px !important;
  height: 36px !important;
  background: rgba(255,255,255,0.05) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.4s ease !important;
  color: var(--text-muted) !important;
}
.faq-item:hover .faq-toggle {
  background: rgba(0,217,255,0.1) !important;
  color: var(--accent) !important;
}
.faq-item.active .faq-toggle {
  background: var(--accent) !important;
  color: #000 !important;
  transform: rotate(45deg) !important;
  box-shadow: 0 0 15px rgba(0,217,255,0.5) !important;
}
