/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #181818;
  --accent: #f5c518;
  --accent-2: #ff6b35;
  --text: #f0f0f0;
  --text-muted: #888;
  --border: #222;
  --radius: 16px;
  --radius-sm: 8px;
  --font: "Rethink Sans", "Rethink Sans Placeholder", sans-serif;
  --transition: 0.3s ease;
  --nav-h: 82px;
}

html {
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  font-family: var(--font);
  background: #ffffff;
  color: var(--text);
  overflow: visible !important;
  line-height: 1.6;
  width: 100%;
  min-height: 100vh;
  position: relative;
  margin: 0;
}

/* Standard scrollbar for better UX */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #888; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* ===== TYPOGRAPHY ===== */
.highlight { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(245,197,24,0.35); }
.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ===== SECTION SHARED ===== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: rgba(245,197,24,0.1);
  color: var(--accent);
  border: 1px solid rgba(245,197,24,0.25);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #0d1b3e;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: #0d1b3e;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* 3-column layout: logo | links (center) | actions */
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
}

/* ---- Logo ---- */
.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
  gap: 2px;
}
.logo-wordmark {
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.nav-brand-image {
  display: block;
  width: auto;
  height: 68px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: lighten;
}
.logo-web {
  font-size: 1.25rem;
  font-weight: 700;
  color: #4f6ef7;
  letter-spacing: -0.3px;
  font-family: var(--font);
}
.logo-veda {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  font-family: var(--font);
}
.logo-sub {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.3);
  font-weight: 400;
  letter-spacing: 0.03em;
  font-family: var(--font);
}

/* ---- Nav Links (centered) ---- */
.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  font-family: var(--font);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: #ffffff; }

/* ---- Right Actions ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
}

.nav-cart {
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.2s ease;
  line-height: 0;
}
.nav-cart:hover { color: #ffffff; }
.btn-login.callback-button {
  border: 1px solid #8bdac3;
  background: transparent;
  color: #b8f3df;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-login.callback-button:hover {
  background: #123f37;
  box-shadow: none;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #3d5af1;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font);
  padding: 8px 18px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-login:hover {
  background: #2f4de0;
  box-shadow: 0 4px 16px rgba(61,90,241,0.45);
  transform: translateY(-1px);
}
.btn-login svg { flex-shrink: 0; }

/* ---- Hamburger (hidden on desktop) ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 16px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile Menu ---- */
.mobile-menu {
  display: none;
  background: #0d1b3e;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 40px 28px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0; padding: 0;
}
.mobile-menu li a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  font-family: var(--font);
  transition: color 0.2s ease;
}
.mobile-menu li a:hover { color: #fff; }
.mobile-menu li:last-child { margin-top: 4px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: #0d1b3e;
  padding-top: var(--nav-h);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Dotted grid removed for performance and to eliminate side artifacts */
.hero::before {
  display: none;
}

/* Radial glow overlay on top of dots */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(61,90,241,0.22) 0%, transparent 75%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(13,27,62,0.9) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 1;
}

/* Heading */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.3px;
}

.hero-typed-wrapper {
  display: inline-block;
  color: #5b7cfa;
  min-width: 200px;
  text-align: left;
  position: relative;
}
.hero-typed {
  display: inline;
  color: #5b7cfa;
  font-weight: 700;
}
.hero-cursor {
  display: inline-block;
  color: #5b7cfa;
  font-weight: 300;
  animation: blink 0.75s step-end infinite;
  margin-left: 1px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(0.88rem, 1.8vw, 1rem);
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-weight: 400;
  letter-spacing: 0.01em;
  width: 65%;
}

@media (max-width: 900px) {
  .hero-subtitle {
    width: 85%;
  }
}

@media (max-width: 600px) {
  .hero-subtitle {
    width: 95%;
  }
}

/* Badges row */
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero-badge svg { color: rgba(255,255,255,0.5); flex-shrink: 0; }

/* CTA wrap */
.hero-cta-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 52px;
  z-index: 1;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 100%;
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3d5af1;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  z-index: 1;
  overflow: visible;
}
.hero-cta:hover {
  background: #2f4de0;
  box-shadow: 0 8px 28px rgba(61,90,241,0.5);
  transform: translateY(-2px);
}

.hero-cta-wrap .hero-cta {
  min-height: 52px;
  min-width: 0;
  max-width: 100%;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0;
}
.hero-cta.hero-scorecard {
  background: #e4f6ee;
  color: #145640;
  border: 1px solid #a2d8c1;
  border-radius: 8px;
  cursor: pointer;
}
.hero-cta.hero-scorecard:hover { background: #ccebdd; box-shadow: none; }
.hero-cta:focus-visible, .callback-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .hero-cta-wrap { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-cta-wrap .hero-cta { width: 100%; padding: 14px 18px; }
}

/* Video card */
.hero-video-wrap {
  position: relative;
  width: min(520px, 88vw);
  z-index: 3;
  border-radius: 14px;
  overflow: visible;
  /* Pull the card down so it straddles the white curve */
  margin-bottom: -80px;
}

.hero-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}

/* Placeholder thumbnail */
.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.hero-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.28) 100%);
  border-radius: 14px;
  pointer-events: none;
  z-index: 1;
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(31, 29, 29, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease, background 0.2s ease;
  padding-left: 4px;
}
.play-btn:hover { transform: scale(1.1); background: #131212ab; }
.play-btn svg { display: block; }

/* ---- Convex arc at bottom — white hill rising up ---- */
.hero-bottom-cut {
  position: relative;
  z-index: 2;
  line-height: 0;
  /* overlap so video card sits half on navy, half on white */
  margin-top: -60px;
}
.hero-bottom-cut svg {
  display: block;
  width: 100%;
  height: 200px;
}

/* ===== COURSES ===== */
.courses {
  background: #ffffff;
  padding: 100px 0;
  width: 100%;
  overflow: hidden;
}
.courses-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 52px; /* room for arrows */
  box-sizing: border-box;
}

/* Header */
.courses-header {
  text-align: center;
  margin-bottom: 20px;
}
.courses-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  margin-bottom: 2px;
  font-family: var(--font);
}
.courses-subtitle {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #3d5af1;
  font-family: var(--font);
  line-height: 1.2;
}

/* Filter tabs */
.courses-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  padding: 0 4px;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.tab-btn:hover { border-color: #3d5af1; color: #3d5af1; background: #f8faff; }
.tab-btn.active {
  background: #3d5af1;
  border-color: #3d5af1;
  color: #fff;
  box-shadow: 0 4px 12px rgba(61,90,241,0.25);
}

/* Carousel outer — relative positioning for absolute arrows */
.courses-carousel-outer {
  position: relative;
  width: 100%;
}

/* Clip window */
.courses-clip {
  overflow-x: clip;
  width: 100%;
  /* tiny padding so card box-shadows aren't clipped */
  padding: 8px 2px 12px;
}

/* The sliding track */
.courses-carousel {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Arrow buttons positioned absolutely on the sides */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #4A72FF;
  box-shadow: 0 4px 12px rgba(74,114,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4A72FF;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.carousel-prev {
  left: -21px;
}

.carousel-next {
  right: -21px;
}

.carousel-arrow:hover {
  background: #4A72FF;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(74,114,255,0.3);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow:disabled {
  opacity: 0.22;
  cursor: default;
  pointer-events: none;
  border-color: #e0e4f0;
  color: #888;
  box-shadow: none;
}

/* ---- Course Card ---- */
.course-card {
  flex: 0 0 300px;
  width: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #f1f5f9;
}
.course-card.hidden { display: none; }
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: #e2e8f0;
}

/* Card header */
.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #3b59f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.card-header-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #ffffff;
}
.card-header-icon svg {
  width: 100%;
  height: 100%;
}
.card-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card-header-sup {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-header-name {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

/* Card image */
.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.course-card:hover .card-image-wrap img { transform: scale(1.05); }

/* Hover overlay */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.75) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  z-index: 2;
}
.course-card:hover .card-hover-overlay { opacity: 1; }
.card-overlay-title {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3px;
}
.card-overlay-meta {
  color: rgba(255,255,255,0.78);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Badge */
.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #3d5af1;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
  white-space: nowrap;
}

/* Card body */
.card-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 12px;
}
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: #64748b;
}
.card-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-meta svg { width: 14px; height: 14px; opacity: 0.8; flex-shrink: 0; }

/* Card CTA */
.card-cta {
  margin-top: auto;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 20px 20px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.course-card:hover .card-cta { filter: contrast(1.1) brightness(1.05); }

/* Card Sample Video Button */
.card-sample-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  margin-bottom: 2px;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #3d5af1;
  background: #f0f4ff;
  border: 1.5px solid #3d5af1;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.card-sample-btn:hover {
  background: #3d5af1;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(61, 90, 241, 0.2);
}
.card-sample-btn svg {
  flex-shrink: 0;
}

/* ===== WHY WEBVEDA ===== */
.why-wv {
  background: #f0f4ff;
  padding: 100px 24px;
  width: 100%;
}
.why-wv-container {
  max-width: 1080px;
  margin: 0 auto;
}
.why-wv-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #1A2B50;
  margin-bottom: 12px;
  font-family: var(--font);
  letter-spacing: -0.5px;
}
.why-wv-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #4A5568;
  max-width: 650px;
  margin: 0 auto 52px auto;
  line-height: 1.6;
  font-family: var(--font);
}
.why-wv-blue { color: #4A72FF; }

.why-wv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-wv-card {
  background: #ffffff;
  border: 1px solid rgba(74, 114, 255, 0.08);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(74, 114, 255, 0.02);
}

.why-wv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4A72FF, #7CB8FF);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-wv-card:hover::before {
  opacity: 1;
}

.why-wv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(74, 114, 255, 0.08);
  border-color: rgba(74, 114, 255, 0.18);
}

.why-wv-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(74, 114, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #4A72FF;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.why-wv-card:hover .why-wv-icon {
  background: #4A72FF;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(74, 114, 255, 0.35);
}

.why-wv-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
}

.why-wv-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1A2B50;
  margin-bottom: 12px;
  font-family: var(--font);
  line-height: 1.3;
}

.why-wv-card-desc {
  font-size: 0.88rem;
  color: #4A5568;
  line-height: 1.65;
  font-family: var(--font);
  max-width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .why-wv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .why-wv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== WHO FOR ===== */
.who-for {
  background: #0d1b3e;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  padding: 100px 24px;
  width: 100%;
  position: relative;
}
/* Subtle radial glow overlay */
.who-for::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(61,90,241,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.who-for-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.who-for-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 48px;
  font-family: var(--font);
  letter-spacing: -0.3px;
}
.who-for-blue { color: #5b7cfa; }

.who-for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.who-for-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px 22px 26px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.who-for-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(91,124,250,0.4);
  transform: translateY(-3px);
}

.who-for-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.who-for-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.who-for-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  font-family: var(--font);
  line-height: 1.3;
}

.who-for-card-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  font-family: var(--font);
}

@media (max-width: 700px) {
  .who-for-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 420px) {
  .who-for-grid { grid-template-columns: 1fr; }
}

/* ===== BENTO GRID TESTIMONIALS ===== */
.bento-testimonials {
  background: #F8F9FB;
  padding: 80px 0;
  overflow: hidden;
}

.bento-header {
  text-align: center;
  margin-bottom: 40px;
}
.bento-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1A2B50;
  line-height: 1.2;
}
.bento-subtitle {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: #1A2B50;
  margin-top: 4px;
}
.bento-highlight { color: #4A72FF; }

.bento-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Element-level fading animation */
.fade-el-z1, .fade-el-z3 {
  transition: opacity 300ms ease, transform 300ms ease;
  opacity: 1;
  transform: translateX(0);
}
.fade-out {
  opacity: 0 !important;
  transform: translateX(10px);
}

/* Zone 1: Master Card */
.bento-zone-1 {
  background: linear-gradient(135deg, #0B152A 0%, #060B16 100%);
  color: #fff;
  padding: 40px 32px 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 500px;
}
.zone-1-stat { margin-bottom: 24px; display: flex; flex-direction: row; align-items: baseline; gap: 8px;}
.stat-number { font-size: 4rem; font-weight: 800; color: #4A72FF; line-height: 1; letter-spacing: -1px; }
.stat-label { font-size: 1.1rem; font-weight: 600; color: #4A72FF; }

.zone-1-quote {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.95);
  max-width: 100%;
  position: relative;
  z-index: 2;
}
.zone-1-author { margin-top: auto; position: relative; z-index: 2; }
.author-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: #fff; }
.author-course { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* Responsive Zone 1 Content Wrapper */
.zone-1-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.zone-1-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  z-index: 2;
  position: relative;
}

.zone-1-author {
  flex: 1;
  text-align: left;
}

.zone-1-image {
  flex-shrink: 0;
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.zone-1-image svg,
.zone-1-image img {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 1024px) {
  .bento-zone-1 {
    padding-bottom: 96px !important;
  }
  .bento-nav {
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 32px !important;
  }
}

@media (max-width: 480px) {
  .zone-1-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Bento Zone-1 Review Image Styling with circular 3D glassmorphism and opacity */
.z1-bento-review-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 180px !important;
  max-height: 180px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  opacity: 0.65;
  border: 6px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.5), 
    inset 0 4px 8px rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 -4px 8px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.bento-zone-1:hover .z1-bento-review-img {
  opacity: 0.85;
}

.bento-nav {
  position: absolute;
  bottom: 42px; /* to sit above the blue bar */
  left: 32px;
  display: flex;
  gap: 12px;
  z-index: 10;
}
.bento-nav-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  border: none;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.bento-nav-btn:hover { background: rgba(0,0,0,0.6); }

.bento-zone-1-bottom-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 24px;
  background: #4A72FF;
  z-index: 0;
}

/* Right Side Sub-Grid */
.bento-right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Zone 2: Stats / Floating Avatars */
.bento-zone-2 {
  flex: 1;
  border: 1px solid #e0e5f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 220px;
  overflow: hidden;
}
.zone-2-center {
  text-align: center;
  z-index: 5;
}
.zone-2-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #4A72FF;
  line-height: 1;
  margin-bottom: 4px;
}
.zone-2-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1A2B50;
}

/* Pulse Circles */
.pulse-circle {
  position: absolute;
  border: 1px solid #f0f3fa;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.pulse-1 { width: 250px; height: 250px; }
.pulse-2 { width: 450px; height: 450px; border-color: #f5f7fc; }
.pulse-3 { width: 650px; height: 650px; border-color: #fafbfc; }

/* Floating Avatars */
.zone-2-avatars {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.floating-avatar {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  animation: floatAvatar 4s ease-in-out infinite;
  object-fit: cover;
  transition: opacity 0.5s ease;
}
@keyframes floatAvatar {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* Bottom Row: Zones 3 & 4 */
.bento-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  flex: 1;
}

/* Zone 3: Quick Quote */
.bento-zone-3 {
  background: linear-gradient(135deg, #5b7cfa 0%, #3d5af1 100%);
  color: #fff;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
/* Dotted background for zone 3 */
.bento-zone-3::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.2) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.6;
}
.zone-3-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.zone-3-quote {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 20px;
}
.zone-3-author {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Zone 4: Visual Proof */
.bento-zone-4 {
  padding: 0;
}
.zone-4-content {
  width: 100%; height: 100%;
}
.zone-4-content img, .zone-4-content video {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Responsive Grid */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-zone-1 {
    min-height: 450px;
  }
}
@media (max-width: 600px) {
  .bento-bottom-row {
    grid-template-columns: 1fr;
  }
  .bento-zone-4 {
    height: 300px; /* Fixed height for image card on mobile */
  }
}

/* ===== MEET OUR FOUNDER ===== */
.founder-section {
  padding: 80px 0;
  background-color: #fff;
}
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.founder-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 20px;
}
.founder-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1A2B50;
  margin-bottom: 8px;
}
.founder-highlight {
  color: #4A72FF;
}
.founder-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4A5568;
}

.founder-followers-box {
  margin-top: 16px;
  background: #F8F9FB;
  padding: 24px 32px;
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  align-self: flex-start; /* to match screenshot width */
  min-width: 320px;
}
.followers-count {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4A72FF;
}
.social-icons-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.social-icons-row svg {
  color: #4A72FF;
  width: 22px;
  height: 22px;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}
.social-icons-row svg:hover {
  transform: translateY(-2px);
  color: #2b4cc4;
}

/* Founder Video Container */
.founder-video-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1; /* roughly square for the blob */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  overflow: hidden;
}

.founder-blob-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4A72FF;
  border-radius: 32px;
  z-index: 1;
}

.founder-video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* If the video has a white background, it will hide the blob. 
     If it is transparent, the blob will show. 
     In case the video is opaque and we want the blob shape ON the video: */
  border-radius: 32px;
}

.founder-video-overlay-text {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  color: #ffffff;
  font-family: 'Playfair Display', cursive;
  font-size: 2.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  letter-spacing: 1.5px;
  padding: 0 20px;
}
.founder-video-overlay-sub {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

@media (max-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-followers-box {
    align-self: center;
    width: 100%;
  }
  .founder-content {
    padding-right: 0;
  }
}

/* ===== CREATORS MARQUEE ===== */
.creators-marquee {
  background: #f8fafc;
  padding: 100px 0;
  text-align: center;
}
.marquee-header {
  margin-bottom: 50px;
}
.marquee-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0f172a;
}
.marquee-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  height: 600px;
  overflow: hidden;
  padding: 0 24px;
  /* Fading top and bottom */
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scroll-vertical linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-track-1 { animation-duration: 20s; }
.marquee-track-2 { animation-duration: 35s; }
.marquee-track-3 { animation-duration: 25s; }

@keyframes scroll-vertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.creator-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.creator-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}
.creator-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.creator-name {
  font-weight: 600;
  color: #3b82f6;
  font-size: 0.95rem;
}
.creator-handle {
  color: #64748b;
  font-size: 0.85rem;
}

/* ===== FAQ ===== */
.faq {
  background: #ffffff;
  background-image: radial-gradient(circle, #c2d1ff 1px, transparent 1px);
  background-size: 32px 32px;
  padding: 100px 0;
  position: relative;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
  /* .faq-left is intentionally left without base styles to let it stretch, but removed to avoid empty ruleset warning */
.faq-sticky-title {
  position: sticky;
  top: 120px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1a2b50;
  line-height: 1.2;
}
.highlight-blue {
  color: #4f6ef7;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.faq-item {
  background: #ffffff;
  border: 1px solid #c2d1ff;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open {
  border-color: #4f6ef7;
  box-shadow: 0 4px 20px rgba(79, 110, 247, 0.1);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #1a2b50;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  padding: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.faq-q-icon {
  color: #4f6ef7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-icon-toggle {
  color: #4f6ef7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 24px;
  height: 24px;
}
.faq-icon-toggle svg {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.faq-icon-toggle .icon-cross {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
.faq-item.open .faq-icon-toggle .icon-plus {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}
.faq-item.open .faq-icon-toggle .icon-cross {
  opacity: 1;
  transform: rotate(0) scale(1);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.permanent .faq-answer {
  max-height: none !important;
  overflow: visible !important;
}
.faq-answer-inner {
  padding: 0 24px 24px;
  padding-left: 60px; /* Align with text */
}
.faq-answer p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}
.faq-answer a {
  text-decoration: none;
  color: #4f6ef7;
}
.faq-answer a:hover {
  text-decoration: none;
  opacity: 0.8;
}
.faq-answer .faq-wa-btn {
  display: inline-flex;
  align-items: center;
  background: #4f6ef7;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 16px;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.faq-answer .faq-wa-btn:hover {
  background: #3a5ce5;
}

/* ===== FOOTER ===== */
.footer {
  background: #0d1b3e;
  padding: 52px 40px 28px;
  width: 100%;
}

/* Top row: brand left, social right */
.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}

/* Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 380px;
}
.footer-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}
.footer-logo .logo-web {
  font-size: 1.35rem;
  font-weight: 700;
  color: #4f6ef7;
  font-family: var(--font);
}
.footer-logo .logo-veda {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font);
}
.footer-logo-sub {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  font-family: var(--font);
  letter-spacing: 0.03em;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  font-family: var(--font);
  margin-top: 4px;
}

/* Right: social + support */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  flex-shrink: 0;
}
.footer-social-group,
.footer-support-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-social-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-family: var(--font);
  font-weight: 500;
}
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social-btn:hover {
  background: rgba(91,124,250,0.35);
  transform: translateY(-2px);
}

/* Divider */
.footer-divider {
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

/* Bottom bar */
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-family: var(--font);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 700px) {
  .footer { padding: 40px 20px 24px; }
  .footer-main { flex-direction: column; align-items: flex-start; }
  .footer-right { align-items: flex-start; }
  .footer-social-group, .footer-support-group { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom-links { gap: 14px; }
}

/* ===== ANIMATIONS ===== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
}
.animate-fade-left {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeLeft 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TIMED LEAD POPUP ===== */
.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.lead-popup.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lead-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 32, 0.68);
  backdrop-filter: blur(5px);
}
.lead-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: 60% 40%;
  overflow: hidden;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(8, 18, 42, 0.32);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s ease;
}
.lead-popup.open .lead-popup-dialog {
  transform: translateY(0) scale(1);
}
.lead-popup-embed-dialog {
  display: block;
  height: min(520px, calc(100vh - 48px));
}
.lead-popup-frame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #ffffff;
}
.lead-popup-dialog.readiness-popup-dialog {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  height: min(860px, calc(100vh - 64px));
  height: min(860px, calc(100dvh - 64px));
  max-height: none;
  margin: 0;
}
.readiness-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px 8px 16px;
  color: #0f6f54;
  font-weight: 700;
}
.readiness-popup-header .lead-popup-close {
  position: static;
  flex: 0 0 40px;
  font-size: 28px;
  line-height: 1;
}
.readiness-popup-dialog .lead-popup-frame {
  min-height: 0;
}
.lead-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0d1b3e;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(13, 27, 62, 0.16);
  transition: background 0.2s ease, transform 0.2s ease;
}
.lead-popup-close:hover {
  background: #ffffff;
  transform: scale(1.05);
}
.lead-popup-image {
  min-height: 520px;
  background: #dbe7f7;
}
.lead-popup-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.lead-popup-content {
  padding: 32px 34px 28px;
  color: #14213d;
  overflow-y: auto;
}
.lead-popup-kicker {
  margin: 0 0 6px;
  color: #3d5af1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lead-popup-title {
  margin: 0 0 18px;
  color: #0d1b3e;
  font-size: 1.72rem;
  line-height: 1.18;
  font-weight: 800;
}
.lead-popup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lead-popup-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lead-popup-form span {
  color: #27364f;
  font-size: 0.9rem;
  font-weight: 700;
}
.lead-popup-form small {
  color: #7a8699;
  font-size: 0.76rem;
  font-weight: 600;
}
.lead-popup-form input,
.lead-popup-form textarea {
  width: 100%;
  border: 1px solid #d7deec;
  border-radius: 10px;
  background: #f8fafc;
  color: #14213d;
  font: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  outline: none;
  resize: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.lead-popup-form textarea {
  min-height: 74px;
  line-height: 1.35;
}
.lead-popup-form input:focus,
.lead-popup-form textarea:focus {
  border-color: #3d5af1;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(61, 90, 241, 0.12);
}
.lead-popup-submit {
  margin-top: 6px;
  width: 100%;
  border: 0;
  border-radius: 50px;
  background: #27ae60;
  color: #ffffff;
  padding: 13px 20px;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(39, 174, 96, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.lead-popup-submit:hover {
  background: #219653;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(39, 174, 96, 0.32);
}
.popup-lock {
  overflow: hidden !important;
}




/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-container {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .course-card { flex: 0 0 260px; width: 260px; }
  
  /* Hero tablet gap fix */
  .hero { min-height: auto; }
  .hero-inner { padding: 80px 24px 60px; flex: none; }
  .hero-video-wrap { margin-bottom: -60px; }
  .hero-bottom-cut { margin-top: -40px; }
  .hero-bottom-cut svg { height: 140px; }
  .hero-title { font-size: clamp(2rem, 4vw, 3rem); }

  .lead-popup-dialog {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .lead-popup-embed-dialog {
    height: min(620px, calc(100vh - 48px));
  }
  .lead-popup-image {
    min-height: 220px;
    height: 36vh;
    max-height: 280px;
  }
  .lead-popup-content {
    padding: 24px 24px 22px;
  }
  .lead-popup-title {
    font-size: 1.38rem;
  }
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    position: static;
  }
}

@media (max-width: 600px) {
  .section-container { padding: 60px 16px; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .nav-container { padding: 0 16px; }
  .mobile-menu { padding: 20px 16px 24px; }
  .hero-inner { padding: 56px 16px 32px; }
  .hero-badges { gap: 12px; }
  .hero-cta { font-size: 0.85rem; padding: 13px 24px; }
  .hero-video-wrap { width: 92vw; margin-bottom: -50px; }
  .hero-bottom-cut svg { height: 120px; }
  /* On mobile: cards fill width appropriately */
  .course-card { flex: 0 0 88vw; width: 88vw; max-width: 340px; }
  .courses-container { padding: 0 16px; }
  .courses { padding: 56px 0 48px; }
  .courses-tabs { gap: 6px; flex-wrap: wrap; justify-content: center; }
  .tab-btn { padding: 8px 16px; font-size: 0.9rem; }
  /* Hide arrows on mobile to maximize card visibility, users can swipe */
  .carousel-arrow { display: none; }

  /* Mobile section padding fixes */
  .why-wv { padding: 60px 16px; }
  .who-for { padding: 60px 16px; }
  .bento-testimonials { padding: 0; }
  .creators-marquee { padding: 60px 16px; }
  .founder-section { padding: 0; }
  .faq { padding: 0; }

  /* Mobile FAQ padding fixes */
  .faq-question { padding: 16px; }
  .faq-q-left { gap: 12px; }
  .faq-answer-inner { padding: 0 16px 16px 48px; }

  .lead-popup {
    padding: 14px;
    align-items: flex-start;
    overflow-y: auto;
  }
  .lead-popup-dialog {
    max-height: none;
    margin: 18px 0;
    border-radius: 14px;
  }
  .lead-popup-embed-dialog {
    height: min(620px, calc(100vh - 64px));
  }
  .lead-popup-image {
    min-height: 170px;
    height: 26vh;
  }
  .lead-popup-content {
    padding: 20px 18px 18px;
  }
  .lead-popup-title {
    margin-bottom: 14px;
  }
  .lead-popup-form {
    gap: 9px;
  }
  .lead-popup-form textarea {
    min-height: 66px;
  }
}

@media (max-width: 900px) {
  .marquee-container { grid-template-columns: repeat(2, 1fr); }
  .marquee-track-3 { display: none; }
}

@media (max-width: 600px) {
  .marquee-container { grid-template-columns: 1fr; }
  .marquee-track-2 { display: none; }
}

/* Card Features List (inside course cards) */
.card-features-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 4px;
  margin-bottom: 12px;
  text-align: left;
}
.card-features-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.card-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #4a5568;
  line-height: 1.4;
}
.card-features-list li svg {
  width: 14px;
  height: 14px;
  color: #27ae60;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Consultation Booking Section */
.consultation-section {
  max-width: 900px;
  margin: 40px auto 0 auto;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.consultation-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #ffffff;
  border: 1px solid rgba(74, 114, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(74, 114, 255, 0.06);
}
.consultation-left {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.consultation-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1A2B50;
  margin-bottom: 16px;
}
.consultation-desc {
  font-size: 1rem;
  color: #4A5568;
  line-height: 1.6;
  margin-bottom: 24px;
}
.consultation-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}
.consultation-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #4A5568;
  font-weight: 500;
}
.consultation-features li svg {
  width: 18px;
  height: 18px;
  color: #27ae60;
  flex-shrink: 0;
}
.consultation-btn {
  background: #27ae60;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.25);
}
.consultation-btn:hover {
  background: #219653;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.35);
  color: #ffffff;
}
.consultation-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .consultation-card {
    grid-template-columns: 1fr;
  }
  .consultation-image {
    height: 250px;
  }
  .consultation-left {
    padding: 32px 24px;
  }
  .consultation-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
