/* ============================================================
   ILI FOREIGN LANGUAGE INSTITUTE — DESIGN SYSTEM
   Purple + Gold Theme | GSAP Animations | Lucide Icons
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --primary: #7C3AED;
  --primary-dark: #5B21B6;
  --primary-light: #A78BFA;
  --primary-lighter: #DDD6FE;
  --accent: #F59E0B;
  --accent-light: #FCD34D;
  --accent-glow: rgba(245, 158, 11, 0.25);

  --dark-bg: #0F0A1A;
  --dark-bg-2: #170D2E;
  --mid-bg: #1E1033;
  --card-bg: #2D1B69;
  --card-bg-light: #3D2580;
  --surface: #F5F3FF;
  --surface-2: #EDE9FE;

  --text-light: #F1F5F9;
  --text-light-2: #CBD5E1;
  --text-dark: #1E104A;
  --text-dark-2: #6B7280;

  --white: #FFFFFF;
  --black: #000000;
  --success: #10B981;
  --error: #EF4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #7C3AED, #5B21B6);
  --gradient-gold: linear-gradient(135deg, #F59E0B, #D97706);
  --gradient-hero: linear-gradient(135deg, #0F0A1A 0%, #1E1033 50%, #0F0A1A 100%);
  --gradient-card: linear-gradient(145deg, #2D1B69, #1E1033);
  --gradient-surface: linear-gradient(180deg, #F5F3FF, #EDE9FE);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.1);
  --shadow-md: 0 4px 20px rgba(124, 58, 237, 0.15);
  --shadow-lg: 0 8px 40px rgba(124, 58, 237, 0.2);
  --shadow-xl: 0 16px 60px rgba(124, 58, 237, 0.25);
  --shadow-gold: 0 4px 20px rgba(245, 158, 11, 0.3);
  --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.4);

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1280px;
  --container-padding: 24px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index */
  --z-sticky: 100;
  --z-modal: 200;
  --z-chat: 150;
  --z-tooltip: 300;
  --z-top: 400;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--dark-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ---------- Text Selection ---------- */
::selection {
  background: var(--primary);
  color: var(--white);
}

/* ---------- Focus Visible ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  color: var(--text-light-2);
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-text {
  color: var(--accent);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition-spring);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  min-height: 48px;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

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

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  transform: translateY(-2px);
  background: rgba(124, 58, 237, 0.08);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

/* ---------- Section Styles ---------- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

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

.section-mid {
  background: var(--mid-bg);
}

.section-surface {
  background: var(--surface);
}

.section-surface h2,
.section-surface h3,
.section-surface h4,
.section-surface p {
  color: var(--text-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light-2);
  max-width: 600px;
  margin: 0 auto;
}

.section-surface .section-subtitle {
  color: var(--text-dark-2);
}

/* ---------- Background Orbs ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb-primary {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
}

.orb-gold {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 70%);
}

.orb-sm { width: 300px; height: 300px; }
.orb-md { width: 500px; height: 500px; }
.orb-lg { width: 800px; height: 800px; }

/* ---------- Grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

/* ---------- Cards ---------- */
.card {
  background: var(--gradient-card);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-xl);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-light);
  transition: var(--transition-spring);
}

.card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-light);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-light-2);
  line-height: 1.6;
}

/* ---------- Tags / Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-popular {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-new {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-hot {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-gold {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-light);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* ---------- Divider ---------- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  margin: 20px auto;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(15, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-light);
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  position: relative;
}

.nav-logo-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary);
  opacity: 0.4;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.2); opacity: 0; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light-2);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-light);
  background: rgba(124, 58, 237, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 10, 26, 0.99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: var(--z-sticky);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 100px 20px 40px;
  overflow-y: auto;
  gap: 2px;
}

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

.nav-mobile .nav-link {
  font-size: 1.3rem;
  padding: 14px 24px;
  width: 100%;
  max-width: 320px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background var(--transition-fast);
}

.nav-mobile .nav-link:hover {
  background: rgba(124, 58, 237, 0.12);
}

.nav-mobile .nav-link.active {
  background: rgba(124, 58, 237, 0.15);
  color: var(--text-light);
}

.nav-mobile .btn {
  margin-top: 24px;
  padding: 14px 36px;
  font-size: 0.95rem;
  max-width: 220px;
  width: 100%;
  justify-content: center;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge-icon {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light-2);
  margin-bottom: 40px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-light-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.hero-image-main {
  width: 380px;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.hero-image-accent {
  position: absolute;
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(124, 58, 237, 0.15);
  box-shadow: var(--shadow-lg);
}

.hero-image-accent-1 {
  top: 10px;
  right: -40px;
  z-index: 3;
}

.hero-image-accent-2 {
  bottom: 20px;
  left: -30px;
  z-index: 1;
}

.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(30, 16, 51, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  z-index: 4;
  box-shadow: var(--shadow-md);
}

.hero-float-badge-top {
  top: 30px;
  right: -20px;
  animation: float 3s ease-in-out infinite;
}

.hero-float-badge-bottom {
  bottom: 60px;
  left: -20px;
  animation: float 3s ease-in-out infinite 1.5s;
}

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

/* Floating Language Badges */
.hero-langs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-lang-badge {
  position: absolute;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  opacity: 0.6;
  white-space: nowrap;
}

.hero-lang-badge:nth-child(1) {
  top: 15%;
  left: -5%;
  animation: float1 4s ease-in-out infinite;
}

.hero-lang-badge:nth-child(2) {
  top: 60%;
  left: -3%;
  animation: float2 5s ease-in-out infinite 0.5s;
}

.hero-lang-badge:nth-child(3) {
  top: 25%;
  right: -5%;
  animation: float3 4.5s ease-in-out infinite 1s;
}

.hero-lang-badge:nth-child(4) {
  top: 75%;
  right: 0%;
  animation: float1 3.5s ease-in-out infinite 0.3s;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -12px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, -8px); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, 6px); }
}

/* ---------- Trust Bar / Marquee ---------- */
.trust-bar {
  padding: 40px 0;
  background: var(--mid-bg);
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  overflow: hidden;
}

.trust-bar-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  opacity: 0.5;
}

.marquee {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light-2);
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Languages Grid ---------- */
.languages-section {
  background: var(--dark-bg);
}

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

.lang-card {
  position: relative;
  padding: 36px 28px;
  background: var(--gradient-card);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  clip-path: inset(0 0 100% 0);
}

.lang-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

.lang-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: var(--shadow-xl);
}

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

.lang-card-flag {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  position: relative;
}

.lang-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}

.lang-card-level {
  font-size: 0.85rem;
  color: var(--text-light-2);
  margin-bottom: 16px;
}

.lang-card-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.lang-card-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  transition: width 1s ease-out;
}

.lang-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* ---------- Why ILI Section ---------- */
.why-section {
  background: var(--mid-bg);
  position: relative;
}

.why-section .orb-1 {
  top: -100px;
  right: -100px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.why-features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.why-feature:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateX(8px);
}

.why-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.why-feature-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.why-feature-text p {
  font-size: 0.85rem;
}

.why-image-wrap {
  position: relative;
  z-index: 1;
}

.why-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.why-image-overlay {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 20px 28px;
  background: var(--gradient-gold);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.why-image-overlay-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.why-image-overlay-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
}

/* ---------- Stats Section ---------- */
.stats-section {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.08), transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(124, 58, 237, 0.15);
}

.stat-item:last-child::after {
  display: none;
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-suffix {
  font-size: 1.5rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ---------- Courses Section ---------- */
.courses-section {
  background: var(--mid-bg);
}

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

.course-card {
  background: var(--gradient-card);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(124, 58, 237, 0.25);
}

.course-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

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

.course-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.course-card-body {
  padding: 28px;
}

.course-card-lang {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.course-card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.course-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.course-card-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-light-2);
}

.course-card-meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--primary-light);
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.course-card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.course-card-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light-2);
  text-decoration: line-through;
  margin-left: 6px;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.testimonials-section .orb-1 {
  top: 0;
  left: -200px;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

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

.testimonial-card {
  flex-shrink: 0;
  width: calc(33.333% - 22px);
  background: var(--gradient-card);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

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

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light-2);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
}

.testimonial-date {
  font-size: 0.75rem;
  color: var(--text-light-2);
}

.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

/* ---------- Study Abroad Banner ---------- */
.study-banner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: var(--mid-bg);
}

.study-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.study-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.study-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 16, 51, 0.95), rgba(15, 10, 26, 0.98));
}

.study-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.study-banner h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}

.study-banner p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* ---------- FAQ Section ---------- */
.faq-section {
  background: var(--surface);
}

.faq-section h2,
.faq-section h3,
.faq-section h4,
.faq-section p {
  color: var(--text-dark);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  transition: var(--transition-spring);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-dark-2);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ---------- Map Section ---------- */
.map-section {
  background: var(--mid-bg);
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.15);
  box-shadow: var(--shadow-xl);
}

.map-embed {
  min-height: 400px;
  background: var(--dark-bg);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  filter: grayscale(0.3) contrast(1.1);
}

.map-info {
  padding: 48px;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.map-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.map-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.map-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.map-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.map-info-value {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 100px 0;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(124, 58, 237, 0.15), transparent 60%);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-2);
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-light-2);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-light-2);
}

/* ---------- Lead Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 26, 0.85);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

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

.modal {
  background: var(--mid-bg);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  padding: 48px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-spring);
  box-shadow: var(--shadow-xl), 0 0 80px rgba(124, 58, 237, 0.2);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-header-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto 16px;
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.9rem;
}

/* ---------- Form Styles ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light-2);
  opacity: 0.5;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
  background: rgba(255,255,255,0.07);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A78BFA' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--mid-bg);
  color: var(--text-light);
}

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

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

.form-error {
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 4px;
}

/* ---------- WhatsApp Button ---------- */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-chat);
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition-spring);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ---------- Chat Widget ---------- */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 92px;
  z-index: var(--z-chat);
}

.chat-bubble {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-spring);
  animation: chatPulse 2s ease-in-out infinite;
}

.chat-bubble:hover {
  transform: scale(1.1);
}

@keyframes chatPulse {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(124, 58, 237, 0.3); }
  50% { box-shadow: var(--shadow-lg), 0 0 0 10px rgba(124, 58, 237, 0); }
}

.chat-bubble .chat-close {
  display: none;
}

.chat-bubble.active .chat-icon {
  display: none;
}

.chat-bubble.active .chat-close {
  display: block;
}

.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  height: 520px;
  background: var(--mid-bg);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: var(--transition-spring);
}

.chat-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  padding: 20px 24px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
}

.chat-header-info h4 {
  font-size: 0.95rem;
  color: var(--white);
}

.chat-header-info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: msgIn 0.3s ease-out;
}

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

.chat-msg.bot .chat-msg-bubble {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.15);
  color: var(--text-light);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px;
  align-self: flex-start;
  max-width: 90%;
}

.chat-msg.user .chat-msg-bubble {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md) var(--radius-md) 4px var(--radius-md);
  align-self: flex-end;
  max-width: 85%;
}

.chat-msg-bubble {
  padding: 10px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px;
  align-self: flex-start;
  width: fit-content;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: typingDot 1.4s ease-in-out infinite;
}

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

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px 20px;
  flex-wrap: wrap;
  gap: 8px;
  flex-direction: row;
}

.chat-btn-option {
  padding: 10px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.chat-btn-option:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ---------- Enquiry Button ---------- */
.enquiry-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: var(--z-chat);
}

.enquiry-btn-main {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: var(--transition-spring);
}

.enquiry-btn-main:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 40px rgba(245, 158, 11, 0.4);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: var(--z-chat);
  width: 44px;
  height: 44px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition-spring);
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateX(-50%) translateY(-4px);
}

/* ---------- Unmask Effect ---------- */
.unmask-container {
  overflow: hidden;
  position: relative;
}

.unmask-reveal {
  clip-path: inset(0 100% 0 0);
}

/* ---------- Scroll Animations ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

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

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

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

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

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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Page Header ---------- */
.page-header {
  padding: 160px 0 80px;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(124, 58, 237, 0.12), transparent 60%);
}

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

.page-header h1 {
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease-out;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-light-2);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.page-breadcrumb a {
  color: var(--primary-light);
  transition: var(--transition-fast);
}

.page-breadcrumb a:hover {
  color: var(--accent);
}

.page-breadcrumb svg {
  width: 14px;
  height: 14px;
}

/* ---------- About Page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 20px;
}

.about-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.about-list-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- Courses Page ---------- */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light-2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--gradient-card);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  transform: translateX(6px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.9rem;
}

.contact-card a {
  color: var(--primary-light);
  transition: var(--transition-fast);
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-form-wrap {
  background: var(--gradient-card);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.contact-form-wrap h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  margin-bottom: 32px;
}

/* ---------- Study Abroad Page ---------- */
.study-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.study-feature-card {
  background: var(--gradient-card);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition-smooth);
}

.study-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: var(--shadow-xl);
}

.study-feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.study-feature-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.study-feature-card p {
  font-size: 0.9rem;
}

/* ---------- Process Steps ---------- */
.process-steps {
  display: flex;
  gap: 32px;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 36px;
  left: 60%;
  right: -60%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(124, 58, 237, 0.2));
}

.process-step:last-child::after {
  display: none;
}

.process-step-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  max-width: 200px;
  margin: 0 auto;
}

/* ---------- 404 Page ---------- */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.not-found h1 {
  font-size: clamp(6rem, 15vw, 12rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.not-found h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.not-found p {
  max-width: 400px;
  margin: 0 auto 32px;
}

/* ---------- Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(124, 58, 237, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    display: none;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

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

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

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

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

  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .testimonial-card {
    width: calc(50% - 16px);
  }

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

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
    --container-padding: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta .btn {
    display: none;
  }

  /* Mobile Nav Improvements */
  .nav-mobile {
    padding: 80px 20px 40px;
    gap: 4px;
  }

  .nav-mobile .nav-link {
    font-size: 1.35rem;
    padding: 14px 24px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-sm);
  }

  .nav-mobile .nav-link:hover {
    background: rgba(124, 58, 237, 0.1);
  }

  .nav-mobile .btn {
    margin-top: 20px;
    padding: 16px 40px;
    font-size: 1rem;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 16px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

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

  .section-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .lang-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lang-card {
    padding: 20px;
  }

  .course-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .course-card-img-wrap {
    height: 180px;
  }

  .course-card-body {
    padding: 16px;
  }

  .course-card-title {
    font-size: 1.05rem;
  }

  .course-card-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .course-card-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

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

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 20px;
  }

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

  .stat-item::after {
    display: none;
  }

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

  .testimonial-card {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

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

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

  .footer-col h4,
  .footer-col ul {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .study-features-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    gap: 24px;
  }

  .process-step::after {
    display: none;
  }

  .modal {
    padding: 24px 16px;
    margin: 16px;
    width: calc(100% - 32px);
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-header h3 {
    font-size: 1.25rem;
  }

  .form-group {
    margin-bottom: 16px;
  }

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

  .chat-panel {
    width: calc(100vw - 48px);
    right: -60px;
  }

  .contact-grid {
    gap: 24px;
  }

  .contact-info-cards {
    gap: 12px;
  }

  .contact-card {
    padding: 16px;
    flex-direction: row;
    align-items: flex-start;
  }

  .contact-card-icon {
    min-width: 40px;
    margin-right: 12px;
  }

  .contact-form-wrap {
    padding: 20px;
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.8rem;
  }

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

  .map-embed iframe {
    height: 250px;
  }

  .map-info {
    padding: 20px;
  }

  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  h1 { font-size: clamp(2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  h3 { font-size: clamp(1.25rem, 5vw, 1.75rem); }

  .whatsapp-btn {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .chat-bubble {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 80px;
  }

  .enquiry-btn-main {
    padding: 10px 16px;
    font-size: 0.75rem;
  }

  .enquiry-btn {
    bottom: 16px;
    left: 16px;
  }

  .cta-banner-content {
    padding: 40px 20px;
  }

  .cta-banner-content h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    border-radius: var(--radius-lg);
  }

  .faq-item {
    margin-bottom: 8px;
  }

  .faq-question {
    padding: 16px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 16px 16px;
    font-size: 0.9rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-image {
    border-radius: var(--radius-lg);
    height: auto;
  }

  .destination-card {
    padding: 20px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 14px;
  }

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

  .btn-lg {
    padding: 14px 24px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

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

  .stat-item {
    padding: 20px 12px;
  }

  .enquiry-btn-main {
    padding: 10px 14px;
    font-size: 0.7rem;
  }

  .whatsapp-btn,
  .chat-bubble {
    width: 48px;
    height: 48px;
  }

  .chat-widget {
    bottom: 12px;
    right: 72px;
  }

  .whatsapp-btn {
    bottom: 12px;
    right: 12px;
  }

  .enquiry-btn {
    bottom: 12px;
    left: 12px;
  }

  .hero {
    padding-top: 90px;
    min-height: auto;
  }

  .section-label {
    font-size: 0.7rem;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .modal {
    padding: 20px 14px;
    margin: 12px;
    border-radius: var(--radius-md);
  }

  .nav-mobile .nav-link {
    font-size: 1.2rem;
    padding: 12px 20px;
  }

  .course-card-img-wrap {
    height: 160px;
  }

  .page-header {
    padding: 90px 0 32px;
  }

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

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
