/* ============================================================
   SOLI — Design System
   Theme: emerald green / off-white / yellow
   ============================================================ */

:root {
  --bg: #FAF7EF;
  --bg-alt: #F2ECDC;
  --ink: #13261F;
  --ink-soft: #4E5D55;
  --green: #0B8A5F;
  --green-deep: #064E3B;
  --green-bright: #10B981;
  --yellow: #F5C518;
  --yellow-deep: #D9A800;
  --yellow-soft: #FFF3C4;
  --black: #0B1F18;
  --white: #FFFEFA;
  --line: rgba(6, 78, 59, 0.14);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --radius-lg: 26px;
  --shadow-soft: 0 20px 60px rgba(6, 78, 59, 0.10);
  --shadow-strong: 0 30px 80px rgba(6, 58, 44, 0.22);
  --ease: cubic-bezier(.16, .84, .44, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

section {
  position: relative;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-deep);
  margin: 0 0 .5em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.section-sub {
  color: var(--ink-soft);
  max-width: 620px;
  font-size: 1.05rem;
}

.section-head {
  text-align: center;
  margin: 0 auto 50px;
  max-width: 700px;
}

.section-pad {
  padding: 100px 0;
}

.bg-alt {
  background: var(--bg-alt);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
  font-family: var(--font-head);
}

.btn-green {
  background: linear-gradient(135deg, var(--green-deep), var(--green) 50%, var(--green-bright));
  color: #fff;
  box-shadow: 0 14px 30px rgba(11, 138, 95, .35);
}

.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(11, 138, 95, .5);
}

.btn-outline {
  border-color: var(--green-deep);
  color: var(--green-deep);
  background: transparent;
}

.btn-outline:hover {
  background: var(--green-deep);
  color: #fff;
  transform: translateY(-3px);
}

.btn-ghost-nav {
  border: 1px solid var(--green);
  color: var(--green-deep);
  padding: 10px 20px;
}

.btn-ghost-nav:hover {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
}

.btn-light {
  background: var(--white);
  color: var(--green-deep);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.btn-sm {
  padding: 11px 20px;
  font-size: .82rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
}

.preloader-mark {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--green-deep);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 247, 239, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(6, 78, 59, .08);
  transition: box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 14px 0;
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(6, 78, 59, .14);
  padding: 8px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--green-deep);
}

.brand-word .dot,
.preloader-mark .dot {
  color: var(--yellow);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .88rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  color: var(--ink);
  padding: 6px 0;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  transition: width .3s var(--ease);
}

.main-nav a:not(.btn):hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--green-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-deep);
}

/* ---------- Nav dropdown (Book a Ride: Keke/Cab/Bike) ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown-toggle .caret {
  font-size: .7em;
  transition: transform .25s var(--ease);
}

.nav-dropdown.active .nav-dropdown-toggle,
.nav-dropdown-toggle:hover {
  color: var(--green-deep);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
  padding: 10px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 10;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .caret,
.nav-dropdown.open .caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--bg-alt);
  color: var(--green-deep);
}

.nav-dropdown-menu a::after {
  display: none;
}

@media (max-width:768px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 0 0 0 14px;
    margin-top: 8px;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.open:hover .nav-dropdown-menu {
    display: block;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--white);
  padding: 168px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: var(--green-deep);
  margin-bottom: 16px;
}

.hero-title .accent {
  color: var(--green);
  background: linear-gradient(transparent 68%, var(--yellow-soft) 68%, var(--yellow-soft) 92%, transparent 92%);
  padding: 0 4px;
}

.hero-tagline {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 34px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  width: 100%;
}

.hero-banner-slot {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (max-width:980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-media {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-deep);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
}

.trust-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid var(--line);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--yellow);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ---------- Blank image slots (replace with real photos any time) ---------- */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 2px dashed var(--line);
  border-radius: inherit;
  color: var(--ink-soft);
  text-align: center;
  padding: 12px;
}

.img-placeholder-icon {
  width: 30px;
  height: 30px;
  opacity: .5;
}

.img-placeholder span {
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
}

.service-icon-img .img-placeholder-icon {
  width: 20px;
  height: 20px;
}

.service-icon-img span {
  display: none;
}

/* ---------- Nigeria coverage section ---------- */
.coverage-wrap {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.coverage-map {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.coverage-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
}

.coverage-chip {
  padding: 9px 18px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-deep);
}

.flag-stripe {
  display: inline-flex;
  height: 4px;
  width: 60px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}

.flag-stripe span {
  flex: 1;
}

.flag-stripe span:nth-child(1),
.flag-stripe span:nth-child(3) {
  background: #008751;
}

.flag-stripe span:nth-child(2) {
  background: #fff;
  border: 1px solid var(--line);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: .95rem;
  margin-bottom: 20px;
}

/* ---------- How it works ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.timeline-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.timeline-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--yellow);
}

.timeline-step .num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--green);
  margin-bottom: 12px;
  font-weight: 800;
}

.timeline-step h4 {
  color: var(--green-deep);
  font-size: 1.1rem;
}

.timeline-step p {
  color: var(--ink-soft);
  font-size: .88rem;
  margin: 0;
}

/* ---------- Booking forms ---------- */
.booking-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: 44px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color .3s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-bright);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.form-msg {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .88rem;
  margin-top: 16px;
  display: none;
}

.form-msg.show {
  display: block;
}

.form-msg.ok {
  background: #E3F6EE;
  color: var(--green-deep);
}

.form-msg.err {
  background: #fbe8e9;
  color: #8E1F2F;
}

/* ---------- Coverage / stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 18px;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--yellow);
}

.stat-card .num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-deep);
}

.stat-card span {
  font-size: .8rem;
  color: var(--ink-soft);
}

/* ---------- Founders ---------- */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.founder-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: stretch;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.founder-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.founder-photo {
  flex: 0 0 200px;
  min-height: 250px;
  overflow: hidden;
  background: var(--bg-alt);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.founder-photo .img-placeholder {
  border-radius: 0;
  border-width: 0 2px 0 0;
}

.founder-body {
  flex: 1;
  padding: 26px 26px 28px;
}

.founder-body h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.founder-role {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 14px;
}

.founder-bio {
  color: var(--ink-soft);
  font-size: .95rem;
  margin: 0 0 20px;
}

.founder-vision {
  margin: 0;
  padding: 18px 20px;
  background: var(--bg);
  border-left: 4px solid var(--yellow);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--green-deep);
  font-size: .95rem;
}

@media (max-width:980px) {
  .founders-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width:560px) {
  .founder-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .founder-photo {
    flex: none;
    width: 160px;
    height: 200px;
    min-height: 0;
    border-radius: var(--radius);
    margin: 26px auto 0;
  }

  .founder-vision {
    text-align: left;
  }
}

.founder-vision-label {
  display: block;
  font-style: normal;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}

/* ---------- App download ---------- */
.app-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 26px;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 600;
}

.app-badge i {
  font-size: 1.4rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: #D6E9DF;
  border-top: 4px solid var(--yellow);
  padding: 70px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-logo {
  width: 44px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: .88rem;
  color: #A8CBBB;
}

.footer-col h4 {
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: .88rem;
  color: #A8CBBB;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: .78rem;
  color: #7FA898;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1fae5a, #25D366);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .45);
  z-index: 900;
  animation: pulse 2.6s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

/* ---------- Responsive ---------- */
@media (max-width:980px) {

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

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

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

@media (max-width:768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .1);
    transition: right .4s var(--ease);
  }

  .main-nav.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .services-grid,
  .stats-grid,
  .timeline,
  .field-row,
  .field-row-3,
  .founders-grid {
    grid-template-columns: 1fr;
  }

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

  .section-pad {
    padding: 64px 0;
  }

  .booking-card {
    padding: 26px;
  }
}

/* ---------- Yellow accent button ---------- */
.btn-yellow {
  background: var(--yellow);
  color: var(--green-deep);
  box-shadow: 0 14px 30px rgba(245, 197, 24, .35);
}

.btn-yellow:hover {
  background: var(--yellow-deep);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(217, 168, 0, .45);
}

::selection {
  background: var(--yellow-soft);
  color: var(--green-deep);
}