/* ============================================================
   MOK TRANSPORT SERVICES \2014  MASTER STYLESHEET
   All footer, nav, hero, and component styles live here.
   Do NOT add footer/nav styles inside individual HTML files.
============================================================ */

/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* ── GLOBAL ─────────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
  font-family: 'Roboto', sans-serif;
  background-color: #ffffff;
  color: #333;
  margin: 0;
}

h4 { font-weight: 600; margin-bottom: 20px; color: #0D47A1; }
h5 { font-weight: 500; }
h6 { font-weight: 600; color: #0D47A1; }

p { color: #555; font-size: 15px; line-height: 1.7; }

/* ── NAVBAR ─────────────────────────────────────────────── */
nav {
  background-color: #0D47A1;
  padding: 0 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.brand-logo img { height: 48px; padding: 6px 0; }

nav ul li a {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
nav ul li a:hover,
nav ul li.active > a { color: #ffffff !important; }

nav ul li.active > a {
  border-bottom: 3px solid rgba(255,255,255,0.7);
  padding-bottom: 2px;
}

/* ── HERO SLIDER ─────────────────────────────────────────── */
.slider                   { height: 420px !important; }
.slider .slides           { height: 420px !important; }
.slider .slides li img    { height: 420px; object-fit: cover; filter: brightness(60%); }
.slider .caption          { top: 38%; }
.slider .caption h3       { font-weight: 800; font-size: 2rem; color: #ffffff; text-shadow: 0 2px 16px rgba(0,0,0,0.7); }
.slider .caption h5       { font-weight: 600; color: #ffffff; text-shadow: 0 1px 8px rgba(0,0,0,0.6); opacity: 1; }
.slider .caption .btn-large {
  background: #1565C0;
  margin-top: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ── HERO CONTAINER (static pages) ──────────────────────── */
.hero-container {
  position: relative;
  height: 45vh;
  min-height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 71, 161, 0.60);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-content h3 {
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin-bottom: 8px;
  color: #fff;
}

.hero-content h5 {
  font-weight: 300;
  margin-top: 0;
  color: rgba(255,255,255,0.85);
}

/* Page-specific hero backgrounds */
.hero-quote   { background-image: url('images/delivering_cargo.jpg'); }
.hero-contact { background-image: url('images/Blue_truck.jpg'); }
.hero-about   { background-image: url('images/cargo_shipment_lady.jpg'); }
.hero-services{ background-image: url('images/delivering_cargo.jpg'); }
.hero-truck   { background-image: url('images/Blue_truck.jpg'); }

/* ── SECTIONS ────────────────────────────────────────────── */
.page-section   { padding: 70px 0; }
.section-padding{ padding: 70px 0; }

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0D47A1;
  margin-bottom: 18px;
}

.about-text {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 16px;
}

.narrow-container { max-width: 820px; margin: 0 auto; }

/* ── CARDS ───────────────────────────────────────────────── */
.card { border-radius: 12px; }

/* SERVICE CARDS \2014  equal height grid */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 28px 20px;
  text-align: center;
}

.service-card .card-content i {
  margin-bottom: 14px;
  color: #0D47A1;
}

.service-card .card-content h6 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0D47A1;
  line-height: 1.3;
  min-height: 38px; /* keeps titles aligned */
}

.service-card .card-content p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.6;
}

/* Equal-height row fix */
.services-row {
  display: flex;
  flex-wrap: wrap;
}

.services-row .col {
  display: flex;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(13,71,161,0.18);
}

/* FLEET CARDS */
.fleet-card { border-radius: 12px; overflow: hidden; }
.fleet-card .card-image img { height: 220px; object-fit: cover; }

/* VALUE CARDS */
.value-card {
  padding: 30px 24px;
  background: #fff;
  border-radius: 10px;
  transition: box-shadow 0.25s;
}
.value-card:hover { box-shadow: 0 8px 25px rgba(13,71,161,0.12); }

/* CONTACT CARD */
.contact-card   { padding: 24px; border-radius: 10px; }
.contact-textarea { min-height: 150px !important; }

/* ── PROCESS STEPS ───────────────────────────────────────── */
.process-step { padding: 28px 20px; text-align: center; }
.step-number {
  font-size: 30px;
  font-weight: 800;
  color: #0D47A1;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}

/* ── PARTNERSHIP CARDS ───────────────────────────────────── */
.partnership-row { margin-top: 40px; }

.partnership-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 10px;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}

.partnership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(13,71,161,0.15);
}

.partnership-image {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.partnership-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.partnership-card h6 { font-weight: 600; color: #0D47A1; margin-top: 8px; }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section { padding: 60px 20px; }

.cta-btn {
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 16px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* ── AFRICA ROUTES ANIMATION ─────────────────────────────── */
.route-line {
  position: absolute;
  height: 3px;
  background: #0D47A1;
  animation: moveRoute 3s infinite alternate ease-in-out;
  opacity: 0.7;
  border-radius: 2px;
}
.route1 { top: 45%; left: 30%; width: 180px; }
.route2 { top: 52%; left: 40%; width: 200px; }
.route3 { top: 60%; left: 35%; width: 150px; }

@keyframes moveRoute {
  from { transform: scaleX(0.6); }
  to   { transform: scaleX(1); }
}

/* ── HERO OVERLAY (for services slider caption) ──────────── */
.hero-overlay {
  background: rgba(0,0,0,0.40);
  padding: 28px 36px;
  border-radius: 8px;
  display: inline-block;
}

/* ── TRUST BADGES ────────────────────────────────────────── */
.trust-badge {
  padding: 28px;
  border-radius: 12px;
  transition: 0.35s ease;
  animation: floatBadge 4s ease-in-out infinite;
}
.trust-badge img { height: 76px; margin-bottom: 14px; }
.trust-badge:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ── QUOTE PAGE SPECIFIC ─────────────────────────────────── */
.quote-wrapper { margin: 50px 0 70px; }
.quote-card    { padding: 38px 40px; border-radius: 14px; }

.shipment-type-btn {
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 14px !important;
  height: auto !important;
  line-height: 1.4 !important;
}

.hidden { display: none; }

.flag-img {
  width: 24px;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 2px;
}

.service-option-card {
  border: 2px solid #e3eaf5;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #fff;
  height: 100%;
}

.service-option-card:hover {
  border-color: #0D47A1;
  box-shadow: 0 6px 24px rgba(13,71,161,0.14);
  transform: translateY(-4px);
}

.service-option-card i {
  font-size: 42px;
  color: #0D47A1;
  margin-bottom: 12px;
}

.service-option-card h6 {
  font-size: 16px;
  font-weight: 700;
  color: #0D47A1;
  margin-bottom: 8px;
}

.service-option-card p {
  font-size: 13px;
  color: #777;
  margin-bottom: 18px;
}

.service-option-card .btn {
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* ── TRUCKING PAGE ───────────────────────────────────────── */
.truck-form-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: 0 4px 30px rgba(13,71,161,0.10);
}

.truck-route-display {
  background: #f0f4ff;
  border-radius: 10px;
  padding: 20px 24px;
  border-left: 4px solid #0D47A1;
  margin-top: 20px;
}

.truck-route-display .distance-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0D47A1;
  line-height: 1;
}

.truck-route-display .distance-unit {
  font-size: 14px;
  color: #666;
}

.truck-route-display .duration-text {
  font-size: 14px;
  color: #555;
  margin-top: 4px;
}

.contact-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f0fe;
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #0D47A1;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER \2014  SINGLE DEFINITION (used on every page)
═══════════════════════════════════════════════════════════ */
.main-footer {
  background: #0D47A1;
  color: #fff;
  padding: 72px 0 0;
  font-size: 14px;
}

/* Column layout \2014  generous spacing between columns */
.main-footer .footer-col {
  padding: 0 36px;
  margin-bottom: 40px;
}

/* Left column slightly more padding to anchor it */
.main-footer .footer-col:first-child {
  padding-left: 16px;
  padding-right: 48px;
}

/* Footer logo */
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 16px;
}
.footer-logo {
  height: 38px;
  display: block;
  filter: none;
  opacity: 1;
}

/* Headings */
.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* Body text */
.footer-description {
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  font-size: 13.5px;
}

.main-footer p {
  color: rgba(255,255,255,0.78);
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.main-footer p i.tiny {
  font-size: 15px;
  color: #1565C0;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Quick links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 13px; }

.footer-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s, padding-left 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: ""\203A"";
  color: #1565C0;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

/* Social icons \2014  hidden per client request */
.footer-social { display: none; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.78);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  text-decoration: none;
}

.footer-social a:hover {
  background: #1565C0;
  border-color: #1565C0;
  color: #fff;
}

.footer-social a i { font-size: 18px; }

/* Bottom bar */
.footer-bottom {
  background: rgba(0,0,0,0.20);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 16px 20px;
  margin-top: 40px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.50);
  text-align: center;
  letter-spacing: 0.3px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: #fff; }

/* Responsive footer */
@media (max-width: 601px) {
  .main-footer { padding-top: 40px; }
  .main-footer .footer-col { padding: 0 14px !important; }
  .footer-bottom { font-size: 11.5px; padding: 14px 12px; }
}



