/* ================= ShipLine Global — Core Styles ================= */
:root {
  --brand-navy: #002e5b;
  --brand-navy-dark: #001c38;
  --brand-orange: #ff6a00;
  --brand-orange-dark: #e05e00;
  --brand-light: #f4f7fa;
  --text-muted: #667488;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: #222;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--brand-navy); }

a { text-decoration: none; }

.section-padding { padding: 80px 0; }
.bg-light-alt { background: var(--brand-light); }

.section-tag {
  display: inline-block;
  color: var(--brand-orange);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.section-sub { color: var(--text-muted); max-width: 650px; margin: 0 auto; }

/* ============ Topbar ============ */
.topbar {
  background: var(--brand-navy-dark);
  color: #cdd8e6;
  font-size: 0.82rem;
  padding: 6px 0;
}
.topbar a { color: #cdd8e6; margin-left: 16px; }
.topbar-left span { margin-right: 24px; }
.topbar-login {
  background: var(--brand-orange);
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 3px;
}

/* ============ Navbar ============ */
.main-nav { transition: box-shadow .25s ease, padding .25s ease; padding: 14px 0; }
.main-nav.nav-scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.08); padding: 8px 0; }
.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand-navy) !important;
}
.navbar-brand span { color: var(--brand-orange); }
.navbar-brand small { font-size: .55rem; letter-spacing: 2px; vertical-align: middle; color: var(--text-muted); }
.nav-link { font-weight: 600; color: #333 !important; margin: 0 10px; }
.nav-link:hover { color: var(--brand-orange) !important; }
.btn-quote {
  background: var(--brand-orange);
  color: #fff !important;
  font-weight: 700;
  border-radius: 4px;
  padding: 10px 22px;
  border: none;
  transition: background .2s ease;
}
.btn-quote:hover { background: var(--brand-orange-dark); color: #fff; }

/* ============ Hero Slider ============ */
.hero-carousel { position: relative; }
.hero-slide {
  height: 620px;
  background-size: cover;
  background-position: center;
  position: relative;
  /* no display property here — Bootstrap controls display:none/block on .carousel-item */
}
.hero-slide-1 { background-image: url('https://images.unsplash.com/photo-1590496793929-36417d3117de?q=80&w=1920&auto=format&fit=crop'); }
.hero-slide-2 { background-image: url('https://images.unsplash.com/photo-1605745341075-1b7ba52d2836?q=80&w=1920&auto=format&fit=crop'); }
.hero-slide-3 { background-image: url('https://images.unsplash.com/photo-1544027993-37dbfe43562a?q=80&w=1920&auto=format&fit=crop'); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,25,50,.88) 0%, rgba(0,25,50,.55) 55%, rgba(0,25,50,.35) 100%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
  max-width: 650px;
  padding-left: 15px;
}
@media (min-width: 1200px) {
  .hero-content { left: calc((100% - 1140px) / 2); padding-left: 0; }
}
.hero-tag {
  display: inline-block;
  background: var(--brand-orange);
  padding: 5px 14px;
  border-radius: 3px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero-content h1 { color: #fff; font-size: 2.8rem; line-height: 1.2; margin-bottom: 18px; }
.hero-content p { font-size: 1.1rem; color: #dfe7ef; margin-bottom: 28px; }
.hero-buttons .btn { margin-right: 10px; margin-bottom: 10px; }




/* ============ Quick Track Card ============ */
.quick-track-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,20,50,.15);
  padding: 24px;
  margin-top: -55px;
  position: relative;
  z-index: 5;
}

/* ============ Stats Strip ============ */
.stats-strip {
  background: var(--brand-navy);
  color: #fff;
  padding: 50px 0;
  margin-top: 50px;
}
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--brand-orange); }
.stats-strip p { color: #cfd9e5; margin-bottom: 0; }

/* ============ About / Content ============ */
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { margin-bottom: 12px; color: #333; }
.check-list i { color: var(--brand-orange); margin-right: 8px; }

.mini-steps { margin: 24px 0; }
.mini-step {
  display: flex; align-items: center;
  background: #fff; border-radius: 8px; padding: 14px 18px;
  margin-bottom: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.05);
  font-weight: 600; color: #333;
}
.mini-step span {
  background: var(--brand-navy); color: #fff;
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 14px; font-size: .85rem; flex-shrink: 0;
}

/* ============ Service Cards ============ */
.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 34px 26px;
  height: 100%;
  box-shadow: 0 6px 20px rgba(0,20,50,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,20,50,.12); }
.service-icon {
  width: 58px; height: 58px; border-radius: 10px;
  background: rgba(255,106,0,.12);
  color: var(--brand-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 18px;
}
.service-card p { color: var(--text-muted); margin-bottom: 0; }

/* ============ Testimonials ============ */
.testimonial-card {
  background: #fff; border-radius: 10px; padding: 28px;
  height: 100%; box-shadow: 0 6px 20px rgba(0,20,50,.06);
}
.stars { color: #ffb400; margin-bottom: 14px; }
.testimonial-card p { color: #444; font-style: italic; }
.testimonial-card h6 { margin-top: 16px; margin-bottom: 0; color: var(--brand-navy); }

/* ============ CTA Band ============ */
.cta-band {
  background: linear-gradient(120deg, var(--brand-navy) 0%, #003a70 100%);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfd9e5; margin-bottom: 26px; }

/* ============ Page Hero (interior pages) ============ */
.page-hero {
  background: linear-gradient(120deg, var(--brand-navy-dark) 0%, var(--brand-navy) 100%);
  color: #fff;
  padding: 70px 0 50px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #cfd9e5; margin-bottom: 0; }

/* ============ Track Search & Results ============ */
.track-search-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,20,50,.1);
  padding: 24px;
  margin-top: -70px;
  position: relative;
  z-index: 5;
}
.sample-hint { font-size: .85rem; color: var(--text-muted); }
.sample-link { font-weight: 600; }

.track-result-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,20,50,.08);
  padding: 32px;
}
.live-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: #17c964; margin: 0 4px;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(23,201,100,.5); }
  70% { box-shadow: 0 0 0 8px rgba(23,201,100,0); }
  100% { box-shadow: 0 0 0 0 rgba(23,201,100,0); }
}
.status-badge {
  padding: 8px 18px; border-radius: 30px; font-weight: 700; font-size: .85rem;
  color: #fff;
}
.status-booked { background: #6c757d; }
.status-transit { background: #0d6efd; }
.status-arrived { background: #6f42c1; }
.status-customs { background: #fd7e14; }
.status-delivered { background: #17c964; }

.route-progress-bar { height: 22px; border-radius: 30px; background: #e9edf2; }
.route-progress-bar .progress-bar {
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-dark));
  font-weight: 700; font-size: .78rem;
}
.current-location { color: var(--brand-navy); font-weight: 600; }

.detail-item {
  display: flex; flex-direction: column;
  background: var(--brand-light); border-radius: 8px; padding: 14px 16px;
}
.detail-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.detail-value { font-weight: 700; color: var(--brand-navy); margin-top: 4px; }

.alert-not-found { color: #b02a37; }
.alert-not-found i { font-size: 2.4rem; }

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: #dfe6ee;
}
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute; left: -30px; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand-navy);
}
.timeline-item-current .timeline-marker { border-color: var(--brand-orange); background: var(--brand-orange); }
.timeline-content h6 { margin-bottom: 4px; color: var(--brand-navy); }
.timeline-date { font-size: .82rem; color: var(--text-muted); }

/* ============ Footer ============ */
.site-footer { background: var(--brand-navy-dark); color: #b9c6d6; }
.footer-top { padding: 60px 0 30px; }
.footer-brand { color: #fff; font-weight: 800; margin-bottom: 14px; }
.footer-brand span { color: var(--brand-orange); }
.site-footer h5, .site-footer h6 { color: #fff; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b9c6d6; }
.footer-links a:hover { color: var(--brand-orange); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; margin-right: 8px;
}
.newsletter-form input { margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0; font-size: .85rem;
}
.footer-legal a { color: #b9c6d6; margin-left: 18px; }

@media (max-width: 767px) {
  .hero-slide { height: 520px; }
  .hero-content h1 { font-size: 2rem; }
  .quick-track-card, .track-search-card { margin-top: 20px; }
}
