/* =============================================================
   EazyLimo Theme — Phase 1
   All colors reference CSS custom properties set in meta.php
   from the DB. Defaults defined in :root there as fallback.
   ============================================================= */

/* ─── RESET & BASE TYPOGRAPHY ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 15px;
  color: #2d2d2d;
  background: #fff;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.45rem; }

a { color: var(--accent); transition: color 0.2s; }
a:hover { color: var(--primary); text-decoration: none; }

img { max-width: 100%; }

/* ─── UTILITY ──────────────────────────────────────────────── */
.accent-text  { color: var(--accent) !important; }
.primary-text { color: var(--primary) !important; }
.accent-bg    { background: var(--accent) !important; }
.primary-bg   { background: var(--primary) !important; }
.section-pad  { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn-theme,
.btn-book,
.tourz-sear-btn,
.v2-ser-btn {
  display: inline-block;
  background: var(--btn) !important;
  color: var(--btn-txt) !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 34px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-theme:hover,
.btn-book:hover,
.tourz-sear-btn:hover,
.v2-ser-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  color: var(--btn-txt) !important;
  text-decoration: none;
}
.btn-theme-outline {
  background: transparent !important;
  border: 2px solid var(--accent) !important;
  color: var(--accent) !important;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.btn-theme-outline:hover {
  background: var(--accent) !important;
  color: #000 !important;
}

/* ─── NAVIGATION ───────────────────────────────────────────── */
.navbar-theme {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  background: var(--nav-bg);
  height: 72px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
  transition: background 0.3s;
}
.navbar-theme.scrolled {
  background: rgba(13,13,13,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.navbar-theme .nav-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-theme .nav-logo img {
  height: 42px;
  width: auto;
}
.navbar-theme .nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}
.navbar-theme .nav-links li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  text-transform: uppercase;
}
.navbar-theme .nav-links li a:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.07);
}
.navbar-theme .nav-cta {
  background: var(--btn);
  color: var(--btn-txt) !important;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-theme .nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: var(--btn-txt) !important;
  text-decoration: none;
}
/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown nav */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--nav-bg);
  z-index: 1049;
  padding: 12px 0 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-mobile-menu ul li a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 13px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, padding 0.2s;
}
.nav-mobile-menu ul li a:hover {
  color: var(--accent);
  padding-left: 36px;
}
.nav-mobile-menu .mobile-cta {
  margin: 16px 28px 0;
  display: block;
  text-align: center;
}

/* Page offset for fixed nav */
body { padding-top: 72px; }

/* ─── HERO SECTION ─────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}
.hero-section .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.45) 60%,
    rgba(0,0,0,0.25) 100%
  );
}
.hero-section .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0;
}
.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero-title span { color: var(--accent); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 0;
}

/* ─── BOOKING CARD ─────────────────────────────────────────── */
.booking-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
  overflow: hidden;
}
.booking-card .booking-card-header {
  background: var(--primary);
  padding: 18px 28px 0;
}
.booking-card .nav-tabs {
  border-bottom: none;
  gap: 4px;
  display: flex;
}
.booking-card .nav-tabs li { margin: 0; }
.booking-card .nav-tabs li a {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 10px 22px;
  border: none;
  border-radius: 6px 6px 0 0;
  background: transparent;
  transition: all 0.2s;
  display: block;
}
.booking-card .nav-tabs li.active a,
.booking-card .nav-tabs li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.booking-card .nav-tabs li.active a {
  color: var(--accent);
  background: rgba(255,255,255,0.15);
}
.booking-card .tab-content { padding: 28px; }

/* Booking form inputs */
.booking-card .input-group {
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid #e2e2e2;
  background: #fafafa;
  transition: border-color 0.2s;
}
.booking-card .input-group:focus-within {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
.booking-card .input-group-addon {
  background: #fafafa;
  border: none;
  padding: 0 12px;
  color: #888;
}
.booking-card .form-control,
.booking-card select,
.booking-card input[type="text"],
.booking-card input[type="number"] {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #2d2d2d;
  height: 44px;
  padding: 0 14px;
}
.booking-card select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 38px !important;
  border: 1.5px solid #e2e2e2 !important;
  border-radius: 6px !important;
  height: 44px;
}
.booking-card select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12) !important;
  outline: none;
}
.booking-card .input-field { margin-bottom: 14px; }
.booking-card .form-field  { margin-bottom: 14px; }
.booking-card label { font-size: 0.82rem; font-weight: 600; color: #555; }

/* Return trip checkbox */
.booking-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
}

/* Search / submit button in booking card */
.booking-card .btn-submit-booking {
  width: 100%;
  background: var(--btn) !important;
  color: var(--btn-txt) !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 6px;
}
.booking-card .btn-submit-booking:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ─── HOW IT WORKS ─────────────────────────────────────────── */
.how-it-works {
  background: #f8f7f4;
  padding: 80px 0;
}
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1rem;
  color: #666;
  max-width: 540px;
  margin: 0 auto 50px;
}
.step-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}
.step-card:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: var(--btn-txt);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
}
.step-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}
.step-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}
/* Connector lines between steps */
.step-connector {
  display: flex;
  align-items: flex-start;
  padding-top: 62px;
}
.step-connector::before {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(201,162,39,0.2));
  margin-top: -1px;
}

/* ─── FLEET / VEHICLE CARDS ────────────────────────────────── */
.fleet-section { padding: 80px 0; background: #fff; }
.vehicle-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.vehicle-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.13);
  transform: translateY(-4px);
}
.vehicle-card .vehicle-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f0f0f0;
}
.vehicle-card .vehicle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.vehicle-card:hover .vehicle-img img { transform: scale(1.04); }
.vehicle-card .vehicle-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vehicle-card .vehicle-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.vehicle-card .vehicle-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: #777;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.vehicle-card .vehicle-meta span { display: flex; align-items: center; gap: 5px; }
.vehicle-card .vehicle-meta i { color: var(--accent); }
.vehicle-card .vehicle-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.vehicle-card .vehicle-btn:hover {
  background: var(--accent);
  color: var(--btn-txt) !important;
  transform: translateY(-1px);
}

/* ─── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-section {
  background: var(--primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22rem;
  color: rgba(255,255,255,0.03);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testimonials-section .section-label,
.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-desc  { color: rgba(255,255,255,0.6); }
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 32px 28px;
  margin: 0 10px;
  backdrop-filter: blur(4px);
}
.testimonial-card .t-stars {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-card .t-text {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 20px;
}
.testimonial-card .t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card .t-avatar {
  width: 46px;
  height: 46px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-txt);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-card .t-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
}
.testimonial-card .t-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ─── TRUST BAR ────────────────────────────────────────────── */
.trust-bar {
  background: #fff;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
  padding: 28px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: #444;
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-item i {
  font-size: 1.6rem;
  color: var(--accent);
}

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer-main {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 36px;
}
.footer-main .footer-logo img {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
  opacity: 0.9;
}
.footer-main .footer-about {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-bottom: 22px;
  max-width: 300px;
}
.footer-main h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s, padding 0.2s;
}
.footer-links li a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item .fc-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 36px 0 24px;
}
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--btn-txt);
}
.footer-copyright {
  background: rgba(0,0,0,0.2);
  padding: 16px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ─── WHATSAPP FLOAT ───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  color: #fff !important;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

/* ─── SECTION HEADING DIVIDER ──────────────────────────────── */
.title-line { display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 46px; }
.title-line .tl-1, .title-line .tl-3 { width: 32px; height: 2px; background: var(--accent); opacity: 0.4; }
.title-line .tl-2 { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; }

/* ─── CAR LIST PAGE (Phase 2 prep) ────────────────────────── */
.car-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  overflow: hidden;
  margin-bottom: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.car-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.car-card .car-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.car-card .car-price-label {
  font-size: 0.78rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── ALERTS (booking form) ────────────────────────────────── */
.alert-success { border-left: 4px solid #27ae60; }
.alert-danger  { border-left: 4px solid #e74c3c; }

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .navbar-theme .nav-links { display: none; }
  .navbar-theme .nav-cta   { display: none; }
  .nav-hamburger           { display: flex; }

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

  .step-connector { display: none; }

  .fleet-section .vehicle-card { margin-bottom: 24px; }

  .section-pad { padding: 60px 0; }
}

@media (max-width: 767px) {
  body { padding-top: 64px; }
  .navbar-theme { height: 64px; }
  .nav-mobile-menu { top: 64px; }

  .hero-section { min-height: auto; padding: 60px 0 40px; }
  .booking-card .tab-content { padding: 20px; }

  .how-it-works { padding: 50px 0; }
  .fleet-section { padding: 50px 0; }
  .testimonials-section { padding: 50px 0; }

  .footer-main .footer-col { margin-bottom: 36px; }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }

  .section-title { font-size: 1.55rem; }
}

@media (max-width: 480px) {
  .booking-card .tab-content { padding: 16px; }
  .navbar-theme .nav-logo img { height: 34px; }
}


/* ═══════════════════════════════════════════════════════════════
   PHASE 2 — BOOKING FLOW STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ─── BOOKING STEPS PROGRESS BAR ──────────────────────────── */
.booking-steps-bar {
  background: var(--primary);
  border-bottom: 2px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.booking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 90px;
}
.bs-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.45);
  background: transparent;
  transition: all 0.25s;
}
.booking-step.done .bs-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}
.booking-step.active .bs-circle {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}
.bs-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}
.booking-step.done .bs-label,
.booking-step.active .bs-label { color: #fff; }
.bs-connector {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.15);
  margin-bottom: 20px;
  min-width: 40px;
  max-width: 100px;
  transition: background 0.25s;
}
.bs-connector.done { background: var(--accent); }

/* ─── TRIP SUMMARY BAR (car-list) ─────────────────────────── */
.trip-summary-bar {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 14px 0;
}
.trip-summary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.trip-summary-route {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.trip-loc {
  font-size: 0.9rem;
  font-weight: 600;
  color: #222;
}
.trip-arrow { color: #999; font-size: 1rem; }
.trip-meta {
  font-size: 0.82rem;
  color: #666;
  background: #f4f4f4;
  padding: 3px 10px;
  border-radius: 20px;
}
.trip-meta i { margin-right: 4px; color: var(--accent); }
.trip-modify-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.trip-modify-btn:hover {
  background: var(--accent);
  color: #000;
}

/* ─── CAR LIST SECTION ─────────────────────────────────────── */
.car-list-section { padding: 36px 0 60px; background: #f9f9f9; }
.car-list-header { margin-bottom: 20px; }
.car-list-count { color: #555; font-size: 0.92rem; margin: 0; }
.car-list-count strong { color: var(--primary); font-weight: 700; }

.car-grid-item { margin-bottom: 24px; }
.cl-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cl-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.cl-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #eee;
}
.cl-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.cl-card:hover .cl-card-img img { transform: scale(1.04); }
.cl-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
}
.cl-badge-transfer { background: #2980b9; }
.cl-badge-hourly   { background: #8e44ad; }
.cl-badge-return   { background: #27ae60; }
.cl-badge-offer {
  position: absolute;
  top: 12px; right: 12px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.cl-card-body {
  padding: 20px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cl-card-top { flex: 1; }
.cl-vehicle-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}
.cl-vehicle-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.cl-stat {
  font-size: 0.8rem;
  color: #555;
  background: #f4f4f4;
  padding: 3px 10px;
  border-radius: 20px;
}
.cl-stat i { margin-right: 4px; color: var(--accent); }
.cl-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.cl-amenity-tag {
  font-size: 0.75rem;
  color: #27ae60;
  border: 1px solid #c8f0d8;
  background: #f0faf4;
  padding: 2px 8px;
  border-radius: 4px;
}
.cl-amenity-tag i { margin-right: 3px; font-size: 0.7rem; }
.cl-desc {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.5;
  margin: 0 0 12px;
}
.cl-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.cl-price-block { line-height: 1.3; }
.cl-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}
.cl-price-discounted {
  font-size: 1.3rem;
  font-weight: 800;
  color: #27ae60;
}
.cl-price-original {
  font-size: 0.85rem;
  color: #aaa;
}
.cl-price-label {
  font-size: 0.72rem;
  color: #aaa;
  margin-top: 2px;
}
.cl-book-form { margin: 0; }
.cl-book-btn {
  background: var(--btn);
  color: var(--btn-txt);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.cl-book-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.cl-empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #888;
}
.cl-empty-icon { font-size: 3rem; color: #ccc; margin-bottom: 16px; }
.cl-empty-state h3 { color: #555; margin-bottom: 8px; }

/* ─── BOOK PAGE ────────────────────────────────────────────── */
.book-section { padding: 40px 0 60px; background: #f9f9f9; }
.book-row { display: flex; flex-wrap: wrap; gap: 0; }
.book-left { padding-right: 20px; }
.book-right { padding-left: 4px; }

.book-map-box {
  background: #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  height: 240px;
  margin-bottom: 16px;
}
.book-map-box #map,
.book-map-box #map2 { width: 100%; height: 100%; }

.book-summary-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  overflow: hidden;
}
.book-summary-hero {
  background: var(--primary);
  color: #fff;
  padding: 18px 22px;
}
.bsh-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.bsh-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}
.bsh-price small { font-size: 0.8rem; font-weight: 400; color: rgba(255,255,255,0.7); }
.book-summary-list {
  list-style: none;
  padding: 14px 22px;
  margin: 0;
}
.book-summary-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f4f4f4;
  font-size: 0.88rem;
}
.book-summary-list li:last-child { border-bottom: none; }
.bsl-icon { color: var(--accent); width: 16px; flex-shrink: 0; margin-top: 2px; }
.bsl-label { color: #999; min-width: 90px; }
.bsl-value { color: #333; font-weight: 600; flex: 1; }

.book-form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  padding: 28px 28px 24px;
}
.book-form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.book-form-row { margin-bottom: 16px; }
.book-form-row label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 5px;
  display: block;
}
.book-form-row .form-control {
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 10px 14px;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
.book-form-row .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
  outline: none;
}
.book-form-submit { margin-top: 20px; }
.book-form-submit .btn-theme {
  width: 100%;
  font-size: 1rem;
  padding: 16px;
}
.book-secure-note {
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
  margin: 10px 0 0;
}
.book-secure-note i { margin-right: 4px; color: #27ae60; }

/* ─── PAYMENT PAGE ─────────────────────────────────────────── */
.pay-section { padding: 40px 0 60px; background: #f9f9f9; }
.pay-row { display: flex; flex-wrap: wrap; gap: 0; }
.pay-left { padding-right: 16px; }
.pay-right { padding-left: 4px; }

.pay-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  overflow: hidden;
}
.pay-card-header {
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.pay-card-header i { margin-right: 8px; color: var(--accent); }
.pay-card-body { padding: 18px 22px; }

.pay-vehicle-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.pay-vehicle-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
}
.pay-vehicle-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}
.pay-vehicle-price small { font-size: 0.78rem; font-weight: 400; color: #999; }

.pay-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pay-summary-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f4f4f4;
  font-size: 0.86rem;
}
.pay-summary-list li:last-child { border-bottom: none; }
.psl-icon { color: var(--accent); width: 16px; flex-shrink: 0; margin-top: 2px; }
.psl-label { color: #999; min-width: 90px; }
.psl-value { color: #333; font-weight: 600; flex: 1; }

.pay-coupon-form { margin: 0; }
.pay-coupon-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.pay-coupon-row .form-control {
  flex: 1;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 10px 14px;
  font-size: 0.9rem;
}
.pay-coupon-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 0.88rem;
}

.pay-price-breakdown {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.ppb-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.88rem;
  color: #555;
}
.ppb-discount { color: #27ae60; }
.ppb-total {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
}

.pay-method-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.pay-method-tab {
  cursor: pointer;
  flex: 1;
  min-width: 130px;
}
.pay-method-tab input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pmt-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  text-align: center;
}
.pmt-inner i { font-size: 1.4rem; color: #aaa; }
.pay-method-tab input[type="radio"]:checked + .pmt-inner {
  border-color: var(--accent);
  background: #fffbf0;
  color: var(--primary);
}
.pay-method-tab input[type="radio"]:checked + .pmt-inner i { color: var(--accent); }

.pay-form-panel { margin-top: 8px; }
.pay-paypal-btns { display: flex; align-items: center; gap: 8px; padding: 12px 0; }

.pay-security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.psb-item {
  font-size: 0.75rem;
  color: #27ae60;
  background: #f0faf4;
  border: 1px solid #c8f0d8;
  border-radius: 20px;
  padding: 4px 12px;
}
.psb-item i { margin-right: 4px; }

.pay-accepted-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.pai-label { font-size: 0.78rem; color: #aaa; white-space: nowrap; }
.pai-img { height: 28px; object-fit: contain; }

/* ─── THANK-YOU PAGE ───────────────────────────────────────── */
.ty-section {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
  min-height: 60vh;
}
.ty-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.ty-icon-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(39,174,96,0.35);
  animation: ty-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes ty-pop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.ty-icon-circle .fa-check {
  font-size: 2rem;
  color: #fff;
}
.ty-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.ty-subheading {
  font-size: 1rem;
  color: #777;
  margin-bottom: 28px;
}
.ty-message-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 24px 28px;
  margin-bottom: 28px;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #444;
}
.ty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}
.ty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.ty-btn:hover { opacity: 0.88; transform: translateY(-2px); text-decoration: none; }
.ty-btn-primary {
  background: var(--btn);
  color: var(--btn-txt);
}
.ty-btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.ty-rating-nudge {
  padding-top: 28px;
  border-top: 1px solid #eee;
  color: #888;
  font-size: 0.9rem;
}
.ty-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}
.ty-stars .fa-star {
  font-size: 1.6rem;
  color: #ddd;
  cursor: pointer;
  transition: color 0.15s, transform 0.1s;
}
.ty-stars .fa-star:hover { transform: scale(1.2); }
.ty-rating-thanks { font-size: 0.85rem; color: #27ae60; margin-top: 6px; }

/* ─── RESPONSIVE — PHASE 2 ─────────────────────────────────── */
@media (max-width: 767px) {
  .booking-steps-bar { padding: 12px 0; }
  .bs-connector { min-width: 20px; max-width: 40px; }
  .bs-label { display: none; }
  .bs-circle { width: 32px; height: 32px; font-size: 0.8rem; }

  .trip-summary-inner { flex-direction: column; align-items: flex-start; }

  .book-left  { padding-right: 0; margin-bottom: 20px; }
  .book-right { padding-left: 0; }
  .pay-left   { padding-right: 0; margin-bottom: 20px; }
  .pay-right  { padding-left: 0; }

  .pay-method-selector { flex-direction: column; }
  .pay-method-tab { min-width: unset; }
  .pmt-inner { flex-direction: row; justify-content: flex-start; }

  .ty-heading { font-size: 1.6rem; }
  .ty-actions { flex-direction: column; align-items: center; }
  .ty-btn { width: 100%; justify-content: center; }
}

/* ─── PROMO / COUPON CODE (book.php) ───────────────────────── */
.promo-input-wrap {
  display: flex;
  gap: 8px;
}
.promo-input-wrap input[type="text"] {
  flex: 1;
}
.btn-promo-apply {
  background: var(--accent);
  color: var(--btn-txt, #000);
  border: none;
  border-radius: 6px;
  padding: 0 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-promo-apply:hover  { opacity: 0.85; }
.btn-promo-apply:disabled { opacity: 0.5; cursor: not-allowed; }
.promo-feedback {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}
.promo-feedback.promo-success {
  background: #e8f8ee;
  color: #1a7a3c;
  border: 1px solid #a8e6bf;
}
.promo-feedback.promo-error {
  background: #fdf0f0;
  color: #b94040;
  border: 1px solid #f5c6c6;
}

/* ─── TESTIMONIALS CAROUSEL ─────────────────────────────────── */
.testimonials-section {
  overflow: hidden;
}
.t-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}
.t-carousel-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
}
@media (max-width: 991px) {
  .t-carousel-slide { flex: 0 0 calc(50% - 12px); min-width: calc(50% - 12px); }
}
@media (max-width: 600px) {
  .t-carousel-slide { flex: 0 0 100%; min-width: 100%; }
}
.t-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.t-nav-btn {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.t-nav-btn:hover { background: var(--accent); color: #000; }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.t-dot.active { background: var(--accent); transform: scale(1.3); }


/* ═══════════════════════════════════════════════════════════════
   PHASE 4 — MOBILE AUDIT FIXES
   Comprehensive @media rules for all redesigned views
   ═══════════════════════════════════════════════════════════════ */

/* ─── NAV: keep phone CTA visible on tablets, hide on tiny phones ── */
@media (max-width: 991px) {
  /* Show hamburger, hide desktop links (already set above) */
  /* Keep phone CTA visible up to 991px — just shrink it */
  .navbar-theme .nav-cta {
    display: flex;
    font-size: 0.78rem;
    padding: 8px 14px;
    gap: 5px;
  }
}
@media (max-width: 420px) {
  /* On very small phones, hide the phone number text, keep icon */
  .navbar-theme .nav-cta span.cta-number { display: none; }
  .navbar-theme .nav-cta {
    padding: 8px 10px;
    font-size: 0;       /* hide text */
    gap: 0;
  }
  .navbar-theme .nav-cta .fa-phone {
    font-size: 1rem;    /* keep icon visible */
  }
}

/* ─── HERO: stack text above booking card on mobile ─────────── */
@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    padding: 48px 0 36px;
    align-items: flex-start;
  }
  /* Left text column */
  .hero-section .col-md-5 {
    margin-bottom: 24px !important;
    text-align: center;
  }
  .hero-subtitle { max-width: 100%; }
  /* Booking card fills width */
  .hero-section .col-md-7,
  .hero-section .col-md-5 {
    width: 100%;
    float: none;
  }
  .booking-card { border-radius: 10px; }
  /* Tabs: side-by-side and full-width on mobile */
  .booking-card .nav-tabs { display: flex; width: 100%; }
  .booking-card .nav-tabs li { flex: 1; text-align: center; }
  .booking-card .nav-tabs li a {
    font-size: 0.78rem;
    padding: 10px 8px;
    letter-spacing: 0.04em;
  }
  /* Date + time split on mobile: each takes half */
  .booking-card .col-xs-6 { width: 50%; float: left; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .hero-section { padding: 36px 0 24px; }
  .booking-card .tab-content { padding: 16px 14px; }
  /* On very small screens, stack date and time fields */
  .booking-card .col-xs-6 { width: 100%; float: none; }
  .booking-card .col-sm-6 { width: 100%; }
}

/* ─── TRUST BAR: 2-column on mobile ────────────────────────── */
@media (max-width: 767px) {
  .trust-bar { padding: 20px 0; }
  .trust-item { font-size: 0.82rem; }
}

/* ─── HOW IT WORKS: full-width steps on mobile ──────────────── */
@media (max-width: 767px) {
  .step-card { padding: 28px 20px; }
  .how-it-works { padding: 44px 0; }
}

/* ─── FLEET SECTION: single column on mobile ────────────────── */
@media (max-width: 767px) {
  /* Bootstrap col-sm-6 already handles 2-col on sm, but ensure single col */
  .fleet-section .col-sm-6,
  .fleet-section .col-md-4 {
    width: 100%;
    float: none;
  }
  .vehicle-card { margin-bottom: 20px; }
  .vehicle-card .vehicle-img { height: 180px; }
}

/* ─── CAR LIST: single column on mobile ─────────────────────── */
@media (max-width: 767px) {
  .car-list-section { padding: 24px 0 40px; }
  .car-grid-item,
  .car-grid-item.col-md-6 { width: 100%; float: none; }
  .cl-card-img { height: 180px; }
  /* Trip summary bar stacks vertically */
  .trip-summary-bar { padding: 12px 0; }
  .trip-summary-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .trip-summary-route { flex-wrap: wrap; gap: 6px; }
  .trip-loc { font-size: 0.85rem; }
  .trip-meta { font-size: 0.78rem; }
  .trip-modify-btn { align-self: flex-start; }
  /* Count text */
  .car-list-count { font-size: 0.85rem; }
}

/* ─── BOOK PAGE: sidebar stacks below form on mobile ────────── */
@media (max-width: 767px) {
  .book-section { padding: 24px 0 40px; }
  /* On mobile, right column (form) comes FIRST via order */
  .book-layout { display: flex; flex-direction: column; }
  .book-left  {
    order: 2;           /* map + summary go below the form */
    padding-right: 0;
    margin-top: 20px;
    width: 100%;
    float: none;
  }
  .book-right {
    order: 1;           /* form appears first on mobile */
    padding-left: 0;
    width: 100%;
    float: none;
  }
  .book-form-card { padding: 22px 18px; }
  #map, #map2 { height: 220px !important; }
  .book-panel { margin-bottom: 16px; }
  /* Progress steps: shrink on very small screens */
  .booking-steps-bar { padding: 10px 0; }
  .bs-label { display: none; }
  .bs-circle { width: 30px; height: 30px; font-size: 0.78rem; }
  .bs-connector { min-width: 16px; }
}

/* ─── PAYMENT PAGE: summary stacks below payment form on mobile  */
@media (max-width: 767px) {
  .pay-section { padding: 24px 0 40px; }
  .pay-row { display: flex; flex-direction: column; }
  .pay-left {
    order: 2;           /* summary below payment form */
    padding-right: 0;
    margin-top: 20px;
    width: 100%;
    float: none;
  }
  .pay-right {
    order: 1;
    padding-left: 0;
    width: 100%;
    float: none;
  }
  .pay-method-selector { flex-direction: column; }
  .pay-method-tab { min-width: unset; width: 100%; }
  .pmt-inner {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 16px;
  }
  .pay-vehicle-hero { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pay-coupon-row { flex-direction: column; gap: 8px; }
  .pay-coupon-btn { width: 100%; }
  .pay-accepted-icons { flex-wrap: wrap; gap: 8px; }
}

/* ─── THANK-YOU PAGE: full-width card on mobile ─────────────── */
@media (max-width: 767px) {
  .ty-section { padding: 50px 0 60px; }
  .ty-wrapper { max-width: 100%; padding: 0 8px; }
  .ty-heading { font-size: 1.5rem; }
  .ty-subheading { font-size: 0.92rem; }
  .ty-message-card { padding: 18px 16px; font-size: 0.88rem; }
  .ty-actions { flex-direction: column; align-items: stretch; }
  .ty-btn { width: 100%; justify-content: center; font-size: 0.88rem; }
  .ty-icon-circle { width: 66px; height: 66px; }
  .ty-icon-circle .fa-check { font-size: 1.6rem; }
}

/* ─── FOOTER: stack columns on mobile ───────────────────────── */
@media (max-width: 767px) {
  .footer-main { padding: 50px 0 28px; }
  .footer-main .footer-about { max-width: 100%; }
  .footer-main [class*="col-"] { width: 100%; float: none; margin-bottom: 32px; }
  .footer-social { gap: 8px; }
}

/* ─── GENERAL CONTAINER GUTTER ON SMALL SCREENS ─────────────── */
@media (max-width: 480px) {
  .container { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.4rem; }
  .section-title { font-size: 1.35rem; }
  .section-pad   { padding: 40px 0; }
  .section-pad-sm{ padding: 32px 0; }
}
