:root {
  --rev-green: #075b46;
  --rev-green-2: #0d7b60;
  --rev-teal: #13a79a;
  --rev-lime: #d9ef79;
  --rev-navy: #101b2d;
  --rev-gold: #d9a441;
  --rev-ink: #1f2a36;
  --rev-muted: #667085;
  --rev-soft: #f4f8f6;
  --rev-line: rgba(16, 27, 45, 0.1);
  --shadow-soft: 0 18px 45px rgba(16, 27, 45, 0.09);
  --shadow-card: 0 16px 34px rgba(16, 27, 45, 0.08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  color: var(--rev-ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #ffffff;
}

a {
  text-decoration: none;
}

.navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 27, 45, 0.08);
  backdrop-filter: blur(16px);
}

.navbar-brand {
  color: #080d0c;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
}

.brand-mark img{
  width: 100%;
  height: 38px;
}

.nav-link {
  color: #344054;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--rev-green);
}

.btn-rev {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: var(--rev-green);
  --bs-btn-border-color: var(--rev-green);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #064b3a;
  --bs-btn-hover-border-color: #064b3a;
  --bs-btn-focus-shadow-rgb: 13, 123, 96;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.78rem 1.2rem;
}

.btn-outline-rev {
  --bs-btn-color: var(--rev-green);
  --bs-btn-border-color: rgba(7, 91, 70, 0.35);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--rev-green);
  --bs-btn-hover-border-color: var(--rev-green);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.78rem 1.2rem;
}

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

.section-kicker {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--rev-green);
  background: rgba(217, 239, 121, 0.28);
  border: 1px solid rgba(7, 91, 70, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.42rem 0.72rem;
  text-transform: uppercase;
}

.section-title {
  color: var(--rev-navy);
  font-weight: 800;
  letter-spacing: 0;
}

.section-copy,
.text-muted-rev {
  color: var(--rev-muted);
}

.hero {
  min-height: 94vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 40px 0 72px;
  background:
    linear-gradient(
      110deg,
      rgba(244, 248, 246, 0.98) 0%,
      rgba(244, 248, 246, 0.88) 46%,
      rgba(16, 27, 45, 0.1) 100%
    ),
    url("../img/district.jpg")
      center/cover;
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -170px;
  width: 520px;
  height: 520px;
  content: "";
  background: radial-gradient(
    circle,
    rgba(19, 167, 154, 0.23),
    rgba(19, 167, 154, 0)
  );
  pointer-events: none;
}

.hero h1 {
  max-width: 780px;
  color: var(--rev-navy);
  font-size: clamp(2.6rem, 6vw, 5.35rem);
  font-weight: 850;
  line-height: 0.98;
}

.hero .lead {
  max-width: 720px;
  color: #425466;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.hero-photo {
  min-height: 330px;
  background:
    linear-gradient(180deg, rgba(16, 27, 45, 0.04), rgba(16, 27, 45, 0.34)),
    url("../img/map.png")
      center/cover;
}

.hero-metric,
.route-card {
  border: 1px solid rgba(16, 27, 45, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
}

.hero-metric {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(86%, 310px);
  padding: 1rem;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--rev-teal);
  box-shadow: 0 0 0 5px rgba(19, 167, 154, 0.12);
}

.feature-card,
.problem-card,
.impact-stat,
.portal-list {
  height: 100%;
  border: 1px solid var(--rev-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.problem-card,
.feature-card,
.impact-stat {
  padding: 1.35rem;
}

.icon-box {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--rev-green);
  background: rgba(217, 239, 121, 0.38);
  border-radius: 8px;
  font-size: 1.35rem;
}

.band-soft {
  background: var(--rev-soft);
}

.band-dark {
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 24%, rgba(217, 239, 121, 0.14), transparent 28%),
    radial-gradient(circle at 88% 65%, rgba(19, 167, 154, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(7, 91, 70, 0.97), rgba(16, 27, 45, 0.98)),
    url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1800&q=80")
      center/cover;
}

.band-dark .section-title,
.band-dark .section-copy {
  color: #ffffff;
}

.band-dark .section-copy {
  color: rgba(255, 255, 255, 0.88);
}

.portal-list {
  padding: 1.6rem;
}

.portal-item {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.78rem 0;
  color: #344054;
  border-bottom: 1px solid rgba(16, 27, 45, 0.08);
  font-weight: 650;
}

.portal-item:last-child {
  border-bottom: 0;
}

.portal-item i {
  color: var(--rev-teal);
}

.collector-panel {
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.collector-visual {
  min-height: 390px;
  background:
    linear-gradient(180deg, rgba(7, 91, 70, 0.12), rgba(16, 27, 45, 0.45)),
    url("../img/aboboyaa.png")
      center/cover;
}

.collector-visua-truck {
  min-height: 390px;
  background:
    linear-gradient(180deg, rgba(7, 91, 70, 0.12), rgba(16, 27, 45, 0.45)),
    url("../img/waste-truck.jpg")
      center/cover;
}

.qr-tile {
  display: grid;
  width: 104px;
  height: 104px;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 8px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.qr-tile span {
  border-radius: 2px;
  background: var(--rev-navy);
}

.qr-tile span:nth-child(2n),
.qr-tile span:nth-child(7),
.qr-tile span:nth-child(13),
.qr-tile span:nth-child(19) {
  background: transparent;
}

.geo-dashboard {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06)),
    rgba(16, 27, 45, 0.24);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.geo-feature-card {
  display: flex;
  min-height: 116px;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
}

.geo-feature-card i {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--rev-lime);
  background: rgba(217, 239, 121, 0.12);
  border: 1px solid rgba(217, 239, 121, 0.24);
  border-radius: 8px;
}

.geo-feature-card strong {
  display: block;
  margin-bottom: 0.25rem;
}

.geo-feature-card p {
  color: rgba(255, 255, 255, 0.74);
}

.geo-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.geo-status {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(16, 27, 45, 0.34);
}

.geo-status span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.geo-status strong {
  display: block;
  margin-top: 0.25rem;
  color: #ffffff;
  font-size: 1.1rem;
}

.mock-map {
  position: relative;
  height: clamp(330px, 34vw, 430px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(
      135deg,
      rgba(217, 239, 121, 0.22),
      rgba(19, 167, 154, 0.2),
      rgba(16, 27, 45, 0.62)
    );
  background-size:
    48px 48px,
    48px 48px,
    auto;
  overflow: hidden;
}

.zone {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.04);
}

.zone-a {
  inset: 12% 52% 48% 9%;
}

.zone-b {
  inset: 42% 50% 13% 13%;
}

.zone-c {
  inset: 17% 10% 22% 48%;
}

.route-line {
  position: absolute;
  top: 47%;
  left: 13%;
  width: 74%;
  height: 4px;
  background: linear-gradient(90deg, var(--rev-lime), var(--rev-gold), #ffffff);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(217, 164, 65, 0.42);
  transform: rotate(-13deg);
  transform-origin: center;
}

.pin {
  position: absolute;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: var(--rev-teal);
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.pin.gold {
  background: var(--rev-gold);
}

.pin.one {
  top: 24%;
  left: 24%;
}

.pin.two {
  top: 55%;
  left: 39%;
}

.pin.three {
  top: 32%;
  right: 23%;
}

.pin.four {
  right: 14%;
  bottom: 23%;
}

.map-label {
  position: absolute;
  top: 16px;
  left: 16px;
  max-width: 220px;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(217, 239, 121, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(16, 27, 45, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  z-index: 4;
  font-size: 0.86rem;
}

.map-label strong {
  display: block;
  color: #ffffff;
  margin-bottom: 0.18rem;
}

.provider-card {
  border: 1px solid var(--rev-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.provider-card:hover,
.feature-card:hover,
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(16, 27, 45, 0.12);
}

.stat-number {
  color: var(--rev-green);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 850;
  line-height: 1;
}

.contact-panel {
  border: 1px solid var(--rev-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 1.6rem;
}

.contact-detail {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(16, 27, 45, 0.08);
}

.contact-detail:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.contact-detail i {
  flex: 0 0 auto;
  color: var(--rev-green);
  font-size: 1.15rem;
  margin-top: 0.18rem;
}

.form-control,
.form-select {
  border-color: rgba(16, 27, 45, 0.14);
  border-radius: 8px;
  padding: 0.82rem 0.95rem;
}

.form-control:focus {
  border-color: var(--rev-teal);
  box-shadow: 0 0 0 0.22rem rgba(19, 167, 154, 0.15);
}

.mobile-demo {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1040;
  display: none;
  box-shadow: 0 16px 36px rgba(7, 91, 70, 0.28);
}

.fade-section {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--rev-navy);
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .hero-panel {
    margin-top: 2rem;
  }

  .geo-dashboard {
    margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 68px 0;
  }

  .hero h1 {
    line-height: 1.04;
  }

  .hero-photo,
  .collector-visual {
    min-height: 300px;
  }

  .mock-map {
    height: 320px;
  }

  .hero-metric {
    position: static;
    width: auto;
    margin: -48px 14px 14px;
  }

  .geo-status-grid {
    grid-template-columns: 1fr;
  }

  .map-label {
    top: 12px;
    right: 14px;
    max-width: none;
  }

  .mobile-demo {
    display: inline-flex;
  }
}
