:root {
  --accent: #ffdd00;
  --dark: #1a1a1a;
  --footer: #2c2e3e;
  --topbar-height: 42px;
}

/* GLOBAL */
body {
  font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

.fw-600 {
  font-weight: 600;
}

.leading-relaxed {
  line-height: 1.8;
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

.logo-img {
  width: 2.8rem;
}

/* Accent colored focus ring for all Bootstrap form fields */
:root {
  --accent: #ffdd00;
}

/* Inputs, selects, textareas */
.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(255, 221, 0, 0.35) !important;
}

/* Checkboxes & radios */
.form-check-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(255, 221, 0, 0.35);
}

/* Range */
.form-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 0.25rem rgba(255, 221, 0, 0.35);
}

.form-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 0.25rem rgba(255, 221, 0, 0.35);
}

/* Remove Bootstrap blue glow on buttons inside input groups */
.input-group .btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 221, 0, 0.35);
}
/* Hide default radio */
.custom-radio input[type='radio'] {
  display: none;
}

.z-1 {
  z-index: 1;
}
/* Radio label becomes the visual control */
.custom-radio {
  padding: 0;
}
.custom-radio label {
  display: block;
  border: 2px solid #e5e5e5;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.2s ease;
  font-weight: 600;
  background: #fff;
  /* min-width: 150px; */
}

/* Hover */
.custom-radio label:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Checked */
.custom-radio input[type='radio']:checked + label {
  border-color: var(--accent);
  background: #fffbea;
  box-shadow: 0 0 0 0.2rem rgba(255, 221, 0, 0.25);
}

/* Optional dot indicator */
.custom-radio label::before {
  content: '';
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 2px solid #ccc;
  margin-right: 0.6rem;
  vertical-align: middle;
  transition: all 0.2s ease;
}

.custom-radio input[type='radio']:checked + label::before {
  border-color: var(--accent);
  background: var(--accent);
}

/* NAVBAR */
.navbar-wrapper {
  /* transition: background 0.4s ease, padding 0.4s ease; */
  height: var(--topbar-height);
}

.top-bar {
  background-color: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}
.top-info svg {
  width: 15px;
  height: 15px;
}

.bottom-bar {
  background: transparent;
  padding: 0.95rem 0;
  transition:
    background 0.3s ease,
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

/* Scroll State */
/* .scrolled {
  top: -2rem;
} */

.scrolled .top-bar {
  /* transform: translateY(-100%);
  opacity: 0;
  pointer-events: none; */
  transform: translateY(calc(-1 * var(--topbar-height)));
  opacity: 0;
}

.scrolled .bottom-bar {
  /* background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(0.6rem);
  padding: 0.6rem 0;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.3); */
  margin-top: calc(-1 * var(--topbar-height));
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(0.6rem);
  padding: 0.6rem 0;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.3);
}
.top-bar,
.bottom-bar {
  will-change: transform;
}

/* MOBILE */
@media (max-width: 62rem) {
  .bottom-bar {
    background: rgba(0, 0, 0, 0.85);
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
}

@media (max-width: 767px) {
  .top-bar {
    font-size: 0.8rem;
    padding: 0.3rem 0 !important;
  }

  .bottom-bar {
    background: rgba(0, 0, 0, 0.9);
  }

  .top-info {
    width: 96%;
    display: flex;
    justify-content: space-between;
  }
}

/* HERO */
.hero-section {
  /* height: 100vh; */
  min-height: 37.5rem;
  background: url('../img/hero.jpg') no-repeat center/cover;
  position: relative;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero-title {
  font-size: 2rem;
  font-weight: 600;
}
/* BUTTON */
.hero-btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  background: var(--accent);
  color: #000;
  border: 2px solid var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.4rem;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  font-size: 0.9rem;
}
.hero-btn svg {
  width: 1rem;
  fill: currentColor;
  transition: 0.3s ease;
}
.hero-btn:hover {
  background: transparent;
  color: var(--accent);
}

/* COMPONENTS */
.subtitle {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-size: 0.85rem;
}

.feature-card {
  padding: 2.5rem;
  border-bottom: 0.25rem solid var(--accent);
  box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.05);
}

.card-icon {
  margin-bottom: 1rem;
}
.card-icon svg {
  width: 25px;
  height: 25px;
}
.card-icon svg path {
  fill: #ffde02;
}
.feature-pills span {
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.feature-pills span:hover {
  border-color: var(--accent);
  background: #fffdf0;
}

.image-accent {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 5rem;
  height: 5rem;
  background: var(--accent);
  border-radius: 0.75rem;
  z-index: 0;
}

.custom-list li {
  padding: 0.5rem 0;
  font-weight: 600;
  color: #444;
}

/* FOOTER */
.main-footer {
  background-color: var(--footer);
  color: #fff;
  padding: 5rem 0 2rem;
}

.footer-brand .logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
}

.footer-brand p {
  margin-top: 1.2rem;
  color: #b1b1b1;
  line-height: 1.8;
  max-width: 22rem;
}

.main-footer h4,
.main-footer h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.6rem;
}

.footer-links ul li a,
.footer-link {
  color: #b1b1b1;
  text-decoration: none;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-links ul li a:hover,
.footer-link:hover {
  color: var(--accent);
  transform: translateX(0.3rem);
}

.footer-icon {
  margin-right: 0.2rem;
}

.footer-icon svg {
  width: 15px;
}

.social-links {
  list-style: none;
}
.social-links svg {
  width: 15px;

  transition: transform 0.4s ease;
}
.social-links svg:hover {
  transform: scale(1.3);
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #888;
}
.legal-links .legal-link {
  color: #888;
  text-decoration: none;
}
.legal-links .legal-link:hover {
  color: var(--accent);
}
/* PAGE HERO OFFSETS */
.about-hero,
.contact-hero,
.gallery-hero,
.tour-hero {
  padding-top: 9.5rem !important;
}
.about-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('../img/about-hero.jpg') center/cover;
}
.tour-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('../img/packages-cover.jpg') center/cover;
}
.rental-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../img/rental-cover.jpg') center/cover;
  padding-top: 10rem !important;
  padding-bottom: 5rem;
}
.contact-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../img/tt.jpg') center/cover;
}
.gallery-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('../img/tu3.jpg') center/cover;
}

.train-support-section {
  position: relative;
  background:
    linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)),
    url('../img/tu3.jpg') center / cover;
  background-attachment: fixed; /* Parallax effect for desktop */
  padding: 100px 0;
}

/* Individual Station Cards */
.station-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.station-card h5 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.station-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: block;
  filter: drop-shadow(0 0 5px rgba(255, 221, 0, 0.3));
}

/* Hover & Special States */
.station-card:hover {
  background: #ffdd00;
  color: #000;
  transform: translateY(-8px);
  border-color: #ffdd00;
}

.station-card.featured {
  border-color: #ffdd00;
  box-shadow: 0 0 15px rgba(255, 221, 0, 0.2);
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .train-support-section {
    background-attachment: scroll; /* Fixed background is buggy on mobile */
    padding: 60px 0;
  }
  .station-card {
    padding: 15px 10px;
  }
}
/* CARDS & EFFECTS */
.trust-card,
.package-card {
  transition: transform 0.3s ease;
  background: #fff;
}

.trust-card:hover,
.package-card:hover {
  transform: translateY(-0.3rem);
}
.trust-logo {
  width: 40px;
  height: auto;
}

.aac-permit-contact {
  list-style: none;
}
.aac-permit-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.aac-permit-wrapper a {
  text-decoration: none;
}

.aac-permit-wrapper svg {
  width: 15px;
}

/* TIMELINE */
.itinerary-timeline {
  padding-left: 1.2rem;
  border-left: 2px dashed var(--accent);
}

.day-item {
  margin-bottom: 1.2rem;
  position: relative;
}

.day-item::before {
  content: '';
  position: absolute;
  left: -1.55rem;
  top: 0.3rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--accent);
  border-radius: 50%;
}
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
/* SIDEBAR */
.sticky-sidebar {
  position: sticky;
  top: 6rem;
}
/* Privacy Hero (The "Navbar Holder") */
.singe-page-hero {
  padding-top: 180px; /* Provides space for the two-row navbar */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2e3e 100%);
  position: relative;
  border-bottom: 4px solid var(--accent); /* Croos Tours Accent */
}

/* Ensure the top of the content area feels clean */
.singe-page-section {
  background-color: #ffffff;
}

.singe-page-content h2 {
  color: #2c2e3e;
  border-left: 4px solid var(--accent);
  padding-left: 15px;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.singe-page-content p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
}
.singe-page-content a {
  color: #ffc107;
  text-decoration: none;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
  .singe-page-hero {
    padding-top: 140px;
    padding-bottom: 40px;
  }
  .singe-page-hero h1 {
    font-size: 2rem;
  }
}
.error-page {
  min-height: 100vh;
  padding-top: 100px;
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.error-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
    url('../img/404-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  z-index: -1;
}
.error-label {
  color: #ffdd00;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}
.error-code {
  font-size: clamp(6rem, 15vw, 10rem); /* Responsive sizing */
  color: #ffdd00;
  line-height: 0.9;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .error-page {
    padding-top: 120px;
  }
}

.final-cta {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../img/arugambe.jpg') center/cover fixed;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  right: 24px;
  bottom: 120px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.custom-check-list {
  list-style: none; /* Remove default bullets */
  padding-left: 0;
}

.custom-check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.custom-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #ffc107;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M480 96c17.7 0 32 14.3 32 32s-14.3 32-32 32l-208 0 0-64 208 0zM320 288c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0zm64-64c0 17.7-14.3 32-32 32l-48 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l48 0c17.7 0 32 14.3 32 32zM288 384c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0zm-88-96l.6 0c-5.4 9.4-8.6 20.3-8.6 32 0 13.2 4 25.4 10.8 35.6-24.9 8.7-42.8 32.5-42.8 60.4 0 11.7 3.1 22.6 8.6 32l-8.6 0C71.6 448 0 376.4 0 288l0-61.7c0-42.4 16.9-83.1 46.9-113.1l11.6-11.6C82.5 77.5 115.1 64 149 64l27 0c35.3 0 64 28.7 64 64l0 88c0 22.1-17.9 40-40 40s-40-17.9-40-40l0-56c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 56c0 39.8 32.2 72 72 72z'/%3E%3C/svg%3E")
    no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M480 96c17.7 0 32 14.3 32 32s-14.3 32-32 32l-208 0 0-64 208 0zM320 288c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0zm64-64c0 17.7-14.3 32-32 32l-48 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l48 0c17.7 0 32 14.3 32 32zM288 384c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0zm-88-96l.6 0c-5.4 9.4-8.6 20.3-8.6 32 0 13.2 4 25.4 10.8 35.6-24.9 8.7-42.8 32.5-42.8 60.4 0 11.7 3.1 22.6 8.6 32l-8.6 0C71.6 448 0 376.4 0 288l0-61.7c0-42.4 16.9-83.1 46.9-113.1l11.6-11.6C82.5 77.5 115.1 64 149 64l27 0c35.3 0 64 28.7 64 64l0 88c0 22.1-17.9 40-40 40s-40-17.9-40-40l0-56c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 56c0 39.8 32.2 72 72 72z'/%3E%3C/svg%3E")
    no-repeat center;
  -webkit-mask-size: contain;
}

/* Delivery Service Cards */
.delivery-card {
  transition: all 0.3s ease;
  background: #ffffff;
}

.delivery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: #ffdd00; /* Your brand yellow */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(255, 221, 0, 0.3);
}

@media (max-width: 768px) {
  .delivery-card {
    padding: 30px 20px !important;
  }
  .service-icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
