/**
 * =========================================================================
 * FRUIDEL LOGISTICS - Enterprise Modern Stylesheet
 * Responsive, High-Performance, Mobile-First Logistics Theme
 * Founded: 2026 | Harare, Zimbabwe
 * =========================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@500;700;900&family=Rajdhani:wght@500;600;700;800&display=swap');

/* -------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
  --fl-navy-dark: #08040d;
  --fl-navy: #11081e;
  --fl-navy-card: #190d2a;
  --fl-navy-light: #25133c;
  --fl-purple-deep: #5c015d;
  --fl-purple-primary: #810282;
  --fl-purple-hover: #9c0e9d;
  --fl-purple-light: #c984cb;
  --fl-purple-glow: rgba(129, 2, 130, 0.45);
  --fl-green-dark: #2d871d;
  --fl-green-primary: #78bf25;
  --fl-green-hover: #63a21a;
  --fl-green-light: #8ee02c;
  --fl-green-glow: rgba(120, 191, 37, 0.4);

  /* Semantic Theme Mappings */
  --fl-blue-deep: #5c015d;
  --fl-blue-primary: #810282;
  --fl-blue-bright: #9c0e9d;
  --fl-blue-cyan: #78bf25;
  --fl-orange-primary: #78bf25;
  --fl-orange-hover: #63a21a;
  --fl-orange-glow: rgba(120, 191, 37, 0.4);
  --fl-success: #78bf25;
  --fl-warning: #f59e0b;
  --fl-danger: #ef4444;

  --fl-text-light: #f8fafc;
  --fl-text-muted: #a3a0ad;
  --fl-text-dark: #12091f;
  --fl-bg-light: #faf8fc;
  --fl-bg-white: #ffffff;
  --fl-border-dark: rgba(201, 132, 203, 0.2);
  --fl-border-light: #e7e4ee;

  --fl-font-heading: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
  --fl-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fl-font-tech: 'Orbitron', monospace;

  --fl-shadow-sm: 0 2px 8px rgba(17, 8, 30, 0.08);
  --fl-shadow-md: 0 8px 24px rgba(17, 8, 30, 0.12);
  --fl-shadow-lg: 0 16px 36px rgba(17, 8, 30, 0.2);
  --fl-shadow-glow: 0 0 25px rgba(129, 2, 130, 0.35);

  --fl-transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --fl-transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --fl-transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --fl-radius-sm: 6px;
  --fl-radius-md: 12px;
  --fl-radius-lg: 20px;
  --fl-radius-full: 9999px;
}

/* -------------------------------------------------------------------------
   2. GLOBAL RESETS & TYPOGRAPHY
   ------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--fl-font-body);
  color: var(--fl-text-dark);
  background-color: var(--fl-bg-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------------------------------------------------------------------------
   SKELETON PRELOADER
   ------------------------------------------------------------------------- */

/* Full-screen overlay */
.fl-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #08040d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

/* Hidden state — added by JS on load */
.fl-preloader.fl-preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Center column */
.fl-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 480px;
  padding: 0 24px;
}

/* Logo */
.fl-preloader-logo {
  margin-bottom: 28px;
  animation: flPreloaderLogoPulse 2s ease-in-out infinite;
}

.fl-preloader-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(129, 2, 130, 0.6));
}

@keyframes flPreloaderLogoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.85; transform: scale(1.04); }
}

/* Progress bar track */
.fl-preloader-bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

/* Animated fill */
.fl-preloader-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #2d871d 0%, #78bf25 45%, #810282 100%);
  animation: flBarFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  box-shadow: 0 0 12px rgba(120, 191, 37, 0.6);
}

@keyframes flBarFill {
  0%   { width: 0%; }
  40%  { width: 55%; }
  70%  { width: 80%; }
  90%  { width: 93%; }
  100% { width: 100%; }
}

/* Loading text label */
.fl-preloader-label {
  font-family: var(--fl-font-tech, 'Orbitron', monospace);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: #64748b;
  text-transform: uppercase;
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Three-dot pulse animation */
.fl-dot-pulse {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fl-dot-pulse span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fl-orange-primary, #f97316);
  animation: flDotBounce 1.2s infinite ease-in-out;
}

.fl-dot-pulse span:nth-child(1) { animation-delay: 0s; }
.fl-dot-pulse span:nth-child(2) { animation-delay: 0.18s; }
.fl-dot-pulse span:nth-child(3) { animation-delay: 0.36s; }

@keyframes flDotBounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%           { transform: scale(1.2); opacity: 1; }
}

/* ---- Skeleton UI rows ---- */
.fl-skeleton-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Skeleton shimmer keyframe */
@keyframes flSkeletonShimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

/* Reusable shimmer block */
.fl-skel-block {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.04) 75%
  );
  background-size: 600px 100%;
  border-radius: 6px;
  animation: flSkeletonShimmer 1.6s infinite linear;
  flex-shrink: 0;
}

/* Height utilities */
.h-6  { height: 14px; }
.h-8  { height: 20px; }
.h-10 { height: 28px; }
.h-full { height: 100%; min-height: 120px; }

/* Width utilities */
.w-16  { width: 80px; }
.w-20  { width: 100px; }
.w-32  { width: 130px; }
.w-48  { width: 200px; }
.w-full { width: 100%; }
.w-4-5  { width: 85%; }
.w-3-4  { width: 72%; }

/* Skeleton navbar row */
.fl-skel-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* Skeleton hero row */
.fl-skel-hero {
  display: flex;
  gap: 20px;
  height: 140px;
}

.fl-skel-hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fl-skel-hero-right {
  width: 40%;
  min-height: 120px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .fl-preloader-bar-fill,
  .fl-preloader-logo,
  .fl-dot-pulse span,
  .fl-skel-block {
    animation: none !important;
  }
  .fl-preloader-bar-fill { width: 100%; }
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--fl-font-heading);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--fl-navy);
  line-height: 1.2;
}

.font-tech {
  font-family: var(--fl-font-tech);
}

.font-heading {
  font-family: var(--fl-font-heading);
}

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

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

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

/* -------------------------------------------------------------------------
   3. UTILITY CLASSES & BADGES
   ------------------------------------------------------------------------- */
.bg-navy-dark { background-color: var(--fl-navy-dark) !important; }
.bg-navy { background-color: var(--fl-navy) !important; }
.bg-navy-card { background-color: var(--fl-navy-card) !important; }
.bg-purple { background-color: var(--fl-purple-primary) !important; }
.bg-lime { background-color: var(--fl-green-primary) !important; }
.bg-orange { background-color: var(--fl-green-primary) !important; }
.text-purple { color: var(--fl-purple-primary) !important; }
.text-lime { color: var(--fl-green-primary) !important; }
.text-orange { color: #8ee02c !important; }
.text-cyan { color: #8ee02c !important; }
.text-navy { color: var(--fl-navy) !important; }
.border-purple { border-color: var(--fl-purple-primary) !important; }
.border-lime { border-color: var(--fl-green-primary) !important; }
.border-orange { border-color: var(--fl-green-primary) !important; }
.border-fl-dark { border-color: var(--fl-border-dark) !important; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(129, 2, 130, 0.14);
  color: #c984cb;
  border: 1px solid rgba(129, 2, 130, 0.35);
  font-family: var(--fl-font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--fl-radius-full);
  margin-bottom: 1rem;
}

.section-tag.tag-light {
  background: rgba(120, 191, 37, 0.15);
  color: #8ee02c;
  border-color: rgba(120, 191, 37, 0.35);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--fl-text-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Premium Buttons */
.btn-fruidel-primary {
  background: linear-gradient(135deg, #810282 0%, #5c015d 100%);
  color: #ffffff !important;
  font-family: var(--fl-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--fl-radius-sm);
  border: none;
  box-shadow: 0 4px 15px rgba(129, 2, 130, 0.4);
  transition: var(--fl-transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-fruidel-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(129, 2, 130, 0.6);
  background: linear-gradient(135deg, #9c0e9d 0%, #810282 100%);
}

.btn-fruidel-outline {
  background: transparent;
  color: #ffffff !important;
  font-family: var(--fl-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--fl-radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.75);
  transition: var(--fl-transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-fruidel-outline:hover {
  background: #ffffff;
  color: var(--fl-navy) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-fruidel-blue {
  background: linear-gradient(135deg, #78bf25 0%, #2d871d 100%);
  color: #ffffff !important;
  font-family: var(--fl-font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--fl-radius-sm);
  border: none;
  transition: var(--fl-transition-base);
}

.btn-fruidel-blue:hover {
  background: linear-gradient(135deg, #8ee02c 0%, #78bf25 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(120, 191, 37, 0.45);
}

/* -------------------------------------------------------------------------
   4. TOP BAR & STICKY NAVBAR
   ------------------------------------------------------------------------- */
.top-header-bar {
  background: var(--fl-navy-dark);
  border-bottom: 1px solid rgba(201, 132, 203, 0.15);
  font-size: 0.85rem;
  color: var(--fl-text-muted);
  padding: 8px 0;
}

.top-header-bar a {
  color: var(--fl-text-muted);
}

.top-header-bar a:hover {
  color: var(--fl-green-primary);
}

.fruidel-navbar {
  background: var(--fl-navy);
  padding: 14px 0;
  transition: var(--fl-transition-base);
  border-bottom: 1px solid rgba(129, 2, 130, 0.25);
  z-index: 1030;
}

.fruidel-navbar.navbar-scrolled {
  padding: 8px 0;
  background: rgba(17, 8, 30, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(120, 191, 37, 0.35);
}

.navbar-brand-logo {
  height: 56px;
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: var(--fl-transition-fast);
}

.fruidel-navbar.navbar-scrolled .navbar-brand-logo {
  height: 46px;
  max-height: 46px;
}

.fruidel-navbar .nav-link {
  font-family: var(--fl-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #e2e8f0 !important;
  padding: 8px 14px !important;
  position: relative;
  transition: var(--fl-transition-fast);
}

.fruidel-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--fl-green-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.fruidel-navbar .nav-link:hover,
.fruidel-navbar .nav-link.active {
  color: #ffffff !important;
}

.fruidel-navbar .nav-link:hover::after,
.fruidel-navbar .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-toggler {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--fl-green-primary);
  padding: 8px 12px;
  border-radius: 8px;
  color: #ffffff;
  outline: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(120, 191, 37, 0.35);
}

/* -------------------------------------------------------------------------
   5. HERO SECTION & HIGHWAY ANIMATION
   ------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 75% 30%, #25133c 0%, var(--fl-navy) 60%, var(--fl-navy-dark) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 90px 0 60px;
  overflow: hidden;
  color: #ffffff;
}

/* Digital Grid Background Overlay */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(201, 132, 203, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 132, 203, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Hero Image Stage / Fleet Showcase */
.hero-image-stage {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--fl-radius-md);
  border: 1.5px solid rgba(129, 2, 130, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 0 35px rgba(129, 2, 130, 0.2);
  overflow: hidden;
  background: var(--fl-navy-card);
}

.hero-cover-img {
  width: 100%;
  height: auto;
  min-height: 360px;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-frame:hover .hero-cover-img {
  transform: scale(1.03);
}

.hero-img-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 4, 13, 0.05) 0%, rgba(17, 8, 30, 0.35) 100%);
  pointer-events: none;
}

/* Animated Highway Stage (Legacy fallback) */
.highway-stage {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.highway-road {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: radial-gradient(circle at 50% 65%, rgba(129, 2, 130, 0.18) 0%, rgba(17, 8, 30, 0.95) 75%, #08040d 100%);
  border-radius: var(--fl-radius-md);
  border: 1.5px solid rgba(129, 2, 130, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 0 35px rgba(129, 2, 130, 0.2);
  overflow: hidden;
  padding: 35px 20px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Perspective Highway Markings */
.highway-perspective-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.road-lane-divider {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 100%;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to top,
    var(--fl-green-primary) 0,
    var(--fl-green-primary) 40px,
    transparent 40px,
    transparent 80px
  );
  animation: moveRoadMarkings 1.2s linear infinite;
  box-shadow: 0 0 15px var(--fl-green-primary);
}

@keyframes moveRoadMarkings {
  0% { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-50%) translateY(80px); }
}

/* Truck subtle floating animation - Right Lane Position */
.animated-truck-graphic {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: 8%;
  animation: truckFloat 3.5s ease-in-out infinite alternate;
}

.hero-freight-truck-img {
  max-height: 380px;
  width: auto;
  max-width: 48%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.85));
}

@keyframes truckFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-0.3deg); }
  100% { transform: translateY(3px) rotate(0.2deg); }
}

/* Moving Light Trails */
.light-trail {
  position: absolute;
  height: 3px;
  border-radius: 3px;
  opacity: 0.7;
}

.trail-1 {
  bottom: 60px;
  left: -20%;
  width: 50%;
  background: linear-gradient(90deg, transparent, #c984cb);
  animation: lightSpeed 2.5s infinite ease-out;
}

.trail-2 {
  bottom: 40px;
  left: -30%;
  width: 60%;
  background: linear-gradient(90deg, transparent, var(--fl-green-primary));
  animation: lightSpeed 1.8s infinite ease-out 0.6s;
}

@keyframes lightSpeed {
  0% { transform: translateX(-50%); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateX(250%); opacity: 0; }
}

/* GPS Pulse Badge */
.gps-live-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(17, 8, 30, 0.88);
  border: 1px solid #78bf25;
  border-radius: var(--fl-radius-full);
  padding: 6px 16px;
  font-family: var(--fl-font-tech);
  font-size: 0.75rem;
  color: #8ee02c;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #78bf25;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #78bf25;
  animation: pulseBeacon 1.5s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Hero Stats Counter Bar */
.hero-stats-bar {
  background: rgba(25, 13, 42, 0.88);
  border: 1px solid var(--fl-border-dark);
  border-radius: var(--fl-radius-md);
  padding: 24px;
  backdrop-filter: blur(10px);
  margin-top: 40px;
}

.stat-item-box h3 {
  font-family: var(--fl-font-tech);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--fl-green-primary);
  margin-bottom: 0;
}

.stat-item-box p {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   6. SERVICES SECTION & CARDS
   ------------------------------------------------------------------------- */
.service-card {
  background: var(--fl-bg-white);
  border: 1px solid var(--fl-border-light);
  border-radius: var(--fl-radius-md);
  padding: 32px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--fl-transition-base);
  box-shadow: var(--fl-shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--fl-purple-primary), var(--fl-green-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--fl-shadow-lg);
  border-color: rgba(129, 2, 130, 0.3);
}

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

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--fl-radius-md);
  background: rgba(129, 2, 130, 0.08);
  color: var(--fl-purple-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--fl-transition-fast);
}

.service-card:hover .service-icon-wrapper {
  background: linear-gradient(135deg, var(--fl-purple-primary) 0%, var(--fl-green-dark) 100%);
  color: #ffffff;
  transform: scale(1.05);
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card-desc {
  color: var(--fl-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-card-link {
  font-family: var(--fl-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fl-navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--fl-transition-fast);
}

.service-card-link:hover {
  color: var(--fl-purple-primary);
  transform: translateX(4px);
}

/* Service Preview Image Container */
.service-img-preview {
  height: 180px;
  border-radius: var(--fl-radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  background-color: var(--fl-navy);
}

.service-img-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-preview img {
  transform: scale(1.06);
}

/* -------------------------------------------------------------------------
   7. INTERACTIVE LOGISTICS ROUTE TRACKING SECTION
   ------------------------------------------------------------------------- */
.route-tracking-section {
  background: var(--fl-navy);
  color: #ffffff;
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}

.route-progress-track {
  position: relative;
  padding: 40px 0 20px;
}

.route-line-bg {
  position: absolute;
  top: 70px;
  left: 10%;
  right: 10%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 4px;
}

.route-line-active {
  position: absolute;
  top: 70px;
  left: 10%;
  width: 40%;
  height: 6px;
  background: linear-gradient(90deg, #78bf25, #810282);
  transform: translateY(-50%);
  z-index: 2;
  box-shadow: 0 0 12px rgba(120, 191, 37, 0.7);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.route-step-node {
  position: relative;
  z-index: 3;
  text-align: center;
}

.node-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--fl-navy-card);
  border: 3px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #94a3b8;
  margin-bottom: 12px;
  transition: var(--fl-transition-base);
}

.route-step-node.completed .node-icon-circle {
  background: var(--fl-purple-primary);
  border-color: #c984cb;
  color: #ffffff;
}

.route-step-node.active .node-icon-circle {
  background: var(--fl-green-primary);
  border-color: #c8f58b;
  color: #ffffff;
  box-shadow: 0 0 20px var(--fl-green-primary);
  animation: nodePulse 2s infinite;
}

@keyframes nodePulse {
  0% { box-shadow: 0 0 0 0 rgba(120, 191, 37, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(120, 191, 37, 0); }
  100% { box-shadow: 0 0 0 0 rgba(120, 191, 37, 0); }
}

.route-step-title {
  font-family: var(--fl-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.route-step-sub {
  font-size: 0.8rem;
  color: var(--fl-text-muted);
}

/* -------------------------------------------------------------------------
   8. WHY CHOOSE US & FEATURE CARDS
   ------------------------------------------------------------------------- */
.feature-box {
  background: #ffffff;
  border-radius: var(--fl-radius-md);
  padding: 30px 24px;
  border: 1px solid var(--fl-border-light);
  box-shadow: var(--fl-shadow-sm);
  transition: var(--fl-transition-base);
  height: 100%;
}

.feature-box:hover {
  border-color: var(--fl-purple-primary);
  transform: translateY(-6px);
  box-shadow: var(--fl-shadow-md);
}

.feature-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--fl-navy) 0%, var(--fl-purple-deep) 100%);
  color: var(--fl-green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* -------------------------------------------------------------------------
   9. FORMS & QUOTATION CALCULATOR / SUBMISSION
   ------------------------------------------------------------------------- */
.quotation-card {
  background: #ffffff;
  border-radius: var(--fl-radius-lg);
  box-shadow: var(--fl-shadow-lg);
  border: 1px solid var(--fl-border-light);
  padding: 40px;
}

.form-label {
  font-family: var(--fl-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--fl-navy);
  margin-bottom: 6px;
}

.form-control, .form-select {
  border-radius: var(--fl-radius-sm);
  border: 1.5px solid #cbd5e1;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--fl-transition-fast);
}

.form-control:focus, .form-select:focus {
  border-color: var(--fl-purple-primary);
  box-shadow: 0 0 0 3px rgba(129, 2, 130, 0.2);
}

/* -------------------------------------------------------------------------
   10. FLOATING WHATSAPP BUTTON & INTERACTIVE ASSISTANT
   ------------------------------------------------------------------------- */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1040;
  cursor: pointer;
  transition: var(--fl-transition-base);
  text-decoration: none;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 1.8s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Interactive WhatsApp Assistant Popover */
.whatsapp-bot-popover {
  position: fixed;
  bottom: 95px;
  left: 25px;
  width: 340px;
  background: #ffffff;
  border-radius: var(--fl-radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  z-index: 1045;
  overflow: hidden;
  display: none;
  animation: slideUpBot 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-bot-popover.active {
  display: block;
}

@keyframes slideUpBot {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-bot-header {
  background: #075e54;
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-bot-body {
  padding: 16px;
  background: #efeae2;
  max-height: 380px;
  overflow-y: auto;
}

.wa-bot-msg-bubble {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 0 10px 10px 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wa-bot-option-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--fl-radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fl-navy);
  margin-bottom: 8px;
  transition: var(--fl-transition-fast);
}

.wa-bot-option-btn:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  transform: translateX(3px);
}

/* -------------------------------------------------------------------------
   11. BACK TO TOP BUTTON
   ------------------------------------------------------------------------- */
.back-to-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: var(--fl-navy);
  color: #ffffff !important;
  border-radius: 50%;
  border: 2px solid rgba(120, 191, 37, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--fl-transition-base);
  cursor: pointer;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--fl-green-primary);
  border-color: var(--fl-green-primary);
  color: #11081e !important;
  transform: translateY(-4px);
}

/* -------------------------------------------------------------------------
   12. FOOTER
   ------------------------------------------------------------------------- */
.fruidel-footer {
  background: var(--fl-navy-dark);
  color: #9da4b0;
  padding-top: 80px;
  border-top: 3px solid var(--fl-green-primary);
}

.footer-heading {
  font-family: var(--fl-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--fl-green-primary);
}

.footer-links-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #9da4b0;
  font-size: 0.95rem;
  transition: var(--fl-transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--fl-transition-fast);
  margin-right: 8px;
}

.footer-social-link:hover {
  background: var(--fl-purple-primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-bottom-bar {
  background: #040207;
  padding: 20px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

/* -------------------------------------------------------------------------
   13. PAGE HEADERS & INNER HEROES
   ------------------------------------------------------------------------- */
.inner-page-hero {
  background: radial-gradient(circle at 80% 20%, #25133c 0%, var(--fl-navy) 60%, var(--fl-navy-dark) 100%);
  color: #ffffff;
  padding: 80px 0 60px;
  position: relative;
  border-bottom: 1px solid rgba(201, 132, 203, 0.2);
}

.breadcrumb-item a {
  color: var(--fl-green-primary);
}

.breadcrumb-item.active {
  color: #cbd5e1;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--fl-text-muted);
}

/* Timeline Cards (About Page) */
.timeline-track {
  position: relative;
  padding: 30px 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--fl-purple-primary), var(--fl-green-primary));
  transform: translateX(-50%);
}

.timeline-card-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fl-green-primary);
  border: 4px solid var(--fl-navy);
  transform: translateX(-50%);
  z-index: 2;
}

/* -------------------------------------------------------------------------
   14. MOBILE RESPONSIVENESS & MEDIA QUERIES
   ------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .fruidel-navbar .navbar-collapse {
    background: #11081e;
    border: 1px solid rgba(129, 2, 130, 0.35);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  }

  .fruidel-navbar .nav-link {
    padding: 10px 14px !important;
    border-radius: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .fruidel-navbar .nav-link:hover,
  .fruidel-navbar .nav-link.active {
    background: rgba(120, 191, 37, 0.15);
    color: var(--fl-green-primary) !important;
  }

  .navbar-brand-logo {
    height: 48px;
    max-height: 48px;
  }

  .hero-section {
    padding: 50px 0 35px;
    min-height: auto;
    text-align: center;
  }

  .hero-cover-img {
    min-height: 280px;
    max-height: 360px;
  }
  
  .highway-road {
    min-height: 320px;
    padding: 25px 15px 15px;
  }

  .hero-freight-truck-img {
    max-height: 280px;
  }
  
  .hero-stats-bar {
    margin-top: 30px;
  }

  .route-progress-track {
    padding: 30px 0 15px;
  }

  .node-icon-circle {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .route-line-bg, .route-line-active {
    display: block !important;
    top: 54px;
    height: 4px;
    left: 10%;
  }

  .route-line-bg {
    right: 10%;
  }

  .route-step-title {
    font-size: 0.8rem;
    letter-spacing: 0.3px;
  }

  .route-step-sub {
    font-size: 0.68rem;
  }

  .timeline-track::before {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-card-wrapper {
    padding-left: 50px !important;
    text-align: left !important;
  }
}

@media (max-width: 575.98px) {
  .hero-cta-buttons .btn {
    padding: 11px 8px;
    font-size: 0.84rem;
    letter-spacing: 0.4px;
    white-space: nowrap;
  }

  .hero-cta-buttons .btn i {
    font-size: 0.82rem;
    margin-right: 4px !important;
  }

  .hero-cover-img {
    min-height: 220px;
    max-height: 280px;
  }

  .animated-truck-graphic {
    padding-right: 6%;
  }

  .hero-freight-truck-img {
    max-height: 240px;
    max-width: 48%;
  }

  .gps-live-badge {
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 0.68rem;
  }

  .route-progress-track {
    padding: 20px 0 10px;
  }

  .node-icon-circle {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    margin-bottom: 6px;
    border-width: 2px;
  }

  .route-line-bg, .route-line-active {
    display: block !important;
    top: 38px;
    height: 3px;
    left: 10%;
  }

  .route-line-bg {
    right: 10%;
  }

  .route-step-title {
    font-size: 0.62rem;
    letter-spacing: 0;
    margin-bottom: 2px;
    line-height: 1.15;
  }

  .route-step-sub {
    font-size: 0.52rem;
    line-height: 1.15;
    opacity: 0.85;
  }

  .whatsapp-floating-btn {
    bottom: 18px;
    left: 18px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }

  .back-to-top-btn {
    bottom: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
  }

  .whatsapp-bot-popover {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 80px;
  }

  .quotation-card {
    padding: 24px 16px;
  }
}

@media (max-width: 380px) {
  .hero-cta-buttons .btn {
    font-size: 0.74rem;
    padding: 9px 4px;
    letter-spacing: 0.1px;
  }

  .hero-cta-buttons .btn i {
    font-size: 0.74rem;
    margin-right: 3px !important;
  }

  .node-icon-circle {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .route-line-bg, .route-line-active {
    top: 35px;
    height: 2px;
  }

  .route-step-title {
    font-size: 0.54rem;
  }

  .route-step-sub {
    font-size: 0.46rem;
  }
}

/* -------------------------------------------------------------------------
   15. ACCESSIBILITY: REDUCED MOTION PREFERENCE
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .road-lane-divider,
  .animated-truck-graphic,
  .light-trail,
  .whatsapp-pulse-ring,
  .pulse-dot::after {
    animation: none !important;
  }
}
