/* ===========================
   MAHI WORLDWIDE LOGISTICS
   Global Styles
   =========================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

:root {
  --primary: #1a5276;
  --primary-dark: #154360;
  --secondary: #e67e22;
  --accent: #2ecc71;
  --teal: #1abc9c;
  --light-bg: #f4f6f8;
  --card-bg: #ffffff;
  --text-dark: #1a1a2e;
  --text-gray: #555;
  --text-light: #888;
  --red: #e74c3c;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(26,82,118,0.12);
  --shadow-hover: 0 8px 32px rgba(26,82,118,0.22);
  --radius: 16px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   NAVBAR — GLOBAL STANDARD
   68px tall, logo 58px, left-aligned
   Applied to ALL pages uniformly
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: 90px;                          /* fixed height — no padding tricks */
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(26,82,118,0.10);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 28px rgba(26,82,118,0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;   /* logo LEFT, links RIGHT */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 90px;
}

/* Logo — perfectly square, fills full navbar height
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 90px;
  flex-shrink: 0;
  padding: 0;
}

.nav-logo img {
  height: 90px;          /* full navbar height */
  /* width: 90px;           /* same as height — perfectly square */
  /* object-fit: contain;
  display: block;
  transition: all 0.3s ease;
}  */
    .nav-logo {
      display: flex; align-items: center;
      height: 90px;
      padding: 0;
      padding-top: 13px !important;
    }
    /* Logo — perfectly square, fills full navbar height */
    .nav-logo img {
      height: 160px !important;
      width: 160px !important;
      object-fit: contain;
      display: block;
      transition: all 0.3s;
    }
    .navbar.scrolled .nav-logo img {
      height: 160px !important;
      width: 160px !important;
    }
/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 7px 15px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: white;
}

.nav-cta {
  background: var(--secondary) !important;
  color: white !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
}

.nav-cta:hover {
  background: #d35400 !important;
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
}

.btn-primary { background: var(--secondary); color: white; }
.btn-primary:hover { background: #d35400; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(230,126,34,0.4); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: white; color: var(--primary); border-color: white; transform: translateY(-3px); }

/* ===========================
   INTRO SECTION
   =========================== */
.intro-section { padding: 80px 0; background: white; }

.intro-text {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.5;
}

.intro-text span { color: var(--secondary); }

/* ===========================
   SERVICES CARDS
   =========================== */
.services-section { padding: 20px 0 80px; background: white; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card.express {
  background: linear-gradient(135deg, #1a5276 0%, #2471a3 100%);
  color: white;
}

.service-card.fleet {
  background: linear-gradient(135deg, #1a5276 0%, #2471a3 100%);
  color: white;
}

.service-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.service-card h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; }

.service-card ul { list-style: none; margin-bottom: 28px; }

.service-card ul li {
  padding: 6px 0;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  opacity: 0.9;
}

.service-card ul li::before { content: '•'; color: var(--secondary); font-weight: bold; margin-top: 2px; }

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  width: fit-content;
}

.btn-explore:hover { background: #d35400; transform: translateX(4px); }

/* ===========================
   WHY SECTION
   =========================== */
.why-section { padding: 80px 0; background: #fef9f5; position: relative; }

.section-label {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 6px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.why-section h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 800; color: var(--primary); margin-bottom: 32px; max-width: 700px; }

.why-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

.why-dot {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-dot::after { content: '✓'; color: white; font-size: 14px; font-weight: bold; }

/* ===========================
   HOW SECTION
   =========================== */
.how-section { padding: 80px 0; background: white; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-header .section-label {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  padding: 6px 16px;
}

.section-header h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.section-header p { color: var(--text-gray); max-width: 600px; margin: 0 auto; font-size: 16px; }

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

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s;
}

.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }

.feature-icon {
  width: 52px;
  height: 52px;
  background: #fef3e8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-gray); line-height: 1.6; }

/* ===========================
   TRUSTED BY
   =========================== */
.trusted-section { padding: 60px 0; background: var(--light-bg); }
.trusted-section .section-header p { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; color: var(--text-light); font-weight: 600; }

.clients-strip { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 36px; }

.client-pill {
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.client-pill:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ===========================
   STATS SECTION
   =========================== */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
}

.stats-tagline { text-align: center; margin-bottom: 48px; }
.stats-tagline .section-label { background: rgba(255,255,255,0.2); color: white; }
.stats-tagline h2 { font-size: clamp(24px, 4vw, 40px); color: white; font-weight: 800; margin-bottom: 10px; }
.stats-tagline p { color: rgba(255,255,255,0.8); font-size: 16px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 24px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.3s;
}

.stat-item:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  color: var(--secondary);
  display: block;
}

.stat-label { font-size: 12px; color: rgba(255,255,255,0.8); margin-top: 6px; line-height: 1.4; }
/* ===========================
   SCROLL ANIMATION
   =========================== */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* zoom animation for boxes */

.stat-item {
  text-align: center;
  padding: 24px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.4s;
  transform: scale(0.8);
  opacity: 0;
}

.stat-item.show {
  transform: scale(1);
  opacity: 1;
}

.stat-item:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
}
/* ===========================
   FOOTER
   =========================== */
.footer {
  background: linear-gradient(135deg, #1a1a2e, var(--primary-dark));
  color: white;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand img {
  height: 106px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }

.footer-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 14px; transition: all 0.3s; }
.footer-links a:hover { color: var(--secondary); padding-left: 6px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item .icon { width: 20px; min-width: 20px; text-align: center; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 13px; }

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s;
  cursor: pointer;
}

.social-btn:hover { background: var(--secondary); transform: translateY(-3px); }

/* ===========================
   PAGE HEADER (inner pages)
   offset = 68px navbar
   =========================== */
.page-header {
  margin-top: 90px;                 /* exactly navbar height */
  padding: 80px 0 72px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 { font-size: clamp(30px, 5vw, 56px); font-weight: 800; color: white; margin-bottom: 12px; position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 18px; position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: var(--secondary); }

/* ===========================
   ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   MOBILE / RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: white;
    flex-direction: column;
    justify-content: center;
    padding: 40px 24px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; text-align: center; padding: 12px; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

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