/* ============================================================
   PROJECT NIKAH — PREMIUM GREEN & WHITE GLASSMORPHIC THEME
   + Veldara Scroll-Video & Particles Integration
   ============================================================ */

:root {
  --forest-900: #071C0F;
  --forest-700: #173B25;
  --forest-500: #3B6B4F;
  --forest-400: #4D8C63;
  --mint-400:   #10B981;
  --mint-300:   #34D399;
  --mint-100:   #D1FAE5;
  --sage-200:   #A7F3D0;
  
  /* Redefined for premium dark glassmorphism starry background */
  --bg-base:    transparent;
  --bg-white:   rgba(6, 22, 12, 0.65); /* dark green glass background */
  --bg-card:    rgba(6, 22, 12, 0.5);
  --text-dark:  #ffffff;
  --text-mid:   #a7f3d0;
  --text-light: #9cbfa5;
  --text-muted: rgba(255, 255, 255, 0.55);
  --border:     rgba(255, 255, 255, 0.08);
  --shadow-sm:  0 4px 16px rgba(0,0,0,0.3);
  --shadow-md:  0 12px 40px rgba(0,0,0,0.5);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.7);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: clip;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-dark);
  line-height: 1.6;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--mint-300); border-radius: 3px; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   SCROLL VIDEO BACKGROUND (Veldara Effect)
   ============================================================ */
/* ── THE ACTUAL BACKGROUND CONTAINER ── */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -100;
  background: radial-gradient(ellipse at 50% 40%, #0d1a0a 0%, #050d04 45%, #000 100%);
}

/* ── STARS ── */
.stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: twinkle var(--d, 3s) ease-in-out infinite alternate;
  opacity: var(--o, 0.4);
}
@keyframes twinkle {
  from { opacity: var(--o, 0.4); transform: scale(1); }
  to   { opacity: calc(var(--o, 0.4) * 0.2); transform: scale(0.7); }
}

/* ── Atmospheric Glow ── */
.glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 107, 47, 0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
  z-index: 2;
  transition: transform 0.08s ease-out;
}

/* ============================================================
   NAVIGATION HEADER
   ============================================================ */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: var(--transition);
}

#main-header.scrolled {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Use ::before for the blur so #main-header never becomes a
   containing block for position:fixed children (backdrop-filter bug) */
#main-header.scrolled::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 22, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
  pointer-events: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--mint-300);
  transition: color 0.3s ease;
}

#main-header.scrolled .site-logo {
  color: var(--mint-300);
}

.logo-mark {
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

#main-header.scrolled .logo-text {
  color: #ffffff;
}

.logo-text em {
  font-style: normal;
  color: var(--mint-300);
}

#main-header.scrolled .logo-text em {
  color: var(--mint-400);
}

#site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

#site-nav a {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

#site-nav a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

#main-header.scrolled #site-nav a {
  color: var(--text-mid);
}

#main-header.scrolled #site-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.nav-instagram-link {
  display: flex;
  align-items: center;
  font-size: 1.7rem;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.2s ease, transform 0.2s ease;
  line-height: 1;
}
.nav-instagram-link:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.nav-spotify-link {
  display: flex;
  align-items: center;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.spotify-icon {
  display: block;
  width: 26px;
  height: 26px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.nav-spotify-link:hover .spotify-icon {
  opacity: 0.85;
  transform: scale(1.12);
  filter: drop-shadow(0 0 6px rgba(30, 215, 96, 0.55));
}
/* Gap between Spotify and Instagram when side by side */
.nav-spotify-link + .nav-instagram-link {
  margin-left: 1rem;
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

#main-header.scrolled .mobile-toggle-btn {
  color: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.6rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--mint-400);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16,185,129,0.25);
}

.btn-primary:hover {
  background: var(--forest-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16,185,129,0.35);
}

/* Special nav CTA style - Begin Journey */
.btn-nav-cta {
  background: rgba(255,255,255,0.12);
  color: #000000 !important;
  border: 1.5px solid rgba(255,255,255,0.5);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 7px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  box-shadow: none;
}

.btn-nav-cta:hover {
  background: rgba(255,255,255,0.9);
  color: #000000 !important;
  transform: none;
  box-shadow: none;
}

#main-header.scrolled .btn-nav-cta {
  background: var(--mint-100);
  color: #000000 !important;
  border-color: var(--mint-300);
}

#main-header.scrolled .btn-nav-cta:hover {
  background: var(--mint-300);
  color: #000000 !important;
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--mint-400);
  border: 1.5px solid var(--mint-400);
}

.btn-outline:hover {
  background: var(--mint-100);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1.1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero-section {
  position: relative;
  height: 80vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(1, 8, 4, 0.4) 0%,
    rgba(1, 8, 4, 0.15) 40%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 1.5rem;
  max-width: 58rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.35);
  color: var(--mint-300);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--mint-300);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--mint-300);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.hero-title-accent {
  background: linear-gradient(135deg, #a7f3d0 0%, #34d399 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 15px rgba(52, 211, 153, 0.6));
  animation: glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { filter: drop-shadow(0 2px 10px rgba(52, 211, 153, 0.45)); }
  to { filter: drop-shadow(0 2px 25px rgba(52, 211, 153, 0.8)); }
}

.hero-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  padding: 0.6rem 1.75rem;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.hero-subtitle:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

/* Premium Floating CTA Button */
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1.1rem 2.5rem;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: buttonFloat 4s ease-in-out infinite;
}

.btn-hero-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.55), 0 0 15px rgba(52, 211, 153, 0.3);
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  animation-play-state: paused;
}

.btn-hero-cta i {
  transition: transform 0.3s ease;
}

.btn-hero-cta:hover i {
  transform: translateX(4px);
}

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

.hero-desc {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.88);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 3rem;
  width: fit-content;
  margin: 0 auto;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-scroll-cue svg {
  width: 1.6rem;
  height: 1.6rem;
  color: rgba(255,255,255,0.45);
  animation: bounceY 2s infinite ease-in-out;
}

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

/* ============================================================
   SCROLL VIDEO SPACERS + FLOATING CARDS (Veldara Effect)
   ============================================================ */
.scroll-video-spacer {
  height: 60vh;
  position: relative;
  z-index: 5;
}

#cards-trigger-zone {
  height: 200vh;
  position: relative;
  z-index: 1;
}

/* Fixed Floating Cards */
#floating-cards {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 3rem 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-cards-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.floating-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  color: #ffffff;
}

.fc-icon {
  width: 44px;
  height: 44px;
  background: rgba(16,185,129,0.18);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-300);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.floating-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.floating-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ============================================================
   PAGE CONTENT WRAPPER (sits above video)
   ============================================================ */
#page-content {
  position: relative;
  z-index: 30;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section-block {
  padding: 5rem 0 7rem;
  background: var(--bg-base);
  position: relative;
  z-index: 30;
  border-top: 1px solid rgba(23,59,37,0.08);
}

/* Alt sections: a whisper of green to distinguish */
.section-alt {
  background: rgba(6, 22, 12, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
  max-width: 640px;
  margin-bottom: 4rem;
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--mint-400);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Process section heading — smaller so title fits on one line */
.process-left-col .section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  white-space: nowrap;
}

/* ============================================================
   PROCESS SECTION — CENTERED HEADER + FULL-WIDTH GRAPH + HORIZONTAL PANELS
   ============================================================ */
.process-graph-wrap {
  max-width: 860px;
  margin: 0 auto 2.5rem;
}


/* ============================================================
   JOURNEY DIAGONAL ANIMATED GRAPH
   ============================================================ */
.journey-graph-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 0.75rem 0.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
  overflow: hidden;
}

/* Dark Mode Legibility for SVG text */
.journey-graph-wrap svg text {
  fill: #ffffff !important;
}
.journey-graph-wrap svg text[fill="#6B9E84"],
.journey-graph-wrap svg text[fill="#4D8C63"] {
  fill: #a7f3d0 !important;
}

/* The diagonal progress line drawn via stroke-dashoffset animation */
.diag-line-anim {
  stroke-dasharray: 860;
  stroke-dashoffset: 860;
  animation: drawDiagLine 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes drawDiagLine {
  0%   { stroke-dashoffset: 860; }
  15%  { stroke-dashoffset: 690; } /* to stage 2 */
  30%  { stroke-dashoffset: 520; } /* to stage 3 */
  45%  { stroke-dashoffset: 345; } /* to stage 4 */
  60%  { stroke-dashoffset: 0;   } /* to stage 5 */
  80%  { stroke-dashoffset: 0;   } /* hold at end */
  99%  { stroke-dashoffset: 860; opacity: 0; } /* flash reset */
  100% { stroke-dashoffset: 860; opacity: 1; }
}

/* Stage icons: hidden until their turn */
.stage-hidden {
  opacity: 0;
  transform-origin: center;
  transform: scale(0.6);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Stage 1 always visible */
#stage-1 { opacity: 1; }

/* Stages revealed by JS as animation progresses */
#stage-2.stage-visible,
#stage-3.stage-visible,
#stage-4.stage-visible,
#stage-5.stage-visible {
  opacity: 1;
  transform: scale(1);
}

/* Traveling white dot glow pulse */
.traveler-anim {
  animation: travelDiag 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes travelDiag {
  /* Stage 1: (80, 450) */
  0%   { cx: 80;  cy: 450; r: 9; }
  5%   { cx: 80;  cy: 450; r: 11; }
  10%  { cx: 80;  cy: 450; r: 9;  }
  /* Travel to Stage 2: (270, 363) */
  15%  { cx: 270; cy: 363; r: 9;  }
  20%  { cx: 270; cy: 363; r: 11; }
  25%  { cx: 270; cy: 363; r: 9;  }
  /* Travel to Stage 3: (460, 276) */
  30%  { cx: 460; cy: 276; r: 9;  }
  35%  { cx: 460; cy: 276; r: 11; }
  40%  { cx: 460; cy: 276; r: 9;  }
  /* Travel to Stage 4: (650, 189) */
  45%  { cx: 650; cy: 189; r: 9;  }
  50%  { cx: 650; cy: 189; r: 11; }
  55%  { cx: 650; cy: 189; r: 9;  }
  /* Travel to Stage 5: (840, 102) */
  60%  { cx: 840; cy: 102; r: 9;  }
  65%  { cx: 840; cy: 102; r: 13; }
  75%  { cx: 840; cy: 102; r: 9;  }
  /* Reset - jump back invisible */
  99%  { cx: 840; cy: 102; opacity: 0; }
  100% { cx: 80;  cy: 450; r: 9;  opacity: 1; }
}

/* Process Panels */
.process-panels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-panel {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint-300);
}

.process-panel.active {
  border-color: var(--mint-400);
  background: rgba(16, 185, 129, 0.03);
  box-shadow: var(--shadow-md);
}

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

.pp-num {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--mint-100);
  line-height: 1;
  font-family: 'Cormorant Garamond', serif;
}

.pp-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.pp-content p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.pp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pp-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 600;
}

.pp-list li i {
  color: var(--mint-400);
  font-size: 0.75rem;
}

/* ============================================================
   COMPARISON SECTION
   ============================================================ */
.comparison-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.comparison-col {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.comp-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 99px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.comp-badge--yes {
  background: var(--mint-100);
  color: var(--forest-700);
}

.comp-badge--no {
  background: #FEE2E2;
  color: #991B1B;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.comp-list--yes i { color: var(--mint-400); }
.comp-list--no i { color: #EF4444; }

/* ============================================================
   COACHES SECTION — TWO COLUMN LAYOUT
   ============================================================ */
.coaches-two-col {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3.5rem;
  align-items: start;
}

.coaches-left-col {
  position: sticky;
  top: 5rem;
}

.coaches-right-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

/* 2x2 grid: vertical card layout */
.coaches-grid-2x2 .coach-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.coaches-grid-2x2 .coach-photo-wrap {
  height: 240px;
  width: 100%;
}

/* 3-column grid: three coaches side by side */
.coaches-grid-3col {
  grid-template-columns: repeat(3, 1fr) !important;
}

.coaches-grid-3col .coach-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.coaches-grid-3col .coach-photo-wrap {
  height: 220px;
  width: 100%;
}

@media (max-width: 900px) {
  .coaches-grid-3col {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 700px) {
  .coaches-right-col,
  .coaches-grid-3col {
    grid-template-columns: 1fr !important;
  }
}

.col-span-full {
  grid-column: 1 / -1;
}

/* ============================================================
   COACHES GRID (original kept for fallback)
   ============================================================ */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.coach-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.coach-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint-300);
}

.coach-photo-wrap {
  height: 280px;
  overflow: hidden;
  background: var(--mint-100);
}

.coach-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.coach-card:hover .coach-photo {
  transform: scale(1.04);
}

.coach-info {
  padding: 2rem;
}

.coach-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.coach-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mint-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 1rem;
}

.coach-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.credentials-inner {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 500;
}

.cred-item i {
  color: var(--mint-400);
  font-size: 0.8rem;
  width: 14px;
}

.coach-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
}

.coach-accordion-btn:hover {
  background: var(--mint-100);
  border-color: var(--mint-300);
  color: var(--forest-700);
}

.coach-accordion-btn i {
  transition: transform 0.3s ease;
}

.coach-card.open .coach-accordion-btn i {
  transform: rotate(180deg);
}




/* ============================================================
   EVENTS SECTION
   ============================================================ */



.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.event-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint-300);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--mint-100);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  width: 60px;
  flex-shrink: 0;
}

.event-day {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--forest-700);
  line-height: 1;
}

.event-month {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mint-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-type-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--mint-100);
  color: var(--forest-700);
  border-radius: 99px;
  padding: 0.2rem 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.event-details h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.event-details p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.event-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.event-meta i {
  color: var(--mint-400);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

.faq-item {
  background: var(--bg-white);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  gap: 1rem;
  transition: var(--transition);
}

.faq-btn i {
  color: var(--mint-400);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-btn i {
  transform: rotate(45deg);
}

.faq-item.open .faq-btn {
  color: var(--forest-700);
  background: var(--mint-100);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 2rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.disclaimer i {
  color: var(--mint-400);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ============================================================
   RSVP MODAL
   ============================================================ */
#rsvp-modal {
  position: fixed;
  inset: 0;
  background: rgba(7,28,15,0.6);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#rsvp-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-mid);
  font-size: 0.95rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #FEE2E2;
  color: #EF4444;
}

.modal-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  border-color: var(--mint-400);
}

.success-icon {
  font-size: 3rem;
  color: var(--mint-400);
  text-align: center;
  margin-bottom: 1rem;
}

#rsvp-success {
  text-align: center;
}

#rsvp-success h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

#rsvp-success p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: rgba(7, 28, 15, 0.65);
  color: rgba(255,255,255,0.75);
  padding: 5rem 0 3rem;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2.5rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo em {
  font-style: normal;
  color: var(--mint-300);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links h4 {
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-dua {
  font-size: 1rem;
  color: rgba(255,255,255,0.25);
  font-family: 'Cormorant Garamond', serif;
}

/* ============================================================
   ADVISORS SECTION
   ============================================================ */
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.advisor-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.advisor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint-300);
}

.advisor-icon {
  width: 48px;
  height: 48px;
  background: var(--mint-100);
  color: var(--forest-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: inset 0 2px 4px rgba(7,28,15,0.03);
}

.advisor-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.advisor-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mint-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.85rem;
}

.advisor-info p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.advisors-disclaimer {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 1.75rem 2.25rem;
  background: rgba(16, 185, 129, 0.04);
  border: 1.5px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.65;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .coaches-grid { grid-template-columns: repeat(2, 1fr); }
  .seekers-grid { grid-template-columns: repeat(2, 1fr); }
  .floating-cards-grid {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding: 0.5rem 1.5rem 2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .floating-cards-grid::-webkit-scrollbar {
    display: none;
  }
  .floating-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  }
  .process-panels-horizontal { grid-template-columns: repeat(3, 1fr); }
  .coaches-two-col { grid-template-columns: 1fr; }
  .coaches-left-col { position: static; }
  
  #floating-cards {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    padding: 3rem 0;
    overflow: hidden;
  }
  .scroll-video-spacer, #cards-trigger-zone {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Hide the desktop nav links */
  #site-nav {
    display: none;
  }

  /* ── When menu is open: colour the header bar that stays visible at top ── */
  #main-header.nav-open {
    background: #030f07 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: none !important;
  }

  /* Keep logo & close button above the nav overlay */
  #main-header.nav-open .header-inner {
    position: relative;
    z-index: 2;
  }

  /* White logo & close button on the dark bar */
  #main-header.nav-open .logo-text,
  #main-header.nav-open .site-logo {
    color: #ffffff !important;
  }
  #main-header.nav-open .mobile-toggle-btn {
    color: #ffffff !important;
  }

  /* ── The fullscreen overlay — position:fixed works now that
     ::before carries the backdrop-filter instead of the parent ── */
  #site-nav.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    inset: 0;               /* top:0 right:0 bottom:0 left:0 */
    z-index: 1;             /* inside header stacking ctx, below .header-inner z:2 */
    background: #030f07;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    padding: 5rem 2rem 3rem;
    overflow-y: auto;
  }

  #site-nav.open a,
  #main-header.scrolled #site-nav.open a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.04em;
    padding: 0.6rem 2rem;
    border-radius: 99px;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    animation: mobileLinkIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  #site-nav.open a:nth-child(1) { animation-delay: 0.06s; }
  #site-nav.open a:nth-child(2) { animation-delay: 0.12s; }
  #site-nav.open a:nth-child(3) { animation-delay: 0.18s; }
  #site-nav.open a:nth-child(4) { animation-delay: 0.24s; }
  #site-nav.open a:nth-child(5) { animation-delay: 0.30s; }
  #site-nav.open a:nth-child(6) { animation-delay: 0.36s; }

  #site-nav.open a:hover {
    color: var(--mint-300) !important;
    background: rgba(255,255,255,0.08) !important;
    transform: translateY(-2px);
  }

  .mobile-toggle-btn { display: block; }
  /* Keep Begin Journey button visible on mobile */
  .header-actions .btn-nav-cta { display: inline-flex; font-size: 0.82rem; padding: 0.38rem 0.7rem; }

  .header-inner { grid-template-columns: auto 1fr auto; }

  .hero-title { font-size: 2rem; }
  .btn-hero-cta {
    font-size: 0.9rem;
    padding: 0.9rem 1.6rem;
    margin-top: 1.8rem;
    white-space: nowrap;
  }
  .hero-stats { flex-direction: column; gap: 1.5rem; padding: 1.5rem 2rem; }
  .stat-divider { width: 80px; height: 1px; }
  .hero-ctas { flex-direction: column; align-items: center; }

  .floating-cards-grid { grid-template-columns: none; gap: 1rem; }
  #floating-cards { padding: 2rem 0; }

  .comparison-wrapper { grid-template-columns: 1fr; }
  .coaches-grid { grid-template-columns: 1fr; }
  .coaches-two-col { grid-template-columns: 1fr; }
  .process-panels-horizontal { grid-template-columns: 1fr; }
  .advisors-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .process-panel { flex-direction: column; gap: 1rem; }
  .pp-num { font-size: 2.5rem; }
  .coaches-right-col { grid-template-columns: 1fr; }
}

/* ============================================================
   PROCESS SECTION — TWO-COLUMN LAYOUT (left text/graph, right grid)
   ============================================================ */

.process-two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-top: 28px;
}

.process-left-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process-right-col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.process-panels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.process-panels-grid .process-panel:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (max-width: 960px) {
  .process-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process-left-col {
    position: static;
  }
}

@media (max-width: 560px) {
  .process-panels-grid {
    grid-template-columns: 1fr;
  }
  .process-panels-grid .process-panel:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

/* ============================================================
   MOBILE MENU ANIMATIONS
   ============================================================ */
@keyframes mobileMenuFade {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

@keyframes mobileLinkIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   SCROLL-TO-TOP BUTTON (MOBILE ONLY)
   ============================================================ */
.btn-scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.85);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              box-shadow 0.25s ease;
}

.btn-scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.btn-scroll-top:hover {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.6);
}

.btn-scroll-top:active {
  transform: scale(0.93);
}

/* Restrict to mobile viewports (<= 768px) */
@media (min-width: 769px) {
  .btn-scroll-top {
    display: none !important;
  }
}

/* ============================================================
   WHY PROJECT NIKAH / WEDDING STORY VIDEO PLAYER
   ============================================================ */
.video-player-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px; /* Limit to 400px wide maximum */
  margin: 0 auto;
  aspect-ratio: 4 / 3; /* Exact 400x300 aspect ratio on desktop */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(141, 198, 63, 0.3); /* Subtle green border */
  box-shadow: var(--shadow-md);
  background: #0a130b; /* Darker card background to pop from page */
}

.video-player-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Custom Play Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: radial-gradient(circle at 50% 50%, #0d1a0d 0%, #0a130b 100%);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
  cursor: pointer;
  padding: 2rem;
  text-align: center;
}

/* Starry pattern inside the overlay to match website theme */
.video-overlay-stars {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: 
    radial-gradient(circle at 12% 18%, #fff 1px, transparent 1px),
    radial-gradient(circle at 82% 28%, #fff 1.5px, transparent 1.5px),
    radial-gradient(circle at 45% 72%, #fff 1px, transparent 1px),
    radial-gradient(circle at 25% 60%, #fff 2px, transparent 2px),
    radial-gradient(circle at 70% 85%, #fff 1px, transparent 1px);
  background-size: 100% 100%;
  pointer-events: none;
}

/* Frosted glass/mint play button */
.video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--mint-300);
  color: var(--mint-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              background-color 0.3s ease, 
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              color 0.3s ease;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  padding-left: 5px; /* Visual center alignment for play icon */
}

/* Ring effect around play button */
.video-play-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(52, 211, 153, 0.3);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: scale(0.9);
}

.video-overlay:hover .video-play-btn {
  transform: scale(1.1);
  background-color: var(--mint-300);
  border-color: var(--mint-300);
  color: var(--forest-900);
  box-shadow: 0 0 35px rgba(52, 211, 153, 0.6);
}

.video-overlay:hover .video-play-btn::after {
  opacity: 1;
  transform: scale(1.08);
}

.video-play-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem; /* Fit text on a single line */
  font-weight: 700;
  color: var(--sage-200);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap; /* Forces text to remain on one line */
  position: relative;
  z-index: 2;
  pointer-events: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.video-overlay:hover .video-play-label {
  color: #ffffff;
  transform: translateY(2px);
}

.video-speaker-credit {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.video-spotify-link-p {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  position: relative;
  z-index: 12; /* Ensure clickable above the parent overlay */
}

.video-spotify-link-p a {
  color: #8DC63F; /* Green theme link */
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.video-spotify-link-p a:hover {
  color: #a2dc51;
  opacity: 0.95;
}

/* Hide overlay when video starts playing */
.video-overlay.playing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .video-play-btn {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
  }
  
  .video-play-label {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }
  
  .video-player-wrapper {
    border-radius: var(--radius-md);
  }
}

/* Disable native video controls fullscreen button */
video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

