/* ============================================
   European Immigration Agency - Mach42 Style
   Pure CSS - No Frameworks
   ============================================ */

/* ============================================
   CSS VARIABLES - Color System
   ============================================ */
:root {
  /* Primary Colors */
  /* DARK THEME - COMMENTED OUT
  --bg-primary: #0B1120;
  --bg-secondary: #111827;
  --bg-secondary-glow: rgba(255, 255, 255, 0.03);
  --bg-deep: #080C14;
  --bg-slate: #0F1620;
  */
  
  /* LIGHT THEME */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-secondary-glow: rgba(0, 0, 0, 0.03);
  --bg-deep: #F1F5F9;
  --bg-slate: #E2E8F0;
  
  /* Text Colors */
  /* DARK THEME - COMMENTED OUT
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  */
  
  /* LIGHT THEME */
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #64748B;
  
  /* Accent Colors */
  --accent-cyan: #00D4FF;
  --accent-cyan-glow: rgba(0, 212, 255, 0.15);
  --accent-cyan-border: rgba(0, 212, 255, 0.3);
  --accent-cyan-text-shadow: rgba(0, 212, 255, 0.5);
  
  /* Success Color */
  --success-green: #10B981;
  --success-green-glow: rgba(16, 185, 129, 0.15);
  
  /* Border Colors */
  /* DARK THEME -COMMENTED OUT
  --border-subtle: rgba(148, 163, 184, 0.1);
  --border-card: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(0, 212, 255, 0.3);
  */
  
  /* LIGHT THEME */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-card: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 212, 255, 0.3);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  
  /* Shadows */
  /* DARK THEME -COMMENTED OUT
  --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.15);
  */
  
  /* LIGHT THEME */
  --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.2);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Container */
  --container-max: 1200px;
  --container-padding: 2rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: 40px;
  font-weight: 600;
}

h3 {
  font-size: 24px;
  font-weight: 500;
}

h4 {
  font-size: 20px;
  font-weight: 500;
}

p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

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

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

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

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

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.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;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  border: 2px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent-cyan);
  color: var(--bg-primary);
  border-color: var(--accent-cyan);
}

.btn-primary:hover {
  background-color: var(--bg-primary);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
  background-color: var(--accent-cyan);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 14px;
}

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

/* ============================================
   CARDS
   ============================================ */
.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-secondary-glow);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover), 0 0 0 1px var(--border-hover);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--spacing-md) 0;
  transition: all var(--transition-base);
  background-color: transparent;
}

.nav.scrolled {
  /* DARK THEME -COMMENTED OUT
  background-color: rgba(11, 17, 32, 0.85);
  */
  /* LIGHT THEME */
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  transition: opacity var(--transition-fast);
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo svg {
  width: 40px;
  height: 40px;
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-cyan);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px var(--accent-cyan-text-shadow);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.625rem 1.25rem;
  font-size: 14px;
}

/* Mobile Menu Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-base);
}

.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(5px, -5px);
}

/* Mobile Menu Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xl);
  transition: right var(--transition-slow);
}

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

.nav-overlay a {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 1rem 0;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.6s ease forwards;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  opacity: 0;
  animation: fadeIn 0.4s ease 0.4s forwards;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Abstract Map Visualization */
.map-visualization {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-cyan), 0 0 40px var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}

.map-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.map-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.3;
}

/* Trust Bar */
.trust-bar {
  position: absolute;
  bottom: var(--spacing-2xl);
  left: 0;
  right: 0;
  padding: var(--spacing-lg) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  /* DARK THEME -COMMENTED OUT
  background: linear-gradient(180deg, transparent, rgba(11, 17, 32, 0.5), transparent);
  */
  /* LIGHT THEME */
  background: linear-gradient(180deg, transparent, rgba(248, 250, 252, 0.8), transparent);
}

.trust-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-3xl);
  flex-wrap: wrap;
}

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

.trust-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-cyan);
  display: block;
}

.trust-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: var(--spacing-sm);
  padding: 0.25rem 0.75rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-sm);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.service-card {
  text-align: center;
  padding: var(--spacing-xl);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
}

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

.service-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.service-card .urgency-tag {
  display: inline-block;
  margin-top: var(--spacing-sm);
  padding: 0.25rem 0.75rem;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

/* ============================================
   DESTINATIONS SECTION
   ============================================ */
.destinations {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-slate) 50%, var(--bg-primary) 100%);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.destination-card {
  text-align: center;
  padding: var(--spacing-xl);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  background-color: var(--bg-secondary);
  transition: all var(--transition-base);
  cursor: pointer;
}

.destination-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

.destination-flag {
  font-size: 48px;
  margin-bottom: var(--spacing-md);
  display: block;
}

.destination-card h3 {
  margin-bottom: var(--spacing-xs);
}

.destination-program {
  color: var(--accent-cyan);
  font-size: 14px;
  font-weight: 500;
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--border-subtle), var(--accent-cyan), var(--border-subtle));
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
  position: relative;
  opacity: 0.5;
  transition: all var(--transition-base);
}

.timeline-step.active {
  opacity: 1;
}

.timeline-step:nth-child(odd) {
  flex-direction: row;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.timeline-step.active .timeline-number {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.timeline-content {
  flex: 1;
  padding: var(--spacing-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
}

.timeline-content h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.timeline-content p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ============================================
   SUCCESS STORIES
   ============================================ */
.success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.success-card {
  padding: var(--spacing-lg);
}

.success-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  padding: 0.25rem 0.75rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-md);
}

.success-card h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 18px;
  color: var(--text-primary);
}

.success-card .success-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
  display: block;
}

.success-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.success-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-cyan);
  transition: all var(--transition-fast);
}

.success-link:hover {
  gap: 0.75rem;
}

.success-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.success-link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
  background-color: var(--bg-slate);
  padding: var(--spacing-3xl) 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.partner-logo {
  text-align: center;
  padding: var(--spacing-lg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.partner-logo:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.guarantee-box {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-xl);
  border: 2px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  text-align: center;
  background: rgba(0, 212, 255, 0.05);
}

.guarantee-box h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--accent-cyan);
}

.guarantee-box p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--bg-deep);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  border-top: 1px solid var(--border-subtle);
}

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

.footer-brand h4 {
  font-size: 20px;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.footer-section h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--spacing-sm);
  font-size: 14px;
  color: var(--text-muted);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* Newsletter */
.newsletter {
  margin-top: var(--spacing-lg);
}

.newsletter-form {
  display: flex;
  gap: var(--spacing-sm);
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--accent-cyan);
  border: none;
  border-radius: var(--radius-md);
  color: var(--bg-primary);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-base);
}

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

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color var(--transition-fast);
}

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

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

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

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

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

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

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

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

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  :root {
    --container-padding: 1.5rem;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

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

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

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

  .trust-stats {
    gap: var(--spacing-xl);
  }

  .hero-visual {
    width: 40%;
  }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  /* Navigation */
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .hero-visual {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .trust-bar {
    position: relative;
    bottom: auto;
    margin-top: var(--spacing-xl);
  }

  .trust-stats {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  /* Grids */
  .services-grid,
  .destinations-grid,
  .success-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

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

  /* Timeline */
  .timeline::before {
    left: 20px;
  }

  .timeline-step {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 60px;
    gap: var(--spacing-md);
  }

  .timeline-number {
    position: absolute;
    left: 0;
  }

  .timeline-content {
    width: 100%;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .newsletter-btn {
    width: 100%;
  }

  /* Touch Targets */
  .btn {
    min-height: 44px;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 15px;
  }

  .card,
  .service-card,
  .destination-card,
  .success-card {
    padding: var(--spacing-lg);
  }

  .section-header {
    padding: 0 var(--spacing-sm);
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  padding: 1rem;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    /* DARK THEME -COMMENTED OUT
    --border-card: rgba(255, 255, 255, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.3);
    */
    /* LIGHT THEME */
    --border-card: rgba(0, 0, 0, 0.2);
    --border-subtle: rgba(0, 0, 0, 0.3);
  }
}
