/* ============================================
   PARALLAX COMPONENTS
   All component styles using the design system
   ============================================ */

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1440px;
  padding: 16px 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-center {
  display: flex;
  gap: var(--space-xl);
}

.nav-item {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: var(--weight-medium);
  transition: color var(--transition-base);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  font-weight: var(--weight-bold);
  font-size: var(--font-lg);
  color: var(--color-text-primary);
}

.logo-img {
  height: 32px;
  width: auto;
  transition: fill var(--transition-base);
}

/* Logo adjustment for dark mode - make text white, keep circles blue */
[data-theme="dark"] .logo-img .logo-text {
  fill: #ffffff;
}

/* Footer logo - keep icon blue, make text white in dark mode */
.footer-logo {
  height: 30px;
  width: auto;
}

[data-theme="dark"] .footer-logo .footer-logo-text {
  fill: #ffffff;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--color-text-secondary);
}

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

.social-btn.whatsapp-btn:hover {
  background: #25D366;
  border-color: #25D366;
  color: white;
}

.social-btn.telegram-btn:hover {
  background: #0088cc;
  border-color: #0088cc;
  color: white;
}

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

/* Language Toggle Button */
.language-toggle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.language-toggle:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* Calculator Button Specific Styles */
.calculator-btn {
  text-decoration: none;
}

.calculator-btn.active {
  background: var(--color-primary) !important;
  color: white !important;
  border-color: var(--color-primary) !important;
}

/* Search Button Link */
.search-btn {
  text-decoration: none;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--color-text-secondary);
}

.theme-toggle:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
}

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

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

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

/* ============================================
   SECTIONS AS CARDS - MODERN GLASS
   ============================================ */
.section-card {
  /* max-width and margin handled by width-consistency-fix.css */
  padding: 40px 48px; /* Will be overridden by width-consistency-fix.css */
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 24px 48px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .section-card {
  background: rgba(15, 15, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 24px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

/* Section Headers - Improved Typography */
.section-header {
  margin-bottom: 32px;
  text-align: center;
}

.section-header.centered {
  text-align: center;
}

.section-eyebrow {
  font-size: var(--font-label-sm); /* Responsive 11px -> 10px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  color: var(--color-primary);
  margin-bottom: 12px;
  opacity: 0.9;
}

.section-title {
  font-size: var(--font-display-3); /* Responsive 40px -> 32px -> 24px -> 22px */
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-tight);
}

.section-title .text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns, equal width */
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.service-card {
  background: rgba(104, 110, 238, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(104, 110, 238, 0.15);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 24px rgba(104, 110, 238, 0.08);
}

/* Background images for each card */
.service-card[data-service="business"] {
  background-image: linear-gradient(rgba(10, 10, 20, 0.75), rgba(10, 10, 20, 0.75)), 
                    url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=800&q=80');
}

.service-card[data-service="personal"] {
  background-image: linear-gradient(rgba(10, 10, 20, 0.75), rgba(10, 10, 20, 0.75)), 
                    url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=800&q=80');
}

.service-card[data-service="ecommerce"] {
  background-image: linear-gradient(rgba(10, 10, 20, 0.75), rgba(10, 10, 20, 0.75)), 
                    url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=800&q=80');
}

.service-card[data-service="remote"] {
  background-image: linear-gradient(rgba(10, 10, 20, 0.75), rgba(10, 10, 20, 0.75)), 
                    url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=800&q=80');
}

[data-theme="light"] .service-card {
  background: rgba(104, 110, 238, 0.03);
  border-color: rgba(104, 110, 238, 0.2);
}

[data-theme="light"] .service-card[data-service="business"] {
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                    url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=800&q=80');
}

[data-theme="light"] .service-card[data-service="personal"] {
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                    url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=800&q=80');
}

[data-theme="light"] .service-card[data-service="ecommerce"] {
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                    url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=800&q=80');
}

[data-theme="light"] .service-card[data-service="remote"] {
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                    url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=800&q=80');
}

[data-theme="dark"] .service-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Light mode - darker text for lighter overlays */
[data-theme="light"] .service-content h3 {
  color: var(--color-text-primary);
}

[data-theme="light"] .service-content p {
  color: var(--color-text-secondary);
}

[data-theme="light"] .service-card .btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

[data-theme="light"] .service-card .btn-outline:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(104, 110, 238, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(104, 110, 238, 0.2);
  border-color: rgba(104, 110, 238, 0.25);
}

[data-theme="dark"] .service-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

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

.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: var(--font-heading-3); /* Responsive 24px -> 22px -> 20px -> 18px */
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
  position: relative;
  z-index: 2;
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-heading);
}

.service-content p {
  font-size: var(--font-body-base); /* Responsive 15px -> 14px -> 13px */
  line-height: var(--line-height-relaxed);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  flex: 1;
  position: relative;
  z-index: 2;
}

/* Adjust button styling for image backgrounds */
.service-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  position: relative;
  z-index: 2;
}

.service-card .btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.service-icons {
  display: none; /* Removed emoji icons */
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
  margin-top: var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.faq-category {
  background: rgba(104, 110, 238, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(104, 110, 238, 0.1);
  border-radius: 24px;
  padding: 24px 16px; /* Minimal horizontal padding */
  box-shadow: 0 4px 16px rgba(104, 110, 238, 0.06);
  transition: all 0.3s ease;
}

[data-theme="dark"] .faq-category {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.faq-category:hover {
  box-shadow: 0 8px 24px rgba(104, 110, 238, 0.1);
}

[data-theme="dark"] .faq-category:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.faq-category-title {
  font-size: var(--font-heading-3); /* Responsive 24px -> 22px -> 20px -> 18px */
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 20px; /* Reduced from 24px */
  padding-bottom: 12px; /* Reduced from 16px */
  border-bottom: 1px solid rgba(104, 110, 238, 0.1);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-heading);
}

[data-theme="dark"] .faq-category-title {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--font-heading-5); /* Responsive 18px -> 16px -> 15px */
  font-weight: 600;
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  gap: 16px;
  line-height: var(--line-height-heading);
}

.faq-question:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-primary);
}

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

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  /* No padding needed - using margin on paragraph instead */
}

.faq-answer p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: var(--font-base); /* 15px - matches visa descriptions */
  margin: 0 0 16px 0; /* No top margin, 16px bottom margin */
}

/* ============================================
   BUTTONS - MODERN
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(104, 110, 238, 0.3);
  letter-spacing: -0.1px;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(104, 110, 238, 0.4);
  transform: translateY(-2px);
}

.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(104, 110, 238, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(104, 110, 238, 0.2);
  border-radius: 16px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(104, 110, 238, 0.1);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(104, 110, 238, 0.3);
  border-color: var(--color-primary);
}

.btn-outline.dark {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
}

.btn-outline.dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   SLOGAN SECTION - ENHANCED TYPOGRAPHY
   ============================================ */
.slogan-section {
  padding-top: 36px !important; /* Reduced by 10% from 40px */
  padding-bottom: 36px !important; /* Reduced by 10% from 40px */
  text-align: center;
  margin-top: 54px !important; /* Reduced by 10% from 60px */
}

.slogan-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 60px; /* Ensure consistent height */
}

.slogan-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
  transition: opacity 0.3s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

/* Slogan exit animation - slide left with trail */
.slogan-title.slide-out {
  animation: slideOutLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOutLeft {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  30% {
    opacity: 0.7;
  }
  60% {
    opacity: 0.3;
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

/* Slogan enter animation - slide in from right */
.slogan-title.slide-in {
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  40% {
    opacity: 0.3;
  }
  70% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slogan-subtitle {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================
   CATEGORY BUTTONS
   ============================================ */
.category-buttons-section {
  padding-top: 40px !important;
  padding-bottom: 0 !important;
}

.category-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.category-btn {
  text-decoration: none;
  color: inherit;
  padding: 12px 32px;
  min-width: 140px;
  text-align: center;
  background: rgba(104, 110, 238, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(104, 110, 238, 0.15);
  border-radius: 16px;
  color: var(--color-text-secondary);
  font-weight: 700; /* Changed from 600 to 700 for bold text */
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(104, 110, 238, 0.08);
}

[data-theme="dark"] .category-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.category-btn:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(104, 110, 238, 0.3);
}

.category-btn.active {
  background: var(--gradient-primary) !important;
  color: white !important;
  border-color: transparent !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(104, 110, 238, 0.4) !important;
}

.category-btn.active:hover {
  box-shadow: 0 8px 20px rgba(104, 110, 238, 0.5) !important;
}

/* Category Content Containers */
.category-content {
  height: 0; overflow: hidden; opacity: 0; position: absolute; pointer-events: none;
}

.category-content.active {
  display: block !important;
}

/* ВИЗЫ Hero Content */
.hero-vizy-content {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.vizy-title {
  font-size: var(--font-4xl);
  font-weight: var(--weight-bold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-lg);
}

.vizy-description {
  font-size: var(--font-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Visa Pricing Lists */
.visa-region {
  margin-bottom: var(--space-xl);
  margin-top: var(--space-lg);
}

.visa-region:first-child {
  margin-top: 0;
}

.visa-region-title {
  font-size: var(--font-heading-3); /* Responsive 24px -> 22px -> 20px -> 18px */
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  border: none; /* Removed border */
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  text-align: center;
  letter-spacing: 1.5px;
  line-height: var(--line-height-heading);
}

.visa-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.visa-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  scroll-margin-top: 120px; /* Offset for fixed navbar - works in Safari */
}

.visa-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.visa-info {
  flex: 1;
}

.visa-info h4 {
  font-size: var(--font-heading-5); /* Responsive 18px -> 16px -> 15px */
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
  line-height: var(--line-height-heading);
}

.visa-info p {
  font-size: var(--font-body-base); /* Responsive 15px -> 14px -> 13px */
  color: var(--color-text-secondary);
  line-height: var(--line-height-body);
}

.visa-price {
  flex-shrink: 0;
  font-size: var(--font-price-base); /* Responsive 20px -> 18px -> 16px */
  font-weight: var(--weight-regular);
  color: var(--color-primary);
  white-space: nowrap;
  padding: 10px 22px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
  border-radius: 12px;
  align-self: center;
  line-height: 1.4;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-container {
  position: relative;
  padding: var(--space-2xl) 0;
  margin-top: var(--space-3xl);
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 80px; /* Proper spacing between items (no overlap) */
  position: relative;
  z-index: 1;
}

/* Increase z-index for each subsequent item */
.timeline-item:nth-child(2) { z-index: 2; }
.timeline-item:nth-child(3) { z-index: 3; }
.timeline-item:nth-child(4) { z-index: 4; }
.timeline-item:nth-child(5) { z-index: 5; }
.timeline-item:nth-child(6) { z-index: 6; }

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item.left {
  justify-content: flex-end;
  padding-right: calc(50% + 80px); /* Space for connector line and dot */
}

.timeline-item.right {
  justify-content: flex-start;
  padding-left: calc(50% + 80px); /* Space for connector line and dot */
}

/* Content without card styling */
.timeline-content {
  position: relative;
  max-width: 420px;
  padding: 0;
  background: transparent;
  border: none;
  transition: all var(--transition-base);
}

/* Connector line from content to timeline dot - REMOVED */
.timeline-content::before {
  display: none; /* Hide horizontal connector lines */
}

.timeline-content:hover {
  transform: translateY(-4px);
}

/* Number badge - hidden */
.timeline-number {
  display: none;
}

.timeline-content h3 {
  font-size: var(--font-heading-3); /* Responsive 24px -> 22px -> 20px -> 18px */
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
  line-height: var(--line-height-heading);
}

.timeline-content p {
  font-size: var(--font-body-base); /* Responsive 15px -> 14px -> 13px */
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
}

/* Timeline dots - aligned with heading text */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 3px; /* Center of dot (8px) aligns with center of h3 text (~11px) */
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border: 4px solid var(--color-bg-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 4px rgba(104, 110, 238, 0.2);
  z-index: 10;
  transition: all var(--transition-base);
}

[data-theme="dark"] .timeline-dot {
  border-color: #0a0a14;
  box-shadow: 0 0 0 4px rgba(104, 110, 238, 0.3);
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 0 6px rgba(104, 110, 238, 0.3);
}

/* ============================================
   FLAGS SECTION
   ============================================ */
.flags-section {
  padding: 40px 0; /* Standardized spacing */
  overflow: hidden;
}

.flags-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  /* Isolate from scroll to prevent animation jumping */
  contain: layout style paint;
  isolation: isolate;
}

.flags-track {
  display: flex;
  gap: 40px;
  /* Pure CSS animation - GPU accelerated, won't stutter on mobile scroll */
  animation: flagScroll 40s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@keyframes flagScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2400px); /* 20 flags * 120px (80px + 40px gap) */
  }
}

/* Mobile adjustments for flags */
@media (max-width: 768px) {
  .flags-track {
    /* Slightly faster on mobile */
    animation-duration: 30s;
  }
}

.flag-item {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
  cursor: pointer;
  position: relative;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.flag-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.flag-item:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.flag-item:hover::after {
  opacity: 1;
}

.flag-item:active {
  transform: scale(1.05);
}

.flag-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  pointer-events: none; /* Let clicks pass through to parent flag-item */
  user-select: none;
  -webkit-user-drag: none;
}

/* CONTACT SECTION */
.contact-section {
  /* padding handled by width-consistency-fix.css */
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 24px 48px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

[data-theme="dark"] .contact-section {
  background: rgba(15, 15, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 24px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.contact-content h2 {
  font-size: var(--font-heading-1);
  font-weight: 900;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.contact-content h2 .text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-content > p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.contact-info p {
  font-size: var(--font-body-base) !important; /* 15px → 14px → 13px - matches FAQ answer */
  line-height: 1.7; /* Matches FAQ answer */
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.phone-number {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.5px;
}

.phone-number:hover {
  color: var(--color-primary-dark, #5a5dc7);
  transform: translateX(4px);
}

.contact-email {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.5px;
}

.contact-email:hover {
  color: var(--color-primary-dark, #5a5dc7);
  transform: translateX(4px);
}

.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(104, 110, 238, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(104, 110, 238, 0.15);
  border-radius: 16px;
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 150px;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(104, 110, 238, 0.08);
  text-decoration: none;
}

[data-theme="dark"] .contact-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-btn svg {
  width: 20px;
  height: 20px;
}

.contact-btn.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.contact-btn.telegram:hover {
  background: #0088cc;
  border-color: #0088cc;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.4);
}

.contact-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #e6683c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.4);
}

/* 3D Earth Model Container */
.contact-3d-model {
  width: 100%;
  height: 350px; /* Reduced from 500px (30% less) */
  position: relative;
  display: none; /* Hidden by default (mobile) */
  border-radius: 20px;
  overflow: hidden;
}

.contact-3d-model model-viewer {
  width: 100%;
  height: 100%;
  display: block;
}

/* Show on desktop only */
@media (min-width: 992px) {
  .contact-3d-model {
    display: block;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Manager Card - Modern Glass */
.contact-card {
  background: rgba(104, 110, 238, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(104, 110, 238, 0.15);
  border-radius: 28px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(104, 110, 238, 0.12);
}

/* COMPACT VERSION - More streamlined design */
.contact-card-compact {
  padding: 28px 24px;
  max-width: 320px;
}

[data-theme="light"] .contact-card {
  background: rgba(104, 110, 238, 0.04);
  border-color: rgba(104, 110, 238, 0.12);
}

[data-theme="dark"] .contact-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(104, 110, 238, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(104, 110, 238, 0.2);
  border-color: rgba(104, 110, 238, 0.25);
}

[data-theme="dark"] .contact-card:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

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

.expert-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  background: var(--gradient-primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(104, 110, 238, 0.4);
}

.expert-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(104, 110, 238, 0.15);
  margin-bottom: 24px;
  box-shadow: 0 12px 32px rgba(104, 110, 238, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Compact version - smaller photo */
.contact-card-compact .expert-photo {
  width: 140px;
  height: 140px;
  margin-bottom: 16px;
  border-width: 4px;
}

[data-theme="dark"] .expert-photo {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.contact-card:hover .expert-photo {
  transform: scale(1.05);
  border-color: var(--color-primary);
  box-shadow: 0 16px 48px rgba(104, 110, 238, 0.3);
}

.contact-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

/* Compact version - smaller title */
.contact-card-compact h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.online-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Compact version - smaller spacing */
.contact-card-compact .online-status {
  padding: 6px 12px;
  font-size: 12px;
  margin-bottom: 16px;
}

.online-status svg {
  width: 16px;
  height: 16px;
  animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.btn-chat {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(104, 110, 238, 0.3);
}

.btn-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(104, 110, 238, 0.5);
}

.btn-chat svg {
  width: 18px;
  height: 18px;
}

/* Compact version - smaller button */
.contact-card-compact .btn-chat {
  padding: 12px 24px;
  font-size: 14px;
}

/* ============================================
   FOOTER - MODERN GLASS
   ============================================ */
footer {
  /* max-width and margin handled by width-consistency-fix.css */
  padding: 40px 48px; /* Will be overridden by width-consistency-fix.css */
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 24px 48px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

[data-theme="dark"] footer {
  background: rgba(15, 15, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 24px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.footer-content {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(104, 110, 238, 0.1);
}

[data-theme="dark"] .footer-content {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

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

.footer-col-brand {
  gap: 10px;
  align-items: flex-start;
}

.footer-col:nth-child(2) {
  align-items: center;
  text-align: center;
}

.footer-col:nth-child(3) {
  align-items: flex-end;
  text-align: right;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-text-primary);
  margin-bottom: 4px;
  opacity: 0.9;
}

.footer-col p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

.footer-col a {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.6;
}

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

.footer-logo {
  height: 36px;
  width: auto;
  transition: filter var(--transition-base);
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* (footer-social removed - no longer used) */

/* footer-info-group removed - replaced by footer-col */

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0;
  opacity: 0.8;
}

/* Mobile Footer Improvements */
@media (max-width: 768px) {
  .footer-content {
    padding-bottom: 18px;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

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

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

  .footer-col:nth-child(2) {
    align-items: center;
    text-align: center;
  }

  .footer-col:nth-child(3) {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding-bottom: 14px;
  }
  
  .footer-main {
    gap: 24px;
  }
  
  .footer-bottom {
    padding-top: 14px;
  }
}