/* ==========================================================================
   QUICKEST LOGISTICS - CLEAN FLOATING SOCIAL WIDGET & SEAMLESS DESIGN
   ========================================================================== */

/* --- Google Fonts Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=Tajawal:wght@400;500;700;800;900&display=swap');

/* --- Design Tokens --- */
:root {
  --primary-purple: #3D2584;
  --primary-purple-dark: #1E1147;
  --primary-purple-light: #5B38B8;
  --accent-orange: #FF6B00;
  --accent-orange-hover: #E05D00;
  --accent-orange-glow: rgba(255, 107, 0, 0.22);
  
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FD;
  --bg-light-subtle: #F0F3F9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #FFFFFF;
  --border-color: rgba(61, 37, 132, 0.08);
  --border-glow: rgba(255, 107, 0, 0.35);
  
  --text-main: #1A1333;
  --text-muted: #5A5475;
  --text-dim: #8E88A8;
  
  --font-en: 'Inter', system-ui, -apple-system, sans-serif;
  --font-ar: 'Tajawal', 'Cairo', sans-serif;
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  
  --shadow-sm: 0 4px 16px rgba(61, 37, 132, 0.05);
  --shadow-md: 0 12px 36px rgba(61, 37, 132, 0.08);
  --shadow-lg: 0 20px 50px rgba(61, 37, 132, 0.12);
  --shadow-glow: 0 10px 35px rgba(255, 107, 0, 0.2);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-apple: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-ar);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body[dir="ltr"] {
  font-family: var(--font-en);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- FULLSCREEN PRELOADER WITH LOGO --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader-logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  height: 70px;
  width: auto;
  mix-blend-mode: multiply;
  z-index: 2;
  animation: pulse-scale 2s ease-in-out infinite;
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.preloader-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(61, 37, 132, 0.08);
  border-top: 3px solid var(--accent-orange);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preloader-progress {
  width: 200px;
  height: 4px;
  background: rgba(61, 37, 132, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.preloader-logo {
  width: 180px;
  max-width: 80%;
  animation: logoPulse 2s ease-in-out infinite;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.brand-logo img {
  height: 104px;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-purple), var(--accent-orange));
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}

.preloader-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* --- INDIVIDUAL FLOATING SOCIAL & BACK TO TOP BUTTONS --- */
.floating-social-bar {
  position: fixed;
  bottom: 2rem;
  right: 1.8rem;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

body[dir="rtl"] .floating-social-bar {
  right: auto;
  left: 1.8rem;
}

.floating-social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(61, 37, 132, 0.14);
  box-shadow: 0 8px 24px rgba(30, 20, 60, 0.14);
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
}

.floating-social-link.whatsapp {
  color: #25D366;
}

.floating-social-link.whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

.floating-social-link.instagram {
  color: #E1306C;
}

.floating-social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #FFFFFF;
  border-color: #dc2743;
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(220, 39, 67, 0.45);
}

.floating-social-link.facebook {
  color: #1877F2;
}

.floating-social-link.facebook:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(24, 119, 242, 0.45);
}

/* --- BACK TO TOP BUTTON WITH DELIGHTFUL GSAP ENTRANCE ANIMATION --- */
.floating-social-link.top-btn {
  background: var(--primary-purple-dark);
  color: #FFFFFF;
  border-color: var(--primary-purple-dark);
}

/* Animated Arrow Bounce Inside Button */
.floating-social-link.top-btn i {
  animation: arrowUpBounce 1.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

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

@keyframes floatGlowPulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(30, 20, 60, 0.25);
  }
  50% {
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.5), 0 0 0 10px rgba(255, 107, 0, 0.18);
  }
}

.floating-social-link.top-btn:hover {
  background: var(--accent-orange) !important;
  color: #FFFFFF !important;
  border-color: var(--accent-orange) !important;
  transform: scale(1.2) translateY(-4px) !important;
  box-shadow: 0 14px 32px rgba(255, 107, 0, 0.55) !important;
}

.floating-social-link.top-btn:active {
  transform: scale(0.92) translateY(-14px) !important;
}

.social-tooltip {
  position: absolute;
  right: 58px;
  background: var(--primary-purple-dark);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  pointer-events: none;
}

body[dir="rtl"] .social-tooltip {
  right: auto;
  left: 58px;
}

.floating-social-link:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
}

/* --- Container & Layout Utils --- */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 6.5rem 0;
}

/* --- Background Ambient Glows --- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(61, 37, 132, 0.12);
  top: -150px;
  right: -150px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(255, 107, 0, 0.1);
  bottom: 10%;
  left: -150px;
}

/* --- Typography Helpers --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.25);
  color: var(--accent-orange);
  padding: 0.45rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  color: var(--primary-purple-dark);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 2.5rem;
}

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

.center-block {
  margin-left: auto;
  margin-right: auto;
}

/* --- Glassmorphic Light Card --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(255, 107, 0, 0.12);
}

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

/* Initial state for GSAP scroll reveals */
.gsap-reveal {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

.gsap-card {
  opacity: 0;
  transform: translateY(35px) scale(0.96);
  will-change: opacity, transform;
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), #FF8533);
  color: #FFFFFF;
  box-shadow: 0 6px 22px var(--accent-orange-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E05D00, var(--accent-orange));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
  background: rgba(61, 37, 132, 0.05);
  border: 1px solid var(--border-color);
  color: var(--primary-purple-dark);
}

.btn-secondary:hover {
  background: rgba(61, 37, 132, 0.1);
  border-color: var(--primary-purple);
  transform: translateY(-3px);
}

.btn-glow {
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(255, 107, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

/* --- APPLE-STYLE FLOATING CONTAINER NAVBAR (100% SEAMLESS BOTH WAYS) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.4rem 0;
  background: transparent;
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  padding: 0.8rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.6rem 1.6rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled .nav-container {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-color: rgba(61, 37, 132, 0.12);
  box-shadow: 0 16px 40px rgba(30, 20, 60, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
}

/* --- LOGO WITHOUT BACKGROUND & SCROLL TOGGLE --- */
.brand-logo {
  display: flex;
  align-items: center;
  position: relative;
}

.brand-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease, opacity 0.3s ease;
}

.brand-logo .logo-dark {
  display: none;
}

.brand-logo .logo-light {
  display: block;
}

.navbar.scrolled .brand-logo .logo-light {
  display: none;
}

.navbar.scrolled .brand-logo .logo-dark {
  display: block;
}

.navbar.scrolled .brand-logo img {
  height: 80px;
}

.brand-logo:hover img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.98rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary-purple-dark);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Toggle Switcher */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(61, 37, 132, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 3px;
  position: relative;
  cursor: pointer;
}

.lang-btn {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
  z-index: 1;
}

.lang-btn.active {
  background: var(--primary-purple);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(61, 37, 132, 0.25);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-purple-dark);
  cursor: pointer;
}

/* --- HERO SECTION WITH CLEAN TRANSPARENT BG --- */
.hero {
  position: relative;
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: transparent !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(61, 37, 132, 0.06);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-pill);
  color: var(--primary-purple-dark);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  color: var(--accent-orange);
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--primary-purple-dark);
}

.hero-title span {
  color: var(--accent-orange);
  display: inline-block;
  position: relative;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-item h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Hero Media Showcase Card */
.hero-media-wrapper {
  position: relative;
}

.hero-card-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
  transition: var(--transition-normal);
}

.hero-card-img:hover {
  transform: scale(1.02);
  border-color: var(--accent-orange);
}

/* Hero Stock Video Card for index2.html */
.hero-video-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-card-video {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
  display: block;
  transition: var(--transition-normal);
}

.hero-card-video:hover {
  transform: scale(1.02);
  border-color: var(--accent-orange);
}

/* --- FULL HERO STOCK VIDEO BACKGROUND FOR index2.html --- */
.hero-video-bg-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-bg-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9) contrast(1.05);
}

.hero-bg-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 20, 60, 0.90) 0%,
    rgba(61, 37, 132, 0.78) 50%,
    rgba(255, 107, 0, 0.40) 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.hero-video-bg-section .container {
  position: relative;
  z-index: 2;
}

.hero-video-bg-section .hero-title {
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(15, 8, 35, 0.6);
  font-weight: 900;
  letter-spacing: -0.5px;
}

.hero-video-bg-section .hero-title span {
  color: #FF8533;
  text-shadow: 0 2px 25px rgba(255, 107, 0, 0.5);
}

.hero-video-bg-section .hero-description {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 10px rgba(15, 8, 35, 0.4);
}

/* Navbar Menu Styles for Video Page */
.navbar-video-page:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 700;
}

.navbar-video-page:not(.scrolled) .nav-link:hover {
  color: #FFFFFF !important;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.navbar-video-page:not(.scrolled) .nav-link::after {
  background: #FF6B00;
}

.navbar-video-page:not(.scrolled) .lang-toggle {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.navbar-video-page:not(.scrolled) .lang-btn {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-video-page:not(.scrolled) .lang-btn.active {
  background: var(--accent-orange);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(255, 107, 0, 0.4);
}

.navbar-video-page:not(.scrolled) .mobile-toggle {
  color: #FFFFFF;
}

.hero-video-bg-section .stat-item h3 {
  color: var(--accent-orange);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-video-bg-section .stat-item p {
  color: rgba(255, 255, 255, 0.85);
}

.hero-video-bg-section .stat-icon {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-minimal-center {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content-centered {
  margin: 0 auto;
  padding: 2rem 0;
}

/* --- SWIPER SERVICES SLIDER CUSTOM STYLING --- */
.services-swiper {
  padding: 1rem 0.5rem 3.5rem !important;
  position: relative;
  overflow: hidden !important;
}

.services-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.services-swiper .service-card {
  width: 100%;
  height: 100%;
  margin-bottom: 0;
}

.services-pagination {
  bottom: 0 !important;
}

.services-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--primary-purple);
  opacity: 0.3;
  transition: var(--transition-normal);
}

.services-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--primary-purple), var(--accent-orange));
  opacity: 1;
}

.services-next,
.services-prev {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--primary-purple-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  top: 45%;
}

.services-next:after,
.services-prev:after {
  font-size: 1.1rem;
  font-weight: 800;
}

.services-next:hover,
.services-prev:hover {
  background: var(--accent-orange);
  color: #FFFFFF;
  border-color: var(--accent-orange);
  box-shadow: 0 6px 20px var(--accent-orange-glow);
  transform: scale(1.1);
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #FFFFFF;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

body[dir="rtl"] .floating-badge {
  right: auto;
  left: -20px;
}

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

.floating-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #FFFFFF;
}

/* --- Services & Solutions Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(61, 37, 132, 0.06);
  border: 1px solid rgba(255, 107, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--accent-orange);
  color: #FFFFFF;
  transform: rotate(6deg) scale(1.1);
  box-shadow: 0 0 20px var(--accent-orange-glow);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--primary-purple-dark);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Feature Showcase Split Card */
.showcase-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 5rem;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.showcase-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 3px solid #FFFFFF;
}

/* --- About & Core Values Section --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2.2rem 1.5rem;
  background: #FFFFFF;
}

.value-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-orange);
}

.value-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-purple-dark);
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Coverage & Branches Section --- */
.map-showcase-wrapper {
  position: relative;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.map-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.branches-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.branch-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.branch-card:hover {
  border-color: var(--accent-orange);
  transform: translateX(-5px);
  box-shadow: var(--shadow-md);
}

body[dir="ltr"] .branch-card:hover {
  transform: translateX(5px);
}

.branch-pin {
  width: 44px;
  height: 44px;
  background: rgba(255, 107, 0, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.branch-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-purple-dark);
}

.branch-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-purple-dark), var(--primary-purple));
  border-radius: var(--radius-lg);
  padding: 4.5rem 2rem;
  text-align: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* --- Footer --- */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(61, 37, 132, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-purple-dark);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-orange);
  color: #FFFFFF;
  transform: translateY(-3px);
  border-color: var(--accent-orange);
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--primary-purple-dark);
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--accent-orange);
  transform: translateX(5px);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* --- Responsiveness & Breakpoints --- */
@media (max-width: 992px) {
  .hero-grid, .showcase-split, .map-showcase-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .floating-social-bar {
    bottom: 1rem;
    right: 1rem;
  }
  
  body[dir="rtl"] .floating-social-bar {
    left: 1rem;
    right: auto;
  }
}

@media (max-width: 768px) {
  .nav-container {
    width: 95%;
    padding: 0.5rem 0.75rem;
  }

  .brand-logo img {
    height: 60px;
  }
  
  .nav-actions .btn-primary {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 5%;
    width: 90%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }
  
  .nav-menu.active {
    clip-path: circle(140% at 100% 0);
  }
  
  .mobile-toggle {
    display: block;
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

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

  .hero-stats-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .floating-social-bar {
    bottom: 1rem;
    right: 1rem;
    transform: scale(0.85);
    transform-origin: bottom right;
  }
  
  body[dir="rtl"] .floating-social-bar {
    left: 1rem;
    right: auto;
    transform-origin: bottom left;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .branches-list {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HERO STATS BANNER - EXACT SCREENSHOT DESIGN MATCH
   ========================================================================== */
.hero-stats-banner {
  margin-top: 3.5rem;
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  padding: 1.3rem 1.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.4rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all var(--transition-normal);
}

.hero-stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.hero-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: #ff6b00;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8500 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.hero-stat-card:hover .hero-stat-icon {
  transform: scale(1.08);
}

.hero-stat-info {
  text-align: left;
}

body[dir="rtl"] .hero-stat-info {
  text-align: right;
}

body[dir="ltr"] .hero-stat-info {
  text-align: left;
}

.hero-stat-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  font-family: var(--font-en), system-ui, sans-serif;
  margin-bottom: 0.2rem;
  letter-spacing: -0.5px;
}

.hero-stat-info p {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  white-space: nowrap;
  letter-spacing: -0.1px;
}

@media (max-width: 992px) {
  .hero-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    padding: 1.1rem;
  }
  .hero-stat-card {
    padding: 0.9rem 1rem;
    gap: 0.8rem;
  }
  .hero-stat-info h3 {
    font-size: 1.5rem;
  }
  .hero-stat-info p {
    font-size: 0.78rem;
  }
}

@media (max-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.1rem;
  }
  .hero-stat-card {
    justify-content: flex-start;
    padding: 1rem 1.2rem;
  }
  .hero-stat-info p {
    white-space: normal;
  }
}

/* ==========================================================================
   CLIENT PORTAL & LIVE TRACKING SECTION
   ========================================================================== */
.tracking-portal-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, rgba(61, 37, 132, 0.04) 50%, var(--bg-light) 100%);
  position: relative;
  overflow: hidden;
}

.tracking-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.portal-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.portal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(61, 37, 132, 0.08);
  box-shadow: 0 6px 20px rgba(61, 37, 132, 0.04);
  transition: all var(--transition-normal);
}

.portal-feature-item:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
}

.portal-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-purple-dark), var(--primary-purple));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(61, 37, 132, 0.2);
}

.portal-feature-item:nth-child(2) .portal-feature-icon {
  background: linear-gradient(135deg, var(--accent-orange), #FF8800);
  box-shadow: 0 6px 16px var(--accent-orange-glow);
}

.portal-feature-item h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-purple-dark);
  margin-bottom: 0.25rem;
}

.portal-feature-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Interactive Search Bar & Action Row */
.portal-action-box {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.tracking-search-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid rgba(61, 37, 132, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.4rem 0.4rem 1.4rem;
  box-shadow: 0 10px 30px rgba(61, 37, 132, 0.08);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

body[dir="ltr"] .tracking-search-bar {
  padding: 0.4rem 1.4rem 0.4rem 0.4rem;
}

.tracking-search-bar:focus-within {
  border-color: var(--accent-orange);
  box-shadow: 0 12px 35px rgba(255, 107, 0, 0.18);
}

.tracking-search-icon {
  color: var(--primary-purple);
  font-size: 1.1rem;
  margin-left: 0.8rem;
}

body[dir="ltr"] .tracking-search-icon {
  margin-left: 0;
  margin-right: 0.8rem;
}

.tracking-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text-main);
}

.tracking-input::placeholder {
  color: var(--text-dim);
}

.tracking-search-btn {
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.portal-cta-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.portal-login-btn {
  background: #ffffff;
  border: 1.5px solid var(--primary-purple);
  color: var(--primary-purple-dark);
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
}

.portal-login-btn:hover {
  background: var(--primary-purple-dark);
  color: #ffffff;
  border-color: var(--primary-purple-dark);
  transform: translateY(-2px);
}

.portal-note {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Dashboard Mockup Display */
.portal-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(30, 20, 60, 0.16);
  border: 4px solid #ffffff;
  background: #ffffff;
  transition: transform var(--transition-normal);
}

.portal-card-frame:hover {
  transform: scale(1.02);
}

.portal-dashboard-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 4px);
}

.portal-floating-card {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(61, 37, 132, 0.12);
  border-radius: 18px;
  padding: 0.9rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

body[dir="ltr"] .portal-floating-card {
  right: auto;
  left: 1.5rem;
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.portal-floating-card h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-purple-dark);
  margin: 0;
}

.portal-floating-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}

.flip-rtl {
  transform: rotate(0deg);
}

body[dir="rtl"] .flip-rtl {
  transform: rotate(180deg);
}

@media (max-width: 992px) {
  .tracking-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .tracking-search-bar {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 0.8rem;
    gap: 0.8rem;
  }
  .tracking-search-btn {
    width: 100%;
    justify-content: center;
  }
}


