/* ================================================
   Genius Classes - Foreign Language Institute
   Complete CSS Stylesheet
   ================================================ */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Colors */
  --primary: #1a365d;
  --primary-light: #2c5282;
  --primary-dark: #0f2942;
  --secondary: #d69e2e;
  --secondary-light: #ecc94b;
  --accent: #e53e3e;
  --accent-light: #fc8181;

  /* Background Colors */
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --bg-dark: #1a202c;
  --bg-darker: #0d1117;

  /* Text Colors */
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #ffffff;
  --text-muted: #718096;

  /* Utility Colors */
  --success: #38a169;
  --warning: #dd6b20;
  --info: #3182ce;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  --gradient-secondary: linear-gradient(135deg, #d69e2e 0%, #ecc94b 100%);
  --gradient-accent: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%);
  --gradient-dark: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans Pro', -apple-system, sans-serif;
  --font-accent: 'Crimson Text', Georgia, serif;

  /* Font Sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-slower: 500ms ease;

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;
  --z-chatbot: 450;
}

/* 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: var(--fs-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: var(--fs-6xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-base); }

p {
  margin-bottom: var(--space-4);
}

.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.text-gold { color: var(--secondary); }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm {
  max-width: 960px;
}

.container-lg {
  max-width: 1400px;
}

/* Section Styles */
.section {
  padding: var(--space-24) 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-light {
  background-color: var(--bg-white);
}

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

.section-title {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: var(--space-6) auto 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
}

.btn-primary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-dark {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
}

.btn-lg {
  padding: var(--space-6) var(--space-12);
  font-size: var(--fs-lg);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ================================================
   HEADER & NAVIGATION
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(26, 54, 93, 0.98);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
  background: var(--primary);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 10px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

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

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: var(--fs-sm);
  padding: var(--space-2) var(--space-3);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.nav-cta {
  margin-left: var(--space-4);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 201;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--text-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

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

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

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

/* Mobile Navigation Overlay */
  .nav-list {
    display: flex;
  }

  /* Mobile Menu Overlay */
  .mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 54, 93, 0.98);
    backdrop-filter: blur(10px);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    max-height: 100vh;
    overflow-y: auto;
    padding: var(--space-16) var(--space-6);
    justify-content: center;
    width: 100%;
  }

  .mobile-nav-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    z-index: 201;
    color: var(--text-light);
  }

  .mobile-nav-close svg {
    width: 24px;
    height: 24px;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav-cta {
    margin-top: var(--space-4);
  }

@media (max-width: 991px) {
  /* Mobile Navigation for Tablet */
  .mobile-nav-overlay {
    display: flex;
  }

  .mobile-nav-links {
    gap: var(--space-3);
  }

  .mobile-nav-links .nav-link {
    font-size: var(--fs-xl);
    padding: var(--space-4) var(--space-8);
  }

  .mobile-nav-cta .btn {
    padding: var(--space-4) var(--space-8);
  }

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

  .nav-cta {
    display: none;
  }

  /* Hero for tablet */
  .hero {
    padding-top: 90px;
  }

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

  .hero-text {
    order: 1;
  }

  .hero-image {
    order: 0;
    display: flex;
    justify-content: center;
  }

  .hero-description {
    margin: 0 auto var(--space-6);
    max-width: 500px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-photo,
  .hero-photo-placeholder {
    width: 300px;
    height: 300px;
  }

  .hero-float-badge {
    display: none;
  }

  /* Page header for tablet */
  .page-header {
    padding: 110px 0 var(--space-12);
  }

  .page-header h1 {
    font-size: var(--fs-4xl);
  }

  /* About grid for tablet */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-content {
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  /* Contact for tablet */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* Footer for tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer-brand {
    grid-column: span 2;
    text-align: center;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.7) 100%),
              url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1920&q=80') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: var(--text-light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(214, 158, 46, 0.2);
  border: 1px solid var(--secondary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  color: var(--secondary);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
  font-size: var(--fs-6xl);
  color: var(--text-light);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-name {
  color: var(--secondary);
  display: block;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: var(--fs-2xl);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.hero-description {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
  max-width: 500px;
  animation: fadeInUp 0.6s ease 0.5s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  animation: fadeInUp 0.6s ease 0.6s forwards;
  opacity: 0;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-photo-wrapper {
  position: relative;
}

.hero-photo {
  width: 400px;
  height: 400px;
  border-radius: var(--radius-2xl);
  object-fit: cover;
  object-position: center top;
  border: 5px solid var(--secondary);
  box-shadow: var(--shadow-2xl);
  transition: transform var(--transition-base);
}

.hero-photo:hover {
  transform: scale(1.02);
}

.hero-photo-placeholder {
  width: 400px;
  height: 400px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--secondary);
  box-shadow: var(--shadow-2xl);
}

.hero-photo-placeholder svg {
  width: 120px;
  height: 120px;
  color: var(--secondary);
  margin-bottom: var(--space-4);
}

.hero-photo-placeholder span {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--text-light);
}

.hero-float-badge {
  position: absolute;
  background: var(--bg-white);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation: float 3s ease-in-out infinite;
}

.hero-float-badge.top {
  top: -20px;
  right: -20px;
}

.hero-float-badge.bottom {
  bottom: -20px;
  left: -20px;
  animation-delay: 1.5s;
}

.hero-float-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.hero-float-badge-text {
  display: flex;
  flex-direction: column;
}

.hero-float-badge-number {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.hero-float-badge-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* Hero Small Variant */
.hero-sm {
  min-height: 60vh;
}

.hero-sm .hero-title {
  font-size: var(--fs-5xl);
}

.hero-sm .hero-photo,
.hero-sm .hero-photo-placeholder {
  width: 300px;
  height: 300px;
}

/* ================================================
   STATS SECTION
   ================================================ */
.stats {
  background: var(--primary);
  padding: var(--space-16) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat-card {
  text-align: center;
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  background: var(--secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.stat-icon svg {
  width: 32px;
  height: 32px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.8);
}

/* ================================================
   SERVICES SECTION
   ================================================ */
/* ================================================
   SERVICE CARD
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  padding: var(--space-4) 0;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  border: 2px solid var(--secondary);
  background: linear-gradient(135deg, var(--bg-white) 0%, rgba(214, 158, 46, 0.05) 100%);
}

.service-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--accent);
  color: var(--text-light);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  z-index: 1;
}

.service-card.featured .service-badge {
  background: var(--secondary);
  color: var(--primary-dark);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--secondary);
}

.service-title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-4);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--bg-light);
}

.service-price {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--secondary);
}

.service-duration {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.service-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--accent);
  color: var(--text-light);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* Service Featured */
.service-card.featured {
  border: 2px solid var(--secondary);
}

.service-card.featured .service-badge {
  background: var(--secondary);
  color: var(--primary-dark);
}

/* ================================================
   VIDEO SECTION
   ================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding: var(--space-4) 0;
}

.video-card {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--primary-dark);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--secondary-light);
}

.video-play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.video-duration {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  background: rgba(0, 0, 0, 0.8);
  color: var(--text-light);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
}

.video-info {
  padding: var(--space-6);
}

.video-category {
  display: inline-block;
  background: rgba(214, 158, 46, 0.2);
  color: var(--secondary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  margin-bottom: var(--space-3);
}

.video-title {
  font-size: var(--fs-lg);
  color: var(--text-light);
  margin-bottom: var(--space-2);
}

.video-views {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* Featured Video */
.video-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.video-featured .video-thumbnail {
  aspect-ratio: 16/9;
}

.video-featured .video-play-btn {
  width: 96px;
  height: 96px;
}

.video-featured .video-play-btn svg {
  width: 48px;
  height: 48px;
}

/* Video Player Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition-base);
}

.video-modal-close:hover {
  background: var(--accent);
}

/* ================================================
   TESTIMONIALS SECTION
   ================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding: var(--space-4) 0;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
}

.testimonial-quote {
  position: absolute;
  top: var(--space-3);
  right: var(--space-4);
  font-size: 60px;
  font-family: var(--font-heading);
  color: var(--secondary);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  fill: var(--secondary);
}

.testimonial-text {
  font-family: var(--font-accent);
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--bg-light);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-light);
  overflow: hidden;
}

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

.testimonial-author-info {
  flex: 1;
}

.testimonial-name {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.testimonial-role {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.testimonial-course {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-top: var(--space-2);
}

/* Video Testimonial */
.testimonial-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: var(--space-6);
}

.testimonial-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  transition: all var(--transition-base);
}

.testimonial-video:hover .testimonial-video-play {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Testimonial Slider */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 var(--space-4);
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
}

.about-photo-placeholder svg {
  width: 150px;
  height: 150px;
  color: var(--secondary);
  margin-bottom: var(--space-6);
}

.about-photo-placeholder span {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 700;
  color: var(--text-light);
}

.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.about-experience {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--secondary);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.about-experience-number {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--primary-dark);
}

.about-experience-text {
  font-size: var(--fs-sm);
  color: var(--primary-dark);
  font-weight: 600;
}

.about-content h2 {
  margin-bottom: var(--space-6);
}

.about-content h2 span {
  color: var(--secondary);
}

.about-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
}

.about-feature-text {
  font-weight: 500;
}

/* Credentials Section */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* ================================================
   CREDENTIALS SECTION
   ================================================ */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-4) 0;
}

.credential-card {
  background: var(--bg-white);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.credential-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.credential-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  background: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.credential-icon svg {
  width: 32px;
  height: 32px;
}

.credential-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
}

.credential-description {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ================================================
   CONTACT & BOOKING SECTION
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.contact-info {
  background: var(--primary);
  padding: var(--space-12);
  border-radius: var(--radius-2xl);
  color: var(--text-light);
}

.contact-info h3 {
  color: var(--text-light);
  margin-bottom: var(--space-6);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(214, 158, 46, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item-text h4 {
  color: var(--text-light);
  margin-bottom: var(--space-1);
}

.contact-item-text p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.contact-socials {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.contact-social {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition-base);
}

.contact-social:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}

.contact-social svg {
  width: 24px;
  height: 24px;
}

/* Form Styles */
.contact-form {
  background: var(--bg-white);
  padding: var(--space-12);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: var(--space-6);
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: var(--bg-white);
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(214, 158, 46, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234a5568" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 20px;
  padding-right: var(--space-12);
}

.form-error {
  color: var(--accent);
  font-size: var(--fs-sm);
  margin-top: var(--space-2);
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
  border-color: var(--accent);
}

.form-success {
  background: var(--success);
  color: var(--text-light);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  text-align: center;
  display: none;
}

.form-success.show {
  display: block;
  animation: slideIn 0.3s ease;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--bg-darker);
  color: var(--text-light);
  padding: var(--space-16) 0 var(--space-8);
}

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

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

.footer-brand .logo {
  margin-bottom: var(--space-4);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}

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

.footer-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-6);
  color: var(--secondary);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: var(--space-2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-sm);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-sm);
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
  color: var(--secondary);
}

/* ================================================
   WHATSAPP BUTTON
   ================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl);
}

.whatsapp-btn svg {
  width: 36px;
  height: 36px;
  color: var(--text-light);
}

/* ================================================
   CHATBOT
   ================================================ */
.chatbot {
  position: fixed;
  bottom: var(--space-8);
  right: calc(var(--space-8) + 80px);
  z-index: var(--z-chatbot);
}

.chatbot-toggle {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: all var(--transition-base);
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  background: var(--primary-light);
}

.chatbot-toggle svg {
  width: 32px;
  height: 32px;
  color: var(--text-light);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-height: 500px;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-window.active {
  display: flex;
  animation: slideUp 0.3s ease;
}

.chatbot-header {
  background: var(--primary);
  color: var(--text-light);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.chatbot-avatar {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
}

.chatbot-header-info h4 {
  color: var(--text-light);
  margin-bottom: var(--space-1);
}

.chatbot-header-info p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.chatbot-close {
  margin-left: auto;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.chatbot-close:hover {
  background: var(--accent);
}

.chatbot-close svg {
  width: 20px;
  height: 20px;
  color: var(--text-light);
}

.chatbot-messages {
  flex: 1;
  padding: var(--space-4);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.chatbot-message {
  max-width: 85%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.chatbot-message.bot {
  background: var(--bg-light);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: var(--radius-sm);
}

.chatbot-message.user {
  background: var(--primary);
  color: var(--text-light);
  align-self: flex-end;
  border-bottom-right-radius: var(--radius-sm);
}

.chatbot-typing {
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  align-self: flex-start;
}

.chatbot-typing.active {
  display: flex;
}

.chatbot-typing span {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  border-radius: var(--radius-full);
  animation: typing 1.4s infinite;
}

.chatbot-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chatbot-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-3);
  border-top: 1px solid var(--bg-light);
}

.quick-reply {
  background: var(--bg-light);
  color: var(--primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid var(--primary);
}

.quick-reply:hover {
  background: var(--primary);
  color: var(--text-light);
}

.chatbot-input-container {
  padding: var(--space-4);
  border-top: 1px solid var(--bg-light);
  display: flex;
  gap: var(--space-2);
}

.chatbot-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-light);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
}

.chatbot-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--secondary);
}

.chatbot-send {
  width: 44px;
  height: 44px;
  background: var(--secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.chatbot-send:hover {
  background: var(--secondary-light);
}

.chatbot-send svg {
  width: 20px;
  height: 20px;
  color: var(--primary-dark);
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(26, 54, 93, 0.85) 100%),
              url('https://images.unsplash.com/photo-1531482615713-2afd69097998?w=1920&q=80') center/cover no-repeat;
  padding: var(--space-24) 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: var(--space-6);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  font-size: var(--fs-lg);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

/* ================================================
   PAGE HEADER (Inner Pages)
   ================================================ */
.page-header {
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.8) 100%),
              url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1920&q=80') center/cover no-repeat;
  padding: calc(var(--space-24) + 70px) 0 var(--space-16);
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  background-size: 50px 50px;
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--text-light);
  margin-bottom: var(--space-4);
  font-size: var(--fs-5xl);
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-lg);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.breadcrumb a {
  color: var(--secondary);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--secondary-light);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
  color: rgba(255, 255, 255, 0.8);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

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

/* Tablet - 768px to 1199px */
@media (max-width: 1199px) {
  h1 { font-size: var(--fs-5xl); }
  h2 { font-size: var(--fs-3xl); }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }

  .hero-text {
    order: 1;
  }

  .hero-image {
    order: 0;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-photo,
  .hero-photo-placeholder {
    width: 350px;
    height: 350px;
  }

  .hero-photo {
    object-position: center top;
  }

  .services-grid,
  .video-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }

  /* Services page course sections */
  .about-grid[style*="1.2fr 1fr"],
  .about-grid[style*="1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-8);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Responsive grids for inline styles */
  .videos-playlist-grid,
  .testimonial-video-grid,
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .philosophy-grid,
  .review-form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

/* Mobile - Less than 768px */
@media (max-width: 767px) {
  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-2xl); }
  h3 { font-size: var(--fs-xl); }

  .section {
    padding: var(--space-16) 0;
  }

  .container {
    padding: 0 var(--space-4);
  }

  /* Navigation - Mobile Overlay */
  .nav-list {
    display: none;
  }

  .mobile-nav-overlay {
    display: flex;
  }

  .mobile-nav-links {
    gap: var(--space-2);
  }

  .mobile-nav-links .nav-link {
    font-size: var(--fs-lg);
    padding: var(--space-3) var(--space-6);
    width: 100%;
    text-align: center;
  }

  .mobile-nav-cta .btn {
    width: 100%;
    max-width: 280px;
    padding: var(--space-4) var(--space-8);
  }

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

  .header {
    z-index: 200;
  }

  .nav-cta {
    display: none;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--space-16);
  }

  .hero-sm {
    padding-top: 100px;
    padding-bottom: var(--space-12);
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: var(--space-8);
  }

  .hero-image {
    order: -1;
  }

  .hero-text {
    order: 1;
  }

  .hero-title {
    font-size: var(--fs-3xl);
  }

  .hero-tagline {
    font-size: var(--fs-xl);
  }

  .hero-description {
    margin: 0 auto var(--space-6);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    padding: var(--space-4) var(--space-6);
  }

  .hero-float-badge {
    display: none;
  }

  .hero-photo,
  .hero-photo-placeholder {
    width: 220px;
    height: 220px;
  }

  .hero-photo {
    object-position: center top;
  }

  /* Page Header */
  .page-header {
    padding: 100px 0 var(--space-12);
  }

  .page-header h1 {
    font-size: var(--fs-3xl);
  }

  .page-header p {
    font-size: var(--fs-base);
  }

  .breadcrumb {
    flex-wrap: wrap;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .stat-card {
    padding: var(--space-5);
  }

  .stat-number {
    font-size: var(--fs-2xl);
  }

  .stat-icon {
    width: 50px;
    height: 50px;
  }

  .stat-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .service-card {
    padding: var(--space-6);
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon svg {
    width: 28px;
    height: 28px;
  }

  /* Videos */
  .video-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .video-featured {
    grid-column: span 1;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .testimonial-card {
    padding: var(--space-6);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .about-image {
    max-width: 350px;
    margin: 0 auto;
  }

  .about-content {
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .about-experience {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: var(--space-4);
    display: inline-block;
  }

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

  .credential-card {
    padding: var(--space-5);
  }

  .credential-icon {
    width: 50px;
    height: 50px;
  }

  .credential-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .contact-info {
    padding: var(--space-8);
  }

  .contact-form {
    padding: var(--space-8);
  }

  .form-group {
    margin-bottom: var(--space-4);
  }

  /* CTA */
  .cta-section {
    padding: var(--space-16) 0;
  }

  .cta-section h2 {
    font-size: var(--fs-2xl);
  }

  .cta-section p {
    font-size: var(--fs-base);
    padding: 0 var(--space-4);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
    padding-top: var(--space-6);
  }

  .footer-contact-item {
    justify-content: center;
  }

  /* WhatsApp Button */
  .whatsapp-btn {
    width: 56px;
    height: 56px;
    bottom: var(--space-4);
    right: var(--space-4);
  }

  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }

  /* Chatbot */
  .chatbot {
    bottom: var(--space-4);
    right: calc(var(--space-4) + 70px);
  }

  .chatbot-toggle {
    width: 56px;
    height: 56px;
  }

  .chatbot-window {
    width: calc(100vw - var(--space-8) * 2);
    right: -10px;
    max-width: 350px;
  }

  .chatbot-header {
    padding: var(--space-4);
  }

  .chatbot-messages {
    padding: var(--space-3);
  }

  /* Section Header */
  .section-title {
    font-size: var(--fs-2xl);
  }

  .section-subtitle {
    font-size: var(--fs-base);
    padding: 0 var(--space-4);
  }

  .section-header {
    margin-bottom: var(--space-10);
  }

  /* Video Modal */
  .video-modal {
    padding: var(--space-4);
  }

  .video-modal-content {
    border-radius: var(--radius-lg);
  }

  .video-modal-close {
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
  }

  /* Tables */
  table {
    font-size: var(--fs-sm);
  }

  th, td {
    padding: var(--space-3) !important;
  }

  /* Buttons */
  .btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--fs-sm);
  }

  .btn-lg {
    padding: var(--space-4) var(--space-6);
    font-size: var(--fs-base);
  }

  .btn-sm {
    padding: var(--space-2) var(--space-3);
  }

  /* Forms */
  .form-input,
  .form-select,
  .form-textarea {
    padding: var(--space-3);
    font-size: var(--fs-sm);
  }

  .form-textarea {
    min-height: 120px;
  }

  /* Headers */
  h1 { font-size: var(--fs-3xl) !important; }
  h2 { font-size: var(--fs-2xl) !important; }
  h3 { font-size: var(--fs-xl) !important; }
  h4 { font-size: var(--fs-lg) !important; }

  /* Section padding */
  .section {
    padding: var(--space-12) 0;
  }

  /* About Grid 2 columns */
  .about-grid[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-8);
  }

  .about-grid[style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .about-grid[style*="grid-template-columns: 1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .stat-card {
    padding: var(--space-6);
  }

  .stat-number {
    font-size: var(--fs-2xl);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: var(--space-6);
  }

  /* Videos */
  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-featured {
    grid-column: span 1;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-features {
    grid-template-columns: 1fr;
  }

  .about-experience {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: var(--space-6);
  }

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

  /* Contact */
  .contact-info {
    padding: var(--space-8);
  }

  .contact-form {
    padding: var(--space-8);
  }

  /* CTA */
  .cta-section {
    padding: var(--space-16) 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

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

  /* WhatsApp Button */
  .whatsapp-btn {
    width: 56px;
    height: 56px;
    bottom: var(--space-4);
    right: var(--space-4);
  }

  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }

  /* Chatbot */
  .chatbot {
    bottom: var(--space-4);
    right: calc(var(--space-4) + 70px);
  }

  .chatbot-toggle {
    width: 56px;
    height: 56px;
  }

  .chatbot-window {
    width: calc(100vw - var(--space-8) * 2);
    right: calc(-1 * var(--space-8) - 70px);
    max-width: 350px;
  }

  /* Page Header */
  .page-header {
    padding: calc(var(--space-16) + 70px) 0 var(--space-12);
  }

  .page-header h1 {
    font-size: var(--fs-3xl);
  }

  /* Buttons */
  .btn {
    padding: var(--space-3) var(--space-6);
  }

  .btn-lg {
    padding: var(--space-4) var(--space-8);
  }

  /* Section Header */
  .section-title {
    font-size: var(--fs-3xl);
  }

  .section-subtitle {
    font-size: var(--fs-base);
  }
}

/* Video Playlists & Multi-column Grids (used with inline styles) */
.videos-playlist-grid,
.testimonial-video-grid,
.philosophy-grid,
.contact-cards-grid,
.review-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .hero {
    padding-top: 90px;
    padding-bottom: var(--space-12);
  }

  .hero-sm {
    padding-top: 90px;
    padding-bottom: var(--space-10);
  }

  .hero-title {
    font-size: var(--fs-2xl);
  }

  .hero-tagline {
    font-size: var(--fs-lg);
  }

  .hero-photo,
  .hero-photo-placeholder {
    width: 180px;
    height: 180px;
  }

  .hero-photo {
    object-position: center top;
  }

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

  .stat-card {
    padding: var(--space-4);
  }

  .stat-number {
    font-size: var(--fs-xl);
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: var(--fs-base);
  }

  .logo-title {
    font-size: var(--fs-sm);
  }

  .logo-subtitle {
    display: none;
  }

  .nav-link {
    font-size: var(--fs-lg);
    padding: var(--space-3) var(--space-5);
  }

  .page-header {
    padding: 90px 0 var(--space-10);
  }

  .page-header h1 {
    font-size: var(--fs-2xl);
  }

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

  .container {
    padding: 0 var(--space-3);
  }

  h1 { font-size: var(--fs-2xl) !important; }
  h2 { font-size: var(--fs-xl) !important; }
  h3 { font-size: var(--fs-lg) !important; }

  .services-grid,
  .video-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .service-card,
  .testimonial-card {
    padding: var(--space-5);
  }

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

  .footer-grid {
    gap: var(--space-6);
  }

  .btn-lg {
    padding: var(--space-3) var(--space-5);
    font-size: var(--fs-sm);
  }

  .hero-buttons .btn {
    max-width: 260px;
  }

  /* Responsive grids for inline styles */
  .videos-playlist-grid,
  .testimonial-video-grid,
  .contact-cards-grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

  .form-grid-2col {
    grid-template-columns: 1fr !important;
  }

  .services-checkmarks {
    grid-template-columns: 1fr !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  body {
    background-color: var(--bg-darker);
    color: #1a365d;
  }

  .service-card,
  .testimonial-card,
  .credential-card,
  .contact-form {
    background: #f2f9ff;
    color: var(--text-light);
  }
}

/* Print Styles */
@media print {
  .header,
  .whatsapp-btn,
  .chatbot,
  .hero-float-badge {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: var(--space-16) 0;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}