:root {
  --navy: #0b2348;
  --navy-2: #0f3163;
  --blue: #1c67d5;
  --orange: #f7921e;
  --orange-dark: #e07d0a;
  --ink: #1d1d1d;
  --muted: #555;
  --line: #e6edf5;
  --soft: #f5fbfd;
  --white: #fff;
  --shadow: 0 18px 50px rgba(11, 35, 72, .1);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--muted);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: Montserrat, Inter, sans-serif;
  color: var(--navy);
  font-weight: 800;
}
a { text-decoration: none; color: inherit; transition: .25s ease; }
img { max-width: 100%; height: auto; }
.container { max-width: 1240px; }

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
}
.topbar a, .topbar span { color: #fff; }
.topbar i { color: var(--orange); margin-right: 6px; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.topbar-links a + a {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.25);
}
.topbar-links a:hover { color: var(--orange); }

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 8px 24px rgba(11, 35, 72, .06);
}
.navbar-brand img { height: 64px; width: auto; }
.navbar-nav .nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .2px;
  padding: 8px 12px !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--orange); }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  border-radius: 30px;
  padding: 8px 18px !important;
  margin-left: 6px;
}
.nav-cta:hover, .nav-cta.active { background: var(--navy); color: #fff !important; }
.nav-login {
  border: 1px solid var(--orange);
  color: var(--orange) !important;
  border-radius: 30px;
  padding: 8px 18px !important;
  margin-left: 8px;
}
.nav-login:hover, .nav-login.active {
  background: var(--orange);
  color: #fff !important;
}
.dropdown-menu {
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
}
.dropdown-item { font-weight: 600; border-radius: 8px; }
.dropdown-item:hover { background: var(--orange); color: #fff; }

.btn-orange, .btn-navy, .btn-ghost, .btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 30px;
  font-weight: 700;
  padding: 12px 24px;
  border: 0;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { background: #fff; color: var(--navy); }

.hero {
  position: relative;
  min-height: 680px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(11,35,72,.86) 0%, rgba(28,103,213,.52) 55%, rgba(11,35,72,.78) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-copy { max-width: 760px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 span { display: block; color: var(--orange); }
.hero p { color: rgba(255,255,255,.88); font-size: 17px; }

.hero-track {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  color: var(--muted);
  max-width: 640px;
  margin: 28px auto 0;
  text-align: left;
}
.hero-track label { font-size: 12px; font-weight: 700; color: var(--navy); }
.hero-track .form-control, .hero-track .form-select {
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 46px;
}

.section { padding: 80px 0; }
.section-soft { background: var(--soft); }
.eyebrow {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}
.lead-copy { font-size: 16px; line-height: 1.7; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card, .trust-card, .service-card, .step-card, .stat-card, .advantage-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(11,35,72,.06);
  height: 100%;
}
.icon-bubble {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(28,103,213,.1);
  color: var(--blue);
  font-size: 22px;
  margin-bottom: 16px;
}
.icon-bubble.orange { background: rgba(247,146,30,.14); color: var(--orange); }
.feature-card h4, .trust-card h4, .service-card h3 { font-size: 18px; margin-bottom: 10px; }

.discount-banner {
  background: linear-gradient(90deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 24px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.discount-banner h2, .discount-banner p { color: #fff; }
.discount-banner h2 span { color: var(--orange); }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.network-panel {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.network-panel img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.network-copy { padding: 40px; }

.stats {
  background: var(--navy);
  color: #fff;
  padding: 70px 0;
}
.stat-card { background: rgba(255,255,255,.06); color: #fff; text-align: center; }
.stat-card h3 { color: var(--orange); font-size: 36px; margin-bottom: 6px; }
.stat-card p { color: rgba(255,255,255,.8); margin: 0; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 0 0 22px; overflow: hidden; }
.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.service-card .card-pad { padding: 20px 22px 4px; }
.service-card .days {
  display: inline-block;
  background: rgba(247,146,30,.12);
  color: var(--orange);
  font-weight: 800;
  border-radius: 30px;
  padding: 4px 12px;
  font-size: 12px;
  margin-bottom: 12px;
}

.testimonial-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  height: 100%;
}
.testimonial-card p { font-style: italic; color: #334; }
.author { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800;
}
.author strong { display: block; color: var(--navy); }
.author span { font-size: 13px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { text-align: center; }
.step-num {
  width: 36px; height: 36px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}

.page-hero {
  background:
    linear-gradient(100deg, rgba(11,35,72,.9), rgba(28,103,213,.75)),
    url("../images/bg_cover.jpg") center/cover no-repeat;
  color: #fff;
  padding: 70px 0;
}
.page-hero.about-hero {
  background-image: linear-gradient(100deg, rgba(11,35,72,.88), rgba(28,103,213,.7)), url("../images/about.png");
}
.page-hero.services-hero {
  background-image: linear-gradient(100deg, rgba(11,35,72,.88), rgba(28,103,213,.7)), url("../images/more-info.jpg");
}
.page-hero.track-hero {
  background-image: linear-gradient(100deg, rgba(11,35,72,.88), rgba(28,103,213,.7)), url("../images/about1.jpg");
}
.page-hero.contact-hero {
  background-image: linear-gradient(100deg, rgba(11,35,72,.88), rgba(28,103,213,.7)), url("../images/s2.jpg");
}
.page-hero h1 { color: #fff; }
.page-hero p, .page-hero a { color: rgba(255,255,255,.85); }

.about-photo { border-radius: 24px; box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.about-video {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.about-video video { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }
.advantage-item { display: flex; gap: 14px; align-items: flex-start; }
.advantage-item i { color: var(--orange); margin-top: 4px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-control, .form-select {
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
textarea.form-control { min-height: 140px; }

.track-wrap { background: var(--soft); padding: 70px 0 90px; }
.track-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.shipment-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}
.shipment-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.shipment-head h3 { font-size: 18px; margin: 0; }
.status-pill {
  background: #eef4ff; color: var(--blue);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700;
}
.status-pill.delivered { background: #e8f8ee; color: #15803d; }
.status-pill.failed { background: #fdecec; color: #c0392b; }
.fk-tracker { position: relative; margin: 42px 8px 18px; }
.fk-track-rail {
  position: relative; height: 6px; background: #e5e7eb; border-radius: 99px; margin: 0 10% 18px;
}
.fk-track-fill {
  height: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); border-radius: 99px;
}
.fk-truck {
  position: absolute; top: 50%; left: 0; width: 46px; height: 46px;
  background: var(--orange); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(247,146,30,.18);
}
.fk-truck.blinking { animation: truckBlink .85s ease-in-out infinite; }
.fk-truck.delivered { background: #16a34a; animation: none; box-shadow: 0 0 0 6px rgba(22,163,74,.18); }
.fk-truck.failed { background: #111827; }
@keyframes truckBlink {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: .45; transform: translate(-50%, -50%) scale(1.12); }
}
.fk-steps { display: flex; justify-content: space-between; }
.fk-step { width: 20%; text-align: center; }
.fk-dot {
  width: 14px; height: 14px; border-radius: 50%; background: #d1d5db;
  border: 3px solid #fff; box-shadow: 0 0 0 2px #d1d5db; display: inline-block; margin-bottom: 8px;
}
.fk-step.done .fk-dot, .fk-step.active .fk-dot { background: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.fk-step.active .fk-dot { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.fk-label { display: block; font-size: 13px; font-weight: 700; color: #9ca3af; }
.fk-step.done .fk-label, .fk-step.active .fk-label { color: #111827; }
.fk-current-note { text-align: center; color: var(--blue); font-weight: 600; margin: 4px 0 18px; }
.track-detail-row { display: grid; grid-template-columns: 280px 1fr; gap: 20px; }
.ship-box, .activity-wrap { background: var(--soft); border-radius: 12px; padding: 16px; }
.ship-box h5, .activity-wrap h5 { font-size: 13px; text-transform: uppercase; color: var(--orange); }
.activity-item { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.activity-item:before {
  content: ""; position: absolute; left: 7px; top: 16px; bottom: 0; width: 2px; background: #e5e7eb;
}
.activity-item:last-child:before { display: none; }
.activity-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); margin-top: 3px; }
.activity-item:first-child .activity-dot { background: var(--orange); }
.invalid-record { padding: 14px 16px; background: #c0392b; color: #fff; border-radius: 10px; margin-top: 16px; }
.track-loader { display: none; text-align: center; padding: 28px; color: var(--blue); font-weight: 600; }

.login-choice { padding: 80px 0; background: var(--soft); }
.portal-card {
  background: #fff; border-radius: 24px; padding: 36px; box-shadow: var(--shadow); height: 100%;
}
.portal-card.admin { border-top: 5px solid var(--navy); }
.portal-card.customer { border-top: 5px solid var(--orange); }
.portal-card h2 { font-size: 26px; }
.portal-icon {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  font-size: 28px; margin-bottom: 18px;
}
.portal-card.admin .portal-icon { background: rgba(11,35,72,.08); color: var(--navy); }
.portal-card.customer .portal-icon { background: rgba(247,146,30,.14); color: var(--orange); }

.cta-band { background: linear-gradient(90deg, var(--orange), #ffb347); padding: 0; }
.cta-band-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 0;
}
.cta-band h3 { color: var(--navy); margin-bottom: 6px; }
.cta-band p { color: var(--navy); margin: 0; max-width: 640px; }
.cta-band .btn-ghost { border-color: var(--navy); color: var(--navy); }
.cta-band .btn-ghost:hover { background: var(--navy); color: #fff; }

.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 60px 0 20px; }
.footer-logo { height: 70px; background: #fff; border-radius: 12px; padding: 6px 10px; }
.site-footer h5 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.site-footer a { display: block; color: rgba(255,255,255,.78); margin-bottom: 8px; }
.site-footer a:hover { color: var(--orange); }
.footer-tag { color: var(--orange); font-weight: 700; font-size: 13px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 32px; padding-top: 16px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px;
}

.form-alert { display: none; }

@media (max-width: 991px) {
  .feature-grid, .trust-grid, .service-grid, .process-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .discount-banner, .cta-band-inner { flex-direction: column; text-align: center; }
  .navbar-brand img { height: 52px; }
  .nav-cta, .nav-login { display: inline-block; margin: 8px 0; width: fit-content; }
  .track-detail-row { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .feature-grid, .trust-grid, .service-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; padding: 48px 0; }
  .section { padding: 56px 0; }
  .fk-label { font-size: 11px; }
}
