:root {
  /* Premium Color Palette — preserved from original */
  --primary-color: #0f172a;
  /* Deep Royal Blue */
  --primary-hover: #1e293b;
  --secondary-color: #f59e0b;
  /* Gold/Amber */
  --secondary-hover: #d97706;
  --bg-color: #f8fafc;
  /* Off-white/Light Gray */
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* New tokens */
  --accent-green: #10b981;
  --accent-green-light: #d1fae5;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
}

/* ===================== BASE ===================== */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

/* ===================== BOOTSTRAP OVERRIDES ===================== */
.bg-base {
  background-color: var(--primary-color) !important;
}

.text-gold {
  color: var(--secondary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-warning {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  font-weight: 600;
}

.btn-warning:hover {
  background-color: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: white;
}

/* ===================== UTILITIES ===================== */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.card {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.rounded-xl {
  border-radius: var(--radius-lg);
}

.rounded-2xl {
  border-radius: var(--radius-2xl);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* ===================== NAVBAR ===================== */
.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
}

.navbar-scrolled {
  background-color: var(--glass-bg) !important;
  box-shadow: var(--shadow-md);
}

/* ===================== HERO SECTION ===================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--primary-color);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 2;
}

/* Responsive Hero Text & Spacing */
.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero-spacing {
  padding-top: 4rem;
  padding-bottom: 10rem;
}

.search-overlap {
  margin-top: -6rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-spacing {
    padding-top: 2.5rem;
    padding-bottom: 7rem;
  }
  .search-overlap {
    margin-top: -4rem;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--secondary-color);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title .text-accent {
  color: var(--secondary-color);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-benefit-item i {
  color: var(--accent-green);
  font-size: 1rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-ctas .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 2rem;
  font-size: 1rem;
}

.btn-hero-primary {
  background: var(--secondary-color);
  color: #fff;
  border: 2px solid var(--secondary-color);
}

.btn-hero-primary:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: #fff;
}

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ===================== BOOKING WIDGET ===================== */
.booking-widget {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 3;
}

.booking-widget .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.booking-widget .form-control,
.booking-widget .form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-widget .form-control:focus,
.booking-widget .form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.booking-widget .btn-book {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  transition: background 0.2s ease, transform 0.15s ease;
}

.booking-widget .btn-book:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ===================== WHY CHOOSE SECTION ===================== */
.why-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #f1f5f9;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.why-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ===================== HOW IT WORKS ===================== */
.step-card {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
}

.step-card h5 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ===================== FLEET SECTION ===================== */
.fleet-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #f1f5f9;
}

.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.fleet-card-image {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem 1.5rem;
  text-align: center;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fleet-card-image img {
  max-height: 130px;
  width: auto;
  transition: transform 0.3s ease;
}

.fleet-card:hover .fleet-card-image img {
  transform: scale(1.05);
}

.fleet-card-body {
  padding: 1.5rem;
}

.fleet-card-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fleet-spec {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.fleet-spec i {
  font-size: 0.9rem;
  color: var(--primary-color);
}

/* ===================== ROUTE CARDS ===================== */
.route-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #f1f5f9;
  cursor: pointer;
}

.route-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.route-card-image {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.route-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.route-card:hover .route-card-image img {
  transform: scale(1.08);
}

.route-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.6) 0%, transparent 60%);
}

.route-card-destination {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.route-card-body {
  padding: 1.25rem;
}

.route-card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.route-card-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.95rem;
}

/* ===================== TESTIMONIAL SECTION ===================== */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid #f1f5f9;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 280px;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
  overflow-y: auto;
  flex-grow: 1;
  min-height: 0;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================== FINAL CTA SECTION ===================== */
.final-cta-section {
  background: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.08);
}

.final-cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.05);
}

/* ===================== CONTACT SECTION ===================== */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ===================== FOOTER ===================== */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

footer a {
  color: #cbd5e1;
}

footer a:hover {
  color: var(--secondary-color);
}

/* ===================== BOOKING PAGE ===================== */
.booking-container {
  background: white;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
  color: var(--secondary-color);
}

.nav-pills .nav-link.active {
  background-color: var(--secondary-color);
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s ease-out both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.35s; }
.animate-delay-4 { animation-delay: 0.5s; }

/* ===================== RESPONSIVE ===================== */

/* Tablet: 768–1023px */
@media (max-width: 1023px) {
  .hero-section {
    min-height: 75vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .booking-widget {
    padding: 1.5rem;
    margin-top: 2rem;
  }
}

/* Mobile: up to 767px */
@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    padding: 5rem 0 2rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-benefits {
    gap: 0.75rem;
  }

  .hero-benefit-item {
    font-size: 0.8rem;
  }

  .hero-ctas .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }

  .booking-widget {
    padding: 1.25rem;
    margin-top: 1.5rem;
    border-radius: var(--radius-xl);
  }

  .booking-widget .btn-book {
    padding: 0.875rem;
  }

  .why-card {
    padding: 1.5rem 1rem;
  }

  .fleet-card-image {
    min-height: 140px;
    padding: 1.5rem 1rem;
  }

  .route-card-image {
    height: 140px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  section .container .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
}

/* Small mobile: up to 374px */
@media (max-width: 374px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }

  .booking-widget {
    padding: 1rem;
  }
}