/* 
  FiqrTaalim Webinar Landing Page - Light Editorial Style
  Optimized for Compact Spacing, Attention Grab, and Constant Conversion CTAs
*/

/* Core Design System Tokens */
:root {
  --color-bg-primary: #FAF8F5;       /* Warm Alabaster */
  --color-bg-secondary: #F4EFE6;     /* Warm Sand/Linen */
  --color-bg-card: #FFFFFF;          /* Pure White for depth */
  --color-text-primary: #000000;     /* Perfect Black */
  --color-text-secondary: #000000;   /* Perfect Black */
  --color-accent-gold: #C9A24B;      /* Vibrant Gold for CTAs */
  --color-accent-gold-hover: #A87F2A;/* Darker Gold for CTA hovers */
  --color-accent-olive: #4A533C;     /* Forest Olive (Halal trust) */
  --color-accent-red: #C85A53;       /* Soft Terracotta for "Not For" list */
  --color-border: #E8E0D2;           /* Soft Sand Border */
  --color-white: #FFFFFF;
  
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Amiri', serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 10px 30px rgba(28, 23, 20, 0.03), 0 1px 3px rgba(28, 23, 20, 0.01);
  --shadow-premium-hover: 0 20px 40px rgba(28, 23, 20, 0.07), 0 1px 5px rgba(28, 23, 20, 0.02);
  --shadow-gold-cta: 0 8px 24px rgba(201, 162, 75, 0.45);
  --shadow-gold-cta-hover: 0 12px 30px rgba(201, 162, 75, 0.65);
}

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

.text-nowrap {
  white-space: nowrap;
  display: inline-block;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg-primary);
  font-size: 112.5%; /* Proportionally scales base font size up by 2px (from 16px to 18px) */
}

body {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--color-text-primary);
  background-color: transparent;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 75px; /* Space for persistent sticky footer */
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}

/* Repeating Pattern Background Overlay */
.pattern-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background-image: url('pattern.png');
  background-repeat: repeat;
  background-size: 260px auto;
  opacity: 0.05; /* Calibrated opacity for a softer visual balance */
  mix-blend-mode: multiply; /* Removes white background seamlessly */
}


/* Buttons (Highly Noticeable High-Contrast Gold) */
.btn-secondary-sm {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: transparent;
  transition: var(--transition-smooth);
}

.btn-secondary-sm:hover {
  background: var(--color-bg-secondary);
  border-color: var(--color-text-primary);
}

/* Main CTA - Vibrantly Golden, Raised, Pulsing, Full-Length */
.btn-primary {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1C1714; /* Deep brown text on gold for high contrast */
  text-decoration: none;
  background: linear-gradient(135deg, #FFD066, var(--color-accent-gold));
  padding: 1.1rem 2.8rem;
  border-radius: 6px;
  border: 1px solid #E3B03C;
  box-shadow: var(--shadow-gold-cta);
  transition: var(--transition-smooth);
  animation: pulseCTA 2.5s infinite;
  text-align: center;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-hover));
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-gold-cta-hover);
  border-color: var(--color-accent-gold-hover);
  color: var(--color-white);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-large {
  width: 100%;
  max-width: 440px;
  font-size: 0.95rem;
}

/* Sticky footer CTA button */
.btn-primary-sticky {
  font-family: var(--font-sans);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1C1714;
  text-decoration: none;
  background: linear-gradient(135deg, #FFD066, var(--color-accent-gold));
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  border: 1px solid #E3B03C;
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.3);
  transition: var(--transition-smooth);
}

.btn-primary-sticky:hover {
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-hover));
  color: var(--color-white);
  border-color: var(--color-accent-gold-hover);
  box-shadow: 0 6px 15px rgba(201, 162, 75, 0.5);
  transform: scale(1.02);
}

/* Page Layout Container (More Compact Spacing) */
.page-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 6.5rem; /* Reduced padding */
  display: flex;
  flex-direction: column;
  gap: 3.5rem; /* Reduced gap between sections from 6rem */
}

/* Utility alignments */
.text-center {
  text-align: center;
}

/* Animated Changing Gradient Text */
.gradient-text-animated {
  background: linear-gradient(120deg, #A8761E, #D9AC59, #8C5B0F, #D9AC59, #A8761E);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShine 4s linear infinite;
  display: inline-block;
}

.text-black-overlay {
  -webkit-text-fill-color: initial !important;
  color: #1C1714 !important;
  background: none !important;
  font-weight: 800;
  animation: none !important;
  display: inline !important;
}

/* 1. HERO SECTION */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201, 162, 75, 0.06); /* Subtly tinted gold background */
  border: 1px solid rgba(201, 162, 75, 0.28); /* Warm gold border */
  padding: 0.35rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-gold-hover);
  box-shadow: 0 2px 8px rgba(28, 23, 20, 0.02);
}

.pill-dot {
  color: var(--color-accent-gold);
  font-size: 0.9rem;
  line-height: 1;
  display: inline-block;
  margin-right: 0.15rem;
}

.eyebrow-segment {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.eyebrow-separator {
  display: inline-block;
  opacity: 0.6;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 4.1vw, 2.88rem); /* Reduced by ~2px for better proportion */
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.hero-rotator-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(201, 162, 75, 0.13); /* Slightly darker gold tint (13% opacity) */
  border: 1.5px solid rgba(201, 162, 75, 0.38); /* Warm gold border */
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  margin-top: 0.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(28, 23, 20, 0.04);
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  font-weight: 800;
  color: var(--color-text-primary); /* Dark cocoa */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap; /* Prevent wrapping onto multiple lines */
}

.rotator-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  text-transform: none; /* Keep natural casing for serif */
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-left: 0.15rem;
}

.hero-description {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  font-weight: 500;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-bottom: 2rem; /* Tighter spacing */
  line-height: 1.65;
}

/* VSL Video Container (Center of Attraction) */
.vsl-video-container {
  width: 100%;
  max-width: 640px;
  margin: 1.5rem auto 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 2.5px solid var(--color-border); /* Increased by 1px */
  box-shadow: 0 10px 40px rgba(201, 162, 75, 0.12), 0 1px 3px rgba(28, 23, 20, 0.02); /* Soft golden halo background glow */
  background: var(--color-bg-card);
  transition: var(--transition-smooth);
}

.vsl-video-container:hover {
  border-color: var(--color-accent-gold);
  box-shadow: 0 20px 50px rgba(201, 162, 75, 0.22), 0 1px 5px rgba(28, 23, 20, 0.04); /* More pronounced glow on hover */
  transform: translateY(-2px);
}

.video-ratio-16-9 {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  width: 100%;
}

.video-ratio-16-9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Masterclass Details Block (Premium Contrast Dark Card) */
.details-block {
  width: 100%;
  background: #221D1A; /* Deep Dark Cocoa */
  border: 2px solid var(--color-accent-gold);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 30px rgba(28, 23, 20, 0.12);
}

.details-grid {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.25rem 0;
}

.detail-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.gold-icon {
  stroke: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

.detail-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.detail-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A89C92; /* Muted sand for readability on dark */
}

.detail-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #FAF8F5; /* Crisp cream text */
}

.highlight-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Action Container */
.hero-action-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.section-cta-container {
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
}

.btn-subtext {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
}

/* Countdown Timer Styles */
.countdown-container {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.countdown-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.countdown-time-block {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  min-width: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-premium);
}

.time-num {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent-gold-hover);
  line-height: 1.1;
}

.time-label {
  font-size: 0.5rem;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}


/* Overlapping Trainer Frame Layout (More Compact) */
.trainers-clubbed-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 220px;
  margin-top: 0.5rem;
}

.trainer-frame {
  position: absolute;
  width: 140px;
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-premium);
  background-color: var(--color-bg-secondary);
  transition: var(--transition-smooth);
}

.trainer-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  pointer-events: none;
  z-index: 3;
}

.trainer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.trainer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(28, 23, 20, 0.85), rgba(28, 23, 20, 0));
  padding: 1rem 0.6rem 0.6rem;
  color: var(--color-white);
  text-align: left;
  z-index: 2;
}

.trainer-name {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
}

.trainer-role {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.frame-aqib {
  left: 15%;
  z-index: 5;
  transform: rotate(-3deg);
}

.frame-omar {
  right: 15%;
  z-index: 4;
  transform: rotate(3deg) translateY(10px);
}

/* Seal Badge */
.mentorship-seal {
  position: absolute;
  z-index: 10;
  width: 80px;
  height: 80px;
  background: var(--color-white);
  border-radius: 50%;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 15px rgba(28, 23, 20, 0.04);
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 20px);
  animation: spin 35s linear infinite;
  pointer-events: none;
}

.seal-svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.seal-text {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 800;
  fill: var(--color-text-primary);
  letter-spacing: 1.2px;
}

.seal-icon {
  font-size: 1.1rem;
  color: var(--color-accent-gold-hover);
}

/* Section Header (Compact) */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* 2. THE PROBLEM SECTION (More Compact) */
.problem-grid {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.problem-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem; /* Tighter padding */
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium-hover);
  border-color: var(--color-accent-gold);
}

.problem-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(200, 90, 83, 0.1);
  color: var(--color-accent-red);
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.problem-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.problem-card p {
  font-size: 0.825rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* 3. WHAT YOU WILL LEARN SECTION (More Compact) */


.outcomes-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 640px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent-gold-hover);
  line-height: 1;
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* 4. FILTER (FOR / NOT FOR) SECTION */
.filter-container {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.filter-column {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.75rem;
  box-shadow: var(--shadow-premium);
}

.filter-header {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.filter-for .filter-header {
  color: var(--color-accent-olive);
  border-bottom-color: rgba(74, 83, 60, 0.2);
}

.filter-not .filter-header {
  color: var(--color-accent-red);
  border-bottom-color: rgba(200, 90, 83, 0.2);
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.filter-list li {
  font-size: 0.85rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--color-text-secondary);
}

.filter-list li span {
  font-weight: 700;
  font-size: 0.9rem;
}

.filter-for li span {
  color: var(--color-accent-olive);
}

.filter-not li span {
  color: var(--color-accent-red);
}

/* 5. MEET YOUR TRAINERS */
.trainers-grid {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.trainer-card {
  text-align: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-premium);
}

.trainer-photo-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid var(--color-accent-gold);
  box-shadow: 0 4px 10px rgba(181, 137, 50, 0.15);
}

.trainer-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.trainer-role {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-gold-hover);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.trainer-bio {
  font-size: 0.825rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.support-mention {
  text-align: center;
  font-size: 0.825rem;
  color: var(--color-text-secondary);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.85rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

/* 6. LOGOS & TESTIMONIALS SECTION */
/* 6. LOGOS & TESTIMONIALS SECTION (Marquee layout) */
.logos-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  background: var(--color-bg-secondary);
  padding: 1.75rem 0;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
  position: relative;
  /* Mask fading edges for premium editorial feel */
  mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.marquee-content {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  align-items: center;
  animation: logoMarquee 26s linear infinite;
}

.logos-marquee-wrapper:hover .marquee-content {
  animation-play-state: paused; /* Pause scrolling on hover to inspect brands */
}

.logo-item {
  height: 52px; /* Bigger logos matching user request */
  max-width: 135px;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
  user-select: none;
}

.logo-item:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.04);
}

@keyframes logoMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 9:16 Video Reviews Carousel Style */
.video-reviews-container {
  margin-bottom: 2.5rem;
  width: 100%;
}

.subsection-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
  text-align: center;
}

.video-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.25rem;
  padding: 0.5rem 1.25rem 1.5rem;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Hide scrollbar but keep functionality */
.video-scroll-container::-webkit-scrollbar {
  display: none;
}
.video-scroll-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.video-card {
  flex: 0 0 210px; /* Crucial width so the next card is partially visible */
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium-hover);
  border-color: var(--color-accent-gold);
}

.video-card-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* Portrait 9:16 */
  background: #000;
}

.video-card-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-info {
  padding: 0.6rem 0.5rem;
  text-align: center;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

.video-card-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--color-accent-gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonials-grid {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.student-name {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
}

.student-city {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  display: block;
}

.badge-halal {
  font-size: 0.575rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(74, 83, 60, 0.08);
  color: var(--color-accent-olive);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

.student-quote {
  font-size: 0.825rem;
  color: var(--color-text-secondary);
  font-style: italic;
  line-height: 1.5;
}

/* 7. DEEN CORNER SECTION */
.deen-section {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 2.5rem 1.5rem;
}

.deen-calligraphy {
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  color: var(--color-accent-gold-hover);
  line-height: 1.6;
  margin-bottom: 1rem;
  user-select: none;
}

.deen-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-text-primary);
  font-style: italic;
  max-width: 550px;
  margin: 0 auto 0.5rem;
  line-height: 1.5;
}

.deen-cite {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.deen-text-wrap {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* 8. FAQ SECTION */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.2rem;
  box-shadow: var(--shadow-premium);
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.faq-answer {
  font-size: 0.825rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* 9. FINAL REGISTER SECTION */
.final-cta-section {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 2.75rem 1.5rem;
  box-shadow: var(--shadow-premium);
}

.inline-details {
  max-width: 520px;
  margin: 1.5rem auto;
}

/* Floating WhatsApp Support Widget */
.whatsapp-floating-button {
  position: fixed;
  bottom: 85px; /* Stay clear of sticky footer on all devices */
  right: 20px;
  z-index: 99;
  background-color: #25D366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.whatsapp-floating-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* GLOBAL PERSISTENT STICKY FOOTER CTA (Visible on both Desktop and Mobile) */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 25px rgba(28, 23, 20, 0.06);
  transform: translateY(0); /* Visible from the start */
  opacity: 1; /* Visible from the start */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent-olive);
  border-radius: 50%;
  position: relative;
}

.status-indicator::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--color-accent-olive);
  animation: pulse 2s infinite;
}

.footer-status-text {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Animations */
@keyframes spin {
  100% {
    transform: translate(-50%, 20px) rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes pulseCTA {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(201, 162, 75, 0.4);
  }
  50% {
    transform: scale(1.018);
    box-shadow: 0 12px 30px rgba(201, 162, 75, 0.65);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(201, 162, 75, 0.4);
  }
}

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

/* Value Stack Bonuses Section */
.bonuses-section {
  width: 100%;
}

.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
  width: 100%;
}

.bonus-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.bonus-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-premium-hover);
  border-color: var(--color-accent-gold);
}

.bonus-doc-visual {
  background: #1C1714; /* Deep dark cocoa background to make sheet pop */
  width: 100%;
  height: 110px;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-sheet {
  background: #FFFFFF;
  width: 48px;
  height: 64px;
  border-radius: 4px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
  position: relative;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-sizing: border-box;
}

.doc-accent-bar {
  height: 4px;
  width: 100%;
  border-radius: 2px;
}
.bar-gold { background: var(--color-accent-gold); }
.bar-green { background: #2E7D32; }
.bar-purple { background: #6A1B9A; }
.bar-orange { background: #EF6C00; }
.bar-red { background: #C62828; }

.doc-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.doc-line {
  height: 2px;
  background: #E0E0E0;
  border-radius: 1px;
}
.line-long { width: 100%; }
.line-med { width: 75%; }
.line-short { width: 55%; }

.file-badge {
  position: absolute;
  bottom: 4px;
  right: -8px;
  font-size: 0.45rem;
  font-weight: 800;
  color: #FFFFFF;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.badge-pdf { background: #C62828; }
.badge-zip { background: #EF6C00; }
.badge-xls { background: #2E7D32; }

.bonus-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bonus-header-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.bonus-icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.08);
  border: 1px solid rgba(201, 162, 75, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bonus-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bonus-card-title {
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bonus-card-desc {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.bonus-included-label {
  align-self: flex-start;
  font-size: 0.525rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2E7D32;
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.25);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-top: 0.25rem;
}

/* 10. THANK YOU PAGE STYLING */
.thankyou-page-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 4rem 1.5rem 6rem;
  box-sizing: border-box;
}

.thankyou-card {
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  padding: 3rem 2rem;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.ticket-divider {
  width: calc(100% + 4rem);
  margin: 0.5rem -2rem;
  border-top: 2px dashed var(--color-border);
  position: relative;
}

.ticket-divider::before, .ticket-divider::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--color-bg-primary);
  border-radius: 50%;
  top: -11px;
  border: 1px solid var(--color-border);
  box-sizing: border-box;
}

.ticket-divider::before {
  left: -11px;
}

.ticket-divider::after {
  right: -11px;
}

.success-badge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.success-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2E7D32;
}

.success-check-icon {
  width: 32px;
  height: 32px;
}

.success-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #2E7D32;
  text-transform: uppercase;
  margin: 0;
}

.thankyou-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  line-height: 1.3;
  color: var(--color-text-primary);
  margin: 0;
}

.thankyou-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  max-width: 500px;
  margin: -0.5rem 0 0;
}

/* Sticky WhatsApp Footer */
.sticky-whatsapp-footer {
  background: rgba(250, 248, 245, 0.95) !important;
  backdrop-filter: blur(10px);
  border-top: 1.5px solid var(--color-border) !important;
  box-shadow: 0 -4px 20px rgba(28, 23, 20, 0.05);
}

.sticky-whatsapp-footer .footer-container {
  justify-content: center;
}

.btn-whatsapp-sticky {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366 !important;
  border: 1px solid #20BA5A !important;
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  transition: var(--transition-smooth);
}

/* Breathing animation */
.btn-whatsapp-cta, .breathe-btn {
  animation: breatheAnimation 2.2s infinite ease-in-out;
}

@keyframes breatheAnimation {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  }
}

.thankyou-video-container {
  margin: 0.25rem 0;
  width: 100%;
  max-width: 480px;
}

.video-subtext {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  font-style: italic;
  line-height: 1.4;
  margin: -0.75rem 0 0;
}

.thankyou-action-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.btn-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #25D366 !important;
  border-color: #20BA5A !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25) !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.95rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
}

.btn-whatsapp-cta:hover {
  background: #20BA5A !important;
  border-color: #1C9F4D !important;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45) !important;
  transform: translateY(-2px);
}

.btn-whatsapp-icon {
  flex-shrink: 0;
}

.pulse-subtext {
  animation: pulseSubtext 2s infinite ease-in-out;
  font-size: 0.65rem;
  font-weight: 600;
  color: #2E7D32;
}

@keyframes pulseSubtext {
  0% { opacity: 0.95; }
  50% { opacity: 0.6; }
  100% { opacity: 0.95; }
}

/* Schedule Details Invoice */
.thankyou-details-card {
  width: 100%;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1rem;
  gap: 0.5rem;
  margin-top: 0.5rem;
  box-sizing: border-box;
}

.schedule-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.schedule-detail-item .detail-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
}

.schedule-detail-item .detail-value {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

/* Mobile Overrides for Thank You Page */
@media (max-width: 480px) {
  .thankyou-card {
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }
  
  .thankyou-details-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.85rem;
  }
  
  .schedule-detail-item {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    border-bottom: 1px solid rgba(28, 23, 20, 0.06);
    padding-bottom: 0.4rem;
  }
  
  .schedule-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* Responsive Media Queries */
/* Responsive Media Queries */
@media (max-width: 768px) {
  .page-container {
    padding: 3rem 1rem 6rem; /* Push elements up on mobile */
    gap: 2.2rem;
  }
  
  .hero-section {
    margin-top: -0.25rem; /* Push Hero section up */
  }

  .hero-eyebrow-pill {
    font-size: 0.55rem;
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.75rem;
    display: inline-flex;
    flex-direction: column; /* Stack segments in two centered lines */
    gap: 0.2rem;
    border-radius: 12px; /* Less rounded pill since it stacks */
  }

  .eyebrow-separator {
    display: none; /* Hide separation dot on stacked layout */
  }

  .hero-title {
    margin-bottom: 0.5rem;
  }

  .hero-rotator-line {
    margin-bottom: 1rem;
    padding: 0.45rem 1rem;
    white-space: nowrap; /* Force single line on mobile */
  }

  .vsl-video-container {
    margin: 0.5rem auto 1.5rem; /* Compress margins to bring video above the fold */
    max-width: 100%;
  }

  .hero-description {
    margin-bottom: 1.5rem;
  }

  .video-scroll-container {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  

  
  .hero-title {
    margin-bottom: 0.85rem;
  }
  
  .hero-description {
    margin-bottom: 1.5rem;
  }
  
  .trainers-clubbed-container {
    height: 180px;
    max-width: 320px;
    margin-top: 1rem;
  }
  
  .trainer-frame {
    width: 120px;
    height: 150px;
  }
  
  .frame-aqib {
    left: 10%;
  }
  
  .frame-omar {
    right: 10%;
  }
  
  .mentorship-seal {
    width: 70px;
    height: 70px;
    transform: translate(-50%, 15px);
  }
  
  .seal-text {
    font-size: 6px;
  }
  
  @keyframes spin {
    100% {
      transform: translate(-50%, 15px) rotate(360deg);
    }
  }

  .footer-container {
    flex-direction: column;
    align-items: stretch; /* Stretch button full-width */
    padding: 0.6rem 1rem 0.8rem;
    gap: 0.45rem;
  }
  
  .footer-info {
    justify-content: center; /* Center status text */
  }
  
  .footer-status-text {
    font-size: 0.675rem;
  }

  .btn-primary-sticky {
    width: 100%; /* Full screen length */
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.8rem 1.5rem;
  }
}

/* Tablet adjustments */
@media (max-width: 480px) {
  .footer-container {
    flex-direction: column;
    align-items: stretch;
  }
}
