/* ================================================================
   GLOBAL FREIGHT LOGISTICS - Main Stylesheet
   Modern Enterprise Design | Glassmorphism | Animations
   ================================================================ */

/* ─── CSS VARIABLES ──────────────────────────────────────────── */
:root {
  --primary:       #0A2463;
  --primary-light: #1a3a8f;
  --primary-dark:  #061740;
  --secondary:     #FB8B24;
  --secondary-dark:#d97320;
  --accent:        #E84855;
  --success:       #28a745;
  --info:          #17a2b8;
  --warning:       #ffc107;
  --danger:        #dc3545;
  --dark:          #0d1117;
  --darker:        #060a10;
  --light:         #f8f9fa;
  --muted:         #6c757d;
  --white:         #ffffff;
  --glass-bg:      rgba(255,255,255,0.08);
  --glass-border:  rgba(255,255,255,0.15);
  --shadow-sm:     0 2px 12px rgba(10,36,99,0.08);
  --shadow-md:     0 8px 32px rgba(10,36,99,0.12);
  --shadow-lg:     0 20px 60px rgba(10,36,99,0.18);
  --shadow-xl:     0 30px 80px rgba(10,36,99,0.25);
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --transition:    all 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-main:     'Inter', sans-serif;
  --font-heading:  'Poppins', sans-serif;
}

/* ─── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-main);
  color: #1a2332;
  background: #f5f7fa;
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

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

/* ─── PRELOADER ───────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }

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

.preloader-logo {
  font-size: 4rem; color: var(--secondary);
  animation: preloaderPulse 1.5s ease-in-out infinite;
  margin-bottom: 1rem;
}
.preloader-text {
  font-family: var(--font-heading);
  color: #fff; font-size: 1.1rem;
  letter-spacing: 3px; font-weight: 600;
  margin-bottom: 1.5rem;
}
.preloader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px; margin: 0 auto;
  overflow: hidden;
}
.preloader-progress {
  height: 100%; width: 0;
  background: var(--secondary);
  border-radius: 2px;
  animation: preloaderLoad 2s ease forwards;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}
@keyframes preloaderLoad {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ─── TOP BAR ─────────────────────────────────────────────────── */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar-left span {
  margin-right: 20px;
  display: inline-flex; align-items: center; gap: 6px;
}
.top-bar-left i { color: var(--secondary); }
.top-bar-right { display: flex; align-items: center; justify-content: flex-end; }
.top-bar .social-links { display: inline-flex; gap: 10px; }
.top-bar .social-links a {
  color: rgba(255,255,255,0.7);
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 0.7rem;
  transition: var(--transition);
}
.top-bar .social-links a:hover {
  background: var(--secondary);
  color: var(--dark);
}

/* ─── NAVIGATION ──────────────────────────────────────────────── */
.main-navbar {
  background: var(--primary) !important;
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
  transition: var(--transition);
  border-bottom: 3px solid var(--secondary);
}
.main-navbar.scrolled {
  background: rgba(10,36,99,0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
}

.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: white;
  box-shadow: 0 4px 15px rgba(251,139,36,0.4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; color: white; letter-spacing: 1px; }
.brand-sub { font-size: 0.65rem; color: var(--secondary); font-weight: 600; letter-spacing: 2px; }

.main-navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500; font-size: 0.9rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: #fff !important;
  background: rgba(251,139,36,0.15);
}
.main-navbar .nav-link.active::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--secondary); border-radius: 2px;
}

/* Mega Dropdown */
.mega-dropdown { min-width: 420px !important; border: none !important; padding: 1rem !important; border-radius: var(--border-radius) !important; box-shadow: var(--shadow-xl) !important; top: calc(100% + 8px) !important; }
.mega-menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-item .dropdown-item { padding: 12px; border-radius: 10px; display: flex; align-items: center; gap: 12px; transition: var(--transition); }
.mega-item .dropdown-item:hover { background: #f0f5ff; }
.mega-item .dropdown-item i { font-size: 1.3rem; width: 28px; }
.mega-item strong { display: block; font-size: 0.88rem; color: var(--primary); }
.mega-item small { color: var(--muted); font-size: 0.75rem; }

.navbar-cta { flex-shrink: 0; }

/* ─── PAGE HERO ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1565C0 100%);
  padding: 90px 0 60px;
  position: relative; overflow: hidden;
  color: white;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb-item.active { color: var(--secondary); }
.page-hero .breadcrumb-divider { color: rgba(255,255,255,0.4); }

/* ─── HOMEPAGE HERO ───────────────────────────────────────────── */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--primary-dark);
  color: white;
}
.hero-video-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0A2463 40%, #1565C0 70%, #0d47a1 100%);
}
.hero-video-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(251,139,36,0.12) 0%, transparent 70%);
}
.hero-particles { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.particle {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  animation: floatParticle linear infinite;
}
.hero-content { position: relative; z-index: 3; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251,139,36,0.15);
  border: 1px solid rgba(251,139,36,0.3);
  padding: 8px 18px; border-radius: 30px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--secondary); letter-spacing: 0.5px; margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.1;
  color: white; margin-bottom: 1.5rem;
}
.hero-title .highlight { color: var(--secondary); }
.hero-subtitle {
  font-size: 1.15rem; color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem; max-width: 550px;
  line-height: 1.8;
}

/* Tracking Widget in Hero */
.hero-tracking {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
}
.hero-tracking h5 { color: white; font-size: 1rem; margin-bottom: 1rem; }
.tracking-input-group { display: flex; gap: 10px; }
.tracking-input-group .form-control {
  border-radius: 12px !important; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1); color: white;
  padding: 14px 20px; font-size: 1rem;
  flex: 1;
}
.tracking-input-group .form-control::placeholder { color: rgba(255,255,255,0.5); }
.tracking-input-group .form-control:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(251,139,36,0.2);
  color: white; outline: none;
}
.btn-track-hero {
  background: var(--secondary);
  border: none; color: var(--dark);
  font-weight: 700; padding: 14px 28px;
  border-radius: 12px; white-space: nowrap;
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.btn-track-hero:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251,139,36,0.4);
}

/* Hero Features Pills */
.hero-features { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-feature-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 14px; border-radius: 30px;
  font-size: 0.8rem; color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.hero-feature-pill i { color: var(--secondary); font-size: 0.85rem; }

/* Hero Visual Side */
.hero-visual { position: relative; z-index: 3; }
.hero-stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-sm);
  padding: 20px; text-align: center;
  transition: var(--transition);
}
.hero-stat-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.hero-stat-card .stat-icon {
  font-size: 2rem; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--secondary), #ffd166);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat-card .stat-num { font-size: 1.8rem; font-weight: 800; color: white; font-family: var(--font-heading); }
.hero-stat-card .stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-top: 4px; }
.hero-globe-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius);
  padding: 30px; text-align: center;
  margin-bottom: 16px;
}
.globe-icon-large {
  font-size: 5rem; color: var(--secondary);
  animation: globeRotate 8s linear infinite;
  display: block; margin-bottom: 1rem;
}

/* ─── SECTION STYLES ─────────────────────────────────────────── */
section { padding: 90px 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--secondary); font-weight: 700;
  font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 12px;
}
.section-label::before {
  content: ''; width: 30px; height: 2px; background: var(--secondary);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--primary); margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--muted);
  max-width: 560px; margin: 0 auto 3rem; line-height: 1.8;
}

/* ─── STATS SECTION ──────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0; position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(251,139,36,0.08) 0%, transparent 70%);
}
.stat-card {
  text-align: center; padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-card:last-child { border-right: none; }
.stat-card .stat-icon-bg {
  width: 64px; height: 64px;
  background: rgba(251,139,36,0.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem; font-size: 1.6rem; color: var(--secondary);
}
.stat-card .stat-number {
  font-size: 2.8rem; font-weight: 900;
  color: white; font-family: var(--font-heading); line-height: 1;
}
.stat-card .stat-plus { color: var(--secondary); }
.stat-card .stat-text {
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  margin-top: 6px; text-transform: uppercase; letter-spacing: 1px;
}

/* ─── SERVICE CARDS ──────────────────────────────────────────── */
.service-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 36px 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,36,99,0.06);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 1.4rem;
  transition: var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-5deg); }
.service-icon.air    { background: #e8f0fe; color: #1a73e8; }
.service-icon.ocean  { background: #e0f7fa; color: #00838f; }
.service-icon.road   { background: #fff8e1; color: #f9a825; }
.service-icon.ware   { background: #f1f8e9; color: #558b2f; }
.service-icon.custom { background: #fce4ec; color: #c62828; }
.service-icon.insure { background: #ede7f6; color: #6a1b9a; }

.service-card h4 { font-size: 1.1rem; margin-bottom: 0.8rem; color: var(--primary); }
.service-card p  { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.2rem; }
.service-card .service-link {
  color: var(--primary); font-weight: 600; font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card .service-link i { transition: transform 0.3s; }
.service-card:hover .service-link i { transform: translateX(4px); }

/* ─── WHY CHOOSE US ──────────────────────────────────────────── */
.why-section { background: white; }
.feature-item {
  display: flex; gap: 18px; margin-bottom: 2rem; align-items: flex-start;
}
.feature-icon {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}
.feature-text h5 { font-size: 1rem; margin-bottom: 5px; color: var(--primary); }
.feature-text p  { color: var(--muted); font-size: 0.88rem; margin: 0; line-height: 1.6; }

/* ─── TRACKING SECTION ───────────────────────────────────────── */
.tracking-section { background: #f0f4ff; }
.tracking-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tracking-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; padding: 24px 30px;
}
.tracking-body { padding: 30px; }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-section { background: white; }
.testimonial-card {
  background: #f8f9ff;
  border-radius: var(--border-radius);
  padding: 30px;
  border: 1px solid rgba(10,36,99,0.07);
  transition: var(--transition); height: 100%;
  position: relative;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem; line-height: 1;
  color: var(--secondary); opacity: 0.2;
  position: absolute; top: 10px; right: 20px;
  font-family: Georgia, serif;
}
.star-rating { color: #ffc107; font-size: 0.9rem; margin-bottom: 1rem; }
.testimonial-text { color: #444; font-style: italic; margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testimonial-author-name { font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.testimonial-author-title { font-size: 0.78rem; color: var(--muted); }

/* ─── MAP SECTION ─────────────────────────────────────────────── */
#globalMap { height: 450px; border-radius: var(--border-radius); overflow: hidden; }
.leaflet-container { border-radius: var(--border-radius); }

/* ─── CTA SECTION ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 50%, #1565C0);
  padding: 90px 0; color: white; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(251,139,36,0.1) 0%, transparent 65%);
}
.cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); color: white; margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2rem; }

/* ─── BLOG CARDS ─────────────────────────────────────────────── */
.blog-card {
  background: white; border-radius: var(--border-radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,36,99,0.06);
  transition: var(--transition); height: 100%;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 3rem;
}
.blog-card-body { padding: 24px; }
.blog-category {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  color: var(--secondary); letter-spacing: 1px; margin-bottom: 8px;
}
.blog-card h5 { font-size: 1rem; margin-bottom: 10px; color: var(--primary); }
.blog-card p  { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--muted); }

/* ─── TRACKING PAGE ──────────────────────────────────────────── */
.track-search-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
}
.track-search-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--border-radius);
  padding: 3rem;
}
.track-input {
  padding: 18px 24px; font-size: 1.1rem;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: white; border-radius: 14px !important;
}
.track-input::placeholder { color: rgba(255,255,255,0.5); }
.track-input:focus {
  border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(251,139,36,0.2);
  background: rgba(255,255,255,0.18); color: white;
}

/* Shipment Result Card */
.shipment-result { animation: slideInUp 0.5s ease; }
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-card {
  background: white; border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.result-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 30px; color: white;
}
.result-header .tracking-num {
  font-size: 1.4rem; font-family: 'Courier New', monospace;
  font-weight: 800; color: var(--secondary); letter-spacing: 2px;
}
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; padding: 30px;
}
.info-item { border-radius: 12px; padding: 16px; background: #f8f9ff; }
.info-label { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.info-value { font-size: 0.95rem; font-weight: 600; color: var(--primary); }

/* Progress Bar (Tracking) */
.tracking-progress-bar {
  padding: 30px;
  border-top: 1px solid rgba(10,36,99,0.06);
}
.progress-steps {
  display: flex; justify-content: space-between; position: relative;
  margin-bottom: 1rem;
}
.progress-steps::before {
  content: ''; position: absolute; top: 18px; left: 0; right: 0;
  height: 3px; background: #e9ecef; z-index: 0;
}
.progress-steps-fill {
  position: absolute; top: 18px; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 1; transition: width 1.5s ease;
}
.step-item { position: relative; z-index: 2; text-align: center; flex: 1; }
.step-dot {
  width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 6px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #e9ecef; background: white;
  font-size: 0.85rem; color: var(--muted); transition: var(--transition);
}
.step-dot.active  { border-color: var(--primary); color: white; background: var(--primary); }
.step-dot.done    { border-color: var(--success); color: white; background: var(--success); }
.step-dot.current { border-color: var(--secondary); color: white; background: var(--secondary); box-shadow: 0 0 0 4px rgba(251,139,36,0.25); }
.step-label { font-size: 0.72rem; color: var(--muted); font-weight: 500; }

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--primary), #e9ecef);
}
.timeline-item { position: relative; margin-bottom: 24px; }
.timeline-dot {
  position: absolute; left: -23px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary); border: 3px solid white;
  box-shadow: 0 0 0 2px var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.5rem; color: white;
}
.timeline-dot.done    { background: var(--success); box-shadow: 0 0 0 2px var(--success); }
.timeline-dot.current { background: var(--secondary); box-shadow: 0 0 0 3px rgba(251,139,36,0.3); animation: pulseDot 2s infinite; }
.timeline-content {
  background: #f8f9ff; border-radius: 12px; padding: 16px 20px;
  border-left: 3px solid var(--primary); margin-left: 8px;
  transition: var(--transition);
}
.timeline-content:hover { background: white; box-shadow: var(--shadow-sm); }
.timeline-status { font-weight: 700; color: var(--primary); font-size: 0.95rem; }
.timeline-desc   { color: var(--muted); font-size: 0.85rem; margin: 4px 0; }
.timeline-loc    { color: var(--secondary); font-size: 0.8rem; font-weight: 600; }
.timeline-time   { color: var(--muted); font-size: 0.75rem; margin-top: 4px; }

/* Live Map */
#trackingMap {
  height: 500px; border-radius: var(--border-radius);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.map-controls {
  background: white; border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm); padding: 20px;
  border: 1px solid rgba(10,36,99,0.06);
}
.map-status-indicator {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600;
}
.map-status-indicator .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.dot.moving  { background: #28a745; animation: pulseDot 1.5s infinite; }
.dot.stopped { background: #ffc107; }
.dot.paused  { background: #6c757d; }

/* ─── ADMIN PANEL STYLES ──────────────────────────────────────── */
/* (Kept minimal here — detailed in admin.css) */

/* ─── FORMS ─────────────────────────────────────────────────── */
.form-control, .form-select {
  border-radius: 10px; border: 1.5px solid #dee2e6;
  padding: 12px 16px; font-size: 0.92rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,36,99,0.12);
}
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--primary); margin-bottom: 6px; }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  border-radius: 10px; font-weight: 600;
  padding: 11px 24px; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-primary {
  background: var(--primary); border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-light); border-color: var(--primary-light);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,36,99,0.3);
}
.btn-warning {
  background: var(--secondary); border-color: var(--secondary); color: var(--dark);
}
.btn-warning:hover {
  background: var(--secondary-dark); border-color: var(--secondary-dark);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(251,139,36,0.35);
}
.btn-outline-primary { border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: 12px; }

/* ─── CARDS ──────────────────────────────────────────────────── */
.card {
  border-radius: var(--border-radius);
  border: 1px solid rgba(10,36,99,0.07);
  box-shadow: var(--shadow-sm);
}
.card-header {
  background: white; border-bottom: 2px solid #f0f4ff;
  padding: 18px 24px; border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}
.card-body { padding: 24px; }

/* ─── BADGES ─────────────────────────────────────────────────── */
.badge { border-radius: 8px; padding: 5px 12px; font-size: 0.78rem; font-weight: 600; }
.status-badge { padding: 6px 14px; font-size: 0.8rem; }

/* ─── CONTACT PAGE ────────────────────────────────────────────── */
.contact-info-card {
  background: white; border-radius: var(--border-radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,36,99,0.06); height: 100%;
}
.contact-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: white; margin-bottom: 1rem;
}
#contactMap { height: 400px; border-radius: var(--border-radius); }

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq-item { margin-bottom: 12px; }
.accordion-button {
  font-weight: 600; color: var(--primary);
  background: #f8f9ff; border-radius: 12px !important;
}
.accordion-button:not(.collapsed) {
  color: white; background: var(--primary);
  box-shadow: none;
}
.accordion-item { border-radius: 12px !important; overflow: hidden; border: 1px solid rgba(10,36,99,0.07); }

/* ─── CALCULATOR ──────────────────────────────────────────────── */
.calculator-card {
  background: white; border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.calculator-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; padding: 2rem;
}
.price-display {
  background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
  border-radius: var(--border-radius); padding: 2.5rem; text-align: center;
}
.price-amount { font-size: 3.5rem; font-weight: 900; color: var(--primary); font-family: var(--font-heading); }
.price-currency { font-size: 1.5rem; vertical-align: top; margin-top: 10px; display: inline-block; color: var(--secondary); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--darker); color: rgba(255,255,255,0.75); }
.footer-top { padding: 80px 0 50px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1.2rem; font-size: 1rem; font-weight: 800; color: white; letter-spacing: 1px; }
.footer-logo i { font-size: 1.8rem; color: var(--secondary); }
.footer-about { font-size: 0.88rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-stats { display: flex; gap: 24px; }
.fs-item { text-align: center; }
.fs-item strong { display: block; font-size: 1.3rem; color: var(--secondary); font-weight: 800; }
.fs-item small  { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); color: var(--dark); border-color: var(--secondary); transform: translateY(-3px); }

.footer-title { color: white; font-size: 0.95rem; font-weight: 700; margin-bottom: 1.2rem; letter-spacing: 0.5px; position: relative; }
.footer-title::after { content: ''; display: block; width: 30px; height: 2px; background: var(--secondary); margin-top: 8px; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65); font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 7px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-links a i { font-size: 0.65rem; color: var(--secondary); }

.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact li i { font-size: 1rem; color: var(--secondary); margin-top: 3px; flex-shrink: 0; }
.footer-contact strong { display: block; color: white; font-size: 0.85rem; margin-bottom: 2px; }
.footer-contact small { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

.footer-newsletter h6 { color: white; font-size: 0.88rem; margin-bottom: 10px; }
.footer-newsletter .form-control { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); color: white; border-radius: 8px !important; }
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter .btn { border-radius: 0 8px 8px 0 !important; }

.footer-bottom { padding: 20px 0; background: rgba(0,0,0,0.3); font-size: 0.83rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); margin-left: 20px; font-size: 0.8rem; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ─── BACK TO TOP ─────────────────────────────────────────────── */
.btn-back-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(251,139,36,0.4);
}
.btn-back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.btn-back-top:hover { transform: translateY(-4px) !important; }

/* ─── QUOTE & CONTACT FORM ────────────────────────────────────── */
.glass-form {
  background: white; border-radius: var(--border-radius);
  padding: 40px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(10,36,99,0.07);
}

/* ─── ALERTS ─────────────────────────────────────────────────── */
.alert { border-radius: 12px; border: none; font-size: 0.92rem; }

/* ─── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes floatParticle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.1; }
  100% { transform: translateY(-20px) scale(1); opacity: 0; }
}
@keyframes globeRotate {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251,139,36,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(251,139,36,0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .mega-dropdown { min-width: 320px !important; }
  .hero-stat-cards { grid-template-columns: 1fr 1fr; }
  .footer-stats { gap: 16px; }
}
@media (max-width: 767.98px) {
  section { padding: 60px 0; }
  .hero-section { min-height: auto; padding: 80px 0 60px; }
  .hero-title { font-size: 2rem; }
  .tracking-input-group { flex-direction: column; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  #trackingMap { height: 300px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .progress-steps .step-label { display: none; }
  .footer-top { padding: 50px 0 30px; }
}
@media (max-width: 575.98px) {
  .info-grid { grid-template-columns: 1fr; }
  .hero-features .hero-feature-pill:nth-child(n+4) { display: none; }
}

/* ─── PRINT ───────────────────────────────────────────────────── */
@media print {
  .main-navbar, .footer, #backToTop, .btn-back-top { display: none !important; }
  .result-card { box-shadow: none; }
}

/* ─── UTILITY ──────────────────────────────────────────────────── */
.text-primary  { color: var(--primary) !important; }
.text-secondary-gfl { color: var(--secondary) !important; }
.bg-primary-gfl { background: var(--primary) !important; }
.fw-900 { font-weight: 900 !important; }
.rounded-xl { border-radius: var(--border-radius) !important; }
.shadow-custom { box-shadow: var(--shadow-md) !important; }
.border-primary { border-color: var(--primary) !important; }

/* ─── TEXT COLOR & VISIBILITY FIXES ───────────────────────────── */

/* Ensure dark-bg sections always have readable text */
.hero-section, .stats-section, .cta-section,
.track-search-section, .result-header, .page-hero,
.footer, .footer-top, .footer-bottom {
  color: rgba(255,255,255,0.9);
}
.hero-section h1, .hero-section h2, .hero-section h3,
.hero-section h4, .hero-section h5, .hero-section h6 { color: white; }

/* Form inputs in dark sections — typed text must be white */
.hero-tracking .form-control,
.hero-tracking .form-select,
.track-search-card .form-control,
.track-search-card .form-select {
  color: white !important;
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.25) !important;
}
.hero-tracking .form-control::placeholder,
.track-search-card .form-control::placeholder { color: rgba(255,255,255,0.5) !important; }
.hero-tracking .form-control:focus,
.track-search-card .form-control:focus {
  background: rgba(255,255,255,0.18) !important;
  color: white !important;
}

/* Light-section form inputs — typed text must be dark */
.glass-form .form-control,
.glass-form .form-select,
.card .form-control,
.card .form-select,
.calculator-card .form-control,
.calculator-card .form-select {
  color: #1a2332 !important;
  background: #fff !important;
}

/* Status text in status bar (inside white card) */
.map-status-indicator .status-text { color: #444; }

/* Timeline inside white card */
.timeline-status { color: var(--primary) !important; }
.timeline-desc   { color: #555 !important; }
.timeline-time   { color: #888 !important; }

/* Info grid items */
.info-item .info-label { color: #777 !important; }
.info-item .info-value { color: var(--primary) !important; }

/* Blog / service cards — text on white backgrounds */
.service-card h4, .blog-card h5 { color: var(--primary) !important; }
.service-card p, .blog-card p   { color: #555 !important; }

/* FAQ accordion */
.accordion-button { color: var(--primary) !important; }
.accordion-button:not(.collapsed) { color: white !important; }
.accordion-body { color: #444; }

/* Contact page */
.contact-info-card h5, .contact-info-card h6 { color: var(--primary) !important; }
.contact-info-card p { color: #555 !important; }

/* ─── MOBILE RESPONSIVENESS FIXES ─────────────────────────────── */

/* Navbar */
@media (max-width: 991.98px) {
  .main-navbar .navbar-collapse {
    background: var(--primary); padding: 16px; border-radius: 12px;
    margin-top: 8px; border: 1px solid rgba(255,255,255,0.1);
  }
  .main-navbar .nav-link { padding: 10px 14px !important; border-radius: 8px; }
  .navbar-cta { margin-top: 10px; width: 100%; }
  .navbar-cta .btn { width: 100%; justify-content: center; }
  .mega-dropdown { min-width: 100% !important; }
}

/* Hero section mobile */
@media (max-width: 767.98px) {
  .hero-section { padding: 70px 0 50px; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.5rem); letter-spacing: 0; }
  .hero-subtitle { font-size: 1rem; }
  .hero-tracking { padding: 1.2rem; }
  .tracking-input-group { flex-direction: column; }
  .tracking-input-group .btn-track-hero { width: 100%; justify-content: center; }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
  .hero-features { gap: 6px; }
  .hero-feature-pill { font-size: 0.72rem; padding: 5px 10px; }
}

/* Track page mobile */
@media (max-width: 767.98px) {
  .track-search-card { padding: 1.5rem; }
  .result-header .tracking-num { font-size: 1rem; letter-spacing: 1px; }
  .result-header .row { flex-direction: column; gap: 12px; }
  .tracking-progress-bar { padding: 16px; }
  #trackingMap { height: 280px !important; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
  .info-item { padding: 12px; }
}
@media (max-width: 575.98px) {
  .track-search-card { padding: 1rem; }
  .info-grid { grid-template-columns: 1fr; }
  .result-header { padding: 16px; }
  .result-header .tracking-num { font-size: 0.9rem; }
  .timeline-content { padding: 12px 14px; }
}

/* Stats section mobile */
@media (max-width: 767.98px) {
  .stats-section { padding: 50px 0; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 24px 16px; }
  .stat-card:last-child { border-bottom: none; }
  .stat-card .stat-number { font-size: 2rem; }
}

/* Services / cards mobile */
@media (max-width: 575.98px) {
  .service-card { padding: 24px 18px; }
  .service-icon { width: 56px; height: 56px; font-size: 1.4rem; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.9rem; }
}

/* Footer mobile */
@media (max-width: 767.98px) {
  .footer-top { padding: 40px 0 24px; }
  .footer-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-bottom .d-flex { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links a { margin-left: 10px; margin-right: 10px; }
}

/* Badge / button text contrast */
.btn-warning { color: #1a1a1a !important; }
.badge.bg-warning { color: #1a1a1a !important; }

/* Prevent overflow on all screens */
* { word-wrap: break-word; }
img { max-width: 100%; height: auto; }

/* Improve tap target size on mobile */
@media (max-width: 767.98px) {
  .btn { min-height: 44px; }
  .nav-link { min-height: 44px; display: flex; align-items: center; }
}
