:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #20312f;
  --link-color: #3c86ce;
  --header-bg-color: #ffffff;
  --font-family: system-ui;
  --nav-link-color: #141414;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}

section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2,
h3 {
  color: var(--heading-color) !important;
}

.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.error_page {
  min-height: 70vh;
}

.site-footer {
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #064e3b 35%,
    #0b321b 65%,
    #1e3a8a 100%
  );
  color: var(--footer-text-color);
  padding: 1.9rem 19px;
  text-align: center;
}

/* Top area */
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Links */
.footer-links {
  display: flex;
  gap: 15px;
}

.footer-links a {
  color: var(--link-color);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-divider {
  border: none;
  height: 1px;
  margin: 1.5rem auto;
  width: 60%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--link-color),
    transparent
  );
  opacity: 0.5;
}

.footer-bottom {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.6;
}

.navbar {
  background-color: var(--header-bg-color) !important;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.hero-section {
  padding: 75px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.with-bg {
  background-image: url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6.5px 25px -1px #484646;
}

.hero-section.with-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(0, 0, 0));
  opacity: 0.5;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(
      in srgb,
      var(--header-bg-color) 65%,
      transparent
    );
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

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

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}
.title {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: #1f2933; /* deep slate for readability */
  letter-spacing: -0.02em;

  margin: 1.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid #4caf50; /* nature-inspired accent */
}
.rounded {
  border-radius: 17px !important;
}
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
}

.routes-table {
  width: 100%;
  min-width: 600px; /* forces scroll on small screens */
  border-collapse: collapse;
  font-family: "Inter", system-ui, sans-serif;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.routes-table thead {
  background: #f3f7f4;
}

.routes-table th,
.routes-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
  white-space: nowrap;
}

.routes-table th {
  font-weight: 600;
  color: #1f2933;
  letter-spacing: 0.02em;
}

.routes-table td {
  color: #4b5563;
  border-top: 1px solid #e5e7eb;
}

.routes-table tbody tr:hover {
  background-color: #f9fafb;
}

/* subtle route emphasis */
.routes-table td:first-child {
  font-weight: 500;
  color: #14532d;
}
.heading {
  position: relative;
  margin: 30px auto;
}

/* underline trail / path effect */
.heading::after {
  content: "";
  display: block;
  width: min(520px, 90%);
  height: 10px;
  margin: 1.2rem auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(76, 175, 80, 0),
    rgba(76, 175, 80, 0.9),
    rgba(59, 130, 246, 0.9),
    rgba(245, 158, 11, 0.9),
    rgba(245, 158, 11, 0)
  );
  filter: blur(0.2px);
  opacity: 0.95;
  z-index: 0;
}

.heading h2 {
  position: relative;
  z-index: 1;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.heading p {
  position: relative;
  z-index: 1;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(31, 41, 51, 0.78);
  margin: 0 auto;
}

/* extra: subtle lift on hover for the whole block */
.heading {
  transition:
    transform 250ms ease,
    filter 250ms ease;
}
.heading:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}
.cust-bg {
  position: relative;
  margin: 30px auto;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 18px;
  overflow: hidden;

  /* layered background */
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.86)
    ),
    radial-gradient(
      1200px 600px at 10% 0%,
      rgba(76, 175, 80, 0.25),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 100% 10%,
      rgba(59, 130, 246, 0.2),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 70% 110%,
      rgba(245, 158, 11, 0.18),
      transparent 55%
    );
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.08);

  transform: translateY(0);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
}

/* subtle topo/grid texture overlay */
.cust-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(17, 24, 39, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.25;
  pointer-events: none;
}

/* “trail swoosh” accent */
.cust-bg::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 220px;
  right: -180px;
  top: -120px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.45),
    rgba(59, 130, 246, 0.35),
    rgba(245, 158, 11, 0.25)
  );
  filter: blur(10px);
  transform: rotate(12deg);
  opacity: 0.9;
  pointer-events: none;
}

/* hover lift */
.cust-bg:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  filter: saturate(1.05);
}

.cust-bg h2 {
  position: relative;
  margin: 0 0 1rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;

  /* gradient title */
  background: linear-gradient(90deg, #14532d, #4caf50, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* decorative left border like a “route marker” */
.cust-bg h2::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 0.15em;
  width: 6px;
  height: 1.1em;
  border-radius: 999px;
  background: linear-gradient(180deg, #4caf50, #3b82f6);
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.18);
}

.cust-bg p {
  position: relative;
  margin: 0 0 1.2rem;
  color: rgba(31, 41, 51, 0.82);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.75;
}

.cust-bg h3 {
  position: relative;
  margin: 1.6rem 0 0.75rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #0f172a;
}

/* small underline accent under h3 */
.cust-bg h3::after {
  content: "";
  display: block;
  width: 110px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(76, 175, 80, 0.9),
    rgba(59, 130, 246, 0.9),
    rgba(245, 158, 11, 0.6)
  );
  opacity: 0.75;
}

/* spacing + readability on very small screens */
@media (max-width: 480px) {
  .cust-bg {
    margin: 1.5rem 0;
    border-radius: 16px;
  }
}

.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.colored-bg {
  background: linear-gradient(
    135deg,
    #e6f4f1 0%,
    #d1fae5 35%,
    #bfdbfe 70%,
    #fde68a 100%
  );
}
.faq-section .accordion-button {
  color: var(--link-color);
  font-weight: 600;
}
.faq-section .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem var(--link-color);
}
.footer img {
    filter: brightness(0) invert(1);
}