/* ==========================================================================
   AFRIMEDS SUDAN CORPORATE DIGITAL PLATFORM
   Design System & Global Stylesheet (Ultra-Luxury Motion & Interaction System)
   Brand Identity: AfriMeds Royal Purple (#5B1D99) & Radiant Gold (#F59E0B)
   Compliant with WCAG 2.2 AA Accessibility & Bi-directional RTL/LTR Layouts
   ========================================================================== */

:root {
  /* Brand Core Colors */
  --primary: #5B1D99;
  --primary-dark: #3F1070;
  --primary-darker: #28084A;
  --primary-light: #7E22CE;
  --primary-lighter: #A855F7;
  --primary-soft: #F5EEFD;
  --primary-glow: rgba(91, 29, 153, 0.28);
  --primary-glow-subtle: rgba(91, 29, 153, 0.08);

  --gold: #F59E0B;
  --gold-dark: #D97706;
  --gold-light: #FBBF24;
  --gold-soft: #FFFBEB;
  --gold-glow: rgba(245, 158, 11, 0.32);
  --gold-glow-subtle: rgba(245, 158, 11, 0.12);

  --emerald: #00A896;
  --emerald-light: #02C39A;
  --emerald-glow: rgba(0, 168, 150, 0.25);

  /* Neutrals & Surfaces */
  --dark-bg: #090D16;
  --dark-surface: #0F172A;
  --dark-card: #1E293B;
  --dark-card-hover: #26354D;
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-border-hover: rgba(255, 255, 255, 0.22);

  --light-bg: #F8FAFD;
  --light-surface: #FFFFFF;
  --light-card: #FFFFFF;
  --light-border: #E2E8F0;
  --light-border-hover: #CBD5E1;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Accent & Status */
  --success: #10B981;
  --success-soft: #ECFDF5;
  --info: #0284C7;
  --info-soft: #F0F9FF;
  --warning: #F59E0B;
  --error: #EF4444;

  /* Typography */
  --font-en: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;

  /* Multi-Layered Elevation & Shadows */
  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -6px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.14), 0 12px 24px -6px rgba(15, 23, 42, 0.08);
  --shadow-purple: 0 14px 36px -6px rgba(91, 29, 153, 0.32);
  --shadow-gold: 0 14px 36px -6px rgba(245, 158, 11, 0.35);
  --shadow-luxury-purple: 0 20px 45px -10px rgba(91, 29, 153, 0.28), 0 0 25px rgba(168, 85, 247, 0.15);
  --shadow-luxury-gold: 0 20px 45px -10px rgba(245, 158, 11, 0.32), 0 0 25px rgba(245, 158, 11, 0.12);

  /* Glassmorphism Tokens */
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --glass-bg-dark: rgba(15, 23, 42, 0.75);
  --glass-border-light: rgba(255, 255, 255, 0.6);
  --glass-border-dark: rgba(255, 255, 255, 0.12);
  --glass-blur: 16px;

  /* Motion Timing Functions & Easings */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);

  /* Transitions */
  --transition-fast: 0.18s var(--ease-out-expo);
  --transition-normal: 0.32s var(--ease-out-expo);
  --transition-slow: 0.55s var(--ease-out-expo);
  --transition-spring: 0.45s var(--ease-spring);

  /* Layout Measurements */
  --header-height: 80px;
  --header-height-scrolled: 68px;
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;
}

/* ==========================================================================
   Top Scroll Progress Bar
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  z-index: 10000;
  background: linear-gradient(90deg, #F59E0B 0%, #A855F7 50%, #00A896 100%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6), 0 0 24px rgba(168, 85, 247, 0.4);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ==========================================================================
   Base Reset & Global Typography
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-en);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 1;
  animation: pageEntrance 0.75s var(--ease-out-expo) forwards;
}

/* RTL Layout Mode */
[dir="rtl"] body {
  font-family: var(--font-ar);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
  letter-spacing: 0;
  line-height: 1.35;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

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

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

/* ==========================================================================
   Keyframes & Motion Library (Hardware Accelerated 60FPS)
   ========================================================================== */
@keyframes pageEntrance {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes ambientPulse {
  0% {
    transform: scale(1) translate3d(0, 0, 0) rotate(0deg);
    opacity: 0.7;
  }
  33% {
    transform: scale(1.1) translate3d(15px, -20px, 0) rotate(3deg);
    opacity: 0.95;
  }
  66% {
    transform: scale(0.96) translate3d(-12px, 12px, 0) rotate(-2deg);
    opacity: 0.75;
  }
  100% {
    transform: scale(1) translate3d(0, 0, 0) rotate(0deg);
    opacity: 0.7;
  }
}

@keyframes heroCardFloat {
  0% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translate3d(0, 0, 0);
  }
  33% {
    transform: perspective(1000px) rotateX(1.5deg) rotateY(-2deg) translate3d(0, -8px, 0);
  }
  66% {
    transform: perspective(1000px) rotateX(-1deg) rotateY(2deg) translate3d(0, -14px, 0);
  }
  100% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translate3d(0, 0, 0);
  }
}

@keyframes textShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulseGlowTriple {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 0 0 24px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulsePurpleGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(91, 29, 153, 0.45);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(91, 29, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(91, 29, 153, 0);
  }
}

@keyframes badgeLivePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
    box-shadow: 0 0 2px rgba(245, 158, 11, 0.2);
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-150%) skewX(-25deg);
    opacity: 0;
  }
  30% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(250%) skewX(-25deg);
    opacity: 0;
  }
}

@keyframes rippleEffect {
  0% {
    transform: scale(0);
    opacity: 0.65;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

@keyframes counterBloom {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.6));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.2));
  }
}

@keyframes whatsappWiggle {
  0%, 90%, 100% {
    transform: rotate(0deg) scale(1);
  }
  92% {
    transform: rotate(-7deg) scale(1.04);
  }
  94% {
    transform: rotate(7deg) scale(1.04);
  }
  96% {
    transform: rotate(-4deg) scale(1.04);
  }
  98% {
    transform: rotate(4deg) scale(1.04);
  }
}

@keyframes beamSweep {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(200%);
    opacity: 0;
  }
}

/* ==========================================================================
   Optical Scroll Reveal System (Hardware Accelerated 60FPS)
   ========================================================================== */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-blur,
.reveal-stagger > * {
  opacity: 0;
  filter: blur(8px);
  will-change: transform, opacity, filter;
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo), filter 0.85s var(--ease-out-expo);
}

.reveal-up {
  transform: translate3d(0, 36px, 0);
}

.reveal-left {
  transform: translate3d(-36px, 0, 0);
}

.reveal-right {
  transform: translate3d(36px, 0, 0);
}

.reveal-scale {
  transform: scale(0.92) translate3d(0, 24px, 0);
}

.reveal-blur {
  transform: translate3d(0, 16px, 0);
  filter: blur(14px);
}

[dir="rtl"] .reveal-left {
  transform: translate3d(36px, 0, 0);
}

[dir="rtl"] .reveal-right {
  transform: translate3d(-36px, 0, 0);
}

/* Revealed State */
.is-revealed,
.reveal-stagger.is-revealed > * {
  opacity: 1;
  filter: blur(0px);
  transform: translate3d(0, 0, 0) scale(1);
}

/* Stagger Delay Matrix */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.34s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.40s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.46s; }
.reveal-stagger > *:nth-child(9) { transition-delay: 0.52s; }
.reveal-stagger > *:nth-child(10) { transition-delay: 0.58s; }
.reveal-stagger > *:nth-child(11) { transition-delay: 0.64s; }
.reveal-stagger > *:nth-child(12) { transition-delay: 0.70s; }

/* ==========================================================================
   Header & Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg-light);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  height: var(--header-height);
  transition: height var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  will-change: height, background, box-shadow;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  height: var(--header-height-scrolled);
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(91, 29, 153, 0.15);
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 48px;
  position: relative;
  transition: transform var(--transition-fast);
}

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

.brand-logo-img {
  height: 44px;
  width: auto;
  transition: height var(--transition-normal);
}

.site-header.scrolled .brand-logo-img {
  height: 38px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  transition: color var(--transition-fast);
}

/* Animated Underline Indicator */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  transition: width var(--transition-normal);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 240px;
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.97);
  transform-origin: top center;
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 1001;
  list-style: none;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

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

.dropdown-link {
  display: block;
  padding: 0.7rem 1.35rem;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
  transform: translateX(4px);
}

[dir="rtl"] .dropdown-link:hover {
  transform: translateX(-4px);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(91, 29, 153, 0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.lang-switch-btn:hover {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.lang-switch-btn:active {
  transform: translateY(0) scale(0.96);
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-header-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  transform: translateX(-150%) skewX(-25deg);
  pointer-events: none;
}

.btn-header-cta:hover {
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

.btn-header-cta:hover::after {
  animation: shimmerSweep 0.85s var(--ease-out-expo);
}

.btn-header-cta:active {
  transform: translateY(0) scale(0.97);
}

/* Modern Animated Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--primary-soft);
}

.burger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: var(--radius-full);
  margin: 5px auto;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-toggle.open .burger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-toggle.open .burger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.open .burger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section (Level 4 Signature Ambient Motion)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #07040D 0%, #130726 45%, #240642 100%);
  color: var(--text-white);
  padding: 6.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-background-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(126, 34, 206, 0.32) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(91, 29, 153, 0.2) 0%, transparent 75%);
  animation: ambientPulse 12s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold-light);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.2);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  will-change: transform;
}

.hero-badge:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.35);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

[dir="rtl"] .hero-title {
  letter-spacing: 0;
  line-height: 1.3;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #FFD000 0%, #F59E0B 40%, #FFA800 80%, #FFD000 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 5s linear infinite;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #CBD5E1;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

/* Level 1 & 2 Interactive Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: translateX(-150%) skewX(-25deg);
  pointer-events: none;
}

.btn-primary:hover {
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -6px rgba(245, 158, 11, 0.5);
}

.btn-primary:hover::after {
  animation: shimmerSweep 0.85s var(--ease-out-expo);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.btn-primary span:last-child {
  transition: transform var(--transition-fast);
}

.btn-primary:hover span:last-child {
  transform: translateX(5px);
}

[dir="rtl"] .btn-primary:hover span:last-child {
  transform: translateX(-5px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateX(-150%) skewX(-25deg);
  pointer-events: none;
}

.btn-secondary:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover::after {
  animation: shimmerSweep 0.85s var(--ease-out-expo);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast);
}

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

.stat-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
  transition: transform 0.3s var(--ease-spring), filter 0.3s ease;
}

.stat-value.counter-bloom {
  animation: counterBloom 0.75s var(--ease-spring);
}

.stat-label {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.4;
}

/* Hero Visual Graphic (Floating Card with 3D Depth) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.hero-card-floating {
  background: rgba(23, 32, 51, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  width: 100%;
  max-width: 450px;
  box-shadow: var(--shadow-xl), 0 0 45px rgba(91, 29, 153, 0.3);
  position: relative;
  animation: heroCardFloat 7.5s ease-in-out infinite;
  will-change: transform;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-logo-box {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(91, 29, 153, 0.6), rgba(126, 34, 206, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: var(--shadow-purple);
  transition: transform var(--transition-spring);
}

.hero-card-floating:hover .hero-logo-box {
  transform: scale(1.08) rotate(4deg);
}

.hero-network-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.network-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  transition: all var(--transition-normal);
}

[dir="rtl"] .network-pill {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 4px solid var(--gold);
}

.network-pill:hover {
  background: rgba(15, 23, 42, 0.92);
  transform: translateX(4px);
  border-color: rgba(245, 158, 11, 0.45);
}

[dir="rtl"] .network-pill:hover {
  transform: translateX(-4px);
}

.network-pill-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
}

.network-pill-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(126, 34, 206, 0.35);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #F3E8FF;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.network-pill-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold-light);
  border-radius: var(--radius-full);
  animation: badgeLivePulse 2s infinite ease-in-out;
}

/* ==========================================================================
   Sections General & Visual Polish
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background: var(--light-surface);
}

.section-dark {
  background: var(--dark-bg);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.section-dark h1, .section-dark h2, .section-dark h3 {
  color: var(--text-white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-dark .section-eyebrow {
  color: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

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

.section-dark .section-subtitle {
  color: #94A3B8;
}

/* ==========================================================================
   Who We Are Split Editorial
   ========================================================================== */
.split-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.editorial-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.editorial-lead {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.45;
}

.editorial-graphic-box {
  background: linear-gradient(135deg, var(--primary-soft), #FAF5FF);
  border: 1px solid rgba(91, 29, 153, 0.18);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.editorial-graphic-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(91, 29, 153, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.editorial-graphic-box:hover::before {
  opacity: 1;
}

.editorial-graphic-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl), var(--shadow-luxury-purple);
}

.editorial-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quote-box {
  background: var(--light-surface);
  border-left: 4px solid var(--primary);
  padding: 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

[dir="rtl"] .quote-box {
  border-left: none;
  border-right: 4px solid var(--primary);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.quote-box:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

[dir="rtl"] .quote-box:hover {
  transform: translateX(-4px);
}

/* ==========================================================================
   Business Divisions Grid
   ========================================================================== */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.business-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.business-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  z-index: 2;
}

.business-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(91, 29, 153, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-luxury-purple);
  border-color: rgba(91, 29, 153, 0.35);
}

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

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

.business-card-num {
  font-size: 2.75rem;
  font-weight: 900;
  color: rgba(91, 29, 153, 0.14);
  line-height: 1;
  margin-bottom: 1.25rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.business-card:hover .business-card-num {
  color: var(--primary-light);
  transform: scale(1.05);
}

.business-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  transition: color var(--transition-fast);
}

.business-card:hover .business-card-title {
  color: var(--primary);
}

.business-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.business-card-pillars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--light-border);
}

.pillar-bullet {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pillar-bullet::before {
  content: "•";
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}

/* ==========================================================================
   Why AfriMeds 6 Pillars
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(91, 29, 153, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg), var(--shadow-luxury-purple);
}

.why-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-spring);
}

.why-card:hover .why-card-badge {
  background: var(--primary);
  color: var(--text-white);
  transform: scale(1.12) rotate(4deg);
  box-shadow: var(--shadow-purple);
}

.why-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.why-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Supply Chain Interactive Timeline
   ========================================================================== */
.supply-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
  margin-top: 2.5rem;
}

.supply-timeline::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), rgba(168, 85, 247, 0.6), transparent);
  pointer-events: none;
}

.supply-step-card {
  background: rgba(23, 32, 51, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.35rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  will-change: transform, box-shadow;
}

.supply-step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(245, 158, 11, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.supply-step-card:hover::before {
  opacity: 1;
}

.supply-step-card:hover {
  background: rgba(30, 41, 59, 1);
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-luxury-gold);
}

.supply-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.supply-step-num {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
  transition: transform var(--transition-spring);
}

.supply-step-card:hover .supply-step-num {
  transform: scale(1.08);
}

.supply-step-code {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
}

.supply-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.supply-step-desc {
  font-size: 0.8125rem;
  color: #CBD5E1;
  line-height: 1.6;
}

/* ==========================================================================
   Products Catalog System
   ========================================================================== */
.product-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--light-border);
  background: var(--light-bg);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.search-box {
  position: relative;
  min-width: 280px;
}

.search-input {
  width: 100%;
  padding: 0.65rem 1.15rem 0.65rem 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--light-border);
  font-size: 0.875rem;
  outline: none;
  background: var(--light-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

[dir="rtl"] .search-input {
  padding: 0.65rem 2.5rem 0.65rem 1.15rem;
}

.search-input:focus {
  border-color: var(--primary);
  background: var(--light-surface);
  box-shadow: 0 0 0 3.5px var(--primary-glow);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(91, 29, 153, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-luxury-purple);
  border-color: var(--primary-light);
}

.product-category-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.15rem;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.product-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-light);
}

[dir="rtl"] .product-meta-row {
  border-left: none;
  border-right: 3px solid var(--primary-light);
}

.product-meta-row strong {
  color: var(--text-main);
}

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

.product-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-card-inquire {
  flex: 1;
  padding: 0.7rem 1.15rem;
  background: var(--primary);
  color: var(--text-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-card-inquire::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transform: translateX(-150%) skewX(-25deg);
  pointer-events: none;
}

.btn-card-inquire:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-card-inquire:hover::after {
  animation: shimmerSweep 0.85s var(--ease-out-expo);
}

.btn-card-inquire:active {
  transform: translateY(0) scale(0.97);
}

/* ==========================================================================
   Insights Editorial Cards
   ========================================================================== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.insight-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  will-change: transform, box-shadow;
}

.insight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(91, 29, 153, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.insight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-luxury-purple);
  border-color: rgba(91, 29, 153, 0.25);
}

.insight-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-category {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.insight-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: var(--primary-dark);
  transition: color var(--transition-fast);
}

.insight-card:hover .insight-title {
  color: var(--primary);
}

.insight-summary {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #64748B;
  padding-top: 1.15rem;
  border-top: 1px solid var(--light-border);
}

/* ==========================================================================
   Contact Multi-Pathway Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark), #16062A);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  box-shadow: var(--shadow-xl), var(--shadow-luxury-purple);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.contact-info-card h3 {
  color: var(--text-white);
}

.contact-info-item {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(245, 158, 11, 0.18);
  color: var(--gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-spring);
}

.contact-info-item:hover .contact-icon {
  transform: scale(1.12) rotate(5deg);
}

.contact-form-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(91, 29, 153, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control, .form-select {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
  background: var(--light-bg);
  font-size: 0.9375rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  background: var(--light-surface);
  box-shadow: 0 0 0 3.5px var(--primary-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ==========================================================================
   Floating WhatsApp Button (Level 2 Micro-interaction)
   ========================================================================== */
.whatsapp-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  animation: pulseGlowTriple 3.5s infinite, whatsappWiggle 8s ease-in-out infinite;
  will-change: transform, box-shadow;
}

[dir="rtl"] .whatsapp-floating {
  right: auto;
  left: 2rem;
}

.whatsapp-floating:hover {
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-floating:active {
  transform: translateY(0) scale(0.96);
}

.whatsapp-icon-svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #070910;
  color: #94A3B8;
  padding: 5.5rem 0 2.5rem;
  margin-top: auto;
  border-top: 1px solid #1E293B;
  position: relative;
}

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

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

.footer-logo-img {
  height: 48px;
  width: auto;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #94A3B8;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.9375rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--gold);
  transform: translateX(3px);
}

[dir="rtl"] .footer-link:hover {
  transform: translateX(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   Modal Windows & Interactive Overlays
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 4, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out-expo), visibility 0.35s var(--ease-out-expo);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--light-surface);
  border: 1px solid rgba(91, 29, 153, 0.15);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 28px 64px -12px rgba(0, 0, 0, 0.45), 0 0 30px rgba(91, 29, 153, 0.15);
  padding: 2.75rem;
  position: relative;
  transform: perspective(1000px) rotateX(6deg) translateY(30px) scale(0.94);
  filter: blur(6px);
  transition: transform 0.45s var(--ease-spring), filter 0.45s var(--ease-out-expo);
}

.modal-backdrop.open .modal-card {
  transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
  filter: blur(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--light-bg);
  color: var(--text-main);
  transform: scale(1.1) rotate(90deg);
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1.5rem;
}

/* ==========================================================================
   Click Ripple Effect Element
   ========================================================================== */
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.2) 70%, transparent 100%);
  pointer-events: none;
  transform: scale(0);
  animation: rippleEffect 0.65s var(--ease-out-expo);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .supply-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --header-height-scrolled: 64px;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--light-border);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    display: none;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
  }
  .nav-menu.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }
  .split-editorial, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .supply-timeline {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hero-card-floating {
    max-width: 100%;
  }
}

/* ==========================================================================
   Accessibility: Strict Reduced Motion Override
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-background-effects,
  .hero-card-floating,
  .whatsapp-floating,
  .hero-title .highlight,
  .scroll-progress-bar {
    animation: none !important;
  }
  .reveal,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-blur,
  .reveal-stagger > * {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
