/* ===================================
   PDTI - Professional Driver Training Institute
   PREMIUM INTERACTIVE WEBSITE - 2026
   Modern Color Scheme: Charcoal + Electric Teal + Gold
   =================================== */

/* ===================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =================================== */
:root {
  /* NEW Professional Colors */
  --color-primary: #0A1929;        /* Deep Charcoal Navy */
  --color-primary-dark: #000814;   /* Almost Black */
  --color-primary-light: #1A2937;  /* Lighter Charcoal */
  --color-accent: #00D9FF;         /* Electric Teal/Cyan */
  --color-accent-dark: #00B8D4;    /* Darker Teal */
  --color-accent-light: #4DFFFF;   /* Bright Cyan */
  --color-secondary: #FFD700;      /* Gold */
  --color-secondary-dark: #FFC700; /* Darker Gold */
  --color-background: #F8FAFB;     /* Soft White */
  --color-white: #FFFFFF;
  --color-gray-50: #FAFAFA;
  --color-gray-100: #F4F6F8;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  --color-success: #10B981;
  --color-error: #EF4444;
  --color-warning: #F59E0B;
  
  /* Typography */
  --font-heading: 'Montserrat', 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Open Sans', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --section-spacing: clamp(80px, 12vw, 140px);
  --container-padding: clamp(20px, 5vw, 80px);
  --container-max-width: 1320px;
  
  /* Shadows - Enhanced */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(0, 217, 255, 0.3);
  --shadow-glow-strong: 0 0 40px rgba(0, 217, 255, 0.5);
  
  /* Transitions */
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1vw + 14px, 18px);
  line-height: 1.7;
  color: var(--color-gray-800);
  background-color: var(--color-background);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
}

h2 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
}

h3 {
  font-size: clamp(24px, 3vw, 40px);
}

h4 {
  font-size: clamp(20px, 2vw, 28px);
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-accent-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent horizontal scroll */
.container,
.hero-content,
.programs-grid,
.testimonials-grid,
.stats-grid,
.steps-grid,
.footer-grid,
.section {
  max-width: 100%;
  overflow-x: hidden;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.section-small {
  padding: 60px 0;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* Enhanced Fade In Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax Effect */
.parallax {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   BUTTONS - ENHANCED
   =================================== */
.btn {
  display: inline-block;
  padding: 18px 36px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  box-shadow: 0 20px 40px -10px rgba(0, 217, 255, 0.4);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 3px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-large {
  padding: 22px 44px;
  font-size: 18px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ===================================
   HEADER & NAVIGATION - ENHANCED
   =================================== */
.header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  transition: padding var(--transition-base);
  width: 100%;
  max-width: 100%;
}

.header.scrolled .nav {
  padding: 16px 0;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.02em;
  transition: transform var(--transition-base);
}

.nav-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.nav-slogan {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-top: 2px;
  text-transform: uppercase;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(-5deg);
}

.nav-logo span {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 48px;
  align-items: center;
}

.nav-menu a {
  color: var(--color-gray-800);
  font-weight: 600;
  font-size: 16px;
  transition: all var(--transition-base);
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  transition: width var(--transition-base);
}

.nav-menu a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all var(--transition-base);
}

.phone-link:hover {
  background: var(--color-gray-100);
  color: var(--color-accent-light);
  transform: scale(1.05);
}

.language-toggle {
  padding: 10px 20px;
  background: var(--color-gray-100);
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-base);
  color: var(--color-primary);
}

.language-toggle:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--color-primary);
  transition: all var(--transition-base);
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(9px, -9px);
}

/* ===================================
   HERO SECTION - ULTRA ENHANCED
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
  filter: grayscale(30%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(10, 25, 41, 0.95) 0%, 
    rgba(0, 8, 20, 0.9) 50%,
    rgba(10, 25, 41, 0.95) 100%);
  z-index: 1;
}

/* Animated Background Particles */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(0, 217, 255, 0.05) 0%, transparent 50%);
  z-index: 1;
  animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 900px;
  animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  color: var(--color-white);
  margin-bottom: 28px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  animation: titleSlideIn 0.8s ease-out 0.2s both;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--color-gray-200);
  margin-bottom: 48px;
  font-weight: 400;
  line-height: 1.6;
  animation: titleSlideIn 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: titleSlideIn 0.8s ease-out 0.6s both;
}

.trust-bar {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 32px 40px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 217, 255, 0.1);
  animation: titleSlideIn 0.8s ease-out 0.8s both;
  transition: all var(--transition-base);
}

.trust-bar:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl), 0 0 60px rgba(0, 217, 255, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 16px;
}

.trust-icon {
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

/* ===================================
   PROGRAM CARDS - ULTRA INTERACTIVE
   =================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-top: 80px;
}

.program-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-slow);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  transition: height var(--transition-base);
}

.program-card:hover::before {
  height: 100%;
  opacity: 0.05;
}

.program-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.program-card:hover::after {
  opacity: 1;
  animation: cardShine 2s ease-in-out infinite;
}

@keyframes cardShine {
  0%, 100% { transform: translate(-50%, -50%) scale(0.8); }
  50% { transform: translate(-30%, -30%) scale(1.2); }
}

.program-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-2xl), 0 0 40px rgba(0, 217, 255, 0.2);
  border-color: var(--color-accent);
}

.program-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--color-white);
  font-size: 40px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 217, 255, 0.3);
  transition: all var(--transition-bounce);
}

.program-card:hover .program-icon {
  transform: rotate(360deg) scale(1.1);
  box-shadow: var(--shadow-xl), 0 0 50px rgba(0, 217, 255, 0.5);
}

.program-card h3 {
  margin-bottom: 20px;
  transition: color var(--transition-base);
}

.program-card:hover h3 {
  color: var(--color-accent);
}

.program-features {
  list-style: none;
  margin: 28px 0;
}

.program-features li {
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.program-features li:hover {
  padding-left: 10px;
  background: var(--color-gray-50);
}

.program-features li:last-child {
  border-bottom: none;
}

.program-features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
  font-size: 22px;
  flex-shrink: 0;
}

/* ===================================
   STATS SECTION - ANIMATED
   =================================== */
.stats-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(45deg, transparent 45%, rgba(0, 217, 255, 0.05) 50%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, rgba(255, 215, 0, 0.05) 50%, transparent 55%);
  background-size: 40px 40px;
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 30px;
  transition: transform var(--transition-bounce);
}

.stat-item:hover {
  transform: scale(1.1);
}

.stat-number {
  font-size: clamp(52px, 8vw, 84px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.stat-label {
  font-size: 20px;
  color: var(--color-gray-200);
  font-weight: 600;
}

/* ===================================
   HOW IT WORKS - STEP NUMBERS
   =================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  text-align: center;
  background: var(--color-white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.step-number {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 56px;
  font-weight: 800;
  color: var(--color-white);
  box-shadow: var(--shadow-glow), 0 0 30px rgba(0, 217, 255, 0.4);
  transition: all var(--transition-bounce);
  font-family: var(--font-heading);
}

.step-card:hover .step-number {
  transform: scale(1.15) rotate(360deg);
  box-shadow: var(--shadow-glow), 0 0 50px rgba(0, 217, 255, 0.6);
}

.step-card h3 {
  margin-bottom: 16px;
  color: var(--color-primary);
}

.step-card p {
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ===================================
   TESTIMONIALS - ENHANCED
   =================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-top: 80px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: all var(--transition-slow);
  border: 2px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--color-accent);
}

.testimonial-quote {
  font-size: 64px;
  color: var(--color-accent);
  opacity: 0.15;
  position: absolute;
  top: 30px;
  left: 40px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 32px;
  color: var(--color-gray-700);
  line-height: 1.9;
  font-size: 17px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid var(--color-gray-200);
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-accent);
  box-shadow: var(--shadow-md);
}

.testimonial-info h4 {
  margin-bottom: 6px;
  font-size: 19px;
  color: var(--color-primary);
}

.testimonial-info p {
  color: var(--color-gray-600);
  font-size: 15px;
  margin: 0;
}

/* ===================================
   FAQ ACCORDION - ENHANCED
   =================================== */
.faq-section {
  background: var(--color-white);
}

.faq-list {
  max-width: 1000px;
  margin: 80px auto 0;
}

.faq-item {
  margin-bottom: 20px;
  border: 2px solid var(--color-gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-base);
  background: var(--color-white);
}

.faq-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 217, 255, 0.1);
}

.faq-question {
  width: 100%;
  padding: 28px 32px;
  background: var(--color-white);
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-base);
}

.faq-question:hover {
  background: var(--color-gray-50);
}

.faq-item.active .faq-question {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
}

.faq-icon {
  font-size: 28px;
  color: var(--color-accent);
  transition: transform var(--transition-bounce);
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 32px;
  background: var(--color-gray-50);
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 32px;
}

.faq-answer p {
  color: var(--color-gray-700);
  line-height: 1.9;
  font-size: 17px;
}

/* ===================================
   FINAL CTA SECTION - ULTRA ENHANCED
   =================================== */
.final-cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: ctaRotate 20s linear infinite;
}

@keyframes ctaRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.final-cta h2 {
  color: var(--color-white);
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.final-cta p {
  font-size: 22px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

/* ===================================
   FOOTER - MODERN
   =================================== */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0 40px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  margin-bottom: 60px;
}

.footer-column h3 {
  color: var(--color-white);
  margin-bottom: 28px;
  font-size: 22px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--color-gray-300);
  transition: all var(--transition-base);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gray-400);
}

/* ===================================
   FLOATING ELEMENTS
   =================================== */
.floating-phone {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2xl), 0 0 40px rgba(0, 217, 255, 0.4);
  z-index: 999;
  animation: floatBounce 3s ease-in-out infinite;
  text-decoration: none;
  color: var(--color-white);
  font-size: 28px;
  transition: all var(--transition-base);
}

.floating-phone:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl), 0 0 60px rgba(0, 217, 255, 0.6);
}

@keyframes floatBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 998;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl), 0 0 30px rgba(0, 217, 255, 0.4);
}

/* ===================================
   FORM STYLES - ENHANCED
   =================================== */
.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 16px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--color-gray-300);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: all var(--transition-base);
  background: var(--color-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.1);
  transform: translateY(-2px);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
  animation: shake 0.5s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.form-error {
  color: var(--color-error);
  font-size: 14px;
  margin-top: 8px;
  display: none;
  font-weight: 600;
}

.form-error.visible {
  display: block;
  animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ===================================
   MODAL/EXIT INTENT - ENHANCED
   =================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal.visible {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--color-white);
  border-radius: 24px;
  padding: 60px;
  max-width: 700px;
  position: relative;
  transform: scale(0.8);
  transition: transform var(--transition-bounce);
  box-shadow: var(--shadow-2xl), 0 0 60px rgba(0, 217, 255, 0.3);
}

.modal.visible .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--color-gray-200);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  color: var(--color-gray-700);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--color-error);
  color: var(--color-white);
  transform: rotate(90deg);
}

/* ===================================
   SMS LEAD CAPTURE WIDGET - NEW!
   =================================== */
.sms-widget {
  position: fixed;
  bottom: 140px;
  right: 40px;
  width: 350px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-2xl), 0 0 40px rgba(0, 217, 255, 0.2);
  padding: 28px;
  z-index: 997;
  transform: translateX(400px);
  transition: transform var(--transition-bounce);
}

.sms-widget.visible {
  transform: translateX(0);
}

.sms-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sms-widget-header h4 {
  color: var(--color-primary);
  font-size: 20px;
  margin: 0;
}

.sms-widget-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-gray-600);
  cursor: pointer;
  transition: color var(--transition-base);
}

.sms-widget-close:hover {
  color: var(--color-error);
}

.sms-widget-content p {
  color: var(--color-gray-700);
  margin-bottom: 20px;
  font-size: 15px;
}

.sms-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sms-input {
  padding: 14px 16px;
  border: 2px solid var(--color-gray-300);
  border-radius: 10px;
  font-size: 16px;
  transition: all var(--transition-base);
}

.sms-input:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.1);
}

.sms-trigger-btn {
  position: fixed;
  bottom: 140px;
  right: 40px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 32px;
  box-shadow: var(--shadow-2xl), 0 0 40px rgba(255, 215, 0, 0.4);
  cursor: pointer;
  border: none;
  z-index: 996;
  animation: pulseGlow 2s ease-in-out infinite;
  transition: all var(--transition-base);
}

.sms-trigger-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl), 0 0 60px rgba(255, 215, 0, 0.6);
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: var(--shadow-2xl), 0 0 20px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: var(--shadow-2xl), 0 0 60px rgba(255, 215, 0, 0.6);
  }
}

/* ===================================
   LOADING ANIMATIONS
   =================================== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  :root {
    --section-spacing: clamp(60px, 10vw, 100px);
  }
  
  .programs-grid,
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: clamp(50px, 8vw, 80px);
  }
  
  /* Navigation Mobile */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--color-white);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transition: left var(--transition-base);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
  }
  
  .nav-menu a {
    font-size: 18px;
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }
  
  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  
  .phone-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
  }
  
  /* Hero Mobile Optimizations */
  .hero {
    min-height: 600px;
    padding: 80px 0 60px;
  }
  
  .hero-title {
    font-size: 32px !important;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .hero-subtitle {
    font-size: 16px !important;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-cta .btn {
    width: 100%;
    padding: 18px 24px;
    min-height: 48px;
  }
  
  /* Stats Mobile */
  .stat-number {
    font-size: 48px !important;
  }
  
  .stat-label {
    font-size: 16px;
  }
  
  .trust-bar {
    flex-direction: column;
    gap: 16px;
    padding: 24px 16px;
  }
  
  .trust-item {
    font-size: 14px;
    padding: 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Floating Elements Mobile */
  .scroll-top {
    display: none !important;
  }
  
  .floating-phone {
    display: none !important;
  }
  
  .sms-trigger-btn {
    display: flex;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }
  
  .sms-widget {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 100px;
    max-width: 100%;
  }
  
  /* Grids Mobile */
  .programs-grid,
  .testimonials-grid,
  .stats-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Cards Mobile */
  .program-card,
  .testimonial-card,
  .step-card {
    padding: 32px 24px;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer-grid {
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-links a {
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  
  .footer-bottom {
    padding-top: 30px;
    font-size: 14px;
  }
  
  /* Modal Mobile */
  .modal-content {
    margin: 20px;
    padding: 32px 24px;
    max-width: calc(100% - 40px);
  }
  
  .modal-close {
    width: 44px;
    height: 44px;
    top: 16px;
    right: 16px;
  }
  
  /* Forms Mobile */
  .form-input,
  .form-textarea,
  .form-select {
    font-size: 16px;
    min-height: 48px;
  }
  
  .form-textarea {
    min-height: 120px;
  }
}

@media (max-width: 640px) {
  /* Buttons */
  .btn {
    padding: 16px 24px;
    font-size: 15px;
    min-height: 48px;
  }
  
  .btn-large {
    padding: 18px 28px;
    font-size: 16px;
    min-height: 52px;
  }
  
  /* Cards */
  .program-card,
  .testimonial-card {
    padding: 28px 20px;
  }
  
  /* FAQ */
  .faq-question {
    padding: 18px 16px;
    font-size: 15px;
    min-height: 52px;
  }
  
  .faq-item.active .faq-answer {
    padding: 18px 16px;
  }
  
  /* Extra Small Mobile Typography */
  .hero-title {
    font-size: 28px !important;
    line-height: 1.15;
  }
  
  .hero-subtitle {
    font-size: 15px !important;
  }
  
  h2 {
    font-size: 28px !important;
    line-height: 1.2;
  }
  
  h3 {
    font-size: 22px !important;
  }
  
  h4 {
    font-size: 18px !important;
  }
  
  /* Layout */
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .stat-number {
    font-size: 40px !important;
  }
  
  /* Touch Targets */
  .nav-menu a,
  .footer-links a,
  .hamburger,
  .phone-link {
    min-height: 48px;
  }
  
  /* Program Features List */
  .program-features li {
    padding: 14px 0;
    font-size: 15px;
  }
  
  /* Footer Mobile Small */
  .footer-column h3 {
    font-size: 20px;
  }
  
  .footer-links {
    font-size: 15px;
  }
  
  /* SMS Widget Small */
  .sms-widget {
    width: calc(100% - 32px);
    right: 16px;
    padding: 24px 20px;
  }
  
  .sms-trigger-btn {
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
  
  /* Nav Logo */
  .nav-logo {
    font-size: 20px;
  }
  
  .nav-logo-img {
    height: 40px;
    width: auto;
  }
}

/* ===================================
   ACCESSIBILITY ENHANCEMENTS
   =================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus Visible Styles */
*:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #000000;
    --color-accent: #0066CC;
    --color-background: #FFFFFF;
  }
}

/* Print Styles */
@media print {
  .header,
  .floating-phone,
  .scroll-top,
  .modal,
  .sms-widget,
  .sms-trigger-btn {
    display: none;
  }
  
  .hero,
  .final-cta {
    page-break-inside: avoid;
  }
}
