:root {
  --navy: #001c4a;
  --blue: #0d4ac3;
  --blue-dark: #0a3a9e;
  --sky: #f0f9ff;
  --orange: #f59e0b;
  --white: #ffffff;
  --slate: #64748b;
  --border: #e2e8f0;
  --shadow: 0 24px 60px rgba(0, 28, 74, 0.12);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--navy);
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 12px 30px rgba(13, 74, 195, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn:hover {
  transform: translateY(-1px);
}

/* Hero banner slideshow */
.banner-slideshow {
  background: linear-gradient(180deg, #e8f0fc 0%, var(--white) 100%);
}

.banner-slideshow__viewport {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 24px);
}

.banner-slideshow__track {
  position: relative;
  width: 100%;
  aspect-ratio: 2400 / 1000;
  max-height: min(52vh, 520px);
  min-height: 220px;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 28, 74, 0.14);
  background: var(--navy);
}

.banner-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  z-index: 0;
}

.banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.banner-slideshow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 28, 74, 0.18);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
}

.banner-slideshow__arrow:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 24px rgba(13, 74, 195, 0.25);
}

.banner-slideshow__arrow--prev {
  left: clamp(20px, 3vw, 36px);
}

.banner-slideshow__arrow--next {
  right: clamp(20px, 3vw, 36px);
}

.banner-slideshow__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 28, 74, 0.35);
  backdrop-filter: blur(6px);
}

.banner-slideshow__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.banner-slideshow__dot.is-active,
.banner-slideshow__dot:hover {
  background: var(--white);
  transform: scale(1.1);
}

.banner-slideshow__cta {
  padding: 20px 0 28px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.banner-slideshow__cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.banner-slideshow__cta-inner p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 420px;
}

.banner-slideshow__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--sky);
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 12px;
}

.section-lead {
  color: var(--slate);
  max-width: 640px;
  margin: 0 0 32px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 28, 74, 0.06);
}

.card h3 {
  margin: 0 0 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
}

.step span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}

.download-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.download-tile {
  border-radius: 22px;
  padding: 28px;
  color: var(--white);
}

.download-tile.user {
  background: linear-gradient(135deg, var(--blue), var(--navy));
}

.download-tile.driver {
  background: linear-gradient(135deg, #40916c, #1b4332);
}

.apply-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.apply-form input,
.apply-form textarea,
.apply-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
}

@media (max-width: 900px) {
  .banner-slideshow__track {
    max-height: min(42vh, 380px);
    min-height: 180px;
    border-radius: 0 0 14px 14px;
  }

  .banner-slideshow__arrow {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .banner-slideshow__cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-slideshow__cta-actions {
    justify-content: stretch;
  }

  .banner-slideshow__cta-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .cards,
  .steps,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 20px;
    background: var(--white);
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-slide {
    transition: none;
  }
}
