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

:root {
  /* Brand Guidelines Color Palette */
  --color-brand-blue: #004A99;       /* Primary: Logistics Blue */
  --color-midnight: #003366;         /* Secondary: Midnight Link */
  --color-clear-air: #70D1F3;        /* Secondary: Clear Air Blue */
  --color-charcoal: #333333;         /* Accent Neutral: Grounded Charcoal */
  --color-silver: #EAEAEA;           /* Accent Neutral: Silver Stream */
  --color-white: #ffffff;

  /* Design System Role Mappings */
  --color-brand-dark: var(--color-midnight);
  --color-primary-dark: var(--color-brand-blue);
  --color-accent-blue: var(--color-brand-blue);
  --color-accent-cyan: var(--color-clear-air);
  --color-accent-emerald: #00e676;   /* Success / SLA status */
  
  /* Background mappings */
  --color-bg-deep: var(--color-silver);     /* Primary Background: Silver Stream */
  --color-bg-card: var(--color-white);      /* Containers: White to keep layouts clean & open */
  --color-bg-light: var(--color-silver);
  
  /* Text mappings */
  --color-text-dark: var(--color-charcoal);   /* grounded charcoal for high readability */
  --color-text-light: var(--color-charcoal);
  --color-text-muted: #666666;

  /* Typography - Geometric & Neutral authoritative balance */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Elevation & Shadows - Balanced for Light Mode */
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 74, 153, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 74, 153, 0.12);
  --shadow-glow: 0 0 15px rgba(0, 74, 153, 0.25);
  --shadow-glow-cyan: 0 0 15px rgba(112, 209, 243, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Borders */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--color-text-light);
  background-color: var(--color-bg-deep);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-silver);
}
::-webkit-scrollbar-thumb {
  background: var(--color-midnight);
  border: 2px solid var(--color-silver);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-blue);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(0, 51, 102, 0.75); /* Midnight Link transparency */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-hover {
  transition: var(--transition-normal);
}
.glass-card-hover:hover {
  transform: translateY(-5px);
  background: rgba(0, 51, 102, 0.85);
  border-color: rgba(112, 209, 243, 0.4); /* Clear Air Blue contrast border */
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-dark {
  background-color: var(--color-midnight);
  color: var(--color-silver);
  --color-bg-deep: var(--color-midnight);
  --color-bg-card: rgba(255, 255, 255, 0.04);
  --color-text-dark: var(--color-silver);
  --color-text-light: var(--color-silver);
  --color-text-muted: var(--color-clear-air);
  --color-white: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-light {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}
.section-light h2, 
.section-light h3, 
.section-light h4 {
  color: var(--color-brand-dark);
}

.section-header {
  text-align: left;
  max-width: 800px;
  margin: 0 0 40px 0;
}

.section-header .tag {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-blue);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: inline-block;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-header p {
  font-size: 16px;
  color: var(--color-text-muted);
}
.section-dark .section-header p {
  color: var(--color-text-light);
  opacity: 0.8;
}

/* Button & Badge Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-color: #0066b3;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  border: 2px solid var(--color-accent-blue);
  color: var(--color-accent-blue);
}
.btn-outline:hover {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-brand-dark);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  padding: 24px 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

header.glass-panel {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}

header.logo-white .logo-text,
header.glass-panel .logo-text {
  color: #ffffff !important;
}

header.logo-white .logo-svg-icon,
header.glass-panel .logo-svg-icon {
  color: #ffffff !important;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.2)) !important;
}

header.glass-panel .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

header.glass-panel .nav-link:hover,
header.glass-panel .nav-link.active {
  color: var(--color-clear-air) !important;
}

header.glass-panel .mobile-nav-toggle {
  color: #ffffff !important;
}

header.glass-panel .dropdown-caret {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Scrolled State Overrides (.is-scrolled / .scrolled) */
header.glass-panel.is-scrolled,
header.glass-panel.scrolled,
header.is-scrolled,
header.scrolled {
  background: #ffffff !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  padding: 14px 0 !important;
  border-bottom: 2px solid rgba(0, 74, 153, 0.1) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

header.glass-panel.is-scrolled .logo-text,
header.glass-panel.scrolled .logo-text,
header.is-scrolled .logo-text,
header.scrolled .logo-text {
  color: var(--color-brand-blue) !important; /* Logistics Blue logo text */
}

header.glass-panel.is-scrolled .logo-svg-icon,
header.glass-panel.scrolled .logo-svg-icon,
header.is-scrolled .logo-svg-icon,
header.scrolled .logo-svg-icon {
  color: var(--color-brand-blue) !important; /* Logistics Blue SVG icon */
  filter: drop-shadow(0 2px 6px rgba(0, 74, 153, 0.2)) !important;
}

header.glass-panel.is-scrolled .nav-link,
header.glass-panel.scrolled .nav-link,
header.is-scrolled .nav-link,
header.scrolled .nav-link {
  color: var(--color-midnight) !important; /* Midnight Link navigation links */
}

header.glass-panel.is-scrolled .nav-link:hover,
header.glass-panel.is-scrolled .nav-link.active,
header.glass-panel.scrolled .nav-link:hover,
header.glass-panel.scrolled .nav-link.active,
header.is-scrolled .nav-link:hover,
header.is-scrolled .nav-link.active,
header.scrolled .nav-link:hover,
header.scrolled .nav-link.active {
  color: var(--color-brand-blue) !important; /* Logistics Blue active / hovered links */
}

header.glass-panel.is-scrolled .mobile-nav-toggle,
header.glass-panel.scrolled .mobile-nav-toggle,
header.is-scrolled .mobile-nav-toggle,
header.scrolled .mobile-nav-toggle {
  color: var(--color-midnight) !important;
}

header.glass-panel.is-scrolled .dropdown-caret,
header.glass-panel.scrolled .dropdown-caret,
header.is-scrolled .dropdown-caret,
header.scrolled .dropdown-caret {
  color: var(--color-midnight) !important;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) invert(1) !important; /* Default white logo image for transparent header and dark footer */
}

/* Scrolled state overrides - show actual blue logo */
header.is-scrolled .logo-img,
header.scrolled .logo-img,
header.glass-panel.is-scrolled .logo-img,
header.glass-panel.scrolled .logo-img {
  filter: none !important;
}

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

.logo-svg-icon {
  width: 42px;
  height: 42px;
  color: var(--color-brand-blue);
  filter: drop-shadow(0 2px 10px rgba(0, 74, 153, 0.4));
  transition: var(--transition-fast);
}

.logo:hover .logo-svg-icon {
  transform: rotate(12deg) scale(1.08);
  color: var(--color-clear-air);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--color-brand-blue); /* The logo correct color is primary Logistics Blue #004A99 */
  letter-spacing: 0.03em;
  filter: url(#distress-filter); /* Apply textured/distressed ink stamped wordmark filter */
  white-space: nowrap;
  text-transform: uppercase;
  display: inline-block;
  transition: var(--transition-fast);
}

/* Light text on dark sections (like capabilities, success stories, footer) */
.section-dark .logo-text,
footer .logo-text {
  color: var(--color-white);
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 16px;
  font-weight: 600; /* Bolder weight for vivid presentation */
  color: var(--color-midnight); /* Deep Midnight Link (#003366) for ultimate contrast */
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast) ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-brand-blue); /* Logistics Blue active nav links */
}

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

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

/* ==========================================================================
   Corporate Hover Dropdown System (Absolute Positioning)
   ========================================================================== */
.nav-dropdown-parent {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-caret {
  font-size: 8px;
  margin-top: 1px;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 220px;
  background-color: var(--color-white) !important;
  list-style: none;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 74, 153, 0.08);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 1000;
  
  /* Hidden by default */
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast) ease, transform var(--transition-fast) ease;
}

.nav-dropdown-parent:hover .dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-parent:hover .dropdown-caret {
  transform: rotate(180deg);
  color: var(--color-brand-blue);
}

.dropdown-item {
  display: block;
  text-decoration: none;
  font-family: var(--font-body); /* Open Sans */
  font-weight: 500;
  font-size: 14px;
  color: var(--color-charcoal) !important; /* Grounded Charcoal #333333 */
  padding: 10px 20px;
  text-align: left;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--color-silver) !important; /* Silver Stream #EAEAEA */
  color: var(--color-brand-blue) !important;       /* Logistics Blue text */
  padding-left: 24px;
}

.nav-btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 24px;
  color: var(--color-charcoal);
}

/* --- HERO BANNERS & WRAPPER --- */
/* --- HERO BANNERS & WRAPPER --- */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Enforce exact screen height */
  overflow: hidden;
  background-color: var(--color-midnight);
}

.hero-slider-track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-slide {
  width: 25%;
  height: 100vh; /* Enforce exact screen height */
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 90px;
  padding-bottom: 130px; /* Reduced vertical padding for above-the-fold clearance */
}

/* Modern grid effect overlay */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 122, 204, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 10;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 74, 153, 0.08); /* logistics blue overlay */
  border: 1px solid rgba(0, 74, 153, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brand-blue);
  margin-bottom: 6px; /* Tightened margin */
}

.hero-tag span {
  width: 8px;
  height: 8px;
  background-color: var(--color-brand-blue);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

.hero-tag.tag-white {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-white);
}

.hero-tag.tag-white span {
  background-color: var(--color-clear-air);
}

.hero-content h1 {
  font-size: 38px; /* Slightly scaled down from 44px for fold protection */
  line-height: 1.25;
  font-weight: 500; /* normal style (not bold) */
  margin-bottom: 6px; /* Tightened margin */
  color: var(--color-midnight); /* Deep midnight blue heading */
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--color-brand-blue), var(--color-midnight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p,
.hero-body {
  font-size: 18px;
  color: var(--color-charcoal); /* Grounded Charcoal body copy */
  opacity: 0.95;
  margin-bottom: 10px; /* Tightened margin */
  max-width: 680px;
  font-weight: 400; /* highly legible body font weight */
}

.hero-mobile-image-wrapper {
  display: none;
}

.hero-divider {
  display: none;
}

.hero-lead {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 8px;
  max-width: 680px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 8px; /* Tightened margin */
}

/* --- HERO SLIDE THEMES & ACCENT KEYLINES --- */
.hero-slide.light-slide .hero-content h1 {
  color: var(--color-midnight) !important;
  font-size: 44px !important;
  font-weight: 500 !important; /* normal style (not bold) */
}

.hero-slide.light-slide .hero-content h1 span {
  background: linear-gradient(135deg, var(--color-brand-blue), var(--color-midnight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slide.light-slide .hero-content p {
  color: var(--color-midnight) !important;
  font-weight: 600 !important;
  font-size: 16.5px !important; /* a bit smaller */
  line-height: 1.65 !important;
  border-left: 4px solid var(--color-brand-blue) !important;
  padding-left: 20px !important;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95), 0 2px 8px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.7) !important; /* Extremely high clarity text shadow halo */
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
}

.hero-slide.light-slide .hero-ctas .btn-outline {
  border-color: rgba(0, 51, 102, 0.4) !important;
  color: var(--color-midnight) !important;
}

.hero-slide.light-slide .hero-ctas .btn-outline:hover {
  background-color: var(--color-brand-blue) !important;
  border-color: var(--color-brand-blue) !important;
  color: var(--color-white) !important;
}

.hero-slide.dark-slide .hero-content h1 {
  color: #ffffff !important;
  font-size: 38px !important; /* Standardized to 38px */
  font-weight: 500 !important; /* normal style (not bold) */
}

.hero-slide.dark-slide .hero-content h1 span {
  background: linear-gradient(135deg, #70D1F3, #ffffff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero-slide.dark-slide .hero-content p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500 !important;
  font-size: 15.5px !important; /* Compact above-the-fold sizing */
  line-height: 1.6 !important;
  border-left: 4px solid var(--color-accent-cyan) !important;
  padding-left: 20px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7), 0 4px 12px rgba(0, 0, 0, 0.5) !important; /* Deep dark text shadow backdrop */
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
}

.hero-slide.dark-slide .hero-ctas .btn-outline {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: white !important;
}

.hero-slide.dark-slide .hero-ctas .btn-outline:hover {
  background-color: white !important;
  border-color: white !important;
  color: var(--color-midnight) !important;
}

/* --- BANNER VALUE PROPOSITIONS CUSTOM STYLES --- */

/* Concept 1 (Export Backbone) CTA styling */
.btn-export-backbone {
  background-color: var(--color-brand-blue);
  color: var(--color-white) !important;
  border: 2px solid var(--color-brand-blue);
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
}

.btn-export-backbone:hover {
  background-color: var(--color-clear-air);
  border-color: var(--color-clear-air);
  color: var(--color-charcoal) !important;
  box-shadow: 0 0 20px rgba(112, 209, 243, 0.5);
}

/* Concept 2 (Customs & Compliance) Split Panels */
.split-slide {
  display: flex;
  flex-direction: row;
  background-color: var(--color-white);
  padding: 0; /* Remove top/bottom padding since panel layout dominates */
}

.slide-left-half {
  width: 50%;
  background-color: var(--color-silver);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 140px 80px 280px 40px;
}

.slide-left-half .half-content {
  max-width: 540px;
  width: 100%;
}

.slide-right-half {
  width: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.btn-compliance-ghost {
  background: transparent;
  color: var(--color-brand-blue) !important;
  border: 2px solid var(--color-brand-blue);
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
}

.btn-compliance-ghost:hover {
  background-color: var(--color-brand-blue);
  color: var(--color-white) !important;
  box-shadow: 0 0 20px rgba(0, 74, 153, 0.35);
}

/* Concept 3 (Inland Agility) Solid Slide & Polygon styling */
.solid-midnight-slide {
  background-color: var(--color-midnight);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solid-midnight-slide .hero-content {
  max-width: 900px;
}

.decorative-polygon {
  position: absolute;
  inset: 0;
  background-color: var(--color-clear-air);
  opacity: 0.12; /* low opacity 10-15% Clear Air Blue (#70D1F3) */
  clip-path: polygon(15% 0%, 85% 15%, 100% 75%, 70% 100%, 0% 80%);
  pointer-events: none;
  z-index: 2;
}

.btn-inland-lift {
  background-color: var(--color-white);
  color: var(--color-charcoal) !important;
  border: 2px solid var(--color-white);
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
}

.btn-inland-lift:hover {
  transform: translateY(-5px);
  border-color: var(--color-clear-air);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15), 0 0 25px rgba(112, 209, 243, 0.3);
}

/* --- OVERLAY NAVIGATION CONTROLS --- */
.slider-overlay-controls {
  position: absolute;
  inset: 0;
  pointer-events: none; /* Let clicks pass to content behind */
  z-index: 110;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-midnight);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  pointer-events: auto; /* Re-enable pointer events for active buttons */
  box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
  background: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
  color: var(--color-white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-md);
}

.slider-arrow-prev {
  left: 40px;
}

.slider-arrow-next {
  right: 40px;
}

.slider-dots {
  position: absolute;
  bottom: 175px; /* Pinned exactly above the tightened floating tracking bar */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  pointer-events: auto;
  z-index: 110;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 51, 102, 0.2);
  border: 1px solid rgba(0, 51, 102, 0.1);
  cursor: pointer;
  transition: var(--transition-normal);
}

.slider-dot:hover {
  background: rgba(0, 74, 153, 0.4);
}

.slider-dot.active {
  background: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
  width: 32px;
  border-radius: 10px;
}

/* --- STATIONARY STATION OVERLAY WRAPPER --- */
.tracking-stationary-container {
  position: absolute;
  bottom: 20px; /* Shifted down slightly to leave more room for content */
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none; /* Let clicks pass through outside the actual wrapper */
}

.tracking-stationary-container .container {
  pointer-events: auto; /* Restore form interactive triggers */
}

.tracking-stationary-container .tracking-wrapper {
  margin-top: 0; /* Clear previous relative margin styling */
}

/* --- RESPONSIVE ADJUSTMENTS FOR HERO CAROUSEL --- */
@media (max-width: 991px) {
  .hero-slide {
    padding-top: 120px;
    padding-bottom: 290px; /* Tightened from 340px for fold clearance */
  }

  .hero-content h1 {
    font-size: 32px; /* Smaller headings on tablet */
  }
  
  .slider-arrow {
    display: none; /* Hide next/prev arrows on tablet/mobile for swipe preference */
  }
  
  .slider-dots {
    bottom: 260px; /* Adjusted to sit right above the tightened tracking bar */
  }
  
  .tracking-stationary-container {
    bottom: 20px;
  }
}

@media (max-width: 767px) {
  .hero-slide {
    padding-bottom: 360px; /* Tightened from 420px for mobile spacing */
  }
  
  .slider-dots {
    bottom: 330px; /* Adjusted to sit right above mobile forms */
  }
}

/* --- KUEHNE+NAGEL FLOATING BAR --- */
.tracking-wrapper {
  position: relative;
  width: 100%;
  margin-top: 40px;
  z-index: 20;
}

.tracking-bar {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg), 0 20px 50px rgba(0, 0, 0, 0.6);
  padding: 8px;
  overflow: hidden;
}

.tracking-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tracking-tab-btn {
  padding: 11px 20px; /* Reduced vertical padding from 16px to save space */
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
}

.tracking-tab-btn.active {
  color: var(--color-white);
  border-bottom-color: var(--color-accent-cyan);
}

.tracking-tab-btn svg {
  width: 16px;
  height: 16px;
}

.tracking-content {
  padding: 14px 16px 12px 16px; /* Tightened from 24px to save space */
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tracking-form-group {
  display: flex;
  gap: 12px;
  width: 100%;
}

.tracking-input-wrapper {
  position: relative;
  flex: 1;
}

.tracking-input-wrapper svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  width: 20px;
  height: 20px;
}

.tracking-input {
  width: 100%;
  background: rgba(0, 30, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 16px 12px 48px; /* Reduced vertical padding from 16px */
  border-radius: var(--border-radius-sm);
  color: var(--color-white);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition-fast);
}

.tracking-input:focus {
  border-color: var(--color-clear-air);
  box-shadow: 0 0 10px rgba(112, 209, 243, 0.3);
  background: rgba(0, 30, 60, 0.85);
}

.quick-quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
}

.quick-select {
  appearance: none;
  background: rgba(0, 30, 60, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 16px; /* Reduced vertical padding from 16px */
  border-radius: var(--border-radius-sm);
  color: var(--color-white);
  font-size: 15px;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2370D1F3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Simulation Results Container */
.tracking-results-panel {
  margin-top: 20px;
  background: rgba(0, 30, 60, 0.65);
  border: 1px dashed rgba(112, 209, 243, 0.3);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  display: none;
  animation: fadeInUp 0.4s ease-out forwards;
}

.tracking-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.tracking-id-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-cyan);
}

.tracking-status-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 230, 118, 0.1);
  color: var(--color-accent-emerald);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tracking-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 20px 0;
  padding: 0 10px;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.tracking-timeline-progress {
  position: absolute;
  top: 14px;
  left: 20px;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, var(--color-accent-blue), var(--color-accent-cyan));
  z-index: 2;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
  flex: 1;
  text-align: center;
}

.step-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 3px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: var(--color-text-muted);
  transition: all 0.5s ease;
  margin-bottom: 8px;
}

.timeline-step.completed .step-node {
  border-color: var(--color-accent-blue);
  background: var(--color-accent-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.timeline-step.active .step-node {
  border-color: var(--color-accent-cyan);
  background: var(--color-bg-deep);
  color: var(--color-accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
  animation: pulseNode 2s infinite;
}

.step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
}

.step-date {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.tracking-details-summary {
  background: rgba(5, 11, 20, 0.4);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  font-size: 14px;
}

.tracking-details-summary p {
  margin-bottom: 8px;
}
.tracking-details-summary p:last-child {
  margin-bottom: 0;
}

/* --- SECTION 2: CORE TRADE LANES --- */
.trade-lanes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.trade-lane-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.trade-lane-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: var(--transition-slow);
  z-index: 1;
}

.trade-lane-card:hover .trade-lane-bg {
  transform: scale(1.08);
}

.trade-lane-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 11, 20, 0.2), rgba(5, 11, 20, 0.7) 40%, rgba(5, 11, 20, 0.95));
  z-index: 2;
}

.trade-lane-content {
  position: relative;
  z-index: 3;
  transform: translateY(60px);
  transition: var(--transition-normal);
}

.trade-lane-card:hover .trade-lane-content {
  transform: translateY(0);
}

.trade-lane-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: inline-block;
}

.trade-lane-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.trade-lane-content p {
  font-size: 14px;
  color: var(--color-text-light);
  opacity: 0.8;
  margin-bottom: 24px;
  line-height: 1.5;
}

.trade-lane-details {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trade-lane-card:hover .trade-lane-details {
  opacity: 1;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
}

.detail-row span:first-child {
  color: var(--color-text-muted);
}

.detail-row span:last-child {
  color: var(--color-white);
  font-weight: 600;
}

.trade-lane-card .btn-outline {
  width: 100%;
}

/* --- SECTION 3: SYSTEM CAPABILITIES --- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.capability-card {
  padding: 40px;
  border-radius: var(--border-radius-md);
  text-align: left;
}

.capability-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-sm);
  background: rgba(0, 122, 204, 0.08);
  border: 1px solid rgba(0, 122, 204, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.capability-card:hover .capability-icon-box {
  background: var(--color-accent-blue);
  color: var(--color-white);
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-glow);
}

.capability-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.capability-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.capability-features {
  list-style: none;
}

.capability-features li {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.capability-features li::before {
  content: '✓';
  color: var(--color-accent-cyan);
  font-weight: 700;
}

/* --- SECTION 4: CORE SERVICES --- */
.services-tabs-container {
  max-width: 1000px;
  margin: 0 auto;
}

.services-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.services-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text-muted);
}

.services-tab-btn.active {
  background: rgba(0, 122, 204, 0.1);
  border-color: var(--color-accent-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.services-tab-btn .tab-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition-fast);
}

.services-tab-btn.active .tab-icon {
  background: var(--color-accent-blue);
  color: var(--color-white);
}

.services-tab-btn .tab-btn-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.services-tab-btn .tab-btn-text span {
  font-size: 12px;
  display: block;
}

.services-pane {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 50px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  animation: fadeIn 0.5s ease-out forwards;
}

.services-pane.active {
  display: grid;
}

.services-pane-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.services-pane-content p {
  color: var(--color-text-light);
  opacity: 0.8;
  margin-bottom: 30px;
}

.service-workflow-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.service-workflow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workflow-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.workflow-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 122, 204, 0.15);
  border: 1px solid var(--color-accent-blue);
  color: var(--color-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.workflow-info h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.workflow-info p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.services-pane-visual {
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius-sm);
  position: relative;
  min-height: 300px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.services-pane-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.4), rgba(5, 11, 20, 0.8));
}

.services-visual-details {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 10;
}

.services-visual-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-accent-blue);
  color: var(--color-white);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.services-visual-details h4 {
  font-size: 20px;
  font-weight: 700;
}


/* --- SECTION 4.5: INDUSTRIES SHOWCASE --- */
.industries-section {
  background-color: var(--color-midnight);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.industries-header-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 50px;
}

.industries-header-left h2 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  font-family: var(--font-heading);
}

.industries-header-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.industries-header-right .tag {
  color: var(--color-clear-air) !important; /* High contrast brand accent color */
}

.industries-header-right p {
  color: var(--color-silver);
  opacity: 0.85;
  font-size: 16px;
  line-height: 1.6;
}

.industries-filter-container {
  margin-bottom: 40px;
}

.industries-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}

.industries-filter-btn {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-fast);
}

.industries-filter-btn:hover {
  border-color: var(--color-clear-air);
  color: var(--color-clear-air);
  background: rgba(112, 209, 243, 0.05);
}

.industries-filter-btn.active {
  background-color: var(--color-brand-blue) !important; /* Primary Brand Logistics Blue */
  border-color: var(--color-brand-blue) !important;
  color: var(--color-white) !important;
  box-shadow: 0 4px 15px rgba(0, 74, 153, 0.35); /* Primary brand blue glow shadow */
}

.industries-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.industry-card {
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 74, 153, 0.1); /* Branded subtle border */
  animation: industriesFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 15px rgba(0, 74, 153, 0.18); /* Brand Blue hover shadow */
  border-color: var(--color-brand-blue) !important; /* Brand Blue border glow */
}

.industry-card-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.industry-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.industry-card:hover .industry-card-img {
  transform: scale(1.05);
}

.industry-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.industry-card-title {
  font-family: var(--font-heading);
  color: var(--color-brand-blue); /* Primary Brand Logistics Blue */
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.industry-card-desc {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

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

/* Responsive adjustments for Industries Section */
@media (max-width: 991px) {
  .industries-header-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .industries-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .industries-header-left h2 {
    font-size: 24px !important;
  }
  .industries-filter-bar {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar for clean UI */
  }
  .industries-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .industries-cards-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .industry-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
  .industry-card-img-wrapper {
    height: 180px;
  }
}

/* --- SECTION 5: SUCCESS STORIES / CRISIS MANAGEMENT --- */
.success-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-accent-blue);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.kpi-number {
  font-size: 64px;
  font-weight: 800;
  color: var(--color-accent-cyan);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 10px;
}

.kpi-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.kpi-subtext {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* KPI and CSR Card overrides when Success Stories is Section Light */
#success-stories.section-light .kpi-card {
  background: var(--color-white) !important;
  border: 1px solid rgba(0, 74, 153, 0.08) !important;
  box-shadow: var(--shadow-sm) !important;
}
#success-stories.section-light .kpi-label {
  color: var(--color-midnight) !important;
}
#success-stories.section-light .kpi-subtext {
  color: var(--color-charcoal) !important;
  opacity: 0.8 !important;
}
#success-stories.section-light .slider-arrow {
  background: var(--color-white) !important;
  border: 1px solid rgba(0, 74, 153, 0.1) !important;
  color: var(--color-midnight) !important;
}
#success-stories.section-light .slider-arrow:hover {
  background: var(--color-brand-blue) !important;
  color: var(--color-white) !important;
}
#success-stories.section-light .dot {
  background: rgba(0, 74, 153, 0.2) !important;
}
#success-stories.section-light .dot.active {
  background: var(--color-brand-blue) !important;
}
#success-stories.section-light .csr-card {
  background: var(--color-white) !important;
  border: 1px solid rgba(0, 74, 153, 0.08) !important;
}
#success-stories.section-light .csr-stage p {
  color: var(--color-text-dark) !important;
}

/* Case Study Carousel */
.case-study-slider {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.slider-container {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}

.slide.active {
  opacity: 1;
  display: block;
}

.csr-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.csr-image {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 400px;
}

.csr-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.2), rgba(5, 11, 20, 0.7));
}

.csr-image-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 10;
}

.csr-image-text .tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-accent-blue);
  color: var(--color-white);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.csr-image-text h3 {
  font-size: 24px;
  line-height: 1.3;
}

.csr-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.csr-stages {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.csr-stage h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.csr-stage.challenge h4 {
  color: #ef4444; /* Soft Red */
}

.csr-stage.solution h4 {
  color: var(--color-accent-blue);
}

.csr-stage.results h4 {
  color: var(--color-accent-emerald);
}

.csr-stage p {
  font-size: 14px;
  color: var(--color-text-light);
  opacity: 0.85;
  margin-bottom: 0;
}

/* Slider Navigation */
.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--color-accent-blue);
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-glow);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-accent-cyan);
}

/* --- SECTION 6: GLOBAL AGENT PARTNER NETWORK --- */
.map-section-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-light);
  padding: 100px 0;
  border-top: 1px solid rgba(0, 74, 153, 0.08);
  border-bottom: 1px solid rgba(0, 74, 153, 0.08);
}

.interactive-map-container {
  position: relative;
  width: 100%;
  background: #002244;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  overflow: hidden;
}

.map-svg-container {
  width: 100%;
  height: auto;
  min-height: 500px;
  max-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-svg-container svg {
  width: 100%;
  height: 100%;
  max-height: 600px;
}

/* SVG Map Classes */
.map-land {
  fill: #003366;
  stroke: #70D1F3;
  stroke-width: 0.8;
  transition: fill 0.3s ease;
}

.map-land:hover {
  fill: #004A99;
}

.map-route-line {
  fill: none;
  stroke: var(--color-accent-blue);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: routeDash 30s linear infinite;
  opacity: 0.4;
}

.map-route-line-active {
  stroke: var(--color-accent-cyan);
  stroke-width: 2;
  opacity: 0.8;
  stroke-dasharray: 6 3;
}

/* Map Node Glow Pin */
.map-pin {
  cursor: pointer;
}

.map-pin-circle {
  fill: var(--color-accent-blue);
  stroke: var(--color-white);
  stroke-width: 1.5;
  transition: var(--transition-fast);
}

.map-pin-pulse {
  fill: var(--color-accent-blue);
  opacity: 0.4;
  transform-origin: center;
  animation: mapPinGlow 2.5s infinite;
}

.map-pin.active .map-pin-circle,
.map-pin:hover .map-pin-circle {
  fill: var(--color-accent-cyan);
  stroke: var(--color-white);
  r: 8;
  filter: drop-shadow(0 0 8px var(--color-accent-cyan));
}

.map-pin.active .map-pin-pulse,
.map-pin:hover .map-pin-pulse {
  fill: var(--color-accent-cyan);
}

/* Map Information Panel Overlay */
.map-info-overlay {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 320px;
  z-index: 50;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-info-overlay.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.map-info-card {
  padding: 24px;
}

.map-info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.map-info-title h4 {
  font-size: 18px;
  font-weight: 700;
}

.map-info-title span {
  font-size: 11px;
  color: var(--color-accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
}

.map-info-body {
  font-size: 13px;
}

.map-info-body p {
  margin-bottom: 12px;
  color: var(--color-text-light);
  opacity: 0.9;
}

.map-agent-metric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(5, 11, 20, 0.4);
  padding: 12px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 16px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-lbl {
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.metric-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
}

.map-info-footer {
  font-size: 11px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-info-footer svg {
  color: var(--color-accent-emerald);
}

/* World Map Static Text instructions */
.map-instructions {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 12px;
  color: var(--color-text-muted);
  background: rgba(5, 11, 20, 0.6);
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-instructions span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-blue);
  display: inline-block;
  animation: pulse 1.5s infinite;
}

/* --- SECTION 7: FOOTER & CONTACT FORM --- */
footer {
  background-color: #002244;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--color-text-muted);
  margin-bottom: 30px;
  max-width: 400px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-blue);
  flex-shrink: 0;
}

.contact-details h5 {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-details p {
  font-size: 15px;
  color: var(--color-white);
  font-weight: 500;
}

.footer-sla-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 122, 204, 0.05);
  border: 1px solid rgba(0, 122, 204, 0.15);
  border-radius: var(--border-radius-sm);
  max-width: 440px;
}

.footer-sla-badge svg {
  color: var(--color-accent-cyan);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer-sla-badge p {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Contact / Lead Form */
.footer-form-wrapper {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.footer-form-wrapper h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.footer-form-wrapper p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.form-input {
  background: rgba(5, 11, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  padding: 14px;
  color: var(--color-white);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 10px rgba(0, 122, 204, 0.2);
}

.lead-form button {
  grid-column: span 2;
  margin-top: 10px;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: var(--color-white);
}

/* --- SLA SUCCESS OVERLAY --- */
.sla-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 11, 20, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.sla-dashboard {
  background: var(--color-bg-card);
  border: 1px solid rgba(0, 122, 204, 0.2);
  max-width: 600px;
  width: 100%;
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 122, 204, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sla-overlay.active .sla-dashboard {
  transform: scale(1);
}

.sla-dash-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--color-text-muted);
}
.sla-dash-close:hover {
  color: var(--color-white);
}

.sla-success-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 230, 118, 0.08);
  border: 2px solid var(--color-accent-emerald);
  color: var(--color-accent-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 24px auto;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.2);
}

.sla-dashboard h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.sla-dashboard p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.sla-countdown-wrapper {
  margin-bottom: 30px;
}

.sla-countdown-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.sla-timer {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.sla-officer-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(5, 11, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  text-align: left;
}

.officer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-white);
}

.officer-info h5 {
  font-size: 15px;
  margin-bottom: 2px;
}

.officer-info p {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.officer-status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent-emerald);
  display: flex;
  align-items: center;
  gap: 6px;
}

.officer-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--color-accent-emerald);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

/* Animations Keyframes */
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

@keyframes pulseNode {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

@keyframes mapPinGlow {
  0% { r: 6; opacity: 0.5; }
  50% { r: 16; opacity: 0.2; }
  100% { r: 24; opacity: 0; }
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Quote Layout Grid */
.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Footer Links Grid */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Responsive CSS Breakpoints */
@media (max-width: 1024px) {
  .trade-lanes-grid, 
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trade-lane-card {
    height: 400px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.mobile-search-toggle {
  display: none;
}

@media (max-width: 768px) {
  header, header.glass-panel, header.is-scrolled, header.scrolled {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important; /* Removed line between header and hero */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    padding: 12px 0 !important;
  }
  header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }
  header.glass-panel .mobile-nav-toggle,
  header .mobile-nav-toggle {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    color: var(--color-charcoal) !important;
  }
  header .logo {
    order: 2 !important;
    flex: 0 0 auto !important;
    margin: 0 auto !important;
  }
  header .logo-img {
    filter: none !important; /* Show original blue logo on solid white header */
    height: 36px !important;
    width: auto !important;
  }
  header .nav-btn {
    display: none !important;
  }
  /* Symmetrical spacer on the right disabled - replaced by search button */
  header .container::after {
     display: none !important;
  }
  header .mobile-search-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    order: 3 !important;
    width: 44px !important;
    height: 44px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    color: var(--color-brand-blue) !important;
    padding: 0 !important;
  }
  header .mobile-search-toggle svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
  }
  .nav-menu {
    display: none; /* In production: mobile drawer */
  }
  .mobile-nav-toggle {
    display: block;
  }
  .tracking-form-group {
    flex-direction: column;
  }
  .quick-quote-form {
    grid-template-columns: 1fr;
  }
  .trade-lanes-grid, 
  .capabilities-grid,
  .services-tabs,
  .success-kpis {
    grid-template-columns: 1fr;
  }
  .services-pane {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .csr-card {
    grid-template-columns: 1fr;
  }
  .csr-image {
    min-height: 250px;
  }
  .footer-form-wrapper {
    padding: 24px;
  }
  .lead-form {
    grid-template-columns: 1fr;
  }
  .form-full-width, .lead-form button {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Additional Senior Mobile Responsiveness Optimizations */
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-padding.section-dark {
    padding-top: 120px !important;
    padding-bottom: 40px !important;
  }
  
  .section-header h1 {
    font-size: 24px !important;
  }
  
  .section-header h2 {
    font-size: 24px !important;
  }
  
  .section-header p {
    font-size: 14px !important;
  }
  
  .map-info-overlay {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 20px;
    display: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
  }
  
  .map-info-overlay.active {
    display: block;
  }

  /* Accessibility & Usability (Touch Targets & Form Sizing) */
  .btn,
  .form-input,
  .quick-select,
  .tracking-input,
  select,
  input,
  textarea {
    min-height: 48px !important;
  }

  .nav-link {
    padding: 17px 0 !important;
    display: block;
    width: 100%;
  }

  .form-input,
  .quick-select,
  .tracking-input,
  select,
  input,
  textarea {
    font-size: 16px !important;
  }

  /* Make primary buttons stretch full width within content sections for easy thumb reach */
  .section-padding .btn,
  footer .btn,
  .hero-slide .btn,
  .lead-form button,
  .quick-quote-form button {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Layout Bug Fix: Header overlap prevention */
  body {
    padding-top: 80px !important;
  }

  /* Layout Bug Fix: Box & content height overlap prevention */
  .trade-lane-card {
    height: auto !important;
    min-height: 400px;
  }

  /* Stacking Elements: footer columns single-column on mobile */
  .footer-links-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Prevent text overflow and word wrapping */
  body, p, a, h1, h2, h3, h4, h5, h6, span, li, td {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }

  /* Spacing between stacked containers */
  .trade-lanes-grid,
  .capabilities-grid,
  .success-kpis,
  .services-tabs,
  .quote-grid {
    gap: 24px !important;
  }

  /* Stack hero section CTA buttons (Zebra Style) */
  .hero-ctas {
    display: block !important;
    width: 100% !important;
    margin-top: auto !important;
  }
  .hero-ctas .btn-primary {
    display: block !important;
    width: 100% !important;
    background-color: #70D1F3 !important; /* Clear Air Blue */
    color: #333333 !important; /* Dark text */
    border-radius: 30px !important; /* Heavily rounded */
    padding: 15px 20px !important;
    text-align: center !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    border: none !important;
  }
  .hero-ctas .btn-outline {
    display: none !important; /* Hide secondary button */
  }

  /* Slider Navigation */
  .slider-arrow {
    display: none !important;
  }

  /* Unobstructed Hero Image stack */
  .hero-mobile-image-wrapper {
    display: block !important;
    width: 100% !important;
    height: 160px !important; /* Compact image height */
    overflow: hidden !important;
  }
  .hero-mobile-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Hero Typography & Content Box Stack overrides */
  .hero-content {
    background-color: #003366 !important; /* Solid Midnight Link */
    padding: 10px 20px !important; /* Reduced vertical padding */
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 370px !important; /* Compact content block height for above-the-fold display */
    display: flex !important;
    flex-direction: column !important;
  }
  .hero-tag {
    display: inline-block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #70D1F3 !important; /* Clear Air Blue eyebrow */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 6px !important; /* Reduced margin */
  }
  .hero-tag span {
    display: none !important;
  }
  .hero-slide.dark-slide .hero-content h1 {
    font-size: 24px !important; /* Downsized to fit container */
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #FFFFFF !important;
    font-family: 'Poppins', sans-serif !important;
    margin-bottom: 0 !important;
    text-shadow: none !important;
  }
  .hero-slide.dark-slide .hero-content h1 span {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #FFFFFF !important;
  }
  .hero-slide.dark-slide .hero-content .hero-divider {
    display: block !important;
    border-bottom: 3px solid #FFFFFF !important;
    width: 100% !important;
    margin: 6px 0 !important;
  }
  .hero-slide.dark-slide .hero-content .hero-lead {
    display: block !important;
    font-size: 14px !important; /* Downsized to fit container */
    font-weight: 700 !important;
    color: #FFFFFF !important;
    font-family: 'Open Sans', sans-serif !important;
    line-height: 1.5 !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    border-left: none !important;
    padding-left: 0 !important;
    text-shadow: none !important;
  }
  .hero-slide.dark-slide .hero-content .hero-body {
    display: block !important;
    font-size: 13px !important; /* Downsized to fit container */
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Open Sans', sans-serif !important;
    line-height: 1.6 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    border-left: none !important;
    padding-left: 0 !important;
    text-shadow: none !important;
  }

  /* Hero Section Flow and Tracking Widget Placement */
  .hero-slider-container {
    height: auto !important;
    overflow: hidden !important;
  }
  .hero-slide {
    display: flex !important;
    flex-direction: column !important;
    height: 530px !important; /* Consistent layout height (160px image + 370px content) */
    position: relative !important;
    background-image: none !important; /* disable background image */
    padding: 0 !important;
  }
  .hero-slide .container {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .slider-overlay-controls {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 160px !important; /* Overlay controls positioned exactly over the 160px image */
  }
  .slider-dots {
    bottom: 15px !important;
  }
  .tracking-stationary-container {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    z-index: 100 !important;
    pointer-events: auto !important;
    background-color: var(--color-midnight) !important;
    padding: 32px 16px !important;
  }
  .tracking-stationary-container .tracking-bar {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 16px !important;
    box-shadow: var(--shadow-lg) !important;
  }
  
  /* Restored mobile text downsizing overrides */
  .trade-lane-content h3 {
    font-size: 20px !important;
  }
  .kpi-number {
    font-size: 48px !important;
  }
  .csr-image-text h3 {
    font-size: 20px !important;
  }

}

/* ==========================================================================
   Enterprise B2B Mega Menu & Page Overlay System
   ========================================================================== */
.nav-item-has-mega {
  position: static !important; /* Critical: Spans full width of the header */
}

/* Force header to turn solid scrolled white when mega-menu is active or header is hovered */
header.glass-panel.has-active-mega,
header.glass-panel:hover {
  background: #ffffff !important;
  border-bottom: 2px solid rgba(0, 74, 153, 0.1) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

header.glass-panel.has-active-mega .logo-img,
header.glass-panel:hover .logo-img {
  filter: none !important; /* Show original blue logo */
}

header.glass-panel.has-active-mega .nav-link,
header.glass-panel:hover .nav-link {
  color: var(--color-midnight) !important; /* Show midnight links */
}

header.glass-panel.has-active-mega .mobile-nav-toggle,
header.glass-panel:hover .mobile-nav-toggle {
  color: var(--color-charcoal) !important;
}

header.glass-panel.has-active-mega .dropdown-caret,
header.glass-panel:hover .dropdown-caret {
  color: rgba(0, 74, 153, 0.6) !important;
}

/* Mega Menu container panel */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 70vw;
  max-width: 1150px;
  min-width: 950px;
  transform: translateX(-50%) translateY(12px);
  background: #ffffff;
  border: 1px solid rgba(0, 74, 153, 0.12);
  border-bottom: 4px solid var(--color-brand-blue);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 34, 68, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.3s;
  z-index: 999;
}

/* Slide down on hover */
.nav-item-has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mega grid columns */
.mega-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.2fr;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.mega-col {
  display: flex;
  flex-direction: column;
}

.mega-col h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-midnight);
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  border-left: 3px solid var(--color-brand-blue);
  padding-left: 10px;
}

.mega-col a {
  display: block;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-charcoal) !important;
  text-decoration: none;
  padding: 7px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mega-col a:hover {
  color: var(--color-brand-blue) !important;
  padding-left: 6px;
}

/* Featured / Promo column styling */
.mega-promo {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 30px 24px 24px 24px;
  color: #ffffff !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 190px;
  position: relative;
}

.mega-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 34, 68, 0.2), rgba(0, 51, 102, 0.85));
  z-index: 1;
}

.mega-promo > * {
  position: relative;
  z-index: 2;
}

.mega-promo .promo-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-clear-air);
  color: var(--color-midnight);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.mega-promo h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.mega-promo p {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin-bottom: 12px;
}

.mega-promo .promo-btn {
  display: inline-block;
  background: #ffffff;
  color: var(--color-midnight) !important;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  align-self: flex-start;
  margin-top: auto;
}

.mega-promo .promo-btn:hover {
  background: var(--color-clear-air);
  color: var(--color-midnight) !important;
}

/* Page Overlay for mega-menu focus */
.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 34, 68, 0.4); /* Saturated Midnight Overlay */
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

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

/* Responsive adjustments for Mega Menu */
@media (max-width: 991px) {
  .mega-menu {
    position: static;
    width: auto !important;
    max-width: 100% !important;
    display: none;
    box-shadow: none;
    border-top: none;
    border-bottom: none;
    border-radius: 0 !important;
    overflow: visible;
    padding: 10px 0;
    transform: none !important;
    opacity: 1;
    visibility: visible;
  }
  
  .nav-item-has-mega:hover .mega-menu {
    display: block;
  }
  
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px 20px;
  }
  
  .mega-col h3 {
    margin-bottom: 8px;
    font-size: 13px;
  }
  
  .mega-col a {
    padding: 5px 0;
    font-size: 13.5px;
  }
  
  .mega-promo {
    display: none; /* Hide promo banners on tablet/mobile to save space */
  }
}

/* UX Optimization: Disable sticky hover effects on touch-only screens */
@media (hover: none) {
  .btn:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }
  .btn-primary:hover {
    background-color: var(--color-accent-blue) !important;
    color: var(--color-white) !important;
  }
  .btn-outline:hover {
    background-color: transparent !important;
    color: var(--color-accent-blue) !important;
    border-color: var(--color-accent-blue) !important;
  }
  
  .trade-lane-card:hover {
    transform: none !important;
  }
  .glass-card-hover:hover {
    transform: none !important;
    background: var(--color-bg-card) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
  }
  .services-tab-btn:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
  }
  
  .nav-link:hover {
    color: var(--color-midnight) !important;
  }
  header.glass-panel.has-active-mega .nav-link:hover,
  header.glass-panel:hover .nav-link:hover {
    color: var(--color-midnight) !important;
  }
}

/* ==========================================================================
   Modern Search Overlay & Real-Time Search System
   ========================================================================== */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px 20px;
  box-sizing: border-box;
}

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

.search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  flex-grow: 1;
  margin-right: 15px;
}

.search-input-wrapper svg {
  color: var(--color-clear-air);
  margin-right: 12px;
  flex-shrink: 0;
}

.search-overlay-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
}

.search-overlay-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-close-btn {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  color: #ffffff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.search-close-btn:hover {
  color: var(--color-clear-air);
  transform: rotate(90deg);
}

.search-results-container {
  flex-grow: 1;
  overflow-y: auto;
  padding-bottom: 40px;
  -webkit-overflow-scrolling: touch;
}

.search-results-container::-webkit-scrollbar {
  width: 6px;
}
.search-results-container::-webkit-scrollbar-track {
  background: transparent;
}
.search-results-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.search-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-clear-air);
  margin-bottom: 15px;
  margin-top: 5px;
}

.quick-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.quick-link-tag {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.quick-link-tag:hover {
  background: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.search-result-item {
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(112, 209, 243, 0.3);
  transform: translateY(-2px);
}

.search-result-category {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-clear-air);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.search-result-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.search-result-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.search-no-results {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
}

.search-no-results svg {
  color: var(--color-clear-air);
  margin-bottom: 15px;
  opacity: 0.8;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
