@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Dark Theme Variables (Default) */
  --bg: #0A0A0A;
  --surface: #111111;
  --surface-elevated: #1A1A1A;
  --text: #FFFFFF;
  --text-muted: #A0A0A0;
  --text-dim: #707070;
  --accent-primary: #FF6B35;
  --accent-secondary: #c59a0e;
  --accent-success: #00C896;
  --accent-warning: #FF8C42;
  --accent-danger: #FF5757;
  --border: #2A2A2A;
  --border-light: #3A3A3A;
  --glass: rgba(17, 17, 17, 0.8);
  --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  --gradient-accent: linear-gradient(135deg, #FFD23F 0%, #FFA726 100%);
  --gradient-surface: linear-gradient(180deg, #111111 0%, #0F0F0F 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

/* Logo white background for visibility */
.logo {
  background: #b1868600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

/* Footer logo also gets white background */
.footer-brand .logo {
  background: #FFFFFF;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  display: none;
}

/* Light Theme Variables */
.theme-light {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-elevated: #F8F8F8;
  --text: #1A1A1A;
  --text-muted: #4A4A4A;
  --text-dim: #6A6A6A;
  --accent-primary: #E8581C;
  --accent-secondary: #D4AF37;
  --accent-success: #059669;
  --accent-warning: #EA580C;
  --accent-danger: #DC2626;
  --border: #E5E7EB;
  --border-light: #D1D5DB;
  --glass: rgba(255, 255, 255, 0.9);
  --gradient-primary: linear-gradient(135deg, #E8581C 0%, #EA580C 100%);
  --gradient-accent: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  --gradient-surface: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(232, 88, 28, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
.display {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0.2em 0 0.4em;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kicker {
  color: var(--accent-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.lead {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 65ch;
  line-height: 1.7;
}

.small {
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section--flush {
  padding: 0;
}

.section--tinted {
  background: var(--gradient-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--surface-elevated);
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.skip-link:focus {
  position: fixed;
  top: 20px;
  left: 20px;
  width: auto;
  height: auto;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: white;
  color: black;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
}

.site-header[data-shrink="true"] {
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Force header always white */
.theme-dark .site-header {
  background-color: white !important;
  color: black !important;
}

/* ===== NAVIGATION ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: black;
}

.logo-mark {
  height: 60px;
  width: auto;
}

.site-header[data-shrink="true"] .logo-mark {
  height: 48px;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  cursor: pointer;
  color: #374151;
}

.theme-toggle:hover {
  background: #f3f4f6;
  border-color: #E53935;
}

.theme-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-icon--sun {
  opacity: 1;
}

.theme-icon--moon {
  opacity: 0;
}

.theme-dark .theme-icon--sun {
  opacity: 0;
}

.theme-dark .theme-icon--moon {
  opacity: 1;
}

/* ===== MOBILE TOGGLE ===== */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f9fafb;
  border: 2px solid #d1d5db;
  color: #374151;
  cursor: pointer;
}

.nav-toggle:hover {
  background: #f3f4f6;
  border-color: #E53935;
}

.nav-toggle[aria-expanded="true"] {
  background: #E53935;
  border-color: #E53935;
  color: white;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== NAVIGATION MENU ===== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #374151;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-menu a:hover {
  background: #f3f4f6;
  color: #E53935;
}

.nav-menu a.active {
  background: rgba(229, 57, 53, 0.1);
  color: #E53935;
  font-weight: 600;
}

.nav-cta {
  background: #E53935 !important;
  color: white !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: #dc2626 !important;
  color: white !important;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    border-left: 2px solid #e5e7eb;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 100px 20px 20px;
    gap: 8px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu[data-state="open"] {
    right: 0;
  }

  .nav-menu a {
    padding: 16px 20px;
    text-align: center;
    border: 1px solid transparent;
    font-size: 16px;
  }

  .nav-menu a:hover {
    border-color: #e5e7eb;
  }

  .nav-cta {
    margin-top: 10px;
    padding: 16px 20px !important;
  }
}

/* ===== UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.theme-light .btn-primary {
  color: #FFFFFF;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-secondary {
  background: var(--surface-elevated);
  color: var(--text);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.btn-whatsapp {
  background: #2dae5d;
  color: #000;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #20b358;
  transform: translateY(-1px);
}

/* Hero Section - Clean & Simple */
.hero-bg {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
  background-color: var(--bg);
  background-image: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%),
    url("res/bg-evoinsparks.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow: hidden;
}

/* Light Theme */
.theme-light .hero-bg {
  background-image: 
    linear-gradient(135deg, rgba(179, 179, 179, 0.127) 0%, rgba(248, 248, 248, 0.259) 100%),
    url("res/bg-evoinsparks.webp");
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* CTA Row */
.cta-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-bg {
    min-height: 500px;
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 80px 20px 60px;
  }
  
  .cta-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-bg {
    min-height: 450px;
  }
  
  .hero-content {
    padding: 60px 16px 40px;
  }
}


/* Features Band */
.features-band {
  padding: 60px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.features-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.feature:hover::before {
  transform: translateX(0);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.feature-ico {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(65%) sepia(85%) saturate(2618%) hue-rotate(351deg) brightness(102%) contrast(101%);
}

.theme-light .feature-ico {
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.feature-title {
  margin: 0 0 8px 0;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}

.feature-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Trust Stripe */
.stripe {
  position: relative;
  padding: 60px 0;
  background: var(--gradient-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.stripe::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 210, 63, 0.05) 0%, transparent 50%);
  animation: rotate 30s linear infinite;
}

.theme-light .stripe::before {
  background: 
    radial-gradient(circle at 25% 25%, rgba(232, 88, 28, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.stripe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.stripe-item {
  padding: 24px;
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.theme-light .stripe-item {
  background: rgba(255, 255, 255, 0.8);
}

.stripe-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.stripe-item h3 {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: var(--text);
  font-size: 1.25rem;
}

.stripe-item p {
  margin: 0;
  color: var(--text-muted);
}

/* PREMIUM SERVICES SECTION */
.services-section {
  position: relative;
  padding: 120px 0;
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(10, 10, 10, 0.85) 100%),
    url('res/icons/home-4.svg') center/cover no-repeat;
  overflow: hidden;
}

.theme-light .services-section {
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.699) 0%, rgba(248, 248, 248, 0.92) 100%),
    url('res/icons/home-4.svg') center/cover no-repeat;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header */
.services-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-kicker {
  display: inline-block;
  color: var(--accent-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: rgba(255, 210, 63, 0.1);
  border: 1px solid rgba(255, 210, 63, 0.3);
  border-radius: 999px;
}

.services-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 24px 0;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== FIXED SERVICES GRID - 3 CARDS IN ONE ROW ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Force 3 equal columns */
  gap: 32px;
  margin-bottom: 80px;
  align-items: stretch; /* Equal height cards */
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .services-grid {
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards on tablet */
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 card on mobile */
    gap: 24px;
  }
}

/* Premium Service Cards */
.service-card {
  background: linear-gradient(145deg, rgba(17, 17, 17, 0.9) 0%, rgba(25, 25, 25, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.4),
    0 10px 10px -5px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure flex layout for equal heights */
  height: 100%; /* Force equal height */
}

.theme-light .service-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 248, 248, 0.95) 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 24px 24px 0 0;
}

.service-card--secondary::before {
  background: var(--gradient-accent);
}

.service-card--accent::before {
  background: linear-gradient(135deg, #00C896 0%, #059669 100%);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 32px 40px -12px rgba(0, 0, 0, 0.5),
    0 16px 20px -8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 107, 53, 0.3);
}

.theme-light .service-card:hover {
  box-shadow: 
    0 32px 40px -12px rgba(0, 0, 0, 0.15),
    0 16px 20px -8px rgba(0, 0, 0, 0.1);
}

/* Minimal Featured Forex Card */
.service-card--secondary {
  border: 2px solid #1976D2;
  transform: scale(1.02);
}

.service-card--secondary::after {
  content: 'FEATURED';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #d25419;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.service-card--secondary:hover {
  transform: translateY(-8px) scale(1.03);
}

.service-card--secondary .service-icon {
  background: linear-gradient(145deg, #000000, #000000);
}

.service-card--secondary .service-content h3 {
  color: #ffb726;
}

.service-card--secondary .service-btn {
  background: #000000;
  font-weight: 600;
}

.service-card--secondary .service-btn:hover {
  background: #2a2a2a;
}

@media (max-width: 768px) {
  .service-card--secondary {
    transform: scale(1);
  }
}


/* Premium Icon Design */
.service-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 32px 0;
}

.service-icon {
  position: relative;
  width: 100px;
  height: 100px;
  background: linear-gradient(145deg, #FF6B35, #FF8C42);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 20px 30px rgba(255, 107, 53, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  transform: rotate(-5deg);
}

.service-card--secondary .service-icon {
  background: linear-gradient(145deg, #FFD23F, #FFA726);
  box-shadow: 
    0 20px 30px rgba(255, 210, 63, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-card--accent .service-icon {
  background: linear-gradient(145deg, #00C896, #059669);
  box-shadow: 
    0 20px 30px rgba(0, 200, 150, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-icon svg {
  width: 48px;
  height: 48px;
  color: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.service-card:hover .service-icon {
  transform: rotate(0deg) scale(1.1);
}

.icon-badge {
  position: absolute;
  top: 2px;
  right: -8px;
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-card--secondary .icon-badge {
  background: var(--gradient-accent);
}

.service-card--accent .icon-badge {
  background: linear-gradient(135deg, #00C896, #059669);
}

/* Service Content */
.service-content {
  padding: 0 32px 32px 32px;
  flex-grow: 1; /* Allow content to grow and push footer down */
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px 0;
  text-align: center;
}

.service-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 32px 0;
  text-align: center;
}

/* Service Features */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: grid;
  gap: 12px;
  flex-grow: 1; /* Push footer to bottom */
}

.service-features li {
  position: relative;
  padding-left: 32px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.service-features li::after {
  content: '✓';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Premium Service Footer */
.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto; /* Push to bottom */
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-light .service-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
}

.price-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--gradient-primary);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.4);
}

.service-btn svg {
  transition: transform 0.3s ease;
}

.service-btn:hover svg {
  transform: translate(2px, -2px);
}

/* Enhanced Call to Action */
.services-cta {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(145deg, rgba(17, 17, 17, 0.8) 0%, rgba(25, 25, 25, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theme-light .services-cta {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 248, 248, 0.9) 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.services-cta p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 0 24px 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--gradient-accent);
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 12px 20px rgba(255, 210, 63, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(255, 210, 63, 0.4);
}


/* Mobile Responsive */
@media (max-width: 900px) {
  .services-section {
    padding: 80px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
  }
  
  .service-icon svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 720px) {
  .service-content {
    padding: 0 24px 24px 24px;
  }
  
  .service-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .service-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Pricing Teaser - 2 Centered Cards */
.pricing-teaser {
  margin: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--gradient-surface);
  padding: 60px 0;
  position: relative;
}

.pricing-teaser::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);
}

.pricing-teaser h2 {
  margin: 0 0 32px 0;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
}

/* CHANGE: 2 columns centered */
.pt-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 32px auto 0 auto;
  max-width: 800px; /* Center the 2-card layout */
}

.pt-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.pt-card:hover::before {
  transform: translateX(0);
}

.pt-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.pt-featured {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px var(--accent-primary) inset, var(--shadow-md);
  transform: scale(1.05);
}

.pt-featured::before {
  transform: translateX(0);
}

.pt-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-primary);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pt-card h3 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.pt-card .muted {
  color: var(--text-muted);
  margin: 0 0 20px 0;
  font-size: 0.95rem;
}

.pt-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
}

.pt-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pt-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent-success);
  font-weight: bold;
  font-size: 0.9rem;
}

.pt-note {
  color: var(--text-dim);
  margin-top: 32px;
  text-align: center;
  font-size: 0.85rem;
}

/* Mobile: Stack cards vertically */
@media (max-width: 768px) {
  .pt-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 24px;
  }
  
  .pt-featured {
    transform: none;
  }
}



/* About Section */
.about-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}

.about-copy .kicker {
  color: var(--accent-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.about-copy h2 {
  margin: 0.1em 0 0.4em 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.about-copy .muted {
  color: var(--text-muted);
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-points {
  margin: 20px 0;
  list-style: none;
  padding: 0;
}

.about-points li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-secondary);
  border-radius: 50%;
}

.about-note {
  color: var(--text-dim);
  margin-top: 20px;
  font-size: 0.85rem;
}

.about-media {
  min-height: 400px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background-image:
    linear-gradient(135deg, rgba(255, 210, 63, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
    url("res/abstract-bg.webp");
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-light .about-media {
  background-image:
    url("res/abstract-bg.webp");
}

.about-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(255, 210, 63, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.theme-light .about-media::before {
  background: radial-gradient(circle at center, transparent 30%, rgba(212, 175, 55, 0.08));
}

.about-media:hover::before {
  opacity: 1;
}

.about-media:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}


/* Testimonials Section Container */
.section[aria-label="Student testimonials and reviews"] {
  max-width: 1200px;
  margin: 60px auto 80px auto;
  padding: 0 20px;
}

/* Cards Grid for testimonials */
.cards.cards--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 30px; /* Adequate space between cards */
  align-items: stretch; /* Equal height of cards */
}

/* Individual testimonial card */
.card.quote {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Full height to make all cards equal height */
  color: #374151;
}

/* Quote block */
.card.quote blockquote {
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Figcaption */
.card.quote figcaption {
  font-weight: 600;
  font-size: 1rem;
  text-align: right;
  color: #6b7280;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .cards.cards--3 {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .cards.cards--3 {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
}


/* Curriculum Grid */
.section-head {
  margin-bottom: 32px;
  text-align: center;
}

/* Center the curriculum section to middle of page */
.section.container[aria-labelledby="curriculum-heading"] {
  max-width: 1200px;
  margin: 60px auto; /* Auto centers it horizontally */
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}

/* Make sure container class centers content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Center the section head */
.section-head {
  margin-bottom: 48px;
  text-align: center;
  padding-top: 20px;
  max-width: 800px; /* Limit width for better reading */
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  margin: 0 0 16px 0;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.section-head .muted {
  color: var(--text-muted);
  font-size: 1.05rem;
  text-align: center;
}

/* Center the curriculum grid */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px auto; /* Auto centers the grid */
  max-width: 1000px; /* Limit max width */
  justify-content: center;
}

/* Center CTA row if you have one */
.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  max-width: 600px;
}

/* Responsive centering */
@media (max-width: 1240px) {
  .section.container[aria-labelledby="curriculum-heading"] {
    margin: 60px 20px;
  }
}

@media (max-width: 992px) {
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .section.container[aria-labelledby="curriculum-heading"] {
    margin: 40px 16px;
    padding: 40px 16px;
  }
  
  .curriculum-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
  }
  
  .section-head {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .section.container[aria-labelledby="curriculum-heading"] {
    margin: 30px 12px;
    padding: 30px 12px;
  }
}


.section-head h2 {
  margin: 0 0 12px 0;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
}

.section-head .muted {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.curr-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.curr-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.curr-card:hover::before {
  transform: translateX(0);
}

.curr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.curr-card h3 {
  margin: 0 0 16px 0;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
}

.meta {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.meta li {
  margin: 8px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.meta span {
  color: var(--text);
  font-weight: 600;
  min-width: 80px;
}

.curr-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.link {
  color: var(--accent-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.link:hover::after {
  width: 100%;
}

.link:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Instructors */
.instructors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.inst-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.inst-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.inst-card:hover::before {
  transform: translateX(0);
}

.inst-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.inst-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.inst-card:hover .inst-photo {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.theme-light .inst-card:hover .inst-photo {
  box-shadow: 0 0 0 2px rgba(232, 88, 28, 0.2);
}

.inst-body h3 {
  margin: 0 0 6px 0;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}

.inst-cred {
  margin: 0.2rem 0;
  color: var(--accent-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

.inst-bio {
  margin: 0.2rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* CTA Band */
.cta-band {
  position: relative;
  margin: 80px 0 0 0;
  padding: 80px 0;
  background: 
    linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 66, 0.1) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    url("res/home-1.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  overflow: hidden;
}

.theme-light .cta-band {
  background: 
    linear-gradient(135deg, rgba(232, 88, 28, 0.08) 0%, rgba(234, 88, 12, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(248, 248, 248, 0.8)),
    url("res/home-1.png");
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.3));
  animation: pulse 4s ease-in-out infinite;
}

.theme-light .cta-band::before {
  background: radial-gradient(circle at center, transparent 20%, rgba(255, 255, 255, 0.2));
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.cta-band__content {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  margin: 0 0 32px 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.theme-light .cta-band h2 {
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Footer */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  background: var(--gradient-surface);
  color: var(--text);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.footer-top {
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-head {
  margin: 0 0 16px 0;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-brand .logo-mark {
  width: 100%;
  height: 48px;
}

.footer-brand .logo-text {
  font-weight: 800;
  color: var(--text);
  font-size: 1.25rem;
}

.footer-brand .tagline {
  margin: 0.4rem 0;
  color: var(--text-muted);
  font-style: italic;
}

.footer-brand .disclaimer {
  margin: 0.4rem 0 0 0;
  color: var(--accent-warning);
  font-size: 0.9rem;
  padding: 12px;
  background: rgba(255, 87, 87, 0.1);
  border: 1px solid rgba(255, 87, 87, 0.2);
  border-radius: var(--radius-sm);
}

.theme-light .footer-brand .disclaimer {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.15);
  color: #B91C1C;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.footer-links a:focus-visible,
.footer-legal a:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-contact .contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: grid;
  gap: 8px;
}

.footer-contact .contact-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--text-muted);
}

.footer-bottom-row small {
  display: block;
  font-size: 0.85rem;
}

/* Scroll Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN - MOBILE FIXES */

/* Tablet and smaller laptops */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .split,
  .split.reverse,
  .about-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .split-media {
    min-height: 320px;
  }
  
  .cards,
  .cards--3 {
    grid-template-columns: 1fr 1fr;
  }
  
  .curriculum-grid,
  .instructors {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pt-cards {
    grid-template-columns: 1fr 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .stripe-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  
  .display {
    font-size: clamp(2rem, 4vw, 3rem);
  }
}

/* FIXED MOBILE NAVIGATION - Primary Mobile Breakpoint */
/* FIXED MOBILE NAVIGATION WITH SOLID BACKGROUND */
/* FORCE SOLID BACKGROUND - MOBILE NAVIGATION */
@media (max-width: 900px) {
  body {
    padding-top: 80px;
  }
  
  .site-header {
    padding: 18px 0;
  }
  
  .logo-mark {
    height: 45px;
  }
  
  .nav-controls {
    order: 2;
  }
  
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }
  
  /* FORCE SOLID BACKGROUND - NO TRANSPARENCY */
  .nav-menu {
    position: fixed;
    inset: auto 0 0 0;
    top: 80px;
    display: none;
    flex-direction: column;
    gap: 0;
    /* FORCE SOLID BLACK BACKGROUND */
    background: #111111 !important; /* Dark solid background */
    backdrop-filter: none !important; /* Remove blur effect */
    border-top: 1px solid var(--border);
    padding: 0;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }
  
  /* Show menu when JavaScript adds .show class */
  .nav-menu.show {
    display: flex;
  }
  
  /* Menu items styling */
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #2A2A2A;
    background: transparent;
  }
  
  .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 20px 24px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 0;
    display: block;
    transition: all 0.3s ease;
    background: transparent;
    color: #FFFFFF; /* Force white text */
  }
  
  .nav-menu a:hover,
  .nav-menu a:focus {
    background: #1A1A1A !important; /* Slightly lighter hover */
    color: #FFD23F; /* Yellow accent color */
  }
  
  /* Button in mobile menu */
  .nav-menu .btn {
    margin: 12px 24px 20px 24px;
    border-radius: var(--radius-md);
    width: calc(100% - 48px);
    max-width: none;
    padding: 16px 24px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
  }
  
  .nav-menu .btn:hover {
    background: linear-gradient(135deg, #E55A2B 0%, #E57A32 100%) !important;
    transform: translateY(-1px);
  }
  
  /* Light theme - FORCE SOLID WHITE */
  .theme-light .nav-menu {
    background: #FFFFFF !important; /* Force solid white */
    border-top-color: #E5E7EB;
  }
  
  .theme-light .nav-menu li {
    border-bottom-color: #E5E7EB;
  }
  
  .theme-light .nav-menu a {
    color: #1A1A1A !important; /* Force dark text */
  }
  
  .theme-light .nav-menu a:hover,
  .theme-light .nav-menu a:focus {
    background: #F8F8F8 !important; /* Light gray hover */
    color: #D4AF37 !important; /* Gold accent */
  }
  
  /* Rest of styles */
  .btn {
    min-height: 44px;
    padding: 14px 24px;
    font-size: 1rem;
  }
  
  .theme-toggle {
    min-height: 44px;
    min-width: 44px;
  }
}


  
  /* Enhanced Mobile Hero */
  .hero-bg {
    min-height: 100vh;
    padding: 20px 0;
    background-attachment: scroll; /* Better mobile performance */
  }
  
  .hero-content {
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .display {
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.2;
    margin: 0.3em 0 0.5em;
  }
  
  .kicker {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }
  
  .lead {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto 2rem auto;
    max-width: 90%;
  }
  
  .cta-row {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
  }

/* Smaller tablets and large phones */
@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  /* All multi-column grids become single column */
  .cards,
  .cards--3,
  .curriculum-grid,
  .instructors,
  .pt-cards {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    gap: 20px;
  }
  
  .feature {
    padding: 20px;
  }
  
  /* Hero adjustments */
  .hero-content {
    padding: 80px 0 50px;
  }
  
  .display {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  
  .lead {
    font-size: 1rem;
    max-width: 95%;
  }
  
  /* Footer becomes single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-top {
    padding: 40px 0;
  }
  
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  /* Reduced card padding for smaller screens */
  .split-content,
  .stripe-item,
  .card,
  .curr-card,
  .inst-card {
    padding: 20px;
  }
  
  .pt-card {
    padding: 24px 20px;
  }
  
  /* Typography scaling */
  .cta-band h2 {
    font-size: 2rem;
  }
  
  .section-head h2 {
    font-size: 1.75rem;
  }
  
  .how h2,
  .pricing-teaser h2 {
    font-size: 1.75rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  /* Enhanced mobile hero */
  .hero-content {
    padding: 70px 0 40px;
  }
  
  .display {
    font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    margin: 0.2em 0 0.4em;
  }
  
  .kicker {
    font-size: 0.85rem;
  }
  
  .lead {
    font-size: 1rem !important;
    line-height: 1.5;
  }
  
  .btn {
    padding: 14px 20px;
    font-size: 1rem;
    max-width: 260px;
  }
  
  /* Disable parallax on mobile for better performance */
  .hero-bg,
  .cta-band {
    background-attachment: scroll !important;
  }
  
  /* Mobile instructor cards layout */
  .inst-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .inst-photo {
    align-self: center;
    margin-bottom: 12px;
  }
  
  /* Prevent iOS zoom on form inputs */
  input, textarea, select {
    font-size: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
  }
}

/* Very small screens (older phones) */
@media (max-width: 320px) {
  .container {
    padding: 0 8px;
  }
  
  .nav-controls {
    gap: 4px;
  }
  
  .theme-toggle,
  .nav-toggle {
    width: 40px;
    height: 36px;
  }
  
  .theme-icon {
    font-size: 16px;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .site-header {
    padding-top: env(safe-area-inset-top);
  }
  
  .nav-menu {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

/* Smooth theme transitions */
* {
  transition: background-color 0.3s ease, 
              border-color 0.3s ease, 
              color 0.3s ease,
              box-shadow 0.3s ease;
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  [data-reveal] {
    transform: none !important;
  }
  
  .hero-bg::before,
  .stripe::before,
  .cta-band::before {
    animation: none !important;
  }
  
  /* Disable hover transforms on mobile for better performance */
  @media (max-width: 900px) {
    .feature:hover,
    .card:hover,
    .curr-card:hover,
    .inst-card:hover,
    .pt-card:hover {
      transform: none !important;
    }
  }
}
/* Minimal Footer Quick Actions */
.footer-quick-actions {
  margin-bottom: 1.5rem;
}

.footer-quick-actions .footer-head {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-cta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Minimal Slim Button Style */
.footer-cta {
  display: inline-block;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  color: #fff;
  background: transparent;
  border-left: 2px solid #E53935;
  border-radius: 0;
  transition: all 0.2s ease;
}

/* Hover Effect */
.footer-cta:hover {
  padding-left: 1.25rem;
  color: #E53935;
  border-left-width: 3px;
}

/* Active State */
.footer-cta:active {
  color: #C62828;
}

/* Responsive */
@media (min-width: 768px) {
  .footer-cta {
    font-size: 0.9375rem;
  }
}


/* Footer Social Media Icons - Instagram & WhatsApp */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Instagram Gradient on Hover */
.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* WhatsApp Green on Hover */
.social-link.whatsapp:hover {
  background: #25D366;
}

/* Screen Reader Only Text */
.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;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-social {
    justify-content: center;
    margin-top: 1rem;
  }
}
