/* SCHOLARIX Study Abroad - Styles */

/* ==============================================
   ANIMATION SYSTEM - CRITICAL FOR FUNCTIONALITY
   ============================================== */

/* Base animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Button animations */
.btn {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

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

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Form field animations */
.form-group {
  position: relative;
  transition: all 0.3s ease;
}

.form-group.focused {
  transform: translateY(-2px);
}

.form-group input,
.form-group textarea,
.form-group select {
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  transform: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

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

/* ==============================================
   MODERN HERO SEARCH BAR
   ============================================== */

.hero-search-bar {
  max-width: 600px;
  margin: var(--spacing-6) auto var(--spacing-6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-forward 0.3s both;
}

.search-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: var(--spacing-2);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-container:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.08);
}

.hero-search-form {
  width: 100%;
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--spacing-2);
  align-items: center;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.search-field:focus-within {
  border-color: var(--primary-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.field-icon {
  padding: 0 var(--spacing-3);
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.search-field:focus-within .field-icon {
  color: var(--primary-500);
}

.search-field select {
  flex: 1;
  background: transparent;
  border: none;
  padding: var(--spacing-3) var(--spacing-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  appearance: none;
  outline: none;
}

.search-field select option {
  background: var(--white);
  color: var(--gray-700);
  padding: var(--spacing-2);
}

.search-field select:focus {
  outline: none;
}

.search-submit-btn {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: var(--spacing-3) var(--spacing-5);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
  min-width: 140px;
  justify-content: center;
}

.search-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
}

.search-submit-btn:active {
  transform: translateY(0);
}

/* Responsive Design for Hero Search */
@media (max-width: 768px) {
  .hero-search-bar {
    max-width: 95%;
    margin: var(--spacing-6) auto var(--spacing-4);
  }
  
  .search-fields {
    grid-template-columns: 1fr;
    gap: var(--spacing-3);
  }
  
  .search-field {
    min-height: 52px;
  }
  
  .search-submit-btn {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .search-container {
    padding: var(--spacing-3);
    border-radius: 12px;
  }
  
  .search-field {
    border-radius: 8px;
  }
  
  .search-submit-btn {
    border-radius: 8px;
  }
}

/* Modern Semantic Color System */
:root {
  /* Primary Brand Colors */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  --primary-950: #172554;
  
  /* Secondary Colors */
  --secondary-50: #f0f9ff;
  --secondary-100: #e0f2fe;
  --secondary-200: #bae6fd;
  --secondary-300: #7dd3fc;
  --secondary-400: #38bdf8;
  --secondary-500: #0ea5e9;
  --secondary-600: #0284c7;
  --secondary-700: #0369a1;
  --secondary-800: #075985;
  --secondary-900: #0c4a6e;
  
  /* Accent Colors */
  --accent-50: #fffbeb;
  --accent-100: #fef3c7;
  --accent-200: #fde68a;
  --accent-300: #fcd34d;
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;
  --accent-600: #d97706;
  --accent-700: #b45309;
  --accent-800: #92400e;
  --accent-900: #78350f;
  
  /* Neutral Colors */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  
  /* Semantic Colors */
  --success-50: #ecfdf5;
  --success-100: #d1fae5;
  --success-500: #10b981;
  --success-600: #059669;
  --success-700: #047857;
  
  --error-50: #fef2f2;
  --error-100: #fee2e2;
  --error-500: #ef4444;
  --error-600: #dc2626;
  --error-700: #b91c1c;
  
  --warning-50: #fffbeb;
  --warning-100: #fef3c7;
  --warning-500: #f59e0b;
  --warning-600: #d97706;
  --warning-700: #b45309;
  
  --info-50: #eff6ff;
  --info-100: #dbeafe;
  --info-500: #3b82f6;
  --info-600: #2563eb;
  --info-700: #1d4ed8;
  
  /* Legacy color aliases for compatibility */
  --primary-color: var(--primary-700);
  --secondary-color: var(--secondary-500);
  --accent-color: var(--accent-500);
  --neutral-light: var(--neutral-100);
  --neutral-medium: var(--neutral-500);
  --white: #ffffff;
  --black: #000000;
  --success: var(--success-500);
  
  /* High Contrast Text Colors for Better Accessibility */
  --text-color: var(--neutral-800);           /* Dark text for light backgrounds */
  --text-color-light: var(--neutral-100);     /* Light text for dark backgrounds */
  --text-color-medium: var(--neutral-600);    /* Medium contrast text */
  --heading-color: var(--neutral-900);        /* High contrast headings */
  --heading-color-light: var(--white);        /* Light headings for dark backgrounds */
  --muted-text: var(--neutral-500);          /* Muted text with minimum 4.5:1 contrast */
  --error: var(--error-500);
  --warning: var(--warning-500);
  
  /* Surface Colors */
  --surface-primary: var(--white);
  --surface-secondary: var(--neutral-50);
  --surface-tertiary: var(--neutral-100);
  --surface-elevated: var(--white);
  --surface-overlay: rgba(255, 255, 255, 0.95);
  
  /* Text Colors */
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-700);
  --text-tertiary: var(--neutral-500);
  --text-inverse: var(--white);
  --text-brand: var(--primary-600);
  
  /* Border Colors */
  --border-light: var(--neutral-200);
  --border-medium: var(--neutral-300);
  --border-strong: var(--neutral-400);
  --border-brand: var(--primary-300);
  
  /* Shadow Colors */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-brand: 0 10px 25px -3px rgba(30, 58, 138, 0.3);
  --shadow-accent: 0 10px 25px -3px rgba(245, 158, 11, 0.3);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-base: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 70px; /* Account for fixed header */
}

@media (max-width: 768px) {
  body {
    padding-top: 65px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 60px;
  }
}

/* Modern Typography System */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-6);
  color: var(--primary-color);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--spacing-8);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-6);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-4);
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-3);
}

h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--spacing-2);
}

h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--spacing-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  font-size: var(--font-size-base);
  line-height: 1.7;
  margin-bottom: var(--spacing-4);
  color: var(--neutral-medium);
  max-width: 65ch;
}

/* Improved paragraph variants */
.lead {
  font-size: var(--font-size-lg);
  line-height: 1.6;
  font-weight: 400;
  color: var(--neutral-medium);
}

.small {
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

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

a:hover {
  color: var(--primary-color);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}

/* Modern Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3) var(--spacing-6);
  border: none;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
  user-select: none;
}

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

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

.btn:active {
  transform: scale(0.98);
}

.btn-small {
  padding: var(--spacing-2) var(--spacing-4);
  font-size: var(--font-size-xs);
  border-radius: 8px;
}

.btn-large {
  padding: var(--spacing-4) var(--spacing-8);
  font-size: var(--font-size-base);
  border-radius: 16px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 4px 14px 0 rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #60a5fa 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px 0 rgba(30, 58, 138, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 14px 0 rgba(30, 58, 138, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #60a5fa 100%);
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px 0 rgba(59, 130, 246, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px 0 rgba(30, 58, 138, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-color) 0%, #d97706 100%);
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px 0 rgba(245, 158, 11, 0.4);
}

/* Special button variants */
.btn-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--white);
  border: none;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px 0 rgba(102, 126, 234, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px 0 rgba(16, 185, 129, 0.4);
}

/* Loading state */
.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Button groups */
.btn-group {
  display: inline-flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.btn-group .btn {
  border-radius: 0;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.btn-group .btn:first-child {
  border-radius: 12px 0 0 12px;
}

.btn-group .btn:last-child {
  border-radius: 0 12px 12px 0;
  border-right: none;
}

/* Header & Navigation */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100vw;
  min-height: 80px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .header {
    min-height: 60px;
    height: 60px;
    padding: 0 16px;
    background-color: rgba(255, 255, 255, 0.98);
  }
}

/* ==============================================
   MINIMALIST RESPONSIVE NAVBAR
   ============================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 0;
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-5);
  height: 100%;
  position: relative;
}

@media (max-width: 1024px) {
  .nav-container {
    padding: 0 var(--spacing-4);
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 65px;
  }
  
  .nav-container {
    padding: 0 var(--spacing-3);
  }
}

@media (max-width: 480px) {
  .navbar {
    height: 60px;
  }
  
  .nav-container {
    padding: 0 var(--spacing-3);
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1001;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link:hover {
  transform: scale(1.05);
}

.nav-brand .logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

.nav-brand .logo:hover {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

@media (max-width: 1024px) {
  .nav-brand .logo {
    height: 45px;
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .nav-brand .logo {
    height: 40px;
    max-width: 160px;
  }
}

@media (max-width: 480px) {
  .nav-brand .logo {
    height: 38px;
    max-width: 140px;
  }
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo-link:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.footer-logo {
  height: 90px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  margin-bottom: var(--spacing-4);
  background: transparent;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.2));
  transition: all 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* Enhanced for dark footer background */
  opacity: 0.95;
}

.footer-logo:hover {
  filter: drop-shadow(0 3px 9px rgba(255, 255, 255, 0.3));
  transform: scale(1.02);
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-logo {
    height: 75px;
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    height: 65px;
    max-width: 190px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-6);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-0);
    padding: 20px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: var(--spacing-3) var(--spacing-4);
    margin: var(--spacing-1) 0;
    border-radius: 8px;
    font-size: 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.nav-link {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  padding: var(--spacing-2) var(--spacing-3);
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--spacing-1);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-600);
  background: var(--primary-50);
}

@media (max-width: 768px) {
  .nav-link {
    padding: var(--spacing-3) var(--spacing-4);
    width: 100%;
    justify-content: center;
    font-size: 16px;
    border-radius: 8px;
    margin: var(--spacing-1) 0;
  }
}

.nav-dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: var(--spacing-2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    width: 100%;
    margin-top: var(--spacing-2);
  }
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3);
  color: var(--gray-700);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  margin: var(--spacing-1) 0;
}

.dropdown-content a i {
  width: 16px;
  color: var(--primary-500);
  font-size: 14px;
}

.dropdown-content a:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .dropdown-content a {
    padding: var(--spacing-2) var(--spacing-6);
    font-size: 15px;
    border-radius: 6px;
  }
  
  .dropdown-content a:hover {
    transform: none;
    background: var(--primary-100);
  }
}

/* Navigation Actions & Toggle */
.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: var(--white);
  border: none;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
}

.nav-employee-btn {
  background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
  color: var(--white);
  border: none;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  margin-right: var(--spacing-3);
}

.nav-employee-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
  color: var(--white);
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-2);
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 1001;
}

.nav-toggle:hover {
  background: var(--gray-100);
}

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

/* Modern Hamburger Animation */
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  margin: 2px 0;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
  background: var(--primary-600);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
  background: var(--primary-600);
}

/* Mobile CTA Button */
.mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: block;
    padding: var(--spacing-4) 0;
    border-top: 1px solid var(--gray-200);
    margin-top: var(--spacing-4);
    width: 100%;
    text-align: center;
  }
  
  .mobile-cta .nav-cta-btn {
    display: inline-flex;
    width: auto;
    min-width: 200px;
    justify-content: center;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: var(--spacing-1);
  z-index: 1003;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
}

/* Hamburger Menu Animation */
.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: 0.3s;
  border-radius: var(--radius-full);
  transform-origin: center;
}

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

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

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--neutral-light) 0%, var(--white) 100%);
  padding: calc(130px + var(--spacing-20)) 0 var(--spacing-20);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}

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

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-8);
  font-size: var(--font-size-xl);
  font-weight: 600;
  text-align: center;
  color: var(--primary-color);
  min-height: 2.5em; /* Prevent layout shift during typewriter */
}

/* Hero Text - Always Visible with Simple Animation */
#typewriter-text {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #1e3a8a !important;
  font-weight: 700;
  font-size: inherit;
  line-height: inherit;
  text-shadow: 0 3px 6px rgba(30, 58, 138, 0.3);
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  transition: all 0.3s ease;
}

/* Accent text styling */
#typewriter-text .text-accent {
  color: #f59e0b !important;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

/* Simple fade-in animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional text glow effect */
.hero-text-glow {
  animation: subtleGlow 3s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
  0% {
    text-shadow: 0 3px 6px rgba(30, 58, 138, 0.3);
  }
  100% {
    text-shadow: 0 3px 6px rgba(30, 58, 138, 0.3), 0 0 15px rgba(30, 58, 138, 0.2);
  }
}

/* Enhanced cursor styling */
.typed-cursor {
  opacity: 1 !important;
  color: #f59e0b !important;
  font-weight: 800;
  animation: typewriterBlink 1.2s infinite;
  text-shadow: 0 0 8px #f59e0b;
  display: inline-block !important;
  visibility: visible !important;
}

@keyframes typewriterBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Typewriter text animation */
.typed-text-element {
  animation: typewriterGlow 3s ease-in-out infinite alternate;
}

@keyframes typewriterGlow {
  0% { text-shadow: 0 0 10px rgba(59, 130, 246, 0.3); }
  100% { text-shadow: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 30px rgba(245, 158, 11, 0.3); }
}

.text-accent {
  color: #f59e0b !important;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
  font-weight: 900;
}

/* Mobile optimizations for typewriter */
@media (max-width: 768px) {
  .hero-title {
    min-height: 3em; /* More space on mobile for line breaks */
    font-size: 2rem !important;
  }
  
  #typewriter-text {
    line-height: 1.2;
  }
  
  .typed-cursor {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .hero-title {
    min-height: 3.5em;
    font-size: 1.75rem !important;
  }
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-8);
  color: var(--neutral-medium);
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-10);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--neutral-medium);
  margin-top: var(--spacing-1);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-4);
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.section-header h2 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--spacing-4);
  color: var(--primary-color);
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--neutral-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  padding: var(--spacing-20) 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-8);
}

.service-card {
  background-color: var(--white);
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  
  border-color: var(--secondary-color);
}

.service-icon {
  margin-bottom: var(--spacing-6);
}

.service-icon i {
  font-size: var(--font-size-4xl);
}

.text-primary {
  color: var(--primary-color) !important;
}

.service-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-4);
  color: var(--primary-color);
}

.service-card p {
  margin-bottom: var(--spacing-6);
  color: var(--neutral-medium);
  line-height: 1.6;
}

.service-link {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  transition: color 0.3s ease;
}

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

/* Destinations Section */
.destinations-section {
  padding: var(--spacing-20) 0;
  background-color: var(--neutral-light);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-6);
}

.destination-card {
  position: relative;
  height: 250px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}

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

/* Country-specific background images with blur */
.destination-card[data-country="usa"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/usa-flag-bg-hq.jpg');
}

.destination-card[data-country="uk"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/uk-flag-bg-hq.jpg');
}

.destination-card[data-country="canada"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/canada-flag-bg-hq.jpg');
}

.destination-card[data-country="australia"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/australia-flag-bg-hq.jpg');
}

.destination-card[data-country="germany"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/germany-flag-bg-hq.jpg');
}

.destination-card[data-country="newzealand"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/nz-flag-bg-hq.jpg');
}

/* Destination image styles removed - using background images now */

.destination-overlay {
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: var(--white);
  padding: var(--spacing-6);
  text-align: center;
  z-index: 2;
}

.destination-overlay h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-2);
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.destination-overlay p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--spacing-20) 0;
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-8);
}

.testimonial-card {
  background-color: var(--white);
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
  
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  
}

.testimonial-content {
  margin-bottom: var(--spacing-6);
}

.stars {
  display: flex;
  gap: var(--spacing-1);
  margin-bottom: var(--spacing-4);
  color: var(--accent-color);
}

.testimonial-content p {
  font-style: italic;
  font-size: var(--font-size-base);
  color: var(--neutral-medium);
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.author-info h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--spacing-1);
  color: var(--primary-color);
}

.author-info p {
  font-size: var(--font-size-sm);
  color: var(--neutral-medium);
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-20) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-6);
}

.cta-content p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-10);
  color: rgba(255, 255, 255, 0.9);
}

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

.cta-buttons .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.cta-buttons .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

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

/* Contact Form Section */
/* ========================================
   CONTACT FORM SECTION - WORLD-CLASS REDESIGN
   ======================================== */

.contact-form-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

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

.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.form-content {
  padding: 60px;
  background: var(--white);
  border-radius: 24px;
  
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.form-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.form-content h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.form-content > p {
  font-size: 18px;
  color: var(--neutral-medium);
  margin-bottom: 40px;
  line-height: 1.6;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 18px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f8fafc;
  color: var(--text-color);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #cbd5e1;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: var(--white);
  
  transform: translateY(-2px);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-family);
}

/* Phone input with country code */
.phone-input-group {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
}

.country-code-select {
  flex: 0 0 180px;
  padding: 18px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 15px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.phone-number-input {
  flex: 1;
  padding: 18px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 16px;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.country-code-select:hover,
.phone-number-input:hover {
  border-color: #cbd5e1;
  background: var(--white);
}

.country-code-select:focus,
.phone-number-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: var(--white);
  
}

.form-image {
  position: relative;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  padding: 60px 50px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 700px;
  overflow: hidden;
  
}

.form-image::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, -20px) scale(1.1); }
}

.form-image img {
  width: auto;
  height: 120px;
  max-width: 380px;
  object-fit: contain;
  margin: 0 auto 40px;
  display: block;
  filter: brightness(1.3) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.form-image img:hover {
  transform: scale(1.05);
  filter: brightness(1.4) drop-shadow(0 12px 32px rgba(0, 0, 0, 0.3));
}

.contact-info {
  position: relative;
  z-index: 2;
}

.contact-info h3 {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
}

.contact-item i {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--white);
  flex-shrink: 0;
}

.contact-item > div {
  flex: 1;
}

.contact-item strong {
  display: block;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ========================================
   MODERN MINIMALIST FOOTER
   ======================================== */

.footer {
  background: linear-gradient(135deg, #0f1629 0%, #1a2b5c 100%);
  color: var(--white);
  padding: 4rem 0 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding: 0 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(1.2);
  transition: all 0.3s ease;
}

.footer-logo:hover {
  filter: brightness(1.3) drop-shadow(0 4px 12px rgba(251, 146, 60, 0.3));
  transform: scale(1.02);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* Links Sections */
.footer-links-section h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

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

.footer-links-list li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links-list li a:hover {
  color: var(--secondary-color);
  transform: translateX(2px);
}

/* Connect Section */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.contact-link:hover {
  color: var(--secondary-color);
  transform: translateX(2px);
}

.contact-link:before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-link:hover:before {
  opacity: 1;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Newsletter Section */
.footer-newsletter h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
}

.input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.input-group:focus-within {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.1);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.875rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
  background: var(--secondary-color);
  border: none;
  padding: 0.75rem 1rem;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
}

.newsletter-btn:hover {
  background: #e5883d;
  transform: scale(1.05);
}

.newsletter-btn i {
  font-size: 14px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0;
  font-weight: 400;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

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

.footer-legal a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.footer-legal a:hover::after {
  width: 100%;
}

/* Floating Chatbot */
.floating-chatbot {
  position: fixed;
  bottom: 30px;
  left: 30px;
  left: 30px;
  z-index: 1000;
}

.chatbot-trigger {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  background-color: var(--secondary-color);
  color: var(--white);
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: var(--radius-full);
  
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

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

.chatbot-text {
  font-size: var(--font-size-sm);
  font-weight: 600;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: var(--white);
  margin: 5% auto;
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 500px;
  
  animation: modalSlideIn 0.3s ease;
}

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

.close {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-6);
  color: var(--neutral-medium);
  font-size: var(--font-size-3xl);
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.consultation-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

/* Service Page */
.service-page {
  padding: calc(80px + var(--spacing-12)) 0 var(--spacing-16);
}

.service-header {
  text-align: center;
  margin-bottom: var(--spacing-12);
}

.service-content {
  max-width: 800px;
  margin: 0 auto var(--spacing-12);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.625rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .destinations-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .form-container {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 500px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-3);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-actions {
    gap: var(--spacing-2);
  }
  
  .nav-actions .btn {
    padding: var(--spacing-2) var(--spacing-3);
    font-size: var(--font-size-xs);
  }
  
  .hero-section {
    padding: calc(60px + var(--spacing-8)) 0 var(--spacing-8);
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-4);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-6);
  }
  
  .service-card {
    padding: var(--spacing-6);
  }
  
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  /* Responsive Contact Form */
  .contact-form-section {
    padding: 80px 0;
  }
  
  .form-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }
  
  .form-content {
    padding: 40px 30px;
    border-radius: 20px;
  }
  
  .form-content h2 {
    font-size: 32px;
  }
  
  .form-content > p {
    font-size: 16px;
  }
  
  .form-image {
    padding: 40px 30px;
    min-height: 500px;
    border-radius: 20px;
  }
  
  .form-image img {
    height: 80px;
    margin-bottom: 30px;
  }
  
  .contact-info h3 {
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  .contact-item {
    padding: 16px;
    margin-bottom: 20px;
  }
  
  /* Responsive Footer */
  .footer {
    padding: 3rem 0 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1rem;
    margin-bottom: 2.5rem;
    text-align: center;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-links-section h4 {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-logo {
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-section ul li a {
    justify-content: center;
  }
  
  .footer-bottom {
    padding: 30px 20px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .footer-links {
    gap: 20px;
    justify-content: center;
  }
  
  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: var(--spacing-6);
  }
  
  .consultation-options .btn {
    justify-content: center;
  }
  
  .floating-chatbot {
    bottom: 20px;
    left: 20px;
    z-index: 999;
  }
  
  .chatbot-trigger {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }
  
  .chatbot-text {
    display: none;
  }
  
  /* About Page Mobile */
  .about-hero h1 {
    font-size: var(--font-size-3xl);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact Page Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
  }
  
  .contact-methods {
    gap: var(--spacing-4);
  }
  
  .contact-method {
    padding: var(--spacing-4);
  }
  
  .hours-grid {
    grid-template-columns: 1fr;
  }
  
  /* Blog Page Mobile */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-6);
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-meta {
    flex-direction: column;
    gap: var(--spacing-2);
  }
  
  /* Service Page Mobile */
  .service-hero h1 {
    font-size: var(--font-size-3xl);
  }
  
  .service-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  /* Mobile-first optimizations */
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  /* Header mobile fixes */
  .header {
    padding: 12px 0;
  }

  .nav-brand .logo {
    height: 36px;
    max-width: 130px;
  }

  /* Hero mobile optimization */
  .hero-section {
    min-height: auto;
    padding: 80px 0 40px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  /* Form mobile optimization */
  .form-content {
    padding: 24px 20px;
  }

  .form-content h2 {
    font-size: 24px;
  }

  .phone-input-group {
    flex-direction: column !important;
  }

  .country-code-select {
    flex: 1 1 auto;
    width: 100%;
  }

  /* Footer mobile optimization */
  .footer {
    padding: 40px 0 0;
  }

  .footer-content {
    padding: 0 16px;
    gap: 32px;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .footer-logo {
    height: 60px;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Chatbot mobile */
  .floating-chatbot {
    bottom: 16px;
    left: 16px;
  }

  .chatbot-trigger {
    width: 52px;
    height: 52px;
  }

  /* Services mobile */
  .service-card {
    padding: 24px 20px;
  }

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

  .service-icon i {
    font-size: 28px;
  }

  /* Destinations mobile */
  .destination-card {
    height: 200px;
  }

  /* Globe mobile */
  #globe-container {
    height: 300px;
    margin: 32px 0;
  }

  /* Testimonials mobile */
  .testimonial-card {
    padding: 20px;
  }

  /* CTA mobile */
  .cta-section {
    padding: 50px 0;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .cta-content p {
    font-size: 14px;
  }

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

  .btn-large {
    padding: 14px 24px;
    font-size: 15px;
  }

  :root {
    --spacing-4: 0.75rem;
    --spacing-6: 1rem;
    --spacing-8: 1.25rem;
    --spacing-12: 2rem;
    --spacing-16: 2.5rem;
    --spacing-20: 3rem;
  }
  
  .hero-title {
    font-size: var(--font-size-2xl);
  }
  
  .section-header h2 {
    font-size: var(--font-size-2xl);
  }
  
  .service-card {
    padding: var(--spacing-4);
  }
  
  .service-icon i {
    font-size: var(--font-size-3xl);
  }
  
  .testimonial-card {
    padding: var(--spacing-6);
  }
  
  .form-content {
    padding: var(--spacing-6);
  }
  
  .form-image {
    padding: var(--spacing-6);
  }
}

/* About Page Styles */
.about-page {
  padding: calc(80px + var(--spacing-12)) 0 var(--spacing-16);
}

.about-hero {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.about-hero h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-6);
}

.about-mission {
  margin-bottom: var(--spacing-16);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-16);
}

.stat-card {
  text-align: center;
  padding: var(--spacing-8);
  background: var(--white);
  border-radius: var(--radius-xl);
  
  border: 1px solid #e2e8f0;
}

.stat-card .stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--primary-color);
  display: block;
  margin-bottom: var(--spacing-2);
}

.stat-card .stat-label {
  font-size: var(--font-size-base);
  color: var(--neutral-medium);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-12);
}

.team-member {
  text-align: center;
  padding: var(--spacing-8);
  background: var(--white);
  border-radius: var(--radius-xl);
  
  border: 1px solid #e2e8f0;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin-bottom: var(--spacing-4);
}

.team-member h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-2);
  color: var(--primary-color);
}

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

/* Contact Page Styles */
.contact-page {
  padding: calc(80px + var(--spacing-12)) 0 var(--spacing-16);
}

.contact-hero {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-16);
  margin-bottom: var(--spacing-16);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-4);
  padding: var(--spacing-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  
  border: 1px solid #e2e8f0;
}

.contact-method i {
  font-size: var(--font-size-xl);
  margin-top: var(--spacing-1);
  min-width: 24px;
}

.contact-method h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-1);
  color: var(--primary-color);
}

.contact-method p {
  margin-bottom: var(--spacing-1);
  font-weight: 600;
}

.contact-method small {
  color: var(--neutral-medium);
  font-size: var(--font-size-sm);
}

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

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-4);
  margin-top: var(--spacing-8);
}

.hours-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
  padding: var(--spacing-4);
  background: var(--neutral-light);
  border-radius: var(--radius-base);
}

.hours-item strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Blog Page Styles */
.blog-page {
  padding: calc(80px + var(--spacing-12)) 0 var(--spacing-16);
}

.blog-hero {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-16);
}

.blog-post {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
  
}

.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: var(--spacing-6);
}

.blog-meta {
  display: flex;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-3);
  font-size: var(--font-size-sm);
}

.blog-date {
  color: var(--neutral-medium);
}

.blog-category {
  color: var(--secondary-color);
  font-weight: 600;
}

.blog-post h2 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-3);
  color: var(--primary-color);
}

.blog-post p {
  margin-bottom: var(--spacing-4);
  line-height: 1.6;
}

.read-more {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
}

.read-more:hover {
  color: var(--primary-color);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-6);
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-8);
  background: var(--white);
  border-radius: var(--radius-xl);
  
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  transform: translateY(-5px);
  
  color: inherit;
}

.category-card i {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-4);
}

.category-card h3 {
  margin-bottom: var(--spacing-3);
  color: var(--primary-color);
}

.category-card p {
  color: var(--neutral-medium);
  margin: 0;
}

/* Service Page Enhancements */
.service-hero {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.service-hero h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-6);
}

.service-content {
  max-width: 800px;
  margin: 0 auto var(--spacing-16);
  line-height: 1.7;
}

.service-content h3 {
  color: var(--primary-color);
  font-size: var(--font-size-2xl);
  margin: var(--spacing-8) 0 var(--spacing-4);
}

.service-content h4 {
  color: var(--primary-color);
  font-size: var(--font-size-xl);
  margin: var(--spacing-6) 0 var(--spacing-3);
}

.service-content ul,
.service-content ol {
  margin-bottom: var(--spacing-6);
  padding-left: var(--spacing-6);
}

.service-content li {
  margin-bottom: var(--spacing-2);
  color: var(--neutral-medium);
}

.service-features,
.service-benefits,
.service-stats,
.scholarship-types,
.test-formats,
.success-stats,
.counselling-process,
.orientation-topics,
.support-timeline {
  background: var(--neutral-light);
  padding: var(--spacing-6);
  border-radius: var(--radius-lg);
  margin: var(--spacing-6) 0;
}

.service-cta-section {
  text-align: center;
  padding: var(--spacing-12) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: var(--radius-xl);
  color: var(--white);
}

.service-cta-section h2 {
  color: var(--white);
  margin-bottom: var(--spacing-4);
}

.service-cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-8);
}

.service-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-4);
  flex-wrap: wrap;
}

.service-actions .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.service-actions .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: var(--spacing-2) !important; }
.mb-4 { margin-bottom: var(--spacing-4) !important; }
.mb-6 { margin-bottom: var(--spacing-6) !important; }
.mb-8 { margin-bottom: var(--spacing-8) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: var(--spacing-2) !important; }
.mt-4 { margin-top: var(--spacing-4) !important; }
.mt-6 { margin-top: var(--spacing-6) !important; }
.mt-8 { margin-top: var(--spacing-8) !important; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: var(--spacing-2);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Smooth Transitions */
* {
  transition: all 0.2s ease;
}

button,
.btn,
.service-card,
.testimonial-card,
.destination-card {
  transition: all 0.3s ease;
}

/* Custom Styles */
.logo {
  height: 80px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .logo {
    height: 60px;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 50px;
    max-width: 150px;
  }
}

.header {
  background-color: var(--white);
  
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100vw;
  padding: var(--spacing-4) 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
}

.nav-brand .logo {
  height: 70px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.nav-brand .logo:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .nav-brand .logo {
    height: 50px;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .nav-brand .logo {
    height: 40px;
    max-width: 150px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-8);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: var(--spacing-3);
  color: var(--neutral-medium);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--white);
  
  border-radius: var(--radius-base);
  padding: var(--spacing-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: var(--spacing-3);
  color: var(--neutral-medium);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: var(--neutral-light);
  color: var(--primary-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: var(--spacing-1);
  z-index: 1003;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
}

/* Hamburger Menu Animation */
.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: 0.3s;
  border-radius: var(--radius-full);
  transform-origin: center;
}

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

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

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--neutral-light) 0%, var(--white) 100%);
  padding: calc(130px + var(--spacing-20)) 0 var(--spacing-20);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-16);
  align-items: center;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-6);
  color: var(--primary-color);
}

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

.hero-subtitle {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-8);
  color: var(--neutral-medium);
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-10);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--neutral-medium);
  margin-top: var(--spacing-1);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-4);
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.section-header h2 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--spacing-4);
  color: var(--primary-color);
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--neutral-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  padding: var(--spacing-20) 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-8);
}

.service-card {
  background-color: var(--white);
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  
  border-color: var(--secondary-color);
}

.service-icon {
  margin-bottom: var(--spacing-6);
}

.service-icon i {
  font-size: var(--font-size-4xl);
}

.text-primary {
  color: var(--primary-color) !important;
}

.service-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-4);
  color: var(--primary-color);
}

.service-card p {
  margin-bottom: var(--spacing-6);
  color: var(--neutral-medium);
  line-height: 1.6;
}

.service-link {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  transition: color 0.3s ease;
}

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

/* Destinations Section */
.destinations-section {
  padding: var(--spacing-20) 0;
  background-color: var(--neutral-light);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-6);
}

.destination-card {
  position: relative;
  height: 250px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}

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

/* Country-specific background images with blur */
.destination-card[data-country="usa"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/usa-flag-bg-hq.jpg');
}

.destination-card[data-country="uk"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/uk-flag-bg-hq.jpg');
}

.destination-card[data-country="canada"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/canada-flag-bg-hq.jpg');
}

.destination-card[data-country="australia"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/australia-flag-bg-hq.jpg');
}

.destination-card[data-country="germany"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/germany-flag-bg-hq.jpg');
}

.destination-card[data-country="newzealand"] {
  background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/static/images/nz-flag-bg-hq.jpg');
}

/* Destination image styles removed - using background images now */

.destination-overlay {
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: var(--white);
  padding: var(--spacing-6);
  text-align: center;
  z-index: 2;
}

.destination-overlay h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-2);
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.destination-overlay p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--spacing-20) 0;
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-8);
}

.testimonial-card {
  background-color: var(--white);
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
  
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  
}

.testimonial-content {
  margin-bottom: var(--spacing-6);
}

.stars {
  display: flex;
  gap: var(--spacing-1);
  margin-bottom: var(--spacing-4);
  color: var(--accent-color);
}

.testimonial-content p {
  font-style: italic;
  font-size: var(--font-size-base);
  color: var(--neutral-medium);
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.author-info h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--spacing-1);
  color: var(--primary-color);
}

.author-info p {
  font-size: var(--font-size-sm);
  color: var(--neutral-medium);
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-20) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-6);
}

.cta-content p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-10);
  color: rgba(255, 255, 255, 0.9);
}

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

.cta-buttons .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.cta-buttons .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

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

/* Contact Form Section */
.contact-form-section {
  padding: var(--spacing-20) 0;
  background-color: var(--neutral-light);
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-16);
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  
}

.form-content {
  padding: var(--spacing-12);
}

.form-content h2 {
  margin-bottom: var(--spacing-4);
}

.form-content p {
  margin-bottom: var(--spacing-8);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--spacing-4);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-base);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

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

/* Phone input with country code */
.phone-input-group {
  display: flex !important;
  flex-direction: row !important;
  gap: var(--spacing-2);
}

.country-code-select {
  flex: 0 0 180px;
  padding: var(--spacing-4);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-base);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  background: var(--white);
  cursor: pointer;
}

.phone-number-input {
  flex: 1;
  padding: var(--spacing-4);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-base);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
}

.country-code-select:focus,
.phone-number-input:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-image {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: var(--spacing-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-image img {
  width: auto;
  height: 100px;
  max-width: 320px;
  object-fit: contain;
  margin: 0 auto var(--spacing-8);
  display: block;
  filter: drop-shadow(0 3px 8px rgba(255, 255, 255, 0.3));
  transition: all 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* Optimized for blue gradient background */
  opacity: 0.98;
  border-radius: var(--radius-base);
}

.form-image img:hover {
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
  transform: scale(1.02);
  opacity: 1;
}

@media (max-width: 768px) {
  .form-image img {
    height: 85px;
    max-width: 260px;
  }
}

@media (max-width: 480px) {
  .form-image img {
    height: 75px;
    max-width: 220px;
  }
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: var(--spacing-6);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-4);
  color: var(--white);
}

.contact-item i {
  width: 20px;
  font-size: var(--font-size-lg);
}

.contact-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-1);
}

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

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: var(--spacing-16) 0 var(--spacing-8);
}

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

.footer-section h3 {
  color: var(--white);
  margin-bottom: var(--spacing-6);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-6);
}

.footer-logo {
  height: 100px;
  margin-bottom: var(--spacing-4);
}

.social-links {
  display: flex;
  gap: var(--spacing-3);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-2);
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--white);
}

.contact-info .contact-item {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-8);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-4);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

/* Floating Chatbot */
.floating-chatbot {
  position: fixed;
  bottom: 30px;
  left: 30px;
  left: 30px;
  z-index: 1000;
}

.chatbot-trigger {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  background-color: var(--secondary-color);
  color: var(--white);
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: var(--radius-full);
  
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

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

.chatbot-text {
  font-size: var(--font-size-sm);
  font-weight: 600;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: var(--white);
  margin: 5% auto;
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 500px;
  
  animation: modalSlideIn 0.3s ease;
}

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

.close {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-6);
  color: var(--neutral-medium);
  font-size: var(--font-size-3xl);
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.consultation-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

/* Service Page */
.service-page {
  padding: calc(80px + var(--spacing-12)) 0 var(--spacing-16);
}

.service-header {
  text-align: center;
  margin-bottom: var(--spacing-12);
}

.service-content {
  max-width: 800px;
  margin: 0 auto var(--spacing-12);
}

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

/* Custom Styles */
.logo {
  height: 80px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .logo {
    height: 60px;
    max-width: 200px;
  }
}


/* ========================================
   HIGH VISA SUCCESS USP SECTION
   ======================================== */

.visa-success-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f6f9fc 0%, #e9f0f7 100%);
  position: relative;
  overflow: hidden;
}

.visa-success-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="%233b82f6" opacity="0.1"/></svg>') repeat;
  pointer-events: none;
}

.visa-success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.visa-country-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  
  transition: all 0.3s ease;
  cursor: pointer;
}

.visa-country-card:hover {
  transform: translateY(-8px);
  
}

.visa-country-card .country-flag {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.visa-country-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-color);
}

.success-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* DESTINATIONS BY BUDGET */

.destinations-budget-section {
  padding: 100px 0;
  background: #ffffff;
}

.budget-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 40px 0 60px;
}

.budget-filter-btn {
  padding: 14px 28px;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.budget-filter-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.budget-filter-btn.active {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  border-color: transparent;
}

.budget-category {
  margin-bottom: 80px;
}

.category-title {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-title .icon {
  font-size: 36px;
}

.destinations-budget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.destination-budget-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.destination-budget-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.destination-budget-card:hover::before {
  opacity: 0.05;
}

.destination-budget-card:hover {
  transform: translateY(-12px) scale(1.02);
  
  border-color: var(--secondary-color);
}

.country-flag-large {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
  transition: transform 0.3s ease;
}

.destination-budget-card:hover .country-flag-large {
  transform: scale(1.15) rotate(5deg);
}

.destination-budget-card h4 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.tuition-range {
  font-size: 16px;
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.visa-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* BUDGET ACCORDION TABLE STYLES */

.budget-accordion {
  max-width: 1400px;
  margin: 40px auto 0;
}

.budget-category-accordion {
  margin-bottom: 24px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  
  transition: all 0.3s ease;
}

.budget-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.budget-accordion-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.budget-accordion-header:hover::before {
  opacity: 1;
}

.budget-accordion-header.active {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.category-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.category-range {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 400;
  margin-left: 8px;
}

.country-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.budget-accordion-header i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.budget-accordion-header.active i {
  transform: rotate(180deg);
}

.budget-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f9fafb;
}

.budget-accordion-content.show {
  max-height: 3000px;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.destinations-table {
  padding: 0;
  background: white;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
  gap: 20px;
  padding: 20px 32px;
  border-bottom: 1px solid #e5e7eb;
  align-items: center;
  transition: all 0.2s ease;
}

.table-row:hover:not(.header-row) {
  background: linear-gradient(90deg, #eff6ff 0%, #dbeafe 100%);
}

.header-row {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--secondary-color);
}

.table-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #1f2937;
}

.header-row .table-cell {
  font-weight: 700;
  color: var(--primary-color);
}

.country-flag {
  font-size: 32px;
  min-width: 40px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.country-name {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 16px;
}

.table-cell:nth-child(2),
.table-cell:nth-child(3) {
  font-weight: 600;
  color: var(--secondary-color);
}

.badge-high,
.badge-good,
.badge-medium {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  
}

.badge-high {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.badge-good {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.badge-medium {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

/* Mobile Responsiveness for Accordion Tables */
@media (max-width: 968px) {
  .budget-accordion-header {
    padding: 20px 24px;
  }
  
  .category-name {
    font-size: 18px;
  }
  
  .category-range {
    display: none;
  }
  
  .table-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 24px;
  }
  
  .header-row {
    display: none;
  }
  
  .table-cell {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
  }
  
  .table-cell::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 13px;
    text-transform: uppercase;
  }
  
  .table-cell:nth-child(1)::before {
    content: 'Country';
  }
  
  .table-cell:nth-child(2)::before {
    content: 'Tuition';
  }
  
  .table-cell:nth-child(3)::before {
    content: 'Living Cost';
  }
  
  .table-cell:nth-child(4)::before {
    content: 'Visa Success';
  }
  
  .country-flag {
    font-size: 28px;
  }
  
  .country-name {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .budget-accordion-header {
    padding: 16px 20px;
    font-size: 16px;
  }
  
  .header-left {
    gap: 12px;
  }
  
  .category-icon {
    font-size: 24px;
  }
  
  .category-name {
    font-size: 16px;
  }
  
  .country-count {
    font-size: 11px;
    padding: 4px 10px;
  }
  
  .table-row {
    padding: 16px 20px;
  }
}

/* MBBS PROGRAMS */

/* Modern MBBS Section */
.mbbs-section {
  padding: var(--spacing-20) 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.mbbs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.mbbs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: var(--spacing-10);
  margin-top: var(--spacing-16);
  position: relative;
  z-index: 1;
}

.mbbs-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.mbbs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #10b981, #059669);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mbbs-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: rgba(59, 130, 246, 0.3);
}

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

.mbbs-header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  color: white;
  padding: var(--spacing-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mbbs-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: transform 0.6s;
}

.mbbs-card:hover .mbbs-header::before {
  transform: rotate(45deg) translate(50%, 50%);
}

.mbbs-header h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  margin-top: var(--spacing-4);
  margin-bottom: 0;
  color: white;
  position: relative;
  z-index: 1;
}

.country-flag-large {
  font-size: 4rem;
  margin-bottom: var(--spacing-4);
  display: block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.mbbs-card:hover .country-flag-large {
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

.mbbs-content {
  padding: var(--spacing-10);
}

.price-tag {
  font-size: clamp(2.5rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, #059669, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: var(--spacing-8);
  position: relative;
  animation: priceGlow 2s ease-in-out infinite alternate;
}

@keyframes priceGlow {
  0% { filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.3)); }
  100% { filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.6)); }
}

.mbbs-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-8);
}

.mbbs-features li {
  padding: var(--spacing-3) 0;
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  font-size: var(--font-size-base);
  color: var(--neutral-medium);
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInFeature 0.6s ease-out forwards;
}

.mbbs-features li:nth-child(1) { animation-delay: 0.1s; }
.mbbs-features li:nth-child(2) { animation-delay: 0.2s; }
.mbbs-features li:nth-child(3) { animation-delay: 0.3s; }
.mbbs-features li:nth-child(4) { animation-delay: 0.4s; }
.mbbs-features li:nth-child(5) { animation-delay: 0.5s; }
.mbbs-features li:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInFeature {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mbbs-features li i {
  color: #10b981;
  font-size: 1.125rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 6px;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mbbs-cta {
  text-align: center;
  margin-top: var(--spacing-12);
  padding: var(--spacing-8);
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #f59e0b 100%);
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  position: relative;
  overflow: hidden;
}

.mbbs-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.8s;
}

.mbbs-cta:hover::before {
  left: 100%;
}

.highlight-text {
  font-size: var(--font-size-lg);
  color: var(--primary-color);
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
}

.highlight-text i {
  color: var(--accent-color);
  margin-right: var(--spacing-2);
  animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(180deg); }
}

/* TEST PREP MARKETPLACE */

.test-prep-marketplace {
  padding: 100px 0;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.course-product-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.course-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.course-product-card:hover {
  transform: translateY(-8px);
  
  border-color: var(--secondary-color);
}

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.course-icon {
  font-size: 64px;
  text-align: center;
  margin-bottom: 24px;
}

.course-product-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.course-price {
  text-align: center;
  margin-bottom: 32px;
}

.original-price {
  font-size: 20px;
  color: #9ca3af;
  text-decoration: line-through;
  margin-right: 12px;
}

.current-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary-color);
}

.course-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.course-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-color);
}

.course-features li i {
  color: #10b981;
  font-size: 16px;
  flex-shrink: 0;
}

.marketplace-cta {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 16px;
}

.marketplace-cta p {
  font-size: 18px;
  color: var(--primary-color);
  margin: 0;
}

.marketplace-cta strong {
  color: var(--accent-color);
}

/* Test Prep Show More Button */
.test-prep-show-more {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.test-prep-show-more .btn {
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  background: transparent;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.test-prep-show-more .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.test-prep-show-more .btn:hover::before {
  left: 100%;
}

.test-prep-show-more .btn:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.test-prep-show-more .btn i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.test-prep-show-more .btn:hover i {
  transform: scale(1.1);
}

/* Test Prep Hidden Courses Animation */
.test-prep-hidden {
  display: none;
  animation: fadeInUp 0.6s ease forwards;
}

.test-prep-hidden.show {
  display: block;
}

/* FEE STRUCTURE */

.fee-structure-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
}

.fee-structure-section .section-header h2,
.fee-structure-section .section-header p {
  color: white;
}

.fee-highlight {
  text-align: center;
  margin-bottom: 60px;
}

.discount-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.old-fee {
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.arrow {
  font-size: 36px;
  color: var(--accent-color);
}

.new-fee {
  font-size: 64px;
  font-weight: 900;
  color: #10b981;
  text-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.discount-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 24px;
  font-weight: 800;
  
}

.fee-highlight h3 {
  font-size: 28px;
  color: white;
  margin: 0;
}

.payment-timeline {
  max-width: 900px;
  margin: 0 auto 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-step.highlight {
  transform: scale(1.1);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 20px;
  
}

.timeline-step.highlight .step-number {
  background: linear-gradient(135deg, #10b981, #059669);
  animation: pulse 2s infinite;
}

.step-content h4 {
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
}

.step-price {
  font-size: 32px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.timeline-connector {
  flex: 0 0 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  position: relative;
  top: -60px;
}

.fee-inclusions {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 50px 40px;
  margin-bottom: 50px;
}

.fee-inclusions h3 {
  text-align: center;
  font-size: 28px;
  color: white;
  margin-bottom: 40px;
}

.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.inclusion-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
}

.inclusion-item i {
  color: #10b981;
  font-size: 24px;
  flex-shrink: 0;
}

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

.guarantee-text {
  margin-top: 24px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.guarantee-text i {
  color: #10b981;
  margin-right: 8px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    
  }
  50% {
    transform: scale(1.05);
    
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 768px) {
  .visa-success-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .visa-country-card {
    padding: 24px 16px;
  }

  .visa-country-card .country-flag {
    font-size: 36px;
  }

  .budget-filters {
    flex-direction: column;
  }

  .budget-filter-btn {
    width: 100%;
  }

  .destinations-budget-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .destination-budget-card {
    padding: 24px 16px;
  }

  .country-flag-large {
    font-size: 48px;
  }

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

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

  .payment-timeline {
    flex-direction: column;
    gap: 30px;
  }

  .timeline-connector {
    width: 4px;
    height: 60px;
    flex: none;
    top: 0;
  }

  .discount-banner {
    flex-direction: column;
    gap: 12px;
  }

  .old-fee {
    font-size: 32px;
  }

  .new-fee {
    font-size: 48px;
  }

  .discount-badge {
    font-size: 18px;
    padding: 8px 20px;
  }

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

/* Modern Destinations Section Overrides */
.destinations-section {
  padding: var(--spacing-20) 0 !important;
  background-color: var(--white) !important;
}

.destinations-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: var(--spacing-8) !important;
  margin-bottom: var(--spacing-12) !important;
}

.destination-card {
  background-color: var(--white) !important;
  border-radius: var(--radius-lg) !important;
  padding: var(--spacing-8) !important;
  border: 1px solid #f1f5f9 !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  height: auto !important;
  display: block !important;
  background-image: none !important;
}

.destination-card:hover {
  transform: translateY(-8px) !important;
  border-color: var(--primary-color) !important;
}

.destination-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.destination-flag {
  font-size: 3rem;
  margin-bottom: var(--spacing-4);
  display: block;
}

.destination-card h3 {
  font-size: var(--font-size-xl) !important;
  font-weight: 700 !important;
  margin-bottom: var(--spacing-3) !important;
  color: var(--primary-color) !important;
  text-shadow: none !important;
}

.destination-card p {
  font-size: var(--font-size-base) !important;
  color: var(--neutral-medium) !important;
  margin-bottom: var(--spacing-6) !important;
  line-height: 1.6 !important;
  text-shadow: none !important;
}

.destination-stats {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-4);
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: var(--spacing-3);
  background-color: var(--neutral-light);
  border-radius: var(--radius-md);
}

.stat-item strong {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--spacing-1);
}

.stat-item small {
  font-size: var(--font-size-xs);
  color: var(--neutral-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.destinations-cta {
  text-align: center;
  padding: var(--spacing-8);
  background-color: var(--neutral-light);
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
}

.destinations-cta p {
  font-size: var(--font-size-base);
  color: var(--neutral-medium);
  margin-bottom: var(--spacing-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hide old destination overlay styles */
.destination-overlay {
  display: none !important;
}

/* ======================================
   MODERN ANIMATIONS & TRANSITIONS
   ====================================== */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Custom easing functions */
:root {
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Enhanced scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out-expo);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.slide-left {
  transform: translateX(-30px);
}

.animate-on-scroll.slide-left.in-view {
  transform: translateX(0);
}

.animate-on-scroll.slide-right {
  transform: translateX(30px);
}

.animate-on-scroll.slide-right.in-view {
  transform: translateX(0);
}

.animate-on-scroll.scale-up {
  transform: scale(0.9);
}

.animate-on-scroll.scale-up.in-view {
  transform: scale(1);
}

/* Stagger animations for lists */
.animate-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-out-cubic);
}

.animate-stagger.in-view > *:nth-child(1) { transition-delay: 0.1s; }
.animate-stagger.in-view > *:nth-child(2) { transition-delay: 0.2s; }
.animate-stagger.in-view > *:nth-child(3) { transition-delay: 0.3s; }
.animate-stagger.in-view > *:nth-child(4) { transition-delay: 0.4s; }
.animate-stagger.in-view > *:nth-child(5) { transition-delay: 0.5s; }
.animate-stagger.in-view > *:nth-child(6) { transition-delay: 0.6s; }

.animate-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

/* Modern card hover animations */
.card-hover {
  transition: all 0.3s var(--ease-out-cubic);
  transform: translateZ(0);
  will-change: transform;
}

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

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

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Bounce in animation */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-bounce-in {
  animation: bounceIn 0.6s var(--ease-bounce);
}

/* Slide in animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-slide-up {
  animation: slideInUp 0.8s var(--ease-out-expo);
}

.animate-slide-left {
  animation: slideInLeft 0.8s var(--ease-out-expo);
}

.animate-slide-right {
  animation: slideInRight 0.8s var(--ease-out-expo);
}

/* Modern loading spinner */
@keyframes modernSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner-modern {
  width: 40px;
  height: 40px;
  border: 3px solid var(--neutral-200);
  border-top: 3px solid var(--primary-500);
  border-radius: 50%;
  animation: modernSpin 0.8s linear infinite;
}

/* Ripple effect */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.ripple-effect {
  position: relative;
  overflow: hidden;
}

.ripple-effect::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;
}

.ripple-effect:active::before {
  width: 300px;
  height: 300px;
  animation: ripple 0.6s ease-out;
}

/* Gradient animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

/* Text reveal animation */
@keyframes textReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.animate-text-reveal {
  animation: textReveal 0.8s var(--ease-out-expo) forwards;
}

/* Number counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-count {
  animation: countUp 0.8s var(--ease-out-cubic) forwards;
}

/* Page transition */
.page-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--ease-out-cubic);
}

.page-transition.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Modern focus styles */
*:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
  transition: all 0.2s var(--ease-out-cubic);
}

/* Enhanced hover effects for links */
a:not(.btn) {
  position: relative;
  transition: color 0.3s var(--ease-out-cubic);
}

a:not(.btn):hover {
  color: var(--primary-600);
}

a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  transition: width 0.3s var(--ease-out-cubic);
}

a:not(.btn):hover::after {
  width: 100%;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-on-scroll,
  .animate-float,
  .animate-pulse,
  .animate-gradient {
    animation: none !important;
  }
}

/* ===================================
   INTERACTIVE GLOBE STYLES
   =================================== */

.interactive-globe-section {
  padding: var(--spacing-20) 0;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2d3561 100%);
  position: relative;
  overflow: hidden;
}

.interactive-globe-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
  animation: cosmic-drift 20s ease-in-out infinite alternate;
}

@keyframes cosmic-drift {
  0% { transform: translateX(-10px) translateY(-5px); }
  100% { transform: translateX(10px) translateY(5px); }
}

.interactive-globe-section .section-header {
  text-align: center;
  margin-bottom: var(--spacing-16);
  position: relative;
  z-index: 2;
}

.interactive-globe-section .section-header h2 {
  color: var(--white);
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--spacing-4);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.interactive-globe-section .badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.globe-container {
  position: relative;
  margin-bottom: var(--spacing-16);
  z-index: 2;
}

.globe-wrapper {
  height: 600px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at center, #1a1f3a 0%, #0a0e27 100%);
  position: relative;
}

.globe-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}

.globe-controls {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-4);
  display: flex;
  gap: var(--spacing-2);
  z-index: 10;
}

.globe-control-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-2) var(--spacing-3);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.globe-control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.globe-control-btn.active {
  background: var(--primary-600);
  border-color: var(--primary-500);
}

.destinations-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-16);
  position: relative;
  z-index: 2;
}

.destinations-stats .stat-item {
  text-align: center;
  padding: var(--spacing-6);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.destinations-stats .stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.destinations-stats .stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--spacing-2);
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.destinations-stats .stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-base);
  font-weight: 500;
}

.interactive-globe-section .destinations-cta {
  text-align: center;
  position: relative;
  z-index: 2;
}

.interactive-globe-section .destinations-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Destination Modal Styles */
.destination-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-4);
}

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

.destination-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.destination-modal .modal-content {
  position: relative;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.destination-modal .modal-close,
.country-modal .modal-close {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-4);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  z-index: 10001;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: var(--gray-600);
}

.destination-modal .modal-close:hover,
.country-modal .modal-close:hover {
  background: rgba(255, 255, 255, 1);
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.3);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
}

.destination-modal .modal-close:active,
.country-modal .modal-close:active {
  transform: scale(0.95);
}

.destination-content {
  padding: var(--spacing-8);
  max-height: 80vh;
  overflow-y: auto;
}

.destination-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-6);
  padding-bottom: var(--spacing-4);
  border-bottom: 1px solid var(--gray-200);
}

.destination-flag {
  font-size: 3rem;
  line-height: 1;
}

.destination-title {
  flex: 1;
}

.destination-title h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-1);
}

.destination-title p {
  color: var(--gray-600);
  font-size: var(--font-size-base);
}

.destination-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-8);
}

.destination-stat {
  text-align: center;
  padding: var(--spacing-4);
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-100);
}

.destination-stat-value {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary-600);
  margin-bottom: var(--spacing-1);
}

.destination-stat-label {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

.destination-programs {
  margin-bottom: var(--spacing-8);
}

.destination-programs h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-4);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-4);
}

.program-card {
  padding: var(--spacing-4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.program-card:hover {
  border-color: var(--primary-300);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.program-card h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--spacing-2);
}

.program-card p {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin-bottom: var(--spacing-3);
}

.program-card .program-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-xs);
  color: var(--gray-500);
}

.destination-cta-section {
  text-align: center;
  padding-top: var(--spacing-6);
  border-top: 1px solid var(--gray-200);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .interactive-globe-section {
    padding: var(--spacing-16) 0;
  }
  
  .interactive-globe-section .section-header h2 {
    font-size: var(--font-size-2xl);
  }
  
  .globe-wrapper {
    height: 400px;
    border-radius: 16px;
  }
  
  .globe-controls {
    position: relative;
    top: auto;
    right: auto;
    justify-content: center;
    margin-top: var(--spacing-4);
  }
  
  .globe-control-btn span {
    display: none;
  }
  
  .globe-control-btn {
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0;
  }
  
  .destinations-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
  }
  
  .destinations-stats .stat-number {
    font-size: var(--font-size-xl);
  }
  
  .destination-modal .modal-content {
    margin: var(--spacing-4);
    max-height: calc(100vh - 2rem);
  }
  
  .destination-content {
    padding: var(--spacing-6);
  }
  
  .destination-header {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-2);
  }
  
  .destination-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

/* Loading Animation for Globe */
@keyframes globe-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.globe-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-lg);
}

.globe-loading::before {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--white);
  border-radius: 50%;
  animation: globe-loading 1s linear infinite;
  margin-right: var(--spacing-3);
}

/* ========================================
   NOTIFICATION SYSTEM
   ======================================== */

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  min-width: 300px;
  max-width: 400px;
  z-index: 10000;
  transform: translateX(450px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--primary-color);
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification-content {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  gap: 0.75rem;
  position: relative;
}

.notification-success {
  border-left-color: #10b981;
}

.notification-success .notification-content i {
  color: #10b981;
}

.notification-error {
  border-left-color: #ef4444;
}

.notification-error .notification-content i {
  color: #ef4444;
}

.notification-info {
  border-left-color: var(--primary-color);
}

.notification-info .notification-content i {
  color: var(--primary-color);
}

.notification-content i:first-child {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notification-content span {
  flex: 1;
  color: var(--neutral-dark);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
}

.notification-close {
  background: none;
  border: none;
  color: var(--neutral-medium);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.notification-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--neutral-dark);
}

.notification-close i {
  font-size: 0.875rem;
}

/* Mobile notifications */
@media (max-width: 768px) {
  .notification {
    top: 10px;
    right: 10px;
    left: 10px;
    min-width: auto;
    max-width: none;
    transform: translateY(-100px);
  }
  
  .notification.show {
    transform: translateY(0);
  }
}

/* Progressive Form Styles */
.progressive-form {
  position: relative;
  overflow: hidden;
}

.form-step {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateX(0);
  min-height: 300px;
}

.form-step.hidden {
  opacity: 0;
  transform: translateX(-30px);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.form-step.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: all;
}

.step-indicator {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.2);
}

.step-text {
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.5rem;
}

.progress-bar {
  background: rgba(255, 255, 255, 0.2);
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  background: rgba(255, 255, 255, 0.9);
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.progress-50 {
  width: 50%;
}

.progress-100 {
  width: 100%;
}

.form-input-large {
  padding: 1rem 1.25rem !important;
  font-size: 1rem !important;
  border-radius: 10px !important;
  border: 2px solid var(--neutral-light) !important;
  transition: all 0.3s ease !important;
  background: #ffffff !important;
}

.form-input-large:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1) !important;
  transform: translateY(-1px) !important;
}

.continue-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
  border: none !important;
  padding: 1rem 2rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}

.continue-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(0, 123, 255, 0.4) !important;
}

.continue-btn:active {
  transform: translateY(0) !important;
}

.form-trust-indicators {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
  border-radius: 12px;
  border: 1px solid var(--neutral-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--neutral-dark);
  font-weight: 500;
}

.trust-item i {
  font-size: 1rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.form-actions .btn-secondary {
  background: var(--neutral-light) !important;
  color: var(--neutral-dark) !important;
  border: 2px solid var(--neutral-medium) !important;
  flex: 0 0 auto !important;
  padding: 0.75rem 1.5rem !important;
}

.form-actions .btn-primary {
  flex: 1 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .form-trust-indicators {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  
  .trust-item {
    justify-content: center;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn-secondary {
    order: 2;
    flex: 1 !important;
  }
  
  .step-indicator {
    padding: 0.75rem 1rem;
  }
  
  .form-input-large {
    padding: 0.875rem 1rem !important;
  }
}

/* Enhanced form animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-step.active {
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Success state styling */
.form-success-message {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #28a745;
  margin-top: 1rem;
  text-align: center;
}

.form-success-message i {
  font-size: 2rem;
  color: #28a745;
  margin-bottom: 0.5rem;
}

.form-success-message h3 {
  color: #155724;
  margin: 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.form-success-message p {
  color: #155724;
}

/* ========================================
   3D INTERACTIVE GLOBE STYLES
   ======================================== */

.destinations-globe-section {
  padding: var(--spacing-20) 0;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2d3561 100%);
  position: relative;
  overflow: hidden;
}

/* Mobile-First Destinations Interactive Grid */
.destinations-interactive-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}

.destinations-header {
  text-align: center;
  margin-bottom: var(--spacing-8);
}

.destinations-header h3 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--spacing-4);
}

.destinations-header p {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.8);
}

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

@media (min-width: 768px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-6);
  }
}

@media (min-width: 1024px) {
  .destinations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.destination-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: var(--spacing-6);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  min-height: 100px;
}

.destination-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.destination-card.popular {
  border-color: #10B981;
}

.destination-card.affordable {
  border-color: #F59E0B;
}

.destination-card.premium {
  border-color: #8B5CF6;
}

.destination-flag {
  font-size: 3rem;
  min-width: 60px;
  text-align: center;
}

.destination-info {
  flex: 1;
}

.destination-info h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--spacing-2);
}

.destination-stats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-1);
  margin-bottom: var(--spacing-2);
}

.destination-stats .stat {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  width: fit-content;
}

.destination-highlight {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--accent-color);
  background: rgba(245, 158, 11, 0.2);
  padding: 4px 8px;
  border-radius: 8px;
  width: fit-content;
}

.destination-arrow {
  font-size: var(--font-size-2xl);
  color: var(--accent-color);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.destination-card:hover .destination-arrow {
  transform: translateX(4px);
}

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

.destinations-cta .btn {
  padding: var(--spacing-4) var(--spacing-8);
  font-size: var(--font-size-lg);
  gap: var(--spacing-2);
}

/* Progressive Form Styles */
.progressive-form-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.progressive-form {
  position: relative;
}

.form-step {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: var(--spacing-8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-step.hidden {
  display: none;
}

.step-progress {
  margin-bottom: var(--spacing-6);
  text-align: center;
}

.progress-indicator {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-2);
  font-weight: 500;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.form-fields {
  margin-bottom: var(--spacing-6);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.phone-input-wrapper {
  display: flex;
  gap: var(--spacing-2);
}

.country-code-select {
  flex: 0 0 100px;
  min-width: 100px;
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: var(--spacing-6);
  margin-top: var(--spacing-6);
  padding-top: var(--spacing-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
}

.trust-item i {
  color: var(--accent-color);
}

.form-actions {
  display: flex;
  gap: var(--spacing-4);
  justify-content: space-between;
}

.form-actions .btn {
  flex: 1;
  justify-content: center;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsiveness for Progressive Form */
@media (max-width: 768px) {
  .progressive-form-container {
    padding: 0 var(--spacing-4);
  }
  
  .form-step {
    padding: var(--spacing-6);
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: var(--spacing-3);
    text-align: center;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .country-code-select {
    flex: 0 0 80px;
    min-width: 80px;
  }
}

/* WhatsApp Sticky Button */
.whatsapp-sticky {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  background: #25D366;
  color: white;
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-sm);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.5);
  text-decoration: none;
  color: white;
}

.whatsapp-btn i {
  font-size: var(--font-size-xl);
}

.whatsapp-text {
  white-space: nowrap;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

/* Mobile WhatsApp Button */
@media (max-width: 768px) {
  .whatsapp-sticky {
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-btn {
    padding: var(--spacing-3);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }
  
  .whatsapp-text {
    display: none;
  }
  
  .whatsapp-btn i {
    font-size: var(--font-size-2xl);
  }
}

.destinations-globe-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
  animation: cosmic-drift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cosmic-drift {
  0% { transform: translateX(-10px) translateY(-5px); }
  100% { transform: translateX(10px) translateY(5px); }
}

.destinations-globe-section .section-header {
  text-align: center;
  margin-bottom: var(--spacing-16);
  position: relative;
  z-index: 2;
}

.destinations-globe-section .section-header h2 {
  color: var(--white);
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--spacing-4);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.destinations-globe-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-lg);
  max-width: 700px;
  margin: 0 auto;
}

.destinations-globe-section .badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.globe-container {
  position: relative;
  margin-bottom: var(--spacing-16);
  z-index: 2;
}

#globe-canvas-container {
  height: 600px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at center, #1a1f3a 0%, #0a0e27 100%);
  position: relative;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

#globe-canvas-container:active {
  cursor: grabbing;
}

#globe-canvas-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
  z-index: 1;
}

.globe-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-6);
  padding: 0 var(--spacing-4);
}

.control-buttons {
  display: flex;
  gap: var(--spacing-3);
}

.globe-control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.globe-control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.globe-control-btn.active {
  background: var(--primary-600);
  border-color: var(--primary-500);
}

.globe-legend {
  display: flex;
  gap: var(--spacing-4);
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
}

.legend-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.pin-popular {
  background: linear-gradient(135deg, #10b981, #059669);
}

.pin-affordable {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pin-premium {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Country Information Modal */
.country-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-4);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

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

.country-modal .modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: var(--spacing-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin: 0;
  color: var(--white);
}

.modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.modal-body {
  padding: var(--spacing-8);
  max-height: 70vh;
  overflow-y: auto;
}

.country-overview {
  display: flex;
  align-items: center;
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-8);
  padding-bottom: var(--spacing-6);
  border-bottom: 1px solid var(--neutral-200);
}

.country-flag-large {
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.country-description {
  flex: 1;
  font-size: var(--font-size-lg);
  line-height: 1.6;
  color: var(--neutral-medium);
}

.country-stats .stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-8);
}

.country-stats .stat-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-4);
  background: var(--neutral-light);
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
}

.country-stats .stat-item i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 10px;
  font-size: 18px;
  flex-shrink: 0;
}

.program-highlights {
  margin-bottom: var(--spacing-8);
}

.program-highlights h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--spacing-4);
}

.programs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.program-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), #2563eb);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.program-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.program-card {
  padding: var(--spacing-4);
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.program-card:hover {
  border-color: var(--primary-300);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.program-card h5 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--spacing-2);
}

.program-card p {
  font-size: var(--font-size-sm);
  color: var(--neutral-medium);
  margin-bottom: var(--spacing-3);
  line-height: 1.5;
}

.program-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-xs);
  color: var(--neutral-medium);
}

.program-price {
  font-weight: 600;
  color: var(--secondary-color);
}

.modal-actions {
  display: flex;
  gap: var(--spacing-4);
  justify-content: center;
  padding-top: var(--spacing-6);
  border-top: 1px solid var(--neutral-200);
}

.globe-footer {
  text-align: center;
  position: relative;
  z-index: 2;
}

.globe-instruction {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
}

.globe-instruction i {
  color: var(--accent-color);
}

.popular-destinations-quick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-4);
  flex-wrap: wrap;
}

.popular-destinations-quick span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-right: var(--spacing-2);
}

.quick-country-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quick-country-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Course Search Section */
.course-search-section {
  padding: var(--spacing-20) 0;
  background: linear-gradient(135deg, var(--neutral-light) 0%, var(--white) 100%);
  text-align: center;
}

.course-search-section .section-header {
  margin-bottom: var(--spacing-12);
}

.course-search-section .badge {
  background: var(--primary-color);
  color: var(--white);
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-4);
}

.program-search-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4);
}

.search-subtext {
  color: var(--neutral-medium);
  font-size: var(--font-size-base);
  margin: 0;
  max-width: 500px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .destinations-globe-section {
    padding: var(--spacing-16) 0;
  }
  
  .destinations-globe-section .section-header h2 {
    font-size: var(--font-size-2xl);
  }
  
  #globe-canvas-container {
    height: 400px;
    border-radius: 16px;
  }
  
  .globe-controls {
    flex-direction: column;
    gap: var(--spacing-4);
    align-items: center;
  }
  
  .globe-legend {
    flex-direction: column;
    gap: var(--spacing-2);
    text-align: center;
  }
  
  .popular-destinations-quick {
    flex-direction: column;
    gap: var(--spacing-3);
  }
  
  .popular-destinations-quick span {
    margin-right: 0;
    margin-bottom: var(--spacing-2);
  }
  
  .country-modal .modal-content {
    margin: var(--spacing-4);
    max-height: calc(100vh - 2rem);
  }
  
  .modal-body {
    padding: var(--spacing-6);
  }
  
  .country-overview {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-4);
  }
  
  .country-stats .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
  }
  
  .programs-list {
    grid-template-columns: 1fr;
  }
  
  .modal-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  #globe-canvas-container {
    height: 300px;
  }
  
  .country-flag-large {
    font-size: 3rem;
  }
  
  .globe-control-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .country-stats .stat-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-header {
    padding: var(--spacing-4);
  }
  
  .modal-header h3 {
    font-size: var(--font-size-xl);
  }
}

/* Globe Loading State */
.globe-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-lg);
  gap: var(--spacing-4);
}

.globe-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Globe Fallback Styles */
.globe-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: var(--spacing-8);
}

.fallback-content {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

.fallback-content h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-4);
  color: var(--white);
}

.fallback-content p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-6);
  color: rgba(255, 255, 255, 0.7);
}

.fallback-countries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-3);
  max-width: 600px;
}

.fallback-country-btn {
  padding: var(--spacing-3) var(--spacing-4);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--white);
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.fallback-country-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.success-actions .btn {
  flex: 0 1 auto;
  min-width: 150px;
}

@media (max-width: 768px) {
  .success-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .success-actions .btn {
    width: 100%;
    max-width: 250px;
  }
}

/* Form Header with Employee Login */
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-header h2 {
  margin: 0;
  flex: 1;
}

.employee-login-btn {
  background: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.employee-login-btn:hover {
  background: var(--primary-color) !important;
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
}

.employee-login-btn:active {
  transform: translateY(0) !important;
}

.employee-login-btn i {
  font-size: 0.95rem;
}

/* =============================================
   PROGRAM INQUIRY MODAL STYLES
============================================= */

.program-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: modalFadeIn 0.3s ease-out;
}

.program-modal .modal-content {
  background-color: #ffffff;
  margin: 2% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.4s ease-out;
  position: relative;
}

.program-modal .modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 24px 32px;
  border-radius: 16px 16px 0 0;
  position: relative;
  overflow: hidden;
}

.program-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="20" cy="80" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

.program-modal .modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.program-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.program-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.program-modal .modal-body {
  padding: 32px;
}

/* Program Overview */
.program-overview {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
}

.program-icon-large {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.program-details h4 {
  margin: 0 0 8px 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.program-price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.program-price-display #program-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-color);
}

.program-price-display #program-duration {
  font-size: 1rem;
  color: var(--neutral-medium);
  font-weight: 500;
}

.program-features-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  background: var(--primary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-tag i {
  font-size: 0.75rem;
}

/* Inquiry Form Section */
.inquiry-form-section {
  margin-bottom: 32px;
}

.inquiry-form-section h4 {
  margin: 0 0 24px 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.inquiry-form-section h4::before {
  content: '📝';
  font-size: 1.2rem;
}

/* Progressive Form Styling */
.program-modal .progressive-form .form-step {
  display: none;
}

.program-modal .progressive-form .form-step.active {
  display: block;
  animation: stepSlideIn 0.3s ease-out;
}

.program-modal .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.program-modal .form-group.full-width {
  grid-column: span 2;
}

.program-modal .form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.program-modal .form-group label i {
  color: var(--accent-color);
  width: 16px;
  text-align: center;
}

.program-modal .form-group input,
.program-modal .form-group select,
.program-modal .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  box-sizing: border-box;
}

.program-modal .form-group input:focus,
.program-modal .form-group select:focus,
.program-modal .form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.program-modal .form-group input.error,
.program-modal .form-group select.error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.program-modal .form-group input[readonly] {
  background-color: #f8f9fa !important;
  cursor: not-allowed;
  color: var(--neutral-medium);
}

/* Form Navigation */
.form-navigation {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 12px;
  margin-top: 24px;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-indicator .step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e1e5e9;
  color: var(--neutral-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.step-indicator .step.active {
  background: var(--secondary-color);
  color: white;
  transform: scale(1.1);
}

.step-indicator .progress-line {
  flex: 1;
  height: 4px;
  background: #e1e5e9;
  border-radius: 2px;
  margin: 0 16px;
  overflow: hidden;
  position: relative;
}

.step-indicator .progress-fill {
  height: 100%;
  background: var(--secondary-color);
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s ease;
}

.form-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.form-buttons .btn {
  min-width: 140px;
  padding: 12px 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e1e5e9;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--neutral-medium);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

/* Success Message */
.form-success-message {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 24px;
}

.form-success-message h3 {
  margin: 0 0 16px 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.form-success-message p {
  font-size: 1.1rem;
  color: var(--neutral-medium);
  margin-bottom: 32px;
  line-height: 1.6;
}

.success-benefits {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--neutral-medium);
  font-size: 0.9rem;
  font-weight: 500;
}

.benefit-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.success-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Error Message */
.form-error-message {
  background: #fef2f2;
  color: #ef4444;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  border-left: 4px solid #ef4444;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .program-modal .modal-content {
    margin: 5% auto;
    width: 95%;
    max-height: 85vh;
  }
  
  .program-modal .modal-header {
    padding: 20px 24px;
  }
  
  .program-modal .modal-body {
    padding: 24px 20px;
  }
  
  .program-overview {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  
  .program-icon-large {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
  }
  
  .program-details h4 {
    font-size: 1.5rem;
  }
  
  .program-price-display #program-price {
    font-size: 1.6rem;
  }
  
  .program-modal .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .program-modal .form-group.full-width {
    grid-column: span 1;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  .success-benefits {
    flex-direction: column;
    gap: 16px;
  }
  
  .success-actions {
    flex-direction: column;
  }
  
  .form-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .program-modal .modal-content {
    margin: 2% auto;
    width: 98%;
    border-radius: 12px;
  }
  
  .program-modal .modal-header {
    padding: 16px 20px;
  }
  
  .program-modal .modal-header h3 {
    font-size: 1.3rem;
  }
  
  .program-modal .modal-body {
    padding: 20px 16px;
  }
  
  .program-overview {
    padding: 16px;
  }
  
  .feature-tag {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
  
  .form-navigation {
    padding: 16px;
  }
  
  .step-indicator .step {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Animation Keyframes */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* Enhanced Mobile Form Styles */
@media (max-width: 768px) {
  .form-input-large,
  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 48px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
  }
  
  .btn {
    min-height: 48px !important;
    font-size: 16px !important;
    padding: 12px 24px !important;
  }
  
  .progressive-form .form-step {
    padding: 16px !important;
  }
  
  .form-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .form-header h2 {
    text-align: left;
    width: 100%;
    font-size: 24px;
  }
  
  .employee-login-btn {
    align-self: flex-end;
    padding: 0.625rem 1.25rem !important;
    font-size: 0.85rem !important;
    min-height: 44px !important;
  }
}

@media (max-width: 480px) {
  .form-header {
    text-align: center;
    align-items: center;
  }
  
  .form-header h2 {
    font-size: 22px;
    text-align: center;
  }
  
  .employee-login-btn {
    align-self: center;
  }
  
  .section {
    padding: 40px 16px !important;
  }
}

/* =============================================
   CONTRAST IMPROVEMENTS FOR ACCESSIBILITY
   ============================================= */

/* Override any low-contrast text colors with high-contrast alternatives */
.section-header h2,
.section-header h1,
.hero-section h1,
.hero-section h2,
.mbbs-section h2,
.destinations-section h2,
.visa-success-section h2,
.interactive-globe-section h2,
.fee-structure-section h2 {
  color: var(--heading-color) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 800;
}

/* Improve paragraph text contrast */
.section-header p,
.hero-section p,
.mbbs-section p,
.destinations-section p,
.visa-success-section p,
.interactive-globe-section p,
.fee-structure-section p {
  color: var(--text-color) !important;
  line-height: 1.6;
  font-weight: 500;
}

/* Ensure proper contrast for card text */
.visa-country-card h3,
.mbbs-card h3,
.service-card h3,
.destination-card h3,
.course-product-card h3 {
  color: var(--heading-color) !important;
  font-weight: 700;
}

.visa-country-card p,
.mbbs-card p,
.service-card p,
.destination-card p,
.course-product-card p {
  color: var(--text-color) !important;
  line-height: 1.5;
}

/* Fix highlight text on various backgrounds */
.highlight-text {
  color: var(--heading-color) !important;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  margin: 8px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure proper contrast for navigation */
.nav-link,
.footer-link {
  color: var(--text-color) !important;
  font-weight: 500;
}

.nav-link:hover,
.footer-link:hover {
  color: var(--primary-color) !important;
}

/* Light text on dark backgrounds */
.hero-section.dark,
.footer,
.cta-section {
  color: var(--text-color-light) !important;
}

.hero-section.dark h1,
.hero-section.dark h2,
.footer h1,
.footer h2,
.footer h3,
.cta-section h1,
.cta-section h2 {
  color: var(--heading-color-light) !important;
}

/* Ensure badges and labels have proper contrast */
.badge,
.label,
.tag,
.price-tag,
.course-badge {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  font-weight: 600;
  text-shadow: none;
}

/* Fix form element contrast */
.form-group label {
  color: var(--text-color) !important;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  color: var(--text-color) !important;
  border-color: var(--neutral-300) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-text) !important;
  opacity: 1;
}

/* Ensure buttons have proper contrast */
.btn-primary {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  border: none;
  font-weight: 600;
}

.btn-secondary {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  font-weight: 600;
}

/* Fix modal and overlay text contrast */
.modal-content,
.country-modal .modal-content,
.program-modal .modal-content {
  background: var(--white) !important;
  color: var(--text-color) !important;
}

.modal-content h1,
.modal-content h2,
.modal-content h3,
.modal-content h4 {
  color: var(--heading-color) !important;
}

/* Ensure table and list contrast */
.table,
.list {
  color: var(--text-color) !important;
}

.table th {
  color: var(--heading-color) !important;
  background: var(--neutral-100) !important;
}

/* Fix specific problem areas */
.fee-structure-section .section-header h2,
.fee-structure-section .section-header p {
  color: var(--heading-color) !important;
}

.destinations-globe-section .section-header h2,
.destinations-globe-section .section-header p {
  color: var(--heading-color) !important;
}

/* Ensure proper contrast ratios for all text elements */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-color: #000000;
    --heading-color: #000000;
    --background-color: #ffffff;
  }
  
  .section-header h2,
  .section-header p,
  h1, h2, h3, h4, h5, h6,
  p, span, div, a {
    color: #000000 !important;
    text-shadow: none !important;
  }
  
  .btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #000000 !important;
  }
}

/* Fix for testimonials section visibility */
.testimonials-section .testimonial-card {
  background-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e2e8f0 !important;
  min-height: 200px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  padding: 32px !important;
  margin-bottom: 24px !important;
  border-radius: 16px !important;
}

.testimonials-section .testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-5px) !important;
}

.testimonials-section {
  min-height: 500px !important;
  display: block !important;
  visibility: visible !important;
  padding: 80px 0 !important;
  background-color: #ffffff !important;
}

.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 48px !important;
}

.testimonials-section .section-header h2 {
  color: #1e3a8a !important;
  font-size: 2.5rem !important;
  margin-bottom: 16px !important;
}

.testimonials-section .section-header p {
  color: #64748b !important;
  font-size: 1.1rem !important;
}

.testimonials-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
  gap: 32px !important;
  visibility: visible !important;
}

.testimonials-section .testimonial-content p {
  color: #475569 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  font-style: italic;
}

.testimonials-section .stars {
  color: #f59e0b !important;
  margin-bottom: 16px !important;
}

.testimonials-section .testimonial-author img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.testimonials-section .author-info h4 {
  color: #1e3a8a !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
}

.testimonials-section .author-info p {
  color: #64748b !important;
  font-size: 0.9rem !important;
}

/* Fix for services section visibility */
.services-section {
  display: block !important;
  visibility: visible !important;
  padding: 80px 0 !important;
  background-color: #f8fafc !important;
}

.services-section .section-header {
  text-align: center;
  margin-bottom: 48px !important;
}

.services-section .section-header h2 {
  color: #1e3a8a !important;
  font-size: 2.5rem !important;
  margin-bottom: 16px !important;
}

.services-section .section-header p {
  color: #64748b !important;
  font-size: 1.1rem !important;
}

.services-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
  gap: 32px !important;
  visibility: visible !important;
}

.services-section .service-card {
  background-color: #ffffff !important;
  padding: 32px !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.3s ease !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

.services-section .service-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.services-section .service-icon {
  font-size: 2.5rem !important;
  margin-bottom: 16px !important;
  color: #1e3a8a !important;
}

.services-section .service-card h3 {
  color: #1e3a8a !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
}

.services-section .service-card p {
  color: #475569 !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
}

.services-section .service-link {
  color: #3b82f6 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.3s ease !important;
}

.services-section .service-link:hover {
  color: #1e3a8a !important;
  text-decoration: none !important;
}

/* Global fix for animate-on-scroll visibility issues */
.visa-country-card,
.mbbs-card,
.course-product-card,
.section-header,
.hero-text,
.hero-search-bar {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: block !important;
}

/* Ensure all cards and sections are visible */
.visa-countries-grid,
.mbbs-grid,
.course-products-grid {
  display: grid !important;
  visibility: visible !important;
}

/* Fix for any remaining invisible content */
.visa-country-card {
  background-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
}

.mbbs-card {
  background-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
}

.course-product-card {
  background-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
}

/* Interactive Globe Styles */
.destinations-globe-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2c3e50 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.destinations-globe-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.destinations-globe-section .section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.destinations-globe-section .section-header h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.destinations-globe-section .section-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.destinations-globe-section .badge {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

/* Globe Container */
.globe-container {
  position: relative;
  width: 100%;
  height: 600px;
  margin: 0 auto;
  border-radius: 20px;
  background: radial-gradient(circle at center, rgba(30, 58, 138, 0.2) 0%, rgba(15, 20, 25, 0.8) 100%);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.interactive-globe {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.interactive-globe:active {
  cursor: grabbing;
}

/* Globe Controls */
.globe-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.globe-zoom-controls {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.globe-control-btn {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.globe-control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Globe Loading */
.globe-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
  transition: opacity 0.5s ease;
}

.globe-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.globe-loader p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* Mobile Fallback */
.mobile-destinations-fallback {
  display: none;
}

@media (max-width: 768px) {
  .globe-container {
    height: 400px;
  }
  
  .mobile-destinations-fallback {
    display: block;
    margin-top: 40px;
  }
  
  .destinations-header {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .destinations-header h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .destinations-header p {
    color: rgba(255, 255, 255, 0.8);
  }
}

/* Country Pin Styles */
.country-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
  animation: pulse 2s infinite;
}

.country-pin:hover {
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
  animation: none;
}

.country-pin::after {
  content: attr(data-country);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.country-pin:hover::after {
  opacity: 1;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
  }
}

/* Country Modal Enhancements */
.country-modal {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.country-modal .modal-content {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.country-modal .modal-header {
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.country-modal .modal-header h3 {
  color: white;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.stat-item i {
  font-size: 1.5rem;
  color: #f59e0b;
}

.stat-item strong {
  display: block;
  font-size: 1.2rem;
  color: white;
}

.stat-item small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.programs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.program-tag {
  background: rgba(59, 130, 246, 0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(59, 130, 246, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .globe-container {
    height: 500px;
  }
  
  .destinations-globe-section .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .destinations-globe-section {
    padding: 60px 0;
  }
  
  .destinations-globe-section .section-header h2 {
    font-size: 2rem;
  }
  
  .globe-controls {
    top: 15px;
    right: 15px;
  }
  
  .globe-control-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ==============================================
   PROGRESSIVE FORM OPTIMIZATION
   ============================================== */

/* Progressive Form Styles */
.progressive-form {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--neutral-dark, #1f2937);
  font-size: 0.875rem;
}

.progressive-form .form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  min-height: 48px;
  font-family: inherit;
  box-sizing: border-box;
}

.progressive-form .form-input:focus {
  outline: none;
  border-color: var(--secondary-color, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.progressive-form .form-input:invalid {
  border-color: #ef4444;
}

.progressive-form .form-input[aria-invalid="true"] {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.progress-indicator {
  margin-top: 2rem;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color, #1e3a8a), var(--secondary-color, #3b82f6));
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.875rem;
  color: var(--neutral-medium, #64748b);
}

/* Button enhancements for progressive forms */
.progressive-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  min-height: 48px;
  min-width: 48px;
}

.progressive-form .btn-primary {
  background-color: var(--accent-color, #f59e0b);
  color: white;
}

.progressive-form .btn-primary:hover {
  background-color: #e08e0b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.progressive-form .btn-primary:focus {
  outline: 3px solid rgba(245, 158, 11, 0.5);
  outline-offset: 2px;
}

.progressive-form .btn-primary:active {
  transform: translateY(0);
}

/* Mobile responsiveness for progressive forms */
@media (max-width: 768px) {
  .progressive-form {
    padding: 1.5rem;
    margin: 1rem;
    border-radius: 0.75rem;
  }
  
  .progressive-form .form-input {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .progressive-form h3 {
    font-size: 1.5rem;
  }
  
  .progressive-form .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==============================================
   MOBILE-FIRST OPTIMIZATIONS
   ============================================== */

/* Mobile-first base styles override */
body {
  font-size: 16px; /* Prevent iOS zoom */
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header mobile optimization override */
.header {
  padding: 0.5rem 0;
}

.header-container {
  padding: 0 1rem;
}

.logo img {
  height: 40px; /* Mobile default */
  max-width: 150px;
}

/* Navigation mobile enhancement */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  color: var(--neutral-dark, #1f2937);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 999;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--neutral-dark);
  text-decoration: none;
  border-bottom: 1px solid #e5e7eb;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Hero mobile optimization override */
.hero {
  padding: 6rem 1rem 3rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Tablet and desktop styles */
@media (min-width: 768px) {
  .logo img {
    height: 50px;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .mobile-menu {
    display: flex !important;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 2rem;
  }
  
  .mobile-menu a {
    border-bottom: none;
    padding: 0;
    min-height: auto;
  }
  
  .hero {
    padding: 6rem 2rem 3rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .logo img {
    height: 60px;
  }
  
  .hero {
    padding: 8rem 2rem 4rem;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

/* Touch targets (WCAG 2.2 AA) enhancement */
a, button, input, select, textarea {
  min-height: 44px;
  min-width: 44px;
}

/* Focus indicators enhancement */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--secondary-color, #3b82f6);
  outline-offset: 2px;
}

/* Reduced motion support enhancement */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .form-group.focused {
    transform: none;
  }
}
