/* ============================================
   EDU CAREER INDIA - MODERN REDESIGN
   Brand Colors: #2563eb (blue), #f59e0b (gold), #10b981 (teal), #8b5cf6 (purple)
   Technologies: GSAP 3.12+, SplitType.js, Lenis, Three.js
   ============================================ */

:root {
  /* Brand Colors - Inspired by Sample 2.png */
  --primary-blue: #2563eb;
  --primary-navy: #0a1628; /* Deep navy blue from sample 2.png */
  --secondary-gold: #f59e0b;
  --accent-teal: #10b981;
  --accent-purple: #8b5cf6;
  --accent-orange: #ff6b35;
  --dark: #0a1628; /* Updated to match sample */
  --dark-blue: #1e40af;
  --navy-light: #1a2844; /* Lighter navy for layering */
  --light: #f8fafc;
  --white: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #64748b;

  /* Gradients - Deep navy theme */
  --gradient-primary: linear-gradient(135deg, #0a1628 0%, #1a2844 100%);
  --gradient-navy: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #2563eb 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-multi: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
  --gradient-stats: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #2563eb 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Typography - Modern Professional Fonts */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'DM Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.08);
  --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.12);
  --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.16);
  --shadow-xl: 0 16px 48px rgba(37, 99, 235, 0.2);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.4);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Transitions */
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll will be handled by Lenis */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
  background: var(--white);
  overflow-x: hidden;
  word-wrap: break-word; /* Prevent awkward word breaking */
  overflow-wrap: break-word;
  hyphens: none; /* Disable hyphenation */
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em; /* Tighter letter-spacing for modern look */
  word-wrap: break-word; /* Prevent word breaking */
  overflow-wrap: break-word; /* Prevent word breaking */
  hyphens: none; /* Disable hyphenation */
}

/* Modern typography with better proportions */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}
h3 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 600;
  line-height: 1.3;
}
h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

/* Animated text elements (for SplitType.js + GSAP) */
.animate-text {
  opacity: 1;
}

.animate-text .word {
  display: inline-block;
  white-space: nowrap;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
}

/* ============================================
   TEXT EFFECTS - GRADIENT & COLORED TEXT
   ============================================ */
/* Gradient text effect - darker for better visibility on white */
.gradient-text {
  background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%); /* Darker blue/purple */
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--primary-blue);
  background-clip: text;
  display: inline-block;
  white-space: nowrap; /* Prevent word breaking on gradient text */
}

/* Blue highlight text */
.text-blue {
  color: var(--primary-blue);
  font-weight: 700;
  white-space: nowrap;
}

/* Gold highlight text */
.text-gold {
  color: var(--secondary-gold);
  font-weight: 700;
  white-space: nowrap;
}

/* Teal highlight text */
.text-teal {
  color: var(--accent-teal);
  font-weight: 700;
  white-space: nowrap;
}

/* Purple highlight text */
.text-purple {
  color: var(--accent-purple);
  font-weight: 700;
  white-space: nowrap;
}

/* Underline accent for emphasis */
.text-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.text-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

/* Text color highlight (NO background box) */
.text-highlight {
  color: var(--secondary-gold);
  font-weight: 700;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

/* Section Spacing */
.section {
  padding: 80px 0;
}

.section-lg {
  padding: 120px 0;
}

.section-header {
  margin-bottom: 4rem;
  position: relative;
}

/* Section badge - appears ABOVE heading on its own line */
.section-badge {
  display: block;
  width: fit-content;
  margin: 0 auto 1.5rem auto;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  color: var(--primary-blue);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.section-title {
  margin-bottom: 1.25rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

/* Modern underline accent like Learnova */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-purple));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 1.5rem auto 0;
  line-height: 1.8;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.4s var(--transition-smooth);
}

/* Transparent header on homepage (before scroll) */
.header.transparent {
  background: rgba(10, 22, 40, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: none;
}

.header.transparent .nav-link {
  color: var(--white);
}

.header.transparent .nav-link:hover {
  color: var(--secondary-gold);
}

.header.transparent .nav-link::after {
  background: var(--secondary-gold);
}

.header.transparent .logo-edu,
.header.transparent .logo-career,
.header.transparent .logo-india {
  color: var(--white);
}

.header.transparent .mobile-toggle span {
  background: var(--white);
}

.header.transparent .btn-cta {
  background: var(--gradient-gold);
  color: var(--white);
  border-color: transparent;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--spacing-md);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.logo-image {
  display: block;
}

.site-logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.site-logo-img:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .site-logo-img {
    height: 40px;
    max-width: 150px;
  }
}

.logo-edu {
  color: var(--primary-blue);
}

.logo-career {
  color: var(--secondary-gold);
}

.logo-india {
  color: var(--accent-purple);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

/* CTA Button in Header */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-gold);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #ff8c00 0%, #f59e0b 100%);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1000;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile toggle active state (hamburger to X animation) */
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

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

/* OFF-CANVAS MOBILE MENU */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex; /* Show hamburger menu on mobile */
  }

  .btn-cta {
    display: none; /* Hidden on mobile, shown in menu */
  }

  .nav-menu {
    display: flex !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #1a2844 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 30px 40px;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    transition: right 0.4s var(--transition-smooth);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    margin-bottom: 8px;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(37, 99, 235, 0.2);
    color: var(--white);
    transform: translateX(8px);
  }

  /* Mobile menu overlay */
  .nav-menu.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

/* ============================================
   HERO BANNER WITH SLIDER
   ============================================ */
.hero-modern {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  margin-top: 0; /* Ensure hero starts at top */
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(26, 40, 68, 0.92) 50%, rgba(37, 99, 235, 0.85) 100%);
  z-index: 1;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  padding-top: 180px; /* Increased from 120px for proper spacing from header */
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem); /* Reduced from 5rem to 3.75rem */
  margin-bottom: 1.5rem;
  font-weight: 700; /* Reduced from 800 to 700 for elegance */
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.03em; /* Tighter for modern aesthetic */
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.7;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Floating Badges in Hero */
.hero-float-badge {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatAnimation 6s ease-in-out infinite;
  border: 2px solid rgba(37, 99, 235, 0.2);
}

.hero-float-1 {
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.hero-float-2 {
  top: 50%;
  right: 8%;
  animation-delay: 2s;
}

.hero-float-3 {
  bottom: 25%;
  right: 12%;
  animation-delay: 4s;
}

@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.float-icon {
  font-size: 2rem;
  line-height: 1;
}

.float-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-blue);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .hero-float-badge {
    display: none;
  }
}

/* Slider Controls */
.hero-slider-controls {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: var(--white);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 12px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--white);
  width: 32px;
  border-radius: 6px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.875rem;
  opacity: 0.8;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem; /* Reduced from 1.125rem 2.5rem */
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-primary);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  background: var(--dark-blue);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-glow:hover::before {
  width: 300px;
  height: 300px;
}

.btn-large {
  padding: 0.875rem 2rem; /* Reduced from 1.25rem 3rem */
  font-size: 1.0625rem;
}

/* ============================================
   HERO FLOATING STAT BADGES (Sample 2.png style)
   ============================================ */
.hero-float-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  animation: floatAnimation 6s ease-in-out infinite;
  opacity: 0;
}

.hero-float-1 {
  top: 25%;
  right: 10%;
  animation-delay: 0.3s;
}

.hero-float-2 {
  top: 45%;
  right: 8%;
  animation-delay: 0.6s;
}

.hero-float-3 {
  top: 65%;
  right: 12%;
  animation-delay: 0.9s;
}

.float-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.float-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.float-text {
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 500;
}

.float-number {
  font-size: 1.5rem;
  font-weight: 700;
  display: inline-block;
  color: var(--secondary-gold);
}

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

/* Hide floating badges on mobile/tablet */
@media (max-width: 1024px) {
  .hero-float-badge {
    display: none;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeInUp 1s ease 2s forwards;
  opacity: 0;
}

.scroll-indicator span {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
  animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
  0% { height: 40px; opacity: 1; }
  100% { height: 0; opacity: 0; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 20px;
  }
}

/* Hero CTA/Buttons */
.hero-cta, .hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
/* ============================================
   STATISTICS SECTION
   ============================================ */
.stats-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #2563eb 100%);
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(10, 22, 40, 0.3);
}

/* Modern wave divider at bottom */
.stats-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23ffffff" fill-opacity="1"></path></svg>') no-repeat;
  background-size: cover;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/images/pattern-dots.png');
  opacity: 0.08;
  background-size: 400px;
}

.stats-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('/assets/images/pattern-lines.png');
  opacity: 0.05;
  background-size: 600px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Fixed 4 columns on desktop */
  gap: 2rem;
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* Responsive stats grid */
@media (max-width: 1199px) and (min-width: 601px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-card {
    padding: 2rem 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }
}

/* Ensure 4 columns on larger tablets and desktops */
@media (min-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.stat-card {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 240px; /* Ensure equal heights */
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.stat-number {
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--secondary-gold);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--secondary-gold);
}

.stat-icon img {
  width: 50px;
  height: 50px;
  filter: brightness(0) invert(1);
}

.stat-number {
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1;
  display: inline-block;
}

.stat-suffix {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--secondary-gold);
  margin-left: 0.25rem;
  display: inline-block;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-top: 1rem;
  font-weight: 500;
}
/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (max-width: 1199px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.partner-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e2e8f0;
  transition: all 0.4s ease;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.partner-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
  transform: translateY(-5px);
}

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

.partner-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.4s ease;
}

.partner-card:hover .partner-logo img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.partner-placeholder {
  font-size: 2.5rem;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.partner-card:hover .partner-placeholder {
  opacity: 1;
  transform: scale(1.15);
}

/* ============================================
   GLOBE SECTION - LEFT TEXT, RIGHT GLOBE
   ============================================ */
.globe-section {
  padding: 120px 0;
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.globe-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* Grid layout: Text left, Globe right */
.globe-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50/50 split */
  gap: 6rem;
  align-items: center;
  margin-bottom: 4rem;
}

.globe-text-content {
  padding-right: 2rem;
}

.globe-text-content .section-badge {
  margin: 0 0 1.5rem 0; /* Left-aligned badge */
}

.globe-text-content h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.globe-text-content p {
  text-align: left;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.globe-container {
  width: 100%;
  height: 500px;
  position: relative;
  background: transparent; /* NO background */
  border-radius: 0; /* NO border radius */
  overflow: visible; /* Allow globe to overflow slightly */
}

#globe-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Responsive: Stack on tablets/mobile */
@media (max-width: 1024px) {
  .globe-content-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .globe-text-content {
    padding-right: 0;
    text-align: center;
  }

  .globe-text-content .section-badge {
    margin: 0 auto 1.5rem auto;
  }

  .globe-text-content h2,
  .globe-text-content p {
    text-align: center;
  }
}

.globe-locations {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
}

.location-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  transition: all 0.4s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.location-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-multi);
  transition: left 0.4s ease;
  z-index: 0;
}

.location-tag:hover::before {
  left: 0;
}

.location-tag:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2);
  color: var(--white);
  border-color: transparent;
}

.location-tag span,
.location-tag .location-flag {
  position: relative;
  z-index: 1;
}

.location-flag {
  font-size: 1.5rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: 100px 0;
  background: var(--white);
}

.features-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Fixed 4 columns on desktop */
  gap: 3rem;
  margin-top: 4rem;
}

/* Responsive grid for tablets and mobile */
@media (max-width: 1199px) and (min-width: 769px) {
  .features-grid-modern {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .features-grid-modern {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 2rem;
  }
}

/* Ensure 4 columns on larger screens */
@media (min-width: 1200px) {
  .features-grid-modern {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.feature-card-modern {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--transition-smooth);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-multi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.feature-card-modern:hover {
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.12);
  transform: translateY(-12px);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

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

.feature-icon-modern {
  width: 90px;
  height: 90px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.feature-icon-modern::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-multi);
  border-radius: var(--radius-xl);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.feature-card-modern:hover .feature-icon-modern {
  transform: translateY(-10px) scale(1.05);
}

.feature-card-modern:hover .feature-icon-modern::after {
  opacity: 1;
}

.feature-icon-modern img {
  width: 48px;
  height: 48px;
  transition: all 0.5s ease;
  position: relative;
  z-index: 1;
}

.feature-card-modern:hover .feature-icon-modern img {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

.feature-card-modern h3 {
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1.5rem;
}

.feature-card-modern p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 3rem;
  margin-top: 4rem;
}

/* Responsive services grid - prevents 3+1 layout */
@media (max-width: 1199px) and (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    gap: 2.5rem;
  }
}

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

.service-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.5s var(--transition-smooth);
  background: var(--white);
  opacity: 0;
  transform: scale(0.95);
  display: flex;
  flex-direction: column;
  min-height: 600px;
  border: 1px solid #e2e8f0;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-multi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  z-index: 10;
}

.service-card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.18);
  border-color: transparent;
}

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

.service-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.service-card:hover .service-image img {
  transform: scale(1.15);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-link {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border: 2px solid var(--white);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.service-link:hover {
  background: var(--white);
  color: var(--primary-blue);
}

.service-content {
  padding: 2.5rem;
  flex: 1; /* Grow to fill available space */
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.service-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.service-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

.service-features li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li::before {
  content: '✓';
  color: var(--accent-teal);
  font-weight: bold;
  font-size: 1.25rem;
}

/* ============================================
   SERVICE CARDS - STACKING DESIGN
   ============================================ */
.services-stacking-container {
  position: relative;
  margin-top: 4rem;
}

.service-card-stack {
  position: sticky;
  top: 100px;
  margin-bottom: 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease-out;
}

.service-card-stack:hover {
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.15);
  transform: translateY(-4px);
}

.service-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 500px;
}

.service-image-stack {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.service-image-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.service-card-stack:hover .service-image-stack img {
  transform: scale(1.05);
}

.service-content-stack {
  padding: 3rem;
}

.service-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  color: var(--primary-blue);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.service-content-stack h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
  line-height: 1.2;
}

.service-content-stack p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1.0625rem;
}

.service-content-stack .service-features {
  margin-bottom: 2rem;
}

.service-content-stack .btn {
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-card-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-image-stack {
    height: 300px;
  }

  .service-content-stack {
    padding: 2rem;
  }

  .service-card-stack {
    top: 80px;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #eff6ff 0%, #f3e8ff 100%);
  overflow: hidden;
}

.testimonials-carousel {
  position: relative;
  max-width: 1400px;
  margin: 3rem auto 0;
  padding: 0 60px;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.5rem);
  min-width: calc(33.333% - 1.5rem);
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid var(--primary-blue);
}

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

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.testimonial-course {
  font-size: 0.875rem;
  color: var(--primary-blue);
  font-weight: 500;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: scale(1.1);
}

/* Responsive testimonials */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .testimonials-carousel {
    padding: 0 40px;
  }

  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .testimonial-track {
    gap: 1.5rem;
  }
}

.testimonials-carousel {
  position: relative;
  margin-top: 4rem;
  padding: 2rem 0;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  padding: 1rem;
  justify-content: center; /* Always keep cards centered */
  align-items: flex-start;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform; /* Optimize animation performance */
}

/* On desktop, show 3 cards - center them */
@media (min-width: 1200px) {
  .testimonials-carousel {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-track {
    justify-content: center;
  }
}

/* On tablets, show 2 cards */
@media (min-width: 768px) and (max-width: 1199px) {
  .testimonial-track {
    justify-content: center;
  }
}

/* On mobile, show 1 card centered */
@media (max-width: 767px) {
  .testimonial-track {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.testimonial-card {
  flex: 0 0 auto; /* Don't grow or shrink */
  width: 380px; /* Fixed width instead of min-width */
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: all 0.4s ease;
}

/* Responsive card width */
@media (max-width: 1199px) {
  .testimonial-card {
    width: 350px;
  }
}

@media (max-width: 767px) {
  .testimonial-card {
    width: 100%;
    max-width: 350px;
  }
}

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

.testimonial-image {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-blue);
}

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

.testimonial-stars {
  color: var(--secondary-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 4px;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.testimonial-course {
  color: var(--primary-blue);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.carousel-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: scale(1.1);
}

/* ============================================
   PAGE HERO (About/Courses/Other Pages)
   ============================================ */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding-top: 150px;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   WHITE SECTION (Mission, etc)
   ============================================ */
.white-section {
  padding: 100px 0;
  background: var(--white);
}

.mission-content {
  max-width: 900px;
  margin: 3rem auto 0;
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.8;
  text-align: center;
  color: var(--text-primary);
  padding: 3rem;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.story-content {
  max-width: 900px;
  margin: 3rem auto 0;
}

.story-content p {
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

/* ============================================
   PROCESS SECTION (5-Step Process)
   ============================================ */
.process-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.process-step {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease-out;
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease-out;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.process-step:hover::before {
  transform: scaleX(1);
}

.process-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-gold);
  margin-bottom: 1rem;
  line-height: 1;
  font-family: var(--font-heading);
}

.process-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.process-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.process-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 1200px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================
   CARD STACKING ANIMATION (Courses Page)
   ============================================ */
.stacking-cards-container {
  position: relative;
  padding: 100px 0;
}

.stacking-card {
  position: sticky;
  top: 120px;
  margin-bottom: 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease-out;
}

.stacking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(37, 99, 235, 0.15);
}

.course-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.course-card-image {
  position: relative;
  overflow: hidden;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.stacking-card:hover .course-card-image img {
  transform: scale(1.05);
}

.course-card-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-badge-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-gold);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.course-card-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.course-card-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.course-features-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.course-features-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.course-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 24px;
  height: 24px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

@media (max-width: 968px) {
  .course-card-grid {
    grid-template-columns: 1fr;
  }

  .course-card-image {
    min-height: 300px;
  }

  .stacking-card {
    top: 100px;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(37, 99, 235, 0.88) 50%, rgba(139, 92, 246, 0.88) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.cta-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.95;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, #0a1628 0%, #1a2844 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--secondary-gold);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-contact p {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.875rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: var(--secondary-gold);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

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

.footer-separator {
  color: rgba(255, 255, 255, 0.3);
}

.footer-credit {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
  color: var(--secondary-gold);
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: #fbbf24;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .testimonial-card {
    min-width: 350px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-modern {
    height: auto;
    min-height: 600px;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-slider-controls {
    bottom: 30px;
  }

  /* Stats and features grids already handled above */
  /* Services grid already handled above */

  .service-card {
    max-width: 500px;
    margin: 0 auto;
  }

  /* Testimonial card width handled above */

  .globe-container {
    height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: 2.5rem;
  }

  .hero-slider-controls {
    gap: 1rem;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .location-tag {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   COURSES OVERVIEW GRID
   ============================================ */
.courses-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 2rem;
  margin-top: 4rem;
}

/* Tablet: 2 columns */
@media (max-width: 1199px) and (min-width: 769px) {
  .courses-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
  .courses-overview-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.fade-in {
  opacity: 0;
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
}

.slide-right {
  opacity: 0;
  transform: translateX(50px);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
}
