/**
 * SoundVerse Academy — Main Stylesheet (Light Luxury Edition)
 * 
 * Aggregates design variables, resets, animations, component overrides,
 * and implements layout rules for the signature Light Editorial Hero.
 */

@import url("variables.css");
@import url("base.css");
@import url("components.css");
@import url("animations.css");

/* ==========================================
   Global Ambient Paper Backdrop
   ========================================== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 85% 10%, rgba(212, 175, 55, 0.05) 0%, rgba(250, 248, 245, 0) 65%);
  pointer-events: none;
  z-index: -1;
}

/* ==========================================
   Section 1: The Light Editorial Hero
   ========================================== */
.hero-section {
  height: 100vh;
  /* Constrain exactly to one screen height to prevent scrolling */
  min-height: 580px;
  /* Safe fallback */
  padding-top: 5.5rem;
  /* Clean clearance for navigation bar */
  padding-bottom: 0;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--color-bg-primary);
  overflow: hidden;
  /* Prevent visual overflow leaks */
  box-sizing: border-box;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
  width: 100%;
}

/* Left Column - Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
  min-width: 0;
  /* Force grid column to respect fractional constraints and prevent expansion */
}

.hero-title {
  font-family: var(--font-family-headline);
  font-size: var(--fs-hero-title);
  line-height: 1.15;
  margin-bottom: var(--space-xs);
  /* Reduced spacing */
  font-weight: 600;
  /* Bolder headline */
  color: var(--color-text-primary);
  max-width: 650px;
  letter-spacing: -0.01em;
}

.hero-title span {
  display: block;
}

.hero-title span:first-child {
  white-space: nowrap;
}

.hero-title .gold-accent {
  font-weight: 400;
  /* Matching bold weight for balanced gradient text */
  color: transparent;
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-highlight-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-description {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  max-width: 500px;
  margin-bottom: 1.2rem;
  /* Tightened spacing */
  font-weight: var(--fw-regular);
  line-height: 1.68;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  /* Tightened spacing */
}

/* ==========================================
   Global Trust Track (Refined inline stats)
   ========================================== */
.hero-trust-track {
  width: 100%;
  max-width: 500px;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(6, 21, 46, 0.08);
  /* Minimal dividing rule */
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.trust-item {
  font-family: var(--font-family-body);
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-item span {
  color: var(--color-accent-gold);
  /* Statistics in gold */
  margin-right: 0.2rem;
}

.trust-dot {
  color: rgba(6, 21, 46, 0.25);
  font-size: 0.8rem;
}

/* ==========================================
   Right Column - Asymmetric Capsule Gallery
   ========================================== */
.hero-visual-container {
  width: 100%;
  position: relative;
  display: block;
  /* Use block layout instead of flex to prevent grid column collapse inside CSS Grid */
  min-width: 0;
  /* Enforce column stability and prevent auto collapse */
}

/* 
   FUTURE-PROOF UPGRADE WRAPPER
   This container strictly coordinates the 3 vertical capsules. It uses min-height limits
   and aspect-ratios to remain 100% responsive, ready for future Canvas assets.
*/
.hero-capsules-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  min-width: 280px;
  /* Safe visual boundary to lock layout rendering */
  max-width: 480px;
  /* Elegant desktop sizing limits */
  height: clamp(300px, 30vw, 380px);
  /* Refined height to ensure 100vh fit */
  position: relative;
  margin-left: 1.5rem;
  /* Pulled closer to the left text column to close the gap */
}

/* Base Pill Shape settings */
.hero-capsule {
  position: relative;
  border-radius: 500px;
  overflow: hidden;
  border: 1px solid rgba(6, 21, 46, 0.06);
  background-color: var(--color-bg-secondary);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.7s;
  box-shadow: 0 15px 35px rgba(6, 21, 46, 0.03);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-xs);
}

/* Asymmetric Capsule Weights */
.hero-capsule-1 {
  width: 30%;
  height: 85%;
  align-self: flex-end;
  /* Capsule 1: Offset downwards */
}

.hero-capsule-2 {
  width: 34%;
  height: 100%;
  /* Capsule 2: Tallest center */
}

.hero-capsule-3 {
  width: 30%;
  height: 85%;
  align-self: flex-end;
  /* Capsule 3: Offset downwards */
}

/* 
   TACTILE PURE CSS EXPAND-CONTRACT DYNAMICS
   Hovering over the wrapper contracts all capsules, while hovering directly
   over a capsule stretches its width and highlights its visual details.
*/
.hero-capsules-container:hover .hero-capsule {
  opacity: 0.55;
  filter: grayscale(35%);
  transform: scale(0.97);
}

.hero-capsules-container .hero-capsule:hover {
  width: 38%;
  opacity: 1;
  filter: none;
  transform: scale(1.02);
  border-color: var(--color-accent-gold);
  box-sizing: border-box;
  box-shadow: 0 20px 45px rgba(6, 21, 46, 0.08), 0 0 25px rgba(212, 175, 55, 0.04);
}

/* ==========================================
   Zero-Placeholder Vector Overlays (Asset-Ready)
   ========================================== */
/* Capsule WebP Image Layout */
.capsule-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Base background layer below overlays */
  pointer-events: none;
  transition: var(--transition-heavy);
  opacity: 1;
  /* Keep fully opaque for sharp, crisp visuals */
}

.hero-capsule:hover .capsule-img {
  transform: scale(1.08);
  /* Sophisticated luxurious magnification */
}

.capsule-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Translucent color grading mesh above image */
  pointer-events: none;
  transition: var(--transition-smooth);
  opacity: 1;
}

/* Highly subtle luxury color-grading layers that maintain crystal clear photographic visibility */
.capsule-mesh-blue {
  background: linear-gradient(135deg, rgba(6, 21, 46, 0.25) 0%, rgba(11, 31, 69, 0.15) 100%);
}

.capsule-mesh-gold {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(242, 209, 123, 0.03) 100%);
}

/* Reveal the true, gorgeous, un-graded color photography on hover */
.hero-capsule:hover .capsule-overlay {
  opacity: 0;
}

/* Minimal Editorial Tag labels */
.capsule-index {
  font-family: var(--font-family-body);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  opacity: 0.4;
  z-index: 3;
  margin-top: var(--space-xs);
  transition: var(--transition-smooth);
}

.capsule-tag {
  font-family: var(--font-family-body);
  font-weight: var(--fw-bold);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  z-index: 3;
  transition: var(--transition-smooth);
  margin-bottom: var(--space-xs);
}

.hero-capsule-1 .capsule-index,
.hero-capsule-1 .capsule-tag,
.hero-capsule-3 .capsule-index,
.hero-capsule-3 .capsule-tag {
  color: #FAF8F5;
  /* Set tags inside dark blue capsules to white */
}

.hero-capsule:hover .capsule-index {
  opacity: 0.9;
  color: var(--color-accent-gold);
}

.hero-capsule:hover .capsule-tag {
  color: var(--color-accent-gold);
  transform: translateY(-2px);
}

/* ==========================================
   Responsive Refinements (Mobile-First overrides)
   ========================================== */

/* Up to tablet sizes */
@media (max-width: 991px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding-top: 7.5rem;
    /* Generous breathing space below the dark navy header */
    padding-bottom: var(--space-xl);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .hero-capsules-container {
    height: clamp(340px, 50vw, 420px);
    margin-left: auto;
    margin-right: auto;
  }
}

/* Desktop expansions */
@media (min-width: 992px) {
  .hero-capsules-container {
    height: clamp(300px, 28vw, 380px);
    /* Refined visual fit */
  }
}

/* ==========================================
   Section 2: Global Trust Metric Grid
   ========================================== */
.trust-section {
  padding-top: clamp(4.5rem, 9vw, 8rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  /* Reduced bottom padding to bridge the vertical gap */
  background-color: var(--color-bg-primary);
  position: relative;
  z-index: 10;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  width: 100%;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  box-sizing: border-box;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-card:hover {
  transform: translateY(-8px);
  /* Elegant luxury vertical lift */
}

/* Editorial Asymmetrical Staggering (Visual interest akin to capsule galleries) */
@media (min-width: 992px) {
  .trust-card:nth-child(even) {
    margin-top: 24px;
  }
}

.metric-value {
  position: relative;
  z-index: 2;
  font-family: var(--font-family-headline);
  font-size: clamp(2.6rem, 4.4vw + 0.1rem, 4.2rem);
  line-height: 1.05;
  font-weight: 200;
  /* Ultra-thin luxurious Poppins weight */
  color: transparent;
  background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.03em;
}

.metric-divider {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 2px;
  background-color: var(--color-accent-gold);
  margin-bottom: var(--space-sm);
  border-radius: 2px;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s;
}

.trust-card:hover .metric-divider {
  width: 68px;
  /* Gold divider line dynamically expands on hover! */
  background-color: var(--color-highlight-gold);
}

.metric-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-family-headline);
  font-size: 1.22rem;
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.metric-desc {
  position: relative;
  z-index: 2;
  font-family: var(--font-family-body);
  font-size: 0.86rem;
  line-height: 1.68;
  color: var(--color-text-secondary);
}

/* Tablet & Mobile responsive overrides */
@media (max-width: 991px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 575px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .trust-card {
    padding: var(--space-md);
  }
}

/* ==========================================
   FEATURE STRAP: INFINITE SCROLLING FEATURE TICKER
   ========================================== */
.feature-ticker-strap {
  background-color: var(--color-text-primary);
  /* Deep Navy Velvet strap */
  padding: 1.25rem 0;
  /* Elegant thin strap */
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 15;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.ticker-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-slide 32s linear infinite;
  /* hardware accelerated GPU movement */
  will-change: transform;
}

.ticker-item {
  font-family: var(--font-family-headline);
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
  color: #FAF8F5;
  /* Crisp off-white */
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0 2rem;
  display: inline-block;
}

.ticker-dot {
  color: var(--color-accent-gold);
  /* Gold dividing bullet dots */
  font-size: 1rem;
  opacity: 0.85;
  user-select: none;
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
    /* Seamless loop matches the identical duplicated half */
  }
}

/* Pause the scrolling loop on hover to encourage interaction and reading */
.feature-ticker-strap:hover .ticker-track {
  animation-play-state: paused;
}

@media (max-width: 767px) {
  .feature-ticker-strap {
    padding: 0.95rem 0;
  }

  .ticker-item {
    font-size: 0.76rem;
    padding: 0 1.2rem;
    letter-spacing: 0.16em;
  }
}

/* ==========================================
   PHILOSOPHIES TICKER STRAP: CREAM SEPARATOR TICKER
   ========================================== */
.philosophies-ticker-strap {
  background-color: #FAF8F5;
  /* Warm Editorial Ivory/Cream */
  padding: 1.25rem 0;
  /* Thin, elegant visual break */
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 15;
  border-top: 1px solid rgba(6, 21, 46, 0.06);
  border-bottom: 1px solid rgba(6, 21, 46, 0.06);
  box-sizing: border-box;
}

.philosophies-ticker-strap .ticker-item {
  color: #06152E;
  /* Deep navy text for striking light-base contrast */
}

/* Pause scroll on hover */
.philosophies-ticker-strap:hover .ticker-track {
  animation-play-state: paused;
}

@media (max-width: 767px) {
  .philosophies-ticker-strap {
    padding: 0.95rem 0;
  }
}

/* ==========================================
   Section 3: The Manifesto & Scroll-Wave
   ========================================== */
.manifesto-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  /* Greatly reduced top padding to minimize vertical gap */
  padding-bottom: clamp(4rem, 8vw, 7.5rem);
  background-color: var(--color-bg-primary);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.manifesto-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  /* Premium Soft Gold Mesh glow at container center */
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, rgba(250, 248, 245, 0) 75%);
  padding: clamp(1.2rem, 2.5vw, 2rem) var(--space-md);
  /* Sleek compact top spacing */
  border-radius: 40px;
}

.manifesto-quote {
  font-family: var(--font-family-headline);
  /* Premium sans-serif Poppins typography */
  font-size: clamp(1.35rem, 2vw + 0.1rem, 1.85rem);
  /* Sophisticated, proportional sans-serif scale */
  line-height: 1.6;
  font-style: normal;
  font-weight: 300;
  /* Clean Poppins light-luxury weight */
  color: var(--color-text-primary);
  max-width: 1180px;
  /* Expansive widescreen width */
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
  position: relative;
  padding: 0 clamp(0.5rem, 2vw, 1.5rem);
}

/* Inverted commas removed completely from this section as requested */

/* Editorial Highlight Styles */
.highlight-gold {
  color: var(--color-accent-gold);
  font-weight: 500;
  font-style: normal;
  /* Removed italic style as requested */
  display: inline-block;
  position: relative;
}

.highlight-gold::after {
  content: "";
  position: absolute;
  bottom: 0.08em;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-gold) 20%, var(--color-accent-gold) 80%, transparent);
  opacity: 0.45;
}

.highlight-navy {
  color: var(--color-text-primary);
  font-weight: 500;
  font-style: normal;
  font-family: var(--font-family-headline);
  /* Poppins for strong contrast */
  letter-spacing: -0.01em;
  background: rgba(6, 21, 46, 0.035);
  padding: 0.1rem 0.4rem;
  /* Aligned inline capsule padding */
  border-radius: 6px;
  border: 1px solid rgba(6, 21, 46, 0.05);
  box-shadow: inset 0 1px 2px rgba(6, 21, 46, 0.01);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline;
  /* Keep inline to eliminate spacing gaps before subsequent punctuation */
  white-space: nowrap;
  /* Prevent words from breaking apart */
}

.highlight-navy:hover {
  background: rgba(6, 21, 46, 0.06);
  border-color: rgba(6, 21, 46, 0.1);
  box-shadow: 0 4px 10px rgba(6, 21, 46, 0.06);
}

.wave-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: var(--space-md);
  position: relative;
}

.manifesto-wave-svg {
  width: 100%;
  height: auto;
  display: block;
}

.wave-path {
  stroke-linecap: round;
  will-change: stroke-dashoffset;
}

@media (max-width: 767px) {
  .manifesto-quote {
    padding: 0 var(--space-xs);
    /* Tighter horizontal padding to maximize text width on small screens */
    font-size: clamp(1.15rem, 5vw, 1.45rem);
    /* Highly readable, perfectly proportioned scale on mobile */
    line-height: 1.55;
  }

  .highlight-navy {
    padding: 0.02em 0.25em;
    /* Snugger pill padding to prevent awkward line breaks on tiny viewports */
    border-radius: 6px;
  }
}

/* Premium Luxury Emblem Badge override for Manifesto */
.manifesto-section .badge-gold {
  position: relative;
  background: rgba(250, 248, 245, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 4px 15px rgba(6, 21, 46, 0.02), 0 0 10px rgba(212, 175, 55, 0.02);
  padding: 0.6rem 1.5rem;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  border-radius: 100px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  /* Encapsulate the shimmer reflection */
}

/* Elegant light reflection shimmer sweep on hover */
.manifesto-section .badge-gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65) 50%, transparent);
  background-size: 200% 100%;
  background-position: 150% 0;
  pointer-events: none;
  transition: background-position 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifesto-section .badge-gold:hover {
  border-color: var(--color-accent-gold);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.08), 0 0 15px rgba(212, 175, 55, 0.03);
  transform: translateY(-1.5px);
}

.manifesto-section .badge-gold:hover::after {
  background-position: -50% 0;
  /* Smooth light-sweep trigger! */
}

.manifesto-section .badge-gold::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
  animation: gold-pulse 2.2s infinite cubic-bezier(0.16, 1, 0.3, 1);
  /* Elegant pulse heartbeat */
  margin-right: 0.6rem;
}

@keyframes gold-pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.55);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* ==========================================
   Section 4: The Founder's Story
   ========================================== */
.founder-section {
  background-color: #06152E;
  /* Rich Deep Navy Velvet backdrop */
  color: #FAF8F5;
  padding-top: clamp(3rem, 6vw, 5rem);
  /* Reduced vertical padding for a highly compact visual footprint */
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* Accent ambient gold glow in background */
.founder-section::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(6, 21, 46, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  /* Slightly widened text boundary */
  gap: clamp(1.5rem, 3.5vw, 3rem);
  /* Tighter columns gap */
  align-items: center;
  position: relative;
  z-index: 2;
}

.founder-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.founder-headline {
  font-family: var(--font-family-headline);
  font-size: clamp(1.5rem, 2.6vw + 0.1rem, 2.2rem);
  /* Refined compact headline scale */
  line-height: 1.15;
  font-weight: 200;
  /* Luxury light Poppins weight */
  color: #FAF8F5;
  margin-bottom: var(--space-sm);
  /* Tighter spacing */
  letter-spacing: -0.015em;
}

.founder-headline .gold-accent {
  font-weight: 300;
  color: transparent;
  background: linear-gradient(135deg, var(--color-highlight-gold) 0%, var(--color-accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.founder-quote-card {
  background: linear-gradient(135deg, rgba(11, 31, 69, 0.35) 0%, rgba(6, 21, 46, 0.7) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  /* Subtly tinted gold sheen border */
  border-left: 4px solid var(--color-accent-gold);
  /* Thick accent gold vertical border */
  padding: 2rem;
  /* Generous visual breathing room */
  border-radius: 20px;
  /* Aligned with portrait frame radius */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
  width: 100%;
  margin-bottom: var(--space-sm);
  position: relative;
  overflow: hidden;
  /* Exclude opacity from CSS transitions to prevent GSAP stagger timeline conflicts */
  transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Translucent giant quote mark floating dynamically in the background */
.founder-quote-card::before {
  content: "“";
  position: absolute;
  right: 2rem;
  top: -0.5rem;
  font-family: var(--font-family-serif);
  font-size: 8rem;
  color: rgba(212, 175, 55, 0.035);
  /* Super-subtle luxury gold reflection */
  line-height: 1;
  pointer-events: none;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.founder-quote-card:hover {
  background: linear-gradient(135deg, rgba(11, 31, 69, 0.5) 0%, rgba(6, 21, 46, 0.8) 100%);
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(212, 175, 55, 0.05);
  transform: translateY(-4px);
  /* Buttery luxury dynamic lift */
}

.founder-quote-card:hover::before {
  color: rgba(212, 175, 55, 0.08);
  /* Glows brighter on hover */
  transform: translateY(3px) scale(1.05);
  /* Kinetic floating drift */
}

.founder-quote {
  font-family: var(--font-family-body);
  /* Restored Satoshi for clean, elegant body prose */
  font-size: clamp(0.95rem, 1.1vw + 0.1rem, 1.1rem);
  /* Spacious, highly readable body scale */
  line-height: 1.75;
  font-style: normal;
  /* Normal, non-italicized quote style to avoid AI-generated aesthetic */
  font-weight: 300;
  color: #FAF8F5;
  /* Crisp off-white */
  margin-bottom: 0;
  /* Reset spacing - separated by elegant signature line */
  border-left: none;
  padding-left: 0;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

/* Quote highlight styles */
.highlight-gold-text {
  color: var(--color-highlight-gold);
  font-weight: 400;
}

.founder-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  /* Signature thin gold divider line */
  width: 100%;
  position: relative;
  z-index: 2;
}

.author-name {
  font-family: var(--font-family-headline);
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  color: var(--color-highlight-gold);
  /* Warm champagne gold accent for validated focus */
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.author-title {
  font-family: var(--font-family-body);
  font-size: 0.78rem;
  font-weight: var(--fw-regular);
  color: #B8C2D1;
  /* Cool slate grey */
  letter-spacing: 0.03em;
  text-transform: uppercase;
  /* Premium tracked uppercase label styling */
}

/* Premium Milestone Bento Cards Grid */
.founder-milestones {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  gap: var(--space-md);
  /* Premium modern grid spacing */
  margin-top: 2rem;
  /* Clean vertical grid separation */
  border-top: none;
  /* Remove old flat layout borders */
  border-bottom: none;
  padding: 0;
  /* Container padding handled inside individual cards */
}

.milestone-badge {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(11, 31, 69, 0.3) 0%, rgba(6, 21, 46, 0.6) 100%);
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-top: 3px solid rgba(212, 175, 55, 0.2);
  /* Soft champagne gold border-top sheen */
  border-radius: 14px;
  padding: 1.35rem 1.6rem;
  transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Luxury soft radial spotlight glow inside card */
.milestone-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 12% 12%, rgba(212, 175, 55, 0.06) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.milestone-badge:hover {
  transform: translateY(-6px);
  /* Silky smooth fluid lift */
  background: linear-gradient(135deg, rgba(11, 31, 69, 0.45) 0%, rgba(6, 21, 46, 0.75) 100%);
  border-color: rgba(212, 175, 55, 0.22);
  border-top-color: var(--color-accent-gold);
  /* Bright gold header activation */
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.3), 0 0 25px rgba(212, 175, 55, 0.06);
}

.milestone-badge:hover::before {
  opacity: 1;
  /* Fade-in the visual spot-glow */
}

.milestone-value {
  font-family: var(--font-family-headline);
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  /* Luxury editorial metric scales */
  line-height: 1.05;
  font-weight: 300;
  color: transparent;
  background: linear-gradient(135deg, #FAF8F5 0%, var(--color-highlight-gold) 60%, var(--color-accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.milestone-badge:hover .milestone-value {
  transform: scale(1.03) translateX(2px);
  /* Premium kinetic visual feedback */
}

.milestone-label {
  font-family: var(--font-family-body);
  font-size: 0.65rem;
  /* Clean visual tracking for micro-labeling */
  font-weight: var(--fw-bold);
  color: #94A3B8;
  /* Elevated high-contrast gray */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  /* Beautiful breathing letter-spacing */
  line-height: 1.3;
  transition: color 0.4s ease;
  position: relative;
  z-index: 2;
}

.milestone-badge:hover .milestone-label {
  color: #FAF8F5;
  /* Transitions to crisp off-white for visual emphasis */
}

/* Framed Portrait Visual */
.founder-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.founder-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 310px;
  /* Highly compact widescreen visual boundary! */
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid #E2E8F0;
  transition: border-color 0.6s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s;
}

.founder-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(10%) contrast(105%);
}

.founder-portrait-frame:hover {
  border-color: var(--color-accent-gold);
  transform: scale(1.02);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45), 0 0 30px rgba(212, 175, 55, 0.08);
  /* Gold drop shadow on hover */
}

.founder-portrait-frame:hover .founder-portrait-img {
  transform: scale(1.06);
}

/* Editorial elegant border accents - Enlarged and bolder for visual focus */
.frame-edge {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--color-accent-gold);
  pointer-events: none;
  z-index: 5;
  opacity: 0.7;
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.frame-edge-top-left {
  top: 15px;
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.frame-edge-bottom-right {
  bottom: 15px;
  right: 15px;
  border-left: none;
  border-top: none;
}

.founder-portrait-frame:hover .frame-edge {
  opacity: 1;
}

.founder-portrait-frame:hover .frame-edge-top-left {
  transform: translate(-6px, -6px);
  /* Dynamic kinetic expansion */
}

.founder-portrait-frame:hover .frame-edge-bottom-right {
  transform: translate(6px, 6px);
}

.frame-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(6, 21, 46, 0.4) 0%, rgba(6, 21, 46, 0) 50%);
  pointer-events: none;
  z-index: 2;
}

/* ==========================================
   Section 5: Core Values Bento Grid
   ========================================== */
.bento-section {
  background-color: #06152E;
  /* Rich Deep Navy Velvet base matching Section 4 */
  color: #FAF8F5;
  padding-top: clamp(4rem, 8vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 7.5rem);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* Background subtle ambient gold glow */
.bento-section::before {
  content: "";
  position: absolute;
  top: 30%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.035) 0%, rgba(6, 21, 46, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.bento-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem) auto;
  position: relative;
  z-index: 2;
}

.bento-headline {
  font-family: var(--font-family-headline);
  font-size: clamp(1.8rem, 3.2vw + 0.1rem, 2.8rem);
  line-height: 1.15;
  font-weight: 200;
  color: #FAF8F5;
  /* Crisp white for strong dark-base contrast */
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.bento-headline .gold-accent {
  font-weight: 300;
  color: transparent;
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-highlight-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.bento-subheadline {
  font-family: var(--font-family-body);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  color: #B8C2D1;
  /* High-readability slate-gray secondary body */
  font-weight: var(--fw-regular);
}

/* Bento Grid System: 3 columns, auto rows */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: var(--space-md);
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Base Bento Card styling */
.bento-card {
  background: linear-gradient(135deg, rgba(11, 31, 69, 0.4) 0%, rgba(6, 21, 46, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* Clean white outline sheen */
  border-top: 3px solid rgba(212, 175, 55, 0.18);
  /* Elegant gold top border edge */
  border-radius: 24px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Bento Card column spanners */
.card-wide {
  grid-column: span 2;
}

.card-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.card-normal {
  grid-column: span 1;
}

.card-full {
  grid-column: span 3;
}

/* Card Content Spacing */
.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 82%;
  /* Ensure content doesn't crash into visual assets */
  position: relative;
  z-index: 5;
}

.card-tag {
  font-family: var(--font-family-body);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-gold);
  margin-bottom: 0.6rem;
}

.card-title {
  font-family: var(--font-family-headline);
  font-size: clamp(1.22rem, 1.8vw, 1.6rem);
  line-height: 1.25;
  font-weight: var(--fw-semibold);
  color: #FAF8F5;
  /* Premium white for title visibility */
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.card-desc {
  font-family: var(--font-family-body);
  font-size: clamp(0.82rem, 0.95vw, 0.9rem);
  line-height: 1.65;
  color: #B8C2D1;
  /* Highly legible slate gray secondary prose */
  font-weight: var(--fw-regular);
}

/* Core Card Hover Upgrades */
.bento-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(11, 31, 69, 0.55) 0%, rgba(6, 21, 46, 0.85) 100%);
  border-color: rgba(212, 175, 55, 0.28);
  border-top-color: var(--color-accent-gold);
  /* Bright gold header activation */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 25px rgba(212, 175, 55, 0.04);
}

/* ------------------------------------------
   Bento Custom Visual Assets
   ------------------------------------------ */
.card-visual {
  position: absolute;
  right: -5%;
  bottom: -5%;
  width: clamp(160px, 15vw, 240px);
  height: clamp(160px, 15vw, 240px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.25;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .card-visual {
  opacity: 0.65;
  transform: scale(1.05) translate(-5px, -5px);
}

/* Visual 1: 1:1 Path Arc */
.visual-path {
  display: flex;
  align-items: center;
  justify-content: center;
}

.path-arc {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--color-accent-gold);
  border-right-color: var(--color-highlight-gold);
  animation: spin-clockwise 22s linear infinite;
}

.arc-1 {
  width: 80%;
  height: 80%;
}

.arc-2 {
  width: 55%;
  height: 55%;
  animation-duration: 14s;
  animation-direction: reverse;
}

.path-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
  box-shadow: 0 0 10px var(--color-accent-gold);
  animation: float-heartbeat 3s ease-in-out infinite;
}

/* Visual 2: Minimalist Strings (Instrument) */
.visual-strings {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 90%;
  right: 6%;
  bottom: 0;
  width: 120px;
}

.visual-string {
  width: 2px;
  height: 90%;
  background: linear-gradient(to top, rgba(212, 175, 55, 0.8), rgba(6, 21, 46, 0.05));
  border-radius: 2px;
  transform-origin: bottom center;
  transition: transform 0.4s ease;
}

.string-2 {
  height: 100%;
}

.string-3 {
  height: 80%;
}

.bento-card-2:hover .string-1 {
  animation: string-sway 1.0s ease-in-out infinite;
}

.bento-card-2:hover .string-2 {
  animation: string-sway 1.3s ease-in-out infinite;
  animation-delay: 0.12s;
}

.bento-card-2:hover .string-3 {
  animation: string-sway 0.8s ease-in-out infinite;
  animation-delay: 0.22s;
}

/* Visual 3: Connected Nodes */
.visual-nodes {
  right: 5%;
  bottom: 5%;
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-text-primary);
  border: 2px solid var(--color-accent-gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  transition: background-color 0.5s ease;
}

.node-1 {
  top: 25%;
  left: 30%;
}

.node-2 {
  top: 60%;
  left: 70%;
}

.node-3 {
  top: 40%;
  left: 80%;
}

.node-line {
  position: absolute;
  height: 1.5px;
  background: linear-gradient(to right, var(--color-accent-gold), transparent);
  transform-origin: left center;
}

.line-12 {
  top: 30%;
  left: 35%;
  width: 50px;
  transform: rotate(35deg);
}

.line-23 {
  top: 65%;
  left: 75%;
  width: 40px;
  transform: rotate(-55deg);
}

.bento-card-3:hover .node {
  background-color: var(--color-accent-gold);
  box-shadow: 0 0 15px var(--color-accent-gold);
}

/* Visual 4: Circular Seal */
.visual-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  right: 3%;
  bottom: 3%;
}

.seal-outer {
  position: absolute;
  width: 75%;
  height: 75%;
  border: 1px dashed var(--color-accent-gold);
  border-radius: 50%;
  animation: spin-clockwise 35s linear infinite;
}

.seal-inner {
  position: absolute;
  width: 60%;
  height: 60%;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
}

.seal-icon {
  font-size: 1.6rem;
  color: var(--color-accent-gold);
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

/* Visual 5: Audio Equalizer */
.visual-equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  width: 180px;
  height: 90px;
  right: 5%;
  bottom: 12%;
}

.eq-bar {
  width: 6px;
  height: 20%;
  background: linear-gradient(to top, var(--color-accent-gold), var(--color-highlight-gold));
  border-radius: 10px;
  animation: eq-bounce 1.5s ease-in-out infinite alternate;
}

.bar-1 {
  animation-delay: 0.1s;
  height: 35%;
}

.bar-2 {
  animation-delay: 0.4s;
  height: 60%;
}

.bar-3 {
  animation-delay: 0.2s;
  height: 80%;
}

.bar-4 {
  animation-delay: 0.6s;
  height: 45%;
}

.bar-5 {
  animation-delay: 0.3s;
  height: 90%;
}

.bar-6 {
  animation-delay: 0.5s;
  height: 70%;
}

.bar-7 {
  animation-delay: 0.15s;
  height: 40%;
}

/* Keyframe animations */
@keyframes spin-clockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes float-heartbeat {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: 0 0 16px var(--color-accent-gold);
  }

  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

@keyframes string-sway {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(2deg);
  }

  45% {
    transform: rotate(-1.5deg);
  }

  65% {
    transform: rotate(1deg);
  }

  85% {
    transform: rotate(-0.5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes eq-bounce {
  from {
    height: 15%;
  }

  to {
    height: 95%;
  }
}

/* Tablet & Mobile responsive overrides */
/* Tablet & Mobile responsive overrides */
@media (max-width: 991px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .founder-content {
    align-items: center;
    text-align: center;
  }

  .founder-quote-card {
    text-align: left;
    padding: 1.5rem var(--space-md);
    margin-bottom: var(--space-md);
  }

  .founder-quote-card::before {
    font-size: 6rem;
    right: 1.2rem;
    top: -0.8rem;
  }

  .founder-visual {
    order: -1;
    /* Place portrait on top on mobile/tablet viewports */
  }

  /* Bento grid responsive layout for tablet viewports */
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(240px, auto);
  }

  .card-wide {
    grid-column: span 2;
  }

  .card-tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .card-normal {
    grid-column: span 1;
  }

  .card-full {
    grid-column: span 2;
  }
}

@media (max-width: 575px) {
  .founder-milestones {
    flex-direction: column;
    /* Stack cards vertically on mobile devices */
    gap: var(--space-xs);
    /* Cozy gap between the mobile cards */
    padding: 0;
    margin-top: 1.5rem;
  }

  .milestone-badge {
    align-items: center;
    /* Center-align contents inside each stacked card */
    padding: 1.25rem 1.4rem;
    width: 100%;
  }

  /* Bento grid responsive layout for mobile viewports */
  .bento-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: var(--space-sm);
  }

  .card-wide,
  .card-tall,
  .card-normal,
  .card-full {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 220px;
  }

  .card-content {
    max-width: 100%;
  }

  .card-visual {
    width: 130px;
    height: 130px;
    opacity: 0.12;
  }
}

/* ==========================================
   SECTION 6: IMMERSIVE COURSE CATALOG
   ========================================== */
.courses-section {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  z-index: 10;
}

.courses-header {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Headline: Poppins thin styling matching Bento exactly */
.courses-headline {
  font-family: var(--font-family-headline);
  font-size: clamp(1.8rem, 3.2vw + 0.1rem, 2.6rem);
  color: var(--color-text-primary);
  line-height: 1.2;
  font-weight: 200;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.courses-headline .gold-accent {
  font-weight: 300;
  color: transparent;
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-highlight-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Subheadline */
.courses-subheadline {
  font-family: var(--font-family-body);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-weight: var(--fw-regular);
}

/* Badge styling matching Bento badge styling */
.courses-section .badge-gold {
  position: relative;
  background: rgba(250, 248, 245, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 2px 12px rgba(6, 21, 46, 0.03);
  padding: 0.5rem 1.35rem;
  letter-spacing: 0.14em;
  font-family: var(--font-family-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.courses-section .badge-gold::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
  margin-right: 0.6rem;
}

/* Flex Grid container for centering 5 elements */
.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  width: 100%;
}

/* Course Card (Refined clean small box layout) */
.course-card {
  flex: 1 1 calc(33.333% - 1rem);
  min-width: 280px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(6, 21, 46, 0.06);
  box-shadow: 0 4px 16px rgba(6, 21, 46, 0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.course-card:hover,
.course-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 16px 32px rgba(6, 21, 46, 0.06), 0 0 12px rgba(212, 175, 55, 0.02);
}

/* Top Icon Wrapper */
.card-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.course-card:hover .card-icon-wrapper {
  background-color: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.25);
}

.card-icon {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent-gold);
  stroke-width: 2;
  fill: none;
}

/* Tag */
.course-card .card-tag {
  font-family: var(--font-family-body);
  font-size: 0.65rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-gold);
  margin-bottom: 0.5rem;
}

/* Title */
.course-card .card-title {
  font-family: var(--font-family-headline);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Description */
.course-card .card-desc {
  font-family: var(--font-family-body);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  font-weight: var(--fw-regular);
}

/* Syllabus Checklist */
.course-card .card-syllabus {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.course-card .card-syllabus li {
  font-family: var(--font-family-body);
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--fw-regular);
}

/* Check Icon */
.course-card .sy-icon {
  width: 12px;
  height: 12px;
  stroke: var(--color-accent-gold);
  stroke-width: 2.5;
  flex-shrink: 0;
}

/* CTA Link */
.course-card .card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-family-body);
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
  border-bottom: 1.5px solid var(--color-border-subtle);
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

.course-card .card-btn i {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.course-card:hover .card-btn {
  color: var(--color-accent-gold);
  border-bottom-color: var(--color-accent-gold);
  gap: 0.6rem;
}

.course-card:hover .card-btn i {
  transform: translateX(2px);
}

/* Card header and body default layout for Desktop */
.course-card .card-header {
  display: block;
  width: 100%;
}

.course-card .card-header-text {
  display: block;
}

.course-card .card-toggle-icon {
  display: none;
  /* Hidden on desktop */
}

.course-card .card-body {
  display: block;
  opacity: 1;
  max-height: none;
  overflow: visible;
}

/* Responsive Rules */
@media (max-width: 991px) {
  .course-card {
    flex: 0 1 calc(50% - 0.75rem);
  }
}

@media (max-width: 767px) {
  .courses-section {
    padding: clamp(3rem, 6vw, 4rem) 0;
  }

  .courses-grid {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .course-card {
    flex: 0 1 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: visible;
  }

  .course-card:hover {
    transform: none;
    /* Disable hover lift on touch devices */
  }

  /* Horizontal layout for mobile card header */
  .course-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
  }

  .course-card .card-header-text {
    flex: 1;
    text-align: left;
  }

  .course-card .card-icon-wrapper {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    /* Align horizontally */
    flex-shrink: 0;
  }

  .course-card .card-tag {
    font-size: 0.6rem;
    margin-bottom: 0.15rem;
    letter-spacing: 0.08em;
  }

  .course-card .card-title {
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.2;
  }

  /* Display toggle indicator on mobile */
  .course-card .card-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.1);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  }

  .course-card .card-toggle-icon i,
  .course-card .card-toggle-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-accent-gold);
    stroke-width: 2.5;
    transition: transform 0.35s ease;
  }

  /* Collapsed card body state on mobile */
  .course-card .card-body {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.3s ease,
      margin-top 0.4s ease,
      padding-top 0.4s ease;
  }

  .course-card .card-desc {
    font-size: 0.82rem;
    margin-bottom: 1rem;
    line-height: 1.45;
  }

  .course-card .card-syllabus {
    margin-bottom: 1rem;
    gap: 0.4rem;
  }

  .course-card .card-syllabus li {
    font-size: 0.8rem;
  }

  .course-card .card-btn {
    margin-top: 1rem;
    font-size: 0.75rem;
  }

  /* Expanded active state */
  .course-card.active {
    border-color: rgba(212, 175, 55, 0.22);
    box-shadow: 0 8px 24px rgba(6, 21, 46, 0.04);
    overflow: visible;
  }

  .course-card.active .card-body {
    max-height: 2000px;
    /* Very large to never clip content */
    opacity: 1;
    overflow: visible;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(6, 21, 46, 0.08);
  }

  .course-card.active .card-toggle-icon {
    transform: rotate(45deg);
    /* Plus rotates to cross */
    background-color: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.25);
  }
}

/* ==========================================
   SECTION 7: STUDENT TESTIMONIALS (Dark Navy Carousel)
   ========================================== */
/* ==========================================
   SECTION 7: STUDENT TESTIMONIALS (Dark Navy Carousel)
   ========================================== */
.reviews-section {
  background-color: #06152E;
  color: #030C1A !important;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.75rem, 3vw, 2.25rem) 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* Luxury background ambient radial light glows */
.reviews-section::before {
  content: "";
  position: absolute;
  top: -25%;
  left: -15%;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, rgba(6, 21, 46, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.reviews-section::after {
  content: "";
  position: absolute;
  bottom: -25%;
  right: -15%;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, rgba(6, 21, 46, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.reviews-container {
  position: relative;
  z-index: 2;
}

/* ---- HEADER BLOCK ---- */
.reviews-header-block {
  margin-bottom: clamp(1.5rem, 3.5vw, 2rem);
}

.reviews-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 0.25rem;
}

.reviews-headline {
  font-family: var(--font-family-headline);
  font-size: clamp(1.6rem, 2.8vw + 0.1rem, 2.2rem);
  color: #FFFFFF;
  line-height: 1.25;
  font-weight: 200;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 650px;
}

.reviews-headline .gold-accent {
  font-weight: 300;
  color: transparent;
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-highlight-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---- Navigation Arrows ---- */
.reviews-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reviews-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reviews-nav-btn i,
.reviews-nav-btn svg {
  width: 16px;
  height: 16px;
  stroke: #FFFFFF;
  stroke-width: 2;
}

.reviews-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.reviews-nav-btn:active {
  transform: scale(0.95);
}

/* ---- CAROUSEL WRAPPER ---- */
.reviews-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* ---- REVIEW CARD: Premium White Solid Cards ---- */
.review-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
  background: #FAFAFC;
  background-image: repeating-radial-gradient(circle at 100% 100%, transparent 0, transparent 8px, rgba(0, 0, 0, 0.01) 8px, rgba(0, 0, 0, 0.01) 9px);
  border: 1px solid rgba(6, 21, 46, 0.05);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
  background: #FFFFFF;
}

/* Card Header */
.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-star-icon {
  width: 13px;
  height: 13px;
  stroke: var(--color-accent-gold);
  fill: var(--color-accent-gold);
  stroke-width: 1;
}

.review-quote-mark {
  color: rgba(212, 175, 55, 0.18);
  display: flex;
  align-items: center;
}

.review-quote-mark svg,
.review-quote-mark i {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

/* ---- Quote Text ---- */
.review-quote {
  font-family: var(--font-family-body);
  font-size: clamp(0.9rem, 1vw, 0.95rem);
  color: #3B4B61;
  line-height: 1.6;
  font-weight: var(--fw-regular);
  font-style: normal;
  margin: 0;
  padding: 0;
  border: none;
  flex-grow: 1;
}

/* ---- Author Row ---- */
.review-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  font-family: var(--font-family-headline);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--color-border-gold);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.author-name {
  font-family: var(--font-family-headline);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: #06152E;
  letter-spacing: 0.01em;
}

.author-role {
  font-family: var(--font-family-body);
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  color: #6B7A8D;
}

/* ---- DOTS INDICATORS ---- */
.reviews-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.reviews-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reviews-dot.active {
  background: var(--color-accent-gold);
  width: 18px;
  border-radius: 3px;
}

/* ---- BOTTOM TRUST BAR ---- */
.reviews-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  padding: 0.5rem 0;
}

.trust-badge:hover {
  opacity: 0.9;
}

/* Google logo G */
.trust-logo-g {
  font-family: 'Product Sans', var(--font-family-headline);
  font-size: 1.2rem;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1;
}

/* Google stars */
.trust-stars {
  display: flex;
  align-items: center;
  gap: 1px;
}

.trust-star {
  width: 14px;
  height: 14px;
  stroke: var(--color-accent-gold);
  fill: var(--color-accent-gold);
  stroke-width: 1;
}

/* Trustpilot label */
.trust-label-tp {
  font-family: var(--font-family-body);
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  color: #FFFFFF;
  letter-spacing: 0.01em;
}

/* Trustpilot green stars */
.trust-stars-tp {
  display: flex;
  align-items: center;
  gap: 2px;
}

.tp-star {
  width: 16px;
  height: 16px;
  background-color: #00B67A;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  display: inline-block;
}

.tp-star.half {
  background: linear-gradient(to right, #00B67A 50%, #DCDCE6 50%);
}

/* Rating text */
.trust-rating {
  font-family: var(--font-family-body);
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  color: #FFFFFF;
}

/* ---- RESPONSIVE: Tablet ---- */
@media (max-width: 991px) {
  .review-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
    padding: 1.5rem 1.25rem;
  }

  .reviews-track {
    gap: 1.25rem;
  }

  .reviews-trust-bar {
    gap: 1.25rem;
  }
}

/* ---- RESPONSIVE: Mobile ---- */
@media (max-width: 575px) {
  .reviews-section {
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2rem) 0;
  }

  .reviews-header-block {
    margin-bottom: 1.5rem;
  }

  .reviews-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .reviews-headline {
    font-size: 1.4rem;
  }

  .reviews-nav {
    display: none;
  }

  .reviews-carousel-wrapper {
    overflow: visible;
    margin: 0 -1.5rem;
    width: calc(100% + 3rem);
  }

  .reviews-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 1.5rem 0.75rem 1.5rem;
    gap: 1rem;
  }

  .reviews-track::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    flex: 0 0 82vw;
    scroll-snap-align: center;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }

  .reviews-dots {
    margin-top: 1.25rem;
  }

  .reviews-trust-bar {
    margin-top: 2rem;
    padding-top: 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .trust-badge {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}


/* ==========================================
   SECTION 11: FAQ
   ========================================== */
.faq-section {
  background-color: #FFFFFF;
  /* White background */
  color: #030C1A;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  z-index: 10;
}

.faq-accordion {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 992px) {
  .faq-accordion {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.faq-item {
  background: #F8F9FA;
  border: 1px solid #DEE2E6;
  border-radius: 8px;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  background: #FFFFFF;
  border-color: #D4AF37;
}

.faq-question {
  color: #030C1A !important;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-family-body);
  font-size: 1.05rem;
  font-weight: var(--fw-medium);
  transition: color 0.3s ease;
}

.faq-question span {
  padding-right: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent-gold);
  stroke-width: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: #334155 !important;
  font-family: var(--font-family-body);
  font-size: 0.95rem;
  line-height: 1.6;
}


.faq-answer-inner p,
.faq-answer-inner li {
  color: #334155 !important;
}

.faq-answer-inner p {
  margin-bottom: 0.75rem;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-answer-inner ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.faq-answer-inner li {
  margin-bottom: 0.25rem;
}

/* Badge override for white FAQ background */
.faq-section .badge-gold {
  background: rgba(212, 175, 55, 0.12);
  color: #8a6a00;
  border-color: rgba(212, 175, 55, 0.4);
}