/* =====================================================
   TechZex Training Institute – Main Stylesheet
   Author: TechZex
   ===================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand palette */
  --primary: #6C63FF;
  --primary-dark: #5A52E0;
  --primary-light: #9D94FF;
  --accent: #F97316;
  --accent-hover: #EA6C0B;
  --green: #10B981;
  --teal: #06B6D4;
  --bg-dark: #0A0F1E;
  --bg-card: #111827;
  --bg-card2: #1A2235;
  --border: rgba(255,255,255,.08);
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-light: #CBD5E1;
  --gradient-main: linear-gradient(135deg, #6C63FF, #A855F7);
  --gradient-cta: linear-gradient(135deg, #F97316, #EF4444);
  --shadow-card: 0 4px 24px rgba(0,0,0,.4);
  --shadow-glow: 0 0 40px rgba(108,99,255,.2);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-xl: 24px;

  --secondary: var(--accent);
  --secondary-dark: var(--accent-hover);
  --blue: #60a5fa;
  --cyan: var(--teal);
  --violet: #A855F7;
  --dark: var(--bg-dark);
  --dark-2: var(--bg-card);
  --dark-3: var(--bg-card2);
  --dark-4: #1F2937;
  --gray: var(--text-muted);
  --light-gray: #64748b;
  --border-bright: rgba(255,255,255,.15);
  --light: var(--bg-card);
  --white: #ffffff;
  --text: var(--text-main);
  --gradient: var(--gradient-main);
  --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #6C63FF 100%);
  --gradient-warm: var(--gradient-cta);
  --gradient-cyan: linear-gradient(135deg, var(--teal) 0%, var(--primary) 100%);
  --glow-primary: var(--shadow-glow);
  --glow-pink: 0 0 30px rgba(249,115,22,.35);
  --glow-cyan: 0 0 30px rgba(6,182,212,.25);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.5);
  --shadow: 0 4px 6px rgba(0,0,0,.5);
  --shadow-md: 0 10px 15px rgba(0,0,0,.6);
  --shadow-lg: 0 20px 30px rgba(0,0,0,.6);
  --shadow-xl: 0 25px 50px rgba(0,0,0,.8);
  --radius-lg: var(--radius-xl);
  --radius-full: 9999px;
  --transition: all .3s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', system-ui, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--white);
}

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(108,99,255,.12);
  color: var(--primary-light);
  border: 1px solid rgba(108,99,255,.25);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.section-tag.orange { background: rgba(249,115,22,.12); color: var(--secondary); border-color: rgba(249,115,22,.25); }
.section-tag.green  { background: rgba(16,185,129,.1);  color: var(--green);    border-color: rgba(16,185,129,.2); }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108,99,255,.5);
}
.btn-secondary {
  background: var(--gradient-cta);
  color: var(--white);
  border-color: transparent;
}
.btn-secondary:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249,115,22,.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border-color: rgba(108,99,255,.4);
}
.btn-outline:hover {
  background: rgba(108,99,255,.1);
  border-color: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn-sm { padding: .38rem .95rem; font-size: .8rem; }
.nav-cta.btn-sm { padding: .38rem 1rem; font-size: .78rem; letter-spacing: .01em; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 600;
}
.badge-blue   { background: rgba(108,99,255,.15); color: var(--primary-light); border: 1px solid rgba(108,99,255,.2); }
.badge-orange { background: rgba(249,115,22,.12); color: var(--secondary); border: 1px solid rgba(249,115,22,.2); }
.badge-green  { background: rgba(16,185,129,.1);  color: var(--green); border: 1px solid rgba(16,185,129,.2); }
.badge-purple { background: rgba(168,85,247,.12); color: var(--violet); border: 1px solid rgba(168,85,247,.2); }

.highlight { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.highlight-orange { color: var(--secondary); }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10,15,30,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(108,99,255,.15);
  border-bottom-color: rgba(108,99,255,.2);
}

/* Bootstrap may load on some pages (student dashboard); keep course-site navbar layout */
nav.navbar.techzex-site-navbar {
  --bs-navbar-padding-y: 0;
  --bs-navbar-padding-x: 0;
  display: block;
  flex-wrap: nowrap;
}
nav.navbar.techzex-site-navbar > .container {
  display: block;
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 42px; height: 42px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  font-weight: 900;
  font-family: var(--font-heading);
}
.nav-logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--white); }
.nav-logo-text span { color: var(--primary-light); }
.nav-logo-text em { color: var(--secondary); font-style: normal; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  padding: .5rem .85rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(108,99,255,.12);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--gradient);
  border-radius: 50%;
}

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 200px;
  width: max-content;
  max-width: 320px;
  background: var(--dark-3);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), var(--glow-primary);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: rgba(108,99,255,.12); color: var(--white); }
.nav-dropdown a i { width: 18px; color: var(--primary-light); }

.nav-cta { margin-left: .75rem; }

/* Logout + Enroll (e.g. student portal) — keeps CTA aligned with main site */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: .75rem;
  flex-shrink: 0;
}
.nav-cta-group .nav-cta {
  margin-left: 0;
}

/* Student login — pill ghost (aligned with internship landing nav) */
nav.navbar.techzex-site-navbar .tz-nav-student-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.35rem;
  margin: 0;
  border: 1px solid #3f407a;
  border-radius: 9999px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: inherit;
  line-height: 1.25;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
nav.navbar.techzex-site-navbar .tz-nav-student-login i {
  color: #fff;
  font-size: 0.95rem;
  width: auto;
}
nav.navbar.techzex-site-navbar .tz-nav-student-login:hover {
  border-color: #5a5fc4;
  background: rgba(63, 64, 122, 0.28);
  color: #fff;
}
nav.navbar.techzex-site-navbar .tz-nav-student-login:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

/* Mobile drawer: same pill, centered */
.mobile-nav button.tz-nav-student-login.tz-nav-student-login--drawer {
  width: auto;
  max-width: 100%;
  margin: 0.65rem auto 0;
  align-self: center;
  border-bottom: none;
  padding: 0.6rem 1.4rem;
}
.mobile-nav button.tz-nav-student-login.tz-nav-student-login--drawer i {
  color: #fff;
}

/* Profile trigger + logout row — menu panel matches .nav-dropdown above */
.nav-profile-wrap {
  position: relative;
}
.nav-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}
.nav-profile-btn:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}
.nav-profile-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.25);
  border: 1px solid rgba(167, 139, 250, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--primary-light);
}
.nav-profile-chevron {
  font-size: 0.65rem;
  margin-left: 0.15rem;
  opacity: 0.85;
}
.nav-profile-wrap .nav-profile-dropdown {
  min-width: 200px;
}
.nav-dropdown-logout {
  display: block;
  width: 100%;
  text-align: left;
  padding: .6rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  cursor: pointer;
}
.nav-dropdown-logout:hover {
  background: rgba(108,99,255,.12);
  color: var(--white);
}
.nav-dropdown-logout i {
  width: 18px;
  color: var(--primary-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,.75);
  border-radius: 2px;
  transition: var(--transition);
}
.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); }

/* ---------- HERO ---------- */
/* ============================================================
   HERO — dark, modern, animated
   ============================================================ */
.hero {
  min-height: 100vh;
  background: #0A0F1E;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

/* ── Orb float keyframes ── */
@keyframes heroOrbFloat1 {
  0%,100% { transform: translate(0, 0)      scale(1);    opacity: .22; }
  33%      { transform: translate(40px, 25px) scale(1.08); opacity: .30; }
  66%      { transform: translate(-20px, 35px) scale(.95); opacity: .18; }
}
@keyframes heroOrbFloat2 {
  0%,100% { transform: translate(0, 0)       scale(1);    opacity: .16; }
  40%      { transform: translate(-35px,-22px) scale(1.10); opacity: .24; }
  70%      { transform: translate(20px, 10px)  scale(.93);  opacity: .12; }
}
@keyframes heroOrbFloat3 {
  0%,100% { transform: translate(0, 0)      scale(1);    opacity: .12; }
  50%      { transform: translate(25px,-30px) scale(1.15); opacity: .20; }
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: transform, opacity;
}
.hero-orb-1 {
  width: 550px; height: 550px;
  background: rgba(108,99,255,1);
  top: -120px; left: -120px;
  animation: heroOrbFloat1 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 420px; height: 420px;
  background: rgba(168,85,247,1);
  bottom: -80px; right: 10%;
  animation: heroOrbFloat2 10s ease-in-out infinite;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: rgba(249,115,22,1);
  top: 30%; left: 40%;
  animation: heroOrbFloat3 8s ease-in-out infinite;
}

/* ── Hero canvas (particle network) ── */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Subtle static dot-grid as base layer ── */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── Floating code fragments ── */
@keyframes heroCodeDrift {
  0%   { transform: translateY(0)    rotate(var(--rot,0deg)); opacity: 0; }
  8%   { opacity: var(--op,.15); }
  88%  { opacity: var(--op,.15); }
  100% { transform: translateY(-90px) rotate(var(--rot,2deg)); opacity: 0; }
}
@keyframes heroCodeGlow {
  0%,100% { text-shadow: 0 0 6px currentColor, 0 0 12px currentColor; }
  50%      { text-shadow: 0 0 2px currentColor; }
}
@keyframes heroCodeBlink {
  0%,49% { opacity: var(--op,.15); }
  50%,100% { opacity: calc(var(--op,.15) * .3); }
}

.hero-code-float {
  position: absolute;
  font-family: 'Courier New', 'Fira Code', monospace;
  font-size: .7rem;
  font-weight: 700;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
  animation: heroCodeDrift linear infinite;
  will-change: transform, opacity;
}
.hero-code-float::after {
  content: '▌';
  opacity: 0;
  animation: heroCodeBlink .9s step-end infinite;
  margin-left: 1px;
}

/* Individual code fragments — spread across hero */
.hcf1  { color:#9D94FF; left:4%;   top:18%; animation-duration:9s;  animation-delay:0s;   --rot:-2deg; --op:.18; }
.hcf2  { color:#22d3ee; left:13%;  top:62%; animation-duration:11s; animation-delay:1.4s; --rot:1deg;  --op:.16; }
.hcf3  { color:#fbbf24; left:5%;   top:80%; animation-duration:8s;  animation-delay:3s;   --rot:-1deg; --op:.14; }
.hcf4  { color:#F97316; left:58%;  top:72%; animation-duration:10s; animation-delay:0.5s; --rot:2deg;  --op:.17; }
.hcf5  { color:#10B981; left:70%;  top:22%; animation-duration:12s; animation-delay:2s;   --rot:-2deg; --op:.18; }
.hcf6  { color:#9D94FF; left:80%;  top:50%; animation-duration:9.5s;animation-delay:4s;   --rot:1deg;  --op:.14; }
.hcf7  { color:#A855F7; left:88%;  top:78%; animation-duration:7.5s;animation-delay:1s;   --rot:-3deg; --op:.16; }
.hcf8  { color:#22d3ee; left:90%;  top:12%; animation-duration:8.5s;animation-delay:2.8s; --rot:2deg;  --op:.15; }
.hcf9  { color:#fbbf24; left:52%;  top:40%; animation-duration:13s; animation-delay:3.5s; --rot:-1deg; --op:.12; }
.hcf10 { color:#F97316; left:40%;  top:85%; animation-duration:10s; animation-delay:0.8s; --rot:2deg;  --op:.14; }
.hcf11 { color:#10B981; left:63%;  top:8%;  animation-duration:11s; animation-delay:4.5s; --rot:-2deg; --op:.16; }
.hcf12 { color:#6C63FF; left:75%;  top:38%; animation-duration:8s;  animation-delay:1.6s; --rot:1deg;  --op:.18; }

/* Glitch flicker on two fragments */
.hcf3 { animation-name: heroCodeDrift, heroCodeBlink; animation-duration: 8s, 2.3s; animation-delay: 3s, 1s; }
.hcf8 { animation-name: heroCodeDrift, heroCodeGlow;  animation-duration: 8.5s, 2s; animation-delay: 2.8s, 0s; }

/* Inner layout */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 4.5rem 0;
}

/* ── LEFT copy ── */

/* Animated badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(108,99,255,.12);
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(108,99,255,.35);
  padding: .35rem 1rem;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  letter-spacing: .02em;
}
.hero-badge strong { color: #a5b4fc; }
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
  animation: heroPulse 2s ease-in-out infinite;
}
@keyframes heroPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  50%      { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}

/* Headline */
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}
.hero-highlight {
  display: block;
  background: linear-gradient(135deg, #6C63FF, #A855F7, #F97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-typewriter {
  min-height: 1.12em;
  min-width: 14ch;
  white-space: nowrap;
}

.hero-typewriter-text {
  background: linear-gradient(135deg, #6C63FF, #A855F7, #F97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 4px;
  vertical-align: -0.08em;
  background: linear-gradient(180deg, #9D94FF, #A855F7);
  border-radius: 1px;
  animation: heroCursorBlink 0.9s step-end infinite;
}

@keyframes heroCursorBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-typewriter-cursor { display: none; }
}

/* Sub text — short single line */
.hero-text {
  font-size: .98rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 460px;
}

/* CTA buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

/* Stat pills row */
.hero-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-full);
  padding: .28rem .75rem;
}
.hero-pill i { color: var(--primary-light); font-size: .7rem; }

/* ── RIGHT visual ── */
.hero-visual { position: relative; }

/* Floating chips */
.hero-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  padding: .4rem .9rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  animation: float 3.5s ease-in-out infinite;
}
.hero-chip-tl {
  top: -1rem; left: -1rem;
  background: rgba(251,191,36,.15);
  border: 1px solid rgba(251,191,36,.35);
  color: #fbbf24;
}
.hero-chip-br {
  bottom: -1rem; right: -1rem;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.3);
  color: #34d399;
  animation-delay: 1.8s;
}
.hero-chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  animation: heroPulse 2s ease-in-out infinite;
}

/* Main card */
.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 2;
}
.hero-card-label {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}
.hero-courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-bottom: 1.25rem;
}
.hero-course-pill {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: .7rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  transition: var(--transition);
}
.hero-course-pill:hover {
  background: rgba(108,99,255,.15);
  border-color: rgba(108,99,255,.35);
  color: var(--white);
  transform: translateY(-2px);
}
.hero-course-pill i { font-size: 1.15rem; }
.hero-card-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin-bottom: 1.1rem;
}

/* Mini stats inside card */
.hero-card-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: .35rem .45rem;
  width: 100%;
}
.hero-card-stat {
  text-align: center;
  min-width: 0;
  padding: 0 .15rem;
}
.hero-card-stat-val {
  font-size: 1.35rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
}
.hero-card-stat-lbl {
  font-size: .62rem;
  color: rgba(255,255,255,.38);
  margin-top: .3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.hero-card-stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.1);
  justify-self: center;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding: 3.5rem 0; text-align: center; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-pills { justify-content: center; }
}
@media (max-width: 768px) {
  .hero-inner { gap: 2.25rem; padding: 2.75rem 0 3rem; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    margin-bottom: 1rem;
  }
  .hero-typewriter {
    min-width: 0;
    white-space: normal;
  }
  .hero-text {
    font-size: .92rem;
    margin-bottom: 1.5rem;
    max-width: 34rem;
    padding: 0 .25rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto 1.5rem;
    gap: .7rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
  }
  .hero-pill {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-visual { max-width: 100%; width: 100%; }
  .hero-card {
    padding: 1.35rem 1.15rem;
    text-align: left;
  }
  .hero-card-label { text-align: center; }
  .hero-courses-grid {
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
  }
  .hero-course-pill {
    justify-content: center;
    padding: .65rem .55rem;
    font-size: .78rem;
    gap: .45rem;
  }
  .hero-card-stats {
    gap: .25rem .3rem;
  }
  .hero-card-stat-val { font-size: 1.15rem; }
  .hero-card-stat-lbl {
    font-size: .58rem;
    letter-spacing: .02em;
  }
  .hero-card-stat-sep { height: 28px; }
}
@media (max-width: 560px) {
  .hero-chip-tl, .hero-chip-br { display: none; }
}

/* ---------- ANNOUNCEMENT BAR ---------- */
.announcement-bar {
  background: linear-gradient(90deg, rgba(108,99,255,.18) 0%, rgba(168,85,247,.18) 50%, rgba(108,99,255,.18) 100%);
  border-bottom: 1px solid rgba(108,99,255,.2);
  color: rgba(255,255,255,.75);
  text-align: center;
  padding: .45rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  position: relative;
  z-index: 999;
  backdrop-filter: blur(8px);
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.announcement-bar a { color: #a5b4fc; font-weight: 700; text-decoration: none; }
.announcement-bar a:hover { color: white; }

/* ---------- STATS STRIP ---------- */
.stats-strip {
  background: var(--dark);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
  line-height: 1;
}
.stat-label { font-size: .875rem; color: rgba(255,255,255,.6); margin-top: .4rem; }

/* ---------- FEATURES STRIP ---------- */
.features-strip { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: white; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.fi-blue { background: rgba(29,78,216,.1); color: var(--primary); }
.fi-orange { background: rgba(245,158,11,.12); color: var(--secondary-dark); }
.fi-green { background: rgba(16,185,129,.12); color: var(--green); }
.fi-purple { background: rgba(124,58,237,.1); color: #7c3aed; }
.feature-text h4 { font-size: .9rem; font-weight: 700; margin-bottom: .1rem; color: var(--white); }
.feature-text p { font-size: .8rem; color: var(--gray); }
.feature-item:hover .feature-text h4 { color: var(--dark-3); }

/* ---------- METHODOLOGY: CLASS STRUCTURE STEP CARDS ---------- */
.cs-step-card{
  transition: var(--transition);
  cursor: default;
}
.cs-step-card h4{
  color: var(--dark-3);
}
.cs-step-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.cs-step-card:hover h4{
  color: var(--primary);
}
.cs-step-card:nth-child(2):hover h4{ color: var(--secondary-dark); }
.cs-step-card:nth-child(3):hover h4{ color: var(--accent); }
.cs-step-card:nth-child(4):hover h4{ color: #7c3aed; }

/* ---------- COURSES CARDS ---------- */
/* ============================================================
   COURSES SLIDER
   ============================================================ */
.cs-section { background: var(--dark) !important; }

/* Duration toggle */
.cs-dur-toggle {
  display: inline-flex;
  gap: .5rem;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: .3rem;
  margin-bottom: 2rem;
}
.cs-dur-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.4rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: rgba(255,255,255,.45);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.cs-dur-btn.active {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(108,99,255,.35);
}
.cs-dur-btn .cs-dur-sub {
  font-size: .65rem;
  font-weight: 600;
  opacity: .75;
}
@media (max-width: 480px) {
  .cs-dur-btn { padding: .45rem .9rem; font-size: .75rem; }
  .cs-dur-btn .cs-dur-sub { display: none; }
}

/* Price row inside card */
.cs-price-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: .75rem;
  flex-wrap: wrap;
}
.cs-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-heading);
  transition: all .3s;
}
.cs-price-market {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-decoration: line-through;
  transition: all .3s;
}
.cs-discount {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.3);
  color: #34d399;
  border-radius: var(--radius-full);
  padding: .15rem .55rem;
}

/* Header row: title left, arrows right */
.cs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.cs-arrows { display: flex; gap: .6rem; flex-shrink: 0; }
.cs-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  background: var(--dark-3);
  color: var(--white);
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cs-arrow:hover  { background: var(--gradient); border-color: transparent; box-shadow: 0 0 16px rgba(108,99,255,.4); }
.cs-arrow:disabled { opacity: .35; cursor: not-allowed; }

/* Slider viewport — clips the track */
.cs-viewport {
  overflow: visible;        /* allow hover lift to show fully */
  border-radius: var(--radius-lg);
  /* clip only left/right for the sliding, not top/bottom */
  clip-path: inset(0 0 -40px 0);  /* lets top overflow show on hover */
}
.cs-track {
  display: flex;
  gap: 1.25rem;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Individual card */
.cs-card {
  flex: 0 0 calc(25% - 1rem);   /* 4 cards visible */
  min-width: 0;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
}
.cs-card:hover {
  border-color: rgba(108,99,255,.35);
  box-shadow: 0 20px 40px rgba(0,0,0,.5), 0 0 20px rgba(108,99,255,.15);
  transform: translateY(-5px);
}

/* Image banner area */
.cs-card-img {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--dark-2);
}
.cs-img-java   { background-color: #78350f; }
.cs-img-python { background-color: #1e3a5f; }
.cs-img-mern   { background-color: #064e3b; }
.cs-img-php    { background-color: #3b0764; }

.cs-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.cs-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.2) 45%,
    transparent 100%
  );
}
.cs-card-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  z-index: 3;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  color: #fbbf24;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .22rem .65rem;
  border-radius: var(--radius-full);
}
.cs-badge-cyan { color: #22d3ee; }

/* Card body */
.cs-card-body { padding: 1.1rem 1.1rem .9rem; flex: 1; }
.cs-card-body h3 { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: .4rem; }
.cs-card-body p  { font-size: .78rem; color: var(--gray); line-height: 1.65; margin-bottom: .75rem; }
/* EMI line */
.cs-emi {
  font-size: .68rem;
  color: rgba(255,255,255,.38);
  margin-top: .35rem;
}
.cs-emi strong { color: #34d399; font-weight: 700; }

/* Course card description — max 2 lines */
.cs-card-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
  margin-bottom: .6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cs-card-tags {
  display: inline-flex;
}
.cs-card-tags > span {
  font-size: .68rem; font-weight: 600;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-full);
  padding: .25rem .85rem;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
/* inner label spans — plain text, no pill */
.cs-card-tags span span { background: none; border: none; padding: 0; border-radius: 0; }
.cs-card-footer {
  padding: .85rem 1.1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  background: rgba(0,0,0,.3);
  flex-shrink: 0;
}
.cs-duration {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .73rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  white-space: nowrap;
}
.cs-duration i { color: var(--primary-light); font-size: .65rem; }

/* "Know More" pill button inside card footer */
.cs-know-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--gradient);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  padding: .4rem .9rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
  text-decoration: none;
}
.cs-know-btn:hover {
  opacity: .88;
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(108,99,255,.4);
}

/* Dots */
.cs-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}
.cs-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-bright);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.cs-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gradient);
}

/* Laptop / desktop: show courses as a grid (rows & columns), not a slider */
@media (min-width: 1025px) {
  .cs-viewport {
    overflow: visible;
    clip-path: none;
  }
  .cs-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1.25rem;
    transform: none !important;
  }
  .cs-card { flex: none; }
  .cs-arrows,
  .cs-dots { display: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .cs-card { flex: 0 0 calc(50% - .65rem); }
}
@media (max-width: 600px) {
  .cs-card { flex: 0 0 calc(100%); }
  .cs-header { align-items: flex-start; }
}

/* Legacy course-card (used on other pages) */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.course-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), var(--glow-primary);
  border-color: rgba(108,99,255,.3);
}
.course-card-top {
  padding: 2rem 2rem 1.5rem;
  position: relative;
}
.course-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.cc-java { background: linear-gradient(135deg,#f59e0b,#ef4444); color: white; }
.cc-python { background: linear-gradient(135deg,#3b82f6,#10b981); color: white; }
.cc-mern { background: linear-gradient(135deg,#10b981,#06b6d4); color: white; }
.cc-php { background: linear-gradient(135deg,#7c3aed,#5A52E0); color: white; }

.course-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; color: var(--white); }
.course-card p { font-size: .9rem; color: var(--gray); line-height: 1.7; }
.course-card-meta {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.course-card-bottom {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,.2);
}
.course-duration { font-size: .82rem; color: var(--gray); font-weight: 500; }
.course-duration strong { color: var(--white); }
.course-card-tag {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gradient);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ============================================================
   WHY TECHZEX — Dark Glassmorphism Bento Grid
   ============================================================ */
.why-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.why-section::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,.1) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.why-card {
  background: linear-gradient(145deg, rgba(30,30,53,.9) 0%, rgba(22,22,42,.9) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}
.why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108,99,255,.35);
  box-shadow: 0 20px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(108,99,255,.15), inset 0 1px 0 rgba(255,255,255,.05);
}
.why-card > * { position: relative; z-index: 1; }
.why-icon {
  width: 56px; height: 56px;
  background: rgba(108,99,255,.12);
  border: 1px solid rgba(108,99,255,.2);
  color: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: rgba(108,99,255,.2);
  border-color: rgba(108,99,255,.4);
  color: var(--white);
  box-shadow: 0 0 20px rgba(108,99,255,.3);
}
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--white); }
.why-card p { font-size: .87rem; color: var(--gray); line-height: 1.75; }
.why-card-num {
  position: absolute;
  bottom: 1rem; right: 1.25rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,.03);
  font-family: var(--font-heading);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   ABOUT PAGE — Our Story (why-choose-us)
   ============================================================ */
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.about-story-copy,
.about-story-cards {
  min-width: 0;
  max-width: 100%;
}
.about-story-text {
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}
.about-story-text--last { margin-bottom: 1.5rem; }

.about-story-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}
.about-story-stat-val {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
}
.about-story-stat-lbl {
  font-size: .85rem;
  color: var(--gray);
  margin-top: .2rem;
}

.about-story-cards {
  display: grid;
  gap: 1rem;
}
.about-story-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.about-story-card--vision {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  box-shadow: none;
}
.about-story-card-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
  color: inherit;
}
.about-story-card-icon--mission { color: var(--secondary-dark); }
.about-story-card-icon--values { color: var(--accent); }
.about-story-card h3 {
  margin-bottom: .5rem;
  color: var(--dark);
  font-size: 1.05rem;
}
.about-story-card--vision h3 { color: white; }
.about-story-card p {
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.7;
  margin: 0;
}
.about-story-card--vision p {
  color: rgba(255,255,255,.85);
}

@media (max-width: 900px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-story-card {
    padding: 1.25rem 1.35rem;
    gap: 1rem;
  }
  .about-story-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .about-story-stat { text-align: center; }
  .about-story-stat-val { font-size: 1.45rem; }
  .about-story-stat-lbl { font-size: .78rem; }
}
@media (max-width: 480px) {
  .about-story-stats {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .about-story-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    padding: .75rem 1rem;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .about-story-stat-lbl { margin-top: 0; }
  .about-story-card {
    flex-direction: column;
    gap: .75rem;
  }
}

/* ============================================================
   TRAINERS — Dark Holographic Cards
   ============================================================ */
.trainers-section {
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}
.trainers-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(108,99,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}
.trainer-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.trainer-card::after{
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  opacity:.95;
  z-index:2;
}
.trainer-card:nth-child(1)::after { background: linear-gradient(90deg,#5A52E0,#6C63FF); }
.trainer-card:nth-child(2)::after { background: linear-gradient(90deg,#10b981,#22d3ee); }
.trainer-card:nth-child(3)::after { background: linear-gradient(90deg,#7c3aed,#F97316); }
.trainer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 0;
}
.trainer-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108,99,255,.4);
  box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 40px rgba(108,99,255,.2);
}
.trainer-card > * { position: relative; z-index: 1; }
.trainer-avatar-wrap {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.trainer-avatar-bg {
  position: absolute;
  inset: 0;
  opacity: .9;
}
.trainer-avatar-icon {
  position: relative;
  z-index: 2;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 3px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  backdrop-filter: blur(10px);
}
.trainer-avatar-photo {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,.08);
  border: 3px solid rgba(255,255,255,.3);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.trainer-avatar-status{
  position:absolute;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  border: 2px solid var(--dark-3);
  top: 50%;
  left: 50%;
  transform: translate(34px, 34px);
  box-shadow: 0 0 0 2px rgba(0,0,0,.25);
}
.trainer-avatar-initials {
  position: relative;
  z-index: 2;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 3px solid rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  backdrop-filter: blur(10px);
  font-family: var(--font-heading);
}
.trainer-exp-badge {
  position: absolute;
  bottom: 1rem; right: 1rem;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-full);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .8rem;
  backdrop-filter: blur(10px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.trainer-exp-badge i { color: #fbbf24; }
.trainer-body { padding: 1.5rem; }
.trainer-body { text-align: center; }
.trainer-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .2rem; }
.trainer-role {
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .75rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trainer-exp { font-size: .8rem; color: var(--gray); margin-bottom: 1rem; display: none; }
.trainer-skills { display: flex; gap: .4rem; flex-wrap: wrap; }
.trainer-skill {
  background: rgba(108,99,255,.1);
  border: 1px solid rgba(108,99,255,.2);
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600;
  padding: .22rem .7rem;
  color: var(--primary-light);
  transition: var(--transition);
}
.trainer-card:hover .trainer-skill {
  background: rgba(108,99,255,.18);
  border-color: rgba(108,99,255,.35);
}
.trainer-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.trainer-link-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  font-weight: 600;
  margin: .25rem 0 .9rem;
  transition: var(--transition);
}
.trainer-link-btn:hover{
  background: rgba(108,99,255,.15);
  border-color: rgba(108,99,255,.28);
  color: var(--primary-light);
}
.trainer-link-btn i{ font-size: .9rem; }

.trainer-rating{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  margin-bottom: .85rem;
}
.trainer-stars{
  color:#fbbf24;
  font-size: .85rem;
  letter-spacing: 1px;
}
.trainer-rating-val{
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  font-weight: 700;
}

.trainer-stats-row{
  justify-content: space-between;
  gap: 1.25rem;
}
.trainer-stat-item{
  flex: 1;
}
.trainer-stat-item + .trainer-stat-item{
  border-left: 1px solid rgba(255,255,255,.08);
  padding-left: 1.25rem;
}
.trainer-stat-val{
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trainer-stats-row {
  display: flex;
  gap: 1.5rem;
}
.trainer-stat-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.trainer-stat-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}
.trainer-stat-label {
  font-size: .72rem;
  color: var(--gray);
}

/* ============================================================
   HOW IT WORKS — Tree / Alternating Timeline
   ============================================================ */

/* ── Section shell ── */
.howitworks-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

/* ── Background orbs ── */
.hiw-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: hiwOrbFloat 8s ease-in-out infinite;
}
.hiw-orb-1 {
  width: 500px; height: 500px;
  background: rgba(108,99,255,.12);
  top: -100px; left: -150px;
  animation-delay: 0s;
}
.hiw-orb-2 {
  width: 400px; height: 400px;
  background: rgba(249,115,22,.1);
  bottom: -80px; right: -100px;
  animation-delay: 3s;
}
.hiw-orb-3 {
  width: 300px; height: 300px;
  background: rgba(34,211,238,.08);
  top: 40%; left: 50%;
  transform: translate(-50%,-50%);
  animation-delay: 1.5s;
}
@keyframes hiwOrbFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}
.hiw-orb-3 {
  animation: hiwOrb3Float 10s ease-in-out infinite;
}
@keyframes hiwOrb3Float {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50%      { transform: translate(-50%,-60%) scale(1.08); }
}

/* ── Dot grid overlay ── */
.hiw-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(108,99,255,.07) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* ── Floating particles ── */
.hiw-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hiw-p {
  position: absolute;
  border-radius: 50%;
  animation: hiwParticleFloat linear infinite;
}
.hiw-p1  { width:6px;  height:6px;  background:#6C63FF; left:8%;   top:20%; animation-duration:6s;  animation-delay:0s; }
.hiw-p2  { width:4px;  height:4px;  background:#F97316; left:15%;  top:70%; animation-duration:8s;  animation-delay:1s; }
.hiw-p3  { width:8px;  height:8px;  background:#06B6D4; left:75%;  top:15%; animation-duration:7s;  animation-delay:2s; }
.hiw-p4  { width:5px;  height:5px;  background:#fbbf24; left:88%;  top:65%; animation-duration:9s;  animation-delay:.5s; }
.hiw-p5  { width:3px;  height:3px;  background:#A855F7; left:30%;  top:85%; animation-duration:5s;  animation-delay:3s; }
.hiw-p6  { width:7px;  height:7px;  background:#10B981; left:60%;  top:80%; animation-duration:11s; animation-delay:1.5s; }
.hiw-p7  { width:4px;  height:4px;  background:#6C63FF; left:45%;  top:10%; animation-duration:7s;  animation-delay:4s; }
.hiw-p8  { width:6px;  height:6px;  background:#A855F7; left:92%;  top:35%; animation-duration:8s;  animation-delay:2.5s; }
@keyframes hiwParticleFloat {
  0%   { transform: translateY(0) scale(1);   opacity:.6; }
  50%  { transform: translateY(-25px) scale(1.3); opacity:1; }
  100% { transform: translateY(0) scale(1);   opacity:.6; }
}

/* ── Tree container ── */
.hiw-tree {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Central glowing spine ── */
.hiw-spine {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg,
    transparent 0%,
    #5A52E0 10%,
    #A855F7 35%,
    #F97316 65%,
    #f59e0b 90%,
    transparent 100%);
  z-index: 1;
}
.hiw-spine-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  background: inherit;
  filter: blur(8px);
  opacity: .6;
}

/* ── Each row (step) ── */
.hiw-row {
  display: grid;
  grid-template-columns: 1fr 80px 80px 1fr;
  align-items: center;
  min-height: 220px;
  padding: 3rem 0;
  position: relative;
  z-index: 2;
}

/* Left layout: card | connector | node | side */
.hiw-row-left { }

/* Right layout: side | node | connector | card */
.hiw-row-right {
  grid-template-columns: 1fr 80px 80px 1fr;
}
.hiw-row-right .hiw-side  { order: 1; }
.hiw-row-right .hiw-node  { order: 2; }
.hiw-row-right .hiw-connector { order: 3; }
.hiw-row-right .hiw-card  { order: 4; }

/* ── Step card ── */
.hiw-card {
  background: linear-gradient(145deg, rgba(22,22,42,.95) 0%, rgba(14,14,28,.95) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  max-width: 420px;
}
.hiw-row-left .hiw-card   { justify-self: end; }
.hiw-row-right .hiw-card  { justify-self: start; }

.hiw-card-glow {
  position: absolute;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--cg, rgba(108,99,255,.25)) 0%, transparent 70%);
  top: -60px; right: -60px;
  pointer-events: none;
  transition: opacity .4s ease;
  opacity: .5;
}
.hiw-card:hover { transform: translateY(-5px); border-color: rgba(108,99,255,.35); box-shadow: 0 25px 50px rgba(0,0,0,.5); }
.hiw-card:hover .hiw-card-glow { opacity: 1; }

.hiw-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.hiw-card-step {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary-light);
  margin-bottom: .5rem;
}
.hiw-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.3;
}
.hiw-card p { font-size: .87rem; color: var(--gray); line-height: 1.75; margin-bottom: 1rem; }

.hiw-card-chips {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.hiw-card-chips span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  padding: .2rem .7rem;
}

/* Final card CTA */
.hiw-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg,#d97706,#fbbf24);
  color: #1a1000;
  font-size: .82rem;
  font-weight: 700;
  transition: var(--transition);
}
.hiw-cta-btn:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(251,191,36,.35); }

/* ── Connector ── */
.hiw-connector {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  height: 3px;
}
.hiw-connector-right {
  justify-content: flex-start;
}
.hiw-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(108,99,255,.6), rgba(108,99,255,.2));
}
.hiw-connector-right .hiw-line {
  background: linear-gradient(270deg, rgba(108,99,255,.6), rgba(108,99,255,.2));
}
.hiw-arrow-head {
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid rgba(108,99,255,.6);
  flex-shrink: 0;
}
.hiw-arrow-left {
  border-left: none;
  border-right: 8px solid rgba(108,99,255,.6);
}

/* ── Node (circle on spine) ── */
.hiw-node {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  font-family: var(--font-heading);
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  justify-self: center;
  transition: var(--transition);
}
.hiw-node:hover { transform: scale(1.1); }

/* Pulsing rings */
.hiw-node-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: hiwNodePulse 2.5s ease-out infinite;
}
.hiw-node-ring {
  width: calc(100% + 20px);
  height: calc(100% + 20px);
}
.hiw-node-ring-2 {
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  animation-delay: .8s;
}
@keyframes hiwNodePulse {
  0%   { opacity: .5; transform: scale(.85); }
  100% { opacity: 0;  transform: scale(1.25); }
}

/* ── Side panel (floating badge) ── */
.hiw-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.hiw-float-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--fb-color, rgba(108,99,255,.12));
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  animation: hiwBadgeBob 3.5s ease-in-out infinite;
  min-width: 170px;
}
.hiw-float-badge i { font-size: 1.6rem; flex-shrink: 0; }
.hiw-fb-val   { font-size: 1.1rem; font-weight: 900; color: var(--white); line-height: 1.1; }
.hiw-fb-label { font-size: .72rem; color: var(--gray); margin-top: .2rem; }
@keyframes hiwBadgeBob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hiw-row:nth-child(even) .hiw-float-badge   { animation-delay: 1s; }
.hiw-row:nth-child(3)    .hiw-float-badge   { animation-delay: .5s; }

/* ── Slide-in animations ── */
.hiw-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.34,1.2,.64,1);
}
.hiw-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.34,1.2,.64,1);
}
.hiw-reveal-left.hiw-visible,
.hiw-reveal-right.hiw-visible {
  opacity: 1;
  transform: translateX(0);
}
.hiw-row:nth-child(2) { transition-delay: .15s; }
.hiw-row:nth-child(3) { transition-delay: .3s; }
.hiw-row:nth-child(4) { transition-delay: .45s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hiw-tree {
    gap: 0;
    padding-left: 0.15rem;
  }
  /* Left timeline: number + card on one row (fixes stacked orphan nodes) */
  .hiw-row,
  .hiw-row-right {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas: "node card";
    gap: 0.85rem 0.9rem;
    align-items: start;
    padding: 1.1rem 0;
    min-height: 0;
  }
  .hiw-row-right .hiw-side,
  .hiw-row-right .hiw-node,
  .hiw-row-right .hiw-connector,
  .hiw-row-right .hiw-card,
  .hiw-row-left .hiw-side,
  .hiw-row-left .hiw-node,
  .hiw-row-left .hiw-connector,
  .hiw-row-left .hiw-card {
    order: unset;
  }
  .hiw-node {
    grid-area: node;
    justify-self: center;
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
    margin: 0.15rem 0 0;
  }
  .hiw-node-ring {
    width: calc(100% + 14px);
    height: calc(100% + 14px);
  }
  .hiw-node-ring-2 {
    width: calc(100% + 28px);
    height: calc(100% + 28px);
  }
  .hiw-card {
    grid-area: card;
    justify-self: stretch;
    max-width: none;
    width: 100%;
    padding: 1.25rem;
  }
  .hiw-row-left .hiw-card,
  .hiw-row-right .hiw-card {
    justify-self: stretch;
    max-width: none;
    width: 100%;
  }
  .hiw-connector,
  .hiw-side { display: none; }
  .hiw-spine { left: 28px; transform: translateX(-50%); }
  .hiw-card-title { font-size: 1rem; }
  .hiw-card p { font-size: .84rem; }
  .hiw-reveal-left,
  .hiw-reveal-right { transform: translateY(24px); }
  .hiw-reveal-left.hiw-visible,
  .hiw-reveal-right.hiw-visible { transform: translateY(0); }
}
@media (max-width: 480px) {
  .howitworks-section { padding: 4rem 0; }
  .hiw-orb { display: none; }
  .hiw-row,
  .hiw-row-right {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.7rem 0.75rem;
  }
  .hiw-node {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .hiw-spine { left: 22px; }
  .hiw-card { padding: 1.1rem; }
  .hiw-card-icon { width: 44px; height: 44px; font-size: 1.15rem; }
}

/* old trainer styles removed — see redesigned version above */

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  min-width: 0;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), var(--glow-primary); border-color: rgba(108,99,255,.25); }
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-light);
  opacity: .15;
  position: absolute;
  top: .5rem; left: 1.5rem;
  font-family: Georgia, serif;
}
.testimonial-stars { color: #fbbf24; margin-bottom: 1rem; font-size: .95rem; }
.testimonial-text { font-size: .9rem; color: var(--gray); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--white); }
.testimonial-role { font-size: .78rem; color: var(--gray); }

/* Mobile / tablet: one card + horizontal swipe */
@media (max-width: 900px) {
  .testimonials-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    padding-bottom: .35rem;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid > .testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .testimonials-grid > .testimonial-card:hover {
    transform: none;
  }
}

/* ---------- PLACEMENT BANNER ---------- */
/* ============================================================
   PLACEMENT BANNER — 5:7 split layout
   ============================================================ */
.pb-section {
  background: var(--dark);
  padding: 2.5rem 0;
}
.pb-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  overflow: hidden;
  min-height: 280px;
}

/* ── LEFT 5: image panel ── */
.pb-img-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0f0c29, #1e1b4b, #302b63, #24243e);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background glow orbs */
.pb-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.pb-orb-1 {
  width: 220px; height: 220px;
  background: rgba(108,99,255,.35);
  top: -40px; left: -40px;
}
.pb-orb-2 {
  width: 180px; height: 180px;
  background: rgba(249,115,22,.25);
  bottom: -30px; right: -30px;
}

/* Student figure placeholder (CSS illustration) */
.pb-student-fig {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.pb-student-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
  border: 2px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  position: relative;
}
.pb-student-circle::before {
  content: '\f501';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 2.2rem;
  color: rgba(255,255,255,.8);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pb-student-body {
  width: 120px; height: 60px;
  border-radius: 60px 60px 0 0;
  background: linear-gradient(135deg, rgba(108,99,255,.3), rgba(249,115,22,.2));
  border: 1.5px solid rgba(255,255,255,.12);
  border-bottom: none;
  margin-top: -4px;
}

/* Floating chips */
.pb-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .68rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.pb-chip-1 {
  bottom: 1.2rem; left: 50%;
  transform: translateX(-50%);
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.4);
  color: #34d399;
}
.pb-chip-2 {
  top: 1rem; right: 1rem;
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.3);
  color: #fbbf24;
}
.pb-chip-3 {
  top: 1rem; left: 1rem;
  background: rgba(108,99,255,.12);
  border: 1px solid rgba(108,99,255,.3);
  color: #a5b4fc;
}

/* ── RIGHT 7: content ── */
.pb-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 2rem;
  gap: 1.25rem;
}

.pb-copy {}
.pb-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-full);
  padding: .18rem .7rem;
  margin-bottom: .65rem;
}
.pb-title {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: .5rem;
  font-family: var(--font-heading);
}
.pb-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pb-desc {
  font-size: .8rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: .85rem;
}
.pb-badges {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}
.pb-badges span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .68rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-full);
  padding: .2rem .65rem;
}
.pb-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  color: white;
  background: var(--gradient);
  border-radius: var(--radius-full);
  padding: .5rem 1.2rem;
  text-decoration: none;
  transition: var(--transition);
}
.pb-btn:hover { opacity: .85; transform: translateX(3px); }

/* CTC stat cards row */
.pb-stats {
  display: flex;
  gap: .75rem;
}
.pb-stat-card {
  flex: 1;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .85rem 1rem .9rem;
}
.pb-stat-label {
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.pb-stat-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: .5rem;
}
.pb-stat-val span { font-size: .75rem; color: rgba(255,255,255,.4); font-weight: 600; }
.pb-bar-row {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}
.pb-bar {
  flex: 1;
  background: rgba(255,255,255,.1);
  border-radius: 3px 3px 0 0;
}
.pb-bar-hi { background: linear-gradient(180deg,#f59e0b,#ef4444); }

/* Responsive */
@media (max-width: 900px) {
  .pb-card { grid-template-columns: 1fr; }
  .pb-img-panel { min-height: 160px; }
  .pb-chip-2, .pb-chip-3 { display: none; }
}
@media (max-width: 580px) {
  .pb-right { padding: 1.25rem; }
  .pb-stats { flex-wrap: wrap; }
  .pb-stat-card { min-width: calc(50% - .4rem); }
}

/* ---------- PROCESS STEPS ---------- */
/* old process-steps removed — see redesigned version above */

/* ============================================================
   ROAD-PATH PLACEMENT PROCESS
   ============================================================ */
.road-section {
  background: var(--dark);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

/* The full road map wrapper */
.road-map {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

/* ── Each row ── */
.road-row {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 130px;
}

/* Row where card is on the LEFT */
.road-row-left {
  flex-direction: row;          /* card | connector | node | curve */
  justify-content: flex-start;
  padding-right: 50%;           /* card takes left half */
}
/* Row where card is on the RIGHT */
.road-row-right {
  flex-direction: row;          /* curve | node | connector | card */
  justify-content: flex-end;
  padding-left: 50%;            /* card takes right half */
}

/* ── Road node — glowing numbered circle ── */
.road-node {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
  font-family: var(--font-heading);
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 0 20px rgba(0,0,0,.5);
  transition: transform .3s;
}
.road-node:hover { transform: scale(1.12); }
.road-node-final { font-size: .95rem; }

/* ── Horizontal dashed connector line ── */
.road-connector {
  height: 3px;
  flex: 1;
  border-top: 3px dashed rgba(255,255,255,.18);
  position: relative;
}
.road-connector::after {
  content: '';
  position: absolute;
  top: -5px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.road-conn-left::after  { right: 0; }
.road-conn-right::after { left: 0; }

/* ── Curved road bend (the U-turn between rows) ── */
.road-curve {
  position: absolute;
  width: 56px; height: 90px;
  border: 3px dashed rgba(255,255,255,.18);
  flex-shrink: 0;
  z-index: 1;
}
/* Right-side curve going DOWN then LEFT (after left row) */
.road-curve-down-right {
  right: calc(50% - 28px);
  border-radius: 0 50px 50px 0;
  border-left: none;
  top: 50%;
}
/* Left-side curve going DOWN then RIGHT (after right row) */
.road-curve-down-left {
  left: calc(50% - 28px);
  border-radius: 50px 0 0 50px;
  border-right: none;
  bottom: 50%;
}

/* ── Card ── */
.road-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem;
  max-width: 340px;
  width: 100%;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}
.road-card:hover {
  border-color: rgba(108,99,255,.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 20px rgba(108,99,255,.12);
}
.road-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}
.road-card-step {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: .25rem;
}
.road-card h3 {
  font-size: .95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .3rem;
  line-height: 1.3;
}
.road-card p {
  font-size: .78rem;
  color: var(--gray);
  line-height: 1.65;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .road-section { padding: 3.5rem 0 3rem; }
  .road-map {
    max-width: 100%;
    padding-left: 0.1rem;
  }
  .road-map::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(
      180deg,
      rgba(245,158,11,.55) 0%,
      rgba(108,99,255,.55) 35%,
      rgba(124,58,237,.55) 65%,
      rgba(52,211,153,.55) 100%
    );
    z-index: 0;
    pointer-events: none;
  }
  /* Consistent mobile timeline: number + card on one row */
  .road-row-left,
  .road-row-right {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas: "node card";
    gap: 0.75rem 0.85rem;
    align-items: start;
    justify-content: unset;
    flex-direction: unset;
    padding: 0.7rem 0;
    min-height: 0;
    margin-bottom: 0;
  }
  .road-curve,
  .road-connector { display: none !important; }
  .road-node {
    grid-area: node;
    width: 40px;
    height: 40px;
    font-size: .85rem;
    margin: 0.15rem 0 0;
    justify-self: center;
    box-shadow: 0 0 0 4px rgba(255,255,255,.06), 0 0 16px rgba(0,0,0,.45);
  }
  .road-card {
    grid-area: card;
    max-width: none;
    width: 100%;
    padding: 1.1rem 1rem;
  }
  .road-card h3 { font-size: .9rem; }
  .road-card p { font-size: .76rem; }
}
@media (max-width: 400px) {
  .road-row-left,
  .road-row-right {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.65rem 0.7rem;
  }
  .road-node {
    width: 34px;
    height: 34px;
    font-size: .78rem;
  }
  .road-map::before { left: 17px; }
  .road-card {
    flex-direction: column;
    gap: .75rem;
  }
}

/* ============================================================
   PLACEMENT PACKAGE SECTION
   ============================================================ */
.pkg-section {
  background: var(--dark-2);
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pkg-header { margin-bottom: 3.5rem; }

/* Main two-column layout */
.pkg-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: stretch;   /* both columns same height */
}

/* ── Feature cards — 2-column bento ── */
.pkg-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.pkg-feat-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--fc, rgba(255,255,255,.08));
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pkg-feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fc, transparent);
  opacity: 0;
  transition: opacity .3s;
}
.pkg-feat-card:hover {
  border-color: var(--bc, rgba(255,255,255,.2));
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.pkg-feat-card:hover::before { opacity: 1; }
.pkg-feat-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: white;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.pkg-feat-card h4 {
  font-size: .82rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .2rem;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.pkg-feat-card p {
  font-size: .72rem;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ── Right stat panel ── */
.pkg-panel {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pkg-panel-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(108,99,255,.15) 0%, transparent 65%);
  pointer-events: none;
}

/* Big 100% number */
.pkg-guarantee {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .6rem;
  position: relative;
}
.pkg-guarantee-num {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: var(--font-heading);
  background: linear-gradient(135deg,#fbbf24,#f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.pkg-guarantee-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}
.pkg-panel-desc {
  font-size: .72rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
}
.pkg-divider {
  height: 1px;
  background: var(--border);
  margin: .9rem 0;
}

/* 2×2 stat grid */
.pkg-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  position: relative;
}
.pkg-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .6rem .5rem;
  text-align: center;
  transition: var(--transition);
}
.pkg-stat:hover {
  background: rgba(108,99,255,.08);
  border-color: rgba(108,99,255,.25);
}
.pkg-stat-icon {
  font-size: .85rem;
  color: var(--primary-light);
  margin-bottom: .3rem;
}
.pkg-stat-val {
  font-size: 1.1rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: .15rem;
}
.pkg-stat-label {
  font-size: .62rem;
  color: rgba(255,255,255,.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Responsive */
@media (max-width: 900px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .pkg-panel { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .pkg-features { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: var(--transition);
  background: var(--dark-3);
}
.faq-item.open { border-color: rgba(108,99,255,.4); box-shadow: 0 0 0 3px rgba(108,99,255,.08), var(--glow-primary); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
}
.faq-q:hover { background: rgba(108,99,255,.06); }
.faq-q i { flex-shrink: 0; color: var(--primary-light); transition: var(--transition); font-size: .85rem; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.faq-a p { font-size: .9rem; color: var(--gray); line-height: 1.8; }

/* ---------- CONTACT FORM ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--gray); margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(108,99,255,.12);
  color: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: .9rem; font-weight: 700; margin-bottom: .2rem; color: var(--white); }
.contact-detail p { font-size: .88rem; color: var(--gray); margin: 0; }
.contact-detail a:hover { color: var(--primary-light); }

.form-card {
  background: var(--dark-3);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.25rem; margin-bottom: 1.75rem; color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--white);
  background: var(--dark-4);
  transition: var(--transition);
  outline: none;
}
.form-group select option { background: var(--dark-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(108,99,255,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--green);
}
.form-success i { font-size: 3rem; margin-bottom: 1rem; }

/* ---------- BLOG CARDS ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--glow-primary); border-color: rgba(108,99,255,.3); }
.blog-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.blog-img-bg {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: var(--transition);
}
.blog-card:hover .blog-img-bg { transform: scale(1.08); }
.blog-body { padding: 1.5rem; }
.blog-meta { display: flex; gap: 1rem; margin-bottom: .75rem; align-items: center; }
.blog-cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  background: rgba(29,78,216,.08);
  padding: .2rem .65rem;
  border-radius: var(--radius-full);
}
.blog-date { font-size: .78rem; color: var(--light-gray); }
.blog-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.4; }
.blog-card-title-link {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.blog-card-title-link:hover { color: var(--primary-light); }
a.blog-img {
  display: block;
  text-decoration: none;
  color: inherit;
}
.blog-feature-title a {
  color: inherit;
  text-decoration: none;
}
.blog-feature-title a:hover { color: var(--primary-light); }
a.blog-feature-media {
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card p { font-size: .85rem; color: var(--gray); line-height: 1.7; margin-bottom: 1rem; }
.blog-read-more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.blog-read-more:hover { gap: .6rem; }

.blog-category-bar {
  position: sticky;
  top: 70px;
  z-index: 900;
  background: rgba(15, 20, 35, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
}
.blog-category-filters {
  display: flex;
  gap: .75rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(108, 99, 255, .45) transparent;
  overscroll-behavior-x: contain;
  padding-bottom: 2px;
}
.blog-category-filters::-webkit-scrollbar {
  height: 4px;
}
.blog-category-filters::-webkit-scrollbar-track {
  background: transparent;
}
.blog-category-filters::-webkit-scrollbar-thumb {
  background: rgba(108, 99, 255, .45);
  border-radius: 4px;
}
.blog-category-filters .btn {
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .blog-category-bar { top: 60px; padding: .7rem 0; }
}

.blog-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-feature-wrap {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.blog-feature-media {
  min-height: 220px;
  background: rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-feature-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.blog-feature-placeholder {
  font-size: 8rem;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-feature-body {
  padding: 3rem;
  color: white;
}
.blog-feature-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.blog-feature-badge {
  background: var(--secondary);
  color: var(--dark);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}
.blog-feature-date { font-size: .8rem; opacity: .7; }
.blog-feature-title {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.35;
}
.blog-feature-excerpt {
  opacity: .85;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: .9rem;
}
.blog-feature-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  opacity: .85;
}
.blog-feature-cat {
  background: rgba(255,255,255,.12);
  padding: .2rem .65rem;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.blog-empty-msg {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  padding: 2rem 1rem;
}
.blog-empty-hint {
  text-align: center;
  font-size: .88rem;
  color: var(--light-gray);
  max-width: 520px;
  margin: 0 auto 1rem;
}
.blog-empty-hint code { font-size: .82rem; }
.blog-empty-muted { opacity: .85; }

.blog-pagination {
  display: flex;
  gap: .55rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2.75rem;
}
.blog-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 .85rem;
  border-radius: 999px;
  border: 1.5px solid rgba(165, 148, 249, .45);
  background: transparent;
  color: #c4b5fd;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.blog-page-btn:hover:not(:disabled):not(.is-active) {
  background: rgba(108, 99, 255, .12);
  border-color: rgba(165, 148, 249, .8);
  color: #fff;
}
.blog-page-btn.is-active {
  background: linear-gradient(135deg, #6c63ff, #a855f7);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(108, 99, 255, .35);
  cursor: default;
}
.blog-page-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.blog-page-btn--nav {
  min-width: 42px;
  padding: 0;
}
.blog-page-ellipsis {
  color: rgba(196, 181, 253, .55);
  font-weight: 700;
  padding: 0 .2rem;
  user-select: none;
}

.container-narrow { max-width: 760px; }

/* ---------- Blog post banner (two-column hero) ---------- */
.blog-post-banner {
  position: relative;
  padding: clamp(2.5rem, 7vw, 10.5rem) 0 clamp(3rem, 7vw, 5rem);
  background: #050a1f;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.blog-post-banner__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 70% at 30% 20%, black 15%, transparent 70%);
  pointer-events: none;
}
.blog-post-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 15% 40%, rgba(108, 99, 255, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 45% 45% at 85% 60%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.blog-post-banner__container {
  position: relative;
  z-index: 2;
}
.blog-post-banner__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .blog-post-banner__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 2.5rem 2.75rem;
  }
  .blog-post-banner--no-image .blog-post-banner__grid {
    grid-template-columns: 1fr;
    max-width: 900px;
  }
}

.blog-post-banner__content {
  text-align: left;
}
@media (max-width: 959px) {
  .blog-post-banner__visual {
    order: -1;
  }
  .blog-post-banner__grid {
    display: flex;
    flex-direction: column;
  }
}

.blog-post-banner__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
}
.blog-post-banner__breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.blog-post-banner__breadcrumb a:hover {
  color: var(--primary-light);
}
.blog-post-banner__breadcrumb .fa-home {
  font-size: 0.72rem;
  opacity: 0.85;
}
.blog-post-banner__crumb-sep {
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.55rem;
}
.blog-post-banner__crumb-current {
  color: rgba(255, 255, 255, 0.88);
}

.blog-post-banner__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.blog-post-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.38rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
}
.blog-post-banner__badge--category {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
a.blog-post-banner__badge--category:hover {
  filter: brightness(1.08);
  color: #fff;
}
.blog-post-banner__badge--time {
  background: rgba(15, 23, 42, 0.85);
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.1);
}

.blog-post-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
@media (min-width: 960px) {
  .blog-post-banner__title {
    max-width: 20ch;
  }
}

.blog-post-banner__excerpt {
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(160, 170, 190, 0.95);
  max-width: 62ch;
  margin: 0 0 1.75rem;
}

.blog-post-banner__meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  padding: 1rem 1.15rem;
  background: rgba(8, 12, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.blog-post-banner__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.blog-post-banner__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-main);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.35);
}
.blog-post-banner__author-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.blog-post-banner__author-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.blog-post-banner__author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
@media (min-width: 480px) {
  .blog-post-banner__author-name {
    max-width: 280px;
  }
}
.blog-post-banner__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: rgba(200, 210, 230, 0.85);
}
.blog-post-banner__meta-item i {
  color: var(--primary-light);
  opacity: 0.85;
}

.blog-post-banner__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.blog-post-banner__tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.blog-post-banner__visual {
  position: relative;
  width: 100%;
  min-width: 0;
}
.blog-post-banner__image-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #070d1c;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(108, 99, 255, 0.12),
    0 0 60px rgba(108, 99, 255, 0.15);
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-post-banner__image {
  width: 100%;
  height: auto;
  max-height: min(420px, 55vh);
  display: block;
  object-fit: contain;
  object-position: center;
}

/* ---------- Blog post detail — TechZex dark theme ---------- */
.blog-detail-section {
  position: relative;
  padding-top: 0;
  padding-bottom: 5rem;
  margin-top: -2rem;
  z-index: 3;
}
.blog-detail-section.section {
  padding-top: 0.5rem;
}
.blog-detail-section::before {
  content: '';
  position: absolute;
  inset: 0;
  top: 4rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(108, 99, 255, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(10, 15, 30, 0.6) 40%, var(--dark) 100%);
  pointer-events: none;
  z-index: 0;
}
.blog-detail-page-wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}
.blog-detail-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .blog-detail-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2.5rem 2rem;
  }
  .blog-detail-sidebar {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
}
.blog-detail-main {
  min-width: 0;
}

.blog-detail-card {
  background: linear-gradient(165deg, var(--dark-3) 0%, var(--dark-2) 45%, rgba(17, 24, 39, 0.98) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(108, 99, 255, 0.06), var(--glow-primary);
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.35rem, 4vw, 2.5rem);
}

.blog-detail-main-card {
  margin-bottom: 0;
}

/* Below article card: tags, share, related showcase (dark theme) */
.blog-post-aftercard {
  margin-top: 1.75rem;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(165deg, rgba(26, 34, 53, 0.95) 0%, rgba(17, 24, 39, 0.98) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 36px rgba(108, 99, 255, 0.08);
}

.blog-after-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1.1rem;
}
.blog-after-tags__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.2rem;
}
.blog-after-tags__label i {
  color: var(--primary-light);
  opacity: 0.9;
}
.blog-after-tags__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}
.blog-after-tags__pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-full);
}

.blog-after-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}
.blog-after-share__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-after-share__label i {
  color: var(--primary-light);
}
.blog-after-share__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.blog-share-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.blog-share-icon:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.blog-share-icon--fb {
  background: #1877f2;
}
.blog-share-icon--x {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.blog-share-icon--in {
  background: #0a66c2;
}
.blog-share-icon--wa {
  background: #25d366;
}
.blog-share-icon--link {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.95), rgba(168, 85, 247, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-after-divider {
  border: none;
  height: 1px;
  margin: 0 0 1.5rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.blog-showcase-card {
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 3vw, 1.75rem);
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius-lg);
  background: rgba(108, 99, 255, 0.07);
  border: 1px solid rgba(108, 99, 255, 0.22);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.blog-showcase-card:hover {
  border-color: rgba(108, 99, 255, 0.45);
  background: rgba(108, 99, 255, 0.11);
  box-shadow: 0 8px 28px rgba(108, 99, 255, 0.15);
}
.blog-showcase-card__media {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
}
@media (min-width: 520px) {
  .blog-showcase-card__media {
    width: 120px;
    height: 120px;
  }
}
.blog-showcase-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(108, 99, 255, 0.45);
  box-shadow: 0 0 28px rgba(108, 99, 255, 0.25);
  display: block;
}
.blog-showcase-card__img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-main);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 0 28px rgba(108, 99, 255, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.15);
}
.blog-showcase-card__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}
.blog-showcase-card__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.blog-showcase-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.25;
}
.blog-showcase-card__meta {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}
.blog-showcase-card__excerpt {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
}
.blog-showcase-card__cta {
  margin-top: auto;
  padding-top: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-showcase-card:hover .blog-showcase-card__cta {
  color: var(--white);
  gap: 0.55rem;
}

@media (max-width: 480px) {
  .blog-showcase-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .blog-showcase-card__body {
    text-align: center;
    align-items: center;
  }
  .blog-showcase-card__cta {
    justify-content: center;
  }
}

.blog-article-summary {
  display: flex;
  gap: 1rem 1.15rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.2rem 1.25rem 1.25rem 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.22);
  border-left: 4px solid #3b82f6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.blog-article-summary__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-main);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(108, 99, 255, 0.35);
}
.blog-article-summary__body {
  min-width: 0;
}
.blog-article-summary__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin: 0 0 0.45rem;
}
.blog-article-summary__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--text-light);
}

.blog-sidebar-card {
  background: linear-gradient(165deg, var(--dark-3) 0%, rgba(26, 34, 53, 0.98) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(108, 99, 255, 0.05);
}
.blog-sidebar-card__title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-sidebar-card__title i {
  font-size: 0.85rem;
  opacity: 0.9;
}

.blog-sidebar-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-sidebar-toc__item {
  margin: 0;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: var(--transition);
}
.blog-sidebar-toc__item a {
  display: block;
  padding: 0.65rem 0.7rem 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 3px solid transparent;
  border-radius: 10px;
  line-height: 1.35;
}
.blog-sidebar-toc__item a:hover {
  color: var(--text-light);
  background: rgba(108, 99, 255, 0.08);
}
.blog-sidebar-toc__item.is-active a {
  color: var(--text-light);
  background: rgba(59, 130, 246, 0.12);
  border-left-color: #3b82f6;
}
.blog-sidebar-toc__num {
  color: var(--primary-light);
  font-weight: 800;
  margin-right: 0.35rem;
}

.blog-sidebar-author__profile {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1rem;
}
.blog-sidebar-author__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-main);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.35);
}
.blog-sidebar-author__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
.blog-sidebar-author__label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.blog-sidebar-author__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
}
.blog-sidebar-author__org {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.35;
}

.blog-sidebar-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.25rem;
}
.blog-sidebar-social__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
}
.blog-sidebar-social__btn:hover {
  background: rgba(108, 99, 255, 0.2);
  border-color: rgba(108, 99, 255, 0.45);
  color: var(--white);
}

.blog-sidebar-related {
  box-shadow: var(--shadow-md), 0 0 28px rgba(108, 99, 255, 0.08);
}
.blog-sidebar-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.blog-sidebar-related__item {
  margin: 0;
}
.blog-sidebar-related__link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.5rem;
  margin: 0 -0.35rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: var(--transition);
}
.blog-sidebar-related__link:hover {
  background: rgba(108, 99, 255, 0.08);
  border-color: rgba(108, 99, 255, 0.2);
}
.blog-sidebar-related__thumb {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  background: var(--dark-4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-sidebar-related__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-sidebar-related__thumb--placeholder {
  background: linear-gradient(145deg, rgba(108, 99, 255, 0.35), rgba(168, 85, 247, 0.25));
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.25);
}
.blog-sidebar-related__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.blog-sidebar-related__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-sidebar-related__excerpt {
  font-size: 0.75rem;
  color: var(--gray);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-sidebar-related__date {
  font-size: 0.68rem;
  color: var(--light-gray);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.blog-sidebar-related__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}
.blog-sidebar-related__more:hover {
  color: var(--white);
  gap: 0.55rem;
}
.blog-sidebar-related__more i {
  font-size: 0.72rem;
  opacity: 0.9;
}

.blog-detail-main .blog-article-content h2[id],
.blog-detail-main .blog-article-content h3[id] {
  scroll-margin-top: 6rem;
}

.blog-detail-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.blog-detail-back {
  border-color: rgba(108, 99, 255, 0.45);
  color: var(--text-light);
}
.blog-detail-back:hover {
  border-color: var(--primary);
  color: var(--white);
  background: rgba(108, 99, 255, 0.12);
}
.blog-detail-views {
  font-size: .85rem;
  color: var(--light-gray);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.blog-detail-views i { color: var(--primary-light); opacity: .9; }

.blog-single-section { padding-top: 0; }

.blog-article-content {
  font-size: 1.0625rem;
  line-height: 1.88;
  color: var(--text-muted);
  max-width: 72ch;
}
.blog-article-content > *:first-child { margin-top: 0; }
.blog-article-content p { margin-bottom: 1.35rem; }
.blog-article-content p:last-child { margin-bottom: 0; }

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 700;
  line-height: 1.28;
  margin: 2.35rem 0 1rem;
  letter-spacing: -.02em;
}
.blog-article-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.blog-article-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 5.5rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-main);
}
.blog-article-content h3 {
  font-size: 1.22rem;
  color: var(--text-light);
}
.blog-article-content h4 {
  font-size: 1.05rem;
  color: var(--text-light);
}

.blog-article-content strong,
.blog-article-content b {
  color: var(--text-light);
  font-weight: 600;
}

.blog-article-content a {
  color: var(--primary-light);
  text-decoration: underline;
  text-decoration-color: rgba(157, 148, 255, .45);
  text-underline-offset: .2em;
}
.blog-article-content a:hover {
  color: var(--white);
  text-decoration-color: var(--primary-light);
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 0 0 1.35rem;
  padding-left: 1.35rem;
  color: var(--text-muted);
}
.blog-article-content ul { list-style: disc; }
.blog-article-content ol { list-style: decimal; }
.blog-article-content li { margin-bottom: .45rem; padding-left: .25rem; }
.blog-article-content li::marker { color: var(--primary); }

.blog-article-content blockquote {
  margin: 1.75rem 0;
  padding: 1.15rem 1.25rem 1.15rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(108, 99, 255, .06);
  border: 1px solid rgba(108, 99, 255, .2);
  border-left: 4px solid var(--violet);
  color: var(--text-light);
  font-style: italic;
}
.blog-article-content blockquote p:last-child { margin-bottom: 0; }

.blog-article-content code {
  font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', Consolas, monospace;
  font-size: .88em;
  background: var(--dark-4);
  color: var(--primary-light);
  padding: .15em .45em;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.blog-article-content pre {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-dark);
  border: 1px solid var(--border-bright);
  overflow-x: auto;
  font-size: .88rem;
  line-height: 1.65;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.blog-article-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-light);
  font-size: inherit;
}

.blog-article-content hr {
  border: none;
  height: 1px;
  margin: 2.25rem 0;
  background: linear-gradient(90deg, transparent, rgba(108, 99, 255, .35), transparent);
}

.blog-article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.75rem auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: contain;
  background: rgba(0, 0, 0, 0.2);
}

.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.blog-article-content th,
.blog-article-content td {
  padding: .65rem .85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.blog-article-content th {
  background: rgba(108, 99, 255, .12);
  color: var(--text-light);
  font-weight: 600;
}
.blog-article-content tr:last-child td { border-bottom: none; }

@media (max-width: 640px) {
  .blog-detail-section { margin-top: -1rem; }
  .blog-detail-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .blog-article-summary {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .blog-feature-wrap { grid-template-columns: 1fr; }
  .blog-feature-body { padding: 2rem 1.5rem; }
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: var(--dark);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29,78,216,.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.cta-section h2 { color: white; font-size: clamp(1.75rem,3.5vw,2.75rem); font-weight: 800; margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-section p { color: rgba(255,255,255,.65); max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

.cta-section .brand-shimmer-band {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ============================================================
   BRAND SHIMMER — inside CTA section
   ============================================================ */

@keyframes brandShimmerSweep {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.cta-section .brand-shimmer-text {
  margin: 0 auto;
  max-width: 100%;
  display: inline-block;
  width: max-content;
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(
    90deg,
    #1e2640 0%,
    #3d4a72 20%,
    var(--primary-dark) 36%,
    var(--primary-light) 44%,
    var(--white) 50%,
    var(--violet) 56%,
    var(--primary-dark) 64%,
    #3d4a72 80%,
    #1e2640 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandShimmerSweep 5s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .cta-section .brand-shimmer-text {
    animation: none;
    background-position: 50% 50%;
  }
}

/* ============================================================
   FOOTER — Unique tech design
   ============================================================ */

/* ── Animated top glow border ── */
@keyframes footerTopFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── Orb breathe ── */
@keyframes footerOrbPulse {
  0%,100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(.88); opacity: .65; }
}

/* ── Column h4 line slide ── */
@keyframes footerLineSlide {
  0%   { width: 0; }
  100% { width: 28px; }
}

.footer {
  background: #070C1A;
  color: rgba(255,255,255,.7);
  padding: 4.5rem 0 0;
  border-top: none;
  position: relative;
  overflow: hidden;
}

/* Flowing gradient top border — muted */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(108,99,255,.4) 20%, rgba(168,85,247,.55) 40%,
    rgba(249,115,22,.3) 55%, rgba(168,85,247,.55) 70%,
    rgba(108,99,255,.4) 85%, transparent);
  background-size: 200% 100%;
  animation: footerTopFlow 6s linear infinite;
  z-index: 10;
}

/* Blueprint dot-grid overlay — very faint */
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Background orbs ── */
.footer-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: footerOrbPulse ease-in-out infinite;
}
.footer-orb-1 {
  width: 500px;
  height: 500px;
  background: rgb(108 99 255 / 30%);
  opacity: .055;
  bottom: -160px;
  left: -130px;
  animation-duration: 11s;
}
.footer-orb-2 {
  width: 340px;
  height: 340px;
  background: rgb(168 85 247 / 24%);
  opacity: .045;
  top: -80px;
  right: 4%;
  animation-duration: 14s;
  animation-delay: 3s;
}
.footer-orb-3 {
  width: 220px;
  height: 220px;
  background: rgb(249 115 22 / 33%);
  opacity: .035;
  bottom: 50px;
  right: 26%;
  animation-duration: 9s;
  animation-delay: 1.5s;
}

/* ── Circuit SVG overlay ── */
.footer-circuit-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── Tech corner brackets ── */
.footer-corner {
  position: absolute;
  width: 28px; height: 28px;
  z-index: 5;
  pointer-events: none;
}
.footer-corner::before,
.footer-corner::after {
  content: '';
  position: absolute;
  background: #6C63FF;
  opacity: .18;
  border-radius: 1px;
}
.footer-corner-tl { top: 14px; left: 16px; }
.footer-corner-tl::before { top: 0; left: 0; width: 2px; height: 22px; }
.footer-corner-tl::after  { top: 0; left: 0; width: 22px; height: 2px; }
.footer-corner-tr { top: 14px; right: 16px; }
.footer-corner-tr::before { top: 0; right: 0; width: 2px; height: 22px; }
.footer-corner-tr::after  { top: 0; right: 0; width: 22px; height: 2px; }

/* ── Faded code watermark ── */
.footer-watermark {
  position: absolute;
  font-size: clamp(7rem, 18vw, 18rem);
  font-family: 'Courier New', monospace;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(108,99,255,.028);
  right: -1%;
  bottom: -6%;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -.04em;
}

/* All footer content above bg layers */
.footer > .container { position: relative; z-index: 4; }

/* ── Grid layout ── */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 0;
  padding-bottom: 3rem;
}

/* ── Brand block ── */
.footer-brand .footer-brand-logo.nav-logo {
  display: inline-flex;
  margin-bottom: 1rem;
}
.footer-brand .footer-brand-logo .nav-logo-img {
  height: 48px;
  max-width: 220px;
}
.footer-brand p { font-size: .875rem; line-height: 1.85; margin: 1rem 0 1.5rem; color: rgba(255,255,255,.55); }

/* Social icons */
.footer-social { display: flex; gap: .65rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: rgba(108,99,255,.25);
  border-color: rgba(108,99,255,.35);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(108,99,255,.15);
}

/* ── Column headings with animated underline ── */
.footer-col h4 {
  color: white;
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.4rem;
  padding-bottom: .6rem;
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  width: 28px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(108,99,255,.6), transparent);
  animation: footerLineSlide .6s ease forwards;
}

/* ── Links ── */
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  font-size: .86rem;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.footer-links a::before {
  content: '›';
  color: rgba(108,99,255,.6);
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition);
  font-size: 1rem;
}
.footer-links a:hover {
  color: rgba(255,255,255,.75);
  padding-left: .3rem;
}
.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ── Contact items ── */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-bottom: 1rem;
  font-size: .865rem;
  color: rgba(255,255,255,.55);
}
.footer-contact-item i {
  color: rgba(108,99,255,.7);
  margin-top: .18rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.footer-contact-item a { color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--primary-light); }

/* ── Divider between grid and bottom bar ── */
.footer-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,99,255,.18) 30%, rgba(168,85,247,.22) 50%, rgba(108,99,255,.18) 70%, transparent);
  margin: 0;
}
.footer-divider::before,
.footer-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(108,99,255,.5);
}
.footer-divider::before { left: 20%; }
.footer-divider::after  { right: 20%; }

/* ── Bottom bar ── */
.footer-bottom {
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: rgba(0,0,0,.3);
  pointer-events: none;
  z-index: -1;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.38); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: .8rem; color: rgba(255,255,255,.35); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ---------- PAGE HERO (inner pages) ---------- */
/* ============================================================
   PAGE HERO — dark theme, used across all inner pages
   ============================================================ */
.page-hero {
  background: #0A0F1E;
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Radial glow orbs */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 50%,  rgba(108,99,255,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 85% 50%,  rgba(168,85,247,.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(249,115,22,.10) 0%, transparent 55%);
  pointer-events: none;
}

/* Subtle dot grid overlay */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-full);
  padding: .3rem .85rem;
  margin-bottom: 1.5rem;
  letter-spacing: .02em;
}
.breadcrumb a {
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb i { font-size: .55rem; color: rgba(255,255,255,.25); }

/* Heading */
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}
.page-hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub-text */
.page-hero p {
  color: rgba(255,255,255,.55);
  font-size: .98rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Optional accent bar under heading */
.page-hero-bar {
  display: inline-block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient);
  margin: 1rem auto 0;
}
.breadcrumb i { font-size: .7rem; }

/* ---------- COURSE DETAIL CARDS ---------- */
.course-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.course-detail-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.course-detail-header {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.course-detail-header h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .25rem; }
.course-detail-header p { font-size: .85rem; color: var(--gray); }
.course-detail-body { padding: 0 2rem 2rem; }
.course-feature-list { margin: 1rem 0; }
.course-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.course-feature-list li:last-child { border-bottom: none; }
.course-feature-list li i { color: var(--green); margin-top: .15rem; flex-shrink: 0; }
.duration-tabs {
  display: flex;
  gap: .5rem;
  margin: 1.5rem 0;
}
.duration-tab {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.duration-tab.active, .duration-tab:hover {
  border-color: var(--primary);
  background: rgba(29,78,216,.05);
}
.duration-tab .months { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.duration-tab .type { font-size: .78rem; color: var(--gray); }

/* ---------- INFO CARDS ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.info-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-lg), var(--glow-primary); transform: translateY(-4px); border-color: rgba(108,99,255,.3); }
.info-card-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}
.info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.info-card p { font-size: .85rem; color: var(--gray); }

/* ---------- TABS ---------- */
.tabs-nav {
  display: flex;
  gap: .5rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: .75rem 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--primary-light); border-bottom-color: var(--primary-light); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ---------- MAP ---------- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  border: 1px solid var(--border);
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  text-align: center;
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px; height: 46px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(108,99,255,.4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border-bright);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255,255,255,.75);
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link i { color: var(--primary-light); width: 18px; }
.mobile-nav-subhead {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  padding: .85rem 0 .15rem;
  margin-top: .15rem;
}
.mobile-nav-sublink {
  padding-left: 1.85rem;
  font-size: .9rem;
  color: rgba(255,255,255,.82);
}
button.mobile-nav-link {
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.mobile-nav-logout-btn i { color: rgba(248, 113, 113, 0.95); }
.mobile-nav-cta { margin-top: 1rem; display: block; text-align: center; }

/* Mobile accordion dropdowns */
.mobile-nav-accordion {
  border-bottom: 1px solid var(--border);
}
.mobile-nav-accordion > .mobile-nav-link {
  border-bottom: none;
}
.mobile-nav-accordion-btn {
  justify-content: flex-start;
}
.mobile-nav-accordion-btn > span {
  flex: 1;
}
.mobile-nav-accordion-chevron {
  margin-left: auto;
  width: auto !important;
  font-size: .7rem;
  color: rgba(255,255,255,.45) !important;
  transition: transform .25s ease;
}
.mobile-nav-accordion.is-open > .mobile-nav-accordion-btn .mobile-nav-accordion-chevron {
  transform: rotate(180deg);
  color: var(--primary-light) !important;
}
.mobile-nav-accordion-btn.active,
.mobile-nav-accordion-btn[aria-expanded="true"] {
  color: var(--white);
}
.mobile-nav-accordion-panel {
  padding: 0 0 .35rem;
}
.mobile-nav-accordion-panel .mobile-nav-link {
  border-bottom: none;
  padding-top: .55rem;
  padding-bottom: .55rem;
}
.mobile-nav-accordion-panel .mobile-nav-link:last-child {
  margin-bottom: .25rem;
}

/* ---------- MISC ---------- */
.divider { height: 1px; background: var(--border); margin: 3rem 0; }
.text-muted { color: var(--gray); }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: .5rem; }

/* ---- Notification Toast ---- */
.tz-site-toast {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  background: var(--dark);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  font-size: .9rem;
  z-index: 9999;
  transform: translateX(200%);
  transition: transform .4s ease;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.tz-site-toast.show { transform: translateX(0); }
.tz-site-toast i { color: var(--accent); }

/* ============================================================
   IMPACT SECTION — Stats + Feature Cards + Ticker
   ============================================================ */

.impact-section { background: var(--dark-2); }

/* ---- Stats Band ---- */
.impact-stats-band {
  background: var(--dark);
  padding: 2.75rem 0;
  position: relative;
  overflow: hidden;
}
.impact-stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='20' cy='20' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.impact-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

/* Each stat */
.impact-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0 2rem;
}

.impact-stat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transition: var(--transition);
}
.impact-stat:hover .impact-stat-icon {
  transform: scale(1.12) rotate(-4deg);
}

.impact-stat-body { flex: 1; min-width: 0; }

.impact-stat-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  font-family: var(--font-heading);
}
.impact-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  margin-top: .2rem;
  margin-bottom: .6rem;
}

/* Progress bar under each stat */
.impact-stat-bar {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
}
.impact-stat-fill {
  height: 100%;
  border-radius: 2px;
  width: 0;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
/* Trigger fill when visible */
.impact-stat.visible .impact-stat-fill { /* JS adds .visible */ }

/* Vertical divider */
.impact-stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
}

/* ---- Feature Cards Band ---- */
.impact-features-band {
  background: var(--light);
  padding: 3rem 0 3rem;
  border-top: 1px solid var(--border);
}

.impact-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 0;
}

/* Individual feature card */
.impact-fcard {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1),
              box-shadow .35s ease,
              border-color .35s ease;
}
.impact-fcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(108,99,255,.2);
  border-color: rgba(108,99,255,.3);
}

/* Glow blob on hover */
.impact-fcard-glow {
  position: absolute;
  width: 180px; height: 180px;
  background: var(--glow-color, rgba(29,78,216,.2));
  border-radius: 50%;
  top: -60px; right: -60px;
  filter: blur(40px);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.impact-fcard:hover .impact-fcard-glow { opacity: 1; }

/* Icon */
.impact-fcard-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.impact-fcard:hover .impact-fcard-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Badge pill */
.impact-fcard-badge {
  display: inline-flex;
  align-items: center;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  background: rgba(108,99,255,.12);
  color: var(--primary-light);
  border: 1px solid rgba(108,99,255,.2);
  padding: .2rem .65rem;
  border-radius: var(--radius-full);
  margin-bottom: .75rem;
}

/* Title */
.impact-fcard-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: .75rem;
}
.impact-fcard-title span {
  color: var(--primary-light);
}

/* Description */
.impact-fcard-desc {
  font-size: .83rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

/* Tags row */
.impact-fcard-tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.impact-fcard-tags span {
  background: rgba(108,99,255,.08);
  border: 1px solid rgba(108,99,255,.15);
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .7rem;
  color: var(--gray);
}

/* Arrow button at bottom-right */
.impact-fcard-arrow {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(108,99,255,.12);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}
.impact-fcard:hover .impact-fcard-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Marquee ticker — full-width strip ---- */
.impact-ticker {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(108,99,255,.15);
  border-bottom: 1px solid rgba(108,99,255,.15);
  background: linear-gradient(90deg, rgba(108,99,255,.08) 0%, rgba(249,115,22,.06) 50%, rgba(108,99,255,.08) 100%);
  padding: 1rem 0;
  position: relative;
}
.impact-ticker::before,
.impact-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.impact-ticker::before { left: 0;  background: linear-gradient(to right, var(--dark), transparent); }
.impact-ticker::after  { right: 0; background: linear-gradient(to left,  var(--dark), transparent); }

.impact-ticker-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: tickerScroll 35s linear infinite;
  width: max-content;
}
.impact-ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: .01em;
  flex-shrink: 0;
  text-transform: uppercase;
  font-family: var(--font-heading);
}
.ticker-item i { font-size: 1rem; }

.ticker-dot {
  color: rgba(108,99,255,.5);
  font-size: .55rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .impact-features-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .impact-stats-row { flex-wrap: wrap; gap: 1.5rem; padding: .5rem 0; }
  .impact-stat { flex: 0 0 calc(50% - .75rem); padding: 0 1rem; }
  .impact-stat-divider { display: none; }
  .impact-features-row { grid-template-columns: 1fr; }
  .impact-stat-num { font-size: 1.15rem; }
}
@media (max-width: 480px) {
  .impact-stat { flex: 0 0 100%; border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 1.25rem; }
}

/* ============================================================
   ENHANCED ABOUT SECTION  (index.php)
   ============================================================ */

/* Section shell */
.about-section {
  position: relative;
  overflow: hidden;
  background: var(--dark-2);
}

/* Background blobs */
.about-bg-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.about-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,99,255,.12) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.about-blob-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(249,115,22,.1) 0%, transparent 70%);
  bottom: -50px; left: -80px;
}

/* Two-column layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
/* Allow columns to shrink below intrinsic content width (prevents mobile clip) */
.about-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* ---------- LEFT COLUMN ---------- */
.about-left {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.about-desc {
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

/* Slide-in animation for left content */
.anim-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft .6s ease forwards;
}
@keyframes slideInLeft {
  to { opacity: 1; transform: translateX(0); }
}

/* Checklist */
.about-checklist {
  list-style: none;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft .5s ease forwards;
}
.about-checklist li div { display: flex; flex-direction: column; gap: .15rem; }
.about-checklist li strong { font-size: .92rem; font-weight: 700; color: var(--white); }
.about-checklist li span  { font-size: .82rem; color: var(--gray); }

.about-check {
  width: 32px; height: 32px;
  background: rgba(108,99,255,.15);
  color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: .1rem;
  transition: var(--transition);
}
.about-check-gold {
  background: rgba(245,158,11,.15);
  color: var(--secondary-dark);
}
.about-checklist li:hover .about-check {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}
.about-checklist li:hover .about-check-gold {
  background: var(--secondary);
  color: white;
}

/* Mini stats */
.about-mini-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
}
.about-mini-stat { text-align: center; flex: 1; }
.about-mini-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  font-family: var(--font-heading);
}
.about-mini-label { font-size: .72rem; color: var(--gray); margin-top: .3rem; }
.about-mini-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---------- RIGHT COLUMN ---------- */
.about-right {
  position: relative;
  padding: 2.5rem;
}

/* Decorative rings behind the card */
.about-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(108,99,255,.2);
  pointer-events: none;
  animation: rotateSlow 20s linear infinite;
}
.about-ring {
  width: 440px; height: 440px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.about-ring-2 {
  width: 540px; height: 540px;
  border-color: rgba(249,115,22,.12);
  animation-direction: reverse;
  animation-duration: 28s;
}
@keyframes rotateSlow {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

/* Scale-in animation for the central card */
.anim-scale-in {
  opacity: 0;
  transform: scale(.9);
  animation: scaleIn .65s cubic-bezier(.34,1.56,.64,1) .2s forwards;
}
@keyframes scaleIn {
  to { opacity: 1; transform: scale(1); }
}

/* Central card */
.about-central-card {
  position: relative;
  z-index: 2;
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-central-header {
  background: var(--gradient);
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
}
.about-central-header::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  right: -60px; top: -60px;
}
.about-central-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* Feature pills inside the card */
.about-pills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  padding: 1.5rem 1.5rem 1rem;
}
.about-pill {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  transition: var(--transition);
  cursor: default;
}
.about-pill:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.about-pill-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.about-pill-title { font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.9); }
.about-pill-sub   { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: .1rem; }

/* Tech stack tags */
.about-tech-row {
  display: flex;
  gap: .5rem;
  padding: 1rem 1.5rem 1.5rem;
  flex-wrap: wrap;
}
.about-tech-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
}

/* Floating badge cards */
.about-float {
  position: absolute;
  background: var(--dark-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(108,99,255,.15);
  padding: .75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  z-index: 10;
  min-width: 155px;
  border: 1px solid var(--border);
  opacity: 0;
}
.about-float-tl { top: 0;    left: -1rem;  animation: floatInTL .5s ease forwards, floatBob 3s ease-in-out 1s infinite; }
.about-float-tr { top: 0;    right: -1rem; animation: floatInTR .5s ease forwards, floatBob 3s ease-in-out 1.5s infinite; }
.about-float-bl { bottom: 0; left: -1rem;  animation: floatInTL .5s ease forwards, floatBob 3s ease-in-out 2s infinite; }
.about-float-br { bottom: 0; right: -1rem; animation: floatInTR .5s ease forwards, floatBob 3s ease-in-out 2.5s infinite; }

@keyframes floatInTL {
  from { opacity: 0; transform: translate(-10px, 10px); }
  to   { opacity: 1; transform: translate(0, 0); }
}
@keyframes floatInTR {
  from { opacity: 0; transform: translate(10px, 10px); }
  to   { opacity: 1; transform: translate(0, 0); }
}
@keyframes floatBob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Float-in trigger class (applied via anim-float-in) */
.anim-float-in { /* animations set inline on each .about-float */ }

.about-float-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.about-float-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.about-float-label {
  font-size: .7rem;
  color: var(--gray);
  margin-top: .1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-right { padding: 2.5rem 1rem; }
  .about-float-tl { top: -1rem;    left: 0; }
  .about-float-tr { top: -1rem;    right: 0; }
  .about-float-bl { bottom: -1rem; left: 0; }
  .about-float-br { bottom: -1rem; right: 0; }
  .about-ring { width: min(100%, 360px); height: min(100%, 360px); }
  .about-ring-2 { width: min(110%, 420px); height: min(110%, 420px); }
}
@media (max-width: 600px) {
  .about-right { padding: 0; }
  .about-mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.75rem;
    padding: 1rem;
  }
  .about-mini-stat { flex: none; }
  .about-mini-divider { display: none; }
  .about-mini-num { font-size: 1.25rem; }
  .about-checklist li strong,
  .about-checklist li span { overflow-wrap: anywhere; }
  .about-pills-grid { grid-template-columns: 1fr; padding: 1.25rem 1rem 0.75rem; }
  .about-tech-row { padding: 0.75rem 1rem 1.25rem; }
  .about-central-header { padding: 1.25rem 1.25rem; }
  /* Decorative floats/rings overflow the viewport — hide on small screens */
  .about-float,
  .about-ring { display: none; }
  .about-left .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   COURSE TABS  (courses.php)
   ============================================================ */

/* Duration comparison cards */
.courses-duration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.courses-duration-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  min-width: 0;
}
.courses-duration-card--basic {
  background: white;
  border: 2px solid var(--primary);
}
.courses-duration-card--advanced {
  background: var(--gradient);
  color: white;
  position: relative;
  overflow: hidden;
}
.courses-duration-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: var(--secondary);
  color: var(--dark);
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: var(--radius-full);
}
.courses-duration-months {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: .5rem;
}
.courses-duration-months--basic { color: var(--primary); }
.courses-duration-months--advanced { color: var(--secondary); }
.courses-duration-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.courses-duration-card--advanced h3 { color: white; }
.courses-duration-card p {
  font-size: .875rem;
  color: var(--gray);
  margin-bottom: 1rem;
}
.courses-duration-card--advanced p { color: rgba(255,255,255,.8); }
.courses-duration-card ul {
  text-align: left;
  font-size: .85rem;
  color: var(--dark-3);
}
.courses-duration-card--advanced ul { color: rgba(255,255,255,.9); }
.courses-duration-card li { padding: .3rem 0; }
@media (max-width: 700px) {
  .courses-duration-grid { grid-template-columns: 1fr; }
  .courses-duration-card { padding: 1.5rem; }
}

/* Wrapper */
.ctabs-wrapper {
  background: var(--dark-3);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ctabs-wrapper--panes {
  margin-top: 0;
}

/* Sticky course categories (courses.php) */
.courses-category-bar {
  position: sticky;
  top: 70px;
  z-index: 900;
  background: rgba(15, 20, 35, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: .65rem 0;
  margin-bottom: 1.5rem;
}
.courses-category-filters.ctabs-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: .5rem;
  grid-template-columns: none;
  border-bottom: none;
  background: transparent;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(108, 99, 255, .45) transparent;
  overscroll-behavior-x: contain;
  padding-bottom: 2px;
}
.courses-category-filters.ctabs-nav::-webkit-scrollbar { height: 4px; }
.courses-category-filters.ctabs-nav::-webkit-scrollbar-track { background: transparent; }
.courses-category-filters.ctabs-nav::-webkit-scrollbar-thumb {
  background: rgba(108, 99, 255, .45);
  border-radius: 4px;
}
.courses-category-filters .ctab-btn {
  flex: 0 0 auto;
  border-right: none;
  border-bottom: 3px solid transparent;
  margin-bottom: 0;
  border-radius: 12px;
  padding: .85rem 1.1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
}
.courses-category-filters .ctab-btn.active {
  border-color: rgba(108, 99, 255, .45);
  border-bottom-color: var(--primary-light);
  background: rgba(108,99,255,.12);
}
.page-hero-course-pills {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
@media (max-width: 768px) {
  .courses-category-bar { top: 60px; padding: .55rem 0; margin-bottom: 1.15rem; }
  .courses-category-filters .ctab-btn { padding: .7rem .85rem; }
  .courses-category-filters .ctab-sub { display: none; }
}

/* ---- Tab nav bar ---- */
.ctabs-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 2px solid var(--border);
  background: var(--light);
}

.ctab-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.25rem 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  text-align: left;
  border-right: 1px solid var(--border);
}
.ctab-btn:last-child { border-right: none; }

.ctab-btn:hover {
  background: rgba(108,99,255,.06);
}
.ctab-btn.active {
  background: rgba(108,99,255,.1);
  border-bottom-color: var(--primary-light);
}

/* Icon circle */
.ctab-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  flex-shrink: 0;
  transition: var(--transition);
}
.ctab-icon.cc-java   { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.ctab-icon.cc-python { background: linear-gradient(135deg,#3b82f6,#10b981); }
.ctab-icon.cc-mern   { background: linear-gradient(135deg,#10b981,#06b6d4); }
.ctab-icon.cc-php    { background: linear-gradient(135deg,#7c3aed,#1d4ed8); }

.ctab-btn.active .ctab-icon { transform: scale(1.08); box-shadow: var(--shadow-md); }

/* Label text */
.ctab-label { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ctab-name {
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ctab-sub {
  font-size: .72rem;
  color: var(--gray);
  white-space: nowrap;
}
.ctab-btn.active .ctab-name { color: var(--white); }
.ctab-btn.active .ctab-sub  { color: var(--primary-light); }

/* Badge pill inside tab */
.ctab-badge {
  position: absolute;
  top: .6rem; right: .6rem;
  background: rgba(249,115,22,.15);
  color: var(--secondary);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .15rem .5rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ---- Tab panes ---- */
.ctab-pane {
  display: none;
  animation: ctabFadeIn .35s ease;
}
.ctab-pane.active { display: block; }

@keyframes ctabFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Content grid inside each pane */
.ctab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  align-items: start;
}
.ctab-left { }
.ctab-right { }

/* Info card on the right */
.ctab-card {
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--dark-4);
}
.ctab-card-header {
  padding: 1.75rem 2rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.ctab-card-header h3 { color: white; font-size: 1.2rem; margin-bottom: .2rem; }
.ctab-card-header p  { opacity: .85; font-size: .85rem; margin: 0; }
.ctab-card-icon {
  font-size: 2.75rem;
  flex-shrink: 0;
  line-height: 1;
}

.ctab-card-body { padding: 1.75rem; }

/* Duration boxes */
.ctab-durations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.ctab-dur-box {
  background: rgba(255,255,255,.03);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}
.ctab-dur-box:hover {
  border-color: rgba(108,99,255,.4);
  background: rgba(108,99,255,.07);
}
.ctab-dur-box.active {
  border-color: rgba(108,99,255,.55);
  background: rgba(108,99,255,.12);
}
.ctab-dur-months {
  font-size: 1.15rem;
  font-weight: 800;
  color: rgba(255,255,255,.75);
  line-height: 1;
}
.ctab-dur-box.active .ctab-dur-months {
  color: var(--primary-light);
}
.ctab-dur-label {
  font-size: .72rem;
  color: var(--gray);
  margin-top: .3rem;
}

/* Meta rows */
.ctab-meta-rows { font-size: .875rem; color: var(--text); margin-bottom: 1rem; }

/* Price block inside card */
.ctab-price-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  margin-bottom: 1rem;
}
.ctab-price-label {
  font-size: .6rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .3rem;
}
.ctab-price-nums {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  flex-wrap: wrap;
}
.ctab-price-main {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-heading);
}
.ctab-price-mkt {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  text-decoration: line-through;
}
.ctab-price-badge {
  font-size: .58rem;
  font-weight: 800;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.3);
  color: #34d399;
  border-radius: 999px;
  padding: .12rem .5rem;
}
.ctab-emi {
  font-size: .65rem;
  color: rgba(255,255,255,.38);
  margin-top: .3rem;
}
.ctab-emi strong { color: #34d399; }
.ctab-action-btns {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex-shrink: 0;
}
.ctab-action-btns .btn {
  white-space: nowrap;
  font-size: .8rem;
  padding: .5rem .9rem;
}
.ctab-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
}
.ctab-row:last-child { border-bottom: none; }
.ctab-row span { color: var(--gray); }
.ctab-row strong { font-weight: 700; }

/* Who this is for box */
.ctab-who {
  background: rgba(108,99,255,.06);
  border: 1px solid rgba(108,99,255,.15);
  border-radius: var(--radius);
  padding: 1rem;
}
.ctab-who-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.ctab-who p { font-size: .82rem; color: var(--gray); line-height: 1.6; margin: 0; }

/* ---- Responsive: course tabs ---- */
@media (max-width: 900px) {
  .ctabs-nav { grid-template-columns: repeat(2, 1fr); }
  .ctab-btn { border-bottom: 2px solid transparent; }
  .ctab-btn:nth-child(2) { border-right: none; }
  .ctab-content { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
}
@media (max-width: 540px) {
  .ctabs-nav { grid-template-columns: 1fr 1fr; }
  .ctab-btn { padding: .85rem 1rem; }
  .ctab-icon { width: 36px; height: 36px; font-size: 1.1rem; border-radius: 8px; }
  .ctab-name { font-size: .8rem; }
  .ctab-sub  { display: none; }
  .ctab-badge { display: none; }
  .ctab-content { padding: 1.25rem; gap: 1.5rem; }
}

/* ============================================================
   PLATFORM PREVIEW SECTION
   ============================================================ */
.platform-section {
  background: #06060e;
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
}

/* Background glows */
.plat-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.plat-glow-amber {
  width: 600px; height: 600px;
  background: rgba(245,158,11,.18);
  right: -150px; bottom: -100px;
  animation: platGlowPulse 6s ease-in-out infinite;
}
.plat-glow-violet {
  width: 500px; height: 500px;
  background: rgba(108,99,255,.15);
  left: -100px; top: -100px;
  animation: platGlowPulse 8s ease-in-out 2s infinite;
}
@keyframes platGlowPulse {
  0%,100% { opacity: .8; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}
.plat-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .4;
}

/* Two-column layout */
.plat-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ── Left copy ── */
.plat-copy { }
.plat-desc {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.plat-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.plat-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.plat-feat-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,.3);
}
.plat-features li div { display: flex; flex-direction: column; gap: .2rem; }
.plat-features li strong { font-size: .95rem; font-weight: 700; color: var(--white); }
.plat-features li span  { font-size: .83rem; color: var(--gray); line-height: 1.5; }

/* ── Mockup wrapper ── */
.plat-mockup {
  position: relative;
  width: 100%;
  max-width: 100%;
  container-type: inline-size;
  container-name: plat-mockup;
}
.plat-mockup-fit {
  position: relative;
  width: 100%;
}

/* Floating pills */
.plat-pill {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  padding: .5rem 1.1rem;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.plat-pill-tl {
  top: -1rem; left: -1.5rem;
  animation: platPillBob 3s ease-in-out infinite;
}
.plat-pill-br {
  bottom: -1rem; right: -1.5rem;
  animation: platPillBob 3.5s ease-in-out 1s infinite;
}
@keyframes platPillBob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── Browser chrome ── */
.plat-browser {
  border-radius: 14px;
  overflow: hidden;
  background: #111120;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow:
    0 40px 80px rgba(0,0,0,.7),
    0 0 0 1px rgba(108,99,255,.1),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.plat-browser-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1rem;
  background: #0d0d1a;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.plat-dots { display: flex; gap: .4rem; }
.plat-dots span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.plat-url {
  flex: 1;
  text-align: center;
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
  padding: .25rem .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  max-width: 260px;
  margin: 0 auto;
}
.plat-browser-actions {
  font-size: .75rem;
  color: rgba(255,255,255,.25);
}

/* ── App ── */
.plat-app {
  position: relative;
  min-height: 420px;
}

/* Tab bar */
.plat-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  background: #0d0d1a;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 0 1rem;
}
.plat-tab {
  padding: .65rem 1rem;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.plat-tab-active {
  color: rgba(255,255,255,.85);
  border-bottom-color: #6C63FF;
}
.plat-tab-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.plat-lang-pill {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: .3rem .75rem;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
}
.plat-run-btn {
  background: linear-gradient(135deg,#22c55e,#16a34a);
  color: white;
  padding: .3rem .85rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* ── Two-pane editor ── */
.plat-panes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 350px;
}

/* Problem pane */
.plat-problem {
  border-right: 1px solid rgba(255,255,255,.05);
  padding: 1.25rem;
  overflow: hidden;
}
.plat-problem-header { margin-bottom: 1rem; }
.plat-prob-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}
.plat-prob-tags { display: flex; gap: .4rem; margin-bottom: .4rem; }
.plat-tag {
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.plat-tag-med  { background: rgba(245,158,11,.15); color: #fbbf24; }
.plat-tag-proj { background: rgba(108,99,255,.15);  color: #6C63FF; }
.plat-prob-meta { font-size: .65rem; color: rgba(255,255,255,.3); }
.plat-section-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.3);
  margin-bottom: .5rem;
}
.plat-prob-body {
  font-size: .73rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-bottom: .75rem;
}
.plat-code-mini {
  font-family: 'Courier New', monospace;
  font-size: .68rem;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: .75rem 1rem;
  line-height: 1.9;
  color: rgba(255,255,255,.55);
}

/* Code editor pane */
.plat-editor {
  background: #0a0a16;
  display: flex;
  flex-direction: column;
}
.plat-editor-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 0 1rem;
}
.plat-etab {
  padding: .5rem .85rem;
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.plat-etab-active {
  color: rgba(255,255,255,.8);
  border-bottom-color: #f59e0b;
}
.plat-code {
  padding: .75rem 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: .7rem;
  line-height: 1.8;
  flex: 1;
}
.plat-line {
  display: flex;
  align-items: baseline;
  padding: 0 1rem 0 0;
  transition: background .15s;
}
.plat-line:hover { background: rgba(255,255,255,.03); }
.plat-line-highlight { background: rgba(108,99,255,.07); }
.plat-ln {
  width: 28px;
  text-align: right;
  color: rgba(255,255,255,.18);
  margin-right: 1rem;
  user-select: none;
  flex-shrink: 0;
  font-size: .65rem;
}
.plat-cursor-line .plat-cursor {
  display: inline-block;
  width: 2px;
  height: .9em;
  background: #6C63FF;
  animation: platCursorBlink .9s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}
@keyframes platCursorBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Syntax tokens */
.pc-key  { color: #6C63FF; font-weight: 600; }
.pc-cls  { color: #22d3ee; }
.pc-fn   { color: #fbbf24; }
.pc-str  { color: #34d399; }
.pc-num  { color: #F97316; }
.pc-ann  { color: #F97316; }

/* ── TechZex AI popup ── */
.plat-ai-popup {
  position: absolute;
  bottom: 1.25rem;
  right: 1rem;
  width: 280px;
  background: #16162e;
  border: 1px solid rgba(245,158,11,.35);
  border-radius: 14px;
  box-shadow:
    0 20px 50px rgba(0,0,0,.7),
    0 0 0 1px rgba(245,158,11,.1),
    inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
  animation: platAISlideUp .6s cubic-bezier(.34,1.3,.64,1) .8s both;
}
@keyframes platAISlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.plat-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.2);
}
.plat-ai-logo { display: flex; align-items: center; gap: .6rem; }
.plat-ai-logo-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg,#f59e0b,#ef4444);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  font-size: .85rem;
  font-family: var(--font-heading);
}
.plat-ai-name  { font-size: .82rem; font-weight: 700; color: var(--white); }
.plat-ai-sub   { font-size: .65rem; color: rgba(255,255,255,.4); }
.plat-ai-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.3);
  cursor: pointer;
  font-size: .8rem;
  padding: .25rem;
}

.plat-ai-body { padding: .85rem 1rem 1rem; }
.plat-ai-q {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .85rem;
}
.plat-ai-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  margin-bottom: .85rem;
}
.plat-ai-chip {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  padding: .45rem .6rem;
  font-size: .68rem;
  color: rgba(255,255,255,.65);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.plat-ai-chip:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: var(--white);
}
.plat-ai-input {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,0,0,.3);
  border: 1.5px solid rgba(245,158,11,.4);
  border-radius: 10px;
  padding: .5rem .6rem .5rem 1rem;
  transition: border-color .2s;
}
.plat-ai-input:focus-within { border-color: rgba(245,158,11,.75); }
.plat-ai-input input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  font-family: inherit;
}
.plat-ai-send {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg,#f59e0b,#ef4444);
  border: none;
  color: white;
  font-size: .7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Responsive: keep desktop mockup design, scale to fit screen ── */
@media (max-width: 1024px) {
  .plat-inner { grid-template-columns: 1fr; gap: 2rem; }
  .plat-mockup { order: -1; }
  .plat-pill-tl { top: -1.25rem; left: 0; }
  .plat-pill-br { bottom: -1.25rem; right: 0; }
}
@media (max-width: 900px) {
  .platform-section { padding: 3.5rem 0; }
  .plat-inner { gap: 1.75rem; }
  /*
    Keep the original two-pane classroom UI intact.
    Use zoom so layout height shrinks with the visual (no empty gap).
  */
  .plat-mockup {
    overflow: hidden;
  }
  .plat-mockup-fit {
    --plat-design-w: 640px;
    width: var(--plat-design-w);
    max-width: none;
    zoom: calc(100cqw / var(--plat-design-w));
  }
  .plat-browser {
    width: 100%;
    min-width: 0;
  }
  .plat-prob-body,
  .plat-code-mini {
    overflow-wrap: break-word;
  }
  .plat-line {
    white-space: nowrap;
  }
  .plat-code {
    overflow-x: auto;
  }
}
@media (max-width: 480px) {
  .platform-section { padding: 3rem 0; }
  .plat-inner { gap: 1.5rem; }
  .plat-mockup-fit {
    --plat-design-w: 600px;
    width: var(--plat-design-w);
    zoom: calc(100cqw / var(--plat-design-w));
  }
}

/* Fallback when zoom is unavailable: transform + clip leftover space */
@supports not (zoom: 1) {
  @media (max-width: 900px) {
    .plat-mockup-fit {
      zoom: unset;
      transform: scale(calc(100cqw / var(--plat-design-w)));
      transform-origin: top left;
      height: calc(520px * (100cqw / var(--plat-design-w)));
      overflow: visible;
    }
    .plat-mockup {
      height: calc(520px * (100cqw / var(--plat-design-w)));
    }
  }
  @media (max-width: 480px) {
    .plat-mockup-fit {
      height: calc(500px * (100cqw / var(--plat-design-w)));
    }
    .plat-mockup {
      height: calc(500px * (100cqw / var(--plat-design-w)));
    }
  }
}

/* ============================================================
   TOP COMPANIES — Dual-row infinite marquee
   ============================================================ */
.companies-section {
  background: var(--dark-2);
  padding: 5rem 0 4rem;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.companies-header {
  text-align: center;
  padding: 0 1.5rem 3rem;
}

/* Each row wrapper — handles the side fades */
.companies-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Left/right gradient fades */
.companies-fade-left,
.companies-fade-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}
.companies-fade-left  { left: 0;  background: linear-gradient(to right, var(--dark-2) 0%, transparent 100%); }
.companies-fade-right { right: 0; background: linear-gradient(to left,  var(--dark-2) 0%, transparent 100%); }

/* Scrolling track */
.companies-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  padding: .75rem 0;
}
.companies-track-left  { animation: coScroll 30s linear infinite; }
.companies-track-right { animation: coScrollRev 28s linear infinite; }

.companies-track-left:hover,
.companies-track-right:hover { animation-play-state: paused; }

@keyframes coScroll    { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes coScrollRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Individual company logo card */
.co-logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: .85rem 1.6rem;
  margin: 0 .5rem;
  white-space: nowrap;
  transition: var(--transition);
  cursor: default;
  flex-shrink: 0;
}
.co-logo:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(108,99,255,.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
.co-logo i    { font-size: 1.5rem; flex-shrink: 0; }
.co-logo img  {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  display: block;
}
.co-logo span { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.65); letter-spacing: .01em; }

/* ============================================================
   PLACED STUDENTS — Carousel (1 card mobile / 2 cards desktop)
   ============================================================ */
.ps-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.ps-section::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(108,99,255,.12) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}
.ps-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,.08) 0%, transparent 70%);
  bottom: -100px;
  left: -60px;
  pointer-events: none;
}
.ps-section > .container { position: relative; z-index: 1; }

.ps-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.ps-arrows { display: flex; gap: .6rem; flex-shrink: 0; }
.ps-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  background: var(--dark-3);
  color: var(--white);
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.ps-arrow:hover:not(:disabled) {
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 0 16px rgba(108,99,255,.4);
}
.ps-arrow:disabled { opacity: .35; cursor: not-allowed; }

.ps-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: var(--radius-lg);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
}
.ps-viewport::-webkit-scrollbar { display: none; }

.ps-track {
  display: flex;
  gap: 1.25rem;
}

.ps-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.ps-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  height: 100%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  min-height: 100%;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.ps-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--violet), var(--accent));
  opacity: 0;
  transition: opacity .3s;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.ps-card:hover {
  border-color: rgba(108,99,255,.35);
  box-shadow: 0 16px 36px rgba(0,0,0,.45), 0 0 20px rgba(108,99,255,.12);
  transform: translateY(-3px);
}
.ps-card:hover::before { opacity: 1; }

.ps-card-photo {
  flex-shrink: 0;
  width: 100px;
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(108,99,255,.35);
  box-shadow: 0 0 24px rgba(108,99,255,.2);
  background: var(--dark-2);
  position: relative;
}
.ps-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ps-card-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: var(--white);
  font-weight: 800;
  font-size: 1.35rem;
  font-family: var(--font-heading);
}
.ps-card-avatar[hidden],
.ps-card-photo img[hidden] { display: none !important; }

.ps-card-body { flex: 1; min-width: 0; }
.ps-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .35rem;
  line-height: 1.2;
}
.ps-card-company {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: .75rem;
}
.ps-card-company i { font-size: .75rem; opacity: .85; }
.ps-card-msg {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

.ps-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.75rem;
}
.ps-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  transition: var(--transition);
}
.ps-dot.active,
.ps-dot:hover {
  background: var(--primary);
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(108,99,255,.5);
}

@media (min-width: 901px) {
  /* Two cards visible on desktop */
  .ps-slide {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }
}
@media (max-width: 900px) {
  .ps-slide { flex: 0 0 100%; }
}
@media (max-width: 600px) {
  .ps-card { flex-direction: column; align-items: center; text-align: center; }
  .ps-card-company { justify-content: center; }
  .ps-header { flex-direction: column; align-items: flex-start; }
  .ps-arrows { align-self: flex-end; }
}

/* ============================================================
   COURSE DETAIL PAGE
   ============================================================ */

/* Hero */
.cd-hero {
  padding: 7.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.cd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.cd-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cd-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: .3rem .9rem;
  margin-bottom: 1.1rem;
  border: 1px solid;
}
.cd-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: .6rem;
  font-family: var(--font-heading);
}
.cd-hero h1 span {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cd-hero-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  max-width: 520px;
}
.cd-hero-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cd-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.65);
}
.cd-hero-pill i { font-size: .68rem; }
.cd-hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; }

/* Right card */
.cd-info-card {
  background: var(--dark-3);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.cd-info-card-top {
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.cd-course-icon-wrap {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1rem;
}
.cd-course-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  flex-shrink: 0;
}
.cd-course-name { font-size: 1.05rem; font-weight: 800; color: var(--white); }
.cd-course-sub  { font-size: .75rem; color: var(--gray); margin-top: .1rem; }

/* Duration toggle */
.cd-duration-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-bottom: 1.25rem;
}
.cd-dur-btn {
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: .9rem .5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.cd-dur-btn:hover {
  border-color: rgba(108,99,255,.4);
  background: rgba(108,99,255,.07);
}
.cd-dur-btn.active {
  border-color: rgba(108,99,255,.55);
  background: rgba(108,99,255,.13);
}
.cd-dur-btn.active .cd-dur-months { color: var(--primary-light); }
.cd-dur-btn.active[data-dur="6m"] .cd-dur-months { color: #F97316; }
.cd-dur-months { font-size: 1.15rem; font-weight: 800; color: rgba(255,255,255,.75); display: block; }
.cd-dur-label  { font-size: .68rem; color: var(--gray); margin-top: .2rem; display: block; }

/* Meta rows */
.cd-meta-rows { display: grid; gap: .55rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.cd-meta-row  {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}
.cd-meta-key  { color: var(--gray); display: flex; align-items: center; gap: .4rem; }
.cd-meta-key i { color: var(--primary-light); font-size: .72rem; width: 14px; text-align: center; }
.cd-meta-val  { font-weight: 700; color: var(--white); }

.cd-info-card-cta { padding: 1.25rem 1.5rem; }
.cd-info-card-cta .btn { width: 100%; justify-content: center; }
.cd-price-row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: 1rem;
}
.cd-price { font-size: 1.6rem; font-weight: 900; color: var(--white); font-family: var(--font-heading); }
.cd-price-note { font-size: .72rem; color: var(--gray); }

/* ── Page body layout ── */
.cd-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
  padding: 3.5rem 0;
}
.cd-main {}
.cd-sidebar {}

/* Section headers inside detail */
.cd-section { margin-bottom: 2.75rem; }
.cd-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.cd-section-title i { color: var(--primary-light); font-size: 1rem; }

/* Curriculum accordion */
.cd-curriculum { display: grid; gap: .6rem; }
.cd-module {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cd-module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background .2s;
  user-select: none;
}
.cd-module-head:hover { background: rgba(255,255,255,.03); }
.cd-module-head-left { display: flex; align-items: center; gap: .85rem; }
.cd-module-num {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(108,99,255,.15);
  border: 1px solid rgba(108,99,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  color: var(--primary-light);
  flex-shrink: 0;
}
.cd-module-name  { font-size: .88rem; font-weight: 700; color: var(--white); }
.cd-module-meta  { font-size: .7rem; color: var(--gray); margin-top: .1rem; }
.cd-module-arrow {
  color: var(--gray);
  font-size: .8rem;
  transition: transform .25s;
  flex-shrink: 0;
}
.cd-module.open .cd-module-arrow { transform: rotate(180deg); }
.cd-module-body {
  display: none;
  padding: 0 1.25rem 1rem 1.25rem;
  border-top: 1px solid var(--border);
}
.cd-module.open .cd-module-body { display: block; }
.cd-topics { display: grid; gap: .35rem; margin-top: .75rem; }
.cd-topic {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}
.cd-topic i { color: var(--primary-light); font-size: .65rem; margin-top: .2rem; flex-shrink: 0; }

/* Projects */
.cd-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cd-project-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: var(--transition);
}
.cd-project-card:hover { border-color: rgba(108,99,255,.3); transform: translateY(-3px); }
.cd-project-badge {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: .2rem .65rem;
  border: 1px solid;
  display: inline-block;
  margin-bottom: .65rem;
}
.cd-project-card h4 { font-size: .9rem; font-weight: 800; color: var(--white); margin-bottom: .35rem; }
.cd-project-card p  { font-size: .75rem; color: var(--gray); line-height: 1.6; margin-bottom: .75rem; }
.cd-project-techs   { display: flex; gap: .35rem; flex-wrap: wrap; }
.cd-project-techs span {
  font-size: .63rem; font-weight: 700;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: .15rem .45rem;
  color: rgba(255,255,255,.5);
}

/* Tools grid */
.cd-tools { display: flex; gap: .6rem; flex-wrap: wrap; }
.cd-tool {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: .45rem .85rem;
}
.cd-tool i { font-size: .9rem; }

/* Who is this for */
.cd-who { display: grid; gap: .55rem; }
.cd-who-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}
.cd-who-item i { color: #34d399; font-size: .85rem; flex-shrink: 0; margin-top: .1rem; }

/* Sidebar */
.cd-sidebar-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.cd-sidebar-title {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: .9rem;
}
.cd-outcomes { display: grid; gap: .45rem; }
.cd-outcome {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.cd-outcome i { color: #fbbf24; flex-shrink: 0; font-size: .75rem; margin-top: .15rem; }

/* Responsive */
@media (max-width: 1024px) {
  .cd-hero-inner { grid-template-columns: 1fr; }
  .cd-info-card  { max-width: 480px; }
  .cd-body       { grid-template-columns: 1fr; }
  .cd-sidebar    { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 640px) {
  .cd-projects   { grid-template-columns: 1fr; }
  .cd-sidebar    { grid-template-columns: 1fr; }
}

/* ============================================================
   ENROLLMENT PAGE
   ============================================================ */
.enroll-page { background: var(--dark); min-height: 100vh; }

/* ── Step Wizard ── */
.enroll-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 1.5rem 1rem 1rem;
}
.enroll-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  position: relative;
}
.enroll-step-circle {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--gray);
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.enroll-step-label {
  font-size: .68rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: var(--transition);
  white-space: nowrap;
}
.enroll-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  min-width: 3rem;
  max-width: 6rem;
  margin: 0 .4rem;
  margin-bottom: 1.5rem;
  transition: background .3s;
}
/* Active step */
.enroll-step.active .enroll-step-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(108,99,255,.18);
}
.enroll-step.active .enroll-step-label { color: var(--primary-light); }
/* Done step */
.enroll-step.done .enroll-step-circle {
  border-color: var(--green);
  background: rgba(16,185,129,.15);
  color: var(--green);
}
.enroll-step.done .enroll-step-circle::after {
  content: '✓';
  font-size: 1rem;
}
.enroll-step.done .enroll-step-circle { font-size: 0; }
.enroll-step.done .enroll-step-label { color: var(--green); }

/* Step panels — only active visible */
.enroll-step-panel { display: none; }
.enroll-step-panel.active { display: block; }

/* Navigation buttons */
.enroll-nav-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem 1.5rem;
  gap: .75rem;
}
.enroll-back-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--gray);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.enroll-back-btn:hover {
  border-color: rgba(108,99,255,.4);
  color: var(--primary-light);
  background: rgba(108,99,255,.07);
}
.enroll-next-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.6rem;
  border-radius: 10px;
  border: none;
  background: var(--gradient);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(108,99,255,.25);
}
.enroll-next-btn:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108,99,255,.35);
}

/* ── Payment Step ── */
.enroll-pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.enroll-pay-opt { cursor: pointer; }
.enroll-pay-opt input[type="radio"] { display: none; }
.enroll-pay-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  padding: 1.4rem 1.1rem 1.1rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.enroll-pay-opt:hover .enroll-pay-card {
  border-color: rgba(108,99,255,.4);
  background: rgba(108,99,255,.06);
}
.enroll-pay-opt input:checked ~ .enroll-pay-card {
  border-color: var(--primary);
  background: rgba(108,99,255,.12);
  box-shadow: 0 0 0 3px rgba(108,99,255,.15);
}
.enroll-pay-icon {
  font-size: 1.6rem;
  margin-bottom: .6rem;
  color: var(--primary-light);
}
.enroll-pay-name {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray);
  margin-bottom: .5rem;
}
.enroll-pay-amount {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .35rem;
}
.enroll-pay-mo {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray);
}
.enroll-pay-sub {
  font-size: .72rem;
  color: var(--gray);
  margin-bottom: .5rem;
}
.enroll-pay-saving {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 20px;
  padding: .2rem .7rem;
}
.enroll-pay-badge-emi {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  color: #F97316;
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.25);
  border-radius: 20px;
  padding: .2rem .7rem;
}

/* EMI due box */
.enroll-emi-due {
  display: none;
  background: rgba(108,99,255,.07);
  border: 1.5px solid rgba(108,99,255,.3);
  border-radius: 14px;
  padding: 1.2rem 1.4rem 0;
  margin-top: .5rem;
}
.enroll-emi-due-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.enroll-emi-due-label {
  font-size: .78rem;
  color: var(--gray);
  margin-bottom: .25rem;
}
.enroll-emi-due-label span { font-size: .68rem; }
.enroll-emi-due-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-light);
}
.enroll-emi-due-badge {
  background: rgba(108,99,255,.2);
  border: 1px solid rgba(108,99,255,.35);
  color: var(--primary-light);
  font-size: .7rem;
  font-weight: 700;
  border-radius: 20px;
  padding: .3rem .85rem;
}

/* EMI toggle button */
.enroll-emi-toggle-btn {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid rgba(108,99,255,.18);
  color: var(--primary-light);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  padding: .75rem 0;
  margin-top: .25rem;
  transition: color .2s;
}
.enroll-emi-toggle-btn:hover { color: #a5b4fc; }

/* EMI schedule table */
.enroll-emi-schedule { display: none; padding-bottom: 1rem; }
.emi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .78rem;
  margin-top: .6rem;
}
.emi-table thead tr {
  border-bottom: 1px solid rgba(108,99,255,.2);
}
.emi-table th {
  text-align: left;
  padding: .5rem .6rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray);
}
.emi-table td {
  padding: .55rem .6rem;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.emi-table tr:last-child td { border-bottom: none; }
.emi-status-due {
  display: inline-block;
  background: rgba(108,99,255,.15);
  color: var(--primary-light);
  border-radius: 20px;
  padding: .15rem .65rem;
  font-size: .68rem;
  font-weight: 700;
}
.emi-status-upcoming {
  display: inline-block;
  background: rgba(255,255,255,.05);
  color: var(--gray);
  border-radius: 20px;
  padding: .15rem .65rem;
  font-size: .68rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .enroll-pay-grid { grid-template-columns: 1fr; }
  .enroll-pay-amount { font-size: 1.4rem; }
}

/* Top strip */
.enroll-strip {
  background: var(--gradient);
  padding: .55rem 1rem;
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  letter-spacing: .04em;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.enroll-strip i { margin-right: .35rem; }

/* enroll hero uses .page-hero — no extra styles needed */

/* Body wrapper */
.enroll-body-wrap {
  background: var(--dark);
  border-top: 1px solid var(--border);
}

/* Body grid */
.enroll-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.25rem;
  align-items: start;
  padding: 2.5rem 0 5rem;
}

/* ── Form card ── */
.enroll-form-card {
  background: var(--dark-3);
  border: 1px solid var(--border-bright);
  border-radius: 22px;
  overflow: hidden;
}
.enroll-form-section {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border);
}
.enroll-form-section:last-child { border-bottom: none; }
.enroll-section-label {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.1rem;
}
.enroll-section-label i { color: var(--primary-light); font-size: .75rem; }

/* Course selector */
.enroll-course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.enroll-course-opt {
  position: relative;
  cursor: pointer;
}
.enroll-course-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.enroll-course-label {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
}
.enroll-course-opt input:checked + .enroll-course-label {
  border-color: rgba(108,99,255,.55);
  background: rgba(108,99,255,.08);
}
.enroll-course-label:hover { border-color: rgba(255,255,255,.2); }
.enroll-course-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}
.eci-java   { background: linear-gradient(135deg,#f97316,#ef4444); }
.eci-python { background: linear-gradient(135deg,#3572a5,#1e40af); }
.eci-mern   { background: linear-gradient(135deg,#0f172a,#1e3a5f); font-size:.65rem; font-weight:900; }
.eci-php    { background: linear-gradient(135deg,#4f46e5,#7c3aed); }
.enroll-course-info { flex: 1; min-width: 0; }
.enroll-course-name { font-size: .82rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.enroll-course-dur  { font-size: .68rem; color: var(--gray); margin-top: .1rem; }
.enroll-course-tick {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem;
  color: transparent;
  flex-shrink: 0;
  transition: var(--transition);
}
.enroll-course-opt input:checked + .enroll-course-label .enroll-course-tick {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Duration pills */
.enroll-dur-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.enroll-dur-opt { position: relative; cursor: pointer; }
.enroll-dur-opt input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.enroll-dur-label {
  display: block;
  padding: 1rem;
  background: rgba(255,255,255,.03);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.enroll-dur-opt input:checked + .enroll-dur-label {
  border-color: rgba(108,99,255,.55);
  background: rgba(108,99,255,.08);
}
.enroll-dur-label:hover { border-color: rgba(255,255,255,.2); }
.enroll-dur-months { font-size: 1.05rem; font-weight: 800; color: var(--white); display: block; }
.enroll-dur-opt input:checked + .enroll-dur-label .enroll-dur-months { color: var(--primary-light); }
.enroll-dur-sub    { font-size: .68rem; color: var(--gray); text-transform: uppercase; letter-spacing: .07em; margin-top: .2rem; display: block; }
.dur-price-main    { font-size: 1.1rem; font-weight: 900; color: var(--white); font-family: var(--font-heading); }
.dur-price-mkt     { font-size: .72rem; color: rgba(255,255,255,.3); text-decoration: line-through; }
.enroll-dur-badge  {
  display: inline-block;
  font-size: .6rem;
  font-weight: 800;
  background: linear-gradient(90deg,#6C63FF,#A855F7);
  color: white;
  border-radius: var(--radius-full);
  padding: .1rem .5rem;
  margin-top: .35rem;
}

/* Batch timing */
.enroll-timing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
}
.enroll-timing-opt { position: relative; }
.enroll-timing-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.enroll-timing-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: .75rem .5rem;
  background: rgba(255,255,255,.03);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.enroll-timing-opt input:checked + .enroll-timing-label {
  border-color: rgba(108,99,255,.55);
  background: rgba(108,99,255,.08);
}
.enroll-timing-label:hover { border-color: rgba(255,255,255,.2); }
.enroll-timing-icon { font-size: .95rem; }
.enroll-timing-name { font-size: .75rem; font-weight: 700; color: var(--white); }
.enroll-timing-time { font-size: .65rem; color: var(--gray); }

/* Form fields */
.enroll-fields { display: grid; gap: .9rem; }
.enroll-row-2  { grid-template-columns: 1fr 1fr; display: grid; gap: .9rem; }
.enroll-field  { display: flex; flex-direction: column; gap: .4rem; }
.enroll-field label {
  font-size: .73rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}
.enroll-field label span { color: #f87171; margin-left: .15rem; }
.enroll-input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .85rem;
  color: var(--white);
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
  box-sizing: border-box;
}
.enroll-input::placeholder { color: rgba(255,255,255,.25); }
.enroll-input:focus {
  border-color: rgba(108,99,255,.5);
  background: rgba(108,99,255,.05);
  box-shadow: 0 0 0 3px rgba(108,99,255,.1);
}
.enroll-input.enroll-invalid {
  border-color: rgba(248,113,113,.75) !important;
  background: rgba(248,113,113,.08) !important;
  box-shadow: 0 0 0 3px rgba(248,113,113,.12) !important;
}
.enroll-input.enroll-invalid:focus {
  border-color: rgba(248,113,113,.9) !important;
  box-shadow: 0 0 0 3px rgba(248,113,113,.18) !important;
}
.enroll-input option { background: #1e1b4b; color: white; }

/* Submit area */
.enroll-submit-area { padding: 1.5rem 2rem 2rem; }
.enroll-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gradient);
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  transition: var(--transition);
  font-family: var(--font-heading);
  letter-spacing: .02em;
}
.enroll-submit-btn:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(108,99,255,.3); }
.enroll-submit-note {
  text-align: center;
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  margin-top: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.enroll-submit-err {
  text-align: center;
  font-size: 0.85rem;
  color: #f87171;
  margin-top: 0.75rem;
  line-height: 1.45;
}

/* Site-wide student login modal (footer; same look as enroll modal) */
.site-student-login-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(5, 8, 20, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.site-student-login-modal.is-open {
  display: flex;
}
.site-student-login-dialog {
  background: linear-gradient(160deg, #151a2e, #0f141f);
  border: 1px solid rgba(90, 82, 224, 0.35);
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  padding: 1.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}
.site-student-login-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.site-student-login-head h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #fff;
}
.site-student-login-x {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}
.site-student-login-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 1rem;
}
.site-student-login-field {
  display: block;
  margin-bottom: 0.75rem;
}
.site-student-login-field:last-of-type {
  margin-bottom: 1rem;
}
.site-student-login-field .enroll-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.site-student-login-err {
  color: #f87171;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

/* ── Sidebar ── */
.enroll-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}
.enroll-summary-card {
  background: var(--dark-3);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.enroll-summary-top {
  padding: 1.4rem 1.4rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(108,99,255,.08), rgba(249,115,22,.05));
}
.enroll-selected-course {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}
.enroll-sel-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: white;
  flex-shrink: 0;
}
.enroll-sel-name { font-size: 1rem; font-weight: 800; color: var(--white); }
.enroll-sel-sub  { font-size: .72rem; color: var(--gray); margin-top: .1rem; }

.enroll-what-you-get { display: grid; gap: .45rem; }
.enroll-get-item {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.enroll-get-item i { color: #34d399; flex-shrink: 0; font-size: .7rem; margin-top: .2rem; }

.enroll-summary-meta { padding: 1rem 1.4rem; border-bottom: 1px solid var(--border); }
.enroll-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  padding: .3rem 0;
}
.enroll-meta-key { color: var(--gray); display: flex; align-items: center; gap: .4rem; }
.enroll-meta-key i { color: var(--primary-light); font-size: .7rem; width: 13px; text-align: center; }
.enroll-meta-val { font-weight: 700; color: var(--white); font-size: .8rem; }

.enroll-contact-strip {
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.enroll-contact-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
}
.enroll-contact-item i { color: var(--primary-light); width: 16px; text-align: center; flex-shrink: 0; }
.enroll-contact-item a { color: rgba(255,255,255,.7); text-decoration: none; }
.enroll-contact-item a:hover { color: var(--white); }

/* Success screen */
.enroll-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.enroll-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(16,185,129,.1);
  border: 2px solid rgba(16,185,129,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  color: #34d399;
}
.enroll-success h3 { font-size: 1.35rem; font-weight: 800; color: var(--white); margin-bottom: .5rem; }
.enroll-success p  { font-size: .85rem; color: var(--gray); line-height: 1.7; max-width: 340px; margin: 0 auto; }

/* Responsive */
@media (max-width: 1024px) {
  .enroll-body { grid-template-columns: 1fr; }
  .enroll-sidebar { position: static; }
}
@media (max-width: 640px) {
  .enroll-stepper { gap: 0; padding: 1rem .5rem .5rem; }
  .enroll-step-line { min-width: 1.5rem; }
  .enroll-step-label { font-size: .6rem; }
  .enroll-step-circle { width: 2rem; height: 2rem; font-size: .8rem; }
  .enroll-nav-btns { padding: .75rem 1.1rem 1.25rem; }
  .enroll-course-grid  { grid-template-columns: 1fr; }
  .enroll-row-2        { grid-template-columns: 1fr; }
  .enroll-timing-grid  { grid-template-columns: 1fr 1fr; }
  .enroll-form-section { padding: 1.25rem 1.1rem; }
  .enroll-submit-area  { padding: 1.25rem 1.1rem 1.5rem; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* hero mobile alignment handled in hero responsive block */
  .courses-grid { grid-template-columns: 1fr; }
  .trainers-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo-img { height: 32px; max-width: 140px; }
  .nav-inner { height: 60px; }
  .mobile-nav { top: 60px; max-height: calc(100vh - 60px); }
  .announcement-bar { font-size: .7rem; padding: .4rem .75rem; }
  .hero { padding-top: 60px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-row { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  /* testimonials-grid: horizontal swipe handled in its own block */
  /* process-steps replaced by hiw-tree (responsive in its own block) */
  /* placement banner responsive handled in component block */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .course-detail-grid { grid-template-columns: 1fr; }
  .trainers-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 1.5rem; }
  .stat-item:last-child { border-bottom: none; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-item:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .features-row { grid-template-columns: 1fr; }
  /* process-steps replaced by hiw-tree */
  .why-grid { grid-template-columns: 1fr; }
  .trainer-stats-row { gap: .75rem; }
  .nav-logo-img { height: 28px; max-width: 120px; }
  .announcement-bar { font-size: .65rem; padding: .35rem .5rem; }
  .container { padding: 0 1rem; }
  /* Reduce hero animation load on small devices */
  .hero-code-float { display: none; }
  .hero-canvas { display: none; }
  .hero-orb-1 { animation-duration: 20s; }
  .hero-orb-2 { animation-duration: 16s; }
  .hero-orb-3 { animation-duration: 14s; }
  .hero-card-stat-lbl {
    font-size: .55rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb-1, .hero-orb-2, .hero-orb-3 { animation: none; }
  .hero-code-float { display: none; }
  .hero-canvas { display: none; }
}

/* ============================================================
   RUNNING BATCHES — homepage (premium studio cards)
   ============================================================ */
.rb-section {
  background: var(--dark);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.rb-section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 8% 12%, rgba(249,115,22,.1) 0%, transparent 58%),
    radial-gradient(ellipse 50% 40% at 92% 88%, rgba(108,99,255,.12) 0%, transparent 55%),
    radial-gradient(ellipse 35% 30% at 70% 20%, rgba(6,182,212,.06) 0%, transparent 50%);
}
.rb-section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.rb-header { margin-bottom: 2.5rem; position: relative; z-index: 1; }

.rb-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin: 0 auto 1.75rem;
  max-width: 760px;
}
.rb-tab {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  text-align: left;
  padding: 1.05rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(17,24,39,.72);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.75);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
  font-family: inherit;
}
.rb-tab > i {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(108,99,255,.14);
  color: var(--primary-light);
  font-size: 1.05rem;
}
.rb-tab[data-rb-tab="college"] > i {
  background: rgba(249,115,22,.14);
  color: var(--accent);
}
.rb-tab-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.rb-tab-label {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.rb-tab-hint {
  font-size: .74rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.rb-tab:hover {
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.rb-tab.is-active {
  border-color: rgba(108,99,255,.5);
  background: linear-gradient(145deg, rgba(108,99,255,.16), rgba(17,24,39,.85));
  box-shadow: 0 12px 32px rgba(108,99,255,.15);
}
.rb-tab[data-rb-tab="college"].is-active {
  border-color: rgba(249,115,22,.45);
  background: linear-gradient(145deg, rgba(249,115,22,.14), rgba(17,24,39,.85));
  box-shadow: 0 12px 32px rgba(249,115,22,.12);
}

.rb-pills {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 0 auto 2rem;
  max-width: 760px;
  padding: .35rem;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  width: fit-content;
}
.rb-pill {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.62);
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.rb-pill:hover { color: #fff; background: rgba(255,255,255,.06); }
.rb-pill.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.rb-pill[data-rb-status="running"].is-active { background: #10b981; color: #fff; }
.rb-pill[data-rb-status="upcoming"].is-active { background: #3b82f6; color: #fff; }
.rb-pill[data-rb-status="completed"].is-active { background: #64748b; color: #fff; }

.rb-panel { position: relative; z-index: 1; display: none; }
.rb-panel.is-active { display: block; animation: rbFade .4s ease; }
@keyframes rbFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes rbPulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,.55); }
  50% { transform: scale(1.15); opacity: .85; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.rb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.rb-card {
  --rb-accent: #6C63FF;
  --rb-accent-soft: rgba(108,99,255,.18);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #151c2e 0%, #0f1422 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .35s ease;
}
.rb-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--rb-accent), transparent 85%);
  opacity: .9;
  z-index: 3;
}
.rb-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--rb-accent) 45%, transparent);
  box-shadow:
    0 22px 50px rgba(0,0,0,.4),
    0 0 0 1px color-mix(in srgb, var(--rb-accent) 20%, transparent);
}
.rb-tone-purple { --rb-accent: #6C63FF; --rb-accent-soft: rgba(108,99,255,.18); }
.rb-tone-blue { --rb-accent: #3b82f6; --rb-accent-soft: rgba(59,130,246,.18); }
.rb-tone-teal { --rb-accent: #06B6D4; --rb-accent-soft: rgba(6,182,212,.18); }
.rb-tone-violet { --rb-accent: #A855F7; --rb-accent-soft: rgba(168,85,247,.18); }
.rb-tone-orange { --rb-accent: #F97316; --rb-accent-soft: rgba(249,115,22,.18); }

.rb-card-visual {
  position: relative;
  height: 148px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, var(--rb-accent-soft), transparent 55%),
    linear-gradient(145deg, #1a2238, #101628);
}
.rb-card-mesh {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.rb-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: saturate(1.05) contrast(1.05);
  transition: transform .5s ease;
}
.rb-card.has-photo .rb-card-mesh { opacity: .2; z-index: 2; }
.rb-card.has-photo .rb-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10,15,30,.15), rgba(10,15,30,.75));
}
.rb-card:hover .rb-card-photo { transform: scale(1.06); }

.rb-card-visual-ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
}
.rb-card-mark {
  width: 58px;
  height: 58px;
  margin-top: auto;
  margin-left: auto;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--rb-accent) 75%, #fff), var(--rb-accent));
  box-shadow:
    0 12px 28px color-mix(in srgb, var(--rb-accent) 35%, transparent),
    inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .35s ease;
}
.rb-card:hover .rb-card-mark { transform: scale(1.06) rotate(-4deg); }
.rb-card.has-photo .rb-card-mark { display: none; }

.rb-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 999px;
  padding: .38rem .75rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
}
.rb-badge-running { background: rgba(16,185,129,.92); }
.rb-badge-upcoming { background: rgba(59,130,246,.92); }
.rb-badge-completed { background: rgba(100,116,139,.92); }
.rb-tone-orange.rb-status-running .rb-badge-running { background: rgba(249,115,22,.95); }
.rb-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: rbPulse 1.6s ease infinite;
}

.rb-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.2rem 1.2rem 1.25rem;
}
.rb-card-title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: #fff;
}

.rb-timeboard {
  position: relative;
  margin: 0 0 1rem;
  padding: .9rem 1rem;
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--rb-accent) 16%, transparent), rgba(255,255,255,.02));
  border: 1px solid color-mix(in srgb, var(--rb-accent) 28%, transparent);
  overflow: hidden;
}
.rb-timeboard::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--rb-accent);
  opacity: .12;
  filter: blur(18px);
}
.rb-timeboard-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(226,232,240,.55);
  margin-bottom: .3rem;
}
.rb-timeboard-value {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
  line-height: 1.25;
}
.rb-timeboard.is-soon .rb-timeboard-value {
  color: #93c5fd;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rb-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 .85rem;
}
.rb-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  max-width: 100%;
  padding: .38rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(226,232,240,.82);
  font-size: .74rem;
  line-height: 1.3;
}
.rb-meta-chip i {
  color: var(--rb-accent);
  font-size: .68rem;
}

.rb-seats { margin: 0 0 1rem; }
.rb-seats-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.rb-seats-fill {
  display: block;
  height: 100%;
  width: var(--rb-seats, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rb-accent), color-mix(in srgb, var(--rb-accent) 40%, #fff));
  box-shadow: 0 0 12px color-mix(in srgb, var(--rb-accent) 45%, transparent);
  transition: width .4s ease;
}

.rb-inquire-btn {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(135deg, #F97316, #EF4444);
  color: #fff;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(249,115,22,.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.rb-inquire-btn i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  font-size: .75rem;
  transition: transform .25s ease;
}
.rb-inquire-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(249,115,22,.38);
  filter: brightness(1.05);
}
.rb-inquire-btn:hover i { transform: translateX(3px); }

.rb-done-note {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .75rem;
  border-radius: 14px;
  background: rgba(148,163,184,.1);
  color: #94a3b8;
  font-size: .82rem;
  font-weight: 650;
}

.rb-empty {
  text-align: center;
  padding: 2.75rem 1rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-bright);
  border-radius: 20px;
  background: rgba(255,255,255,.02);
}
.rb-empty i {
  font-size: 1.6rem;
  color: rgba(255,255,255,.28);
  margin-bottom: .65rem;
  display: block;
}
.rb-empty p { margin: 0; font-size: .9rem; }
/* Inquiry modal */
.rb-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.rb-modal[hidden] { display: none !important; }
.rb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 20, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.rb-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(160deg, #151a2e, #0f141f);
  border: 1px solid rgba(108,99,255,.35);
  border-radius: 18px;
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: 0 24px 48px rgba(0,0,0,.45);
}
.rb-modal-close {
  position: absolute;
  top: .65rem;
  right: .75rem;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.rb-modal-close:hover { color: #fff; }
.rb-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: .45rem;
}
.rb-modal-head h3 {
  margin: 0 0 .35rem;
  font-size: 1.2rem;
  color: #fff;
}
.rb-modal-sub {
  margin: 0 0 1.1rem;
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.rb-modal-form { display: grid; gap: .85rem; }
.rb-field { display: flex; flex-direction: column; gap: .35rem; }
.rb-field label {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}
.rb-field label span { color: #f87171; }
.rb-field input,
.rb-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .72rem .9rem;
  color: #fff;
  font: inherit;
  font-size: .88rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rb-field input:focus,
.rb-field textarea:focus {
  border-color: rgba(108,99,255,.5);
  box-shadow: 0 0 0 3px rgba(108,99,255,.12);
}
.rb-field input[readonly] {
  color: rgba(255,255,255,.85);
  background: rgba(108,99,255,.08);
  border-color: rgba(108,99,255,.25);
  cursor: default;
}
.rb-field textarea { resize: vertical; min-height: 84px; }
.rb-modal-err {
  margin: 0;
  font-size: .82rem;
  color: #f87171;
  line-height: 1.4;
}
.rb-modal-ok {
  margin: 0;
  font-size: .82rem;
  color: #34d399;
  line-height: 1.4;
}
.rb-modal-submit {
  width: 100%;
  justify-content: center;
}

.rb-foot {
  position: relative;
  z-index: 1;
  margin-top: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.5rem 1.6rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(120deg, rgba(108,99,255,.12), rgba(249,115,22,.08) 55%, rgba(17,24,39,.9));
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.rb-foot-copy h3 {
  margin: 0 0 .3rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
}
.rb-foot-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  max-width: 420px;
}
.rb-foot-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .rb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .rb-tabs { grid-template-columns: 1fr; }
  .rb-tab { padding: .9rem 1rem; }
  .rb-pills { width: 100%; max-width: none; border-radius: 16px; }
  .rb-foot { padding: 1.25rem; }
  .rb-foot-actions { width: 100%; }
  .rb-foot-actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 640px) {
  .rb-grid { grid-template-columns: 1fr; }
  .rb-tab-hint { display: none; }
  .rb-card-title { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-panel.is-active { animation: none; }
  .rb-card:hover { transform: none; }
  .rb-pulse { animation: none; }
}

