:root {
  --primary: #0a1a2f; /* deep navy */
  --secondary: #0099a8; /* sea teal */
  --accent: #c9a227; /* soft gold */
  --bg: #f7f9fa;
  --muted: #6b7a86;
  --card-shadow: 0 6px 24px rgba(7, 18, 30, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* HEADER */
header {
  width: 100%;
  padding: 1.2rem 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(10, 26, 47, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10;
}
#logo-placeholder {
  width: 160px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #d6d6d6;
  justify-content: center;
  border-radius: 12px;
}

#logo-placeholder img {
  height: 100%;
  aspect-ratio: auto 160 / 40;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(3, 12, 25, 0.45));
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.hamburger {
  width: 28px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 6px;
  transition: 0.3s;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background: var(--primary) url("./img/hero-bg.jpg") center/cover no-repeat;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 26, 47, 0.72) 0%,
    rgba(20, 34, 48, 0.68) 40%,
    rgba(10, 26, 27, 0.6) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.hero .inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}
.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero p {
  margin-top: 1rem;
  max-width: 680px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}
.hero .cta-row {
  margin-top: 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 0.85rem 1.8rem;
  background: var(--secondary);
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 8px 26px rgba(0, 153, 168, 0.12);
}

.btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* MAIN SECTIONS */
.section {
  padding: 4.2rem 8%; /* reduced spacing */
  max-width: 1200px;
  margin-inline: auto;
}
.section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

/* ABOUT SNAPSHOT (Option B applied: both columns equal height) */
.about-snapshot {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.4rem;
  align-items: stretch; /* ✅ forces equal height */
}
.about-card,
.about-side > * {
  height: 100%; /* ✅ makes both left & right full height */
}
.about-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ✅ avoid text floating */
}

.key-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.stat {
  background: linear-gradient(180deg, #fff, #f6f8fa);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(7, 18, 30, 0.04);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  margin-top: 1.6rem;
}
.service-card {
  background: white;
  padding: 1.6rem;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  text-align: left;
  transition: transform 0.22s ease;
}
.service-card:hover {
  transform: translateY(-6px);
}
.service-title {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #eef4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--secondary);
}

/* COVERAGE / BRANCHES */
.coverage {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.chip {
  background: white;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(7, 18, 30, 0.04);
  font-weight: 500;
  color: var(--muted);
}

/* CLIENTS strip */
.clients-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* ✅ centers logos on mobile */
  margin-top: 1rem;
}

.client-logo {
  width: 140px; /* Increased slightly for logos */
  height: 48px;
  background: #eef2f3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px; /* Keeps logo from touching the edge */
  box-shadow: 0 4px 18px rgba(7, 18, 30, 0.04);
}

/* Applies to both png and svg logos */
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Keeps proportions */
  filter: grayscale(100%) contrast(110%);
  opacity: 0.78;
  transition: 0.25s ease;
}

.client-logo:hover img {
  filter: grayscale(0%) contrast(100%);
  opacity: 1;
}

.more-button {
  color: var(--secondary);
  font-size: smaller;
  text-decoration: none;
}

/* FLEET PREVIEW */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
  align-items: stretch; /* ✅ equal height applied */
}
.fleet-card {
  background: #d8d8d8;
  height: 100%; /* ✅ fills grid row */
  min-height: 190px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(7, 18, 30, 0.04);
}
.fleet-card .meta {
  background: rgba(0, 0, 0, 0.24);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  font-weight: 600;
}

/* FOOTER / CONTACT */
footer {
  background: var(--primary);
  color: var(--text);
  padding: 2.4rem 8%;
  margin-top: 2rem;
}

/* New condensed layout */
.footer-condensed {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-inline: auto;
}

.footer-company h3 {
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: #fff;
}

.footer-contact a {
  color: #dceef6;
  text-decoration: none;
}
.footer-contact a:hover {
  color: #55c2d1;
}

/* CTA Button */
.btn-footer {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.5rem 1.4rem;
  border-radius: 6px;
  background: #0099a8;
  color: white;
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.2s ease;
}
.btn-footer:hover {
  background: #c9a227;
}

/* Typography adjustments */
.small {
  font-size: 0.92rem;
  color: #cfe3ea;
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.7;
  color: #b6c9d2;
}

/* UTIL */
.muted {
  color: var(--muted);
}
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e6eef6, transparent);
  margin: 2rem 0;
  opacity: 0.4;
}

/* Responsive tweaks */
@media (max-width: 950px) {
  header {
    padding: 1rem 5%;
  }

  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(10, 26, 47, 0.95);
    width: 100%;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  /* Menu active */
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Animate hamburger -> X */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .about-snapshot {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 0 5%;
  }

  .about-snapshot {
    grid-template-columns: 1fr !important;
  }

  .about-snapshot aside {
    width: 100%;
  }


}
@media (max-width: 520px) {
  nav ul {
    gap: 1rem;
    font-size: 0.92rem;
  }
  .hero h1 {
    font-size: clamp(1.6rem, 6.2vw, 2.6rem);
  }
  .fleet-card {
    min-height: 160px;
  }
}
