/* ==========================================================================
   MetaHooshyar — Design System v3 (Color System + Readability pass)
   A single, coherent color story runs top-to-bottom instead of an abrupt
   dark/white switch: DARK → SOFT-LIGHT → SOFT-BLUE → WHITE → ... → DARK.
   Every text/accent token below is chosen for WCAG-AA-level contrast
   against the background family it is meant to sit on.
   Type: Vazirmatn (display+body, Persian), JetBrains Mono (labels/data)
   NOTE: served via Flask static files — always run through `python app.py`.
   ========================================================================== */

:root{
  /* ---- Brand tokens (source of truth, exact names requested) --------- */
  --brand-navy-950:#080D1C;
  --brand-navy-900:#0B1230;
  --brand-blue:#20BFFF;
  --brand-cyan:#35E6C2;
  --brand-yellow:#FFD43B;
  --brand-purple:#7C5CFC;
  --brand-white:#FFFFFF;
  --brand-light:#F5F8FF;
  --brand-light-blue:#EAF7FF;

  /* ---- Background families (only these four are ever used) ----------- */
  --bg-dark-1:var(--brand-navy-950);
  --bg-dark-2:var(--brand-navy-900);
  --bg-soft-light-1:#F5F8FF;
  --bg-soft-light-2:#EEF6FF;
  --bg-white:#FFFFFF;
  --bg-white-tint:#FAFCFF;
  --bg-soft-blue-1:#EAF7FF;
  --bg-soft-blue-2:#F5FAFF;

  /* ---- Text on DARK backgrounds --------------------------------------- */
  --text-dark-heading:#FFFFFF;
  --text-dark-body:#D9E3F5;
  --text-dark-secondary:#AEBBD3;
  --text-dark-accent:#35E6C2;
  --text-dark-accent-blue:#20BFFF;
  --text-dark-highlight:#FFD43B;

  /* ---- Text on LIGHT backgrounds (soft-light / white / soft-blue) ----- */
  --text-light-heading:#0B1230;
  --text-light-body:#34415C;
  --text-light-secondary:#52627D;
  --text-light-accent:#087EA4;
  --text-light-accent-2:#0877C9;
  --text-light-highlight:#C58B00;

  /* ---- Back-compat aliases (existing rules across the file use these) - */
  --navy-950:var(--bg-dark-1);
  --navy-900:var(--bg-dark-2);
  --navy-800:rgba(255,255,255,0.05);
  --navy-700:rgba(255,255,255,0.10);
  --navy-600:rgba(255,255,255,0.18);

  --teal-400:var(--brand-cyan);
  --teal-300:#8FF3DE;
  --blue-400:var(--brand-blue);
  --amber-400:var(--brand-yellow);
  --purple-400:var(--brand-purple);

  --ink-50:var(--text-dark-heading);
  --ink-300:var(--text-dark-body);
  --ink-400:var(--text-dark-secondary);

  --light-bg:var(--bg-soft-light-1);
  --light-surface:var(--bg-white);
  --light-border:#DCE7F5;
  --light-ink-900:var(--text-light-heading);
  --light-ink-600:var(--text-light-body);
  --light-ink-400:var(--text-light-secondary);

  --font-display:'Vazirmatn', 'Tahoma', sans-serif;
  --font-mono:'JetBrains Mono', monospace;

  --radius-lg:22px;
  --radius-md:14px;
  --wrap:1180px;

  --shadow-soft:0 20px 50px -25px rgba(11,18,48,0.35);
  --shadow-card:0 10px 26px -14px rgba(11,18,48,0.14);

  --ease:cubic-bezier(.22,.8,.28,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:linear-gradient(180deg, var(--bg-dark-1), var(--bg-dark-2));
  color:var(--text-dark-heading);
  font-family:var(--font-display);
  font-feature-settings:"ss01" 1;
  line-height:1.8;


  -webkit-font-smoothing:antialiased;
}

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

h1,h2,h3{ margin:0; font-weight:800; letter-spacing:-0.01em; }
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
svg{ display:block; }

/* ---- Accessible focus states (never rely on color alone) ---------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.filter-chip:focus-visible,
.photo-tile:focus-visible,
[tabindex]:focus-visible{
  outline:2px solid var(--brand-blue);
  outline-offset:3px;
  border-radius:6px;
}

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 28px; }

/* faint PCB dot-grid texture across the whole page */
.pcb-noise{
  position:fixed; inset:0; pointer-events:none; z-index:0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(143,160,214,0.10) 1px, transparent 1px);
  background-size:28px 28px;
  mix-blend-mode:screen;
  opacity:0.5;
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                  */
/* ---------------------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; padding:14px 26px; border-radius:100px;
  font-family:var(--font-display); font-weight:700; font-size:15px;
  border:1px solid transparent; cursor:pointer;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.btn svg{ width:18px; height:18px; }
.btn-primary{
  background:linear-gradient(135deg, var(--brand-blue), #0C8FDB);
  color:#06101F;
  box-shadow:0 0 0 0 rgba(32,191,255,.5);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 30px -8px rgba(32,191,255,.55); filter:brightness(1.05); }
.btn-ghost{
  border-color:var(--brand-cyan);
  color:var(--text-dark-heading);
  background:rgba(255,255,255,0.03);
}
.btn-ghost:hover{ border-color:var(--brand-cyan); color:var(--teal-300); background:rgba(53,230,194,0.08); transform:translateY(-2px); }
.btn-instagram{
  border-color:rgba(255,212,59,.4);
  color:var(--brand-yellow);
  background:rgba(255,212,59,0.08);
}
.btn-instagram:hover{ border-color:var(--brand-yellow); transform:translateY(-2px); background:rgba(255,212,59,0.15); }
.btn-sm{ padding:10px 20px; font-size:14px; }

/* ---------------------------------------------------------------------- */
/* Header                                                                   */
/* ---------------------------------------------------------------------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(8,13,28,0.72);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,0.06);
  transition:background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled{
  background:rgba(8,13,28,0.92);
  box-shadow:0 10px 30px -18px rgba(0,0,0,0.5);
  border-bottom-color:rgba(255,255,255,0.1);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:16px; padding-bottom:16px;
  gap:16px;
  transition:padding .25s var(--ease);
}
.site-header.is-scrolled .header-inner{ padding-top:11px; padding-bottom:11px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{ color:var(--teal-400); width:48px; height:48px; display:grid; place-items:center; flex:none; }
.brand-mark svg{ width:100%; height:100%; }
.brand-mark img{ width:100%; height:100%; object-fit:contain; border-radius:8px; display:block; }
.brand-text{ font-weight:800; font-size:23px; color:var(--ink-50); white-space:nowrap; line-height:1.2; }
.brand-text span{ color:var(--teal-400); }

.main-nav{ display:flex; gap:30px; }
.main-nav a{
  font-size:15px; color:var(--ink-300); position:relative; padding:6px 2px;
  transition:color .2s var(--ease);
}
.main-nav a::after{
  content:""; position:absolute; right:0; bottom:0; width:0; height:1px;
  background:var(--teal-400); transition:width .25s var(--ease);
}
.main-nav a:hover{ color:var(--ink-50); }
.main-nav a:hover::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:10px; flex:none; }

.icon-btn{
  width:38px; height:38px; border-radius:50%; flex:none;
  display:grid; place-items:center;
  border:1px solid var(--navy-600); color:var(--ink-300);
  background:rgba(255,255,255,0.02);
  transition:border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.icon-btn svg{ width:17px; height:17px; }
.icon-btn:hover{ border-color:var(--teal-400); color:var(--teal-300); transform:translateY(-2px); }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:6px; flex:none; }
.nav-toggle span{ width:22px; height:2px; background:var(--ink-50); border-radius:2px; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                     */
/* ---------------------------------------------------------------------- */
.hero{
  position:relative; overflow:hidden;
  padding:96px 0 70px;
  isolation:isolate;
}
.hero-circuit{
  position:absolute; inset:0; z-index:-1;
  width:100%; height:100%;
  color:var(--teal-400);
  opacity:0.55;
}
.hero-inner{ position:relative; text-align:center; display:flex; flex-direction:column; align-items:center; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:.04em;
  color:var(--teal-300);
  background:rgba(47,232,200,0.08);
  border:1px solid rgba(47,232,200,0.25);
  padding:7px 16px; border-radius:100px;
  margin:0 0 26px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--amber-400); box-shadow:0 0 8px 1px rgba(255,180,60,.8); flex:none; }
.eyebrow-light{ color:var(--ink-300); background:rgba(255,255,255,0.04); border-color:var(--navy-600); }

.hero-title{
  font-size:clamp(38px, 6vw, 68px);
  line-height:1.18;
  max-width:16ch;
  color:var(--ink-50);
}
.hero-title .highlight{ color:var(--teal-400); }

.hero-sub{
  margin-top:26px; max-width:620px;
  font-size:18px; color:var(--ink-300);
}

.hero-actions{ display:flex; gap:16px; margin-top:38px; flex-wrap:wrap; justify-content:center; }

.stat-row{
  display:flex; gap:14px; margin-top:64px; flex-wrap:wrap; justify-content:center;
}
.stat-chip{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  padding:16px 26px; border-radius:var(--radius-md);
  background:rgba(255,255,255,0.03);
  border:1px solid var(--navy-700);
  min-width:150px;
}
.stat-value{ font-family:var(--font-mono); font-size:26px; font-weight:600; color:var(--teal-400); }
.stat-label{ font-size:13px; color:var(--ink-400); }

/* ---------------------------------------------------------------------- */
/* Sections, generic                                                        */
/* ---------------------------------------------------------------------- */
.section{ padding:110px 0; position:relative; }
.section-alt{ background:linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 12%, rgba(255,255,255,0.015) 88%, transparent); }

/* ==========================================================================
   Background tiers — exactly four families, per the color-system spec.
   Each tier class only sets the background; text/component contrast is
   handled once via the shared `.on-light` marker so every light tier
   (soft-light / white / soft-blue) reads identically and correctly.
   ========================================================================== */
.section-dark{ background:linear-gradient(180deg, var(--bg-dark-1), var(--bg-dark-2)); }
.section-light{ background:linear-gradient(180deg, var(--bg-soft-light-1), var(--bg-soft-light-2)); }
.section-white{ background:linear-gradient(180deg, var(--bg-white), var(--bg-white-tint)); }
.section-light-blue{ background:linear-gradient(180deg, var(--bg-soft-blue-1), var(--bg-soft-blue-2)); }

/* ---- Soft seams between tiers (no hard dark/white cut) ------------------ */
.section-fade-from-dark{ position:relative; }
.section-fade-from-dark::before{
  content:""; position:absolute; top:0; inset-inline:0; height:110px; z-index:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(8,13,28,0.28), transparent);
}
.section-fade-to-dark{ position:relative; }
.section-fade-to-dark::after{
  content:""; position:absolute; bottom:0; inset-inline:0; height:110px; z-index:0; pointer-events:none;
  background:linear-gradient(0deg, rgba(8,13,28,0.28), transparent);
}
.section-fade-from-dark .wrap, .section-fade-to-dark .wrap{ position:relative; z-index:1; }

/* ==========================================================================
   .on-light — shared contrast/component overrides for ANY light tier
   (soft-light, white, soft-blue all use this one ruleset).
   ========================================================================== */
.on-light{ color:var(--text-light-heading); }
.on-light .section-desc,
.on-light .quote-block p,
.on-light .why-card p,
.on-light .term-chip p,
.on-light .ic-card p,
.on-light .growth-step p{ color:var(--text-light-body); }
.on-light .eyebrow-light{ color:var(--text-light-secondary); background:rgba(11,18,48,0.05); border-color:var(--light-border); }
.on-light .eyebrow{ color:var(--text-light-accent); background:rgba(8,126,164,0.08); border-color:rgba(8,126,164,0.22); }
.on-light h1, .on-light h2, .on-light h3{ color:var(--text-light-heading); }
.on-light .why-card,
.on-light .term-chip,
.on-light .ic-card,
.on-light .growth-step-num,
.on-light .session-card,
.on-light .start-card,
.on-light .gallery-card,
.on-light .video-card{
  background:var(--bg-white);
  border-color:var(--light-border);
  box-shadow:var(--shadow-card);
}
.on-light .stat-chip{ background:var(--bg-white); border-color:var(--light-border); }
.on-light .stat-label{ color:var(--text-light-secondary); }
.on-light .stat-value{ color:var(--text-light-accent); }
.on-light .term-num{ color:var(--text-light-highlight); }
.on-light .filter-chip{ background:var(--bg-white); border-color:var(--light-border); color:var(--text-light-body); }
.on-light .filter-chip:hover{ color:var(--text-light-heading); }
.on-light .filter-chip.is-active{ background:rgba(8,126,164,0.1); border-color:var(--text-light-accent); color:var(--text-light-accent); }
.on-light .project-tag{ background:var(--bg-white); border-color:var(--light-border); color:var(--text-light-accent); }
.on-light .skill-badge{ background:#FFF6DC; border-color:#F5DE96; color:#6B4E00; }
.on-light .flow-chip{ background:var(--bg-white); border-color:var(--light-border); color:var(--text-light-heading); }
.on-light .faq-item{ background:var(--bg-white); border-color:var(--light-border); }
.on-light .faq-question{ color:var(--text-light-heading); }
.on-light .faq-answer{ color:var(--text-light-body); }
.on-light .faq-question .faq-icon{ border-color:var(--light-border); color:var(--text-light-accent); }
.on-light .track-line{ color:var(--light-border); }
.on-light .term-node{ background:var(--bg-white); }
.on-light .growth-step-num{ color:var(--text-light-accent); background:var(--bg-white); }
.on-light .why-num{ color:var(--text-light-accent); }
.on-light .term-chip:hover,
.on-light .ic-card:hover,
.on-light .why-card:hover{ border-color:var(--brand-blue); box-shadow:0 20px 40px -20px rgba(32,191,255,.28); }
.on-light .gallery-meta{ color:var(--text-light-highlight); }
.on-light .ic-tag{ color:#06101F; }
.on-light .btn-ghost{ border-color:var(--light-border); color:var(--text-light-heading); background:var(--bg-white); }
.on-light .btn-ghost:hover{ border-color:var(--text-light-accent); color:var(--text-light-accent); }
.on-light .icon-btn{ border-color:var(--light-border); color:var(--text-light-secondary); background:var(--bg-white); }
.on-light .icon-btn:hover{ border-color:var(--text-light-accent); color:var(--text-light-accent); }
.on-light .testimonial-quote{ color:var(--text-light-body); }
.on-light .testimonial-person strong{ color:var(--text-light-heading); }
.on-light .testimonial-person span{ color:var(--text-light-secondary); }
.on-light .parent-skill-chip{ background:#FFF6DC; border-color:#F5DE96; color:#6B4E00; }
.on-light .start-closing{ background:rgba(8,126,164,0.07); border-color:rgba(8,126,164,0.22); color:var(--text-light-body); }

/* ---- Testimonials (premium quote cards, horizontal snap carousel) ------- */
.testimonial-row{
  display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px;
  -webkit-overflow-scrolling:touch;
}
.testimonial-row::-webkit-scrollbar{ height:6px; }
.testimonial-row::-webkit-scrollbar-thumb{ background:#D6E8FB; border-radius:100px; }
.testimonial-card{
  flex:0 0 min(360px, 82vw); scroll-snap-align:start;
  background:var(--light-surface); border:1px solid #D6E8FB; border-radius:var(--radius-lg);
  padding:26px 24px; box-shadow:var(--shadow-card);
  display:flex; flex-direction:column;
}
.testimonial-stars{ font-size:14px; letter-spacing:2px; }
.testimonial-quote{ margin-top:14px; color:var(--light-ink-600); font-size:15.5px; line-height:1.95; flex:1; }
.testimonial-person{ display:flex; align-items:center; gap:12px; margin-top:20px; padding-top:18px; border-top:1px solid #EAF1FC; }
.testimonial-avatar{
  width:42px; height:42px; min-width:42px; min-height:42px;
  aspect-ratio:1 / 1; box-sizing:border-box;
  border-radius:50%; flex:none; overflow:hidden;
  background:linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color:#04211c; font-weight:800; font-size:18px;
  line-height:42px; text-align:center;
  display:block; padding:0; margin:0;
}
.testimonial-person strong{ display:block; font-size:14px; color:var(--light-ink-900); }
.testimonial-person span{ display:block; font-size:12px; color:var(--light-ink-400); margin-top:2px; }

@media (max-width:768px){
  .brand-mark{ width:42px; height:42px; }
  .brand-text{ font-size:20px; }
  .brand{ gap:9px; }
}

@media (max-width:600px){
  .testimonial-card{ flex-basis:86vw; }
  .brand-mark{ width:40px; height:40px; }
  .brand-text{ font-size:19px; }
}

/* ---- Parent skills (yellow accent per spec) ------------------------------ */
.parent-skill-grid{
  display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:32px;
}
.parent-skill-chip{
  display:inline-flex; align-items:center; gap:9px;
  background:#FFF6DC; border:1px solid #FFE49A; color:#7A5B00;
  padding:11px 20px; border-radius:100px; font-size:14px; font-weight:600;
}
.parent-skill-chip span{ font-size:17px; }

.section-head{ max-width:640px; margin:0 auto 64px; text-align:center; }
.section-head h2{ margin-top:18px; font-size:clamp(28px, 3.4vw, 40px); color:var(--ink-50); }
.section-desc{ margin-top:16px; color:var(--ink-300); font-size:16.5px; }

/* ---------------------------------------------------------------------- */
/* Robotics term track — signature element                                 */
/* ---------------------------------------------------------------------- */
.track{ position:relative; }
.track-line{
  position:absolute; top:0; bottom:0; right:calc(50% - .5px); width:1px; height:100%;
  overflow:visible; color:var(--navy-600);
}
#trackPath{
  fill:none; stroke:currentColor; stroke-width:2;
}
.track-line .glow-path{
  fill:none; stroke:var(--brand-blue); stroke-width:2;
  stroke-dasharray:60 900; stroke-dashoffset:0;
  filter:drop-shadow(0 0 6px rgba(32,191,255,.9));
}

.track-items{ display:flex; flex-direction:column; gap:0; }

.term-card{
  position:relative;
  width:calc(50% - 34px);
  padding:26px 0;
}
.term-card:nth-child(odd){ margin-inline-start:0; text-align:left; }
.term-card:nth-child(even){ margin-inline-start:calc(50% + 34px); text-align:right; }

.term-node{
  position:absolute; top:38px;
  width:14px; height:14px; border-radius:50%;
  background:var(--navy-800); border:2px solid var(--brand-blue);
  box-shadow:0 0 0 6px rgba(32,191,255,.12);
}
.term-card:nth-child(odd) .term-node{ inset-inline-end:-41px; }
.term-card:nth-child(even) .term-node{ inset-inline-start:-41px; }

.term-chip{
  display:inline-block; max-width:420px;
  background:var(--navy-800);
  border:1px solid var(--navy-700);
  border-radius:var(--radius-md);
  padding:22px 24px;
  transition:border-color .25s var(--ease), transform .25s var(--ease);
}
.term-chip:hover{ border-color:var(--brand-blue); transform:translateY(-3px); }
.term-num{
  font-family:var(--font-mono); font-size:12px; color:var(--amber-400);
  letter-spacing:.06em;
}
.term-chip h3{ margin-top:10px; font-size:19px; color:var(--ink-50); }
.term-chip p{ margin-top:8px; font-size:15.5px; color:var(--ink-400); line-height:1.85; }

/* ---------------------------------------------------------------------- */
/* Programming / AI — IC chip cards                                        */
/* ---------------------------------------------------------------------- */
.chip-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:22px 22px;
}
.ic-card{
  position:relative;
  background:var(--navy-800);
  border:1px solid var(--navy-700);
  border-radius:16px;
  padding:30px 26px 26px;
  transition:transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.ic-card:hover{
  transform:translateY(-4px);
  border-color:var(--teal-400);
  box-shadow:0 20px 40px -20px rgba(47,232,200,.35);
}
.ic-pins{ position:absolute; display:flex; gap:16px; left:26px; }
.ic-pins span{ width:9px; height:5px; background:var(--navy-600); border-radius:1px; }
.ic-pins-top{ top:-5px; }
.ic-pins-bottom{ bottom:-5px; }

.ic-tag{
  display:inline-block; font-family:var(--font-mono); font-size:11px;
  color:var(--navy-950); background:var(--teal-400);
  padding:3px 10px; border-radius:100px; font-weight:600; letter-spacing:.03em;
}
.ic-icon{
  width:44px; height:44px; margin-top:20px;
  border-radius:10px; background:rgba(255,180,60,0.1);
  border:1px solid rgba(255,180,60,0.28);
  position:relative;
}
.ic-icon::before{
  content:""; position:absolute; inset:12px;
  background:var(--amber-400); opacity:.85;
  mask:var(--icon-svg) center / contain no-repeat;
  -webkit-mask:var(--icon-svg) center / contain no-repeat;
}
.ic-card h3{ margin-top:18px; font-size:18px; color:var(--ink-50); }
.ic-card p{ margin-top:8px; font-size:15.5px; color:var(--ink-400); line-height:1.85; }

/* category accent variants for course cards */
.ic-card-ai .ic-tag{ background:var(--brand-purple); color:#fff; }
.ic-card-ai .ic-icon{ background:rgba(124,92,252,0.14); border-color:rgba(124,92,252,0.35); }
.ic-card-ai .ic-icon::before{ background:var(--brand-purple); }
.ic-card-ai:hover{ border-color:var(--brand-purple); box-shadow:0 20px 40px -20px rgba(124,92,252,.4); }
.ic-card-basic .ic-tag{ background:var(--brand-yellow); color:#3D2E00; }
.ic-card-basic .ic-icon{ background:rgba(255,212,59,0.14); border-color:rgba(255,212,59,0.35); }
.ic-card-basic .ic-icon::before{ background:#C9821A; }
.ic-card-basic:hover{ border-color:var(--brand-yellow); box-shadow:0 20px 40px -20px rgba(255,212,59,.4); }

/* ---------------------------------------------------------------------- */
/* Why us                                                                   */
/* ---------------------------------------------------------------------- */
.why-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:20px;
}
.why-card{
  padding:26px 22px; border-radius:var(--radius-md);
  border:1px solid var(--navy-700);
  background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition:transform .25s var(--ease), border-color .25s var(--ease);
}
.why-card:hover{ transform:translateY(-4px); }
.why-icon{ font-size:26px; line-height:1; }
.why-num{ font-family:var(--font-mono); color:var(--teal-400); font-size:14px; margin-top:10px; }
.why-card h3{ margin-top:10px; font-size:17px; color:var(--ink-50); }
.why-card p{ margin-top:8px; font-size:15px; color:var(--ink-400); line-height:1.85; }

/* ---------------------------------------------------------------------- */
/* CTA / contact                                                            */
/* ---------------------------------------------------------------------- */
.cta-section{ padding-bottom:130px; }
.cta-wrap{
  position:relative; text-align:center; max-width:640px;
  padding:64px 40px; border-radius:28px;
  background:linear-gradient(160deg, rgba(47,232,200,0.08), rgba(255,180,60,0.05));
  border:1px solid var(--navy-700);
  overflow:hidden;
}
.cta-circuit{ position:absolute; inset:0; color:var(--teal-400); opacity:.18; }
.cta-circuit svg{ width:100%; height:100%; }
.cta-wrap h2{ position:relative; font-size:clamp(24px,3vw,32px); color:var(--ink-50); }
.cta-wrap p{ position:relative; margin-top:14px; color:var(--ink-300); }
.cta-actions{ position:relative; display:flex; gap:14px; justify-content:center; margin-top:30px; flex-wrap:wrap; }
.cta-contact-line{
  position:relative; margin-top:26px; display:flex; gap:22px; justify-content:center; flex-wrap:wrap;
  font-family:var(--font-mono); font-size:14px; color:var(--ink-300);
}
.cta-contact-line a{ display:inline-flex; align-items:center; gap:7px; transition:color .2s var(--ease); }
.cta-contact-line a:hover{ color:var(--teal-300); }
.cta-contact-line svg{ width:16px; height:16px; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                    */
/* ---------------------------------------------------------------------- */
.site-footer{ border-top:1px solid var(--navy-700); padding:44px 0 36px; }
.footer-inner{ display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; }
.footer-brand .brand-mark{ width:26px; height:26px; }
.footer-note{ color:var(--ink-400); font-size:14px; }
.footer-social{ display:flex; align-items:center; gap:12px; }
.footer-copy{ color:var(--ink-400); font-size:12.5px; font-family:var(--font-mono); opacity:.7; }

/* ---------------------------------------------------------------------- */
/* Reveal-on-scroll                                                         */
/* ---------------------------------------------------------------------- */
.term-card, .ic-card, .why-card{
  opacity:0; transform:translateY(18px);
  transition:opacity .6s var(--ease), transform .6s var(--ease);
}
.term-card.is-visible, .ic-card.is-visible, .why-card.is-visible{
  opacity:1; transform:translateY(0);
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                               */
/* ---------------------------------------------------------------------- */
@media (max-width: 980px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header-cta-text{ display:none; }
  .chip-grid{ grid-template-columns:repeat(2, 1fr); }
  .why-grid{ grid-template-columns:repeat(2, 1fr); }
}

@media (max-width: 760px){
  .hero{ padding:76px 0 50px; }
  .track-line{ display:none; }
  .term-card{ width:100%; margin-inline-start:0 !important; text-align:right !important; padding-inline-start:34px; }
  .term-node{ inset-inline-start:0 !important; inset-inline-end:auto !important; }
  .chip-grid{ grid-template-columns:1fr; }
  .why-grid{ grid-template-columns:1fr; }
  .cta-contact-line{ flex-direction:column; gap:12px; }
}

/* ==========================================================================
   بخش‌های محتوایی جدید صفحه اصلی + گالری پروژه‌ها + FAQ
   (هماهنگ با همان سیستم رنگ/تایپوگرافی/شعاع‌گوشه‌ی بالا)
   ========================================================================== */

/* --- بلوک نقل‌قول/بیانیه (ذهنیت، والدین، هوش مصنوعی) --- */
.quote-block{
  max-width:760px; margin:0 auto; text-align:center;
}
.quote-block p{ color:var(--ink-300); font-size:17px; line-height:1.9; }
.quote-block p + p{ margin-top:14px; }
.quote-block .quote-highlight{
  margin-top:24px; display:inline-block;
  font-family:var(--font-mono); font-size:14px; color:var(--teal-300);
  background:rgba(47,232,200,0.08); border:1px solid rgba(47,232,200,0.25);
  padding:10px 22px; border-radius:100px;
}

/* --- ردیف چیپ‌های فلو (مراحل به‌هم‌متصل با فلش) --- */
.flow-row{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:10px; margin-top:34px;
}
.flow-chip{
  font-family:var(--font-mono); font-size:13.5px; color:var(--ink-50);
  background:var(--navy-800); border:1px solid var(--navy-700);
  padding:10px 18px; border-radius:100px; white-space:nowrap;
  transition:border-color .25s var(--ease), transform .25s var(--ease);
}
.flow-chip:hover{ border-color:var(--teal-400); transform:translateY(-2px); }
.flow-arrow{ color:var(--amber-400); font-size:16px; flex:none; }

/* --- مسیر رشد: ۵ مرحله --- */
.growth-track{
  display:grid; grid-template-columns:repeat(5, 1fr); gap:16px; margin-top:20px;
  position:relative;
}
.growth-track::before{
  content:""; position:absolute; top:26px; right:10%; left:10%; height:1px;
  background:linear-gradient(90deg, transparent, var(--navy-600) 15%, var(--navy-600) 85%, transparent);
  z-index:0;
}
.growth-step{ position:relative; z-index:1; text-align:center; }
.growth-step-num{
  width:56px; height:56px; margin:0 auto; border-radius:50%;
  background:var(--navy-800); border:2px solid var(--brand-blue);
  display:flex; align-items:center; justify-content:center;
  font-size:24px; color:var(--teal-300); font-weight:600;
  box-shadow:0 0 0 6px var(--navy-950);
}
.growth-step h3{ margin-top:16px; font-size:16px; color:var(--ink-50); }
.growth-step p{ margin-top:8px; font-size:14.5px; color:var(--ink-400); line-height:1.85; }
.growth-closing{
  text-align:center; margin-top:40px; font-size:19px; font-weight:700; color:var(--teal-300);
}

/* --- هر جلسه یک تجربه جدید --- */
.session-grid{
  display:grid; grid-template-columns:repeat(5, 1fr); gap:14px; margin-top:20px;
}
.session-card{
  text-align:center; padding:22px 12px; border-radius:var(--radius-md);
  background:var(--navy-800); border:1px solid var(--navy-700);
  transition:border-color .25s var(--ease), transform .25s var(--ease);
}
.session-card:hover{ border-color:var(--amber-400); transform:translateY(-3px); }
.session-emoji{ font-size:28px; line-height:1; }
.session-card p{ margin-top:10px; font-size:15px; color:var(--ink-300); line-height:1.8; }

/* --- مهارت‌های فراتر از کلاس: بج‌های پیل --- */
.skills-row{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:26px; }
.skill-badge{
  font-size:14.5px; color:var(--ink-50); background:rgba(255,180,60,0.08);
  border:1px solid rgba(255,180,60,0.28); padding:11px 22px; border-radius:100px;
}

/* --- پروژه‌هایی که می‌سازیم: تگ‌های پروژه --- */
.tag-grid{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:26px; }
.project-tag{
  font-family:var(--font-mono); font-size:13.5px; color:var(--teal-300);
  background:var(--navy-800); border:1px solid var(--navy-700);
  padding:10px 18px; border-radius:10px;
}
.tag-grid-closing{
  text-align:center; margin-top:30px; color:var(--ink-300); font-size:15.5px;
}

/* --- از کجا شروع کنیم: کارت‌های شرط/پیشنهاد --- */
.start-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:16px; margin-top:26px;
}
.start-card{
  padding:20px 22px; border-radius:var(--radius-md);
  background:var(--navy-800); border:1px solid var(--navy-700);
}
.start-card .start-condition{ font-size:13.5px; color:var(--ink-400); }
.start-card .start-answer{
  margin-top:8px; font-size:17px; font-weight:700; color:var(--teal-300);
}
.start-closing{
  text-align:center; margin-top:36px; padding:22px; border-radius:var(--radius-md);
  background:rgba(47,232,200,0.06); border:1px solid rgba(47,232,200,0.2);
  color:var(--ink-300); font-size:15px;
}

/* --- گالری پروژه‌های هنرجویان --- */
.gallery-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:22px;
}
.gallery-card{
  background:var(--navy-800); border:1px solid var(--navy-700); border-radius:16px;
  overflow:hidden; transition:transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  position:relative;
}
.gallery-card:hover{ transform:translateY(-6px); border-color:var(--brand-blue); box-shadow:0 24px 50px -20px rgba(32,191,255,.35); }
.gallery-image{
  width:100%; aspect-ratio:4/3; object-fit:cover; display:block;
  background:var(--navy-700); transition:transform .4s var(--ease);
}
.gallery-card:hover .gallery-image{ transform:scale(1.06); }
.gallery-image-placeholder{
  width:100%; aspect-ratio:4/3; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--navy-700), var(--navy-800));
  color:var(--navy-600);
}
.gallery-image-placeholder svg{ width:44px; height:44px; }
.gallery-body{ padding:20px 22px; }
.gallery-meta{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  font-family:var(--font-mono); font-size:12px; color:var(--amber-400); margin-bottom:8px;
}
.gallery-body h3{ font-size:17px; color:var(--ink-50); }
.gallery-body p{ margin-top:8px; font-size:15px; color:var(--ink-400); line-height:1.85; }
.gallery-student{
  margin-top:14px; padding-top:14px; border-top:1px solid var(--navy-700);
  font-size:13px; color:var(--ink-300);
}

/* --- سؤالات متداول: Accordion با details/summary --- */
.faq-list{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item{
  background:var(--navy-800); border:1px solid var(--navy-700); border-radius:var(--radius-md);
  overflow:hidden; transition:border-color .25s var(--ease);
}
.faq-item.is-open{ border-color:var(--brand-blue); }
.faq-question{
  width:100%; cursor:pointer; padding:20px 24px; background:none; border:0; font-family:var(--font-display);
  display:flex; align-items:center; justify-content:space-between; gap:16px; text-align:right;
  font-size:16px; font-weight:700; color:var(--ink-50);
}
.faq-question .faq-icon{
  flex:none; width:24px; height:24px; border-radius:50%;
  border:1px solid var(--navy-600); display:flex; align-items:center; justify-content:center;
  color:var(--teal-400); font-size:15px; transition:transform .3s var(--ease), border-color .25s var(--ease);
}
.faq-item.is-open .faq-icon{ transform:rotate(45deg); border-color:var(--brand-blue); }
.faq-answer-wrap{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-answer{ padding:0 24px 20px; color:var(--ink-400); font-size:15.5px; line-height:1.9; }

/* --- عنوان‌بندی مشترک بخش‌های جدید (استفاده از section-head موجود) --- */
.section-tight{ padding-top:70px; padding-bottom:70px; }

@media (max-width: 980px){
  .growth-track{ grid-template-columns:1fr; gap:24px; }
  .growth-track::before{ display:none; }
  .session-grid{ grid-template-columns:repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns:repeat(2, 1fr); }
}

@media (max-width: 760px){
  .session-grid{ grid-template-columns:1fr 1fr; }
  .gallery-grid{ grid-template-columns:1fr; }
  .flow-row{ flex-direction:column; align-items:stretch; }
  .flow-arrow{ transform:rotate(90deg); text-align:center; }
  .faq-question{ padding:16px 18px; font-size:15px; }
  .faq-answer{ padding:0 18px 16px; }
}

/* ==========================================================================
   گالری تصاویر (فیلتر + لایت‌باکس) و ویدئوها
   ========================================================================== */

.filter-row{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:28px; }
.filter-chip{
  font-family:var(--font-display); font-size:13.5px; color:var(--ink-300);
  background:var(--navy-800); border:1px solid var(--navy-700); border-radius:100px;
  padding:9px 18px; cursor:pointer; transition:all .2s var(--ease);
}
.filter-chip:hover{ color:var(--ink-50); border-color:var(--navy-600); }
.filter-chip.is-active{ background:rgba(53,230,194,0.12); border-color:var(--teal-400); color:var(--teal-300); font-weight:700; }

.photo-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:14px;
}
.photo-tile{
  position:relative; aspect-ratio:1/1; border-radius:12px; overflow:hidden;
  border:1px solid var(--navy-700); background:var(--navy-800); padding:0; cursor:pointer;
  transition:transform .25s var(--ease), border-color .25s var(--ease);
}
.photo-tile:hover{ transform:scale(1.02); border-color:var(--teal-400); }
.photo-tile img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo-tile.is-hidden{ display:none; }

.lightbox{
  position:fixed; inset:0; z-index:200; background:rgba(5,8,17,0.94);
  display:none; align-items:center; justify-content:center; flex-direction:column; gap:16px;
  padding:32px;
}
.lightbox.is-open{ display:flex; }
.lightbox img{ max-width:min(90vw, 900px); max-height:78vh; border-radius:12px; object-fit:contain; }
.lightbox p{ color:var(--ink-300); font-size:14px; text-align:center; }
.lightbox-close{
  position:absolute; top:22px; left:22px; width:42px; height:42px; border-radius:50%;
  background:var(--navy-800); border:1px solid var(--navy-700); color:var(--ink-50);
  font-size:18px; cursor:pointer;
}
.lightbox-close:hover{ border-color:var(--teal-400); color:var(--teal-300); }

.video-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; }
.video-card{
  background:var(--navy-800); border:1px solid var(--navy-700); border-radius:16px; overflow:hidden;
}
.video-embed-wrap{ position:relative; width:100%; aspect-ratio:16/9; background:var(--navy-900); }
.video-embed-wrap iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-thumb-link{ position:relative; display:block; aspect-ratio:16/9; background:var(--navy-900); }
.video-thumb-link img{ width:100%; height:100%; object-fit:cover; display:block; }
.video-thumb-placeholder{
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  color:var(--navy-600); font-size:32px;
}
.video-play-badge{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(8,13,28,0.35); color:#fff; font-weight:700; font-size:14px; opacity:0;
  transition:opacity .2s var(--ease);
}
.video-thumb-link:hover .video-play-badge{ opacity:1; }

@media (max-width: 980px){
  .photo-grid{ grid-template-columns:repeat(3, 1fr); }
  .video-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 760px){
  .photo-grid{ grid-template-columns:repeat(2, 1fr); }
  .video-grid{ grid-template-columns:1fr; }
}

/* ==========================================================================
   ویجت چت — دستیار هوشمند متاهوشیار
   ========================================================================== */
.chat-toggle{
  position:fixed; inset-inline-end:24px; bottom:24px; z-index:150;
  width:60px; height:60px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(135deg, var(--teal-400), var(--blue-400));
  color:#04211c; font-size:26px; display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 30px -8px rgba(53,230,194,0.55);
  transition:transform .25s var(--ease);
}
.chat-toggle:hover{ transform:scale(1.06); }
.chat-toggle .chat-toggle-close-icon{ display:none; }
.chat-toggle.is-open .chat-toggle-chat-icon{ display:none; }
.chat-toggle.is-open .chat-toggle-close-icon{ display:block; }

.chat-panel{
  position:fixed; inset-inline-end:24px; bottom:96px; z-index:150;
  width:min(360px, calc(100vw - 32px)); height:min(500px, calc(100vh - 160px));
  background:var(--navy-900); border:1px solid var(--navy-700); border-radius:18px;
  display:none; flex-direction:column; overflow:hidden;
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.6);
}
.chat-panel.is-open{ display:flex; }
.chat-header{
  display:flex; align-items:center; gap:10px; padding:16px 18px;
  border-bottom:1px solid var(--navy-700); background:var(--navy-800); flex:none;
}
.chat-header .chat-avatar{ font-size:20px; }
.chat-header strong{ font-size:14.5px; color:var(--ink-50); display:block; }
.chat-header span{ font-size:12px; color:var(--ink-400); }

.chat-body{ flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px; }
.chat-msg{ max-width:82%; padding:10px 14px; border-radius:14px; font-size:13.5px; line-height:1.7; }
.chat-msg-assistant{ align-self:flex-start; background:var(--navy-800); color:var(--ink-50); border-bottom-right-radius:4px; }
.chat-msg-user{ align-self:flex-end; background:var(--teal-400); color:#04211c; border-bottom-left-radius:4px; font-weight:600; }
.chat-msg-error{ align-self:center; color:var(--red-300, #FF6B6B); font-size:12.5px; }
.chat-typing{ align-self:flex-start; color:var(--ink-400); font-size:12.5px; padding:0 4px; }

.chat-input-row{ display:flex; gap:8px; padding:12px; border-top:1px solid var(--navy-700); flex:none; }
.chat-input-row input{
  flex:1; background:var(--navy-800); border:1px solid var(--navy-600); border-radius:100px;
  padding:10px 16px; color:var(--ink-50); font-family:var(--font-display); font-size:13.5px;
}
.chat-input-row input:focus-visible{ outline:2px solid var(--brand-blue); outline-offset:1px; border-color:var(--teal-400); }
.chat-input-row button{
  width:40px; height:40px; border-radius:50%; border:none; flex:none; cursor:pointer;
  background:var(--teal-400); color:#04211c; font-size:16px; display:flex; align-items:center; justify-content:center;
}
.chat-input-row button:disabled{ opacity:.5; cursor:not-allowed; }

@media (max-width: 480px){
  .chat-panel{ inset-inline-end:16px; bottom:88px; width:calc(100vw - 32px); }
  .chat-toggle{ inset-inline-end:16px; bottom:16px; }
}


/* ==========================================================================
   MetaHooshyar — Visual Harmony Patch v4
   هدف: حذف تضاد شدید سیاه/سفید، ایجاد جریان رنگی نرم، و افزایش خوانایی.
   این Patch عمداً در انتهای فایل قرار گرفته تا بدون دست‌کاری Backend و
   ساختار HTML، قوانین قبلی را override کند.
   ========================================================================== */

/* --- Unified background palette: blue-tinted, not pure white/black ----- */
:root{
  --page-dark-top:#081226;
  --page-dark-bottom:#10284A;
  --page-dark-deep:#0B1934;

  --page-light-top:#F2F7FD;
  --page-light-bottom:#EAF3FC;

  --page-white-top:#F8FBFF;
  --page-white-bottom:#EEF6FE;

  --page-blue-top:#E8F6FF;
  --page-blue-bottom:#F2F9FF;

  --text-on-light:#182844;
  --text-on-light-muted:#465773;
  --text-on-light-soft:#64748B;
  --border-on-light:#D5E2F0;
}

/* Base page: never pure black */
body{
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(32,191,255,.10), transparent 65%),
    linear-gradient(180deg, var(--page-dark-top), var(--page-dark-bottom));
}

/* Dark zones become deep blue instead of flat black */
.section-dark{
  background:
    radial-gradient(700px 360px at 12% 15%, rgba(32,191,255,.08), transparent 68%),
    radial-gradient(600px 320px at 88% 85%, rgba(53,230,194,.06), transparent 68%),
    linear-gradient(145deg, var(--page-dark-top) 0%, var(--page-dark-deep) 48%, var(--page-dark-bottom) 100%);
}

/* All light zones now belong to one visual family */
.section-light{
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(32,191,255,.055), transparent 70%),
    linear-gradient(180deg, var(--page-light-top) 0%, var(--page-light-bottom) 100%);
}

.section-white{
  background:
    radial-gradient(650px 300px at 8% 100%, rgba(53,230,194,.035), transparent 70%),
    linear-gradient(180deg, var(--page-white-top) 0%, var(--page-white-bottom) 100%);
}

.section-light-blue{
  background:
    radial-gradient(700px 330px at 80% 10%, rgba(32,191,255,.07), transparent 70%),
    linear-gradient(180deg, var(--page-blue-top) 0%, var(--page-blue-bottom) 100%);
}

/* Softer transitions: avoid the hard "black → white" cut */
.section-fade-from-dark::before{
  height:150px;
  background:linear-gradient(180deg, rgba(8,18,38,.16) 0%, rgba(8,18,38,.055) 28%, transparent 100%);
}

.section-fade-to-dark::after{
  height:150px;
  background:linear-gradient(0deg, rgba(8,18,38,.16) 0%, rgba(8,18,38,.055) 28%, transparent 100%);
}

/* Light-section typography: dark enough to remain readable */
.on-light{
  color:var(--text-on-light);
}

.on-light p,
.on-light .section-desc,
.on-light .quote-block p,
.on-light .why-card p,
.on-light .term-chip p,
.on-light .ic-card p,
.on-light .growth-step p,
.on-light .session-card p,
.on-light .start-card p,
.on-light .gallery-body p,
.on-light .video-card p,
.on-light .faq-answer{
  color:var(--text-on-light) !important;
}

.on-light .section-desc{
  color:var(--text-on-light-muted) !important;
}

.on-light h1,
.on-light h2,
.on-light h3,
.on-light h4{
  color:#0B1934 !important;
}

.on-light small,
.on-light .muted,
.on-light .secondary,
.on-light .stat-label,
.on-light .gallery-meta{
  color:var(--text-on-light-muted) !important;
}

/* Light cards: slightly tinted, so they don't look like isolated white boxes */
.on-light .why-card,
.on-light .term-chip,
.on-light .ic-card,
.on-light .growth-step-num,
.on-light .session-card,
.on-light .start-card,
.on-light .gallery-card,
.on-light .video-card,
.on-light .stat-chip,
.on-light .filter-chip,
.on-light .project-tag,
.on-light .flow-chip,
.on-light .faq-item{
  background:rgba(255,255,255,.78);
  border-color:var(--border-on-light);
}

/* Give important cards a tiny blue edge instead of heavy shadows */
.on-light .why-card,
.on-light .ic-card,
.on-light .gallery-card,
.on-light .video-card,
.on-light .faq-item{
  box-shadow:0 12px 30px rgba(11,31,58,.07);
}

/* Light buttons must remain visible */
.on-light .btn-ghost{
  color:#0B1934 !important;
  background:rgba(255,255,255,.72);
  border-color:#B8CCE1;
}

.on-light .btn-ghost:hover{
  color:#075B78 !important;
  background:#FFFFFF;
  border-color:#35E6C2;
}

/* Navigation remains readable over the dark header */
.site-header{
  background:rgba(8,18,38,.78);
}

.site-header.is-scrolled{
  background:rgba(8,18,38,.94);
}

/* Avoid white-looking empty blocks where images/placeholders are missing */
.on-light .gallery-image-placeholder,
.on-light .gallery-image{
  background:#E7F1FA;
}

/* Course/category accents: bright enough without neon overload */
.on-light .ic-tag{
  color:#07111F;
}

.on-light .term-num,
.on-light .stat-value{
  color:#087EA4 !important;
}

/* FAQ and form-like elements */
.on-light input,
.on-light textarea,
.on-light select{
  color:#182844;
  background:#FFFFFF;
  border-color:#C9D9E8;
}

.on-light input::placeholder,
.on-light textarea::placeholder{
  color:#71819A;
}

/* Smoothly separate neighboring sections */
.section + .section{
  position:relative;
}

.section-light + .section-white::before,
.section-white + .section-light::before,
.section-white + .section-light-blue::before,
.section-light-blue + .section-light::before,
.section-light + .section-light-blue::before,
.section-light-blue + .section-white::before{
  content:"";
  position:absolute;
  top:0;
  left:8%;
  right:8%;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(32,191,255,.08), transparent);
  pointer-events:none;
}

/* Mobile: preserve the same color rhythm */
@media (max-width: 768px){
  .section-light,
  .section-white,
  .section-light-blue{
    background-image:
      radial-gradient(420px 220px at 90% 0%, rgba(32,191,255,.05), transparent 70%),
      linear-gradient(180deg, var(--page-light-top), var(--page-light-bottom));
  }

  .section-dark{
    background:
      radial-gradient(420px 220px at 85% 0%, rgba(32,191,255,.07), transparent 70%),
      linear-gradient(160deg, var(--page-dark-top), var(--page-dark-bottom));
  }
}


/* ========================================================================
   MetaHooshyar — Stronger Blue Background Harmony v5
   هدف: افزایش محسوس رنگ آبی در بخش‌های روشن، مخصوصاً «از کجا شروع کنیم»،
   بدون ایجاد کنتراست ضعیف یا حس کودکانه/شلوغ.
   ======================================================================== */

/* Stronger blue-tinted light family: no more washed-out near-white areas. */
:root{
  --page-light-top-strong:#DCEEFF;
  --page-light-bottom-strong:#BFDDFB;
  --page-blue-top-strong:#D5ECFF;
  --page-blue-bottom-strong:#B8D8FA;
  --start-blue-top:#D7ECFF;
  --start-blue-bottom:#B6D7F8;
}

.section-light{
  background:
    radial-gradient(760px 360px at 88% 5%, rgba(32,191,255,.13), transparent 68%),
    radial-gradient(620px 320px at 8% 92%, rgba(53,230,194,.07), transparent 70%),
    linear-gradient(180deg, var(--page-light-top-strong) 0%, var(--page-light-bottom-strong) 100%);
}

.section-white{
  background:
    radial-gradient(700px 340px at 8% 100%, rgba(32,191,255,.055), transparent 70%),
    linear-gradient(180deg, #F3F9FF 0%, #DDEEFF 100%);
}

.section-light-blue{
  background:
    radial-gradient(760px 360px at 82% 8%, rgba(32,191,255,.15), transparent 68%),
    radial-gradient(600px 320px at 10% 90%, rgba(53,230,194,.055), transparent 70%),
    linear-gradient(180deg, var(--page-blue-top-strong) 0%, var(--page-blue-bottom-strong) 100%);
}

/* The photographed/problematic section: noticeably blue, but still soft. */
.start-section{
  background:
    radial-gradient(720px 340px at 88% 4%, rgba(32,191,255,.18), transparent 68%),
    radial-gradient(620px 300px at 6% 92%, rgba(53,230,194,.08), transparent 70%),
    linear-gradient(180deg, var(--start-blue-top) 0%, var(--start-blue-bottom) 100%);
}

/* Keep cards clean and clearly separated from the stronger background. */
.start-section .start-card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(75,139,196,.25);
  box-shadow:0 14px 30px rgba(30,79,126,.10);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.start-section .start-card:hover{
  transform:translateY(-3px);
  border-color:rgba(32,191,255,.55);
  box-shadow:0 18px 36px rgba(20,103,165,.16);
}

.start-section .start-condition{
  color:#3E5878 !important;
}

.start-section .start-answer{
  color:#008EAD !important;
}

.start-section .start-closing{
  background:rgba(255,255,255,.48);
  border-color:rgba(32,126,180,.25);
  color:#203B5B !important;
}

@media (max-width:768px){
  .section-light{
    background:
      radial-gradient(420px 220px at 90% 0%, rgba(32,191,255,.10), transparent 70%),
      linear-gradient(180deg, var(--page-light-top-strong), var(--page-light-bottom-strong));
  }
  .section-light-blue,
  .start-section{
    background:
      radial-gradient(440px 230px at 88% 0%, rgba(32,191,255,.12), transparent 70%),
      linear-gradient(180deg, var(--page-blue-top-strong), var(--page-blue-bottom-strong));
  }
}

/* ========================================================================
   MetaHooshyar — Targeted UI polish v7
   1) Make the learning/mindset flow steps and arrows clearly visible.
   2) Give the Robotics 9-term section a richer blue background instead of
      the washed-out white look.
   ======================================================================== */

/* --- Connected learning flow: visible chips + unmistakable arrows -------- */
.on-light .flow-row{
  gap:12px;
}

.on-light .flow-chip{
  background:linear-gradient(135deg, #FFFFFF 0%, #E4F3FF 100%) !important;
  border:1px solid rgba(32,126,190,.28) !important;
  color:#0B3A63 !important;
  font-weight:800;
  box-shadow:0 8px 18px rgba(28,91,140,.10);
}

.on-light .flow-chip:hover{
  border-color:#20BFFF !important;
  box-shadow:0 12px 24px rgba(20,120,180,.16);
}

.on-light .flow-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:50%;
  background:linear-gradient(135deg, #20BFFF, #087EA4);
  color:#FFFFFF !important;
  border:2px solid rgba(255,255,255,.88);
  box-shadow:0 6px 16px rgba(8,126,164,.22);
  font-family:Arial, sans-serif;
  font-size:24px;
  font-weight:900;
  line-height:1;
  text-shadow:0 1px 1px rgba(0,0,0,.15);
}

/* The mindset section gets a subtle blue field so the flow reads as one unit. */
.section-light .flow-row{
  padding:18px 20px;
  border-radius:24px;
  background:linear-gradient(135deg, rgba(216,238,255,.58), rgba(190,222,249,.38));
  border:1px solid rgba(32,126,190,.10);
}

/* --- Robotics track: richer blue, no plain-white block ------------------ */
#robotics.section-white{
  background:
    radial-gradient(900px 420px at 88% 4%, rgba(32,191,255,.18), transparent 68%),
    radial-gradient(700px 360px at 8% 92%, rgba(53,230,194,.09), transparent 70%),
    linear-gradient(180deg, #DCEFFF 0%, #C5E2FA 52%, #B7D9F5 100%) !important;
}

#robotics .section-head h2,
#robotics .section-head .section-desc{
  color:#0B1934 !important;
}

#robotics .eyebrow-light{
  background:rgba(255,255,255,.62);
  border-color:rgba(8,126,164,.20);
  color:#0B5B78;
}

#robotics .track::before{
  background:linear-gradient(180deg, rgba(8,126,164,.10), rgba(8,126,164,.28), rgba(8,126,164,.10));
}

#robotics .term-chip{
  background:rgba(255,255,255,.91);
  border-color:rgba(49,120,174,.24);
  box-shadow:0 14px 30px rgba(30,79,126,.12);
}

#robotics .term-chip:hover{
  border-color:rgba(32,191,255,.65);
  box-shadow:0 18px 36px rgba(20,103,165,.17);
}

#robotics .term-chip h3{
  color:#0B1934 !important;
}

#robotics .term-chip p{
  color:#344F70 !important;
}

#robotics .term-num{
  color:#087EA4 !important;
}

#robotics .term-node{
  background:#FFFFFF;
  border-color:#20BFFF;
  box-shadow:0 0 0 5px rgba(255,255,255,.62), 0 5px 14px rgba(8,126,164,.18);
}

#robotics .track-line path{
  stroke:#087EA4;
  stroke-width:2.5;
  filter:drop-shadow(0 2px 5px rgba(8,126,164,.20));
}

@media (max-width:768px){
  .on-light .flow-row{
    padding:16px 14px;
  }

  .on-light .flow-arrow{
    width:34px;
    height:34px;
    flex-basis:34px;
    font-size:21px;
  }

  #robotics.section-white{
    background:
      radial-gradient(520px 260px at 88% 0%, rgba(32,191,255,.14), transparent 70%),
      linear-gradient(180deg, #DCEFFF 0%, #C5E2FA 100%) !important;
  }
}

/* v10 — optional editable Hero image */
.hero.hero-has-image{background-image:linear-gradient(90deg,rgba(8,13,28,.96) 0%,rgba(8,13,28,.82) 46%,rgba(8,13,28,.60) 100%),var(--hero-image),linear-gradient(135deg,#080D1C,#0B1230);background-size:cover;background-position:center;background-blend-mode:normal}
.hero.hero-has-image .hero-circuit{opacity:.28}
@media (max-width:700px){.hero.hero-has-image{background-position:center top}}


/* =========================================================================
   V23 — Editorial academy hero inspired by modern AI product experiences
   ========================================================================= */
.hero{padding:72px 0 66px;background-image:radial-gradient(circle at 18% 20%,rgba(34,211,238,.12),transparent 30%),radial-gradient(circle at 80% 85%,rgba(250,190,55,.10),transparent 28%),linear-gradient(135deg,#07142d 0%,#0a1d3d 52%,#071329 100%)}
.hero-showcase{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);align-items:center;gap:clamp(34px,6vw,88px);text-align:right;max-width:1160px}
.hero-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.hero-copy .eyebrow{margin-bottom:24px}
.hero-copy .hero-title{max-width:13ch;font-size:clamp(42px,5.3vw,70px);letter-spacing:-.035em}
.hero-copy .hero-sub{max-width:590px;font-size:clamp(16px,1.6vw,19px);line-height:2.05;color:#d0dbea}
.hero-copy .hero-actions{justify-content:flex-start;margin-top:30px}
.hero-tracks{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:34px;color:#e4edf8;font-size:13px;font-weight:700}
.hero-tracks span{display:inline-flex;align-items:center;gap:7px}
.hero-tracks b{font-family:var(--font-mono);font-size:10px;color:#f5c64c;letter-spacing:.04em}
.hero-tracks i{width:4px;height:4px;border-radius:50%;background:#3dd7d0;opacity:.8}
.hero-copy .stat-row{justify-content:flex-start;margin-top:32px;gap:10px}
.hero-copy .stat-chip{min-width:110px;padding:12px 18px;border-radius:16px;background:rgba(255,255,255,.055);border-color:rgba(193,218,255,.14);backdrop-filter:blur(12px)}
.hero-copy .stat-value{font-size:22px}
.hero-mentor{position:relative;max-width:440px;width:100%;justify-self:center;padding:13px;border:1px solid rgba(194,220,255,.22);border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.045));box-shadow:0 35px 90px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.18);transform:rotate(1deg)}
.mentor-photo-wrap{position:relative;overflow:hidden;border-radius:22px;background:#d8c3ad;isolation:isolate}
.mentor-photo{display:block;width:100%;height:auto;aspect-ratio:4/4.45;object-fit:cover;object-position:center 35%;transition:transform .7s cubic-bezier(.2,.75,.25,1)}
.hero-mentor:hover .mentor-photo{transform:scale(1.035)}
.mentor-photo-orbit{position:absolute;z-index:-1;border:1px solid rgba(66,220,218,.35);border-radius:50%;pointer-events:none}
.orbit-one{width:118%;aspect-ratio:1;inset:-9% auto auto -22%}
.orbit-two{width:90%;aspect-ratio:1;inset:auto -28% -28% auto;border-color:rgba(255,199,72,.4)}
.mentor-stamp{position:absolute;top:18px;inset-inline-start:18px;display:flex;flex-direction:column;gap:3px;padding:10px 14px;border:1px solid rgba(255,255,255,.35);border-radius:14px;background:rgba(7,19,41,.72);color:#fff;backdrop-filter:blur(12px);font-size:10px}
.mentor-stamp strong{font-size:14px;color:#65e5dc}
.mentor-caption{display:flex;flex-direction:column;gap:5px;padding:17px 10px 10px;color:#fff}
.mentor-caption-label{font-size:12px;color:#a9c1da}
.mentor-caption strong{font-size:clamp(18px,2vw,22px);font-weight:900}
.mentor-caption>span:last-child{font-size:13px;color:#d2deeb}
.mentor-note{position:absolute;bottom:112px;inset-inline-start:-38px;display:flex;align-items:center;gap:9px;max-width:220px;padding:12px 15px;border:1px solid rgba(255,255,255,.22);border-radius:15px;background:#fff;color:#10213d;box-shadow:0 15px 40px rgba(0,0,0,.2);font-size:11px;font-weight:800;line-height:1.7;transform:rotate(-3deg)}
.mentor-note-icon{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:9px;background:#fff2c7;color:#9b6a00;font-size:17px}
@media(max-width:900px){.hero-showcase{grid-template-columns:minmax(0,1fr) minmax(260px,.78fr);gap:28px}.mentor-note{inset-inline-start:-16px;bottom:105px}}
@media(max-width:700px){.hero{padding:48px 0 48px}.hero-showcase{grid-template-columns:1fr;gap:30px}.hero-copy{align-items:center;text-align:center}.hero-copy .eyebrow{margin-bottom:18px}.hero-copy .hero-title{font-size:clamp(39px,11vw,54px);max-width:15ch}.hero-copy .hero-sub{margin-top:18px;font-size:16px}.hero-copy .hero-actions{justify-content:center;margin-top:24px;gap:10px}.hero-tracks{justify-content:center;margin-top:24px;gap:9px;font-size:12px}.hero-copy .stat-row{justify-content:center;margin-top:24px}.hero-mentor{max-width:360px;transform:none}.mentor-photo{aspect-ratio:4/4.25}.mentor-note{inset-inline-start:-8px;bottom:105px}.mentor-stamp{top:12px;inset-inline-start:12px}}
@media(max-width:390px){.hero-copy .hero-title{font-size:37px}.hero-tracks{gap:7px;font-size:11px}.hero-tracks i{width:3px;height:3px}.mentor-note{max-width:190px;font-size:10px}}



/* ==========================================================================
   METAHOOSHYAR MOTION IDENTITY — Bixa-inspired, original brand expression
   A kinetic Persian "م" becomes the academy's own opening signature.
   ========================================================================== */
.mh-intro{
  position:fixed;inset:0;z-index:99999;display:grid;place-items:center;overflow:hidden;
  color:#fff;background:
    radial-gradient(ellipse at 50% 42%,rgba(32,191,255,.19),transparent 35%),
    radial-gradient(ellipse at 18% 82%,rgba(53,230,194,.13),transparent 30%),
    linear-gradient(135deg,#060d20 0%,#0b1740 48%,#071329 100%);
  isolation:isolate;opacity:1;visibility:visible;
  transition:opacity .75s cubic-bezier(.22,.8,.28,1),visibility .75s;
}
.mh-intro.is-leaving{opacity:0;visibility:hidden;pointer-events:none}
.mh-intro-grid{position:absolute;inset:-30%;opacity:.23;transform:perspective(600px) rotateX(58deg) scale(1.4);
  background-image:linear-gradient(rgba(87,184,255,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(87,184,255,.15) 1px,transparent 1px);
  background-size:54px 54px;mask-image:linear-gradient(to bottom,transparent,#000 25%,#000 75%,transparent);
  animation:mhGridDrift 18s linear infinite}
.mh-intro-orb{position:absolute;display:block;border-radius:50%;filter:blur(2px);pointer-events:none}
.mh-intro-orb-one{width:370px;height:370px;right:-130px;top:-130px;background:radial-gradient(circle,rgba(32,191,255,.25),transparent 68%);animation:mhOrbFloat 8s ease-in-out infinite}
.mh-intro-orb-two{width:430px;height:430px;left:-170px;bottom:-210px;background:radial-gradient(circle,rgba(53,230,194,.18),transparent 68%);animation:mhOrbFloat 10s ease-in-out infinite reverse}
.mh-intro-content{position:relative;z-index:2;display:flex;align-items:center;flex-direction:column;text-align:center;padding:24px;animation:mhIntroContent .9s .15s both}
.mh-intro-symbol{position:relative;width:176px;height:176px;display:grid;place-items:center;margin-bottom:19px}
.mh-intro-symbol:before,.mh-intro-symbol:after{content:"";position:absolute;inset:8px;border:1px solid rgba(32,191,255,.48);border-radius:36% 64% 58% 42% / 42% 40% 60% 58%;animation:mhMorph 8s ease-in-out infinite, mhSpin 18s linear infinite}
.mh-intro-symbol:after{inset:20px;border-color:rgba(255,212,59,.58);border-style:dashed;animation-duration:12s,25s;animation-direction:reverse,reverse}
.mh-symbol-ring{position:absolute;width:116px;height:116px;border-radius:50%;background:radial-gradient(circle,rgba(32,191,255,.25),rgba(32,191,255,.02) 68%);box-shadow:0 0 65px rgba(32,191,255,.22),inset 0 0 30px rgba(53,230,194,.15);animation:mhPulse 2.6s ease-in-out infinite}
.mh-symbol-letter{position:relative;z-index:2;font-family:var(--font-display);font-size:116px;line-height:1;font-weight:900;color:#fff;text-shadow:0 0 18px rgba(32,191,255,.75),0 0 55px rgba(32,191,255,.42);transform-origin:center;animation:mhLetterIn 1.15s cubic-bezier(.16,1,.3,1) both}
.mh-symbol-spark{position:absolute;z-index:3;right:13px;top:12px;color:var(--brand-yellow);font-size:25px;text-shadow:0 0 18px rgba(255,212,59,.9);animation:mhSpark 2s ease-in-out infinite}
.mh-intro-wordmark{font-size:clamp(34px,6vw,54px);font-weight:900;letter-spacing:-2px;line-height:1.25;animation:mhWordIn .8s .55s both}
.mh-intro-wordmark b{color:var(--brand-cyan);font-weight:900}
.mh-intro-tagline{margin-top:9px;color:#c4d8f3;font-size:15px;letter-spacing:.1px;animation:mhWordIn .8s .72s both}
.mh-intro-progress{width:170px;height:3px;border-radius:9px;background:rgba(255,255,255,.12);overflow:hidden;margin-top:27px}
.mh-intro-progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,var(--brand-blue),var(--brand-cyan),var(--brand-yellow));transform:scaleX(0);transform-origin:right;animation:mhProgress 2.7s .2s ease forwards}
.mh-intro-enter{margin-top:22px;padding:9px 18px;border:1px solid rgba(255,255,255,.2);border-radius:40px;color:#eaf8ff;background:rgba(255,255,255,.055);font:700 13px var(--font-display);cursor:pointer;opacity:0;animation:mhWordIn .6s 1s forwards;transition:.25s}
.mh-intro-enter:hover{background:rgba(32,191,255,.16);border-color:var(--brand-blue);transform:translateY(-2px)}
.mh-intro-enter span{display:inline-block;margin-right:7px;color:var(--brand-yellow);transition:transform .25s}
.mh-intro-enter:hover span{transform:translateX(-4px)}
.mh-intro-corner{position:absolute;color:rgba(207,228,255,.42);font:10px var(--font-mono);letter-spacing:2px}
.mh-intro-corner-a{left:28px;bottom:25px}.mh-intro-corner-b{right:28px;top:25px}
.hero{position:relative;isolation:isolate;overflow:hidden}
.hero:before{content:"";position:absolute;z-index:-1;width:520px;height:520px;right:-180px;top:-240px;border-radius:50%;background:radial-gradient(circle,rgba(32,191,255,.17),transparent 68%);animation:mhOrbFloat 12s ease-in-out infinite}
.hero-kinetic-mark{position:absolute;z-index:0;left:4.5%;top:8%;width:clamp(130px,19vw,250px);height:clamp(130px,19vw,250px);display:grid;place-items:center;opacity:.15;pointer-events:none}
.hero-kinetic-mark span{font-size:clamp(120px,18vw,230px);font-weight:900;line-height:1;color:#39caff;text-shadow:0 0 45px rgba(32,191,255,.6);animation:mhHeroMark 9s ease-in-out infinite}
.hero-kinetic-mark i,.hero-kinetic-mark b{position:absolute;inset:5%;border:1px solid rgba(53,230,194,.7);border-radius:42% 58% 60% 40%;animation:mhMorph 10s ease-in-out infinite,mhSpin 28s linear infinite}
.hero-kinetic-mark b{inset:17%;border-color:rgba(255,212,59,.8);animation-direction:reverse,reverse;animation-duration:13s,35s}
.hero-showcase>*{animation:mhRiseIn .85s both}
.hero-showcase>*:nth-child(1){animation-delay:.12s}.hero-showcase>*:nth-child(2){animation-delay:.28s}
.hero-showcase>*:nth-child(3){animation-delay:.42s}
.section-head h2{text-wrap:balance}
.btn,.course-card,.program-card,.project-card,.gallery-card,.faq-item,.stat-chip{transition:transform .3s cubic-bezier(.22,.8,.28,1),box-shadow .3s,border-color .3s,background .3s}
.course-card:hover,.program-card:hover,.project-card:hover,.gallery-card:hover{transform:translateY(-7px);box-shadow:0 22px 48px -24px rgba(12,50,100,.32)}
@keyframes mhGridDrift{to{background-position:54px 54px}}
@keyframes mhOrbFloat{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(18px,-24px,0) scale(1.08)}}
@keyframes mhMorph{0%,100%{border-radius:36% 64% 58% 42% / 42% 40% 60% 58%;transform:rotate(0)}50%{border-radius:63% 37% 38% 62% / 55% 61% 39% 45%;transform:rotate(18deg)}}
@keyframes mhSpin{to{rotate:360deg}}
@keyframes mhPulse{0%,100%{transform:scale(.9);opacity:.7}50%{transform:scale(1.12);opacity:1}}
@keyframes mhLetterIn{0%{opacity:0;transform:translateY(34px) scale(.65) rotate(-12deg);filter:blur(12px)}70%{opacity:1;transform:translateY(-5px) scale(1.06) rotate(2deg);filter:blur(0)}100%{transform:translateY(0) scale(1) rotate(0)}}
@keyframes mhWordIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes mhIntroContent{from{opacity:0;transform:translateY(20px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes mhProgress{to{transform:scaleX(1)}}
@keyframes mhSpark{0%,100%{transform:scale(.8) rotate(0);opacity:.7}50%{transform:scale(1.25) rotate(24deg);opacity:1}}
@keyframes mhHeroMark{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-15px) rotate(7deg)}}
@keyframes mhRiseIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){
 .mh-intro-symbol{width:145px;height:145px}.mh-symbol-letter{font-size:94px}
 .mh-intro-corner{font-size:8px;letter-spacing:1px}.mh-intro-corner-a{left:12px;bottom:14px}.mh-intro-corner-b{right:12px;top:14px}
 .hero-kinetic-mark{left:-30px;top:4%;opacity:.1}
}
@media(prefers-reduced-motion:reduce){
 .mh-intro-grid,.mh-intro-orb,.mh-intro-symbol:before,.mh-intro-symbol:after,.mh-symbol-ring,.mh-symbol-letter,.mh-symbol-spark,.mh-intro-content,.mh-intro-wordmark,.mh-intro-tagline,.mh-intro-progress span,.mh-intro-enter,.hero-kinetic-mark span,.hero-kinetic-mark i,.hero-kinetic-mark b{animation:none!important}
 .mh-intro-progress span{transform:scaleX(1)}
}


/* کارت‌های محتوایی: حرکت نرم و عمق بصری هماهنگ در تمام بخش‌های صفحه */
.ic-card,.why-card,.session-card,.term-card,.start-card,.testimonial-card,.video-card,.faq-item,.growth-step{
  transform:translateZ(0);transition:transform .32s cubic-bezier(.22,.8,.28,1),box-shadow .32s,border-color .32s,filter .32s;
}
.ic-card:hover,.why-card:hover,.session-card:hover,.term-card:hover,.start-card:hover,.testimonial-card:hover,.video-card:hover,.faq-item:hover,.growth-step:hover{
  transform:translateY(-6px);filter:saturate(1.08);box-shadow:0 20px 44px -25px rgba(32,120,190,.45);
}
.section-light,.section-light-blue,.section-white{position:relative;isolation:isolate}
.section-light:before,.section-light-blue:before,.section-white:before{
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;opacity:.48;
  background:radial-gradient(circle at 8% 18%,rgba(32,191,255,.10),transparent 25%),radial-gradient(circle at 92% 82%,rgba(53,230,194,.10),transparent 24%);
}

/* =====================================================================
   METAHOOSHYAR V25 — Academy-wide visual system & motion language
   ===================================================================== */
:root{--mh-blue:#2457e6;--mh-cyan:#20c7ef;--mh-teal:#36e2c0;--mh-yellow:#ffd43b;--mh-deep:#07152f;--mh-glass:rgba(12,31,66,.76);--mh-ease:cubic-bezier(.2,.75,.25,1)}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body{overflow-x:hidden}
::selection{background:rgba(32,199,239,.32);color:inherit}
.site-header{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:rgba(5,15,36,.84);border-bottom:1px solid rgba(100,190,255,.13);transition:background .3s,box-shadow .3s}
.site-header.is-scrolled{background:rgba(5,15,36,.94);box-shadow:0 12px 35px rgba(0,0,0,.2)}
.brand-mark{filter:drop-shadow(0 0 12px rgba(32,199,239,.28));transition:transform .35s var(--mh-ease),filter .35s}
.brand:hover .brand-mark{transform:rotate(-7deg) scale(1.07);filter:drop-shadow(0 0 18px rgba(255,212,59,.55))}
.brand-text{letter-spacing:-.6px}
.main-nav a{position:relative;transition:color .22s,transform .22s}
.main-nav a:after{content:"";position:absolute;inset-inline:0;bottom:-9px;height:2px;border-radius:5px;background:linear-gradient(90deg,var(--mh-cyan),var(--mh-yellow));transform:scaleX(0);transform-origin:right;transition:transform .28s var(--mh-ease)}
.main-nav a:hover{transform:translateY(-2px);color:#fff}.main-nav a:hover:after{transform:scaleX(1)}
.btn,.icon-btn,.consult-submit,.adm-btn,.adm-logout,.adm-view-site{transition:transform .24s var(--mh-ease),box-shadow .24s,border-color .24s,filter .24s!important}
.btn:hover,.consult-submit:hover,.adm-btn:hover{transform:translateY(-3px);filter:saturate(1.12);box-shadow:0 12px 28px rgba(32,191,255,.2)}
.btn:active,.consult-submit:active,.adm-btn:active{transform:translateY(0) scale(.975)}
.btn-primary{box-shadow:0 8px 24px rgba(32,191,255,.16)}
.btn-primary:hover{box-shadow:0 12px 32px rgba(32,191,255,.32),0 0 0 1px rgba(255,255,255,.14) inset}
.hero{isolation:isolate;position:relative;background-image:radial-gradient(ellipse at 18% 15%,rgba(36,87,230,.22),transparent 42%),radial-gradient(ellipse at 82% 78%,rgba(32,199,239,.14),transparent 38%),linear-gradient(135deg,#06132d,#0a1e42 55%,#07152f)}
.hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(115deg,transparent 20%,rgba(32,199,239,.045) 48%,transparent 72%);background-size:220% 100%;animation:mh-sheen 13s linear infinite}
.hero-kinetic-mark{transform:translate(var(--mh-pointer-x,0),var(--mh-pointer-y,0));transition:transform .25s ease-out;filter:drop-shadow(0 0 28px rgba(32,199,239,.22))}
.hero-mentor,.mentor-photo-wrap,.mentor-photo{transition:transform .55s var(--mh-ease),filter .45s}
.hero-mentor:hover .mentor-photo{transform:scale(1.025)}
.mentor-photo-wrap{filter:drop-shadow(0 20px 35px rgba(0,0,0,.25))}
.section{position:relative;isolation:isolate}
.section-light{background-image:radial-gradient(ellipse at 10% 20%,rgba(32,199,239,.10),transparent 35%),radial-gradient(ellipse at 90% 80%,rgba(255,212,59,.09),transparent 32%),linear-gradient(135deg,#f0f8ff,#eaf6ff 48%,#f4fbff)!important}
.section-dark{background-image:radial-gradient(ellipse at 85% 10%,rgba(36,87,230,.18),transparent 38%),linear-gradient(135deg,#07152f,#0a2047 55%,#07152f)}
.term-card,.ic-card,.why-card,.project-card,.gallery-item,.video-card,.faq-item,.stat-chip{transform:translateZ(0);transition:transform .38s var(--mh-ease),box-shadow .38s,border-color .3s,background .3s}
.term-card:hover,.ic-card:hover,.why-card:hover,.project-card:hover,.gallery-item:hover,.video-card:hover{transform:translateY(-8px) scale(1.012);box-shadow:0 22px 48px rgba(5,30,75,.18);border-color:rgba(32,199,239,.55)}
.term-card:before,.ic-card:before,.why-card:before{transition:opacity .35s}
.gallery-item img,.project-card img,.video-card img{transition:transform .65s var(--mh-ease),filter .4s}
.gallery-item:hover img,.project-card:hover img,.video-card:hover img{transform:scale(1.055);filter:saturate(1.12)}
.stat-chip:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(32,199,239,.14)}
input,select,textarea{transition:border-color .22s,box-shadow .22s,background .22s,transform .22s}
input:focus,select:focus,textarea:focus{outline:none;box-shadow:0 0 0 3px rgba(32,199,239,.13),0 8px 22px rgba(32,87,230,.08)}
.mh-reveal{opacity:0;transform:translateY(22px);transition:opacity .72s var(--mh-ease),transform .72s var(--mh-ease);transition-delay:var(--mh-reveal-delay,0ms)}
.mh-reveal.mh-visible{opacity:1;transform:translateY(0)}
.mh-is-loading{position:relative;pointer-events:none;opacity:.82}.mh-is-loading:after{content:"";display:inline-block;width:12px;height:12px;margin-inline-start:9px;border:2px solid currentColor;border-left-color:transparent;border-radius:50%;vertical-align:-2px;animation:mh-spin .7s linear infinite}
.mh-intro{background:radial-gradient(ellipse at 50% 42%,rgba(36,87,230,.36),transparent 36%),radial-gradient(ellipse at 12% 80%,rgba(32,199,239,.18),transparent 30%),linear-gradient(145deg,#04102a,#092454 56%,#06142f)}
.mh-intro:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.045) 50%,transparent 70%);background-size:220% 100%;animation:mh-sheen 5s ease-in-out infinite}
.mh-intro-symbol{filter:drop-shadow(0 0 28px rgba(32,199,239,.32));animation:mh-symbol-float 4s ease-in-out infinite}
.mh-symbol-letter{text-shadow:0 0 24px rgba(255,212,59,.35)}
.mh-intro-tagline{letter-spacing:.15px}
.mh-intro-progress span{background:linear-gradient(90deg,var(--mh-blue),var(--mh-cyan),var(--mh-yellow))}
.consult-page{background-color:#061126;background-image:radial-gradient(circle at 12% 15%,rgba(36,87,230,.23),transparent 33%),radial-gradient(circle at 88% 75%,rgba(32,199,239,.17),transparent 32%),linear-gradient(145deg,#061126,#0b2148)!important}
.consult-card,.box{box-shadow:0 26px 80px rgba(0,0,0,.3),0 0 0 1px rgba(32,199,239,.035) inset}
.consult-input:focus,.consult-select:focus,.consult-textarea:focus{border-color:var(--mh-cyan);box-shadow:0 0 0 4px rgba(32,199,239,.13),0 8px 24px rgba(32,87,230,.1)}
.chat-toggle{box-shadow:0 12px 32px rgba(32,191,255,.3);transition:transform .25s,box-shadow .25s}.chat-toggle:hover{transform:translateY(-4px) rotate(-5deg);box-shadow:0 18px 38px rgba(32,191,255,.4)}
@keyframes mh-spin{to{transform:rotate(360deg)}}
@keyframes mh-sheen{0%{background-position:180% 0}100%{background-position:-80% 0}}
@keyframes mh-symbol-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-9px) rotate(2deg)}}
@media(max-width:900px){.main-nav a:after{display:none}.main-nav.is-open{animation:mh-menu-in .25s var(--mh-ease)}.hero-kinetic-mark{transform:none!important}}
@keyframes mh-menu-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){.mh-reveal{transform:translateY(14px);transition-duration:.5s}.term-card:hover,.ic-card:hover,.why-card:hover,.project-card:hover,.gallery-item:hover,.video-card:hover{transform:translateY(-3px)}.mh-intro-corner{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.mh-reveal{opacity:1!important;transform:none!important}}
/* V25: keep light content areas colorful and brand-consistent, not plain white. */
.section-white{background-image:radial-gradient(ellipse at 12% 18%,rgba(32,199,239,.09),transparent 36%),radial-gradient(ellipse at 88% 85%,rgba(255,212,59,.075),transparent 30%),linear-gradient(135deg,#f4faff,#eaf6ff 58%,#f8fcff)!important}
.section-light-blue{background-image:radial-gradient(ellipse at 82% 18%,rgba(32,199,239,.12),transparent 36%),linear-gradient(135deg,#e5f4ff,#eafaff 52%,#f5faff)!important}
.mh-intro-logo{position:absolute;z-index:3;width:94px;height:94px;object-fit:contain;filter:drop-shadow(0 7px 20px rgba(0,0,0,.2));animation:mh-logo-pop .9s .18s cubic-bezier(.16,1,.3,1) both}
.mh-symbol-letter{opacity:.24;transform:scale(1.12)}
@keyframes mh-logo-pop{from{opacity:0;transform:scale(.58) rotate(-12deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@media(max-width:640px){.mh-intro-logo{width:82px;height:82px}}
@media(prefers-reduced-motion:reduce){.mh-intro-logo{animation:none!important}}

/* =====================================================================
   V25.1 — richer learning sections, clearer Persian typography & spacing
   ===================================================================== */
:root{
  --font-display:'Vazirmatn','IRANSansX','Dana','Yekan Bakh','Noto Sans Arabic',Tahoma,sans-serif;
}

/* A lively blue field for the mindset statement and its learning sequence. */
[data-home-section="mindset"].section-light{
  overflow:hidden;
  background:
    radial-gradient(ellipse at 12% 18%,rgba(255,212,59,.34),transparent 28%),
    radial-gradient(ellipse at 88% 78%,rgba(32,191,255,.34),transparent 32%),
    linear-gradient(125deg,#d9f3ff 0%,#b9e5ff 42%,#d7eaff 100%) !important;
}
[data-home-section="mindset"]:after{
  content:"";position:absolute;z-index:-1;width:380px;height:380px;left:-140px;top:-190px;
  border:1px solid rgba(20,111,205,.18);border-radius:46% 54% 62% 38%;
  box-shadow:0 0 0 26px rgba(32,191,255,.045),0 0 0 58px rgba(32,191,255,.035);
  animation:mhMindsetOrbit 18s linear infinite;pointer-events:none;
}
[data-home-section="mindset"] .section-head h2{
  color:#09295a !important;font-size:clamp(25px,3vw,36px);font-weight:950;
  text-shadow:0 2px 0 rgba(255,255,255,.45);
}
[data-home-section="mindset"] .quote-block p{
  color:#173b68 !important;font-size:clamp(16px,1.6vw,19px);font-weight:650;line-height:2.15;
}
[data-home-section="mindset"] .flow-row{
  margin-top:30px;padding:22px 18px;border-radius:26px;
  background:linear-gradient(135deg,rgba(7,43,105,.94),rgba(20,91,171,.94) 58%,rgba(8,126,164,.92));
  border:1px solid rgba(255,255,255,.45);
  box-shadow:0 22px 48px rgba(10,57,119,.22),inset 0 1px 0 rgba(255,255,255,.2);
}
[data-home-section="mindset"] .flow-chip{
  min-width:112px;padding:13px 20px;border:1px solid rgba(255,255,255,.45) !important;
  border-radius:16px;background:linear-gradient(145deg,#fff8d9,#ffe27a) !important;
  color:#15345c !important;font-family:var(--font-display);font-size:clamp(15px,1.4vw,18px);
  font-weight:950;letter-spacing:-.35px;box-shadow:0 10px 22px rgba(2,20,58,.2);
  animation:mhFlowFloat 4.2s ease-in-out infinite;
}
[data-home-section="mindset"] .flow-chip:nth-of-type(3n){animation-delay:-1.4s}
[data-home-section="mindset"] .flow-chip:nth-of-type(3n + 1){animation-delay:-2.7s}
[data-home-section="mindset"] .flow-chip:hover{transform:translateY(-8px) scale(1.055);background:linear-gradient(145deg,#fff,#fff0b5) !important}
[data-home-section="mindset"] .flow-arrow{
  color:#fff !important;background:linear-gradient(135deg,#21c8f3,#1474dc);
  box-shadow:0 7px 18px rgba(0,14,50,.25);border-color:rgba(255,255,255,.7);
}

/* Programming + AI becomes a vivid feature section rather than a pale panel. */
#programming.section-white{
  overflow:hidden;
  background:
    radial-gradient(ellipse at 8% 10%,rgba(255,212,59,.22),transparent 27%),
    radial-gradient(ellipse at 92% 82%,rgba(32,199,239,.25),transparent 31%),
    linear-gradient(132deg,#071a43 0%,#103b83 48%,#082a61 100%) !important;
}
#programming:before{
  opacity:.9;background-image:radial-gradient(circle,rgba(255,255,255,.17) 1px,transparent 1.5px);
  background-size:34px 34px;mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent);
  animation:mhProgramGrid 28s linear infinite;
}
#programming .section-head h2{color:#fff !important;font-size:clamp(27px,3.2vw,40px);font-weight:950;text-shadow:0 4px 22px rgba(0,0,0,.2)}
#programming .section-head .section-desc{color:#d7eaff !important;max-width:780px}
#programming .eyebrow{color:#ffe27a;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);padding:7px 13px;border-radius:30px;width:max-content;margin-inline:auto}
#programming .eyebrow .dot{background:#ffd43b;box-shadow:0 0 14px #ffd43b}
#programming .chip-grid{gap:20px;margin-top:36px}
#programming .ic-card{
  position:relative;overflow:hidden;min-height:235px;padding:27px 24px 24px;
  border:1px solid rgba(255,255,255,.25) !important;border-radius:23px;
  background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.075)) !important;
  box-shadow:0 18px 42px rgba(0,10,40,.24),inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  animation:mhCourseFloat 6s ease-in-out infinite;
  animation-delay:calc(var(--i,0)*-.45s);
}
#programming .ic-card:nth-child(2n){animation-delay:-2.2s}
#programming .ic-card:after{
  content:"";position:absolute;inset:auto -28px -55px auto;width:150px;height:150px;border-radius:50%;
  background:radial-gradient(circle,rgba(32,199,239,.27),transparent 68%);pointer-events:none;
}
#programming .ic-card:hover{transform:translateY(-10px) scale(1.025);border-color:rgba(255,212,59,.7) !important;box-shadow:0 28px 55px rgba(0,8,35,.36),0 0 25px rgba(32,199,239,.16)}
#programming .ic-card h3{color:#fff !important;font-size:19px;font-weight:900;line-height:1.8}
#programming .ic-card p{color:#d5e8ff !important;font-size:14px;line-height:2}
#programming .ic-card .ic-tag{color:#102c5c;background:linear-gradient(135deg,#ffe98e,#ffd43b);border:0;font-weight:900;border-radius:30px;padding:5px 12px}
#programming .ic-icon{filter:drop-shadow(0 5px 12px rgba(0,0,0,.22))}
#programming .ic-pins span{background:#ffd43b;box-shadow:0 0 10px rgba(255,212,59,.55)}
#programming .ic-card-basic{background:linear-gradient(145deg,rgba(38,133,225,.35),rgba(255,255,255,.08)) !important}
#programming .ic-card-ai{background:linear-gradient(145deg,rgba(93,73,206,.42),rgba(255,255,255,.08)) !important}

/* Floating note is now in normal flow; it can no longer cover the teacher caption. */
.hero-mentor .mentor-note{
  position:relative;inset:auto;bottom:auto;max-width:calc(100% - 18px);width:max-content;
  margin:8px auto 0;padding:10px 15px;transform:none;border-radius:14px;
  font-size:12px;line-height:1.75;box-shadow:0 12px 28px rgba(0,0,0,.18);
  animation:mhNoteBob 5s ease-in-out infinite;
}
.hero-mentor .mentor-caption{position:relative;z-index:2;padding-bottom:8px}

@keyframes mhFlowFloat{0%,100%{translate:0 0}50%{translate:0 -6px}}
@keyframes mhCourseFloat{0%,100%{translate:0 0}50%{translate:0 -5px}}
@keyframes mhMindsetOrbit{to{transform:rotate(360deg)}}
@keyframes mhProgramGrid{to{background-position:68px 68px}}
@keyframes mhNoteBob{0%,100%{translate:0 0}50%{translate:0 -4px}}

@media(max-width:760px){
  [data-home-section="mindset"] .flow-row{gap:9px;padding:17px 12px}
  [data-home-section="mindset"] .flow-chip{min-width:unset;padding:10px 13px;font-size:14px}
  #programming .ic-card{min-height:unset;animation-duration:7s}
  .hero-mentor .mentor-note{max-width:100%;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  [data-home-section="mindset"]:after,#programming:before,
  [data-home-section="mindset"] .flow-chip,#programming .ic-card,
  .hero-mentor .mentor-note{animation:none!important;translate:none!important}
}
#programming .ic-term-num{display:inline-flex;align-items:center;justify-content:center;margin-bottom:12px;padding:4px 10px;border:1px solid rgba(255,255,255,.32);border-radius:30px;color:#fff;background:rgba(5,18,48,.36);font-size:11px;font-weight:900;letter-spacing:-.2px}


/* ================= V25.2: energetic academy surfaces ================= */
#learning-path,
#robotics,
#programming,
#why,
[data-home-section="session"],
[data-home-section="skills"]{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
#learning-path::before,
#robotics::before,
#programming::before,
#why::before,
[data-home-section="session"]::before{
  content:"";
  position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(circle at 12% 18%, rgba(32,191,255,.22), transparent 28%),
    radial-gradient(circle at 88% 76%, rgba(53,230,194,.17), transparent 30%),
    linear-gradient(128deg,#101b48 0%,#123c78 48%,#10254d 100%);
}
#learning-path .section-head h2,
#robotics .section-head h2,
#programming .section-head h2,
#why .section-head h2 { color:#fff; }
#learning-path .section-head p,
#robotics .section-head .section-desc,
#programming .section-head .section-desc { color:#d8eaff; }
#learning-path .growth-step,
#robotics .term-chip,
#programming .ic-card,
#why .why-card,
[data-home-section="session"] .session-card{
  color:#f8fbff;
  background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.055));
  border:1px solid rgba(117,220,255,.28);
  box-shadow:0 18px 42px -25px rgba(0,0,0,.75), inset 0 1px rgba(255,255,255,.14);
  backdrop-filter:blur(12px);
  transition:transform .45s cubic-bezier(.22,.8,.28,1), box-shadow .45s, border-color .45s;
}
#learning-path .growth-step:nth-child(odd),
#programming .ic-card:nth-child(odd),
#why .why-card:nth-child(odd){animation:mh-float-a 6.4s ease-in-out infinite;}
#learning-path .growth-step:nth-child(even),
#programming .ic-card:nth-child(even),
#why .why-card:nth-child(even){animation:mh-float-b 7.2s ease-in-out infinite;}
#learning-path .growth-step:hover,
#robotics .term-chip:hover,
#programming .ic-card:hover,
#why .why-card:hover,
[data-home-section="session"] .session-card:hover{
  transform:translateY(-10px) scale(1.018);
  border-color:rgba(255,212,59,.72);
  box-shadow:0 24px 50px -24px rgba(32,191,255,.45),0 0 24px rgba(53,230,194,.12);
}
#learning-path .growth-step h3,
#robotics .term-chip h3,
#programming .ic-card h3,
#why .why-card h3{color:#fff;}
#learning-path .growth-step p,
#robotics .term-chip p,
#programming .ic-card p,
#why .why-card p{color:#d8e8ff;}
#learning-path .growth-step-num,
#programming .ic-icon{filter:drop-shadow(0 0 14px rgba(53,230,194,.32));}
#robotics .term-chip{border-radius:20px;}
#robotics .term-chip .term-num,
#programming .ic-term-num{color:#ffe27a;}
#robotics .track-line path{stroke:#35e6c2;}
#why .mh-founder-panel{
  display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,.7fr);
  gap:28px;align-items:center;margin:0 0 34px;padding:clamp(22px,4vw,42px);
  border:1px solid rgba(117,220,255,.3);border-radius:28px;
  color:#f7fbff;background:linear-gradient(120deg,rgba(32,191,255,.18),rgba(53,230,194,.09) 55%,rgba(255,212,59,.09));
  box-shadow:0 24px 60px -35px rgba(0,0,0,.7);
}
.mh-founder-kicker{display:inline-block;color:#ffe27a;font-size:13px;font-weight:800;margin-bottom:8px;}
.mh-founder-copy h3{font-size:clamp(23px,3vw,34px);margin:0 0 4px;color:#fff;}
.mh-founder-degree{color:#69e9df;font-weight:800;margin-bottom:14px!important;}
.mh-founder-copy p{color:#e0edff;line-height:2;margin:10px 0;}
.mh-founder-copy strong{display:block;color:#ffe27a;margin-top:16px;}
.mh-founder-orbit{width:min(100%,240px);aspect-ratio:1;border-radius:50%;margin:auto;display:grid;place-items:center;position:relative;
 background:radial-gradient(circle,#1d77a7 0%,#153a76 58%,#101b48 70%);border:1px solid rgba(255,212,59,.5);
 box-shadow:0 0 0 14px rgba(32,191,255,.06),0 0 55px rgba(32,191,255,.18);color:#fff;font-weight:900;}
.mh-founder-orbit span{font-size:58px;color:#ffe27a;}
.mh-founder-orbit i,.mh-founder-orbit b,.mh-founder-orbit em{position:absolute;font-style:normal;font-size:11px;letter-spacing:2px;color:#9cf7ed;}
.mh-founder-orbit i{top:20px;right:48px;color:#ffe27a;font-size:24px;}
.mh-founder-orbit b{bottom:42px;left:18px;}
.mh-founder-orbit em{top:46px;left:22px;}
@keyframes mh-float-a{0%,100%{translate:0 0}50%{translate:0 -7px}}
@keyframes mh-float-b{0%,100%{translate:0 0}50%{translate:0 7px}}
@media(max-width:700px){#why .mh-founder-panel{grid-template-columns:1fr}.mh-founder-orbit{width:170px;grid-row:1}}
@media(prefers-reduced-motion:reduce){#learning-path .growth-step,#programming .ic-card,#why .why-card{animation:none!important}}

[data-home-section="skills"]::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(circle at 18% 20%,rgba(255,212,59,.18),transparent 26%),
 radial-gradient(circle at 84% 78%,rgba(53,230,194,.2),transparent 30%),
 linear-gradient(130deg,#101b48,#174a80 55%,#10254d);
}
[data-home-section="skills"] .section-head h2{color:#fff}
[data-home-section="skills"] .skill-badge{
 display:inline-flex;align-items:center;margin:7px;padding:13px 20px;border-radius:999px;
 color:#fff;background:linear-gradient(135deg,rgba(32,191,255,.22),rgba(53,230,194,.13));
 border:1px solid rgba(117,220,255,.35);box-shadow:0 10px 26px -18px #000;
 animation:mh-float-a 6.8s ease-in-out infinite;
}
[data-home-section="skills"] .skill-badge:nth-child(even){animation-name:mh-float-b}

/* V25.3 — local branch discovery and location cards */
.branch-highlight{position:relative;overflow:hidden;padding:54px 0 62px;background:radial-gradient(ellipse at 12% 0%,rgba(47,232,200,.19),transparent 42%),radial-gradient(ellipse at 90% 100%,rgba(255,180,60,.13),transparent 38%),linear-gradient(125deg,#07152e,#102a55 52%,#073b55);border-top:1px solid rgba(76,220,220,.22);border-bottom:1px solid rgba(76,220,220,.22);color:#f4fbff}
.branch-highlight:before{content:"";position:absolute;width:320px;height:320px;border:1px solid rgba(74,220,215,.12);border-radius:50%;inset:auto -130px -210px auto;box-shadow:0 0 0 28px rgba(74,220,215,.025),0 0 0 58px rgba(74,220,215,.02);pointer-events:none}
.branch-highlight-heading{text-align:center;max-width:900px;margin:0 auto 28px;position:relative}
.branch-kicker{display:inline-block;color:#65f0d5;font-size:13px;font-weight:800;letter-spacing:.02em;margin-bottom:12px}
.branch-highlight-heading h2{font-size:clamp(22px,3.2vw,34px);line-height:1.7;margin:0 0 8px;color:#fff}
.branch-highlight-heading h2 strong{color:#ffcf62}
.branch-highlight-heading p{color:#c8d9ef;line-height:2;margin:0;font-size:15px}
.branch-highlight-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:900px;margin:auto;position:relative}
.branch-highlight-card{display:flex;align-items:center;gap:14px;padding:18px 20px;border:1px solid rgba(135,229,231,.28);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.045));color:#fff;text-decoration:none;backdrop-filter:blur(12px);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.branch-highlight-card:hover{transform:translateY(-5px);border-color:#5be7d2;box-shadow:0 14px 34px rgba(0,0,0,.2)}
.branch-card-icon{width:44px;height:44px;display:grid;place-items:center;flex:none;border-radius:14px;background:rgba(255,205,91,.15);font-size:22px}
.branch-highlight-card>span:nth-child(2){display:grid;gap:3px;min-width:0}.branch-highlight-card b{font-size:11px;color:#7fe9d8}.branch-highlight-card strong{font-size:18px}.branch-highlight-card small{font-size:12px;color:#c2d5e8;line-height:1.8}.branch-highlight-card>i{margin-right:auto;color:#ffcf62;font-style:normal;font-size:22px}
.branch-addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:min(900px,100%);margin:42px auto 24px;text-align:right}
.branch-address-card{padding:22px 24px;border:1px solid rgba(106,226,221,.24);border-radius:18px;background:linear-gradient(145deg,rgba(18,51,83,.88),rgba(8,22,47,.9));box-shadow:0 16px 40px rgba(0,0,0,.16)}
.branch-address-label{display:inline-block;color:#7cebd8;font-size:12px;font-weight:800;margin-bottom:8px}.branch-address-card h3{font-size:18px;color:#fff;margin:0 0 8px}.branch-address-card p{color:#d2e1f2;line-height:2;margin:0 0 10px;font-size:14px}.branch-service-area{color:#ffcf62;font-size:12px;font-weight:700}
@media(max-width:650px){.branch-highlight{padding:42px 0}.branch-highlight-cards,.branch-addresses{grid-template-columns:1fr}.branch-highlight-card{padding:15px}.branch-highlight-card strong{font-size:16px}.branch-addresses{margin-top:28px}.branch-address-card{padding:18px}}
@media(prefers-reduced-motion:reduce){.branch-highlight-card{transition:none!important}.branch-highlight-card:hover{transform:none}}

/* V25.4 — saturated, high-contrast learning sections */
#robotics.section-white,
#learning-path.section-light-blue,
#programming.section-white,
[data-home-section="skills"],
[data-home-section="projects_intro"],
[data-home-section="session"]{
  background:
    radial-gradient(ellipse at 12% 8%,rgba(53,230,194,.24),transparent 34%),
    radial-gradient(ellipse at 90% 88%,rgba(255,212,59,.19),transparent 32%),
    linear-gradient(128deg,#101d4c 0%,#123c75 48%,#075b78 100%) !important;
  color:#fff !important;
}
#robotics .section-head h2,#robotics .section-head .section-desc,
#learning-path .section-head h2,#programming .section-head h2,
#programming .section-head .section-desc,
[data-home-section="skills"] .section-head h2,
[data-home-section="projects_intro"] .section-head h2,
[data-home-section="session"] .section-head h2,
[data-home-section="session"] .section-desc{color:#fff!important}
#robotics .term-chip,#learning-path .growth-step,
[data-home-section="session"] .session-card{
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(222,247,255,.96))!important;
  border:1px solid rgba(53,230,194,.55)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.22),0 0 22px rgba(32,191,255,.12)!important;
}
#robotics .term-chip h3,#learning-path .growth-step h3{color:#0b1934!important}
#robotics .term-chip p,#learning-path .growth-step p{color:#244365!important}
#robotics .term-num{color:#006b91!important;font-weight:900}
#learning-path .growth-step-num{background:linear-gradient(135deg,#ffd43b,#ff9d2e)!important;color:#10264d!important;border:0!important}
[data-home-section="skills"] .skill-badge,
[data-home-section="projects_intro"] .project-tag{
  color:#10264d!important;background:linear-gradient(135deg,#ffe47a,#fff1b5)!important;
  border:1px solid #ffcf39!important;box-shadow:0 8px 20px rgba(0,0,0,.18)!important;font-weight:900;
}
#programming .ic-card{background:linear-gradient(145deg,#fff,#e6faff)!important;border:1px solid #38d9d0!important;box-shadow:0 18px 36px rgba(0,0,0,.2)!important}
#programming .ic-card h3{color:#10264d!important}#programming .ic-card p{color:#294b70!important}
#why .mh-founder-panel{background:linear-gradient(125deg,#101b48 0%,#075b78 58%,#123c75 100%)!important;border:1px solid rgba(255,212,59,.5)!important}
.mh-founder-kicker{color:#ffe27a!important;background:rgba(255,212,59,.13);padding:8px 12px;border-radius:999px}
.mh-founder-copy h3{color:#fff!important;text-shadow:0 2px 18px rgba(32,191,255,.3)}
.mh-founder-degree{color:#74fff0!important;font-size:1.08rem}
.mh-founder-copy p{color:#f0f7ff!important}
.mh-founder-copy strong{color:#14284c!important;background:linear-gradient(90deg,#ffe36c,#ffc83d);padding:12px 16px;border-radius:14px;line-height:1.9}
.mh-founder-visual{position:relative;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;overflow:hidden;border-radius:26px;background:radial-gradient(circle at 50% 40%,#26c9df 0%,#087b9d 36%,#10275b 76%);border:1px solid rgba(255,226,122,.65);box-shadow:0 0 55px rgba(32,191,255,.25),inset 0 0 35px rgba(255,255,255,.12)}
.mh-founder-visual:before,.mh-founder-visual:after{content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(255,255,255,.25);border-radius:50%;animation:mh-orbit-spin 22s linear infinite}
.mh-founder-visual:after{width:270px;height:150px;transform:rotate(-28deg);animation-duration:28s}
.mh-founder-visual img{position:relative;z-index:1;width:142px;height:142px;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(0,0,0,.28))}
.mh-founder-visual span{position:relative;z-index:1;color:#fff;font-weight:900;text-shadow:0 2px 10px #06234b}
@keyframes mh-orbit-spin{to{rotate:360deg}}
.course-video-link{display:inline-flex;align-items:center;gap:7px;margin-top:12px;padding:9px 13px;border-radius:999px;background:linear-gradient(110deg,#075b78,#087ea4);color:#fff!important;font-size:13px;font-weight:900;text-decoration:none;box-shadow:0 7px 16px rgba(0,73,112,.2);transition:transform .2s,filter .2s}
.course-video-link:hover{transform:translateY(-2px);filter:brightness(1.12)}
.video-embed-wrap video{display:block;width:100%;max-height:420px;background:#061329;border-radius:16px}
.video-card{scroll-margin-top:100px}
@media(max-width:700px){.mh-founder-visual{min-height:210px}.mh-founder-visual img{width:112px;height:112px}}
@media(prefers-reduced-motion:reduce){.mh-founder-visual:before,.mh-founder-visual:after{animation:none!important}}
