/* ============================================
   FINTREE CFA® LANDING PAGE - COLOR PALETTE 2025
   Navy Blue (#012459) & Gold (#aa8c68) Theme
   ============================================ */

/* ============================================
   CSS VARIABLES (DESIGN TOKENS)
   ============================================ */
:root {
  /* Primary Color Palette - Dark Navy & White */
  --fintree-navy: #001e49;
  --fintree-navy-light: #003366;
  --fintree-navy-dark: #001533;

  /* Accent colors now map to white for consistency */
  --fintree-gold: #ffffff;
  --fintree-gold-light: #ffffff;
  --fintree-gold-dark: #ffffff;

  /* Legacy Green mappings for compatibility (mapped to White) */
  --fintree-green: #ffffff;
  --fintree-green-light: #ffffff;
  --fintree-green-dark: #ffffff;

  /* Background Colors - Dark Navy */
  --bg-primary: #001e49;
  --bg-secondary: #001e49;
  --bg-light: #001e49;
  --bg-alt: #001e49;

  /* Gray Scale Palette - All Dark Navy */
  --gray-ghost: #001e49;
  --gray-smoke: #001e49;
  --gray-snow: #001e49;
  --gray-feather: #001e49;
  --gray-whisper: #001e49;
  --gray-porcelain: #001e49;
  --gray-moon: #001e49;

  /* Text Colors - Black and White */
  --text-primary: #111111;
  --text-secondary: #111111;
  --text-tertiary: #f2f3f4;
  --text-dark: #000000;
  --text-muted: #333333;
  --text-light: #fafafa;
  --text-on-dark: #ffffff;

  /* Accent Colors - White */
  --color-purple: #ffffff;
  --color-orange: #ffffff;
  --color-yellow: #ffffff;
  --color-pink: #ffffff;

  /* WhatsApp Colors - Keep original for WhatsApp section */
  --wa-green: #25d366;
  --wa-green-dark: #128c7e;
  --wa-bg: #ece5dd;
  --wa-bubble-sent: #dcf8c6;
  --wa-bubble-received: #ffffff;

  /* Glassmorphic Effects - Updated for mixed backgrounds */
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-bg-hover: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(0, 30, 73, 0.15);
  --glass-border-hover: rgba(0, 30, 73, 0.25);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.12);
  --glass-glow: 0 0 20px rgba(255, 255, 255, 0.2);

  /* Typography */
  --font-heading: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;

  /* Transitions */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-2xl: 2.5rem;

  /* Container */
  --container-max-width: 1200px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-tertiary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-base);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: #001e49;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: float 25s ease-in-out infinite;
  mix-blend-mode: multiply;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 70%);
  top: -15%;
  left: -15%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 70%);
  bottom: -15%;
  right: -15%;
  animation-delay: 8s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 16s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  25% {
    transform: translate(40px, -60px) scale(1.15) rotate(90deg);
  }

  50% {
    transform: translate(-30px, 30px) scale(0.95) rotate(180deg);
  }

  75% {
    transform: translate(50px, 40px) scale(1.05) rotate(270deg);
  }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.375rem;
}

h4,
h5,
h6 {
  color: var(--text-tertiary);
}

/* ============================================
   THREE REASONS SECTION
   ============================================ */
.three-reasons-section {
  position: relative;
  height: auto;
  min-height: 100vh;
  padding: 0;
  overflow: visible;
}

.reasons-content {
  position: relative;
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: var(--space-4);
}

.reasons-subtitle {
  text-align: center;
  margin-bottom: var(--space-6);
  opacity: 1;
  /* Title is always visible initially */
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reasons-problems-container {
  width: 100%;
  max-width: 800px;
  z-index: 2;
}

/* Ensure container takes full height for sticky positioning to work */
.three-reasons-section .container {
  height: 100%;
}

/* Base styles for the reason pills */
.reason-pill {
  background: rgba(0, 30, 73, 0.85);
  /* Darker background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  /* Larger text */
  font-weight: 700;
  padding: 24px 40px;
  /* Larger padding */
  border-radius: 60px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: var(--space-4);

  /* Animation Initial State - Hidden */
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Specific Pill Styles */

/* Reason 1: Slide from Left */
#reason1 {
  transform: translateX(-150px);
  background: linear-gradient(135deg,
      rgba(0, 30, 73, 0.9),
      rgba(0, 50, 120, 0.9));
}

/* Reason 2: Slide from Right */
#reason2 {
  transform: translateX(150px);
  align-self: flex-end;
  /* Doesn't really work in a column flex unless we adjust margin/width, but let's use transforms mainly or specific alignment if needed */
  margin-left: auto;
  /* Push to right visually */
  background: linear-gradient(135deg,
      rgba(0, 30, 73, 0.9),
      rgba(0, 50, 120, 0.9));
}

/* Reason 3: Slide from Left */
#reason3 {
  transform: translateX(-150px);
  background: linear-gradient(135deg,
      rgba(0, 30, 73, 0.9),
      rgba(0, 50, 120, 0.9));
}

/* Active State for Animations - Using ID to override specific transforms */
#reason1.visible,
#reason2.visible,
#reason3.visible {
  opacity: 1;
  transform: translateX(0);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
}

.reason-icon-wrapper {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-icon {
  width: 28px;
  height: 28px;
  stroke: #fff;
  stroke-width: 2.5px;
}

/* Mobile Optimization for Three Reasons Section */
@media (max-width: 968px) {
  .three-reasons-section {
    height: auto;
    min-height: 100vh;
    padding: var(--space-6) 0;
  }

  .reasons-content {
    position: relative;
    height: auto;
    min-height: auto;
    padding: var(--space-3) var(--space-2);
  }

  .reasons-subtitle {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    margin-bottom: var(--space-4);
    line-height: 1.3;
  }

  .reason-pill {
    font-size: clamp(1rem, 3vw, 1.25rem);
    padding: var(--space-3) var(--space-4);
    margin-bottom: var(--space-3);
  }

  .reason-icon-wrapper {
    padding: 8px;
  }

  .reason-icon {
    width: 20px;
    height: 20px;
  }

  /* Remove transforms on mobile for simpler layout */
  #reason1,
  #reason2,
  #reason3 {
    transform: translateX(0);
    opacity: 1;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .reasons-content {
    padding: var(--space-2) var(--space-1);
  }
}

p {
  margin-bottom: var(--space-2);
  color: var(--text-tertiary);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

section {
  padding: var(--space-10) 0;
  position: relative;
}

/* ============================================
   GLASSMORPHIC CARD
   ============================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      var(--fintree-green),
      transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--glass-shadow), var(--glass-glow);
}

.glass-card:hover::before {
  opacity: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  color: #002147;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  position: relative;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-large {
  padding: 16px 32px;
  font-size: var(--font-size-lg);
}

.btn-block {
  width: 100%;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header-glass-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  /* Subtle separator */
  transition: all var(--transition-base);
  z-index: -1;
}

.header.scrolled .header-glass-bg {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 30, 73, 0.15);
}

.header.scrolled .nav-link {
  color: #001e49;
}

.header.scrolled .mobile-menu-toggle span {
  background-color: #001e49;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  position: relative;
  z-index: 2;
}

.header:hover .header-glass-bg {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 30, 73, 0.1);
}

.header:hover .nav-link {
  color: #001e49;
}

.header:hover .mobile-menu-toggle span {
  background-color: #001e49;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.nav-list {
  display: flex;
  gap: var(--space-1);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: #ffffff;
  transition: all var(--transition-base);
  position: relative;
  border-radius: var(--radius-sm);
}

.nav-dot {
  width: 4px;
  height: 4px;
  background: var(--fintree-green);
  border-radius: 50%;
  opacity: 0;
  transition: all var(--transition-base);
  transform: scale(0);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.95);
}

.nav-link:hover .nav-dot {
  opacity: 1;
  transform: scale(1);
  background: var(--text-primary);
}

.header-cta {
  padding: 10px 20px;
  font-size: var(--font-size-sm);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-10);
  position: relative;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.3) 100%,
      rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
  animation: pulse 2s ease-in-out infinite;
}

.review-text {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--fintree-green);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  color: var(--text-on-dark);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.hero-tagline {
  margin-bottom: var(--space-5);
}

.hero-tagline p {
  font-size: var(--font-size-lg);
  color: var(--fintree-green);
  font-style: italic;
  font-weight: 500;
}

/* Hero Problem Cards */
/* Hero Problem List - System Warning Style */
.hero-problems-container {
  margin-top: var(--space-5);
  display: flex;
  justify-content: center;
}

.hero-problems-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  /* Center the pills */
}

.warning-pill {
  background: rgba(0, 30, 73, 0.6);
  /* Dark Navy semi-transparent background */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid #ffffff;
  /* White Border */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3),
    inset 0 0 10px rgba(255, 255, 255, 0.1);
  /* White Glow */
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  letter-spacing: 0.5px;
}

.warning-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  /* White Icon */
}

.warning-hollow-icon {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6));
}

.warning-pill.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Classes */
[data-animate="fade-up"] {
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate="fade-up"][data-delay="0"] {
  transition-delay: 0.2s;
}

[data-animate="fade-up"][data-delay="150"] {
  transition-delay: 0.5s;
}

[data-animate="fade-up"][data-delay="300"] {
  transition-delay: 0.8s;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.cta-subtext {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  font-style: italic;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  padding: var(--space-2);
  transition: all var(--transition-base);
  z-index: 10;
}

.scroll-indicator:hover {
  transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator:hover .scroll-arrow {
  border-color: var(--fintree-gold-light);
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-left: 2px solid var(--fintree-green);
  border-bottom: 2px solid var(--fintree-green);
  transform: rotate(-45deg);
  animation: bounce 2s ease-in-out infinite;
  transition: border-color var(--transition-base);
}

@keyframes bounce {

  0%,
  100% {
    transform: rotate(-45deg) translateY(0);
  }

  50% {
    transform: rotate(-45deg) translateY(10px);
  }
}

/* ============================================
   THREE REASONS SECTION
   ============================================ */
.three-reasons-section {
  background: #001e49;
  padding: var(--space-12) 0;
  position: relative;
  z-index: 2;
}

.reasons-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.reasons-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: var(--space-8);
}

.reasons-problems-container {
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
}

.reasons-problems-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  width: 100%;
  max-width: 600px;
}

.reason-pill {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  padding: 20px 36px;
  border-radius: 50px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  letter-spacing: 0.3px;
}

.reason-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.reason-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.reason-icon {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.reason-pill.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Animation delays for staggered effect */
.reason-pill[data-delay="0"].animated {
  transition-delay: 0.2s;
}

.reason-pill[data-delay="150"].animated {
  transition-delay: 0.4s;
}

.reason-pill[data-delay="300"].animated {
  transition-delay: 0.6s;
}

/* ============================================
   SECTION GRADIENT BLEND
   ============================================ */
.section-gradient-blend {
  height: 150px;
  background: linear-gradient(180deg,
      rgba(0, 30, 73, 0.3) 0%,
      rgba(0, 30, 73, 0.2) 25%,
      rgba(0, 30, 73, 0.1) 50%,
      rgba(0, 30, 73, 0.05) 75%,
      transparent 100%);
  position: relative;
  z-index: 1;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto var(--space-8);
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fintree-green);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--fintree-green);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.section-description {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-section {
  background: linear-gradient(180deg,
      rgba(0, 30, 73, 0.5) 0%,
      rgba(0, 30, 73, 0.3) 100%);
  padding: var(--space-12) 0;
}

.section-title-large {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  text-align: center;
  color: var(--text-primary);
}

.section-subtitle-large {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--fintree-green);
  margin-bottom: var(--space-8);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Layout Wrapper */
.problem-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4);
}

/* Left Column Text */
.problem-text-content .section-header {
  text-align: left;
  margin: 0;
  max-width: 100%;
}

.problem-text-content .section-title-large {
  text-align: left;
  margin-bottom: var(--space-6);
}

.problem-text-content .section-subtitle-large {
  text-align: left;
  margin: 0;
  max-width: 100%;
  color: #dc2626;
}

/* Reddish Section Background */
.problem-section {
  background: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%);
  padding: var(--space-10) 0;
}

/* Right Column List - Spacious */
.problem-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: 100%;
  margin: 0;
}

/* Bigger Card Row */
.problem-grid .problem-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: var(--space-6) 0;
  max-width: 100%;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  position: relative;
}

.problem-grid .problem-card:last-child {
  border-bottom: none;
}

.problem-grid .problem-card:hover {
  transform: translateX(10px);
}

.problem-card.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Problem Header - Number Only */
.problem-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  margin: 0;
  margin-right: var(--space-6);
  min-width: auto;
  border: none;
  padding: 0;
}

.problem-label {
  display: none;
}

.problem-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #dc2626;
  background: none;
  -webkit-text-fill-color: #dc2626;
  line-height: 1;
}

/* Icon - Hidden */
.problem-icon {
  display: none !important;
}

/* Bigger Title */
.problem-title {
  font-size: 2rem;
  margin-bottom: 0;
  color: var(--text-primary);
  font-weight: 700;
  flex: 1;
}

.problem-description {
  display: none;
}

@media (max-width: 900px) {
  .problem-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    /* Center header text */
    gap: var(--space-6);
    padding: 0 var(--space-2);
  }

  .problem-text-content .section-header,
  .problem-text-content .section-title-large,
  .problem-text-content .section-subtitle-large {
    text-align: center;
  }

  /* Keep List Compact & Horizontal on Mobile */
  .problem-grid .problem-card {
    flex-direction: row;
    /* Force row */
    align-items: center;
    text-align: left;
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .problem-grid .problem-card:last-child {
    border-bottom: none;
  }

  .problem-header {
    margin-right: var(--space-4);
    margin-bottom: 0;
    border: none;
    padding: 0;
    align-items: center;
    min-width: auto;
  }

  .problem-number {
    font-size: 1.5rem;
  }

  .problem-title {
    text-align: left;
    font-size: 1.25rem;
  }

  .problem-icon {
    display: none !important;
  }

  .problem-grid .problem-card:hover {
    transform: translateX(5px);
  }
}

/* ============================================
   LPR SECTION
   ============================================ */
.lpr-section {
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(0, 30, 73, 0.3) 100%);
  color: #ffffff;
}

/* Reduce LPR section heading size */
.lpr-section .section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff !important;
}

/* LPR closing text styling */
.lpr-closing-text {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
  line-height: 1.3;
  margin-top: var(--space-6);
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.lpr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: var(--space-4) 0;
  max-width: 1800px;
  margin: 0 auto;
}

.lpr-card {
  background-color: transparent;
  perspective: 1000px;
  height: 450px;
  cursor: default;

  /* Animation initial state for scroll reveal */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Staggered entrance animations */
.lpr-card:nth-child(1) {
  transition-delay: 0ms;
}

.lpr-card:nth-child(2) {
  transition-delay: 150ms;
}

.lpr-card:nth-child(3) {
  transition-delay: 300ms;
}

.lpr-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Inner Container - doing the flip */
.lpr-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
}

.lpr-card:hover .lpr-card-inner {
  transform: rotateY(180deg);
}

/* Letter Badge */
/* Letter Badge (Removed) */
/*
.card-badge {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%) translateZ(20px);
    width: 60px;
    height: 60px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 10px rgba(170, 140, 104, 0.4);
    z-index: 10;
    border: 3px solid white;
}
*/

/* Front and Back common styles */
.lpr-card-front,
.lpr-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* Front Face - Video */
.lpr-card-front {
  background-color: #f1f1f1;
  color: black;
  transform: rotateY(0deg);
}

.card-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-fit: cover;
  /* filter: grayscale(100%) brightness(1.2) contrast(0.95); Removed grayscale as per request */
  transition: transform 0.5s ease;
  transition: filter 0.5s ease;
}

.lpr-card:hover .card-video {
  filter: grayscale(0%) brightness(1);
}

.card-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.card-letter-front {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  /* Reduced further to ensure "PRACTICE" fits */
  font-weight: 800;
  color: #ffffff;
  z-index: 3;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  white-space: nowrap;
  /* Prevent wrapping */
}

.static-letter {
  display: inline-block;
}

.typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  vertical-align: bottom;
  max-width: 0;
  opacity: 0;
  animation: typeReveal 5s steps(40) infinite;
}

@keyframes typeReveal {

  0%,
  20% {
    max-width: 0;
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  45%,
  80% {
    max-width: 12ch;
    opacity: 1;
  }

  /* Use ch units and max-width */
  90%,
  100% {
    max-width: 0;
    opacity: 0;
  }
}

/* Flip Hint */
.flip-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #001e49;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  z-index: 5;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 0.9;
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: none;
  /* Let clicks pass through to card hover if needed, or allow it to be part of the card visual */
}

.lpr-card:hover .flip-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

.flip-hint svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5px;
  animation: rotateHint 3s ease-in-out infinite;
}

@keyframes rotateHint {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }
}

/* Back Face - Content */
.lpr-card-back {
  background: #ffffff;
  color: #111111;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-6);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 30, 73, 0.1);
}

.card-content {
  text-align: left;
  width: 100%;
}

.card-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: #001e49;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-features li {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111111;
  font-weight: 500;
}

.card-features li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #001e49;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 30, 73, 0.3);
  flex-shrink: 0;
}

/* ============================================
   INSTRUCTOR SECTION
   ============================================ */
.instructor-section {
  background: linear-gradient(180deg,
      rgba(0, 30, 73, 0.5) 0%,
      rgba(0, 30, 73, 0.8) 100%);
  padding: var(--space-6) 0;
  color: #ffffff;
}

.instructor-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.image-frame {
  padding: var(--space-2);
  overflow: hidden;
}

.instructor-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.instructor-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.highlight-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
  transition: all var(--transition-base);
}

.highlight-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fintree-green);
  font-size: 24px;
  flex-shrink: 0;
}

.highlight-text p {
  margin: 0;
  color: var(--text-tertiary);
  line-height: 1.7;
}

.instructor-name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-1);
  line-height: 1.1;
}

.instructor-title {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--fintree-green);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.instructor-bio {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  font-style: italic;
  border-left: 3px solid var(--fintree-green);
  padding-left: var(--space-3);
}

.instructor-sub-section {
  margin-top: var(--space-2);
}

.sub-section-title {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.credentials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.credential-badge {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--text-tertiary);
  font-size: var(--font-size-lg);
  font-weight: 600;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 8px;
}

.credential-badge::before {
  content: "•";
  color: var(--fintree-green);
  font-size: 1.5em;
  line-height: 1;
}

.credential-badge:hover {
  background: transparent;
  color: var(--text-tertiary);
  transform: translateX(5px);
  box-shadow: none;
}

/* ============================================
   SUPPORT SECTION
   ============================================ */
.support-section {
  position: relative;
  height: auto;
  min-height: 100vh;
  overflow: visible;
  background: #001e49;
}

.support-sticky-wrapper {
  position: relative;
  height: auto;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Ensure container allows full height for centering */
.support-sticky-wrapper .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mobile: Allow overflow to show full mockup */
@media (max-width: 968px) {
  .support-section {
    height: auto;
    min-height: 100vh;
  }

  .support-sticky-wrapper {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    position: relative;
  }

  .support-sticky-wrapper .container {
    height: auto;
    min-height: 100vh;
  }
}

/* Animation Classes */
.support-animate-text {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.support-animate-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Chat Scroll Animation Styles */
.chat-screenshot-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 0 0 25px 25px;
  /* Match phone frame bottom radius approximately */
  display: flex;
  /* Allow images to sit side by side */
}

.chat-carousel-track {
  display: flex;
  width: 400%;
  /* 4 images */
  animation: slideHorizontal 3s ease-in-out infinite;
  /* Total cycle 3s: Hold ~2.4s, Slide ~0.6s */
}

.chat-image {
  width: 25%;
  /* 1/4 of the track */
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes slideHorizontal {

  0%,
  80% {
    transform: translateX(0);
    /* Hold image 1 */
  }

  100% {
    transform: translateX(-25%);
    /* Slide to image 2 */
  }
}

.support-section .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.support-section .support-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-section .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 30, 73, 0.95);
  /* #001e49 with opacity for overlay */
  z-index: 1;
}

.support-section .container {
  position: relative;
  z-index: 2;
}

.support-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.support-text {
  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-cta .cta-subtext {
  color: rgba(255, 255, 255, 0.7);
}

.support-section .section-title {
  color: var(--text-on-dark);
}

.support-description {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-5);
}

.support-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.support-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  transition: all var(--transition-base);
}

.support-feature:hover {
  transform: translateX(10px);
}

.feature-icon {
  width: auto;
  height: auto;
  background: transparent;
  color: var(--fintree-green);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
}

.feature-text h4 {
  font-size: var(--font-size-lg);
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: var(--font-size-base);
  color: var(--text-tertiary);
  margin: 0;
}

.support-tagline {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-3);
}

.support-closing {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: var(--space-6);
  color: var(--fintree-green);
  font-weight: 800;
}

.support-closing-above {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-on-dark);
  font-weight: 800;
  line-height: 1.3;
}

.support-visual {
  animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   WHATSAPP MOCKUP
   ============================================ */
.whatsapp-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone-frame {
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 35px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 12px #1a1a1a,
    0 0 0 14px #333;
  position: relative;
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(5deg);
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 25px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.whatsapp-header {
  background: var(--wa-green-dark);
  padding: 35px 15px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wa-back-btn {
  cursor: pointer;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.wa-back-btn:hover {
  transform: translateX(-3px);
}

.wa-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg,
      var(--fintree-green),
      var(--fintree-green-light));
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.wa-info {
  flex: 1;
}

.wa-name {
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.wa-status {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.wa-actions {
  display: flex;
  gap: 20px;
  color: white;
  font-size: 18px;
}

.wa-icon {
  cursor: pointer;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.wa-icon:hover {
  transform: scale(1.15);
}

.whatsapp-chat {
  background: #e5ddd5;
  padding: 10px 10px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  height: 420px;
}

.chat-date {
  text-align: center;
  font-size: 12px;
  color: #8696a0;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 14px;
  border-radius: 10px;
  margin: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  font-weight: 500;
}

.wa-message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  margin-bottom: 4px;
}

.wa-message.received {
  align-self: flex-start;
}

.wa-message.sent {
  align-self: flex-end;
}

.wa-bubble {
  padding: 10px 14px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  position: relative;
  word-wrap: break-word;
}

.wa-message.received .wa-bubble {
  background: #ffffff;
  color: #111;
  border-radius: 10px 10px 10px 2px;
}

.wa-message.sent .wa-bubble {
  background: #d9fdd3;
  color: #111;
  border-radius: 10px 10px 2px 10px;
}

.wa-time {
  font-size: 11px;
  color: #8696a0;
  position: absolute;
  bottom: 4px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.wa-message.sent .wa-time {
  color: #667d68;
}

.whatsapp-input {
  background: #f0f2f5;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: none;
  flex-shrink: 0;
}

.input-icon {
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.input-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

.input-icon.voice {
  background: var(--wa-green);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: all var(--transition-base);
}

.input-icon.voice:hover {
  background: var(--wa-green-dark);
  transform: scale(1.05);
}

.input-field {
  flex: 1;
  background: white;
  padding: 11px 16px;
  border-radius: 22px;
  font-size: 14.5px;
  color: #8696a0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ============================================
   SOCIAL PROOF SECTION
   ============================================ */
/* See 'PLACEMENT TREE VISUALIZATION' section for updated styles */

.social-proof-section .section-subtitle {
  /* Inherits from standard .section-subtitle now */
  line-height: 1.4;
}

.placement-logos-container {
  padding: var(--space-6);
  text-align: center;
  margin: var(--space-8) 0;
}

.logos-title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-5);
  color: var(--text-primary);
}

/* ============================================
   LOGO CAROUSEL
   ============================================ */
.logo-carousel-wrapper {
  position: relative;
  padding: var(--space-4) 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #001e49;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.carousel-btn:hover {
  background: var(--fintree-green-dark);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: -24px;
}

.carousel-btn-next {
  right: -24px;
}

.logo-carousel {
  overflow: hidden;
  padding: 0 60px;
}

.logo-carousel-track {
  display: flex;
  gap: var(--space-4);
  animation: scroll 30s linear infinite;
  will-change: transform;
}

.logo-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.company-logo-item {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  height: 120px;
  border: 1px solid rgba(19, 13, 138, 0.1);
}

.company-logo-item:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(19, 13, 138, 0.15);
}

.company-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(50%) brightness(0.8);
  opacity: 0.8;
  transition: all var(--transition-base);
}

.company-logo-item:hover .company-logo {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.logos-description {
  color: var(--text-tertiary);
  font-size: var(--font-size-lg);
  max-width: 700px;
  margin: var(--space-4) auto 0;
  line-height: 1.7;
}

.success-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.stat-item {
  padding: var(--space-1);
  text-align: center;
}

.stat-value {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg,
      var(--fintree-navy),
      var(--fintree-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-1);
}

.stat-label {
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
}

/* ============================================
   COMPANY PLACEMENT CAROUSEL SECTION
   ============================================ */
.company-carousel-section {
  background: #001e49;
  padding: var(--space-10) 0;
  overflow: hidden;
}

.company-carousel-section .section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.company-carousel-section .section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #ffffff;
  margin-bottom: var(--space-2);
}

.company-carousel-section .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
}

.company-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: var(--space-4) 0;
  mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
  -webkit-mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
}

.company-carousel-track {
  display: flex;
  gap: var(--space-3);
  animation: scrollCompanies 30s linear infinite;
  will-change: transform;
  width: fit-content;
}

.company-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scrollCompanies {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.company-logo-item {
  flex: 0 0 220px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 30, 73, 0.1);
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.company-logo-item:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 30, 73, 0.2);
}

.company-logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%) brightness(0.9);
  opacity: 0.85;
  transition: all var(--transition-base);
}

.company-logo-item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .company-logo-item {
    flex: 0 0 180px;
    height: 120px;
    padding: var(--space-3);
  }

  .company-carousel-track {
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .company-logo-item {
    flex: 0 0 150px;
    height: 100px;
    padding: var(--space-2);
  }

  .company-carousel-track {
    gap: var(--space-3);
  }
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
  background-color: #001e49;
  padding: var(--space-12) 0;
  overflow: hidden;
}

.reviews-section .section-title {
  color: #ffffff;
  text-align: center;
  margin-bottom: var(--space-6);
}

/* Rating Display */
.rating-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.stars-container {
  display: flex;
  gap: 1.5rem;
  /* Increased gap significantly */
  margin-bottom: var(--space-2);
}

.star {
  position: relative;
  display: inline-flex;
  /* Changed to inline-flex for better centering */
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  /* Slightly smaller but still big */
  color: #ffd700;
  /* Golden color */
  line-height: 1;
  width: auto;
  height: auto;
}

/* Common fill layer for all stars */
.star::before {
  display: none;
}

.star-empty {
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  /* Hide empty star background if we are just using solid stars, or fix positioning */
}

.star-filled {
  color: #ffd700;
  opacity: 1;
}

.rating-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.9);
}

.rating-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 10px;
}

.rating-count {
  font-size: 1rem;
  opacity: 0.8;
  color: #ffffff;
  /* Explicitly white */
}

/* Reviews Carousel Wrapper */
.reviews-carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: var(--space-4) 0;
  /* Masking for fade effect on edge */
  -webkit-mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
  mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
}

/* Hide Navigation buttons */
.reviews-carousel-wrapper .carousel-btn {
  display: none;
}

/* Hide Dots */
.reviews-carousel-wrapper .carousel-dots {
  display: none;
}

.reviews-viewport {
  overflow: visible;
  width: 100%;
}

.reviews-track {
  display: flex !important;
  flex-direction: row !important;
  gap: var(--space-6);
  width: max-content;
  /* Animation */
  animation: scrollReviews 60s linear infinite;
  /* Slower animation for better readability */
}

.reviews-track:hover {
  animation-play-state: paused;
}

@keyframes scrollReviews {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.reviews-track .review-card {
  opacity: 1 !important;
  transform: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.review-card {
  flex: 0 0 500px;
  /* Wider for horizontal format */
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  /* Reduced padding further */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 1;
  transform: none;
  white-space: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  /* Reduced gap */
  margin-bottom: var(--space-2);
  /* Reduced margin */
}

.reviewer-avatar {
  width: 40px;
  /* Slightly smaller avatar */
  height: 40px;
  border-radius: 50%;
  background-color: var(--fintree-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: none;
}

.reviewer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.google-icon-small {
  width: 24px;
  height: 24px;
  opacity: 1;
}

.review-rating-row {
  display: flex;
  margin-bottom: var(--space-2);
}

.review-stars-google {
  color: #fbbc05;
  letter-spacing: 1px;
  font-size: 1.2rem;
}

.review-text {
  font-size: 0.9rem;
  /* Reduced font size */
  line-height: 1.5;
  color: var(--text-dark);
  font-style: italic;
  margin-top: auto;
  /* Push to bottom if needed or just let it flow */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  /* Limit lines to prevent too tall cards */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Google Badge below carousel */
.google-badge {
  background: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  /* Changed to flex */
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: var(--space-8) auto 0;
  /* Center horizontally with auto margins */
  font-weight: 600;
  color: var(--text-secondary);
  width: fit-content;
  max-width: 90%;
  /* Ensure it doesn't overflow on small screens */
}

.google-badge svg {
  color: initial;
  /* allow svg colors */
}

/* ============================================
   ENROLL SECTION
   ============================================ */
.enroll-section {
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.85) 100%),
    url("../assets/images/form-bg.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-6) 0;
}

.enroll-section .section-title,
.enroll-section .section-subtitle {
  color: #ffffff;
}

.enroll-section .section-subtitle {
  opacity: 0.9;
}

.enroll-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-6);
}

/* Disable hover effects for the form container */
.enroll-content.glass-card:hover {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  transform: none;
  box-shadow: var(--glass-shadow);
}

.enroll-content.glass-card:hover::before {
  opacity: 0;
}

.enroll-header {
  text-align: center;
  margin-bottom: var(--space-4);
}

.enroll-header .section-subtitle {
  /* Inherit standard size */
  margin-bottom: var(--space-4);
}

.cta-action {
  font-size: var(--font-size-4xl);
  margin: 0 0 var(--space-4) 0;
  color: var(--text-primary);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentcolor;
  font-weight: 700;
  text-align: center;
}

.whatsapp-verified {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-lg);
  color: var(--wa-green);
  font-weight: 600;
  margin: var(--space-4) auto;
  width: fit-content;
}

.enroll-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-group label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 30, 73, 0.2);
  border-radius: var(--radius-sm);
  color: #111111;
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 1);
  border-color: #001e49;
  box-shadow: 0 0 0 3px rgba(0, 30, 73, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999999;
}

.form-disclaimer {
  font-size: var(--font-size-xs);
  color: var(--text-primary);
  text-align: center;
  margin-top: var(--space-2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(0, 30, 73, 0.8);
  padding: var(--space-8) 0 var(--space-4);
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

.footer-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-1);
}

.footer-brand p {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}

.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--fintree-green);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.footer-column h4 {
  font-size: var(--font-size-base);
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-column a {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  transition: color var(--transition-base);
}

.footer-column a:hover {
  color: var(--fintree-green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--space-4);
}

.footer-legal a {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.footer-legal a:hover {
  color: var(--fintree-green);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .header-content {
    padding: 8px var(--space-2);
  }

  .logo-image {
    height: 32px;
  }

  .nav {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 30, 73, 0.98) !important;
    backdrop-filter: blur(20px);
    display: flex !important;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    margin: 0 !important;
    border-radius: 0 !important;
    left: 0 !important;
    top: 0 !important;
  }

  .nav.active {
    transform: translateX(0) !important;
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
    width: 100%;
  }

  .nav-link {
    font-size: 1.5rem !important;
    color: #ffffff !important;
    display: block;
    padding: 15px;
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1000;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .header-cta {
    display: none;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .lpr-grid {
    grid-template-columns: 1fr;
  }

  .support-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .support-text {
    order: 1;
  }

  .support-visual {
    order: 2;
  }

  .instructor-content {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .instructor-content .instructor-image {
    order: -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.875rem;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .enroll-content {
    padding: var(--space-4);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }

  .phone-frame {
    transform: scale(0.85);
  }

  .logo-carousel {
    padding: 0 50px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .company-logo-item {
    flex: 0 0 180px;
    height: 100px;
  }

  .lpr-hero-text {
    font-size: clamp(2rem, 10vw, 4rem);
    gap: var(--space-2);
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .success-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --space-10: 3rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .phone-frame {
    transform: scale(0.75);
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.813rem;
  }

  .btn-large {
    padding: 12px 20px;
    font-size: 0.938rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 0.938rem;
  }

  .form-group label {
    font-size: 0.813rem;
  }

  .enroll-content {
    padding: var(--space-3);
  }

  .logo-carousel {
    padding: 0 40px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
  }

  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .company-logo-item {
    flex: 0 0 160px;
    height: 90px;
  }
}

/* ============================================
   UTILITY ANIMATIONS
   ============================================ */
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

  .header,
  .footer,
  .scroll-indicator,
  .mobile-menu-toggle,
  .animated-background {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}

/* ============================================
   PLACEMENT TREE VISUALIZATION
   ============================================ */
/* Outcomes Section Layout */
.social-proof-section {
  background-color: #001e49 !important;
  color: #ffffff;
  position: relative;
  padding: 0;
  height: auto;
  min-height: 100vh;
}

.sticky-viewport {
  position: relative;
  height: auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.outcomes-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.reveal-text {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: blur(5px);
}

.reveal-text.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.outcomes-text-content {
  text-align: left;
  padding-left: 2rem;
  z-index: 10;
}

.outcomes-text-content .section-title,
.outcomes-text-content .outcomes-title,
.outcomes-text-content .outcomes-subtitle,
.outcomes-text-content .outcomes-footer-text,
.outcomes-text-content .outcomes-pre-title {
  color: #ffffff;
}

.outcomes-text-content .outcomes-title {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.outcomes-text-content .outcomes-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 400;
}

.outcomes-tree-content {
  position: relative;
  width: 100%;
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.placement-tree-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .outcomes-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .outcomes-text-content {
    text-align: center;
    padding-left: 0;
  }
}

.tree-container {
  position: relative;
  width: 100%;
  height: 500px;
  max-width: 1000px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Tree Image Styles */
.tree-image {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.3));
  display: block;

  /* Initial state - hidden */
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Visible state - triggered by scroll */
.tree-image.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}



.tree-trunk {
  fill: none;
  stroke: url(#trunkGradient);
  stroke-width: 30;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 50% 100%;
}

.tree-branch {
  fill: none;
  stroke: url(#trunkGradient);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Growth Animation Class */
.tree-container.grow .tree-trunk,
.tree-container.grow .tree-branch {
  animation: growTree 2.5s ease-out forwards;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}

@keyframes growTree {
  0% {
    stroke-dashoffset: 2000;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Also support scale Y animation for "growing up" feel */
.tree-structure {
  transform-origin: bottom center;
  transform: scaleY(0);
  transition: transform 2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tree-container.visible .tree-structure {
  transform: scaleY(1);
}

.tree-root-logo {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: #001e49;
  border: 4px solid #ffffff;
  border-radius: 100%;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.tree-root-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tree-leaf {
  position: absolute;
  width: 50px;
  height: 50px;
  z-index: 50;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tree-leaf.bloomed {
  opacity: 1;
  transform: scale(1);
}

.leaf-content {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  background: #f0f0f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.leaf-content:hover {
  transform: scale(1.3);
  border-color: #f3b21e;
  /* Gold highlight */
  z-index: 60;
}

.leaf-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .placement-tree-wrapper {
    min-height: 400px;
  }

  .tree-container {
    height: 400px;
  }

  .tree-leaf {
    width: 35px;
    height: 35px;
  }

  .tree-root-logo {
    width: 80px;
    height: 80px;
    bottom: -20px;
  }

  .outcomes-text-content .outcomes-title {
    font-size: 2.5rem;
  }
}

/* ============================================
   ENROLL SECTION & FORM STYLES - COMPACT
   ============================================ */
.enroll-section {
  padding: var(--space-8) 0;
}

.enroll-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-6);
}

.enroll-content {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-5);
}

.cta-action {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-4);
}

.enroll-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

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

.form-group label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  font-size: var(--font-size-sm);
  border: 1.5px solid rgba(19, 13, 138, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  transition: all var(--transition-base);
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--fintree-green);
  box-shadow: 0 0 0 3px rgba(170, 140, 104, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-disclaimer {
  font-size: var(--font-size-xs);
  color: var(--text-primary);
  text-align: center;
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .enroll-section {
    padding: var(--space-6) 0;
  }

  .enroll-header {
    margin-bottom: var(--space-4);
  }

  .enroll-content {
    padding: var(--space-3);
  }

  .cta-action {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-3);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .enroll-form {
    gap: var(--space-2);
  }

  .form-group {
    gap: 0.375rem;
  }

  .form-group label {
    font-size: 0.8125rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }

  .form-group textarea {
    min-height: 70px;
  }

  .btn-block {
    padding: 0.875rem 1.5rem;
    font-size: var(--font-size-base);
  }
}

/* ============================================
   SUPPORT SECTION - COMPACT LAYOUT
   ============================================ */
.support-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-6);
  align-items: start;
}

.support-text {
  padding: var(--space-8) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 600px;
}

.support-text .section-title {
  margin-bottom: var(--space-3);
}

.support-text .support-description {
  margin-bottom: var(--space-4);
}

.support-features {
  margin-bottom: var(--space-4);
}

.support-tagline {
  margin-bottom: var(--space-3);
}

.support-closing {
  margin-bottom: 0;
}

@media (max-width: 968px) {
  .support-content {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .support-text {
    max-height: none;
  }
}

.support-video-section {
  background: #ffffff;
  padding: var(--space-8) 0;
}

/* ============================================
   WHATSAPP MOCKUP - CLEAN REWRITE
   ============================================ */

/* Main Container */
.whatsapp-mockup {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

/* Phone Container - Black Frame */
.phone-container {
  background: #000;
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

/* Phone Notch */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

/* Phone Screen - Where Images Display */
.phone-screen {
  background: #e5ddd5;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Chat Images */
.chat-image {
  width: 100%;
  height: auto;
  display: none;
  object-fit: contain;
  max-width: 100%;
}

.chat-image.active {
  display: block;
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #001e49;
}

.nav-btn:hover {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.nav-prev {
  left: -22px;
}

.nav-next {
  right: -22px;
}

.nav-btn svg {
  display: block;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablets and Large Phones */
@media (max-width: 968px) {
  .whatsapp-mockup {
    max-width: 100%;
  }
}

/* Medium Phones */
@media (max-width: 768px) {
  .whatsapp-mockup {
    max-width: 320px;
  }

  .phone-container {
    border-radius: 32px;
    padding: 12px;
  }

  .phone-notch {
    width: 120px;
    height: 24px;
    border-radius: 0 0 16px 16px;
  }

  .phone-screen {
    border-radius: 22px;
  }

  .nav-btn {
    width: 38px;
    height: 38px;
  }

  .nav-prev {
    left: -18px;
  }

  .nav-next {
    right: -18px;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .whatsapp-mockup {
    max-width: 280px;
  }

  .phone-container {
    border-radius: 28px;
    padding: 10px;
  }

  .phone-notch {
    width: 100px;
    height: 20px;
    border-radius: 0 0 14px 14px;
  }

  .phone-screen {
    border-radius: 20px;
  }

  .nav-btn {
    width: 34px;
    height: 34px;
  }

  .nav-btn svg {
    width: 16px;
    height: 16px;
  }

  .nav-prev {
    left: -14px;
  }

  .nav-next {
    right: -14px;
  }
}

/* Very Small Phones */
@media (max-width: 380px) {
  .whatsapp-mockup {
    max-width: 260px;
  }

  .phone-container {
    padding: 8px;
  }

  .nav-btn {
    width: 30px;
    height: 30px;
  }

  .nav-prev {
    left: -12px;
  }

  .nav-next {
    right: -12px;
  }
}

/* ============================================
   PHONE MOCKUP & CHAT SCREENSHOT STYLES
   ============================================ */
/* .social-proof-section styles removed to prevent conflict */

.outcomes-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.outcomes-text-content {
  text-align: left;
  padding-right: var(--space-4);
}

.outcomes-pre-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.outcomes-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  /* Extra bold */
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -1px;
  font-family: var(--font-heading);
}

.outcomes-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  /* Regular/Lighter */
  color: var(--text-tertiary);
  line-height: 1.4;
  margin-bottom: var(--space-12);
  /* Spacious separation */
}

.outcomes-footer-text {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--space-8);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .outcomes-grid-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .outcomes-text-content {
    padding-right: 0;
    margin-bottom: var(--space-8);
    text-align: left;
    padding: 0 var(--space-4);
  }
}

/* ============================================
   SUPPORT VIDEO SECTION - REWRITTEN
   ============================================ */
.support-video-section {
  padding: var(--space-10) 0;
  background-color: #001e49;
}

/* Content Wrapper */
.video-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-8);
  align-items: center;
}

/* Video Container */
.video-container {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

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

/* Text Content */
.video-text-content {
  padding-left: var(--space-4);
}

.video-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: var(--space-2);
}

.video-closing {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-top: var(--space-6);
}

/* Word Animation Styles */
.word-span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
  margin-right: 0.25em;
}

.word-span.animate-word {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets */
@media (max-width: 968px) {
  .video-content-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .video-container {
    max-width: 350px;
    order: 2;
  }

  .video-text-content {
    padding-left: 0;
    text-align: center;
    order: 1;
  }

  .video-tagline {
    font-size: clamp(1.25rem, 3.5vw, 2rem);
  }

  .video-closing {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .support-video-section {
    padding: var(--space-8) 0;
  }

  .video-content-wrapper {
    gap: var(--space-5);
  }

  .video-container {
    max-width: 300px;
  }

  .video-tagline {
    font-size: clamp(1.125rem, 3vw, 1.75rem);
    margin-bottom: var(--space-1);
  }

  .video-closing {
    font-size: clamp(1.375rem, 4vw, 2.25rem);
    margin-top: var(--space-4);
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .support-video-section {
    padding: var(--space-6) 0;
  }

  .video-container {
    max-width: 260px;
  }

  .video-tagline {
    font-size: 1.25rem;
  }

  .video-closing {
    font-size: 1.5rem;
    margin-top: var(--space-3);
  }
}

/* ============================================
   MOBILE NAVBAR ADJUSTMENTS
   ============================================ */
@media (max-width: 992px) {

  /* White font on transparent background (default state) */
  .header .nav-link {
    color: #ffffff !important;
  }

  /* Black font on white background (scrolled state) */
  .header.scrolled .nav-link {
    color: #001e49 !important;
  }

  /* White hamburger on transparent background */
  .mobile-menu-toggle span {
    background-color: #ffffff !important;
  }

  /* Black hamburger on white background (scrolled state) */
  .header.scrolled .mobile-menu-toggle span {
    background-color: #001e49 !important;
  }

  /* White font on hover (ensure visibility) */
  .header:hover .nav-link,
  .nav-link:hover {
    color: #ffffff !important;
  }

  /* Black hamburger on hover */
  .header:hover .mobile-menu-toggle span {
    background-color: #001e49 !important;
  }

  /* Force white color when menu is open or hovered on mobile */
  .nav.active .nav-link {
    color: #ffffff !important;
    background: transparent !important;
  }

  #mobileMenuToggle.active span {
    background-color: #ffffff !important;
  }
}

/* ============================================
   FLOATING ACTION BUTTONS (Call & WhatsApp)
   ============================================ */
.fab-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  pointer-events: none;
}

.fab-container .fab {
  pointer-events: auto;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-container .fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fab-container .fab:active {
  transform: scale(0.98);
}

.fab-container .fab img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .fab-container {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .fab-container .fab,
  .fab-container .fab img {
    width: 52px;
    height: 52px;
  }
}