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

:root {
  --blue:#2563eb; --blue-light:#60a5fa; --blue-glow:rgba(37,99,235,0.35);
  --cyan:#06b6d4; --purple:#7c3aed; --pink:#db2777;
  --bg:#050813; --bg2:#080e1f;
  --card:rgba(255,255,255,0.03); --border:rgba(255,255,255,0.07);
  --text:#f8fafc; --muted:#64748b;
}

html { scroll-behavior:smooth; overflow-x:hidden; }
body { font-family:'DM Sans',sans-serif; background:var(--bg); color:var(--text); overflow-x:hidden; }
h1,h2,h3,.display { font-family:'Syne',sans-serif; }

::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:var(--blue); border-radius:10px; }

/* BG CANVAS */
#bg-canvas { position:fixed; inset:0; z-index:0; pointer-events:none; opacity:0.6; max-width:100vw; overflow:hidden; }

/* PAGE WATERMARK */
.page-watermark {
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 55%;
  opacity: 0.04;
  filter: grayscale(100%);
  transform: translateZ(0);
  will-change: transform;
  -webkit-transform: translateZ(0);
}

/* CURSOR GLOW */
#cursor-glow {
  position:fixed; width:400px; height:400px;
  background:radial-gradient(circle,rgba(37,99,235,0.07) 0%,transparent 70%);
  border-radius:50%; pointer-events:none; z-index:1;
  transform:translate(-50%,-50%); transition:all 0.15s ease;
}

/* GRID OVERLAY */
.grid-overlay {
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(37,99,235,0.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(37,99,235,0.03) 1px,transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse 80% 80% at 50% 50%,black 20%,transparent 100%);
}

/* ── NAVBAR ── */
.navbar {
  position:fixed; top:0; left:0; right:0; z-index:999;
  padding:20px 48px; display:flex; align-items:center; justify-content:space-between;
  transition:all 0.5s ease;
}
.navbar.scrolled {
  background:rgba(5,8,19,0.85); backdrop-filter:blur(24px);
  border-bottom:1px solid rgba(37,99,235,0.12); padding:13px 48px;
  box-shadow:0 4px 40px rgba(0,0,0,0.4);
}
.nav-logo { display:flex; align-items:center; gap:12px; text-decoration:none; }
.nav-logo-box {
  width:40px; height:40px; border-radius:12px;
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 24px rgba(37,99,235,0.5);
}
.nav-logo-text { font-family:'Syne',sans-serif; font-weight:800; font-size:18px; color:white; letter-spacing:-0.5px; }
.nav-links { display:flex; align-items:center; gap:32px; }
.nav-link { color:var(--muted); text-decoration:none; font-size:14px; font-weight:500; transition:color 0.3s; position:relative; }
.nav-link::after { content:''; position:absolute; bottom:-5px; left:0; width:0; height:1.5px; background:var(--blue-light); transition:width 0.3s; border-radius:2px; }
.nav-link:hover { color:white; }
.nav-link:hover::after { width:100%; }
.nav-btn { padding:9px 22px; border-radius:10px; font-size:13.5px; font-weight:600; text-decoration:none; transition:all 0.3s; font-family:'DM Sans',sans-serif; }
.nav-btn-ghost { border:1.5px solid rgba(37,99,235,0.4); color:#93c5fd; background:rgba(37,99,235,0.05); }
.nav-btn-ghost:hover { background:rgba(37,99,235,0.12); border-color:rgba(37,99,235,0.7); color:white; }
.nav-btn-solid { background:linear-gradient(135deg,#2563eb,#6d28d9); color:white; box-shadow:0 0 24px rgba(37,99,235,0.35); }
.nav-btn-solid:hover { transform:translateY(-2px); box-shadow:0 0 40px rgba(37,99,235,0.55); }

/* HAMBURGER */
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; z-index:1001; }
.hamburger span { width:24px; height:2px; background:white; border-radius:2px; transition:all 0.3s; display:block; }
.hamburger.open span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* MOBILE NAV DRAWER */
.mobile-nav {
  position:fixed; top:0; right:-100%; width:min(300px, 85vw); height:100vh;
  background:rgba(5,8,19,0.98); backdrop-filter:blur(24px);
  z-index:1000; padding:0;
  display:flex; flex-direction:column;
  transition:right 0.4s cubic-bezier(0.23,1,0.32,1);
  border-left:1px solid rgba(37,99,235,0.15);
  overflow-y:auto;
}
.mobile-nav.open { right:0; }
.mobile-nav-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 24px; border-bottom:1px solid rgba(37,99,235,0.15);
  position:sticky; top:0; background:rgba(5,8,19,0.98); z-index:1;
}
.mobile-nav-logo { display:flex; align-items:center; gap:10px; }
.mobile-nav-logo span { font-family:'Syne',sans-serif; font-weight:800; font-size:16px; color:white; }
.mobile-nav-close {
  width:36px; height:36px; border-radius:10px;
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:all 0.3s;
}
.mobile-nav-close:hover { background:rgba(239,68,68,0.15); border-color:rgba(239,68,68,0.3); }
.mobile-nav-links { display:flex; flex-direction:column; padding:16px 24px; gap:4px; flex:1; }
.mobile-nav .nav-link {
  font-size:15px; padding:13px 16px; border-radius:12px;
  color:#94a3b8; display:flex; align-items:center; gap:10px;
  border-bottom:none; transition:all 0.2s;
  background:transparent;
}
.mobile-nav .nav-link:hover, .mobile-nav .nav-link.active { background:rgba(37,99,235,0.1); color:white; }
.mobile-nav-divider { height:1px; background:rgba(255,255,255,0.06); margin:8px 0; }
.mobile-nav-btns { padding:16px 24px 32px; display:flex; flex-direction:column; gap:10px; }
.mobile-nav .nav-btn { text-align:center; width:100%; display:block; padding:13px 20px; }
.mobile-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.65); z-index:999; display:none; backdrop-filter:blur(2px); }
.mobile-overlay.open { display:block; }

/* ── HERO ── */
.hero {
  position:relative; min-height:100vh;
  display:flex; flex-direction:row; align-items:center; justify-content:center;
  text-align:left; padding:120px 80px 80px; z-index:2;
  gap:60px; flex-wrap:nowrap;
}
.hero-left {
  flex:1; min-width:0;
  display:flex; flex-direction:column; align-items:flex-start;
}
.hero-right {
  flex:0 0 420px; display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.orb { position:absolute; border-radius:50%; filter:blur(100px); pointer-events:none; animation:orbFloat 10s ease-in-out infinite; }
.orb-1 { width:600px; height:600px; background:rgba(37,99,235,0.07); top:-100px; left:-100px; }
.orb-2 { width:500px; height:500px; background:rgba(124,58,237,0.06); top:100px; right:-50px; animation-delay:3.5s; }
.orb-3 { width:350px; height:350px; background:rgba(6,182,212,0.05); bottom:0; left:30%; animation-delay:7s; }
@keyframes orbFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-40px) scale(1.06)} }

.hero-eyebrow {
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 20px; border-radius:100px;
  background:rgba(37,99,235,0.08); border:1px solid rgba(37,99,235,0.22);
  color:#93c5fd; font-size:13px; font-weight:500; margin-bottom:36px;
  opacity:0; animation:slideUp 0.7s ease 0.1s forwards;
}
.eyebrow-dot { width:7px; height:7px; background:#3b82f6; border-radius:50%; animation:pulseDot 2s ease-in-out infinite; box-shadow:0 0 8px #3b82f6; }
@keyframes pulseDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.6)} }

.hero-title {
  font-family:'Syne',sans-serif; font-size:clamp(36px,5.5vw,72px);
  font-weight:800; line-height:1.02; letter-spacing:-3px;
  margin-bottom:28px; opacity:0; animation:slideUp 0.9s ease 0.25s forwards;
}
.hero-title .t1 { display:block; color:white; }
.hero-title .t2 {
  display:block;
  background:linear-gradient(100deg,#3b82f6 0%,#8b5cf6 40%,#06b6d4 80%,#ec4899 100%);
  background-size:300% 300%; -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text;
  animation:gradMove 5s ease infinite;
}
@keyframes gradMove { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

.hero-sub { color:#64748b; font-size:18px; max-width:520px; line-height:1.75; margin-bottom:44px; opacity:0; animation:slideUp 0.9s ease 0.45s forwards; }
.hero-btns { display:flex; gap:14px; justify-content:flex-start; flex-wrap:wrap; opacity:0; animation:slideUp 0.9s ease 0.65s forwards; }

/* HERO IMAGE CONTAINER */
.hero-img-wrap {
  position:relative; width:400px; height:440px;
  margin:0 auto;
  opacity:0; animation:slideUp 0.9s ease 0.85s forwards;
  animation:slideUp 0.9s ease 0.85s forwards, floatUpDown 5s ease-in-out 1s infinite;
}
.hero-img-blob {
  position:absolute; inset:0;
  border-radius:60% 40% 55% 45% / 50% 45% 55% 50%;
  background:linear-gradient(135deg, rgba(37,99,235,0.25) 0%, rgba(124,58,237,0.2) 50%, rgba(6,182,212,0.15) 100%);
  box-shadow:
    0 0 80px rgba(37,99,235,0.3),
    0 0 140px rgba(124,58,237,0.15),
    inset 0 0 60px rgba(37,99,235,0.08);
  border:2px solid rgba(96,165,250,0.3);
  animation:blobMorph 8s ease-in-out infinite;
  overflow:hidden;
}
/* Photo inside the blob — clipped perfectly */
.hero-img-blob img {
  position:absolute;
  width:auto;
  height:115%;
  max-width:none;
  bottom:-5%; left:50%;
  transform:translateX(-50%);
  object-fit:cover;
  object-position:top center;
  z-index:2;
  filter:drop-shadow(0 -10px 30px rgba(37,99,235,0.4));
}
@keyframes blobMorph {
  0%,100%{border-radius:60% 40% 55% 45% / 50% 45% 55% 50%}
  33%{border-radius:45% 55% 40% 60% / 55% 40% 60% 45%}
  66%{border-radius:50% 50% 60% 40% / 40% 60% 45% 55%}
}
@keyframes floatUpDown {
  0%,100%{transform:translateY(0px)}
  50%{transform:translateY(-16px)}
}
/* OLD inner - hidden now */
.hero-img-inner { display:none; }
/* ── PHOTO YAHAN ADD KAREIN ──
   img tag ka src attribute change karein apni photo ke URL se:
   <img src="[static images/your-photo.png]" ...>
   Ya Cloudinary URL use karein
*/
.hero-img-placeholder {
  width:100%; height:100%; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:12px;
  color:rgba(37,99,235,0.5); font-size:13px; font-weight:500;
}
/* Floating icons around hero image */
.float-icon {
  position:absolute; width:44px; height:44px; border-radius:12px;
  background:rgba(37,99,235,0.12); border:1px solid rgba(37,99,235,0.2);
  display:flex; align-items:center; justify-content:center;
  animation:floatUpDown 4s ease-in-out infinite;
}
.float-icon:nth-child(1) { top:10px; right:-20px; animation-delay:0.5s; }
.float-icon:nth-child(2) { bottom:60px; left:-24px; animation-delay:1.5s; }
.float-icon:nth-child(3) { top:120px; left:-30px; animation-delay:2.5s; }

/* STATS */
.stats-row {
  display:flex; gap:48px; justify-content:flex-start; flex-wrap:wrap;
  margin-top:52px; opacity:0; animation:slideUp 0.9s ease 1s forwards;
}
.stat-item { text-align:center; }
.stat-num { font-family:'Syne',sans-serif; font-size:36px; font-weight:800; background:linear-gradient(135deg,#3b82f6,#8b5cf6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; line-height:1; }
.stat-label { color:#475569; font-size:13px; margin-top:6px; font-weight:500; }
.stat-divider { width:1px; background:rgba(255,255,255,0.07); align-self:stretch; margin:4px 0; }

/* BUTTONS */
.btn-primary {
  display:inline-flex; align-items:center; gap:9px;
  background:linear-gradient(135deg,#2563eb,#7c3aed); color:white;
  padding:14px 32px; border-radius:12px; font-weight:700; font-size:15px;
  text-decoration:none; transition:all 0.35s;
  box-shadow:0 0 30px rgba(37,99,235,0.4); position:relative; overflow:hidden;
  font-family:'DM Sans',sans-serif;
}
.btn-primary::before { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,0.18),transparent); transition:left 0.55s; }
.btn-primary:hover::before { left:100%; }
.btn-primary:hover { transform:translateY(-3px) scale(1.02); box-shadow:0 0 50px rgba(37,99,235,0.6); }
.btn-secondary {
  display:inline-flex; align-items:center; gap:9px;
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.1);
  color:#cbd5e1; padding:14px 30px; border-radius:12px; font-weight:600; font-size:15px;
  text-decoration:none; transition:all 0.3s; backdrop-filter:blur(8px); font-family:'DM Sans',sans-serif;
}
.btn-secondary:hover { background:rgba(255,255,255,0.08); border-color:rgba(37,99,235,0.4); color:white; transform:translateY(-3px); }

/* ── MARQUEE ── */
.marquee-outer { position:relative; z-index:2; overflow:hidden; padding:26px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:rgba(255,255,255,0.01); }
.marquee-track { display:flex; gap:52px; animation:marquee 22s linear infinite; width:max-content; }
.marquee-item { display:flex; align-items:center; gap:12px; color:#334155; font-size:13px; font-weight:600; white-space:nowrap; text-transform:uppercase; letter-spacing:1.5px; }
.marquee-dot { width:5px; height:5px; background:#2563eb; border-radius:50%; box-shadow:0 0 6px #2563eb; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── SECTION BASE ── */
.section { position:relative; z-index:2; padding:100px 24px; max-width:1200px; margin:0 auto; }
.section-eyebrow { display:inline-block; background:rgba(37,99,235,0.08); border:1px solid rgba(37,99,235,0.18); color:#60a5fa; font-size:11px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; padding:6px 16px; border-radius:100px; margin-bottom:18px; }
.section-title { font-family:'Syne',sans-serif; font-size:clamp(28px,4vw,52px); font-weight:800; color:white; letter-spacing:-1.5px; margin-bottom:12px; line-height:1.1; }
.section-sub { color:#475569; font-size:16px; line-height:1.7; max-width:480px; margin-top:12px; }
.accent-line { width:52px; height:3px; background:linear-gradient(90deg,#2563eb,#7c3aed); border-radius:10px; margin:14px 0 0; }

/* ── BOARDS / CLASSES SECTION (Image 2 style) ── */
.classes-tabs { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:32px; }
.class-tab {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 24px; border-radius:12px; font-size:14px; font-weight:600;
  cursor:pointer; transition:all 0.3s; border:1.5px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.03); color:#94a3b8; font-family:'DM Sans',sans-serif;
}
.class-tab.active { background:var(--blue); border-color:var(--blue); color:white; box-shadow:0 0 20px rgba(37,99,235,0.4); }
.class-tab:hover:not(.active) { border-color:rgba(37,99,235,0.4); color:white; }

.class-panel { display:none; }
.class-panel.active { display:flex; gap:32px; align-items:center; background:rgba(255,255,255,0.02); border:1px solid var(--border); border-radius:24px; padding:32px; }

.class-panel-img {
  width:340px; min-width:280px; height:220px; border-radius:16px;
  background:linear-gradient(135deg,rgba(37,99,235,0.15),rgba(124,58,237,0.1));
  border:1px solid rgba(37,99,235,0.2);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  overflow:hidden; position:relative;
}
/* ── CLASS PANEL IMAGE CHANGE KARNE KE LIYE ──
   Har panel ke andar img tag ka src change karein:
   class="panel-cbse" → CBSE ki photo
   class="panel-icse" → ICSE ki photo  
   class="panel-wbbse" → WBBSE ki photo
*/
.class-panel-content { flex:1; }
.class-panel-title { font-family:'Syne',sans-serif; font-size:28px; font-weight:800; color:white; margin-bottom:10px; }
.class-panel-desc { color:#64748b; font-size:15px; line-height:1.7; margin-bottom:20px; }
.class-rating { display:flex; align-items:center; gap:8px; margin-bottom:20px; }
.stars { color:#f59e0b; font-size:18px; letter-spacing:2px; }
.rating-num { font-weight:700; color:white; font-size:16px; }
.rating-count { color:#64748b; font-size:14px; }
.class-tools { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:24px; }
.tool-badge { padding:5px 14px; border-radius:8px; background:rgba(37,99,235,0.1); border:1px solid rgba(37,99,235,0.2); color:#60a5fa; font-size:12px; font-weight:600; }
.class-btns { display:flex; gap:12px; flex-wrap:wrap; }

/* ── COURSES SECTION (Image 3 style) - Coming Soon ── */
.courses-outer { position:relative; z-index:2; background:linear-gradient(135deg,rgba(37,99,235,0.08),rgba(124,58,237,0.05)); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:80px 24px; }
.courses-inner { max-width:1200px; margin:0 auto; }
.courses-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:22px; margin-top:48px; }
.course-card {
  position:relative; border-radius:22px; padding:0; overflow:hidden;
  border:1px solid rgba(37,99,235,0.15); background:rgba(15,20,50,0.8);
  transition:all 0.4s; cursor:pointer;
  min-height:280px; display:flex; flex-direction:column; align-items:center; justify-content:flex-end;
}
.course-card:hover { transform:translateY(-8px) scale(1.02); border-color:rgba(37,99,235,0.4); box-shadow:0 30px 60px rgba(37,99,235,0.15); }
.course-card-bg { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:80px; opacity:0.15; }
.course-card-content { position:relative; z-index:1; width:100%; padding:24px; background:linear-gradient(to top,rgba(5,8,19,0.95) 60%,transparent); }
.course-card-title { font-family:'Syne',sans-serif; font-size:20px; font-weight:800; color:white; margin-bottom:4px; letter-spacing:1px; }
.course-card-link { color:var(--blue-light); font-size:13px; font-weight:600; }
/* COMING SOON OVERLAY */
.cs-overlay {
  position:absolute; inset:0; background:rgba(5,8,19,0.75);
  backdrop-filter:blur(2px); display:flex; align-items:center; justify-content:center;
  border-radius:22px; z-index:2;
}
.cs-tag {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 22px; border-radius:100px;
  background:rgba(37,99,235,0.15); border:1.5px solid rgba(37,99,235,0.4);
  color:#60a5fa; font-size:13px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  animation:csPulse 2.5s ease-in-out infinite;
}
@keyframes csPulse { 0%,100%{box-shadow:0 0 0 0 rgba(37,99,235,0)} 50%{box-shadow:0 0 0 8px rgba(37,99,235,0.1)} }

/* ── NUMBERS SECTION (Image 4 style) ── */
.numbers-outer { position:relative; z-index:2; padding:80px 24px; }
.numbers-inner { max-width:1100px; margin:0 auto; }
.numbers-grid {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  grid-template-rows:auto auto;
  gap:18px;
  margin-top:52px;
}
.num-card {
  border-radius:22px; padding:36px 28px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; transition:transform 0.35s ease;
  position:relative; overflow:hidden;
}
.num-card:hover { transform:translateY(-6px) scale(1.02); }
.num-card::before { content:''; position:absolute; inset:0; opacity:0.08; border-radius:22px; }
.num-card.red { background:linear-gradient(135deg,#ef4444,#dc2626); grid-column:1; grid-row:1; }
.num-card.orange { background:linear-gradient(135deg,#f97316,#ea580c); grid-column:2; grid-row:1; }
.num-card.blue-big { background:linear-gradient(135deg,#3b82f6,#2563eb); grid-column:1/3; grid-row:2; }
.num-card.dark { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); grid-column:3; grid-row:1/3; }
.num-val { font-family:'Syne',sans-serif; font-size:clamp(32px,4vw,52px); font-weight:800; color:white; line-height:1; }
.num-label { font-size:14px; font-weight:600; color:rgba(255,255,255,0.85); margin-top:8px; }

/* ── BOARDS GRID (existing) ── */
.boards-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:22px; margin-top:60px; }
.board-card {
  position:relative; background:var(--card); border:1px solid var(--border);
  border-radius:24px; padding:42px 34px; text-decoration:none; cursor:pointer;
  overflow:hidden; transition:transform 0.4s cubic-bezier(0.23,1,0.32,1),border-color 0.4s,box-shadow 0.4s;
  transform-style:preserve-3d; will-change:transform;
}
.board-card::after { content:''; position:absolute; top:0; left:-100%; width:60%; height:100%; background:linear-gradient(90deg,transparent,rgba(255,255,255,0.04),transparent); transform:skewX(-20deg); transition:left 0.6s; z-index:0; }
.board-card:hover::after { left:160%; }
.board-card:hover { border-color:rgba(37,99,235,0.35); box-shadow:0 30px 70px rgba(0,0,0,0.5); }
.board-card.blue:hover { border-color:rgba(37,99,235,0.45); box-shadow:0 30px 70px rgba(37,99,235,0.12); }
.board-card.green:hover { border-color:rgba(34,197,94,0.45); box-shadow:0 30px 70px rgba(34,197,94,0.1); }
.board-card.purple:hover { border-color:rgba(168,85,247,0.45); box-shadow:0 30px 70px rgba(168,85,247,0.1); }
.board-card > * { position:relative; z-index:1; }
.board-icon-wrap { width:68px; height:68px; border-radius:18px; display:flex; align-items:center; justify-content:center; margin-bottom:26px; transition:transform 0.4s; }
.board-card.blue .board-icon-wrap { background:rgba(37,99,235,0.12); }
.board-card.green .board-icon-wrap { background:rgba(34,197,94,0.12); }
.board-card.purple .board-icon-wrap { background:rgba(168,85,247,0.12); }
.board-card:hover .board-icon-wrap { transform:scale(1.12) rotate(6deg); }
.board-name { font-family:'Syne',sans-serif; font-size:28px; font-weight:800; color:white; letter-spacing:-1px; margin-bottom:10px; }
.board-desc { color:#475569; font-size:14px; line-height:1.6; margin-bottom:28px; }
.board-cta { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; transition:gap 0.3s; }
.board-card.blue .board-cta { color:#60a5fa; }
.board-card.green .board-cta { color:#4ade80; }
.board-card.purple .board-cta { color:#c084fc; }
.board-card:hover .board-cta { gap:14px; }

/* ── FEATURES ── */
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; margin-top:60px; }
.feature-card { background:rgba(8,14,35,0.92); border:1px solid rgba(255,255,255,0.1); border-radius:20px; padding:32px 28px; transition:all 0.35s; position:relative; overflow:hidden; backdrop-filter:blur(12px); }
.feature-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,transparent,var(--accent,#3b82f6),transparent); opacity:0; transition:opacity 0.4s; }
.feature-card:hover::before { opacity:1; }
.feature-card:hover { background:rgba(12,20,50,0.97); border-color:rgba(37,99,235,0.35); transform:translateY(-6px); box-shadow:0 24px 50px rgba(0,0,0,0.5); }
.feature-icon-box { width:54px; height:54px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; transition:transform 0.3s; }
.feature-card:hover .feature-icon-box { transform:scale(1.08); }
.feature-title { font-family:'Syne',sans-serif; font-size:17px; font-weight:700; color:white; margin-bottom:9px; }
.feature-desc { color:#475569; font-size:14px; line-height:1.65; }

/* ── LEARN GROW SUCCEED (Image 6 style) ── */
.lgs-section {
  position:relative; z-index:2;
  background:linear-gradient(135deg,#1d4ed8,#2563eb,#1e40af);
  padding:80px 24px; overflow:hidden;
}
.lgs-section::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 70% 50%,rgba(255,255,255,0.08) 0%,transparent 60%); }
.lgs-inner { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; position:relative; z-index:1; }
.lgs-title { font-family:'Syne',sans-serif; font-size:clamp(28px,3.5vw,44px); font-weight:800; color:white; line-height:1.15; margin-bottom:18px; letter-spacing:-1px; }
.lgs-desc { color:rgba(255,255,255,0.75); font-size:15px; line-height:1.75; margin-bottom:32px; }
.lgs-btn { display:inline-flex; align-items:center; gap:9px; background:white; color:#1d4ed8; padding:13px 28px; border-radius:10px; font-weight:700; font-size:14px; text-decoration:none; transition:all 0.3s; font-family:'DM Sans',sans-serif; }
.lgs-btn:hover { transform:translateY(-2px); box-shadow:0 12px 30px rgba(0,0,0,0.2); }
/* GIF containers */
.lgs-gifs { display:flex; flex-direction:column; gap:20px; align-items:center; }
.gif-row { display:flex; gap:16px; justify-content:center; }
.gif-box {
  width:120px; height:120px; border-radius:20px;
  background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.2);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:8px; font-size:36px; transition:transform 0.3s;
  animation:floatUpDown 3s ease-in-out infinite;
  /* ── GIF YAHAN ADD KAREIN ──
     Background image ya img tag use karein:
     background: url('your-gif-url.gif') center/cover;
  */
}
.gif-box:nth-child(2) { animation-delay:1s; }
.gif-box:nth-child(3) { animation-delay:2s; }
.gif-box:hover { transform:scale(1.08); }
.gif-label { font-size:11px; font-weight:600; color:rgba(255,255,255,0.8); text-align:center; padding:0 6px; }

/* ── INTERNSHIP (Image 7) - Coming Soon ── */
.internship-outer { position:relative; z-index:2; padding:80px 24px; }
.internship-inner { max-width:1100px; margin:0 auto; }
.internship-cs-box {
  margin-top:48px; border-radius:28px;
  background:var(--card); border:1px solid var(--border);
  padding:60px 40px; text-align:center; position:relative; overflow:hidden;
}
.internship-cs-box::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(37,99,235,0.04),rgba(124,58,237,0.04)); }
.internship-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:36px; opacity:0.4; filter:blur(2px); pointer-events:none; }
.internship-placeholder { height:160px; border-radius:16px; background:linear-gradient(135deg,rgba(37,99,235,0.1),rgba(124,58,237,0.08)); border:1px solid rgba(37,99,235,0.15); }
.internship-cs-overlay {
  position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:20px; z-index:2;
}

/* ── TEAM / PHOTO SECTION (Image 8 style) ── */
.team-outer { position:relative; z-index:2; padding:80px 24px; }
.team-inner { max-width:1100px; margin:0 auto; }
.team-photo-wrap {
  margin-top:48px; border-radius:24px; overflow:hidden;
  border:1px solid var(--border);
  background:rgba(37,99,235,0.05);
  /* ── PHOTO YAHAN ADD KAREIN ──
     Yeh container hai. Andar img tag ka src change karein:
     src="[static images/team-photo.jpg]"
     Ya Cloudinary se: src="[cloudinary team_photo_url]"
     
     HEIGHT change karne ke liye: min-height value badlein
  */
  min-height:400px; display:flex; align-items:center; justify-content:center;
  position:relative;
}
.team-photo-placeholder { display:flex; flex-direction:column; align-items:center; gap:16px; color:rgba(37,99,235,0.4); }
/* Actual photo tag - src change karein */
.team-actual-photo { width:100%; height:auto; display:block; border-radius:24px; }

/* ── FAQ (Image 9 style) ── */
.faq-outer {
  position:relative; z-index:2; padding:80px 24px;
  background:linear-gradient(180deg,var(--bg) 0%,rgba(8,14,31,0.8) 100%);
}
.faq-inner { max-width:860px; margin:0 auto; }
.faq-list { margin-top:48px; display:flex; flex-direction:column; gap:12px; }
.faq-item { border-radius:16px; background:rgba(37,99,235,0.06); border:1px solid rgba(37,99,235,0.15); overflow:hidden; transition:all 0.3s; }
.faq-item.open { background:rgba(37,99,235,0.1); border-color:rgba(37,99,235,0.3); }
.faq-q {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:20px 24px; cursor:pointer; background:none; border:none; color:white;
  font-family:'DM Sans',sans-serif; font-size:15px; font-weight:600; text-align:left;
  gap:16px;
}
.faq-q:hover { color:#93c5fd; }
.faq-icon { width:28px; height:28px; border-radius:50%; background:rgba(37,99,235,0.15); border:1px solid rgba(37,99,235,0.3); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all 0.3s; }
.faq-item.open .faq-icon { background:var(--blue); border-color:var(--blue); transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.3s; }
.faq-a-inner { padding:0 24px 20px; color:#64748b; font-size:14px; line-height:1.75; }
.faq-item.open .faq-a { max-height:400px; }

/* ── FAQ STAGGERED ENTRY ANIMATION ── */
@keyframes faqSlideUp {
  0%   { opacity:0; transform:translateY(38px) scale(0.96); }
  55%  { border-color:rgba(59,130,246,0.6); box-shadow:0 0 0 1px rgba(59,130,246,0.3), 0 16px 48px rgba(37,99,235,0.22); }
  100% { opacity:1; transform:translateY(0) scale(1); }
}
.faq-item.faq-will-animate {
  opacity: 0;
  transform: translateY(38px) scale(0.96);
}
.faq-item.faq-animate {
  animation: faqSlideUp 0.65s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* ── CONTACT US (Image 10 style) ── */
.contact-outer { position:relative; z-index:2; padding:80px 24px 100px; }
.contact-inner { max-width:1200px; margin:0 auto; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr 1fr 1fr; gap:24px; margin-top:52px; }
.contact-col { }
.contact-col-title { font-family:'Syne',sans-serif; font-size:13px; font-weight:700; letter-spacing:2px; text-transform:uppercase; margin-bottom:20px; }
.contact-col-title.blue { color:#3b82f6; }
.contact-col-title.cyan { color:#06b6d4; }
.contact-col-title.green { color:#22c55e; }
.contact-col-title.orange { color:#f97316; }
.contact-item { display:flex; align-items:flex-start; gap:10px; margin-bottom:14px; color:#64748b; font-size:14px; line-height:1.6; }
.contact-item svg { flex-shrink:0; margin-top:2px; }
.contact-link { color:#64748b; text-decoration:none; transition:color 0.3s; }
.contact-link:hover { color:var(--blue-light); }
.contact-page-link { display:block; color:#94a3b8; text-decoration:none; font-size:14px; margin-bottom:10px; transition:color 0.3s; font-weight:500; }
.contact-page-link:hover { color:var(--blue-light); }
.social-row { display:flex; gap:12px; margin-top:4px; }
.social-btn {
  width:38px; height:38px; border-radius:10px;
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1);
  display:flex; align-items:center; justify-content:center;
  transition:all 0.3s; text-decoration:none;
}
.social-btn:hover { background:rgba(37,99,235,0.15); border-color:rgba(37,99,235,0.3); transform:translateY(-3px); }
.contact-address { color:#475569; font-size:13px; line-height:1.6; margin-bottom:14px; display:flex; gap:8px; align-items:flex-start; }
.still-issue-btn { display:inline-flex; align-items:center; gap:8px; background:#ef4444; color:white; padding:10px 20px; border-radius:10px; font-size:13px; font-weight:700; text-decoration:none; transition:all 0.3s; margin-top:12px; letter-spacing:0.5px; }
.still-issue-btn:hover { background:#dc2626; transform:translateY(-2px); }

/* ── FOOTER BOTTOM ── */
.footer { position:relative; z-index:2; border-top:1px solid var(--border); padding:36px 24px; text-align:center; }
.footer-logo { display:inline-flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-copy { color:#1e293b; font-size:13px; }

/* ── CTA ── */
.cta-outer { position:relative; z-index:2; padding:0 24px 100px; }
.cta-card { max-width:860px; margin:0 auto; background:rgba(37,99,235,0.04); border:1px solid rgba(37,99,235,0.14); border-radius:32px; padding:72px 56px; text-align:center; position:relative; overflow:hidden; }
.cta-card::before { content:''; position:absolute; top:-60%; left:-60%; width:220%; height:220%; background:radial-gradient(circle at center,rgba(37,99,235,0.06) 0%,transparent 55%); animation:rotateSlow 14s linear infinite; }
@keyframes rotateSlow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.cta-card > * { position:relative; z-index:1; }
.cta-title { font-family:'Syne',sans-serif; font-size:clamp(26px,4vw,44px); font-weight:800; letter-spacing:-1.5px; color:white; margin:14px 0 16px; }
.cta-sub { color:#475569; font-size:16px; line-height:1.7; max-width:460px; margin:0 auto 40px; }

/* ── ANIMATIONS ── */
@keyframes slideUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideDown { from{opacity:0;transform:translateY(-18px)} to{opacity:1;transform:translateY(0)} }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .hero { padding:120px 40px 70px; gap:40px; }
  .hero-right { flex:0 0 340px; }
  .hero-img-wrap { width:300px; height:380px; }
  .numbers-grid { grid-template-columns:1fr 1fr; }
  .num-card.blue-big { grid-column:1/3; }
  .num-card.dark { grid-column:1/3; grid-row:auto; }
  .contact-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .lgs-inner { grid-template-columns:1fr; }
  .lgs-gifs { flex-direction:row; justify-content:center; }
  .internship-grid { grid-template-columns:1fr 1fr; }
  .class-panel { flex-direction:column; }
  .class-panel-img { width:100%; min-width:unset; height:200px; }
}
@media (max-width:768px) {
  /* NAVBAR */
  .navbar { padding:14px 18px; }
  .navbar.scrolled { padding:11px 18px; }
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .nav-logo-text { font-size:15px; }

  /* ORB OVERFLOW FIX */
  .orb-1 { width:280px; height:280px; top:-60px; left:-80px; }
  .orb-2 { width:240px; height:240px; top:60px; right:-60px; }
  .orb-3 { width:180px; height:180px; left:20%; }

  /* HERO */
  .hero { padding:100px 18px 60px; text-align:center; flex-direction:column; gap:40px; }
  .hero-left { align-items:center; }
  .hero-right { flex:none; width:100%; }
  .hero-title { font-size:clamp(30px,8vw,48px); letter-spacing:-2px; }
  .hero-sub { font-size:15px; max-width:100%; }
  .hero-btns { flex-direction:column; align-items:center; gap:10px; }
  .btn-primary,.btn-secondary { width:100%; max-width:280px; justify-content:center; font-size:14px; padding:13px 24px; }
  .hero-eyebrow { font-size:12px; padding:7px 16px; }
  .hero-img-wrap { width:260px; height:320px; }
  .float-icon { width:36px; height:36px; }
  .stats-row { justify-content:center; }

  /* STATS */
  .stats-row { gap:16px; flex-wrap:wrap; justify-content:center; margin-top:40px; }
  .stat-divider { display:none; }
  .stat-num { font-size:28px; }
  .stat-label { font-size:12px; }

  /* SECTIONS */
  .section { padding:56px 18px; }
  .section-title { font-size:clamp(24px,6vw,38px); letter-spacing:-1px; }
  .section-sub { font-size:14px; }

  /* CLASSES */
  .classes-tabs { gap:8px; }
  .class-tab { padding:8px 14px; font-size:12px; gap:6px; }
  .class-tab svg { display:none; }
  .class-panel { flex-direction:column; padding:18px; gap:20px; border-radius:18px; }
  .class-panel.active { flex-direction:column; }
  .class-panel-img { width:100%; min-width:unset; height:160px; border-radius:12px; }
  .class-panel-title { font-size:22px; }
  .class-panel-desc { font-size:14px; }
  .class-tools { gap:8px; }
  .tool-badge { font-size:11px; padding:4px 10px; }
  .class-btns { flex-direction:column; gap:10px; }
  .class-btns a { width:100%; text-align:center; justify-content:center; }

  /* BOARDS */
  .boards-grid { grid-template-columns:1fr; gap:16px; }

  /* FEATURES */
  .features-grid { grid-template-columns:1fr 1fr; gap:14px; margin-top:32px; }
  .feature-card { padding:22px 18px; }
  .feature-title { font-size:14px; }
  .feature-desc { font-size:13px; }

  /* NUMBERS */
  .numbers-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .num-card.blue-big { grid-column:1/3; }
  .num-card.dark { grid-column:1/3; }
  .num-card { padding:28px 20px; border-radius:18px; }
  .num-val { font-size:clamp(28px,7vw,40px) !important; }
  .num-label { font-size:12px; }

  /* COURSES */
  .courses-grid { grid-template-columns:1fr; gap:16px; }
  .course-card { min-height:220px; }
  .courses-outer { padding:56px 18px; }

  /* LGS SECTION */
  .lgs-section { padding:56px 18px; }
  .lgs-inner { grid-template-columns:1fr; gap:40px; }
  .lgs-title { font-size:clamp(22px,6vw,32px); }
  .lgs-gifs { flex-direction:column; align-items:center; }
  .gif-row { flex-wrap:wrap; justify-content:center; }
  .gif-box { width:140px !important; height:140px !important; }

  /* INTERNSHIP */
  .internship-grid { grid-template-columns:1fr; }
  .internship-outer { padding:56px 18px; }

  /* CONTACT */
  .contact-grid { grid-template-columns:1fr; gap:24px; }
  .contact-outer { padding:56px 18px; }
  .contact-col-title { font-size:10px; }

  /* TEAM */
  .team-outer { padding:56px 18px; }
  .team-photo-wrap { min-height:220px; border-radius:18px; }

  /* CTA */
  .cta-outer { padding:0 18px 72px; }
  .cta-card { padding:40px 20px; border-radius:22px; }
  .cta-title { font-size:clamp(22px,6vw,34px); letter-spacing:-1px; }
  .cta-sub { font-size:14px; }
  .cta-card > div { flex-direction:column; align-items:center; }
  .cta-card > div a { width:100%; max-width:260px; justify-content:center; }

  /* FOOTER */
  .footer { padding:28px 18px; }
  .footer-copy { font-size:12px; }

  /* FAQ */
  .faq-q { font-size:14px; padding:16px 18px; }
  .faq-a { font-size:13px; }
}
@media (max-width:480px) {
  /* HERO */
  .hero { padding:90px 16px 50px; }
  .hero-title { font-size:clamp(30px,10vw,48px); letter-spacing:-1.5px; }
  .hero-btns { gap:8px; }
  .btn-primary,.btn-secondary { max-width:100%; padding:12px 20px; font-size:13px; }
  .hero-img-wrap { width:220px; height:270px; }

  /* ORB OVERFLOW FIX - EXTRA SMALL */
  .orb-1 { width:200px; height:200px; top:-40px; left:-60px; }
  .orb-2 { width:180px; height:180px; top:40px; right:-50px; }
  .orb-3 { width:140px; height:140px; left:15%; }

  /* NUMBERS */
  .numbers-grid { grid-template-columns:1fr 1fr; }
  .num-card.blue-big,.num-card.dark { grid-column:1/3; }

  /* FEATURES */
  .features-grid { grid-template-columns:1fr; gap:12px; }

  /* SECTION */
  .section { padding:48px 16px; }
  .section-title { font-size:clamp(22px,7vw,32px); }

  /* CLASSES TABS scroll on small screens */
  .classes-tabs { overflow-x:auto; flex-wrap:nowrap; padding-bottom:6px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .classes-tabs::-webkit-scrollbar { display:none; }
  .class-tab { flex-shrink:0; }
}
/* ════════════════════════════════════════════════
   IRON MAN 3D BOARD SELECTOR
   ════════════════════════════════════════════════ */

/* Section override so it has enough vertical space */
.im-section { overflow: visible; }

/* ── Arena ── */
.im-arena {
  position: relative;
  height: 440px;
  margin-top: 48px;
  width: 100%;
}

/* ── Arrow Buttons ── */
.im-arr-btns {
  position: absolute;
  top: 44%; transform: translateY(-50%);
  width: 100%; left: 0;
  display: flex; justify-content: space-between;
  padding: 0 6px; z-index: 30; pointer-events: none;
}
.im-abtn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(96,165,250,0.3);
  background: rgba(5,8,19,0.88);
  color: #60a5fa; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  pointer-events: all; transition: all 0.2s;
  backdrop-filter: blur(10px);
}
.im-abtn:hover { border-color: #60a5fa; background: rgba(96,165,250,0.12); }

/* ── Cards Wrapper ── */
.im-cards-wrap {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; height: 400px;
  z-index: 10;
}

/* ── Individual Card ── */
.im-bcard {
  position: absolute; top: 0; left: 50%;
  width: 230px;
  transform-origin: center bottom;
  transition: all 0.65s cubic-bezier(0.34,1.4,0.64,1);
  cursor: pointer;
}
.im-bcard-inner {
  background: linear-gradient(160deg, rgba(15,23,42,0.97), rgba(7,15,30,0.99));
  border: 1px solid rgba(96,165,250,0.08);
  border-radius: 20px; padding: 24px 20px 20px;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}
.im-bcard.im-active .im-bcard-inner {
  border-color: rgba(96,165,250,0.55);
  box-shadow: 0 0 30px rgba(96,165,250,0.18), 0 18px 55px rgba(0,0,0,0.72);
}
/* corner accents */
.im-ctl { position: absolute; top: 9px; left: 9px; width: 11px; height: 11px; border-top: 1.5px solid rgba(96,165,250,0.4); border-left: 1.5px solid rgba(96,165,250,0.4); }
.im-cbr { position: absolute; bottom: 9px; right: 9px; width: 11px; height: 11px; border-bottom: 1.5px solid rgba(96,165,250,0.4); border-right: 1.5px solid rgba(96,165,250,0.4); }
/* top holographic line */
.im-hline { position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px 2px 0 0; }
/* scan line on active card */
@keyframes imScanline { 0%{transform:translateY(-100%);opacity:0.5} 100%{transform:translateY(400%);opacity:0} }
.im-bcard.im-active .im-bcard-inner::before {
  content: ''; position: absolute; left: 0; right: 0; height: 40px;
  background: linear-gradient(transparent, rgba(96,165,250,0.03), transparent);
  animation: imScanline 3s linear infinite; pointer-events: none; z-index: 0;
}
/* board icon circle */
.im-bicon {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
}
.im-bcard.im-active .im-bicon { transform: scale(1.08); }
.im-bname { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.im-btag  { font-size: 11px; color: #475569; margin-bottom: 11px; line-height: 1.4; }
.im-bcard.im-active .im-btag { color: #64748b; }
.im-bpills { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: 11px; }
.im-bpill  { font-size: 10px; font-weight: 700; letter-spacing: 0.3px; padding: 3px 8px; border-radius: 8px; }
.im-brating { font-size: 12px; color: #64748b; margin-bottom: 14px; }
.im-brating span { color: #f59e0b; }
.im-brating small { color: #475569; }
.im-bbtns { display: flex; gap: 8px; justify-content: center; }
.im-bbtn-p {
  padding: 8px 16px; font-size: 12px; font-weight: 700;
  border: none; border-radius: 8px; color: #fff; cursor: pointer;
  text-decoration: none; display: inline-block;
  font-family: 'DM Sans', sans-serif; transition: transform 0.2s, opacity 0.2s;
}
.im-bbtn-p:hover { transform: translateY(-1px); opacity: 0.9; }
.im-bbtn-s {
  padding: 8px 16px; font-size: 12px; font-weight: 700;
  background: transparent; border: 1px solid rgba(96,165,250,0.28);
  color: #60a5fa; border-radius: 8px; cursor: pointer;
  text-decoration: none; display: inline-block;
  font-family: 'DM Sans', sans-serif; transition: border-color 0.2s, background 0.2s;
}
.im-bbtn-s:hover { border-color: #60a5fa; background: rgba(96,165,250,0.1); }

/* ── Ring Platform ── */
.im-ring-wrap {
  position: absolute;
  width: 280px; height: 140px;
  z-index: 3; pointer-events: none;
  top: 360px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.im-ring-svg { width: 100%; height: 100%; overflow: visible; }

/* orbiting dots */
.im-orb {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.im-orb1 {
  width: 10px; height: 10px;
  background: #60a5fa;
  box-shadow: 0 0 10px 3px rgba(96,165,250,0.9), 0 0 20px 5px rgba(96,165,250,0.4);
  offset-path: ellipse(138px 66px at 50% 50%);
  animation: imOrbit 3s linear infinite;
}
.im-orb2 {
  width: 7px; height: 7px;
  background: #06b6d4;
  box-shadow: 0 0 8px 2px rgba(6,182,212,0.9), 0 0 16px 4px rgba(6,182,212,0.4);
  offset-path: ellipse(138px 66px at 50% 50%);
  animation: imOrbit 3s linear infinite;
  animation-delay: -1.5s;
}
.im-orb3 {
  width: 5px; height: 5px;
  background: #a78bfa;
  box-shadow: 0 0 6px 2px rgba(167,139,250,0.9);
  offset-path: ellipse(138px 66px at 50% 50%);
  animation: imOrbit 5s linear infinite reverse;
  animation-delay: -0.8s;
}
@keyframes imOrbit {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}

/* ── Nav Dots ── */
.im-ndots { display: flex; gap: 9px; justify-content: center; margin-top: 12px; }
.im-ndot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid rgba(96,165,250,0.35);
  cursor: pointer; transition: all 0.3s; background: transparent;
}
.im-ndot.active { background: #60a5fa; box-shadow: 0 0 8px rgba(96,165,250,0.6); width: 22px; border-radius: 4px; }

/* ── Progress Bar ── */
.im-prog-bar  { width: 170px; margin: 11px auto 0; height: 2px; background: rgba(255,255,255,0.05); border-radius: 2px; overflow: hidden; }
.im-prog-fill { height: 100%; background: linear-gradient(90deg,#2563eb,#06b6d4); border-radius: 2px; width: 0%; }

/* ── Info Panel ── */
.im-info-p { margin-top: 24px; min-height: 80px; text-align: center; }
.im-ip-title    { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.im-ip-desc     { font-size: 14px; color: #475569; line-height: 1.7; max-width: 560px; margin: 0 auto; }
.im-ip-students { margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .im-arena { height: 420px; }
  .im-bcard { width: 200px; }
  .im-ring-wrap { width: 230px; height: 115px; }
  .im-orb1 { offset-path: ellipse(113px 55px at 50% 50%); }
  .im-orb2 { offset-path: ellipse(113px 55px at 50% 50%); }
  .im-orb3 { offset-path: ellipse(113px 55px at 50% 50%); }
}
@media (max-width: 480px) {
  .im-arena { height: 400px; }
  .im-bcard { width: 185px; }
  .im-bname { font-size: 16px; }
  .im-bbtns { flex-direction: column; gap: 6px; }
  .im-bbtn-p, .im-bbtn-s { width: 100%; text-align: center; }
}

/* =========================================================
   REFINED ENHANCEMENTS — preserves original futuristic style
   ========================================================= */

:root {
  --surface-1: rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.055);
  --surface-3: rgba(255,255,255,0.075);
  --border-strong: rgba(96,165,250,0.18);
  --text-soft: #94a3b8;
  --shadow-soft: 0 18px 50px rgba(2,6,23,0.38);
  --shadow-blue: 0 18px 55px rgba(37,99,235,0.16);
  --shadow-purple: 0 18px 55px rgba(124,58,237,0.12);
}

body {
  background:
    radial-gradient(circle at 15% 20%, rgba(37,99,235,0.12), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(124,58,237,0.09), transparent 24%),
    linear-gradient(180deg, #050813 0%, #060b16 38%, #050813 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 18%, transparent 82%, rgba(37,99,235,0.03));
}

.navbar {
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: linear-gradient(180deg, rgba(5,8,19,0.92), rgba(5,8,19,0.78));
  border-bottom: 1px solid rgba(96,165,250,0.14);
  box-shadow: 0 14px 40px rgba(2,6,23,0.34);
}

.nav-link {
  color: var(--text-soft);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(96,165,250,0.2);
}

.nav-btn,
.btn-primary,
.btn-secondary,
.class-tab,
.social-btn,
.still-issue-btn,
.lgs-btn,
.im-bbtn-p,
.im-bbtn-s {
  transform: translateY(0);
  will-change: transform, box-shadow;
}

.nav-btn-solid,
.btn-primary {
  box-shadow: 0 12px 32px rgba(37,99,235,0.24), inset 0 1px 0 rgba(255,255,255,0.14);
}

.nav-btn-solid:hover,
.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(37,99,235,0.32), 0 0 40px rgba(37,99,235,0.22);
}

.nav-btn-ghost,
.btn-secondary {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-color: rgba(148,163,184,0.18);
}

.hero {
  gap: 72px;
}

.hero-title {
  text-wrap: balance;
}

.hero-sub,
.section-sub,
.class-panel-desc,
.feature-desc,
.board-desc,
.cta-sub,
.faq-a-inner,
.contact-item,
.contact-link,
.contact-address,
.im-ip-desc,
.rating-count {
  color: var(--text-soft);
}

.hero-eyebrow,
.section-eyebrow,
.cs-tag,
.tool-badge {
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-img-blob {
  box-shadow:
    0 0 90px rgba(37,99,235,0.24),
    0 0 150px rgba(124,58,237,0.12),
    inset 0 0 70px rgba(255,255,255,0.03);
}

.stats-row {
  gap: 28px;
}

.stat-item {
  min-width: 108px;
  padding: 10px 0;
}

.marquee-outer,
.courses-outer,
.faq-outer {
  background-blend-mode: screen;
}

.section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.class-panel.active,
.feature-card,
.board-card,
.course-card,
.faq-item,
.cta-card,
.team-photo-wrap,
.internship-cs-box,
.im-bcard-inner {
  box-shadow: var(--shadow-soft);
}

.class-panel.active {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.025));
  border: 1px solid rgba(148,163,184,0.14);
}

.class-panel:hover,
.feature-card:hover,
.board-card:hover,
.course-card:hover,
.faq-item.open,
.cta-card:hover,
.team-photo-wrap:hover {
  box-shadow: var(--shadow-soft), var(--shadow-blue);
}

.class-panel-img,
.team-photo-wrap,
.course-card,
.feature-card,
.board-card,
.cta-card,
.internship-cs-box,
.faq-item {
  position: relative;
  isolation: isolate;
}

.class-panel-img::after,
.feature-card::after,
.board-card::before,
.course-card::before,
.cta-card::after,
.internship-cs-box::after,
.team-photo-wrap::after,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.class-panel-img::after,
.team-photo-wrap::after {
  border: 1px solid rgba(255,255,255,0.08);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  opacity: 0.7;
}

.feature-card::after,
.board-card::before,
.course-card::before,
.cta-card::after,
.internship-cs-box::after,
.faq-item::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 28%, transparent 72%, rgba(96,165,250,0.08));
  opacity: 0.6;
}

.feature-card {
  background: linear-gradient(180deg, rgba(10,16,37,0.96), rgba(8,14,35,0.88));
  border-color: rgba(148,163,184,0.14);
}

.feature-card:hover {
  border-color: var(--border-strong);
}

.feature-icon-box {
  background: linear-gradient(180deg, rgba(37,99,235,0.16), rgba(37,99,235,0.08));
  border: 1px solid rgba(96,165,250,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.board-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
}

.board-name,
.feature-title,
.class-panel-title,
.course-card-title,
.cta-title,
.im-ip-title,
.lgs-title {
  text-wrap: balance;
}

.board-desc,
.feature-desc,
.class-panel-desc,
.im-btag,
.im-brating small,
.section-sub,
.footer-copy {
  color: #7f8ea5;
}

.course-card {
  border-color: rgba(96,165,250,0.13);
}

.course-card-content {
  background: linear-gradient(to top, rgba(5,8,19,0.98) 52%, rgba(5,8,19,0.72) 74%, transparent 100%);
}

.num-card {
  box-shadow: var(--shadow-soft);
}

.num-card.dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-color: rgba(148,163,184,0.16);
}

.faq-item {
  background: linear-gradient(180deg, rgba(37,99,235,0.07), rgba(37,99,235,0.045));
}

.faq-item.open {
  border-color: rgba(96,165,250,0.28);
}

.faq-q {
  transition: color 0.3s ease, background 0.3s ease;
}

.faq-q:hover {
  background: rgba(255,255,255,0.02);
}

.contact-grid {
  align-items: start;
}

.contact-col {
  padding: 18px 18px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid rgba(148,163,184,0.1);
  box-shadow: 0 12px 34px rgba(2,6,23,0.2);
}

.social-btn {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
}

.cta-card {
  background: linear-gradient(180deg, rgba(37,99,235,0.07), rgba(124,58,237,0.05));
  border-color: rgba(96,165,250,0.16);
}

.lgs-section {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 60px rgba(29,78,216,0.14);
}

.im-bcard-inner {
  border-color: rgba(96,165,250,0.12);
}

.im-bbtn-p,
.im-bbtn-s,
.btn-primary,
.btn-secondary,
.nav-btn,
.class-tab,
.social-btn,
.still-issue-btn,
.lgs-btn {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.im-bbtn-s:hover,
.class-tab:hover,
.social-btn:hover,
.lgs-btn:hover,
.still-issue-btn:hover {
  box-shadow: 0 12px 28px rgba(2,6,23,0.24);
}

.footer {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02));
}

.footer-copy {
  color: #6f829a;
}

@media (max-width: 1024px) {
  .hero {
    gap: 44px;
  }

  .section {
    padding-top: 84px;
    padding-bottom: 84px;
  }
}

@media (max-width: 768px) {
  body::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent 24%, transparent 76%, rgba(37,99,235,0.02));
  }

  .contact-col {
    padding: 16px;
    border-radius: 16px;
  }

  .hero-sub,
  .section-sub,
  .class-panel-desc,
  .feature-desc,
  .board-desc,
  .cta-sub,
  .faq-a-inner,
  .contact-item,
  .contact-link,
  .contact-address,
  .im-ip-desc {
    line-height: 1.7;
  }

  .feature-card,
  .board-card,
  .course-card,
  .faq-item,
  .cta-card,
  .team-photo-wrap,
  .internship-cs-box,
  .class-panel.active {
    box-shadow: 0 10px 28px rgba(2,6,23,0.28);
  }
}

@media (max-width: 480px) {
  .stats-row {
    gap: 10px;
  }

  .stat-item {
    min-width: 92px;
  }

  .contact-col {
    padding: 14px;
  }
}
