/* =========================================================
   CAB CITY - Main Stylesheet
   Theme: Blue + Dark Orange + Light Charcoal on White
========================================================= */

:root {
  --primary-blue: #0B4F8A;
  --primary-blue-dark: #073A66;
  --accent-orange: #E4600C;
  --accent-orange-dark: #C24E06;
  --charcoal: #3A3F44;
  --charcoal-light: #6B7076;
  --bg-white: #FFFFFF;
  --bg-soft: #F5F7FA;
  --border-light: #E4E8EC;
  --success: #1E9E5A;
  --shadow: 0 8px 24px rgba(11, 79, 138, 0.12);
  --radius: 12px;
  --font-main: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-main);
  background: var(--bg-white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: 0.3s ease;
}
.btn-primary {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(228, 96, 12, 0.35);
}
.btn-primary:hover { background: var(--accent-orange-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}
.btn-outline:hover { background: var(--primary-blue); color: #fff; }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1DA851; }

.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title span {
  color: var(--accent-orange);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}
.section-title h2 {
  font-size: 32px;
  color: var(--primary-blue-dark);
  margin-top: 8px;
}
.section-title p {
  color: var(--charcoal-light);
  max-width: 600px;
  margin: 12px auto 0;
}

/* ================= HEADER ================= */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 999;
}
.top-bar {
  background: var(--charcoal);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.top-bar a { color: #fff; }
.top-bar .top-contact { display: flex; gap: 20px; align-items: center; }
.top-bar .top-contact a:hover { color: var(--accent-orange); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-blue-dark);
}
.navbar .logo img { height: 46px; width: auto; }
.navbar .logo span { color: var(--accent-orange); }

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-blue); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent-orange);
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-cta .btn { padding: 10px 22px; font-size: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary-blue-dark);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, rgba(7,58,102,0.92), rgba(11,79,138,0.82)), url('images/hero.png') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.hero-text { max-width: 700px; }
.hero-text span.tag {
  background: var(--accent-orange);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}
.hero-text h1 {
  font-size: 46px;
  margin: 18px 0;
  line-height: 1.25;
}
.hero-text h1 em {
  font-style: normal;
  color: #FFC98A;
}
.hero-text p { font-size: 17px; opacity: 0.92; max-width: 560px; }
.hero-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats div { text-align: left; }
.hero-stats h3 { font-size: 26px; color: var(--accent-orange); }
.hero-stats p { font-size: 13px; opacity: 0.85; }

/* ================= BOOKING WIDGET ================= */
.booking-widget {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-top: -70px;
  position: relative;
  z-index: 5;
}
.booking-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--border-light);
}
.booking-tabs button {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--charcoal-light);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: 0.25s;
}
.booking-tabs button.active {
  color: var(--primary-blue);
  border-bottom: 3px solid var(--accent-orange);
}
.booking-tabs button i, .booking-tabs button svg { margin-right: 6px; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { position: relative; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-main);
  background: var(--bg-soft);
  color: var(--charcoal);
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: #fff;
}
.booking-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  margin-top: 6px;
}

/* Autocomplete dropdown */
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-height: 220px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}
.autocomplete-list div {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
}
.autocomplete-list div:hover { background: var(--bg-soft); color: var(--primary-blue); }

/* ================= SECTIONS ================= */
.section { padding: 80px 0; }
.section.bg-soft { background: var(--bg-soft); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-points { margin-top: 20px; }
.about-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 15px;
}
.about-points li .check {
  width: 24px; height: 24px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: 0.3s;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
  border-color: transparent;
}
.service-card .icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
  margin-bottom: 18px;
}
.service-card h3 { color: var(--charcoal); margin-bottom: 10px; font-size: 19px; }
.service-card p { color: var(--charcoal-light); font-size: 14px; }

/* Fleet */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.fleet-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: 0.3s;
}
.fleet-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.fleet-img { height: 190px; background-size: cover; background-position: center; background-color: var(--bg-soft); }
.fleet-body { padding: 20px; }
.fleet-body h3 { color: var(--primary-blue-dark); margin-bottom: 6px; }
.fleet-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--charcoal-light); margin-bottom: 10px; }
.fleet-meta .rate { color: var(--accent-orange); font-weight: 700; font-size: 15px; }

/* Routes */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.route-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px 18px;
  transition: 0.25s;
}
.route-card:hover { border-color: var(--primary-blue); box-shadow: var(--shadow); }
.route-card .route-title { font-weight: 600; color: var(--charcoal); font-size: 14.5px; }
.route-card .route-title b { color: var(--primary-blue); }
.route-card .route-cta { color: var(--accent-orange); font-size: 13px; font-weight: 600; margin-top: 6px; display: inline-block; }

.city-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.city-filter button {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border-light);
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
}
.city-filter button.active, .city-filter button:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
}

/* Why choose us / Features band */
.features-band {
  background: var(--primary-blue-dark);
  color: #fff;
  padding: 50px 0;
}
.features-band .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.feature-item { text-align: center; }
.feature-item .icon { font-size: 30px; color: var(--accent-orange); margin-bottom: 10px; }
.feature-item h4 { font-size: 16px; margin-bottom: 6px; }
.feature-item p { font-size: 13px; opacity: 0.8; }

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border-top: 4px solid var(--accent-orange);
}
.testimonial-card p { color: var(--charcoal-light); font-size: 14.5px; margin-bottom: 16px; }
.testimonial-user { display: flex; align-items: center; gap: 12px; }
.testimonial-user .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary-blue);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial-user h5 { font-size: 14px; color: var(--charcoal); }
.testimonial-user span { font-size: 12px; color: var(--charcoal-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--accent-orange), var(--accent-orange-dark));
  color: #fff;
  padding: 55px 0;
  text-align: center;
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: 1200px;
}
.cta-band h2 { font-size: 28px; margin-bottom: 10px; }
.cta-band p { opacity: 0.9; margin-bottom: 22px; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--accent-orange-dark); }

/* Route detail page */
.route-hero {
  background: linear-gradient(120deg, rgba(7,58,102,0.92), rgba(11,79,138,0.85)), url('images/hero.png') center/cover;
  color: #fff;
  padding: 70px 0 50px;
}
.breadcrumb { font-size: 13px; opacity: 0.85; margin-bottom: 14px; }
.breadcrumb a { color: #FFC98A; }
.route-hero h1 { font-size: 32px; margin-bottom: 12px; }
.route-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 50px;
}
.route-content h2 { color: var(--primary-blue-dark); margin: 26px 0 12px; font-size: 22px; }
.route-content p { color: var(--charcoal-light); margin-bottom: 12px; font-size: 15px; }
.fare-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.fare-table th, .fare-table td {
  border: 1px solid var(--border-light);
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
}
.fare-table th { background: var(--bg-soft); color: var(--primary-blue-dark); }
.route-sidebar {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.route-sidebar h3 { color: var(--primary-blue-dark); margin-bottom: 14px; }
.related-routes li { padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 13.5px; }
.related-routes li a:hover { color: var(--primary-blue); }

/* ================= FOOTER ================= */
.site-footer {
  background: var(--charcoal);
  color: #d9dcdf;
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 { color: #fff; margin-bottom: 18px; font-size: 16px; }
.footer-grid p, .footer-grid li { font-size: 13.5px; margin-bottom: 10px; color: #b7bbc0; }
.footer-grid li a:hover { color: var(--accent-orange); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { height: 40px; }
.footer-logo span { font-size: 19px; font-weight: 700; color: #fff; }
.social-icons { display: flex; gap: 10px; margin-top: 10px; }
.social-icons a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: 0.25s;
}
.social-icons a:hover { background: var(--accent-orange); }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #9a9ea3;
}
.footer-bottom a { color: var(--accent-orange); font-weight: 600; }

/* WhatsApp float button */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 900;
  font-size: 28px;
  color: #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -300px;
  width: 280px; height: 100%;
  background: #fff;
  box-shadow: -6px 0 20px rgba(0,0,0,0.15);
  z-index: 1000;
  padding: 90px 24px 24px;
  transition: right 0.35s ease;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
}
.mobile-nav .btn { margin-top: 20px; width: 100%; text-align: center; }
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  display: none;
}
.nav-overlay.open { display: block; }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .about-grid, .route-info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-text h1 { font-size: 34px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 60px 0 40px; }
  .hero-text h1 { font-size: 28px; }
  .booking-widget { margin-top: 30px; padding: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar .top-contact { gap: 12px; font-size: 12px; }
  .booking-tabs { flex-wrap: wrap; }
  .route-hero h1 { font-size: 24px; }
}
