/* =========================================================
   TinkerSpace.in — Stylesheet
   Theme: Navy + Orange, playful-but-credible STEM brand
   ========================================================= */

:root {
  --navy: #0B1E3F;
  --navy-soft: #12294F;
  --orange: #F5821E;
  --orange-soft: #FFB877;
  --white: #FFFFFF;
  --bg-light: #F8F9FC;
  --bg-card: #FFFFFF;
  --text-dark: #16213E;
  --text-muted: #6B7280;
  --green: #2FAE4E;
  --star: #FFB400;
  --highlight-bg: #FDF3E7;      /* warm cream — Share Your Idea */
  --highlight-blue: #EAF4FC;    /* soft sky blue — Robotics Course */
  --highlight-purple: #F2ECFC;  /* soft lavender — AI Animation Course */
  --highlight-indigo: #EEF1FB;  /* soft periwinkle — Robotics & AI Instructor */

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(11, 30, 63, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 30, 63, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 30, 63, 0.18);

  --nav-height: 76px;
  --container: 1200px;

  --ease: cubic-bezier(.22,.9,.32,1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* =========================
   Preloader
   ========================= */
.preloader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
  opacity: 1;
  visibility: visible;
}
.preloader img { width: 72px; height: 72px; max-width: 60vw; max-height: 60vw; object-fit: contain; }
.preloader { animation: preloaderFailsafe 0s linear 6s forwards; }
@keyframes preloaderFailsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (min-width: 1025px) {
  .preloader img { width: 216px; height: 216px; }
}
.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Baloo 2', 'Poppins', sans-serif;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Used by every inner content section EXCEPT hero and footer, which keep
   the original fixed-width .container above untouched. */
.container-wide {
  width: 80%;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

.section {
  padding: 90px 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); }
.accent { color: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-soft); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-accent { background: var(--orange); color: var(--white); }
.btn-accent:hover { background: #E0740F; box-shadow: 0 12px 28px rgba(245,130,30,.35); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* =========================
   Floating Navbar
   ========================= */
.navbar-wrap {
  position: fixed;
  top: 18px;
  left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  transition: top .3s var(--ease);
}
.navbar {
  width: 100%;
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: #FFFFFF;
  border: 1px solid rgba(11,30,63,0.06);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: padding .25s var(--ease);
}
.navbar-wrap.scrolled .navbar {
  padding: 8px 22px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); font-size: 18px; }
.nav-logo .bulb { color: var(--orange); font-size: 20px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.nav-links a.active { color: var(--orange); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; font-size: 22px; color: var(--navy); }

.mobile-panel {
  display: none;
  position: fixed;
  top: calc(var(--nav-height) + 24px);
  left: 16px; right: 16px;
  z-index: 999;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  flex-direction: column;
  gap: 4px;
}
.mobile-panel.open { display: flex; }
.mobile-panel a {
  padding: 12px 10px;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius-sm);
}
.mobile-panel a:hover { background: var(--bg-light); }

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  padding: calc(var(--nav-height) + 90px) 0 130px;
  color: var(--white);
  background: var(--navy);
  display: flex;
  align-items: center;
  min-height: 100vh;
}
.hero-bg-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  animation: heroZoomIn 4.5s ease-out forwards;
}
.hero-slide.active { opacity: 1; }
.hero-slide:nth-child(1) { background-color: #0B1E3F; }
.hero-slide:nth-child(2) { background-color: #12294F; }
.hero-slide:nth-child(3) { background-color: #7B2FD6; }
.hero-slide:nth-child(4) { background-color: #1E90AE; }
/* Desktop/tablet: every slide starts showing the full image at normal size,
   then slowly zooms in over its display window. Restarted via JS each time
   a slide re-activates, so it always begins from "small and full" again. */
@keyframes heroZoomIn {
  0%   { transform: scale(1); }
  100% { transform: scale(1.15); }
}
/* Mobile-only: starts on the center of the image and pans to its right
   edge. Fixed scale (no zoom animation) — just enough overscan for the
   pan to have somewhere to travel without ever exposing empty space. */
@keyframes heroPanMobile {
  0%   { transform: scale(1.3) translateX(0%); }
  100% { transform: scale(1.3) translateX(-11%); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,14,34,.82) 0%, rgba(6,14,34,.55) 32%, rgba(6,14,34,.15) 58%, rgba(6,14,34,.05) 100%);
}
.hero-grid { display: block; width: 100%; position: relative; z-index: 2; }
.hero-copy { max-width: 620px; }

.hero-caption {
  position: absolute; z-index: 2;
  left: 24px; bottom: 150px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.28);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700; color: var(--white);
  transition: opacity .4s ease;
}
.hero-caption i { color: var(--orange); }
.hero-dots {
  position: absolute; z-index: 2;
  right: 24px; bottom: 160px;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: all .3s ease;
}
.hero-dot.active { width: 22px; background: var(--orange); }

.hero-nav-arrow {
  position: absolute; z-index: 3;
  top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.hero-nav-arrow:hover { background: var(--orange); border-color: var(--orange); }
.hero-nav-arrow:active { transform: translateY(-50%) scale(0.94); }
.hero-nav-arrow.prev { left: 20px; }
.hero-nav-arrow.next { right: 20px; }

.hero-copy h1, .hero-copy p, .hero-caption span {
  transition: opacity .35s ease;
}
.hero-copy.text-fading h1,
.hero-copy.text-fading p { opacity: 0; }
.hero-caption.text-fading span { opacity: 0; }
.hero-copy .eyebrow { color: var(--orange-soft); }
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
}
.hero-copy p {
  color: rgba(255,255,255,.82);
  font-size: 17px;
  max-width: 480px;
  margin: 18px 0 30px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-outline { color: var(--white); border-color: rgba(255,255,255,.6); }
.hero-actions .btn-outline:hover { background: var(--white); color: var(--navy); }

.hero-badges {
  display: flex;
  gap: 26px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.hero-badge i { color: var(--orange); font-size: 16px; }

.float-y { animation: floatY 4.5s ease-in-out infinite; }
.float-y-slow { animation: floatY 6s ease-in-out infinite; }
.float-y-delay { animation: floatY 5s ease-in-out infinite; animation-delay: .8s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.spin-slow { animation: spinSlow 14s linear infinite; transform-origin: center; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* =========================
   Feature Cards
   ========================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 20px;
  background: var(--icon-bg, #EAF1FF);
  color: var(--icon-fg, var(--navy));
}
.feature-card h4 { font-size: 15px; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* =========================
   Courses Carousel
   ========================= */
.courses-section { background: var(--bg-light); }
.carousel-wrap { position: relative; }
.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.course-card {
  scroll-snap-align: start;
  flex: 0 0 260px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.course-thumb {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: var(--white);
}
.course-body { padding: 18px; }
.course-body h4 { font-size: 16px; margin-bottom: 4px; }
.course-age { font-size: 12px; color: var(--orange); font-weight: 700; margin-bottom: 8px; }
.course-body p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; min-height: 36px; }
.course-body a { font-size: 13px; font-weight: 700; color: var(--navy); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); z-index: 5;
}
.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }
.carousel-arrow:hover { background: var(--orange); color: var(--white); }
.courses-cta { text-align: center; margin-top: 30px; }

/* =========================
   Stats Band
   ========================= */
.stats-band {
  background: var(--navy);
  border-radius: var(--radius-lg);
  margin-top: -90px;
  padding: 36px 30px;
  width: 80%;
  margin-inline: auto;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  color: var(--white);
}
.stat { display: flex; align-items: center; gap: 14px; }
.stat i { font-size: 26px; color: var(--orange); }
.stat .num { font-size: 24px; font-weight: 800; display: block; }
.stat .label { font-size: 12.5px; color: rgba(255,255,255,.75); }

/* =========================
   Projects Gallery
   ========================= */
.filter-row {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 34px;
}
.filter-pill {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.filter-pill.active, .filter-pill:hover { background: var(--navy); color: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease);
  cursor: pointer;
}
.gallery-item:hover { transform: scale(1.04); }
.gallery-item.hidden { display: none; }
.gallery-cta { text-align: center; margin-top: 30px; }

/* =========================
   Testimonials
   ========================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-mark { color: var(--orange); font-size: 26px; }
.testimonial-card p { font-size: 13.5px; color: var(--text-dark); margin: 10px 0 18px; min-height: 78px; }
.t-person { display: flex; align-items: center; gap: 10px; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--navy); color:var(--white); font-weight:700; font-size:14px;
}
.t-name { font-size: 13.5px; font-weight: 700; }
.t-role { font-size: 12px; color: var(--text-muted); }
.t-stars { color: var(--star); font-size: 12px; margin-top: 4px; }

/* =========================
   Events
   ========================= */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.event-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease);
}
.event-card:hover { transform: translateY(-4px); }
.event-date {
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  margin-bottom: 14px;
}
.event-date .mon { font-size: 11px; letter-spacing: 1px; color: var(--orange-soft); }
.event-date .day { font-size: 20px; font-weight: 800; line-height: 1; }
.event-card h4 { font-size: 15px; margin-bottom: 6px; }
.event-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; min-height: 40px; }
.event-meta { font-size: 12.5px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.event-meta i { color: var(--orange); width: 14px; }

/* =========================
   CTA Banner
   ========================= */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 60%, #17356B 100%);
  border-radius: var(--radius-lg);
  width: 80%;
  margin-inline: auto;
  padding: 46px 50px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner h3 { color: var(--white); font-size: clamp(20px, 3vw, 28px); }
.cta-banner p { color: rgba(255,255,255,.75); margin: 8px 0 0; font-size: 14px; }
.cta-icon { font-size: 46px; color: var(--orange); }

/* =========================
   Ideation Section
   ========================= */
.ideation-section {
  background: var(--highlight-bg);
  border-radius: var(--radius-lg);
  margin: 60px auto;
  width: 80%;
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
}
.ideation-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}
.idea-form { display: grid; gap: 16px; }
.idea-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--navy); display: block; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #E5DCCB;
  background: var(--white);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.field textarea { resize: vertical; min-height: 90px; }
.field-error { color: #D9483C; font-size: 12px; margin-top: 4px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #D9483C; }
.field.has-error .field-error { display: block; }
.confirm-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.confirm-row input { width: auto; }
.form-submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 12px; color: var(--text-muted); }

.idea-success {
  display: none;
  background: #E9F9EE;
  border: 1.5px solid var(--green);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
}
.idea-success.show { display: block; }
.idea-success i { font-size: 32px; color: var(--green); margin-bottom: 10px; }
.idea-success h4 { margin-bottom: 6px; }
.idea-success p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }

.ideation-art { display: flex; justify-content: center; }

/* =========================
   Footer
   ========================= */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 60px 0 20px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--white); font-size: 17px; margin-bottom: 10px;}
.footer-brand .bulb { color: var(--orange); }
.footer-col h5 { color: var(--white); font-size: 14px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 13.5px; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; margin-bottom: 12px; }
.footer-contact i { color: var(--orange); margin-top: 3px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.social-row a:hover { background: var(--orange); }
.footer-bottom { text-align: center; font-size: 12.5px; padding-top: 20px; color: rgba(255,255,255,.5); }

/* =========================
   WhatsApp Floating Button
   ========================= */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 26px;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), var(--shadow-lg); }
  50% { box-shadow: 0 0 0 10px rgba(37,211,102,0), var(--shadow-lg); }
}

/* =========================
   Course Promo Section
   ========================= */
.promo-section {
  background: var(--highlight-bg);
  border-radius: var(--radius-lg);
  margin: 0 auto 60px;
  width: 80%;
  padding: 60px 50px;
}
.promo-section.theme-blue { background: var(--highlight-blue); }
.promo-section.theme-purple { background: var(--highlight-purple); }
.promo-section.theme-indigo { background: var(--highlight-indigo); }
.promo-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 26px;
}
.promo-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 20px 8px 8px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .3px;
  margin-bottom: 22px;
}
.promo-badge-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.promo-title {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.promo-tagline strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 4px;
}
.promo-tagline span, .promo-tagline {
  color: var(--text-muted);
  font-size: 14px;
}
.promo-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  background: var(--bg-light);
  border: 1.5px dashed #E3D9C8;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  width: fit-content;
}
.price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 18px;
  font-weight: 600;
}
.price-new {
  color: var(--orange);
  font-size: 28px;
  font-weight: 800;
  font-family: 'Baloo 2', sans-serif;
}
.price-tag {
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: .5px;
}

.promo-image-wrap { position: relative; }
.promo-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.promo-challenge-badge {
  position: absolute;
  top: 8%; left: -6%;
  width: 210px; height: 210px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--orange);
  color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 16px;
  box-shadow: var(--shadow-lg);
}
.promo-challenge-badge .line1 { font-size: 12px; color: rgba(255,255,255,.8); }
.promo-challenge-badge .line2 { font-size: 20px; font-weight: 800; color: var(--orange); font-family: 'Baloo 2', sans-serif; margin: 2px 0; }
.promo-challenge-badge .line3 { font-size: 13px; font-weight: 700; }
.promo-stars { color: var(--star); font-size: 11px; margin-top: 8px; }

.promo-info-bar {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}
.promo-info-item { display: flex; align-items: center; gap: 12px; }
.promo-info-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.promo-info-item strong { display: block; font-size: 14px; color: var(--navy); }
.promo-info-item span { font-size: 12.5px; color: var(--text-muted); }

.promo-robots-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 34px 46px;
  position: relative;
}
.promo-robots-panel h3 {
  color: var(--white);
  text-align: center;
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 26px;
}
.promo-robots-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.promo-robot-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 10px 16px;
  text-align: center;
  transition: transform .3s var(--ease);
}
.promo-robot-card:hover { transform: translateY(-5px); }
.promo-robot-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  margin-bottom: 10px;
}
.promo-robot-card span {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.promo-robot-card.more {
  background: transparent;
  border: 2px dashed rgba(255,255,255,.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white);
}
.promo-robot-card.more i { color: var(--orange); font-size: 26px; margin-bottom: 10px; }
.promo-robot-card.more span { color: var(--white); }

.promo-cta {
  display: flex;
  justify-content: center;
  margin-top: -26px;
  position: relative;
  z-index: 2;
}
.promo-cta .btn { padding: 18px 40px; font-size: 15.5px; box-shadow: var(--shadow-lg); }

/* --- Reusable modifiers for a second promo section (e.g. Animation course) --- */
.promo-badges-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.promo-badges-row .promo-badge { margin-bottom: 0; }
.promo-subbadge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1.5px solid #EFE6D8;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.promo-subbadge i { color: var(--orange); }

.promo-float-badge {
  position: absolute;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--white);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}
.promo-float-badge.badge-ai { background: #6B3FD6; top: -6%; left: 14%; }
.promo-float-badge.badge-clap { background: var(--orange); top: -8%; left: 46%; }

.promo-info-bar.cols-5 { grid-template-columns: repeat(5, 1fr); }
.promo-robots-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.promo-robots-panel h3 .dot { color: var(--orange); margin: 0 8px; }

/* =========================
   About Us Section
   ========================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge strong { display: block; font-size: 26px; font-weight: 800; color: var(--orange); font-family: 'Baloo 2', sans-serif; }
.about-badge span { font-size: 11.5px; color: rgba(255,255,255,.85); }
.about-copy h2 { margin: 8px 0 18px; font-size: clamp(26px, 3.4vw, 36px); }
.about-copy p { color: var(--text-muted); font-size: 15px; line-height: 1.75; margin-bottom: 22px; }
.about-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.about-point { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--navy); font-weight: 600; }
.about-point i { color: var(--green); font-size: 16px; }

/* =========================
   Instructor Course Section
   ========================= */
.instructor-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .5px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.instructor-title {
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 16px;
}
.instructor-subbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.instructor-features { display: flex; flex-direction: column; gap: 12px; }
.instructor-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.9);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}
.instructor-feature-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 15px;
}
.instructor-feature-icon.navy { background: var(--navy); }
.instructor-feature-icon.orange { background: var(--orange); }
.instructor-feature span { font-size: 13.5px; color: var(--navy); line-height: 1.4; }

.instructor-lower {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.instructor-skills-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.instructor-skills-title {
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .4px;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 10px;
}
.instructor-skills-title .icon-wrap {
  width: 26px; height: 26px;
  background: var(--white); color: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.instructor-skills-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  padding: 26px 22px;
}
.instructor-skill-item { text-align: center; }
.instructor-skill-icon {
  width: 44px; height: 44px;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}
.instructor-skill-icon.blue { color: #2F5FD6; }
.instructor-skill-icon.orange { color: var(--orange); }
.instructor-skill-item strong { display: block; font-size: 12px; color: var(--navy); margin-bottom: 3px; }
.instructor-skill-item span { font-size: 10.5px; color: var(--text-muted); line-height: 1.3; }

.instructor-price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  text-align: center;
}
.instructor-price-badge {
  background: var(--navy); color: var(--white);
  font-size: 11px; font-weight: 800; letter-spacing: .3px;
  padding: 7px 16px; border-radius: var(--radius-pill);
}
.instructor-price-tag {
  background: var(--orange); color: var(--white);
  font-size: 11px; font-weight: 800;
  padding: 8px 18px; border-radius: var(--radius-pill);
  margin-top: 4px;
}

/* =========================
   Scroll-linked floating image (Animation section)
   ========================= */
.scroll-float-img {
  position: fixed;
  top: 50%;
  right: 0;
  width: min(260px, 22vw);
  transform: translate(120%, -50%);
  opacity: 0;
  z-index: 45;
  pointer-events: none;
  transition: transform .15s linear, opacity .15s linear;
}
.scroll-float-img img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(11,30,63,.25));
}
.scroll-float-img.side-left {
  right: auto;
  left: 0;
  transform: translate(-120%, -50%);
}
@media (max-width: 900px) {
  .scroll-float-img { width: 35vw; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================
   Responsive
   ========================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid, .events-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-art { height: 320px; }
  .promo-robots-grid, .promo-robots-grid.cols-6 { grid-template-columns: repeat(4, 1fr); }
  .instructor-skills-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .ideation-grid { grid-template-columns: 1fr; }
  .ideation-art { order: -1; }
  .cta-banner { flex-direction: column; text-align: center; }
  .promo-hero { grid-template-columns: 1fr; }
  .promo-challenge-badge { top: -8%; left: 4%; width: 170px; height: 170px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { order: 1; }
  .about-image-wrap { order: 2; }
  .stats-band { margin-top: 15px; }
  .promo-info-bar, .promo-info-bar.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .promo-robots-grid, .promo-robots-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .promo-float-badge { width: 50px; height: 50px; font-size: 18px; }
  .promo-float-badge.badge-ai { top: -5%; left: 8%; }
  .promo-float-badge.badge-clap { top: -5%; left: 34%; }
  .instructor-lower { grid-template-columns: 1fr; }
  .instructor-skills-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 576px) {
  /* Full width on mobile — the 80% inset is a desktop/tablet-only treatment */
  .container-wide { width: 100%; padding: 0 20px; }
  .stats-band, .cta-banner, .ideation-section, .promo-section { width: 100%; }
  .stats-band.stats-band { width: 90%; margin-inline: auto; }

  .hero {
    min-height: 90vh;
    padding: calc(var(--nav-height) + 40px) 0 60px;
  }
  .hero-slide {
    animation: heroPanMobile 4.5s ease-in-out forwards;
    background-position: center center;
  }
  .hero-caption, .hero-dots, .hero-nav-arrow { display: none; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .promo-card { padding: 28px 22px; }
  .promo-challenge-badge { position: static; width: 100%; height: auto; border-radius: var(--radius-md); margin-top: 14px; padding: 18px; }
  .promo-info-bar, .promo-info-bar.cols-5 { grid-template-columns: 1fr; padding: 20px; }
  .promo-robots-grid, .promo-robots-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
  .promo-float-badge { position: static; display: inline-flex; margin: 10px 6px 0; }
  .promo-badges-row { justify-content: center; }
  .promo-cta { margin-top: 20px; }
  .promo-cta .btn { width: 100%; justify-content: center; text-align: center; }
  .instructor-skills-grid { grid-template-columns: repeat(2, 1fr); padding: 20px 16px; }
  .instructor-title { font-size: 30px; }
  .testimonial-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .testimonial-grid::-webkit-scrollbar { display: none; }
  .testimonial-grid .testimonial-card {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .idea-form .row { grid-template-columns: 1fr; }
  .ideation-section, .cta-banner, .promo-section { padding: 34px 22px; }
  .section { padding: 60px 0; }
}