/* ==========================================================================
   RIDE5 TAXI — Design tokens
   ========================================================================== */
:root {
  --green: #35C61A;
  --green-2: #7DFF00;
  --dark: #2E2E2E;
  --dark-2: #232323;
  --white: #FFFFFF;
  --bg-light: #F8F9FA;
  --gradient: linear-gradient(135deg, #35C61A, #7DFF00);
  --gradient-soft: linear-gradient(135deg, rgba(53, 198, 26, .14), rgba(125, 255, 0, .10));

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(46, 46, 46, .08);
  --shadow-md: 0 14px 40px rgba(46, 46, 46, .12);
  --shadow-lg: 0 24px 70px rgba(46, 46, 46, .18);
  --shadow-green: 0 16px 40px rgba(53, 198, 26, .30);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* prevent horizontal scroll that offsets fixed header */
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

.container {
  max-width: 1260px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--green-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--dark);
  color: var(--white);
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

#preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-mark {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .12);
  border-top-color: var(--green-2);
  animation: spin 1s linear infinite;
}

.preloader-logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  letter-spacing: .04em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .72rem 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-lg {
  padding: .9rem 2rem;
  font-size: 1.02rem;
}

.btn i {
  font-size: .92em;
}

.btn-brand {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(53, 198, 26, .4);
  color: var(--white);
}

.btn-brand:active {
  transform: translateY(-1px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .55);
  color: var(--white);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-3px);
}

.btn-outline-dark {
  border-color: var(--dark);
  color: var(--dark);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-ghost {
  color: var(--dark);
  padding: .7rem 1.1rem;
}

.btn-ghost:hover {
  color: var(--green);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), backdrop-filter .4s var(--ease);
}

.site-header .navbar {
  width: 100%;
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled {
  height: 70px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 30px rgba(46, 46, 46, .08);
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -.02em;
  transition: color .4s var(--ease);
}

.site-header.is-scrolled .brand-word {
  color: var(--dark);
}

.brand-five {
  color: var(--green-2);
}

.site-header.is-scrolled .brand-five {
  color: var(--green);
}

.main-nav {
  display: flex;
  gap: 2.1rem;
  align-items: center;
}

.main-nav .nav-link {
  font-weight: 600;
  font-size: .96rem;
  color: rgba(255, 255, 255, .88);
  padding: .4rem 0;
  position: relative;
  transition: color .35s var(--ease);
}

.main-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--gradient);
  transition: width .35s var(--ease);
  border-radius: 2px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible {
  color: var(--white);
}

.main-nav .nav-link:hover::after {
  width: 100%;
}

.site-header.is-scrolled .main-nav .nav-link {
  color: var(--dark);
}

.site-header.is-scrolled .main-nav .nav-link:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.site-header:not(.is-scrolled) .header-actions .btn-ghost {
  color: var(--white);
}

.navbar-toggler {
  border: 0;
  padding: .4rem;
  background: transparent;
  cursor: pointer;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.toggler-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--white);
  /* white on dark hero by default */
  transition: background .3s, transform .35s, opacity .35s;
  flex-shrink: 0;
}

/* When header is scrolled (light background), bars go dark */
.site-header.is-scrolled .toggler-bar {
  background: var(--dark);
}

@media (max-width: 991.98px) {

  .site-header,
  .site-header.is-scrolled {
    height: auto;
    min-height: var(--header-h);
    align-items: flex-start;
  }

  .header-inner {
    flex-wrap: wrap;
    padding-top: .9rem;
    padding-bottom: .9rem;
    position: relative;
  }

  /* Ensure toggler is always visible and sized correctly on mobile */
  .navbar-toggler {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    z-index: 10;
  }

  /* Collapsed nav panel: sits below brand+toggler row, full width */
  .navbar-collapse {
    width: 100%;
    background: var(--white);
    margin-top: 1rem;
    padding: 1.4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow-y: auto;
    z-index: 999;
    position: relative;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
  }

  .main-nav .nav-link,
  .site-header.is-scrolled .main-nav .nav-link {
    color: var(--dark);
  }

  /* Make sure nav links have good tap targets */
  .main-nav .nav-link {
    display: block;
    padding: .5rem 0;
    font-size: 1.06rem;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .site-header:not(.is-scrolled) .header-actions .btn-ghost {
    color: var(--dark);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 4rem;
  background: radial-gradient(120% 100% at 15% 0%, #3a3a3a 0%, var(--dark) 45%, var(--dark-2) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 30% 30%, black, transparent 70%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
}

.blob-1 {
  width: 480px;
  height: 480px;
  background: var(--green);
  top: -140px;
  right: -100px;
  animation: float1 12s ease-in-out infinite;
}

.blob-2 {
  width: 360px;
  height: 360px;
  background: var(--green-2);
  bottom: -120px;
  left: -80px;
  opacity: .22;
  animation: float2 14s ease-in-out infinite;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-30px, 30px);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(25px, -20px);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
}

.eyebrow-dark {
  color: var(--dark);
  background: var(--gradient-soft);
  border-color: rgba(53, 198, 26, .18);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 0 4px rgba(125, 255, 0, .2);
}

.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 1.3rem;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--green-2);
  margin-bottom: 1.1rem;
}

.hero-subtitle .dot {
  color: rgba(255, 255, 255, .4);
}

.hero-desc {
  color: rgba(255, 255, 255, .72);
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.1rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.hero-trust {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
  font-weight: 600;
}

.trust-item i {
  color: var(--green-2);
}

/* Hero visual / route illustration */
.hero-visual {
  position: relative;
}

.route-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.route-path {
  fill: none;
  stroke: rgba(255, 255, 255, .22);
  stroke-width: 2;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
}

.pin-drop {
  animation: pinBounce 3s ease-in-out infinite;
  transform-origin: 510px 42px;
}

@keyframes pinBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.chip-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: var(--dark);
}

.chip-icon--dark {
  color: var(--white);
}

.chip-icon--grad {
  color: var(--white);
  font-size: 2.1rem;
}

.float-chip {
  animation: chipFloat 5s ease-in-out infinite;
}

.chip-bike {
  animation-delay: 0s;
}

.chip-auto {
  animation-delay: .6s;
}

.chip-cab {
  animation-delay: 1.2s;
}

.chip-parcel {
  animation-delay: 1.8s;
}

@keyframes chipFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 2;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: var(--green-2);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  70% {
    opacity: 0;
    transform: translateY(14px);
  }

  100% {
    opacity: 0;
  }
}

/* ==========================================================================
   Section shared
   ========================================================================== */
.section {
  padding: 6.5rem 0;
}

.section-head {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.2rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: .8rem;
}

.section-sub {
  color: #6b6b6b;
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-sub--light {
  color: rgba(255, 255, 255, .68);
}

.text-white .section-title {
  color: var(--white);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-section {
  background: var(--bg-light);
}

.service-card {
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  background: var(--gradient);
  transition: opacity .45s var(--ease);
}

.service-card>* {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.featured {
  border-color: rgba(53, 198, 26, .35);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 1.4rem;
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}

.service-card:hover .service-icon {
  background: rgba(46, 46, 46, .92);
  transform: rotate(-6deg) scale(1.05);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: .6rem;
  transition: color .4s;
}

.service-card p {
  color: #6b6b6b;
  line-height: 1.6;
  margin-bottom: 1.6rem;
  min-height: 72px;
  transition: color .4s;
}

.service-card:hover p {
  color: rgba(46, 46, 46, .85);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--dark);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .35s var(--ease), gap .35s var(--ease);
}

.service-link i {
  transition: transform .35s var(--ease);
  font-size: .82em;
}

.service-card:hover .service-link {
  border-color: var(--dark);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-section {
  background: var(--white);
}

.why-card {
  height: 100%;
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid #ececec;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gradient-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}

.why-card p {
  color: #6b6b6b;
  line-height: 1.6;
  font-size: .96rem;
}

/* ==========================================================================
   How it works — timeline
   ========================================================================== */
.how-section {
  background: var(--bg-light);
}

.timeline {
  position: relative;
}

.timeline-track {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 0;
  display: none;
}

.timeline-line {
  width: 100%;
  height: 40px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
  position: relative;
}

.timeline-step {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.timeline-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-node {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-green);
}

.step-index {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .4rem;
}

.timeline-step h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.timeline-step p {
  color: #6b6b6b;
  font-size: .92rem;
  line-height: 1.55;
}

@media (min-width: 992px) {
  .timeline-track {
    display: block;
  }
}

@media (max-width: 767.98px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Download App
   ========================================================================== */
.download-section {
  background: radial-gradient(120% 140% at 85% 15%, #3a3a3a 0%, var(--dark) 55%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}

.download-section .eyebrow {
  margin-bottom: 1.2rem;
}

.download-points {
  margin: 1.6rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.download-points li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, .82);
  font-size: .98rem;
}

.download-points i {
  color: var(--green-2);
  margin-top: .25rem;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--white);
  padding: .75rem 1.3rem;
  border-radius: var(--radius-md);
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}

.store-btn:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .12);
  border-color: var(--green-2);
}

.store-btn i {
  font-size: 1.6rem;
  color: var(--green-2);
}

.store-btn span {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
}

.store-btn small {
  font-weight: 400;
  font-size: .72rem;
  color: rgba(255, 255, 255, .6);
}

.phone-mock-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--green);
  filter: blur(100px);
  opacity: .35;
  z-index: 0;
}

.phone-mock {
  position: relative;
  z-index: 1;
  width: 260px;
  height: 540px;
  background: #161616;
  border-radius: 42px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .06);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #161616;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone-screen {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 2.2rem .9rem .9rem;
}

.app-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: .68rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .8rem;
}

.app-card {
  background: var(--white);
  border-radius: 14px;
  padding: .8rem .9rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: .7rem;
}

.app-card-label {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #9a9a9a;
  font-weight: 700;
  margin-top: .35rem;
}

.app-card-label:first-child {
  margin-top: 0;
}

.app-card-value {
  font-size: .8rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .1rem;
}

.app-card-value i {
  font-size: .7rem;
  color: var(--green);
}

.app-map {
  flex: 1;
  background: #eef4ec;
  border-radius: 14px;
  margin-bottom: .7rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.app-map svg {
  width: 100%;
  height: 100%;
}

.app-ride-options {
  display: flex;
  gap: .5rem;
  margin-bottom: .8rem;
}

.ride-opt {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  background: var(--white);
  border-radius: 12px;
  padding: .55rem .2rem;
  font-size: .62rem;
  font-weight: 700;
  color: #8a8a8a;
  border: 1.5px solid transparent;
}

.ride-opt i {
  font-size: .95rem;
}

.ride-opt.active {
  border-color: var(--green);
  color: var(--dark);
  background: var(--gradient-soft);
}

.ride-opt.active i {
  color: var(--green);
}

.app-book-btn {
  border: none;
  background: var(--gradient);
  color: var(--white);
  font-weight: 700;
  padding: .7rem;
  border-radius: 12px;
  font-size: .82rem;
  box-shadow: var(--shadow-green);
}

/* ==========================================================================
   Become a Driver
   ========================================================================== */
.driver-section {
  background: var(--white);
}

.driver-panel {
  position: relative;
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.driver-panel .section-title,
.driver-panel .eyebrow,
.driver-panel .section-sub {
  color: var(--white);
}

.driver-panel .eyebrow {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .14);
}

.driver-panel .section-sub {
  opacity: .8;
  margin-bottom: 1.8rem;
}

.driver-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.benefit h4 {
  font-size: 1.02rem;
  margin-bottom: .2rem;
  color: var(--white);
}

.benefit p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .75);
}

.driver-panel .btn-brand {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(46, 46, 46, .35);
}

.driver-panel .btn-brand:hover {
  background: var(--dark-2);
  color: var(--white);
}

.driver-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 220px;
}

.driver-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  animation: pulseOrb 3.4s ease-in-out infinite;
}

@keyframes pulseOrb {

  0%,
  100% {
    transform: scale(1);
    opacity: .5;
  }

  50% {
    transform: scale(1.12);
    opacity: .8;
  }
}

.driver-icon {
  position: relative;
  font-size: 6rem;
  color: var(--white);
  animation: driverFloat 4s ease-in-out infinite;
}

@keyframes driverFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}

@media (max-width: 767.98px) {
  .driver-panel {
    grid-template-columns: 1fr;
    padding: 2.6rem 1.6rem;
    text-align: left;
  }

  .driver-visual {
    display: none;
  }
}

/* ==========================================================================
   Statistics
   ========================================================================== */
.stats-section {
  background: var(--dark);
}

.stat-card {
  padding: 1.4rem .5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .3rem;
}

.stat-label {
  color: rgba(255, 255, 255, .7);
  font-weight: 600;
  letter-spacing: .02em;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  background: var(--bg-light);
}

.testimonial-swiper {
  padding-bottom: 3.2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
}

.stars {
  color: var(--green-2);
  margin-bottom: 1rem;
  font-size: .95rem;
}

.stars i {
  margin-right: 2px;
  -webkit-text-stroke: .5px rgba(46, 46, 46, .15);
}

.testimonial-card p {
  color: #4d4d4d;
  line-height: 1.7;
  font-size: .98rem;
  flex: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.4rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-user h5 {
  font-size: .92rem;
  margin-bottom: 0;
}

.testimonial-user span {
  font-size: .8rem;
  color: #8a8a8a;
}

.swiper-pagination-bullet {
  background: var(--dark);
  opacity: .25;
}

.swiper-pagination-bullet-active {
  background: var(--green);
  opacity: 1;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  background: var(--white);
}

.ride5-accordion .accordion-item {
  border: 1px solid #ececec;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  margin-bottom: 1rem;
}

.ride5-accordion .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--dark);
  padding: 1.3rem 1.5rem;
  background: var(--white);
}

.ride5-accordion .accordion-button:not(.collapsed) {
  background: var(--gradient-soft);
  color: var(--dark);
  box-shadow: none;
}

.ride5-accordion .accordion-button:focus {
  box-shadow: none;
}

.ride5-accordion .accordion-button::after {
  background-image: none;
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .82rem;
  color: var(--green);
  transition: transform .35s var(--ease);
}

.ride5-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.ride5-accordion .accordion-body {
  padding: 0 1.5rem 1.4rem;
  color: #6b6b6b;
  line-height: 1.7;
  font-size: .95rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section {
  background: var(--bg-light);
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-row i {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  flex-shrink: 0;
  background: var(--gradient-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.contact-row h4 {
  font-size: .98rem;
  margin-bottom: .2rem;
}

.contact-row p {
  font-size: .9rem;
  color: #6b6b6b;
  line-height: 1.5;
}

.contact-row a:hover {
  color: var(--green);
}

.map-embed {
  margin-top: .6rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.15);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
}

.contact-form .form-label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--dark);
  margin-bottom: .4rem;
}

.contact-form .form-control {
  border: 1.5px solid #e6e6e6;
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .95rem;
  transition: border-color .3s, box-shadow .3s;
}

.contact-form .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(53, 198, 26, .14);
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--green);
  min-height: 1.2em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .7);
  padding: 5rem 0 0;
}

.brand--footer .brand-word {
  color: var(--white);
}

.footer-tag {
  color: rgba(255, 255, 255, .6);
  font-size: .92rem;
  line-height: 1.6;
  margin: 1rem 0 1.4rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: .7rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background .35s var(--ease), transform .35s var(--ease);
}

.footer-social a:hover {
  background: var(--gradient);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-top h5 {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 1.2rem;
}

.footer-top ul {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.footer-top ul a {
  font-size: .92rem;
  color: rgba(255, 255, 255, .65);
  transition: color .3s, padding-left .3s;
}

.footer-top ul a:hover {
  color: var(--green-2);
  padding-left: 4px;
}

.newsletter-form {
  display: flex;
  gap: .5rem;
  margin-top: 1.2rem;
}

.newsletter-form input {
  flex: 1;
  padding: .7rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  font-size: .9rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, .45);
}

.newsletter-form button {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease);
}

.newsletter-form button:hover {
  transform: scale(1.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 3.5rem;
  padding: 1.6rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .84rem;
  color: rgba(255, 255, 255, .5);
}

.footer-legal {
  display: flex;
  gap: 1.4rem;
}

.footer-legal a:hover {
  color: var(--green-2);
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   Responsive tweaks
   ========================================================================== */
@media (max-width: 991.98px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: 3rem;
    text-align: left;
  }

  .hero-visual {
    margin-top: 1rem;
    max-width: 420px;
    margin-inline: auto;
  }

  /* Prevent blobs from creating horizontal overflow */
  .blob-1,
  .blob-2 {
    max-width: 100vw;
    max-height: 100vw;
  }

  /* Clamp brand logo width on mobile so it doesn't push the toggler */
  .brand-logo {
    max-width: 130px;
  }

  .header-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 3rem 0;
  }

  .section-head {
    margin-bottom: 2.2rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
    margin-bottom: 0.6rem;
  }

  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
  }

  .section-sub {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-trust {
    justify-content: center;
    gap: 1.2rem;
  }

  .service-card {
    padding: 1.8rem 1.4rem;
  }

  .service-card p {
    min-height: auto;
    margin-bottom: 1.2rem;
  }

  .why-card {
    padding: 1.6rem 1.3rem;
  }

  .timeline-step {
    padding: 1.8rem 1.4rem;
  }

  .testimonial-card {
    padding: 1.8rem 1.4rem;
    min-height: auto;
  }

  .contact-form {
    padding: 1.8rem 1.3rem;
  }

  .contact-info-card {
    padding: 1.8rem 1.3rem;
  }

  .site-footer {
    padding: 3.5rem 0 0;
  }

  .footer-bottom {
    margin-top: 2.2rem;
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    justify-content: center;
  }

  .store-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .store-btn {
    justify-content: center;
  }

  .driver-panel {
    padding: 2.2rem 1.3rem;
  }
}

@media (max-width: 479.98px) {
  .section {
    padding: 2.5rem 0;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stats-section .col-6 {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .stat-card {
    padding: 0.8rem .5rem;
  }

  .header-actions {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .newsletter-form input {
    border-radius: var(--radius-pill);
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
    border-radius: var(--radius-pill);
    height: 46px;
  }
  
}

/* ==========================================================================
   LEGAL MODALS & LEGAL PAGES STYLING
   ========================================================================== */
.modal-legal .modal-content {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.modal-legal .modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-legal .legal-content p {
  color: #4a4a4a;
  line-height: 1.65;
  font-size: 0.95rem;
}

.modal-legal .modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media print {
  header.site-header,
  footer.site-footer,
  .legal-toc,
  .btn {
    display: none !important;
  }
  .legal-hero {
    background: #fff !important;
    color: #000 !important;
    padding: 20px 0 !important;
  }
  .legal-card {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
}