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

:root {
  /* Primary Colors - Professional Blue */
  --primary-color: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;

  /* Secondary Colors - Professional Gold */
  --secondary-color: #f59e0b;
  --secondary-dark: #d97706;
  --accent-color: #ef4444;

  /* Neutral Colors */
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-light: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #111827;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-accent: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --gradient-hero: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #3b82f6 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px 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-3d: 0 25px 50px -12px rgba(30, 64, 175, 0.25);

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

  /* Container */
  --container-max-width: 1200px;
  --container-padding: 2rem;

  /* Animations */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

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

/* Vision 2030 Popup */
.vision-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  animation: fadeIn 0.5s ease;
}

.vision-content {
  background: var(--gradient-primary);
  padding: var(--spacing-3xl);
  border-radius: var(--radius-3xl);
  text-align: center;
  color: white;
  position: relative;
  max-width: 500px;
  width: 90%;
  transform: scale(1);
  animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: var(--shadow-xl);
}

.vision-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: 2rem;
  animation: pulse 2s infinite;
}

.vision-content h3 {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.vision-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.vision-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.vision-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Country Ribbon */
.country-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--gradient-primary);
  padding: var(--spacing-sm) 0;
  z-index: 9999;
  transform: translateY(-100%);
  animation: slideDown 1s ease 3s forwards;
}

.ribbon-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xl);
  color: white;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.ribbon-text {
  font-weight: 600;
  font-size: 0.9rem;
}

.flag-carousel {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.flag-item {
  opacity: 0.5;
  transition: var(--transition-normal);
  transform: scale(0.8);
}

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

.flag-item img {
  width: 24px;
  height: auto;
  border-radius: 3px;
}

/* Navigation - Enhanced with Icons */
.navbar-3d {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
  z-index: 1000;
  transition: var(--transition-normal);
  animation: slideDown 1s ease 4s forwards;
}

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

.logo-3d {
  height: 50px;
  width: auto;
  transition: var(--transition-normal);
  filter: drop-shadow(0 4px 8px rgba(30, 64, 175, 0.3));
}

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

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

.nav-link-3d {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  position: relative;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.nav-link-3d i {
  font-size: 0.9rem;
  opacity: 0.8;
}

.nav-link-3d:hover,
.nav-link-3d.active {
  color: var(--primary-color);
  background: rgba(30, 64, 175, 0.1);
  transform: translateY(-2px);
}

.nav-link-3d:hover i,
.nav-link-3d.active i {
  opacity: 1;
}

.nav-link-3d::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.nav-link-3d:hover::after,
.nav-link-3d.active::after {
  width: 80%;
}

.login-btn-3d {
  background: var(--gradient-primary) !important;
  color: white !important;
  border-radius: 25px !important;
  padding: var(--spacing-sm) var(--spacing-lg) !important;
  box-shadow: var(--shadow-md);
}

.login-btn-3d:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-lg) !important;
}

.hamburger-3d {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger-3d span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: var(--transition-normal);
  border-radius: 2px;
}

/* Page Header - Fixed spacing */
.page-header-3d {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 160px 0 80px;
  margin-top: 0;
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  background: white;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.5);
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  background: white;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.3);
  top: 10%;
  right: 30%;
  animation-delay: 1s;
}

.header-content-3d {
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-title-3d {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
}

.page-description-3d {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-2xl);
  opacity: 0.9;
}

.breadcrumb-3d {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb-3d a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: var(--transition-normal);
}

.breadcrumb-3d a:hover {
  opacity: 1;
}

/* Hero Section - Enhanced with Rotating Earth Globe */
.hero-3d {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 160px 0 80px;
}

.hero-content-3d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text-3d {
  color: white;
}

.hero-badge-3d {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--spacing-xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title-3d {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-xl);
}

.gradient-text-3d {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description-3d {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-2xl);
  opacity: 0.9;
}

.hero-buttons-3d {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-3xl);
  flex-wrap: wrap;
}

/* Enhanced Earth Globe with Countries */
.hero-visual-3d {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.earth-globe-container {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.earth-globe-3d {
  width: 400px;
  height: 400px;
  position: relative;
  animation: rotateEarth 30s linear infinite;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  box-shadow: inset -40px -40px 80px rgba(0, 0, 0, 0.4), 0 40px 80px rgba(30, 64, 175, 0.3), 0 0 100px
    rgba(30, 64, 175, 0.2);
  overflow: hidden;
}

.earth-globe-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='continents' patternUnits='userSpaceOnUse' width='400' height='400'%3E%3Cpath d='M80 120 Q120 100 160 120 Q200 140 240 120 Q280 100 320 120 L320 180 Q280 200 240 180 Q200 160 160 180 Q120 200 80 180 Z' fill='%23065f46' opacity='0.6'/%3E%3Cpath d='M60 200 Q100 180 140 200 Q180 220 220 200 Q260 180 300 200 L300 260 Q260 280 220 260 Q180 240 140 260 Q100 280 60 260 Z' fill='%23065f46' opacity='0.6'/%3E%3Cpath d='M100 60 Q140 40 180 60 Q220 80 260 60 Q300 40 340 60 L340 120 Q300 140 260 120 Q220 100 180 120 Q140 140 100 120 Z' fill='%23065f46' opacity='0.6'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='400' fill='url(%23continents)'/%3E%3C/svg%3E");
  border-radius: 50%;
  animation: rotateEarth 40s linear infinite reverse;
}

.earth-globe-3d::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  border-radius: 50%;
  animation: shimmer 3s ease-in-out infinite;
}

/* Country Markers on Earth */
.country-marker-earth {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-normal);
  z-index: 3;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.8), 0 0 40px rgba(245, 158, 11, 0.4);
  animation: pulseMarker 2s infinite;
}

.country-marker-earth::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: rgba(245, 158, 11, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: expandPulse 2s infinite;
}

.country-marker-earth:hover {
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(245, 158, 11, 1), 0 0 60px rgba(245, 158, 11, 0.6);
}

.marker-label-earth {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition-normal);
  pointer-events: none;
  z-index: 4;
}

.country-marker-earth:hover .marker-label-earth {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* Specific country positions on the globe */
.marker-india {
  top: 45%;
  left: 75%;
}

.marker-saudi {
  top: 40%;
  left: 60%;
}

.marker-uae {
  top: 45%;
  left: 62%;
}

.marker-qatar {
  top: 42%;
  left: 58%;
}

.marker-kuwait {
  top: 38%;
  left: 57%;
}

.marker-bahrain {
  top: 41%;
  left: 58%;
}

.marker-oman {
  top: 48%;
  left: 63%;
}

/* Orbit Rings around Earth */
.earth-orbit-ring {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: rotateOrbit 25s linear infinite;
}

.earth-orbit-1 {
  width: 450px;
  height: 450px;
  animation-duration: 35s;
  border-style: dashed;
}

.earth-orbit-2 {
  width: 520px;
  height: 520px;
  animation-duration: 45s;
  animation-direction: reverse;
}

.earth-orbit-3 {
  width: 580px;
  height: 580px;
  animation-duration: 55s;
  border-style: dotted;
}

/* Floating Satellites */
.satellite {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.8);
  animation: orbitSatellite 20s linear infinite;
}

.satellite-1 {
  top: 10%;
  left: 50%;
  animation-delay: 0s;
}

.satellite-2 {
  top: 50%;
  right: 10%;
  animation-delay: 10s;
}

.satellite-3 {
  bottom: 10%;
  left: 50%;
  animation-delay: 5s;
}

/* Info Cards around Earth */
.earth-info-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  animation: floatCard 4s ease-in-out infinite;
  z-index: 4;
  border: 1px solid rgba(30, 64, 175, 0.2);
}

.earth-info-card i {
  color: var(--primary-color);
  margin-right: var(--spacing-xs);
}

.earth-card-1 {
  top: 5%;
  right: -10%;
  animation-delay: 0s;
}

.earth-card-2 {
  bottom: 15%;
  left: -15%;
  animation-delay: 2s;
}

.earth-card-3 {
  top: 60%;
  right: -20%;
  animation-delay: 1s;
}

.earth-card-4 {
  top: 20%;
  left: -20%;
  animation-delay: 3s;
}

/* Buttons - Enhanced styling */
.btn-3d {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  transform: perspective(1000px) rotateX(0deg);
  white-space: nowrap;
}

.btn-3d::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.6s;
}

.btn-3d:hover::before {
  left: 100%;
}

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

.btn-primary-3d:hover {
  transform: perspective(1000px) rotateX(-5deg) translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary-3d:hover {
  transform: perspective(1000px) rotateX(-5deg) translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-3d {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-3d:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateX(-5deg) translateY(-3px);
}

/* Stats */
.hero-stats-3d {
  display: flex;
  gap: var(--spacing-2xl);
  justify-content: flex-start;
}

.stat-3d {
  text-align: center;
}

.stat-number-3d {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--spacing-sm);
}

.stat-label-3d {
  font-size: 0.9rem;
  opacity: 0.8;
  color: white;
}

/* Section Styling - Enhanced */
section {
  padding: var(--spacing-5xl) 0;
  position: relative;
}

.section-header-3d {
  text-align: center;
  margin-bottom: var(--spacing-5xl);
  position: relative;
  z-index: 1;
}

.section-badge-3d {
  display: inline-block;
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary-color);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  border: 1px solid rgba(30, 64, 175, 0.2);
}

.section-title-3d {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.section-description-3d {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Process Flow Section - Enhanced */
.process-flow-3d {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.process-flow-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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='%231e40af' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.flow-tabs-3d {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-4xl);
}

.flow-tab-btn-3d {
  background: white;
  color: var(--text-secondary);
  border: 2px solid rgba(30, 64, 175, 0.2);
  padding: var(--spacing-md) var(--spacing-2xl);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.flow-tab-btn-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: 0;
}

.flow-tab-btn-3d.active::before,
.flow-tab-btn-3d:hover::before {
  left: 0;
}

.flow-tab-btn-3d.active,
.flow-tab-btn-3d:hover {
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.flow-tab-btn-3d span {
  position: relative;
  z-index: 1;
}

.flow-content-3d {
  position: relative;
  z-index: 1;
}

.flow-tab-3d {
  display: none;
}

.flow-tab-3d.active {
  display: block;
}

/* Visual Flow Steps */
.visual-flow-3d {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.flow-step-3d {
  flex: 1;
  text-align: center;
  position: relative;
  padding: var(--spacing-xl);
}

.flow-step-visual-3d {
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.flow-step-3d:hover .flow-step-visual-3d {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.flow-step-icon-3d {
  font-size: 2.5rem;
  color: white;
  z-index: 2;
  position: relative;
}

.flow-step-number-3d {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow-md);
}

.flow-step-content-3d h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

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

/* Flow Connectors */
.flow-connector-3d {
  position: absolute;
  top: 50%;
  left: calc(100% - 40px);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-50%);
  z-index: 1;
}

.flow-connector-3d::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid var(--secondary-color);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.flow-step-3d:last-child .flow-connector-3d {
  display: none;
}

/* Services Section - Enhanced */
.services-3d {
  background: var(--bg-primary);
  position: relative;
}

.services-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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='%231e40af' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.services-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-2xl);
  position: relative;
  z-index: 1;
}

.service-card-3d {
  background: white;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
  border: 1px solid rgba(30, 64, 175, 0.1);
  cursor: pointer;
  transform: perspective(1000px) rotateX(0deg);
}

.service-card-3d:hover {
  transform: perspective(1000px) rotateX(-10deg) translateY(-20px);
  box-shadow: var(--shadow-3d);
}

.service-icon-3d {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-xl);
  font-size: 2rem;
  color: white;
  transition: var(--transition-normal);
  position: relative;
  z-index: 2;
}

.service-card-3d:hover .service-icon-3d {
  transform: scale(1.1) rotate(10deg);
  background: var(--gradient-secondary);
}

.service-card-3d h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.service-card-3d p {
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.service-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-slow);
  z-index: 1;
}

.service-card-3d:hover .service-hover-effect {
  opacity: 0.05;
}

/* Job Search Section - Enhanced */
.job-search-3d {
  padding: var(--spacing-4xl) 0;
  background: var(--bg-secondary);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.search-card-3d {
  background: white;
  border-radius: var(--radius-3xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.search-grid-3d {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: var(--spacing-lg);
  align-items: end;
}

.search-field-3d {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field-3d i {
  position: absolute;
  left: var(--spacing-md);
  color: var(--text-light);
  z-index: 2;
}

.search-field-3d input,
.search-field-3d select {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 3rem;
  border: 2px solid rgba(30, 64, 175, 0.2);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: var(--transition-normal);
  background: white;
}

.search-field-3d input:focus,
.search-field-3d select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.search-btn-3d {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  white-space: nowrap;
}

.search-btn-3d:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Job Categories - Enhanced */
.job-categories-3d {
  background: var(--bg-primary);
}

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

.category-card-3d {
  background: white;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-3xl);
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid rgba(30, 64, 175, 0.1);
  cursor: pointer;
  transform: perspective(1000px) rotateX(0deg);
}

.category-card-3d:hover {
  transform: perspective(1000px) rotateX(-5deg) translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.category-icon-3d {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.8rem;
  color: white;
  transition: var(--transition-normal);
}

.category-card-3d:hover .category-icon-3d {
  transform: scale(1.1) rotate(10deg);
  background: var(--gradient-secondary);
}

.category-card-3d h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.category-card-3d p {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Featured Jobs - Enhanced */
.featured-jobs-3d {
  background: var(--bg-secondary);
}

.jobs-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-4xl);
}

.job-card-3d {
  background: white;
  border-radius: var(--radius-3xl);
  padding: var(--spacing-xl);
  transition: var(--transition-normal);
  border: 1px solid rgba(30, 64, 175, 0.1);
  transform: perspective(1000px) rotateX(0deg);
}

.job-card-3d:hover {
  transform: perspective(1000px) rotateX(-5deg) translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.job-header-3d {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.company-logo-3d {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.job-badge-3d {
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-3xl);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.job-badge-3d.featured {
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary-color);
}

.job-badge-3d.urgent {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-color);
}

.job-badge-3d.remote {
  background: rgba(245, 158, 11, 0.1);
  color: var(--secondary-color);
}

.job-badge-3d.new {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.job-content-3d h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.company-name-3d {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  font-weight: 500;
}

.job-details-3d {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.job-details-3d span {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.job-details-3d i {
  color: var(--primary-color);
}

.job-skills-3d {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.skill-tag-3d {
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary-color);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 500;
}

.job-footer-3d {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(30, 64, 175, 0.1);
}

.job-date-3d {
  color: var(--text-light);
  font-size: 0.9rem;
}

.apply-btn-3d {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.apply-btn-3d:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.load-more-3d {
  text-align: center;
}

/* Job Alerts - Enhanced */
.job-alerts-3d {
  background: var(--gradient-primary);
  color: white;
}

.alerts-content-3d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.alerts-text-3d h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
}

.alerts-text-3d p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.form-group-inline-3d {
  display: flex;
  gap: var(--spacing-md);
}

.form-group-inline-3d input {
  flex: 1;
  padding: var(--spacing-md) var(--spacing-lg);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(10px);
}

.form-group-inline-3d input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group-inline-3d input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
}

/* Blog Categories Filter - Enhanced */
.categories-filter-3d {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-4xl);
  flex-wrap: wrap;
}

.category-btn-3d {
  background: white;
  color: var(--text-secondary);
  border: 2px solid rgba(30, 64, 175, 0.2);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 0.9rem;
}

.category-btn-3d.active,
.category-btn-3d:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Blog Grid - Enhanced */
.blogs-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-4xl);
}

.blog-card-3d {
  background: white;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  transition: var(--transition-normal);
  border: 1px solid rgba(30, 64, 175, 0.1);
  transform: perspective(1000px) rotateX(0deg);
}

.blog-card-3d:hover {
  transform: perspective(1000px) rotateX(-5deg) translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.blog-image-3d {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.blog-image-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card-3d:hover .blog-image-3d img {
  transform: scale(1.05);
}

.blog-overlay-3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.8));
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--spacing-lg);
}

.blog-card-3d:hover .blog-overlay-3d {
  opacity: 1;
}

.blog-category-badge-3d {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-content-3d {
  padding: var(--spacing-xl);
}

.blog-meta-3d {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--text-light);
}

.blog-content-3d h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  line-height: 1.4;
}

.blog-content-3d p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.blog-footer-3d {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(30, 64, 175, 0.1);
}

.blog-author-3d {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.blog-author-3d img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-author-3d span {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.blog-read-btn-3d {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
}

.blog-read-btn-3d:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

/* Featured Blog - Enhanced */
.featured-blog-3d {
  background: var(--bg-secondary);
  padding: var(--spacing-5xl) 0;
}

.featured-content-3d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  background: white;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.featured-image-3d {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.featured-image-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-badge-3d {
  position: absolute;
  top: var(--spacing-lg);
  left: var(--spacing-lg);
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
}

.featured-text-3d {
  padding: var(--spacing-3xl);
}

.featured-text-3d .blog-meta-3d {
  margin-bottom: var(--spacing-lg);
}

.featured-text-3d h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
  line-height: 1.3;
}

.featured-text-3d p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
}

.read-more-btn-3d {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-normal);
}

.read-more-btn-3d:hover {
  gap: var(--spacing-md);
}

/* Newsletter - Enhanced */
.newsletter-3d {
  background: var(--gradient-primary);
  color: white;
}

.newsletter-content-3d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.newsletter-text-3d h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
}

.newsletter-text-3d p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* Client Stats - Enhanced */
.client-stats-3d {
  background: var(--bg-secondary);
  padding: var(--spacing-5xl) 0;
}

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

.stat-card-3d {
  background: white;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-3xl);
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid rgba(30, 64, 175, 0.1);
  transform: perspective(1000px) rotateX(0deg);
}

.stat-card-3d:hover {
  transform: perspective(1000px) rotateX(-5deg) translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.stat-icon-3d {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.8rem;
  color: white;
  transition: var(--transition-normal);
}

.stat-card-3d:hover .stat-icon-3d {
  transform: scale(1.1) rotate(10deg);
  background: var(--gradient-secondary);
}

.stat-content-3d .stat-number-3d {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: block;
  margin-bottom: var(--spacing-sm);
}

.stat-content-3d .stat-label-3d {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Contact Cards */
.contact-info-3d {
  background: var(--bg-secondary);
  padding: var(--spacing-5xl) 0;
}

.contact-cards-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.contact-card-3d {
  background: white;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-3xl);
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid rgba(30, 64, 175, 0.1);
  transform: perspective(1000px) rotateX(0deg);
}

.contact-card-3d:hover {
  transform: perspective(1000px) rotateX(-5deg) translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.contact-icon-3d {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.8rem;
  color: white;
  transition: var(--transition-normal);
}

.contact-card-3d:hover .contact-icon-3d {
  transform: scale(1.1) rotate(10deg);
  background: var(--gradient-secondary);
}

.contact-card-3d h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.contact-card-3d p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.contact-link-3d {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-normal);
}

.contact-link-3d:hover {
  text-decoration: underline;
}

/* Form Styling */
.form-group-3d {
  margin-bottom: var(--spacing-lg);
}

.form-group-3d label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.form-group-3d input,
.form-group-3d textarea,
.form-group-3d select {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid rgba(30, 64, 175, 0.2);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-normal);
  font-family: inherit;
}

.form-group-3d input:focus,
.form-group-3d textarea:focus,
.form-group-3d select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
  transform: translateY(-2px);
}

/* FAQ Styling */
.faq-3d {
  background: var(--bg-primary);
}

.faq-tabs-3d {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
}

.faq-tab-btn-3d {
  background: white;
  color: var(--text-secondary);
  border: 2px solid rgba(30, 64, 175, 0.2);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.faq-tab-btn-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: 0;
}

.faq-tab-btn-3d.active::before,
.faq-tab-btn-3d:hover::before {
  left: 0;
}

.faq-tab-btn-3d.active,
.faq-tab-btn-3d:hover {
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.faq-tab-btn-3d span {
  position: relative;
  z-index: 1;
}

.faq-content-3d {
  max-width: 800px;
  margin: 0 auto;
}

.faq-tab-content-3d {
  display: none;
}

.faq-tab-content-3d.active {
  display: block;
}

.faq-item-3d {
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 64, 175, 0.1);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item-3d:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-question-3d {
  padding: var(--spacing-lg) var(--spacing-xl);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-normal);
  position: relative;
}

.faq-question-3d:hover {
  background: rgba(30, 64, 175, 0.05);
}

.faq-question-3d h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  flex: 1;
  padding-right: var(--spacing-md);
}

.faq-question-3d i {
  color: var(--primary-color);
  transition: var(--transition-normal);
  font-size: 1.2rem;
}

.faq-item-3d.active .faq-question-3d i {
  transform: rotate(45deg);
}

.faq-answer-3d {
  padding: 0 var(--spacing-xl);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(30, 64, 175, 0.02);
}

.faq-item-3d.active .faq-answer-3d {
  padding: var(--spacing-lg) var(--spacing-xl);
  max-height: 300px;
}

.faq-answer-3d p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.cta-3d {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M60 0l60 60-60 60L0 60z'/%3E%3C/g%3E%3C/svg%3E");
  animation: rotate 50s linear infinite;
}

.cta-content-3d {
  position: relative;
  z-index: 1;
}

.cta-text-3d {
  margin-bottom: var(--spacing-2xl);
}

.cta-text-3d h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
}

.cta-text-3d p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

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

/* Global Talent Section */
.global-talent-3d {
  background: var(--bg-secondary);
}

.talent-benefits-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.benefit-card-3d {
  background: white;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-3xl);
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid rgba(30, 64, 175, 0.1);
  transform: perspective(1000px) rotateX(0deg);
}

.benefit-card-3d:hover {
  transform: perspective(1000px) rotateX(-10deg) translateY(-15px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon-3d {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.8rem;
  color: white;
  transition: var(--transition-normal);
}

.benefit-card-3d:hover .benefit-icon-3d {
  transform: scale(1.1) rotate(10deg);
  background: var(--gradient-secondary);
}

.benefit-card-3d h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.benefit-card-3d p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Saudi Arabia Section */
.saudi-section-3d {
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.saudi-section-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M40 0l40 40-40 40L0 40z'/%3E%3C/g%3E%3C/svg%3E");
  animation: rotate 40s linear infinite;
}

.saudi-content-3d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.saudi-text-3d .section-badge-3d {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.saudi-text-3d h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  color: white;
}

.saudi-text-3d p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
}

.saudi-stats-3d {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.saudi-stat-3d {
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.saudi-stat-3d .stat-number-3d {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-color);
  display: block;
  margin-bottom: var(--spacing-sm);
}

.saudi-stat-3d .stat-label-3d {
  font-size: 0.9rem;
  opacity: 0.8;
}

.saudi-visual-3d {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
}

.saudi-flag-3d {
  width: 200px;
  height: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.saudi-flag-3d img {
  width: 100%;
  height: auto;
}

.projects-list-3d {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
}

.project-item-3d {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-normal);
}

.project-item-3d:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.project-item-3d i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

/* Animations - Enhanced */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

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

@keyframes rotateEarth {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateOrbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.05);
  }
}

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

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

@keyframes expandPulse {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}

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

@keyframes orbitSatellite {
  from {
    transform: rotate(0deg) translateX(250px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(250px) rotate(-360deg);
  }
}

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

/* Responsive Design - Enhanced */
@media (max-width: 1024px) {
  :root {
    --container-padding: 1.5rem;
    --spacing-5xl: 4rem;
  }

  .hero-content-3d,
  .alerts-content-3d,
  .newsletter-content-3d,
  .featured-content-3d,
  .saudi-content-3d {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    text-align: center;
  }

  .hero-title-3d,
  .page-title-3d {
    font-size: 3rem;
  }

  .section-title-3d {
    font-size: 2.5rem;
  }

  .search-grid-3d {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

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

  .visual-flow-3d {
    flex-direction: column;
    gap: var(--spacing-xl);
  }

  .flow-connector-3d {
    display: none;
  }

  .earth-globe-container {
    width: 400px;
    height: 400px;
  }

  .earth-globe-3d {
    width: 320px;
    height: 320px;
  }

  .earth-info-card {
    display: none;
  }

  .saudi-stats-3d {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --spacing-5xl: 3rem;
  }

  .hamburger-3d {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 120px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-xl) 0;
    gap: var(--spacing-md);
    z-index: 999;
    height: calc(100vh - 120px);
    overflow-y: auto;
  }

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

  .hero-3d,
  .page-header-3d {
    padding: 140px 0 60px;
  }

  .hero-title-3d,
  .page-title-3d {
    font-size: 2.5rem;
  }

  .hero-buttons-3d,
  .cta-buttons-3d {
    flex-direction: column;
    align-items: center;
  }

  .services-grid-3d,
  .categories-grid-3d,
  .jobs-grid-3d,
  .blogs-grid-3d {
    grid-template-columns: 1fr;
  }

  .flow-tabs-3d {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .categories-filter-3d {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
  }

  .category-btn-3d {
    white-space: nowrap;
    flex-shrink: 0;
  }

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

  .section-header-3d {
    margin-bottom: var(--spacing-3xl);
  }

  .earth-globe-container {
    width: 320px;
    height: 320px;
  }

  .earth-globe-3d {
    width: 280px;
    height: 280px;
  }

  .earth-orbit-1 {
    width: 350px;
    height: 350px;
  }

  .earth-orbit-2 {
    width: 400px;
    height: 400px;
  }

  .earth-orbit-3 {
    width: 450px;
    height: 450px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
    --spacing-5xl: 2.5rem;
  }

  .hero-3d,
  .page-header-3d {
    padding: 120px 0 40px;
  }

  .hero-title-3d,
  .page-title-3d {
    font-size: 2rem;
  }

  .section-title-3d {
    font-size: 2rem;
  }

  .service-card-3d,
  .category-card-3d,
  .job-card-3d,
  .blog-card-3d {
    padding: var(--spacing-xl);
  }

  .hero-stats-3d {
    gap: var(--spacing-lg);
  }

  .stat-number-3d {
    font-size: 2rem;
  }

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

  .earth-globe-container {
    width: 280px;
    height: 280px;
  }

  .earth-globe-3d {
    width: 240px;
    height: 240px;
  }

  .flow-step-visual-3d {
    width: 80px;
    height: 80px;
  }

  .flow-step-icon-3d {
    font-size: 1.8rem;
  }

  .earth-orbit-1 {
    width: 300px;
    height: 300px;
  }

  .earth-orbit-2 {
    width: 340px;
    height: 340px;
  }

  .earth-orbit-3 {
    width: 380px;
    height: 380px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.hidden {
  display: none;
}
.visible {
  display: block;
}

/* Loading Animation */
.loading-3d {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(30, 64, 175, 0.3);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Success Message */
.success-message {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: var(--spacing-md);
  animation: slideDown 0.3s ease;
}

/* Tilt Effect */
[data-tilt] {
  transform-style: preserve-3d;
}




.demo-modal-3d {
  display: none;
  position: fixed;
  z-index: 20000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  align-items: center; justify-content: center;
}
.demo-modal-3d.active { display: flex; }
.demo-modal-content-3d {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px 24px 24px;
  max-width: 600px;
  width: 90vw;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.demo-modal-close-3d {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none; font-size: 1.3rem; cursor: pointer;
}
.form-group-3d { margin-bottom: 16px; }
.form-group-3d label { display: block; margin-bottom: 4px; font-weight: 500; }
.form-group-3d input, .form-group-3d textarea {
  width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px;
  font-size: 1rem; font-family: inherit;
}
#demo-form-3d {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#demo-form-3d .btn-3d {
  width: auto;
  min-width: 140px;
  align-self: center;
  margin-top: 10px;
}