/*
Theme Name: Rapidtigo
Theme URI: https://rapidtigo.com
Author: Rapidtigo
Description: Rapidtigo – Global Logistics & Freight Forwarding | 220+ Countries
Version: 1.0
Text Domain: rapidtigo
*/

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

/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════ */
:root {
  --navy:        #0a1628;
  --navy-mid:    #0f2040;
  --navy-light:  #1a3a5c;
  --gold:        #c9a84c;
  --gold-light:  #e8c96a;
  --gold-dim:    rgba(201,168,76,0.15);
  --cyan:        #00d4ff;
  --white:       #ffffff;
  --text-muted:  #8fa0b3;
  --text-body:   #c8d6e5;
  --border:      rgba(201,168,76,0.18);
  --border-soft: rgba(255,255,255,0.07);
  --shadow-sm:   0 2px 8px  rgba(0,0,0,0.25);
  --shadow:      0 8px 32px rgba(0,0,0,0.40);
  --shadow-lg:   0 16px 56px rgba(0,0,0,0.55);
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Raleway', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul  { list-style: none; }
button { font-family: inherit; }
h1, h2, h3, h4, h5 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

/* ═══════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════ */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.gold       { color: var(--gold); }
.cyan       { color: var(--cyan); }
.text-center { text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--border);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 900;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}
.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.25);
}

/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 28px;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  background: var(--gold);
  color: var(--navy);
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 800 !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold-light) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    padding: 28px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,40,0.92) 0%,
    rgba(10,22,40,0.65) 60%,
    rgba(10,22,40,0.80) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.hero-eyebrow-line {
  width: 40px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.hero-eyebrow span {
  font-size: 12px;
  letter-spacing: 3.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.02;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero-sub {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--text-body);
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 52px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}
.stat-item { text-align: left; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* Slider controls */
.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.dot.active {
  background: var(--gold);
  width: 26px;
  border-radius: 4px;
}
.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  background: rgba(10,22,40,0.5);
  border: 1px solid var(--gold);
  color: var(--gold);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.slider-btn:hover {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

@media (max-width: 600px) {
  .slider-btn { display: none; }
  .hero-stats  { gap: 24px; }
  .stat-num    { font-size: 28px; }
}

/* ═══════════════════════════════════════════════════
   TICKER
═══════════════════════════════════════════════════ */
#ticker {
  background: var(--gold);
  padding: 11px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.ticker-inner {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════
   TRACKING SECTION
═══════════════════════════════════════════════════ */
#tracking {
  background: var(--navy-mid);
  padding: 88px 0 0;
}
.track-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  max-width: 100%;
  margin: 0;
  box-shadow: var(--shadow);
}
.track-form {
  display: flex;
  gap: 12px;
  margin: 28px 0;
}
.track-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--white);
  font-size: 15px;
  font-family: 'Raleway', sans-serif;
  outline: none;
  transition: var(--transition);
}
.track-input:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.07);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.track-input::placeholder { color: var(--text-muted); }
.track-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-weight: 900;
}
.track-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.track-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
#track-result {
  display: none;
  margin-top: 36px;
  animation: fadeSlideUp 0.4s ease;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .track-card  { padding: 32px 20px; }
  .track-form  { flex-direction: column; }
  .track-btn   { width: 100%; justify-content: center; }
}

/* ── Tracking Result UI ─────────────────────────── */
.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.result-id {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.status-badge {
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-pending    { background: rgba(201,168,76,.15);  color: var(--gold);    border: 1px solid rgba(201,168,76,.3); }
.status-processing { background: rgba(255,165,  0,.15); color: #ffa500;        border: 1px solid rgba(255,165,0,.3); }
.status-shipped    { background: rgba(  0,212,255,.15); color: var(--cyan);    border: 1px solid rgba(0,212,255,.3); }
.status-transit    { background: rgba(100,149,237,.15); color: #6495ed;        border: 1px solid rgba(100,149,237,.3); }
.status-clearance  { background: rgba(138, 43,226,.15); color: #9932cc;        border: 1px solid rgba(138,43,226,.3); }
.status-delivered  { background: rgba(  0,200, 81,.15); color: #00c851;        border: 1px solid rgba(0,200,81,.3); }
.status-hold       { background: rgba(255,100,  0,.15); color: #ff6400;        border: 1px solid rgba(255,100,0,.3); }
.status-returned   { background: rgba(220, 50, 50,.15); color: #e05050;        border: 1px solid rgba(220,50,50,.3); }

/* Progress bar */
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0;
  position: relative;
}
.progress-bar::before {
  content: '';
  position: absolute;
  top: 16px; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 0;
}
.progress-fill {
  position: absolute;
  top: 16px; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
  border-radius: 2px;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  position: relative;
}
.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.step-dot.done   { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.step-dot.active { background: rgba(201,168,76,0.2); border-color: var(--gold); color: var(--gold); }
.step-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  max-width: 60px;
  line-height: 1.3;
}

/* Details grid */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.detail-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 14px 16px;
  transition: var(--transition);
}
.detail-item:hover { border-color: var(--border); }
.detail-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 700;
}
.detail-value {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  word-break: break-word;
}

/* Timeline */
.timeline { margin-top: 24px; }
.tl-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: flex-start;
}
.tl-item:last-child { border-bottom: none; }
.tl-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.tl-info .tl-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 3px;
  color: var(--white);
}
.tl-info .tl-meta {
  font-size: 12px;
  color: var(--text-muted);
}
.not-found {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.not-found h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 22px;
}

/* WPCargo sections */
.tr-section {
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tr-section-title {
  padding: 12px 18px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.12em;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  color: var(--gold);
}
.tr-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px,1fr));
}
.tr-row {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-right: 1px solid rgba(255,255,255,0.03);
}
.tr-row:last-child { border-bottom: none; }
.tr-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 700;
}
.tr-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  word-break: break-word;
}
.tr-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 640px) { .tr-two-col { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(30px, 5vw, 52px);
  margin-bottom: 16px;
  line-height: 1.05;
}
.section-header p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════ */
#services { background: var(--navy); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border);
  background: rgba(201,168,76,0.06);
  box-shadow: var(--shadow);
}
.service-icon {
  font-size: 34px;
  margin-bottom: 18px;
  display: block;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--white);
}
.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   WORKERS / ABOUT IMAGE BANNER
═══════════════════════════════════════════════════ */
.workers-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}
.workers-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.workers-img-wrap:hover img { transform: scale(1.02); }
.img-banner {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* ═══════════════════════════════════════════════════
   FEATURES / WHY US
═══════════════════════════════════════════════════ */
#features { background: var(--navy-mid); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--border);
  background: rgba(201,168,76,0.06);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  font-size: 30px;
  margin-bottom: 14px;
  display: block;
}
.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--white);
}
.feature-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════════════ */
#reviews { background: var(--navy); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 24px;
}
.review-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  background: rgba(201,168,76,0.04);
}
.review-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.reviewer-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(201,168,76,0.25);
}
.reviewer-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}
.reviewer-location {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════
   PARTNERS STRIP
═══════════════════════════════════════════════════ */
#partners {
  background: var(--navy-mid);
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.partner-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 10px 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: default;
}
.partner-badge:hover {
  border-color: var(--border);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}

/* ═══════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════ */
#faq { background: var(--navy-mid); }
.faq-list { max-width: 900px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: rgba(255,255,255,0.025);
}
.faq-item:hover {
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.faq-item.open-item {
  border-color: var(--border);
  background: rgba(201,168,76,0.04);
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}

.faq-q {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  transition: var(--transition);
  color: var(--white);
  gap: 16px;
}
.faq-q:hover { background: rgba(201,168,76,0.05); }
.faq-q.open  { background: rgba(201,168,76,0.06); color: var(--gold); }

.faq-q-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-q.open .faq-q-icon {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.faq-q .arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  background: rgba(201,168,76,0.06);
}
.faq-q.open .arrow {
  transform: rotate(180deg);
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.faq-a {
  display: none;
  padding: 0 28px 28px 28px;
  animation: faqOpen 0.3s ease;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-a-inner {
  border-top: 1px solid var(--border-soft);
  padding-top: 22px;
}

.faq-a p {
  color: var(--text-body);
  font-size: 15.5px;
  line-height: 1.85;
  margin-bottom: 14px;
  font-weight: 400;
}
.faq-a p:last-child { margin-bottom: 0; }

.faq-a strong {
  color: var(--white);
  font-weight: 700;
}

.faq-a .faq-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  margin: 4px 4px 4px 0;
}

.faq-a-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
#contact {
  background: var(--navy);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--border);
  background: rgba(201,168,76,0.06);
  transform: translateY(-3px);
}
.contact-card h3 {
  font-size: 18px;
  margin: 12px 0 8px;
  color: var(--white);
}
.contact-card p,
.contact-card a { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.contact-card a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
#footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 68px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 52px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 16px;
  max-width: 290px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--gold);
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.footer-contact-item .icon { font-size: 14px; margin-top: 2px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════════════════ */
#scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(201,168,76,0.4);
}
#scroll-top.show { opacity: 1; pointer-events: auto; }
#scroll-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .track-card { padding: 32px 20px; }
  .services-grid,
  .features-grid,
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .workers-img-wrap img { height: 280px; }
}
@media (max-width: 480px) {
  .footer-grid  { grid-template-columns: 1fr; }
  .hero-btns    { flex-direction: column; }
  .btn-primary,
  .btn-outline  { justify-content: center; width: 100%; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .progress-bar { gap: 0; }
  .step-label   { display: none; }
}

/* ═══════════════════════════════════════════════════
   LEAFLET MAP OVERRIDES
═══════════════════════════════════════════════════ */
#ge-track-map { border-radius: 12px; overflow: hidden; }
#ge-track-map-inner { width: 100%; height: 380px; border-radius: 12px; }

.leaflet-container {
  background: #1a2744 !important;
  font-family: 'Raleway', sans-serif !important;
  border-radius: 12px;
}
.leaflet-popup-content-wrapper {
  background: var(--navy-mid) !important;
  color: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  box-shadow: var(--shadow) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
}
.leaflet-popup-tip { background: var(--navy-mid) !important; }
.leaflet-popup-close-button { color: var(--gold) !important; font-size: 18px !important; }
.leaflet-control-zoom a {
  background: var(--navy-mid) !important;
  color: var(--gold) !important;
  border-color: var(--border) !important;
  font-weight: 700 !important;
}
.leaflet-control-zoom a:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}
.leaflet-control-attribution {
  background: rgba(10,22,40,0.7) !important;
  color: var(--text-muted) !important;
  font-size: 10px !important;
  border-radius: 4px !important;
}
.leaflet-control-attribution a { color: var(--gold) !important; }

/* ── Live tracking badge pulse ─────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}

/* ═══════════════════════════════════════════════════
   TRACKING HUD OVERLAY
═══════════════════════════════════════════════════ */
#rt-hud {
  animation: hudFadeIn 0.4s ease;
}
@keyframes hudFadeIn {
  from { opacity:0; transform:translateY(6px); }
  to   { opacity:1; transform:translateY(0); }
}
#ge-track-map-inner { position:relative; }

/* Live tracking badge on result card */
.rt-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: .06em;
}
.rt-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #c9a84c;
  animation: pulse 1.2s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   FULL-WIDTH MAP ON TRACKING PAGE
═══════════════════════════════════════════════════ */
#tr-map-section {
  margin-left:  -28px;
  margin-right: -28px;
  margin-bottom: -36px;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}
#ge-track-map {
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
}
#ge-track-map-inner {
  width: 100% !important;
  height: 480px !important;
}
/* A→B label row */
#tr-map-section > div:first-child {
  padding: 14px 20px 10px;
}

@media (max-width: 600px) {
  #tr-map-section {
    margin-left:  -20px;
    margin-right: -20px;
  }
  #ge-track-map-inner {
    height: 400px !important;
  }
}

/* ═══════════════════════════════════════════════════
   TRACK PAGE — FULL-BLEED MAP
═══════════════════════════════════════════════════ */
#main-track-card {
  padding-left:  24px;
  padding-right: 24px;
  padding-bottom: 0;
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
}

/* Map section bleeds edge-to-edge out of the card */
#tr-map-section {
  margin-left:  -24px !important;
  margin-right: -24px !important;
  margin-top:   20px;
  overflow: hidden;
  border-radius: 0;
}
#ge-track-map {
  width: 100% !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
}
#ge-track-map-inner,
#ge-track-map-inner > div {
  width:  100% !important;
  height: 480px !important;
}

/* A→B label strip */
#tr-map-section .tr-section-title,
#tr-map-section > div:first-child {
  padding: 16px 24px 10px;
  background: rgba(255,255,255,0.03);
}

@media (max-width: 768px) {
  #main-track-card { padding-left:16px; padding-right:16px; border-radius:12px 12px 0 0; }
  #tr-map-section  { margin-left:-16px !important; margin-right:-16px !important; }
  #ge-track-map-inner, #ge-track-map-inner > div { height:400px !important; }
  .track-form { flex-direction:column; }
  .track-btn  { width:100%; }
}

/* Leaflet/Google map fills its container */
.leaflet-container { width:100% !important; height:100% !important; }
