/* ===== 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: 58px;
}

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: 58px;
  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: #091530;
  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;
}
.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 {
  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;
}

/* 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;
}

.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);
}

/* 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(255,255,255,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: #fff; }
.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 — flex row: [arrow] [clip] [arrow] */
.courses-carousel-outer {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* Clip window */
.courses-clip {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  /* 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 */
.carousel-arrow {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #e0e4f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #444;
  transition: background 0.2s, box-shadow 0.2s;
  align-self: center;
  flex-shrink: 0;
}
.carousel-arrow:hover { background: #f0f3ff; box-shadow: 0 4px 14px rgba(0,0,0,0.16); }
.carousel-arrow:disabled { opacity: 0.22; cursor: default; pointer-events: 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);
  cursor: pointer;
  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: #fcfdfe;
  border-bottom: 1px solid #f1f5f9;
}
.card-header-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(61,90,241,0.08);
  color: #3d5af1;
  border: 1px solid #edf2f7;
}
.card-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card-header-sup {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-header-name {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  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); }

/* ===== WHY WEBVEDA ===== */
.why-wv {
  background: #f0f4ff;
  padding: 100px 24px;
  width: 100%;
}
.why-wv-container {
  max-width: 900px;
  margin: 0 auto;
}
.why-wv-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 52px;
  font-family: var(--font);
  letter-spacing: -0.3px;
}
.why-wv-blue { color: #3d5af1; }

.why-wv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.why-wv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.why-wv-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.why-wv-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.why-wv-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  font-family: var(--font);
  line-height: 1.3;
}

.why-wv-card-desc {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.65;
  font-family: var(--font);
  max-width: 220px;
}

/* Responsive */
@media (max-width: 700px) {
  .why-wv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
}
@media (max-width: 420px) {
  .why-wv-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .why-wv-card-desc { max-width: 100%; }
}

/* ===== 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: 90%;
  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); }

.zone-1-image {
  position: absolute;
  bottom: 24px; /* to sit above the blue bar */
  right: -20px;
  width: 280px;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.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: 450px;
  margin: 0 auto;
  aspect-ratio: 1; /* roughly square for the blob */
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-blob-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4A72FF;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 1;
  animation: blob-morph 8s ease-in-out infinite alternate;
}

@keyframes blob-morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  100% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; }
}

.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: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blob-morph 8s ease-in-out infinite alternate;
}

@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-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-wa-btn {
  display: inline-flex;
  align-items: center;
  background: #4f6ef7;
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 16px;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.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);
}




/* ===== 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); }
}

@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; }
}

@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; }
}
