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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1a2340;
  background: #f0f4fb;
  line-height: 1.6;
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: #1565C0;
  color: #fff;
  border: 2px solid #1565C0;
}

.btn-primary:hover {
  background: #0d47a1;
  border-color: #0d47a1;
}

.btn-outline {
  background: transparent;
  color: #1a2340;
  border: 2px solid #c5cfe0;
}

.btn-outline:hover {
  border-color: #1565C0;
  color: #1565C0;
}

/* ── NAVBAR ── */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e8eef6;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 90px;
}

.logo-icon {
  display: flex;
  align-items: center;
  height: 60px;
  /* match your navbar height */
}

.logo-icon img {
  height: 80px;
  /* controls logo size */
  margin-top: 5px;
  width: auto;
  /* keeps aspect ratio */
  object-fit: contain;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: #1a2340;
}

.logo-text {
  color: #1a2340;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: #3d4f6e;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #1565C0;
}

.nav-links a.active {
  color: #1565C0;
  font-weight: 700;
}

.navbar .btn {
  margin-left: 16px;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #f0f4fb 0%, #e3ecf8 100%);

  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-heading {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a2340;
  margin-bottom: 20px;
}

.highlight {
  color: #1565C0;
}

.hero-subtext {
  font-size: 20px;
  color: #4a5a78;
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  min-width: 0;
}

.rider-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

/* Dashboard Mockup */
.dashboard-mockup {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(21, 101, 192, 0.15);
  overflow: hidden;
  border: 1px solid #dce8f5;
}

.mockup-bar {
  background: #f5f8fc;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e0eaf5;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red {
  background: #ff5f57;
}

.dot.yellow {
  background: #febc2e;
}

.dot.green {
  background: #28c840;
}

.mockup-title {
  font-size: 12px;
  font-weight: 600;
  color: #1565C0;
  margin-left: 10px;
}

.mockup-body {
  display: flex;
  height: 260px;
}

.mockup-sidebar {
  width: 110px;
  background: #f8fafd;
  border-right: 1px solid #e0eaf5;
  padding: 12px 0;
  flex-shrink: 0;
}

.sidebar-item {
  padding: 7px 14px;
  font-size: 11px;
  color: #6b7a99;
  cursor: pointer;
  transition: background 0.15s;
}

.sidebar-item:hover,
.sidebar-item.active {
  background: #e8f0fe;
  color: #1565C0;
  font-weight: 600;
}

.mockup-map {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.map-bg {
  flex: 1;
  background: #e8f4fd;
  position: relative;
  overflow: hidden;
}

.map-lines {
  position: absolute;
  inset: 0;
}

.map-popup {
  position: absolute;
  right: 16px;
  top: 30px;
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 11px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  min-width: 150px;
  border: 1px solid #e0eaf5;
}

.popup-header {
  font-weight: 700;
  color: #1a2340;
  margin-bottom: 6px;
  font-size: 12px;
}

.popup-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4a5a78;
  margin-bottom: 3px;
}

.dot-blue {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1565C0;
  flex-shrink: 0;
}

.mockup-table {
  padding: 10px 14px;
  border-top: 1px solid #e0eaf5;
  background: #fff;
}

.table-header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: #6b7a99;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #3d4f6e;
  padding: 3px 0;
  border-bottom: 1px solid #f0f4fb;
}

.table-row:last-child {
  border-bottom: none;
}

.tag {
  background: #e8f0fe;
  color: #1565C0;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
}

/* ── STATS BAR ── */
.stats-bar {
  background: #fff;
  border-top: 1px solid #e0eaf5;
  border-bottom: 1px solid #e0eaf5;
  padding: 28px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 150px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  background: #e8f0fe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #1a2340;
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  color: #6b7a99;
  margin-top: 3px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: #e0eaf5;
  flex-shrink: 0;
}

/* ── FEATURES ── */
.features {
  padding: 40px 0 80px 0;
  ;
  background: #f0f4fb;
}

.features-alt {
  background: #e8f0fe;
}

.section-heading {
  font-size: 28px;
  font-weight: 800;
  color: #1a2340;
  text-align: center;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid #dce8f5;
  box-shadow: 0 2px 12px rgba(21, 101, 192, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(21, 101, 192, 0.12);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: #e8f0fe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a2340;
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-card p {
  font-size: 13.5px;
  color: #5a6a88;
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 10px 0 80px 0;
  background: #f0f4fb;
}

.section-subtext {
  text-align: center;
  color: #6b7a99;
  font-size: 15px;
  margin-top: -32px;
  margin-bottom: 56px;
}

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

/* 
.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: #d0ddef;
  z-index: 0;
} */

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1565C0, #42A5F5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.25);
}

.step-number {
  font-size: 11px;
  font-weight: 700;
  color: #1565C0;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.step-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a2340;
  margin-bottom: 10px;
}

.step-item p {
  font-size: 13.5px;
  color: #5a6a88;
  line-height: 1.6;
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 10px 0 80px 0;
  background: #e8f0fe;
}

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

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #dce8f5;
  box-shadow: 0 2px 12px rgba(21, 101, 192, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(21, 101, 192, 0.12);
  transform: translateY(-3px);
}

.testimonial-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stars {
  display: flex;
  gap: 3px;
}

.star {
  color: #1565C0;
  font-size: 18px;
}

.quote-icon {
  font-size: 28px;
  color: #d0ddef;
  line-height: 1;
}

.testimonial-text {
  font-size: 14px;
  color: #3d4f6e;
  line-height: 1.7;
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-author strong {
  font-size: 14px;
  font-weight: 700;
  color: #1a2340;
}

.testimonial-author span {
  font-size: 12.5px;
  color: #6b7a99;
}

/* ── SHARED FOOTER ── */
.site-footer {
  background: #1a2340;
  color: #c5cfe0;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  /* 3 columns */
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2a3a5e;
  align-items: start;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #8a9ab8;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #8a9ab8;
  font-size: 13.5px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 34px;
  height: 34px;
  background: #2a3a5e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #8a9ab8;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.social-links a:hover {
  background: #1565C0;
  color: #fff;
}

.footer-contact p {
  font-size: 13.5px;
  color: #8a9ab8;
  margin-bottom: 8px;
}

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-badge {
  display: inline-block;
  background: #2a3a5e;
  border: 1px solid #3a4f72;
  border-radius: 8px;
  padding: 8px 16px;
  text-decoration: none;
  color: #c5cfe0;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}

.app-badge:hover {
  background: #1565C0;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: #6b7a99;
}

.apart-section {
  padding: 10px 0 80px 0;
  background: #f0f4fb;
}

.apart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}

.apart-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  border: 1px solid #dce8f5;
  box-shadow: 0 2px 12px rgba(21, 101, 192, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.apart-card:hover {
  box-shadow: 0 8px 28px rgba(21, 101, 192, 0.12);
  transform: translateY(-2px);
}

.apart-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1565C0, #42A5F5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.22);
}

.apart-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a2340;
  margin-bottom: 8px;
}

.apart-text p {
  font-size: 14px;
  color: #5a6a88;
  line-height: 1.7;
}


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }

  .hero-heading {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-inner {
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .hero-heading {
    font-size: 26px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    font-size: 22px;
  }
}