/* ==========================================================================
   B2C SHIP EXPRESS - MASTER STYLESHEET
   Modern, High-Performance, Responsive Logistics & Freight Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Color Palette */
  --color-primary: #1d3557;
  --color-primary-dark: #0f1c30;
  --color-primary-light: #2a4c7d;
  --color-secondary: #2563eb;
  --color-secondary-hover: #1d4ed8;
  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;
  --color-accent-cyan: #0ea5e9;
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;

  /* Neutral Spectrum */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;
  --border-color: #e2e8f0;
  --border-color-dark: #334155;

  /* Typography */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --container-max: 1240px;
  --header-height: 80px;
  --topbar-height: 42px;

  /* Elevation / Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
}

/* --- Typography Helpers --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 0.95rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

/* --- Layout Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

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

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}

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

.section-dark p {
  color: var(--text-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-subtitle.light {
  background: rgba(255, 255, 255, 0.12);
  color: #60a5fa;
}

.section-title {
  margin-bottom: 14px;
}

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

/* Grid System */
.grid {
  display: grid;
  gap: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.gap-6 {
  gap: 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #3454a4 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--border-color);
  color: var(--color-primary-dark);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: rgba(37, 99, 235, 0.04);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
}

.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.topbar {
  background-color: var(--color-primary);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
}

.topbar-contact a:hover {
  color: #38bdf8;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Nav Menu Items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: #3454a4
}

.nav-link svg.chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1100;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  border-radius: var(--radius-sm);
}

.dropdown-link:hover {
  background: var(--bg-surface-alt);
  color: var(--color-secondary);
  padding-left: 18px;
}

.dropdown-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-secondary);
}

/* Header Action */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: none;
  cursor: pointer;
  padding: 8px;
  color: #1e293b;
}

/* Mobile Offcanvas Nav */
@media (max-width: 1024px) {
  .topbar {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 12px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 16px;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-surface-alt);
    margin-top: 6px;
    display: none;
  }

  .nav-item.dropdown-open .dropdown-menu {
    display: block;
  }

  .header-actions .btn-track {
    display: none;
  }
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-home {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 28, 48, 0.92) 0%, rgba(29, 53, 87, 0.85) 100%),
    url('../images/aerial-view-cargo-ship-cargo-container-harbor-1-scaled.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 110px 0 140px 0;
  overflow: hidden;
}

.hero-home::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg-body), transparent);
}

.hero-content {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #93c5fd;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-title span {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Hero Tracking Bar */
.tracking-card-hero {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  margin-top: -60px;
  position: relative;
  z-index: 20;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.tracking-form {
  display: flex;
  gap: 12px;
}

.tracking-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.tracking-input-wrap svg {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: #94a3b8;
}

.tracking-input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background: var(--bg-surface-alt);
  color: var(--text-main);
  transition: var(--transition);
}

.tracking-input:focus {
  border-color: var(--color-secondary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.tracking-helper {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tracking-chips {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tracking-chip {
  cursor: pointer;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
}

.tracking-chip:hover {
  background: #cbd5e1;
}

@media (max-width: 640px) {
  .tracking-form {
    flex-direction: column;
  }

  .tracking-helper {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Page Inner Hero */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 28, 48, 0.9) 0%, rgba(29, 53, 87, 0.88) 100%),
    url('../images/airport-terminal-1-scaled.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 70px 0 80px 0;
  text-align: center;
}

.page-hero.hero-air {
  background-image: linear-gradient(135deg, rgba(15, 28, 48, 0.88) 0%, rgba(29, 53, 87, 0.85) 100%),
    url('../images/airport-aircraft-airplane-aviation-transportation-travel-scaled.jpg');
}

.page-hero.hero-ocean {
  background-image: linear-gradient(135deg, rgba(15, 28, 48, 0.88) 0%, rgba(29, 53, 87, 0.85) 100%),
    url('../images/aerial-view-container-cargo-ship-sea-1-scaled.jpg');
}

.page-hero.hero-road {
  background-image: linear-gradient(135deg, rgba(15, 28, 48, 0.88) 0%, rgba(29, 53, 87, 0.85) 100%),
    url('../images/trucks-highway-mountain-sunset-1-scaled.jpg');
}

.page-hero.hero-train {
  background-image: linear-gradient(135deg, rgba(15, 28, 48, 0.88) 0%, rgba(29, 53, 87, 0.85) 100%),
    url('../images/view-from-railway-bridge-freight-trains-sunset-1-scaled.jpg');
}

.page-hero-title {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.breadcrumbs a {
  color: #e2e8f0;
}

.breadcrumbs a:hover {
  color: #38bdf8;
}

.breadcrumbs span.current {
  color: #60a5fa;
  font-weight: 600;
}

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats-strip {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 10px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

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

/* ==========================================================================
   CARDS & FEATURES
   ========================================================================== */
.card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
}

/* Service Card */
.service-card {
  overflow: hidden;
  height: 100%;
}

.service-card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--color-secondary);
  transform: scale(1.05);
}

.service-card-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

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

.service-card-desc {
  flex: 1;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 0.92rem;
}

.service-card-link:hover {
  gap: 12px;
  color: #1d4ed8;
}

/* Two Column Feature Showcase */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image-wrap {
  position: relative;
}

.feature-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.feature-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #ffffff;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

@media (max-width: 992px) {
  .feature-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-badge-float {
    right: 10px;
    bottom: -10px;
  }
}

/* Feature Check List */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #334155;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   PROHIBITED ITEMS SECTION & TABLE
   ========================================================================== */
.prohibited-alert {
  background: #fef2f2;
  border-left: 4px solid var(--color-danger);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
  color: #991b1b;
}

.prohibited-alert h4 {
  color: #991b1b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-filter-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.search-input-wrap {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  width: 18px;
  height: 18px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: #e2e8f0;
  color: #334155;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-secondary);
  color: #ffffff;
}

/* Prohibited Items Grid */
.prohibited-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}

.prohibited-card:hover {
  border-color: #fca5a5;
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.08);
}

.prohibited-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #fee2e2;
  color: #b91c1c;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.prohibited-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.prohibited-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 12px;
}

.prohibited-rule {
  font-size: 0.82rem;
  background: var(--bg-surface-alt);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: #475569;
}

/* ==========================================================================
   TRACKING RESULT TIMELINE (TRACKING PAGE & WIDGET)
   ========================================================================== */
.tracking-result-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin-top: 36px;
  display: none;
}

.tracking-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.tracking-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
}

.status-in-transit {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-delivered {
  background: #dcfce7;
  color: #15803d;
}

/* Timeline */
.timeline {
  position: relative;
  margin-left: 20px;
  padding-left: 32px;
  border-left: 3px solid #e2e8f0;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -44px;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--border-color);
  transition: var(--transition);
}

.timeline-item.completed .timeline-dot {
  background: var(--color-secondary);
  border-color: #93c5fd;
}

.timeline-item.active .timeline-dot {
  background: #ffffff;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.timeline-date {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 600;
}

.timeline-title {
  font-size: 1.05rem;
  color: #1e293b;
  margin: 4px 0;
}

.timeline-desc {
  font-size: 0.88rem;
  color: #64748b;
}

/* ==========================================================================
   CONTACT FORM & INFO CARDS
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0f1c30 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  color: #ffffff;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: #94a3b8;
}

.contact-methods {
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
}

.contact-method-value {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-method-value a:hover {
  color: #38bdf8;
}

/* Form Container */
.contact-form-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background: var(--bg-surface-alt);
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--color-secondary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TESTIMONIALS & WHY CHOOSE US
   ========================================================================== */
.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(135deg, rgba(15, 28, 48, 0.94) 0%, rgba(29, 53, 87, 0.92) 100%),
    url('../images/Untitled-design-2024-04-03T114816.131.png') center/cover no-repeat;
  color: #94a3b8;
  padding: 70px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 22px;
  position: relative;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 32px;
  height: 2px;
  background: var(--color-secondary);
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   FLOATING ACTIONS & TOAST
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 990;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  background: #1d4ed8;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 9999;
  transition: var(--transition-smooth);
  opacity: 0;
  pointer-events: none;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-msg.success {
  border-left: 4px solid var(--color-success);
}

.toast-msg.error {
  border-left: 4px solid var(--color-danger);
}

/* ==========================================================================
   DYNAMIC TRACKING TABLE STYLES (tacking.js)
/* ==========================================================================
   TRACKING PAGE & RESULTS ENGINE (EXECUTIVE MODERN DESIGN)
   ========================================================================== */
.fullTable {
  margin-top: 32px;
}

/* Tracking Result Card */
.tracking-result-card.main_table {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-color);
  margin-bottom: 28px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tracking-result-card.main_table:hover {
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 8px 12px -3px rgba(15, 23, 42, 0.05);
}

/* Header Summary Bar */
.tracking-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 20px 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
}

.summary-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Status Pill with Pulsing Dot */
.status-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #2563eb;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(37, 99, 235, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* AWB Pill */
.awb-pill-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: var(--radius-md);
}

.awb-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.awb-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: 0.04em;
}

.btn-copy-awb {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-copy-awb:hover {
  color: var(--color-secondary);
  background: #e2e8f0;
}

.btn-copy-awb.copied {
  color: #16a34a;
}

/* Center Meta Items */
.summary-center {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.summary-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.summary-meta-item .meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 600;
}

.summary-meta-item .meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
}

/* Toggle Details Button */
.summary-right {
  margin-left: auto;
}

.btn-more-details {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.btn-more-details:hover {
  background: #f8fafc;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-more-details .chevron-icon {
  transition: transform 0.25s ease;
}

.btn-more-details.active .chevron-icon {
  transform: rotate(180deg);
}

/* Expanded Tracking Body */
.tracking-details-body.show_table {
  padding: 28px;
  background: #f8fafc;
}

.tracking-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 20px;
  width: 100%;
  align-items: start;
}

@media (max-width: 991px) {
  .tracking-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PACKET DETAILS CARD (CLEAN CORPORATE DESIGN - NO EMOJIS / NO ICONS)
   ========================================================================== */
.tracking-packet-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.packet-card-header,
.history-card-header {
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.packet-card-title,
.history-card-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
}

.packet-card-body {
  padding: 0;
}

.packet-details-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.packet-details-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.packet-details-table tr:last-child {
  border-bottom: none;
}

.packet-details-table td {
  padding: 11px 16px;
  font-size: 0.86rem;
  line-height: 1.45;
  vertical-align: top;
}

.packet-details-table .pd-label {
  width: 44%;
  color: #64748b;
  font-weight: 600;
  background: #fafafa;
  border-right: 1px solid #f1f5f9;
}

.packet-details-table .pd-value {
  color: #0f172a;
  font-weight: 600;
  word-break: break-word;
}

/* ==========================================================================
   TRACKING HISTORY CARD (ZERO SIDE-SCROLL, ZERO EMOJI BADGES)
   ========================================================================== */
.tracking-history-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.history-table-container {
  width: 100%;
  overflow-x: hidden;
  /* Strict fit - zero horizontal scroll on desktop/tablets */
}

.history_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  /* Guarantees columns fit 100% of container */
}

.history_table thead th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 2px solid #e2e8f0;
}

.history_table thead th.th-date {
  width: 18%;
}

.history_table thead th.th-time {
  width: 13%;
}

.history_table thead th.th-loc {
  width: 25%;
}

.history_table thead th.th-act {
  width: 44%;
}

.history_table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.history_table tbody tr:last-child {
  border-bottom: none;
}

.history_table tbody tr:hover {
  background: #f8fafc;
}

.history_table tbody td {
  padding: 12px 14px;
  font-size: 0.88rem;
  vertical-align: middle;
  color: #334155;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.history_table tbody td.col-date {
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}

.history_table tbody td.col-time {
  color: #64748b;
  white-space: nowrap;
}

.history_table tbody td.col-location {
  font-weight: 600;
  color: #1e293b;
}

.history_table tbody td.col-activity {
  font-weight: 500;
  line-height: 1.4;
}

.milestone-latest {
  background: #f8fafc !important;
}

.milestone-latest td.col-date {
  font-weight: 700;
}

.milestone-latest td.col-activity {
  font-weight: 700;
}

.milestone-delivered-row {
  background: #f0fdf4 !important;
}

.status-act-delivered {
  color: #15803d;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-act-latest {
  color: #0f172a;
  font-weight: 700;
}

.status-act-normal {
  color: #475569;
}

@media (max-width: 640px) {
  .history-table-container {
    overflow-x: auto;
    /* Graceful scroll only on narrow mobile screens < 640px */
  }

  .history_table {
    min-width: 480px;
  }
}

/* Loader & Error states */
.loader {
  display: none;
  text-align: center;
  padding: 40px 20px;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 1.05rem;
}

.loader .spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  border-top-color: var(--color-secondary);
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.warning_msg {
  display: none;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 500;
  background: #fffbeb;
  border-left: 4px solid var(--color-warning);
  color: #92400e;
}

.error_msg {
  display: block;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: #fef2f2;
  border-left: 4px solid var(--color-danger);
  color: #991b1b;
  margin-bottom: 20px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   LIVE ROUTE VECTOR MAP (jsVectorMap)
   ========================================================================== */
.tracking-route-map-card {
  background: #0f172a;
  border-radius: var(--radius-md);
  border: 1px solid #1e293b;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
}

.map-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b !important;
  color: #f8fafc !important;
  border-bottom: 1px solid #334155 !important;
  padding: 12px 18px;
}

.map-title-bar svg {
  color: #38bdf8 !important;
}

.map-route-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.route-origin-badge {
  background: #2563eb;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.route-dest-badge {
  background: #16a34a;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.route-transit-badge {
  background: #f59e0b;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.route-arrow {
  font-size: 1rem;
}

.tracking-vector-map {
  position: relative;
  width: 100%;
  height: 380px;
  background-color: #0a1128;
  overflow: hidden;
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

@media (max-width: 640px) {
  .tracking-vector-map {
    height: 310px;
  }
}

.jvm-line {
  stroke-dasharray: 6 3;
  animation: jvm-line-crawl 2s linear infinite;
}

@keyframes jvm-line-crawl {
  to {
    stroke-dashoffset: -18;
  }
}

.jvm-tooltip {
  background-color: #0b1c3d !important;
  border: 1px solid #2563eb !important;
  color: #ffffff !important;
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

/* ==========================================================================
   FLIGHT STATUS & TRANSIT MILESTONE STEPPER
   ========================================================================== */
.tracking-stepper-wrap {
  padding: 24px 24px 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.tracking-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  color: #64748b;
}

.stepper-step.step-done .step-circle {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

.stepper-step.step-active .step-circle {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
  animation: pulse-step 2s infinite;
}

@keyframes pulse-step {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.step-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  white-space: nowrap;
}

.stepper-step.step-done .step-label {
  color: #16a34a;
  font-weight: 700;
}

.stepper-step.step-active .step-label {
  color: #2563eb;
  font-weight: 800;
}

.stepper-connector {
  flex: 1;
  height: 3px;
  background: #e2e8f0;
  margin: 0 -10px 24px -10px;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease;
}

.stepper-connector.connector-done {
  background: #16a34a;
}

/* Map Flight Status Banner */
.map-flight-banner {
  padding: 14px 20px;
  border-bottom: 1px solid #1e293b;
  background: #091224;
}

.flight-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.flight-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.flight-banner-emoji {
  font-size: 2rem;
  line-height: 1;
}

.flight-banner-title {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.flight-banner-sub {
  color: #94a3b8;
  font-size: 0.82rem;
  margin-top: 3px;
}

.flight-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flight-banner-badge.stage-delivered {
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.flight-banner-badge.stage-out-delivery {
  background: rgba(217, 119, 6, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.flight-banner-badge.stage-landed {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.4);
}

.flight-banner-badge.stage-flight {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.flight-banner-badge.stage-booked {
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  border: 1px solid rgba(203, 213, 225, 0.3);
}

.route-status-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.route-status-pill.stage-delivered {
  background: #16a34a;
  color: #ffffff;
}

.route-status-pill.stage-out-delivery {
  background: #d97706;
  color: #ffffff;
}

.route-status-pill.stage-landed {
  background: #0284c7;
  color: #ffffff;
}

.route-status-pill.stage-flight {
  background: #2563eb;
  color: #ffffff;
}

.route-status-pill.stage-booked {
  background: #475569;
  color: #ffffff;
}

/* History Activities Badges */
.act-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.act-badge-delivered {
  background: #dcfce7;
  color: #15803d;
  border: 1.5px solid #86efac;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15);
}

.act-badge-out {
  background: #fef3c7;
  color: #b45309;
  border: 1.5px solid #fde68a;
}

.act-badge-landed {
  background: #e0f2fe;
  color: #0369a1;
  border: 1.5px solid #bae6fd;
}

.act-badge-flight {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1.5px solid #bfdbfe;
}

.act-badge-customs {
  background: #f1f5f9;
  color: #475569;
  border: 1.5px solid #cbd5e1;
}

.act-badge-origin {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.act-badge-booked {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.act-badge-latest {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.act-badge-default {
  color: #334155;
  font-weight: 600;
}

/* Summary Header Status color variations */
.status-badge-wrap.status-is-delivered .status-pulse-dot {
  background-color: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
}

.status-badge-wrap.status-is-delivered .status {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}

.status-badge-wrap.status-is-out .status-pulse-dot {
  background-color: #d97706;
  box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
}

.status-badge-wrap.status-is-out .status {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}

.status-badge-wrap.status-is-landed .status-pulse-dot {
  background-color: #0284c7;
  box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
}

.status-badge-wrap.status-is-landed .status {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}

@media (max-width: 640px) {
  .tracking-stepper {
    flex-wrap: wrap;
    gap: 12px;
  }

  .stepper-connector {
    display: none;
  }

  .flight-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   HOMEPAGE LIVE SECTION STYLES (ORIGINAL IMAGERY & STRUCTURE)
   ========================================================================== */
.separater-img {
  display: block;
  width: 106px;
  height: 7px;
  margin: 10px 0 24px 0;
  object-fit: contain;
}

.highlight-brand {
  color: #3454a4;
  font-weight: 700;
}

.section-header-left {
  margin-bottom: 36px;
}

.section-header-left .section-title {
  margin-bottom: 4px;
}

/* 1. Hero Section */
.hero-home-live {
  position: relative;
  background: #ffffff;
  padding: 40px 0 60px 0;
}

.hero-home-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-home-title {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 700;
  color: #1e293b;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-home-desc {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-tracking-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.hero-banner-wrap {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner-img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

/* 2. Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: #ffffff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.benefits-img-wrap {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefits-banner-img {
  max-width: 100%;
  max-height: 440px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

.benefit-blurb {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.benefit-blurb:last-child {
  margin-bottom: 0;
}

.benefit-blurb-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-blurb-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.benefit-blurb-text h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.benefit-blurb-text p {
  font-size: 0.94rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* 3. Multi-Modal Expertise Section */
.multimodal-section {
  padding: 80px 0;
}

.multimodal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.multimodal-card {
  position: relative;
  height: 340px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 75px;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.22);
  border-bottom: 4px solid transparent;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.multimodal-card:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 36px 0 rgba(0, 0, 0, 0.35);
  border-bottom-color: #3454a4;
}

.multimodal-card.card-air {
  background-image: url('../images/airport-aircraft-airplane-aviation-transportation-travel-scaled.jpg');
}

.multimodal-card.card-road {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.57) 100%),
    url('../images/aerial-view-busy-highway-intersection-full-traffic-daytime-scaled.jpg');
}

.multimodal-card.card-ocean {
  background-position: right 97% bottom 0px;
  background-image: url('../images/large-cargo-ship-with-containers-port-generative-ai-scaled.jpg');
}

.multimodal-card.card-train {
  background-position: right 100% bottom -24%;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.44) 100%),
    url('../images/urban-landscape-japan-modern-train-scaled.jpg');
}

.multimodal-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.68) 100%);
  transition: background 0.3s ease;
}

.multimodal-card:hover .multimodal-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.multimodal-card-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.multimodal-card-title {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* 4. Contact Us Section */
.contact-section-home {
  padding: 80px 0;
  background: #ffffff;
}

.contact-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.contact-home-img-wrap {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-banner-img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

.contact-email-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.contact-email-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.contact-email-sub {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-email-boxes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-email-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.contact-email-item:hover {
  border-color: #3454a4;
  box-shadow: 0 10px 20px -5px rgba(52, 84, 164, 0.12);
  transform: translateY(-2px);
}

.contact-email-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-email-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(52, 84, 164, 0.08);
  color: #3454a4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-email-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.contact-email-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 2px 0 0 0;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  word-break: break-all;
}

.contact-email-btn:hover {
  background: #3454a4;
  color: #ffffff;
  border-color: #3454a4;
  padding-left: 22px;
}

@media (max-width: 992px) {
  .hero-home-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-home-title {
    margin-left: auto;
    margin-right: auto;
  }

  .separater-img {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tracking-box {
    text-align: left;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .multimodal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-home-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .multimodal-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TRACKING MILESTONES, STEPPER, FLIGHT BANNER & ACTIVITY BADGES
   ========================================================================== */

/* Status Header Badges */
.status-badge-wrap.is-delivered {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.status-badge-wrap.is-delivered .status-pulse-dot {
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse-ring-green 1.8s infinite;
}

@keyframes pulse-ring-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.status-badge-wrap.is-out {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
}

.status-badge-wrap.is-out .status-pulse-dot {
  background-color: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  animation: pulse-ring-amber 1.8s infinite;
}

@keyframes pulse-ring-amber {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(245, 158, 11, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

.status-badge-wrap.is-landed {
  background: #ecfeff;
  color: #0891b2;
  border-color: #a5f3fc;
}

.status-badge-wrap.is-landed .status-pulse-dot {
  background-color: #06b6d4;
  box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6);
  animation: pulse-ring-cyan 1.8s infinite;
}

@keyframes pulse-ring-cyan {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(6, 182, 212, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

.status-badge-wrap.is-inflight {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

.status-badge-wrap.is-inflight .status-pulse-dot {
  background-color: #2563eb;
}

.status-badge-wrap.is-origin {
  background: #f8fafc;
  color: #475569;
  border-color: #cbd5e1;
}

.status-badge-wrap.is-origin .status-pulse-dot {
  background-color: #64748b;
  animation: none;
}

/* Milestone Stepper Card */
.tracking-milestone-wrapper {
  margin-bottom: 22px;
}

.milestone-stepper-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 22px 28px 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.stepper-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  position: relative;
  flex: 1;
  max-width: 170px;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.step-indicator-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

/* Stepper States */
.step-pending .step-indicator-circle {
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  color: #94a3b8;
}

.step-pending .step-title {
  color: #94a3b8;
}

.step-pending .step-sub {
  color: #cbd5e1;
}

.step-active .step-indicator-circle {
  background: #eff6ff;
  border: 2px solid #2563eb;
  color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  transform: scale(1.06);
}

.step-active .step-title {
  color: #1e3a8a;
  font-weight: 800;
}

.step-active .step-sub {
  color: #2563eb;
  font-weight: 600;
}

.step-completed .step-indicator-circle {
  background: #10b981;
  border: 2px solid #10b981;
  color: #ffffff;
}

.step-completed .step-title {
  color: #0f172a;
}

.step-completed .step-sub {
  color: #64748b;
}

.step-completed.step-is-delivered .step-indicator-circle {
  background: #059669;
  border: 2px solid #059669;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
}

.step-completed.step-is-delivered .step-title {
  color: #059669;
  font-weight: 800;
}

/* Connectors */
.stepper-connector {
  flex: 1;
  height: 3px;
  background: #e2e8f0;
  margin: 16px 8px 0;
  position: relative;
  z-index: 1;
  border-radius: 2px;
}

.stepper-connector.line-completed {
  background: #10b981;
}

.stepper-connector.line-active {
  background: linear-gradient(90deg, #10b981 0%, #2563eb 100%);
}

.step-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.step-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.25;
}

.step-sub {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.2;
}

/* Flight Status Banner on Route Map */
.map-flight-banner {
  padding: 10px 18px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.flight-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
}

.flight-banner-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.flight-banner-icon-box svg {
  display: block;
}

.flight-banner-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.flight-status-badge {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flight-banner-desc {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.35;
}

/* Banner Variations */
.status-banner-delivered {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.status-banner-delivered .flight-status-badge {
  color: #34d399;
}

.status-banner-out {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.status-banner-out .flight-status-badge {
  color: #fbbf24;
}

.status-banner-landed {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.status-banner-landed .flight-status-badge {
  color: #38bdf8;
}

.status-banner-inflight {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
}

.status-banner-inflight .flight-status-badge {
  color: #a5b4fc;
}

.status-banner-origin {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}

.status-banner-origin .flight-status-badge {
  color: #e2e8f0;
}

/* Route Map Line Override When Flight Landed or Delivered */
.flight-landed-route .jvm-line {
  stroke-dasharray: none !important;
  animation: none !important;
  stroke: #10b981 !important;
  stroke-width: 3px !important;
}

/* Activity Cell Badges in Tracking History Table */
.act-cell-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.act-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.act-pill-delivered {
  background: #ecfdf5;
  color: #059669;
  border: 1.5px solid #10b981;
  font-size: 0.8rem;
  padding: 4px 10px;
}

.act-pill-out {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.act-pill-landed {
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #a5f3fc;
}

.act-pill-customs {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.act-pill-inflight {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.act-pill-origin {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.act-pill-booked {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.act-pill-pickup {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.act-pill-transit {
  background: #fefce8;
  color: #854d0e;
  border: 1px solid #fef08a;
}

.act-text-label {
  color: #1e293b;
  font-weight: 500;
  font-size: 0.88rem;
}

.is-latest-act .act-text-label {
  font-weight: 700;
  color: #0f172a;
}

.history_table tr.milestone-delivered-row {
  background-color: rgba(16, 185, 129, 0.05);
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE SYSTEM (MOBILE FRIENDLY & TRACKING OPTIMIZED)
   ========================================================================== */

/* 1. Universal Touch & Viewport Protection */
@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }

  /* Prevent iOS automatic input zoom by enforcing 16px minimum font-size */
  input[type="text"],
  input[type="search"],
  input[type="email"],
  textarea,
  select {
    font-size: 16px !important;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 44px 0;
  }

  .section-sm {
    padding: 32px 0;
  }
}

/* 2. Topbar & Header Mobile Adjustments */
@media (max-width: 1024px) {
  .site-header {
    height: 66px;
  }

  .navbar {
    height: 66px;
  }

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

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: var(--radius-sm);
    color: var(--color-primary-dark);
  }

  .nav-menu {
    top: 66px;
    height: calc(100vh - 66px);
    padding: 20px 16px 40px;
    gap: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }

  .nav-link.active,
  .nav-link:hover {
    background: #3454a4;
    color: #ffffff;
    border-color: #3454a4;
  }

  .dropdown-menu {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    margin-top: 8px;
    padding: 6px;
  }

  .dropdown-link {
    padding: 10px 14px;
    font-size: 0.92rem;
  }
}

/* 3. Hero & Page Banners Mobile */
@media (max-width: 768px) {
  .page-hero {
    padding: 44px 0 52px 0;
  }

  .page-hero-title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  }

  .breadcrumbs {
    font-size: 0.84rem;
    flex-wrap: wrap;
  }

  .hero-home {
    padding: 70px 0 90px 0;
  }

  .hero-title {
    font-size: clamp(2rem, 6.5vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 28px;
  }

  .tracking-card-hero {
    margin-top: -40px;
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }
}

/* 4. TRACKING ENGINE - MOBILE SPECIFICS (MAIN TARGET) */
@media (max-width: 768px) {
  /* Input Box Container */
  .tracking-box-container {
    padding: 20px 14px !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 24px !important;
  }

  .awb-textarea {
    font-size: 16px !important;
    padding: 14px !important;
    min-height: 85px !important;
    border-radius: var(--radius-md) !important;
  }

  .tracking-action-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 14px !important;
  }

  .tracking-tips {
    font-size: 0.82rem !important;
    justify-content: flex-start !important;
    line-height: 1.4 !important;
  }

  .tracking-action-bar .btn-primary,
  .tracking-action-bar .submit {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 1rem !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    border-radius: var(--radius-md) !important;
  }

  .sample-chips-row {
    margin-top: 14px !important;
    padding-top: 12px !important;
    gap: 8px !important;
    font-size: 0.8rem !important;
  }

  .sample-chip {
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
    min-height: 36px !important;
  }

  /* Tracking Result Card Header */
  .tracking-summary-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px 12px !important;
  }

  .summary-left {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .status-badge-wrap {
    font-size: 0.75rem !important;
    padding: 5px 10px !important;
  }

  .awb-pill-wrap {
    padding: 4px 10px !important;
  }

  .awb-label {
    font-size: 0.75rem !important;
  }

  .awb-value {
    font-size: 0.95rem !important;
  }

  .summary-center {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    background: #ffffff !important;
    padding: 10px 12px !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid #e2e8f0 !important;
  }

  .summary-meta-item .meta-label {
    font-size: 0.68rem !important;
  }

  .summary-meta-item .meta-value {
    font-size: 0.88rem !important;
  }

  .summary-right {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .btn-more-details {
    width: 100% !important;
    justify-content: center !important;
    min-height: 42px !important;
    font-size: 0.9rem !important;
  }

  /* Expanded Tracking Body */
  .tracking-details-body.show_table {
    padding: 14px 10px !important;
  }

  .tracking-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Vertical Stepper Refinements */
  .milestone-stepper-card {
    padding: 16px 14px !important;
    border-radius: var(--radius-md) !important;
  }

  .stepper-track {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  .stepper-step {
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    gap: 12px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 4px !important;
  }

  .step-text-wrap {
    align-items: flex-start !important;
  }

  .step-indicator {
    margin-bottom: 0 !important;
  }

  .step-indicator-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
  }

  .stepper-connector {
    width: 3px !important;
    height: 18px !important;
    flex: none !important;
    margin: -5px 0 -5px 14px !important;
  }

  .step-title {
    font-size: 0.85rem !important;
  }

  .step-sub {
    font-size: 0.72rem !important;
  }

  /* Route Map Card */
  .map-title-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 10px 12px !important;
  }

  .map-route-summary {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .route-origin-badge,
  .route-dest-badge,
  .route-transit-badge {
    padding: 3px 8px !important;
    font-size: 0.7rem !important;
  }

  .map-flight-banner {
    padding: 8px 12px !important;
  }

  .flight-banner-inner {
    padding: 8px 10px !important;
    gap: 8px !important;
  }

  .flight-banner-icon-box {
    width: 30px !important;
    height: 30px !important;
  }

  .flight-status-badge {
    font-size: 0.78rem !important;
  }

  .flight-banner-desc {
    font-size: 0.75rem !important;
  }

  .tracking-vector-map {
    height: 260px !important;
  }

  /* Packet Details Table */
  .packet-card-header,
  .history-card-header {
    padding: 10px 14px !important;
  }

  .packet-card-title,
  .history-card-title {
    font-size: 0.88rem !important;
  }

  .packet-details-table td {
    padding: 9px 12px !important;
    font-size: 0.82rem !important;
  }

  .packet-details-table .pd-label {
    width: 40% !important;
  }

  /* Tracking History Table - ZERO SIDE SCROLL */
  .history-table-container {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .history_table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }

  .history_table thead th {
    padding: 10px 6px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.02em !important;
  }

  .history_table thead th.th-date {
    width: 22% !important;
  }

  .history_table thead th.th-time {
    width: 16% !important;
  }

  .history_table thead th.th-loc {
    width: 26% !important;
  }

  .history_table thead th.th-act {
    width: 36% !important;
  }

  .history_table tbody td {
    padding: 9px 6px !important;
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
  }

  .history_table tbody td.col-date {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
  }

  .history_table tbody td.col-time {
    font-size: 0.74rem !important;
  }

  .history_table tbody td.col-location {
    font-size: 0.76rem !important;
  }

  .act-pill {
    font-size: 0.68rem !important;
    padding: 2px 6px !important;
    gap: 3px !important;
  }

  .act-text-label {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 480px) {
  .history_table thead th {
    padding: 8px 4px !important;
    font-size: 0.65rem !important;
  }

  .history_table tbody td {
    padding: 8px 4px !important;
    font-size: 0.74rem !important;
  }

  .tracking-vector-map {
    height: 220px !important;
  }
}

@media (max-width: 768px) {
  .card {
    padding: 20px 16px !important;
  }

  .back-to-top {
    bottom: 16px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
  }
}