/* Top navbar */
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Inter", sans-serif;
  color: #000 !important;
}
body {
  overflow-x: hidden;
}
/* @font-face {
  font-family: AlteHaasGrotesk;
  src: url("/assets/fonts/AlteHaasGroteskRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: AlteHaasGrotesk;
  src: url("/assets/fonts/AlteHaasGroteskBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
} */

h2 {
  font-size: 40px !important;
  font-weight: 700 !important;
}
p,
a,
div {
  font-size: 18px !important;
  font-family: "Inter", sans-serif !important;
  font-weight: normal !important;
}
section {
  overflow: unset !important;
}

/* Menu start */

@media (min-width: 1200px) {
  div.container,
  section.container {
    max-width: 1140px !important;
  }
  #header.header_area.fixed-top.sticky.header-scrolled
    .nav-header
    .nav-brand
    img {
    width: 240px !important;
  }
}
/* Default transparent background */
.header_area {
  transition: background-color 0.3s ease;
  background: transparent;
}

/* Sticky state after scroll */
.header_area.sticky {
  background: #021940; /* your background color */
}

.header_area.fixed-top,
.fixed-top.topnav_bg {
  background: #0c3426 !important;
}
@media (min-width: 1200px) {
  header.fixed-top img.img_show {
    width: 240px !important;
  }
}
header#header.header-scrolled {
  /* background: linear-gradient(
          to right,
          #03401b,
          #1a995b,
          #056a4a
        ) !important; */
  background-color: #0c3426 !important;
  color: #fff !important;
  border-bottom: unset !important;
}
/* #header.header-scrolled .nav-menus-wrapper .nav-menu li a{
 
        color: #fff !important;
} */
.nav_style {
  display: none;
}
.top_bavbar {
  justify-content: end !important;
}
.top_bavbar a:after {
  border: 1px solid #fff !important;
}
.nav-menu > li > a > i,
.nav-menu > li > a > [class*="ion-"] {
  font-size: 14px;
  text-align: left;
}
.nav-menu > li > a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px; /* space for the underline */
  text-decoration: none;
  color: inherit; /* keep text color */
}
.nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px; /* underline thickness */
  width: 0;
  background: linear-gradient(90deg, #63df4e, #06ffd3);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-menu > li > a:hover::after {
  width: 100%;
}
/* Base styles for submenu / megamenu links */
.nav-dropdown li a,
.megamenu-list li a {
  position: relative;
  display: block;
  padding: 8px 15px;
  color: inherit;
  text-decoration: none;
  z-index: 1; /* make sure text is above the pseudo-element */
  overflow: hidden; /* hide the overflow of the background animation */
}

li ul.nav-submenu li a:hover {
  color: #fff !important;
}
/* Background sweep effect */
.nav-dropdown li a::before,
.megamenu-list li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0; /* start invisible */
  background: linear-gradient(90deg, #63df4e, #06ffd3);
  z-index: -1; /* behind the text */
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* On hover - expand background from left to right */
.nav-dropdown li a:hover::before,
.megamenu-list li a:hover::before {
  width: 100%;
}

/* Optional: smooth reverse on mouse out (already handled by transition) */
#header.header-scrolled img.img_show {
  display: block !important;
  width: 240px !important;
}
.navigation {
  display: flex !important;
  justify-content: space-between;
}

.megamenu-panel .megamenu-list > li > a:hover {
  color: #fff !important;
}

.megamenu-lists .megamenu-list > li.megamenu-list-title > a:hover {
  color: #fff !important;
}

@media (min-width: 1025px) {
  .navigation.navigation-portrait .nav-menus-wrapper .nav-menu li a {
    /* padding: 12px 15px 12px 26px !important; */
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .navigation.navigation-portrait .nav-menus-wrapper .nav-menu li a {
    /* padding: 12px 15px 12px 26px !important; */
  }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  #header.header-scrolled {
    height: 120px !important;
  }
  .nav-toggle:before {
    background-color: #000 !important;
    box-shadow: 0 0.5em 0 0 #000, 0 1em 0 0 #000 !important;
  }
}
@media (min-width: 320px) and (max-width: 576px) {
  header#header.header-scrolled {
    height: 120px !important;
  }
}
@media (min-width: 992px) {
  header.fixed-top .nav-menu > li > a {
    padding: 40px 10px !important;
  }
  #header.header-scrolled .nav-menus-wrapper .nav-menu .main-menu-list > a {
    color: #fff !important;
  }
  .nav-menus-wrapper .nav-menu li a {
    font-size: 16px !important;
  }
  .fixed-top.topnav_bg a {
    font-size: 16px !important;
  }
}

/* Menu end */

/* hero section */
.hero-wrapper {
  background: linear-gradient(180deg, #12503b, #165a41);
  color: white;
  overflow: hidden;
}

.hero-section {
  background: linear-gradient(180deg, #12503b, #165a41);
  padding: 100px 20px;
}

.section-label {
  display: inline-block;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px 16px;
  border-radius: 50px;
  border: 2px solid #2f9b41;
  margin-bottom: 15px;
}
.section-label i {
  margin-right: 5px;
}

.hero-section h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  color: #fff; /* Light green */
}

.subtitle {
  font-size: 1.25rem;
  color: #fdba74; /* Orange */
  font-style: italic;
}

.description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  color: rgb(187 247 208);
}

.gradient-btn {
  background: linear-gradient(90deg, rgb(22 163 74), #059669);
  color: #fff !important;
  padding: 20px 40px !important;
  border-radius: 12px;
  font-weight: 700 !important;
  text-decoration: none;
  transform: scale(1);
}

.gradient-btn:hover {
  animation: zoomIn 0.6s forwards;
  box-shadow: 0 25px 50px -12px rgb(34 197 94 / 25%);
}
.gradient-btn:not(:hover) {
  animation: zoomOut 0.6s forwards;
}

@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

@keyframes zoomOut {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 70px 20px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }
}

/* hero section */

/* Day simple start */

.day-simple {
  background: linear-gradient(180deg, #dffff0, #ffffff);
}

.day-simple h2 {
  font-size: 1.75rem;
  color: #111;
}

.day-simple .info-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 15px;
  /* box-shadow: 0 3px 12px rgba(0,0,0,0.08); */
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #cfcfcf;
}

.day-simple .info-card:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 6px 16px rgba(0,0,0,0.12); */
}

.day-simple .icon img {
  width: 35px; /* Adjust image size */
  height: auto;
}

.day-simple .bottom-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Day simple end */

/* Common view start */

.common-view {
  background: #dffff0;
}

.common-view h2 {
  font-size: 1.75rem;
  color: #111;
}

.common-view h5 {
  font-size: 25px !important;
}

.tick-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.common-view ul li p {
  font-size: 0.95rem;
  /* color: #333; */
  margin-bottom: 0px;
}

.common-view .result-text p {
  font-size: 22px !important;
}

/* Common view end */

/* challenger view start */

.challenger-view {
  background: #ffffff;
  padding-bottom: 5px !important;
  padding-top: 30px;
}

.challenger-view h2 {
  /* font-size: 1.8rem; */
  /* color: #111; */
}

.challenger-view h5 {
  /* font-size: 1.1rem; */
  /* color: #111; */
}

.block-img {
  background-size: cover;
  background-position: center;
  min-height: 250px; /* Default height */
  border-radius: 12px;
  overflow: hidden;
}

.block-img.block-img-tall.load-first {
  min-height: 510px; /* Taller version */
  margin-bottom: 5px !important;
}

.delivery-windows .row .col-lg-6:last-child {
  margin-top: 110px;
}

.load-first .row .col-lg-6:last-child {
  margin-top: 110px;
}

@media (min-width: 300px) and (max-width: 767px) {
  .challenger-view .block-img.delivery-windows {
    background-position-y: 90% !important;
  }
  .challenger-view .block-img.block-img-tall.load-first {
    min-height: 360px !important;
    background-position-y: 80% !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .challenger-view .block-img.delivery-windows {
    background-position-y: 90% !important;
  }
  .challenger-view .block-img.block-img-tall.load-first {
    min-height: 450px !important;
    background-position-y: 80% !important;
  }
}
@media (max-width: 991.98px) {
  .delivery-windows .row .col-lg-6:last-child {
    margin-top: 0px;
  }
  .delivery-windows {
    background-position-y: 75%;
  }

  .load-first .row .col-lg-6:last-child {
    margin-top: 0px;
  }
  .block-img.block-img-tall.load-first {
    margin-bottom: 0px !important;
    min-height: 330px !important;
    background-position-y: 80%;
  }
}

/* challenger view end */

/* Value minute start */

.value-minute {
  background: linear-gradient(135deg, #022213, #155c3a);
  border-radius: 12px;
  margin: 0rem auto 2rem auto;
  max-width: 1140px;
}

.value-minute h3 {
  /* font-size: 1.5rem; */
}

.stat-box {
  background: #28523e;
  border: 1px solid #cefadd;
  border-radius: 10px;
  padding: 30px 15px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

/* Value minute end */

/* Option start */
.opt-section {
  padding: 72px 0;
  background: #fff;
}

.opt-section .opt-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.opt-section .opt-subtitle {
  max-width: 720px;
  margin: 0 auto 2.25rem;
  /* color: var(--bs-secondary-color); */
}

.opt-section .opt-card {
  border: 0;
  background: transparent;
  padding: 0 1rem;
}

.opt-section .opt-card-icon {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  background: #d0fee4;
}

.opt-section .opt-card-icon img,
.opt-section .opt-card-icon svg {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* Smooth animation for icons */
.opt-section .opt-card-icon img {
  transition: transform 0.3s ease;
}

.opt-section .opt-card:hover .opt-card-icon img {
  transform: scale(1.1); /* zoom in a little */
}

.opt-section .opt-card-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.opt-section .opt-card-desc {
  /* color: var(--bs-secondary-color); */
  margin: 0;
}

@media (min-width: 992px) {
  .opt-section {
    padding: 40px 0;
  }
  .opt-section .opt-card {
    padding: 0 1.25rem;
  }
}

/* Option end */

/* Ci section start */

/* Section spacing */
.ci-section {
  padding: 56px 0;
}

/* Outer green container */
.ci-box {
  background: linear-gradient(90deg, #022213, #155c3a);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px;
  color: #e9fbf1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Left content */
.ci-title {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.ci-desc {
  color: #ffffff;
}

/* Metric rows */
.ci-metric-row {
  padding: 10px 0;
  /* border-top: 1px solid rgba(255, 255, 255, 0.08); */
}
.ci-metric-row:first-of-type {
  border-top: 0;
}
.ci-metric-name {
  color: #ffffff;
}
.ci-metric-value {
  font-weight: 500;
}
.ci-up {
  color: #b1ff84; /* positive */
}
.ci-down {
  color: #b1ff84; /* negative */
}
.ci-trend {
  opacity: 0.9;
}

/* Right inner chart box */
.ci-chart {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: #2e5c46;
  border: 1px solid #2e5c46;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /* Smooth hover animation */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ci-chart:hover {
  transform: scale(1.05); /* zoom in a little */
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}
.ci-chart-title {
  font-weight: 700 !important;
  color: #eafbf2;
  text-align: center;
  margin-bottom: 12px;
}
.ci-chart-img {
  /* border-radius: 10px; */
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
}

/* Larger spacing on big screens */
@media (min-width: 992px) {
  .ci-box {
    padding: 28px 32px;
  }
}

/* Ci section end */

/* Tool section start*/

/* Section spacing */
.tools-section {
  padding: 72px 0;
  background-color: #f9fafc;
}

/* Heading */
.tools-heading {
  font-weight: 800;
  letter-spacing: -0.01em;
}
/* .tools-subtitle { color: var(--bs-secondary-color); } */

/* Tabs */
.tools-tabs .nav-link {
  border: 1px solid #cfcfcf;
  color: #000000;
  background: #ffffff;
  border-radius: 10px;
  margin: 6px;
  padding: 8px 14px;
  font-weight: 500;
}
.tools-tabs {
  justify-content: space-between !important;
}
.tools-tabs .nav-link:hover {
  background: #f5f8f7 !important;
  color: #042716 !important;
}
.tools-tabs .nav-link.active {
  background: #042716;
  color: #fff;
  border-color: #042716;
}
.tools-section .tab-content .tab-pane {
  padding: unset;
  opacity: 0;
  transform: translateY(15px); /* subtle slide effect */
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.tab-pane.show.active {
  opacity: 1;
  transform: translateY(0);
}
/* Green panel */
.tools-panel {
  background: linear-gradient(180deg, #c1fee3, #dffee6);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.tools-panel-title {
  font-weight: 800;
  color: #0f2b1d;
}
.tools-panel-desc {
}

/* Inner white container */
.tools-inner {
  background: #ffffff;
  /* border: 1px solid rgba(0,0,0,0.08); */
  border-radius: 14px;
  padding: 16px;
}

/* Expense breakdown */
.exp-title {
  font-weight: 700;
}
.exp-table {
  display: grid;
  gap: 10px;
}
.exp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fafc;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 600;
}
.exp-row .exp-name {
  color: #000000;
  font-weight: 500;
}
.exp-row .exp-amount {
  /* background: #eef2f1; */
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
}
.exp-total {
  background: #dffee6;
  border: 1px solid #dffee6;
}
.exp-total .exp-name {
  font-weight: 600 !important;
}
.exp-total .exp-name,
.exp-total .exp-amount {
  color: #2b5910;
}
.exp-total .exp-amount {
  /* background: #c9eedf; */
}

/* Right column - key metrics */
.metrics-card {
  background: #f0fdf4;
  border: 1px solid #a9f37e;
  border-radius: 12px;
  padding: 14px;
}
.metrics-title {
  font-weight: 700 !important;
  color: #17a55a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.metrics-icon {
  font-size: 18px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.metric-pill {
  /* background: #ffffff; */
  /* border: 1px solid #dceee5; */
  /* border-radius: 10px; */
  padding: 10px 12px;
  text-align: center;
}
.metric-value {
  font-weight: 800 !important;
  color: #17a55a;
}
.metric-label {
  color: #000000;
  font-size: 0.9rem;
}

/* Profitability summary */
.profit-card {
  background: #ffffff;
  border: 1px solid #cdcdcd;
  border-radius: 12px;
  padding: 14px;
}
.profit-title {
  font-weight: 700 !important;
  margin-bottom: 8px;
  color: #17a55a;
}
.profit-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  /* border-top: 1px solid rgba(0,0,0,0.06); */
}
.profit-row:first-of-type {
  border-top: 0;
}
.profit-name {
  color: #000000;
}
.profit-total .profit-name {
  font-weight: 800;
}

.profit-total .profit-amount {
  color: #17a55a;
  font-weight: 800;
}
/* Cost Optimization callout */
.cost-card {
  background: #f0fff5;
  border: 1px solid #cefadd;
  border-radius: 12px;
  padding: 14px;
}
.cost-title {
  font-weight: 600 !important;
  color: #2b5910;
  margin-bottom: 4px;
}
.cost-desc {
  color: #49941d;
}

/* Responsive tweaks */
@media (min-width: 992px) {
  .tools-panel {
    padding: 26px;
  }
  .tools-inner {
    padding: 20px;
  }
}

/* On-time score (Delay Forecasting style) */
.risk-card {
  background: #fef2f2;
  border: 1px solid #f21e1e;
  border-radius: 12px;
  padding: 14px;
}
.risk-badge {
  /* background:#ffe9e8; */
  /* border:1px solid #f3c2be; */
  color: #981b1a;
  font-weight: 600 !important;
  border-radius: 10px;
  /* padding:8px 10px; */
  display: inline-block;
}
.risk-badge span {
  color: #c53030;
}

.risk-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 15px 14px;
  align-items: center;
}
.risk-name {
  color: #000000;
  font-weight: 600;
}
.risk-val {
  justify-self: end;
}
.risk-val.text-danger-emphasis {
  color: #f21e1e !important;
}
/* Recommended actions */
.rec-card {
  background: #eff6ff;
  border: 1px solid #2563ea;
  border-radius: 12px;
  padding: 12px;
}
.rec-title {
  font-weight: 800;
  color: #2563ea;
  margin-bottom: 8px;
}
.rec-item {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #e6ecff;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 8px;
}
.rec-item:last-child {
  margin-bottom: 0;
}
.rec-apply-btn {
  background: #2563ea;
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
  padding: 10px 14px;
  border: 0;
  box-shadow: 0 10px 20px rgba(47, 111, 237, 0.25);
}
.rec-apply-btn:hover {
  background: #265fce;
}
.form-check-input {
  pointer-events: none;
  border: 1px solid #2563ea !important;
}
/* Routes overview */
.routes-card {
  background: #ffffff;
  border: 1px solid #cdcdcd;
  border-radius: 12px;
  padding: 12px;
}
.routes-title {
  font-weight: 700 !important;
  margin-bottom: 8px;
  color: #000000;
}
.route-item {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 6px;
  border-radius: 10px;
  background-color: #f9fafc;
  margin-bottom: 10px;
}
/* .route-item + .route-item{ border-top:1px dashed #e8eeeb; } */
/* .route-dot{
  width:12px; height:12px; border-radius:50%;
  background:#19c27b; box-shadow:0 0 0 3px rgba(25,194,123,.2);
} */
/* .route-dot.warn{ background:#e34d45; box-shadow:0 0 0 3px rgba(227,77,69,.2); } */

.route-dot img {
  width: 100%;
}
.route-name {
  font-weight: 700 !important;
  display: flex;
  flex-direction: column;
}
.route-driver {
  color: #000000;
  font-weight: normal;
}
.route-time {
  text-align: right;
}
.route-time small {
  display: block;
  color: #000000;
}

/* Time savings */
.tsf-card {
  background: #f0fff5;
  border: 1px solid #cefadd;
  border-radius: 12px;
  padding: 12px;
}
.tsf-title {
  font-weight: 700 !important;
  color: #2b5910;
  margin-bottom: 8px;
}
.tsf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tsf-cell {
  padding: 10px;
  text-align: center;
}
.tsf-value {
  font-size: 1.05rem;
  color: #17a34a !important;
}
.tsf-label {
  font-size: 0.9rem;
  color: #0d1f18;
}

/* Make columns/cards stretch equally */
#on-time-score .row > [class*="col-"] {
  display: flex;
}
#on-time-score .col-12.col-lg-7 > *:last-child,
#on-time-score .col-12.col-lg-5 > *:last-child {
  margin-bottom: 0;
}

/* ========== Real-Time Tracking ========== */
.tracking-inner {
}

/* Truck cards */
.truck-card {
  background: #fff;
  border: 1px solid #e6ece9;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  gap: 30px;
}
.truck-card.warn {
  background: #f9f9f9;
  border-color: #cdcdcd;
}
.truck-card.ahead {
  background: #f0fdf4;
  border-color: #17a55a;
}

.t-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.t-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 6px 14px rgba(0,0,0,.12); */
  border: 1px solid #2563ea;
}
.t-ico img {
  width: 22px;
  height: 22px;
  /* filter:brightness(0) invert(1); */
}
.t-driver {
  font-size: 0.9rem;
}
.t-eta .eta-time {
  line-height: 1;
}
.t-eta .eta-label {
  opacity: 1;
}

.t-row {
  margin-bottom: 6px;
}
.t-row .label {
  color: #000000;
  font-size: 0.9rem;
}
.t-row .value {
  color: #000000;
  font-weight: 700 !important;
}

/* Progress bar */
.t-progress {
  position: relative;
  height: 8px;
  background: #e9eef0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}
.t-progress.good {
  background: #e1f7ed;
}
.t-progress .fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--val, 60%);
  background: #2f80ed;
  border-radius: inherit;
}
.truck-card.ahead .t-progress .fill {
  background: #32bea6;
}
.truck-card.warn .t-progress .fill {
  background: #3b82f6;
}

/* Flags */
.t-flags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.t-flags li {
  font-size: 0.9rem;
}
.t-flags .bad {
  color: #f21e1e;
}
.t-flags .good {
  color: #128b5b;
}

/* Activity card */
.activity-card {
  background: #fff;
  border: 1px solid #e6ece9;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.act-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 6px;
  border-radius: 10px;
  background-color: #f9fafc;
  margin-bottom: 10px;
}
/* .act-item + .act-item{ border-top:1px dashed #ecf1ee; } */
.act-ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eaf2ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.act-ico img {
  width: 18px;
  height: 18px;
}
.act-time {
  font-size: 0.9rem;
}

/* Store notifications */
.notify-card {
  background: #eff6ff;
  border: 1px solid #2563ea;
  border-radius: 12px;
  padding: 12px;
}
.notify-title {
  font-weight: 800;
  color: #2563ea;
  margin-bottom: 8px;
}
.notify-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e6ecff;
}
.notify-row + .notify-row {
  margin-top: 8px;
}
.badge {
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: normal !important;
  text-transform: lowercase;
}
.n-notified {
  background: #eff6ff;
  color: #2563ea !important;
}
.n-ready {
  background: #f0fdf4;
  color: #17a55a !important;
}
.n-adjusted {
  background: #fef9c2;
  color: #6c683d !important;
}

/* Equal heights */
#real-time-tracking .row > [class*="col-"] {
  display: flex;
}

/* On‑Time Performance (On-time score) */
.otp-summary .otp-rate {
  font-weight: 800 !important;
  font-size: 22px !important;
  color: #0f2b1d;
}
.otp-summary .otp-note {
  color: #000000;
}

/* Exact look inside tools-inner for On‑Time Performance */
.otp-inner .row > [class*="col-"] {
  display: flex;
} /* equal height */

.otp-card {
  background: #fff;
  border: 1px solid #cdcdcd;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 30px;
}

.otp-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.otp-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.otp-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.otp-link {
  font-weight: 600 !important;
  color: #000000;
  text-underline-offset: 3px;
}

.otp-card-title {
  font-weight: 800;
  color: #0f2b1d;
  margin-bottom: 8px;
}

/* Bars */
.bar-block {
  margin-bottom: 12px;
}
.bar-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}
.bar-title {
  font-weight: 600;
  color: #000000;
  display: flex;
  flex-direction: column;
}
.bar-perc {
  font-weight: 700 !important;
  color: #000000;
  white-space: nowrap;
}
.bar-perc .up {
  color: #17a55a;
  margin-left: 4px;
  font-weight: normal !important;
}
.bar-perc .down {
  color: #f21e1e;
  margin-left: 4px;
  font-weight: 700;
}

.bar-track {
  height: 10px;
  background: #eceff1;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}
.bar-track.thin {
  height: 8px;
}
.bar-fill {
  display: block;
  height: 100%;
  width: var(--val, 60%);
  border-radius: inherit;
}
.bar-fill.green {
  background: #32bea6;
}
.bar-fill.red {
  background: #ee4444;
}
.bar-fill.blue {
  background: #2563ea;
}
.bar-fill.gold {
  background: #e9b308;
}

/* Drivers list */
.driver-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 15px;
  border-radius: 10px;
  background-color: #f9fafc;
}
/* .driver-row + .driver-row{ border-top:1px dashed #eceff1; } */
.driver-main {
  display: flex;
  gap: 10px;
  align-items: center;
}
.drv-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eaf2ff;
  display: inline-block;
}
.driver-name {
  font-weight: 700 !important;
  color: #000000;
}
.driver-score {
  font-weight: 700 !important;
  color: #000000;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 6px;
}
.tag-top {
  background: #f0fdf4;
  color: #17a55a;
}
.tag-good {
  background: #daebff;
  color: #2563ea;
}
.tag-improve {
  background: #fef9c2;
  color: #7b5e09;
}

/* Customer pills */
.pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}
.pill.hi {
  background: #ffe6e6;
  color: #f21e1e;
}
.pill.med {
  background: #fef9c2;
  color: #635b02;
}
.muted {
  color: #6b7a74;
}

.by-customer .bar-title {
  font-weight: 600 !important;
}

.by-customer .bar-title small {
  font-weight: normal !important;
}

.by-customer .bar-perc {
  font-weight: 700 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.by-customer .bar-perc span {
  font-weight: normal !important;
}

/* Weekly Trends card */
.otp-card.trends {
  background: #f0fdf4;
  border-color: #17a55a;
}
.trends .trends-title,
.trends-title {
  font-weight: 600 !important;
  color: #225138;
  margin-bottom: 6px;
}
.week-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.week-list li {
  display: flex;
  justify-content: space-between;
}
.week-list .v {
  font-weight: 500 !important;
}
.week-list .good {
  color: #17a55a;
}
.week-list .warn {
  color: #c7980f;
}
.week-list .bad {
  color: #df2c2c;
}
.insight-box {
  background: #ffffff;
  border: 1px solid #17a55a;
  border-radius: 8px;
  padding: 10px;
  color: #000000;
}

/* Improvement Actions (outer blue card, inner white boxes) */
.improve-wrap {
  background: #eff6ff;
  border: 1px solid #2563ea;
  border-radius: 12px;
  padding: 12px;
}
.imp-head {
  font-weight: 700 !important;
  margin-bottom: 8px;
  color: #000000;
}
.improve-box {
  background: #fff;
  border: 1px solid #cdcdcd;
  border-radius: 10px;
  padding: 20px;
  height: 100%;
}
.imp-title {
  font-weight: 700 !important;
  color: #000000;
  margin-bottom: 20px;
}
.imp-sub {
  color: #000000;
}
.imp-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #1548b7;
}
.imp-list a {
  color: #1548b7;
  text-decoration: none;
}
.imp-list a:hover {
  text-decoration: underline;
}

/* Real‑Time Adjustment (inside .tools-inner) */
.rta-inner .row > [class*="col-"] {
  display: flex;
} /* equal height */

.rta-card {
  background: #f0fdf4;
  border: 1px solid #17a55a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Titles */
.rta-title {
  font-weight: 700 !important;
  margin-bottom: 18px;
}
.rta-title.req {
  color: #6a5f1b;
}
.rta-title.sys {
  color: #2563ea;
}
.rta-title.stat {
  color: #17a55a;
}
.rta-title.plan {
  color: #000000;
}

/* Emergency Request — exact look */
.req-card {
  background: #fefbe8; /* soft sand */
  border: 1px solid #cdcdcd; /* light sand stroke */
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03),
    /* subtle lift */ inset 0 0 0 1px rgba(255, 255, 255, 0.55); /* light inner stroke */
}
.req-heading {
  color: #6a5f1b; /* olive */
  font-weight: 700 !important;
  margin-bottom: 10px;
}

/* Stacked label/value pairs */
.req-group {
  margin: 14px 0;
}
.req-group:first-of-type {
  margin-top: 4px;
}

.req-label {
  color: #000000; /* grey-green label */
  font-weight: normal;
  margin-bottom: 2px;
}

.req-value {
  color: #000000; /* dark text */
  font-weight: 600 !important; /* bold like screenshot */
}

/* If the old grid (.kv) is still present anywhere, neutralize it */
.req-card .kv {
  display: contents !important;
}
.req-card .kv .k,
.req-card .kv .v {
  display: none !important;
}
/* System Analysis (blue frame with inner boxes) */
.sys-card {
  background: #eff6ff;
  border-color: #cbd9ff;
}
.sys-box {
  background: #fff;
  border: 1px solid #e0e8ff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  margin-bottom: 10px;
}
.sys-box:last-child {
  margin-bottom: 0;
}
.sys-head {
  font-weight: 700 !important;
  margin-bottom: 15px;
  color: #000000;
}
.sys-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
}
.sys-row .label {
  color: #000000;
}
.sys-row .val {
  font-weight: 600 !important;
}
.sys-row .val.money {
  color: #2563ea;
}
.sys-row .val.high {
  color: #f64242;
}
.sys-row .val.low {
  color: #17a55a;
}

/* Driver Status / Impact Summary (green outline) */
.stat-card {
  background: #f5fff8;
  border-color: #bfe8d6;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px 12px;
}
.gk {
  color: #000000;
}
.gv {
  color: #000000;
  font-weight: 700;
}
.gv.good {
  color: #17a55a;
  font-weight: 600 !important;
}
.gv.muted {
  color: #6f7c76;
}

/* Plan panel (neutral inset) */
.plan-card {
  background: #ffffff;
  border-color: #cdcdcd;
}
.plan-panel {
  background: #f8f8f8;
  border: 1px solid #e6eaef;
  border-radius: 10px;
  padding: 20px;
}
.plan-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 0;
}
/* .plan-line + .plan-line{ border-top:1px dashed #e6eaef; } */
.plan-line .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #12a060;
  box-shadow: 0 0 0 3px rgba(18, 160, 96, 0.18);
  margin-top: 4px;
  flex: 0 0 10px;
}
.plan-line .text {
  color: #0f2b1d;
}

/* Small helpers */
.muted {
  color: #6b7a74;
}

/* Tool section end*/

/* CTA section start */

/* Spacing */
.route-cta-section {
  padding: 56px 0;
}

/* Green banner with background image/pattern */
.route-cta-wrap {
  /* position: relative; */
  /* overflow: hidden; */
  border-radius: 40px;
  padding: 65px 50px;
  color: #ffffff;
  /* box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18); */
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(/assets/img/Send-your-stops-bg.svg);
}

.route-cta-title {
  max-width: 820px;
  margin: 0 auto 50px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Anchor styled as button */
.route-cta-btn {
  background: linear-gradient(90deg, #c1fee3, #dffee6);
  color: #003c09 !important;
  border: 1px solid #a7e7c9;
  font-weight: 700 !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 25px !important;
}
.route-cta-btn:hover {
  background: linear-gradient(90deg, #dffee6, #c1fee3);
  color: #003c09 !important;
  border-color: #9adfc0 !important;
  animation: zoomIn 0.6s forwards;
  box-shadow: 0 25px 50px -12px rgb(34 197 94 / 25%);
}
.route-cta-btn:not(:hover) {
  animation: zoomOut 0.6s forwards;
}
.route-cta-btn:focus-visible {
  outline: 3px solid rgba(214, 247, 230, 0.8);
  outline-offset: 2px;
}

@media (min-width: 992px) {
  .route-cta-wrap {
    padding: 90px 40px;
  }
  .route-cta-title {
    font-size: 2rem;
  }
}
/* CTA section end */

/* Footer section */

.footer-section {
  background: #000;
  color: #fff;
  font-size: 1rem;
  border-top: 1px solid #333;
}

.footer-logo-img {
  height: 100px;
  max-width: 100%;
}

.footer-title {
  color: #7fff00;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 20px;
}

.footer-address {
  font-style: normal;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 18px;
}
.footer-address a {
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #0085cd;
}

.footer-social {
  margin-top: 10px;
  margin-bottom: 20px;
}

.footer-social a {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 10px;
  transition: color 0.2s;
  display: inline-block;
}
.footer-social a i {
  font-size: 25px;
}

.footer-social a:hover {
  color: #0085cd;
}

.footer-bg-logo-img {
  /* opacity: 0.08; */
  width: 60%;
  max-width: 220vw;
  height: auto;
  margin: 0 auto;
  display: block;
}

.footer-copyright {
  color: #fff;
  font-size: 18px;
  margin: 18px 0 0 0;
  letter-spacing: 0.01em;
  padding: 20px 0px;
}

@media (max-width: 767.98px) {
  .footer-logo-img {
    height: 40px;
  }
  .footer-bg-logo-img {
    width: 180px;
  }
  .footer-title {
    margin-top: 18px;
  }
}
.bg-dark-gray {
  /* background: url(/assets/img/Black-Background.png); */
  background-color: #070707;
  padding: 20px 0px;
}

/* Footer section */
