/* ==========================================================================
   GPGS Design System & Premium Variables
   ========================================================================== */

:root {
  /* Typography */
  --font-en: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  
  /* Physical Easings (Apple & Emil Kowalski inspired) */
  --ease-spring: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  
  /* Layout Constants */
  --container-width: 1240px;
  --header-height: 84px;
  
  /* Transitions */
  --transition-fast: 150ms var(--ease-spring);
  --transition-base: 300ms var(--ease-spring);
  --transition-slow: 600ms var(--ease-spring);
}

/* Dark Theme Tokens (Default) */
[data-theme="dark"] {
  --bg-base: #060913;
  --bg-surface: #0a0f20;
  --bg-card: rgba(15, 23, 42, 0.55);
  --bg-card-hover: rgba(26, 38, 68, 0.7);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #f59e0b;
  --primary-hover: #fbbf24;
  --primary-light: #fef08a;
  --primary-dark: #b45309;
  --primary-glow: rgba(245, 158, 11, 0.22);
  --primary-subtle: rgba(245, 158, 11, 0.08);
  --border-color: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(245, 158, 11, 0.4);
  --header-bg: rgba(6, 9, 19, 0.82);
  --footer-bg: #03050a;
  --blob-opacity: 0.22;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --card-spotlight: rgba(245, 158, 11, 0.08);
}

/* Light Theme Tokens */
[data-theme="light"] {
  --bg-base: #f8fafc;
  --bg-surface: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --primary: #d97706;
  --primary-hover: #b45309;
  --primary-light: #fef08a;
  --primary-dark: #92400e;
  --primary-glow: rgba(217, 119, 6, 0.16);
  --primary-subtle: rgba(217, 119, 6, 0.08);
  --border-color: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(217, 119, 6, 0.35);
  --header-bg: rgba(248, 250, 252, 0.86);
  --footer-bg: #e2e8f0;
  --blob-opacity: 0.10;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.11);
  --glass-highlight: rgba(255, 255, 255, 0.9);
  --card-spotlight: rgba(217, 119, 6, 0.05);
}

/* ==========================================================================
   Global Reset & Base Setup
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
  line-height: 1.65;
  min-height: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Direction & Typography Selection */
[lang="en"] {
  font-family: var(--font-en);
}

[lang="ar"] {
  font-family: var(--font-ar);
  letter-spacing: 0 !important;
}

[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4,
[lang="ar"] .hero-title,
[lang="ar"] .section-title {
  font-family: var(--font-ar);
  letter-spacing: 0 !important;
  line-height: 1.3;
}

[lang="ar"] .hero-title {
  line-height: 1.22;
}

[lang="ar"] .btn,
[lang="ar"] .nav-link,
[lang="ar"] .mobile-link,
[lang="ar"] .btn-header-cta,
[lang="ar"] .section-tag,
[lang="ar"] .hero-badge {
  letter-spacing: 0 !important;
}

/* Top Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-hover));
  z-index: 1200;
  transition: width 80ms linear;
}

/* Container & Global Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.section-padding {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
  position: relative;
}

.hidden {
  display: none !important;
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-spring), transform 800ms var(--ease-spring);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 120ms; }
.delay-200 { transition-delay: 240ms; }
.delay-300 { transition-delay: 360ms; }

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

/* ==========================================================================
   Ambient Background Lighting & Grid
   ========================================================================== */

.blob-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(245, 158, 11, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: var(--blob-opacity);
  transition: opacity var(--transition-base);
  will-change: transform;
}

.blob-1 {
  top: -10%;
  inset-inline-start: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(245, 158, 11, 0) 70%);
  animation: float-blob-1 22s infinite alternate ease-in-out;
}

.blob-2 {
  top: 40%;
  inset-inline-end: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-hover) 0%, rgba(251, 191, 36, 0) 70%);
  animation: float-blob-2 28s infinite alternate ease-in-out;
}

.blob-3 {
  bottom: -10%;
  inset-inline-start: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-dark) 0%, rgba(180, 83, 9, 0) 70%);
  animation: float-blob-3 20s infinite alternate ease-in-out;
}

@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.18); }
}

@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-100px, 70px) scale(0.92); }
}

@keyframes float-blob-3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -50px) scale(1.12); }
}

/* ==========================================================================
   Apple-Style Glassmorphism & Spotlight Card Foundations
   ========================================================================== */

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), 
              border-color var(--transition-base), 
              box-shadow var(--transition-base),
              background-color var(--transition-base);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
  pointer-events: none;
}

.spotlight-card {
  position: relative;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
    var(--card-spotlight),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms var(--ease-spring);
  z-index: 1;
}

.spotlight-card:hover::after {
  opacity: 1;
}

.spotlight-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md), 0 0 25px var(--primary-glow);
  transform: translateY(-4px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  user-select: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px var(--primary-glow));
  transition: transform var(--transition-fast);
}

.logo-container:hover .logo-img {
  transform: scale(1.06);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.5px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
}

[lang="ar"] .logo-sub {
  letter-spacing: 0px;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-subtle);
  padding: 0.35rem 0.65rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-main);
  background-color: var(--primary-subtle);
}

.nav-link.active {
  color: #ffffff;
  background-color: var(--primary);
  box-shadow: 0 2px 12px var(--primary-glow);
}

[data-theme="light"] .nav-link.active {
  color: #ffffff;
  background-color: var(--primary);
}

/* Navigation Controls & Buttons */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-control {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-control:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-control:active {
  transform: scale(0.94);
}

.btn-control .icon {
  width: 18px;
  height: 18px;
}

.lang-label {
  font-size: 0.8rem;
  font-weight: 800;
  margin-inline-end: 3px;
}

/* Sun/Moon Toggle Visibility */
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.btn-header-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 2px 12px var(--primary-glow);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--primary-glow);
  filter: brightness(1.08);
}

.btn-header-cta:active {
  transform: scale(0.96);
}

.mobile-only {
  display: none;
}

/* ==========================================================================
   Mobile Overlay Navigation Drawer
   ========================================================================== */

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(6, 9, 19, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-spring);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  padding: 3rem 2rem;
  gap: 2.5rem;
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  inset-inline-end: 1.5rem;
  width: 44px;
  height: 44px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--primary);
  transform: scale(1.05);
}

/* ==========================================================================
   Buttons & Core CTAs
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.98rem;
  font-weight: 650;
  padding: 0.85rem 1.85rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
  transition: transform 100ms var(--ease-spring);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #060913;
  box-shadow: 0 4px 18px var(--primary-glow);
  font-weight: 750;
}

.btn-primary:hover {
  box-shadow: 0 6px 26px var(--primary-glow);
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-main);
  backdrop-filter: blur(16px);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  background-color: var(--primary-subtle);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 750ms var(--ease-spring);
}

.btn-glow:hover::after {
  transform: translateX(100%);
}

.btn-icon-arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon-arrow {
  transform: translateX(4px);
}

[dir="rtl"] .btn:hover .btn-icon-arrow {
  transform: translateX(-4px) scaleX(-1);
}

/* ==========================================================================
   Hero Section Layout & Visual Dashboard
   ========================================================================== */

.hero-section {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5.5rem;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 1.15rem;
  background: var(--primary-subtle);
  border: 1px solid var(--border-hover);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 1.6rem;
  box-shadow: 0 2px 10px var(--primary-glow);
}

[lang="ar"] .hero-badge {
  letter-spacing: 0px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse-ring 2s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.4rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin-bottom: 1.6rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 40%, var(--primary-light) 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-icon {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

.trust-separator {
  width: 1px;
  height: 16px;
  background-color: var(--border-color);
}

/* Hero Right: Interactive Logistics Command Visual Dashboard */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-hub-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: 24px;
}

.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.hub-header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hub-dot.live {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hub-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--text-main);
  line-height: 1.2;
}

.hub-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.hub-badge-live {
  padding: 0.25rem 0.65rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #22c55e;
  letter-spacing: 0.5px;
}

/* SVG Logistics Visual */
.hub-network-visual {
  width: 100%;
  height: 190px;
  margin-bottom: 1.25rem;
  background: var(--primary-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px dashed var(--border-color);
}

.hub-routes-svg {
  width: 100%;
  height: 100%;
}

.route-line-anim {
  animation: dash 25s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

.ping-circle {
  animation: ping 3s cubic-bezier(0, 0, 0.2, 1) infinite;
  transform-origin: center;
}

@keyframes ping {
  75%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Inside Hub KPI Grid */
.hub-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.kpi-box {
  background: var(--bg-surface);
  padding: 0.65rem 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.kpi-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.kpi-lbl {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Floating Satellite Cards */
.hero-float-card {
  position: absolute;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  z-index: 5;
  animation: float-pill 6s ease-in-out infinite alternate;
}

.card-record {
  top: -24px;
  inset-inline-start: -24px;
  animation-delay: 0s;
}

.card-partners {
  bottom: -24px;
  inset-inline-end: -24px;
  animation-delay: -3s;
}

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

.float-icon-gold {
  width: 36px;
  height: 36px;
  background: var(--primary-subtle);
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.float-icon-gold svg {
  width: 20px;
  height: 20px;
}

.float-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.float-subtitle {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */

.stats-bar {
  position: relative;
  z-index: 5;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.stat-value {
  font-size: 2.85rem;
  font-weight: 850;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--text-main) 40%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[lang="ar"] .stat-name {
  letter-spacing: 0px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background-color: var(--border-color);
}

/* ==========================================================================
   Section Headers Layout
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

[lang="ar"] .section-tag {
  letter-spacing: 0px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 850;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   About Section & 4-Item Bento Grid
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-content .section-title {
  text-align: start;
}

.about-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-stats-inline {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.about-mini-badge {
  padding: 0.85rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.badge-num {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--primary);
  line-height: 1.1;
}

.badge-lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Bento Grid */
.about-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.bento-card {
  padding: 1.85rem 1.6rem;
}

.bento-icon-wrapper {
  width: 44px;
  height: 44px;
  background: var(--primary-subtle);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.15rem;
}

.bento-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.bento-title {
  font-size: 1.05rem;
  font-weight: 750;
  margin-bottom: 0.65rem;
  color: var(--text-main);
  line-height: 1.25;
}

.bento-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Services Section & Spotlight Interactive Cards
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-chip {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--primary);
  background: var(--primary-subtle);
  border: 1px solid var(--border-hover);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--primary-subtle);
  border: 1px solid var(--border-hover);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(2deg);
}

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

.service-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.service-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-surface);
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Learn More Expander Button */
.btn-card-expand {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-card-expand:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
}

.btn-card-expand:active {
  transform: scale(0.97);
}

.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 300ms var(--ease-spring);
}

.btn-card-expand[aria-expanded="true"] .arrow-icon {
  transform: rotate(180deg);
}

/* Service Details Grid Animation */
.service-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-spring);
  overflow: hidden;
}

.service-details.expanded {
  grid-template-rows: 1fr;
  margin-top: 1.25rem;
}

.details-wrapper {
  min-height: 0;
}

.details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-color);
}

.details-list li {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  position: relative;
  padding-inline-start: 1.25rem;
}

.details-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

/* ==========================================================================
   Global Shipping Hubs & Corridors Section (#network)
   ========================================================================== */

.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.hub-card {
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
}

.hub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.hub-icon-badge {
  width: 48px;
  height: 48px;
  background: var(--primary-subtle);
  border: 1px solid var(--border-hover);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 2px 10px var(--primary-glow);
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.hub-card:hover .hub-icon-badge {
  transform: scale(1.1) rotate(4deg);
  background-color: var(--primary);
  color: #060913;
}

[data-theme="light"] .hub-card:hover .hub-icon-badge {
  color: #ffffff;
}

.hub-icon-badge svg {
  width: 24px;
  height: 24px;
}

.hub-status-tag {
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  border: 1px solid var(--border-hover);
}

.hub-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.hub-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.hub-cities {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-hover);
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Vision & Strategy Section
   ========================================================================== */

.vision-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.vision-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vision-frame {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-circle-decor {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1.5px dashed var(--border-hover);
  border-radius: 50%;
  animation: rotate-dashed 40s linear infinite;
}

.vision-circle-inner {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-subtle) 0%, transparent 70%);
}

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

.vision-stat-pill {
  padding: 0.95rem 1.65rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 750;
  font-size: 0.92rem;
  z-index: 5;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
}

.vision-stat-pill .icon {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

.vision-content .section-title {
  text-align: start;
}

.vision-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.vision-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
}

.pillar-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

/* ==========================================================================
   Contact Section & Interactive Quote Request Form
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.contact-info-panel .section-title {
  text-align: start;
}

.contact-panel-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.1rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all var(--transition-fast);
}

.contact-detail-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

[dir="rtl"] .contact-detail-item:hover {
  transform: translateX(-4px);
}

.detail-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-subtle);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.detail-icon svg {
  width: 22px;
  height: 22px;
}

.detail-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[lang="ar"] .detail-label {
  letter-spacing: 0px;
}

.detail-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-main);
}

.phone-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.phone-separator {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.instant-contact-box {
  margin-top: 1.5rem;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  width: 100%;
  font-weight: 750;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

/* Contact Form Panel */
.contact-form-panel {
  padding: 2.75rem 2.25rem;
}

.inquiry-selector {
  margin-bottom: 1.75rem;
}

.inquiry-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.inquiry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
  font-weight: 650;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip:hover {
  border-color: var(--primary);
  color: var(--text-main);
}

.chip.active {
  background: var(--primary);
  color: #060913;
  border-color: var(--primary);
  box-shadow: 0 2px 10px var(--primary-glow);
  font-weight: 750;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 0.88rem 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
  background: var(--bg-base);
}

.btn-submit {
  width: 100%;
  padding: 0.95rem;
  margin-top: 0.5rem;
}

.form-toast {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   Footer Layout
   ========================================================================== */

.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding-top: 5.5rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.brand-tagline {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 380px;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 550;
  transition: all var(--transition-fast);
}

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

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-4px);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-legal p strong {
  color: var(--text-main);
}

.footer-contact-link {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

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

.copyright {
  font-size: 0.86rem;
  color: var(--text-dim);
}

/* Scroll To Top Button */
.scroll-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.scroll-top:active {
  transform: scale(0.94);
}

/* ==========================================================================
   Responsive Design Breakpoints
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }

  .hero-trust-strip {
    justify-content: center;
  }

  .about-grid,
  .vision-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-content .section-title,
  .vision-content .section-title,
  .contact-info-panel .section-title {
    text-align: center;
  }

  .about-stats-inline,
  .vision-pillars {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

  .brand-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .logo-container {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: flex;
  }

  .stats-bar-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-bento {
    grid-template-columns: 1fr;
  }

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

  .hero-float-card {
    position: static;
    margin-top: 1rem;
  }

  .hero-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom-flex {
    flex-direction: column-reverse;
    gap: 1.25rem;
  }
}

/* Accessibility: Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .blob,
  .pulse-indicator,
  .route-line-anim,
  .ping-circle,
  .hero-float-card,
  .vision-circle-decor {
    animation: none !important;
  }

  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn:active,
  .btn-control:active,
  .scroll-top:active {
    transform: none !important;
  }
}
