/* =========================================
   TRAVELBOOK - Global Styles
   ========================================= */

:root {
  --primary: #e74c3c;
  --primary-dark: #c0392b;
  --secondary: #2c3e50;
  --accent: #f39c12;
  --accent-light: #fef9ec;
  --light-bg: #f8f9fa;
  --card-shadow: 0 2px 16px rgba(0,0,0,0.10);
  --card-hover-shadow: 0 8px 32px rgba(231,76,60,0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --text-muted: #6c757d;
  --success: #27ae60;
  --info: #2980b9;
  --green: #27ae60;
}

* { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f4f6fb;
  color: #222;
  margin: 0;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar-main {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1050;
}

.navbar-brand {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -1px;
}

.navbar-brand span { color: var(--secondary); }

.nav-link {
  font-weight: 500;
  color: var(--secondary) !important;
  padding: 1rem 1rem !important;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
}

.nav-link:hover::after, .nav-link.active::after {
  left: 0; right: 0;
}

.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

.btn-nav-book {
  background: var(--primary);
  color: #fff !important;
  border-radius: 6px;
  padding: 0.4rem 1.2rem !important;
  font-weight: 600;
  transition: var(--transition);
}

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

/* Top Bar */
.top-bar {
  background: var(--secondary);
  color: #fff;
  font-size: 0.82rem;
  padding: 5px 0;
}

.top-bar a { color: #fff; text-decoration: none; }
.top-bar a:hover { color: var(--accent); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80') center/cover no-repeat;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(15,52,96,0.7) 100%);
}

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

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}

/* ---- Search Box ---- */
.search-box-wrap {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  padding: 1.5rem;
}

.search-tabs .nav-link {
  color: var(--secondary) !important;
  font-weight: 600;
  border-radius: 8px 8px 0 0;
  padding: 0.6rem 1.2rem !important;
}

.search-tabs .nav-link::after { display: none; }
.search-tabs .nav-link.active {
  background: var(--primary);
  color: #fff !important;
}

.search-input-group {
  background: #f8f9fa;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-input-group:hover,
.search-input-group:focus-within {
  border-color: var(--primary);
  background: #fff;
}

.search-input-group i { color: var(--primary); font-size: 1.1rem; }

.search-input-group .label { font-size: 0.73rem; color: var(--text-muted); }
.search-input-group .value { font-size: 0.95rem; font-weight: 600; color: var(--secondary); }

.btn-search {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231,76,60,0.4);
  color: #fff;
}

/* =========================================
   SECTION TITLES
   ========================================= */
.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.section-divider {
  width: 50px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0.5rem 0 1.5rem;
}

/* =========================================
   CARDS
   ========================================= */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  overflow: hidden;
}

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

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

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

.card-img-wrap {
  overflow: hidden;
  position: relative;
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
}

.card-badge-green {
  background: var(--green);
}

.card-badge-accent {
  background: var(--accent);
  color: #222;
}

.price-tag {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.price-old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.rating-badge {
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* =========================================
   CATEGORY ICONS
   ========================================= */
.category-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--secondary);
  display: block;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
  color: var(--primary);
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 0.8rem;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background: var(--primary) !important;
  color: #fff !important;
}

.category-name {
  font-size: 0.9rem;
  font-weight: 600;
}

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb-section {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  padding: 0.6rem 0;
}

.breadcrumb {
  margin: 0;
  font-size: 0.85rem;
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb-item.active { color: var(--text-muted); }

/* =========================================
   BOOKING STEPS
   ========================================= */
.booking-steps {
  background: #fff;
  border-bottom: 2px solid #f0f0f0;
  padding: 0.8rem 0;
  position: sticky;
  top: 60px;
  z-index: 100;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.step-item.active .step-num {
  background: var(--primary);
}

.step-item.completed .step-num {
  background: var(--green);
}

.step-item.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

.step-item.completed .step-label {
  color: var(--green);
}

.step-divider {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  margin: 0 0.5rem;
}

.step-divider.done { background: var(--green); }

/* =========================================
   TOUR DETAILS — STICKY TABS
   ========================================= */
.detail-tabs-sticky {
  position: sticky;
  top: 60px;
  z-index: 99;
  background: #fff;
  border-bottom: 2px solid #ebebeb;
}

.detail-tabs .nav-link {
  color: var(--secondary) !important;
  font-weight: 600;
  padding: 0.9rem 1.4rem !important;
  border-bottom: 3px solid transparent;
  border-radius: 0;
}

.detail-tabs .nav-link::after { display: none; }

.detail-tabs .nav-link:hover,
.detail-tabs .nav-link.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary);
}

/* =========================================
   ITINERARY TIMELINE
   ========================================= */
.itinerary-timeline {
  position: relative;
  padding-left: 60px;
}

.itinerary-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -43px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 0 4px rgba(231,76,60,0.15);
  z-index: 2;
}

.timeline-day-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 0.4rem;
  display: inline-block;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-img {
  width: 100%;
  max-width: 340px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 0.8rem;
}

/* =========================================
   SEAT LAYOUT
   ========================================= */
.seat-layout-wrap {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
}

.seat-deck-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.seat-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.seat {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
}

.seat-available {
  background: #e8f5e9;
  border-color: #a5d6a7;
  color: var(--green);
}

.seat-available:hover {
  background: var(--green);
  color: #fff;
  transform: scale(1.1);
}

.seat-selected {
  background: var(--primary);
  border-color: var(--primary-dark);
  color: #fff;
}

.seat-booked {
  background: #ffebee;
  border-color: #ef9a9a;
  color: #e57373;
  cursor: not-allowed;
}

.seat-ladies {
  background: #fce4ec;
  border-color: #f48fb1;
  color: #c2185b;
}

.seat-aisle { width: 16px; background: transparent; border: none; cursor: default; }

.seat-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

/* =========================================
   FARE TABLE
   ========================================= */
.fare-table {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.fare-table thead th {
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1rem;
  border: none;
}

.fare-table tbody td {
  padding: 0.75rem 1rem;
  border-color: #f0f0f0;
  vertical-align: middle;
}

.fare-table tbody tr:hover { background: #fff9f9; }

.fare-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  text-align: center;
  border-top: 4px solid var(--primary);
  transition: var(--transition);
}

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

.fare-card.popular {
  border-top-color: var(--accent);
  background: linear-gradient(135deg, #fffde7, #fff8e1);
}

.fare-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.fare-card.popular .price { color: var(--accent); }

/* =========================================
   VEHICLE CARD
   ========================================= */
.vehicle-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.vehicle-card:hover, .vehicle-card.selected {
  border-left-color: var(--primary);
  box-shadow: var(--card-hover-shadow);
}

.vehicle-badge {
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.vehicle-ac-badge {
  background: #e3f9e5;
  color: var(--green);
}

/* =========================================
   BOARDING / DROPPING
   ========================================= */
.stop-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.stop-card:hover, .stop-card.selected {
  border-color: var(--primary);
  background: #fff9f9;
}

.stop-time {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary);
  min-width: 65px;
}

.stop-name { font-weight: 600; font-size: 0.95rem; }
.stop-sub { font-size: 0.8rem; color: var(--text-muted); }

/* =========================================
   PASSENGER FORM
   ========================================= */
.passenger-block {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.passenger-seat-tag {
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
  display: inline-block;
}

.form-label { font-weight: 600; font-size: 0.88rem; color: var(--secondary); }

.form-control, .form-select {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(231,76,60,0.12);
}

/* =========================================
   BOOKING PREVIEW
   ========================================= */
.preview-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.preview-header {
  background: linear-gradient(135deg, var(--secondary), #1a1a2e);
  color: #fff;
  padding: 1.2rem 1.5rem;
}

.preview-body { padding: 1.5rem; }

.preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #f0f0f0;
}

.preview-row:last-child { border-bottom: none; }
.preview-label { color: var(--text-muted); font-size: 0.88rem; }
.preview-value { font-weight: 600; font-size: 0.92rem; }

.fare-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.fare-total {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

/* =========================================
   BOOKING STATUS
   ========================================= */
.status-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.5rem;
}

.status-icon.success {
  background: #e8f5e9;
  color: var(--green);
  animation: pulse-green 2s infinite;
}

.status-icon.failed {
  background: #ffebee;
  color: var(--primary);
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(39,174,96,0.3); }
  50% { box-shadow: 0 0 0 15px rgba(39,174,96,0); }
}

.ticket-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto;
}

.ticket-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 1.5rem;
  text-align: center;
}

.ticket-body { padding: 1.5rem; }

.ticket-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.ticket-divider {
  position: relative;
  margin: 1rem -1.5rem;
  border-top: 2px dashed #e0e0e0;
}

.ticket-divider::before,
.ticket-divider::after {
  content: '';
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  background: #f4f6fb;
  border-radius: 50%;
}

.ticket-divider::before { left: -10px; }
.ticket-divider::after { right: -10px; }

/* =========================================
   HOTEL CARDS
   ========================================= */
.hotel-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  display: flex;
}

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

.hotel-card-img {
  width: 260px;
  min-height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.hotel-card-body {
  padding: 1.2rem 1.5rem;
  flex: 1;
}

.hotel-amenities span {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: #f5f5f5;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 0.4rem;
  margin-bottom: 0.3rem;
  display: inline-block;
}

/* Room Card */
.room-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.room-card:hover {
  box-shadow: var(--card-hover-shadow);
}

/* =========================================
   PARK / ATTRACTION CARDS
   ========================================= */
.park-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.park-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: var(--transition);
}

.park-card:hover img { transform: scale(1.06); }

.park-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  color: #fff;
}

.park-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

/* =========================================
   GALLERY
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.gallery-grid .gal-main {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: var(--transition);
  cursor: pointer;
}

.gallery-grid .gal-main img { height: 308px; }

.gallery-grid img:hover { opacity: 0.85; }

/* =========================================
   STICKY BOOKING BAR
   ========================================= */
.sticky-booking-bar {
  position: sticky;
  top: 70px;
}

.booking-bar-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  border-top: 4px solid var(--primary);
}

/* =========================================
   FOOTER
   ========================================= */
.footer-main {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #b0b8c1;
  padding: 3rem 0 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.footer-logo span { color: var(--primary); }

.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-top: 0.5rem; }

.footer-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

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

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

.footer-links a {
  color: #b0b8c1;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.83rem;
  text-align: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  margin-right: 0.5rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover { background: var(--primary); }

/* =========================================
   MOBILE BOTTOM CTA
   ========================================= */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  padding: 0.8rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  z-index: 1000;
}

.mobile-cta .price { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.mobile-cta .price-label { font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .mobile-cta { display: flex; align-items: center; justify-content: space-between; }
  body { padding-bottom: 70px; }
  
  .hero-title { font-size: 1.7rem; }
  
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .gal-main { grid-column: span 2; }
  
  .hotel-card { flex-direction: column; }
  .hotel-card-img { width: 100%; height: 200px; }
  
  .booking-steps { top: 56px; overflow-x: auto; white-space: nowrap; }
  .step-label { display: none; }
  
  .search-box-wrap { padding: 1rem; }
}

/* =========================================
   FILTER SIDEBAR
   ========================================= */
.filter-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.filter-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #f0f0f0;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.filter-option:hover { color: var(--primary); }

.price-range-slider {
  accent-color: var(--primary);
  width: 100%;
}

/* =========================================
   TRUST BADGES / FEATURES
   ========================================= */
.trust-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.trust-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.trust-title { font-weight: 700; font-size: 0.95rem; color: var(--secondary); }
.trust-desc { font-size: 0.82rem; color: var(--text-muted); }

/* =========================================
   OFFER BANNER
   ========================================= */
.offer-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--border-radius);
  color: #fff;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.offer-banner::before {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.offer-banner::after {
  content: '';
  position: absolute;
  right: 50px; bottom: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

/* =========================================
   MISC UTILITIES
   ========================================= */
.text-primary-brand { color: var(--primary) !important; }
.text-secondary-brand { color: var(--secondary) !important; }
.bg-primary-brand { background: var(--primary) !important; }
.bg-secondary-brand { background: var(--secondary) !important; }

.badge-red { background: #ffebee; color: var(--primary); font-weight: 600; padding: 3px 10px; border-radius: 4px; font-size: 0.78rem; }
.badge-green { background: #e8f5e9; color: var(--green); font-weight: 600; padding: 3px 10px; border-radius: 4px; font-size: 0.78rem; }
.badge-blue { background: #e3f2fd; color: #1565c0; font-weight: 600; padding: 3px 10px; border-radius: 4px; font-size: 0.78rem; }
.badge-orange { background: #fff3e0; color: var(--accent); font-weight: 600; padding: 3px 10px; border-radius: 4px; font-size: 0.78rem; }

.btn-primary-brand {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  transition: var(--transition);
}

.btn-primary-brand:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-brand {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  background: transparent;
  transition: var(--transition);
}

.btn-outline-brand:hover {
  background: var(--primary);
  color: #fff;
}

.section-py { padding: 3.5rem 0; }

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

/* Date Picker Highlight */
.datepicker-highlight { background: var(--primary); color: #fff; border-radius: 50%; }

/* Tour Tags */
.tour-tag {
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 20px;
  border: 1.5px solid #ddd;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  margin-right: 4px;
  margin-bottom: 4px;
}

.tour-tag:hover, .tour-tag.active {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff5f5;
}

/* Sticky CTA bottom detail page */
.detail-sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  padding: 0.8rem 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  z-index: 999;
  display: none;
}

/* =========================================
   CITY PAGE HERO
   ========================================= */
.city-hero {
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: 0;
}

.city-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 50%);
}

.city-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 1.5rem;
}

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

.animate-fadeup { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* =========================================
   DATE CALENDAR SELECTOR
   ========================================= */
.cal-wrap {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cal-month { font-weight: 700; font-size: 1rem; color: var(--secondary); }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }

.cal-day-name {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.3rem;
}

.cal-day {
  text-align: center;
  padding: 0.5rem 0.2rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.cal-day:hover { background: #ffebee; color: var(--primary); }
.cal-day.today { background: #f5f5f5; font-weight: 700; }
.cal-day.selected { background: var(--primary); color: #fff; font-weight: 700; }
.cal-day.disabled { opacity: 0.35; cursor: not-allowed; }
.cal-day.in-range { background: #ffebee; }

/* Availability chips */
.avail-chip {
  font-size: 0.7rem;
  color: var(--green);
  display: block;
  font-weight: 600;
}

.avail-chip.few { color: var(--accent); }
.avail-chip.none { color: var(--primary); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================
   BUS MODULE — RedBus / AbhiBus Style
   ========================================= */

/* ---- BUS SEARCH HERO ---- */
.bus-hero {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  padding: 2.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.bus-hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.bus-search-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.2);
  padding: 1.8rem;
  position: relative;
  z-index: 2;
}

.bus-field {
  background: #f8f9fa;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.bus-field:hover, .bus-field:focus-within {
  border-color: var(--primary);
  background: #fff;
}

.bus-field .field-icon {
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}

.bus-field .field-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bus-field .field-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

.swap-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(211,47,47,0.2);
}

.swap-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translate(-50%, -50%) rotate(180deg);
}

.swap-btn i { color: var(--primary); font-size: 0.85rem; }
.swap-btn:hover i { color: #fff; }

.btn-bus-search {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 800;
  width: 100%;
  transition: var(--transition);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-bus-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211,47,47,0.4);
  color: #fff;
}

/* ---- POPULAR ROUTES ---- */
.route-chip {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.route-chip:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
  transform: translateY(-1px);
}

/* ---- BUS SEARCH RESULTS ---- */
.results-toolbar {
  background: #fff;
  border-bottom: 2px solid #f0f0f0;
  padding: 0.8rem 0;
  position: sticky;
  top: 58px;
  z-index: 90;
}

.sort-btn {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.sort-btn.active, .sort-btn:hover {
  background: #fff5f5;
  color: var(--primary);
}

/* ---- BUS RESULT CARD ---- */
.bus-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.bus-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 28px rgba(211,47,47,0.13);
  transform: translateY(-2px);
}

.bus-card-header {
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.bus-operator-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.bus-operator-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--secondary);
}

.bus-type-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.bus-type-ac { background: #e3f2fd; color: #1565c0; }
.bus-type-sleeper { background: #e8f5e9; color: #2e7d32; }
.bus-type-seater { background: #fff3e0; color: #e65100; }
.bus-type-nonac { background: #fce4ec; color: #c62828; }
.bus-type-volvo { background: #f3e5f5; color: #6a1b9a; }

.bus-timing-block {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bus-time {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.bus-time-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.bus-duration-line {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.duration-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.duration-bar {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 2px;
  position: relative;
}

.duration-bar::before,
.duration-bar::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.duration-bar::before { left: 0; }
.duration-bar::after { right: 0; background: var(--accent); }

.bus-seats-tag {
  font-size: 0.75rem;
  font-weight: 700;
}

.seats-avail { color: var(--green); }
.seats-few { color: var(--accent); }
.seats-full { color: var(--primary); }

.bus-price-block {
  text-align: right;
}

.bus-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.bus-price-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-view-seats {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-view-seats:hover {
  background: #b71c1c;
  color: #fff;
  transform: translateY(-1px);
}

/* BUS CARD FOOTER (expand details) */
.bus-card-footer {
  border-top: 1px solid #f5f5f5;
  padding: 0.6rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #fafafa;
}

.bus-amenity {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.bus-amenity i { color: var(--primary); font-size: 0.8rem; }

.bus-rating-pill {
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.expand-details-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Expanded bus detail row */
.bus-detail-expand {
  border-top: 1px dashed #e0e0e0;
  padding: 1rem 1.4rem;
  display: none;
}

.bus-detail-expand.open { display: flex; gap: 2rem; flex-wrap: wrap; }

.detail-section-mini h6 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.boarding-point-list, .dropping-point-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.boarding-point-list li, .dropping-point-list li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.boarding-point-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ---- SEAT LAYOUT (DETAILED) ---- */
.seat-layout-panel {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  overflow: hidden;
}

.seat-panel-header {
  background: linear-gradient(135deg, var(--secondary), #1a1a2e);
  color: #fff;
  padding: 1rem 1.2rem;
}

.seat-panel-body {
  padding: 1.2rem;
}

.deck-tab {
  background: #f5f5f5;
  border: none;
  border-radius: 8px 8px 0 0;
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.deck-tab.active {
  background: var(--primary);
  color: #fff;
}

.bus-body-frame {
  border: 2.5px solid #ddd;
  border-radius: 40px 40px 16px 16px;
  padding: 1rem;
  margin-top: 0.5rem;
  position: relative;
  background: #fafafa;
}

.bus-front {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px dashed #e0e0e0;
}

.driver-box {
  background: #e3f2fd;
  border: 2px solid #90caf9;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1565c0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.seat-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seat-row-bus {
  display: flex;
  align-items: center;
  gap: 6px;
}

.seat-num {
  width: 14px;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  flex-shrink: 0;
}

.seat-bus {
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

/* Seater seat */
.seat-bus.seater {
  width: 36px;
  height: 36px;
  border-radius: 6px 6px 4px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  border: 1.5px solid transparent;
}

/* Sleeper seat */
.seat-bus.sleeper {
  width: 38px;
  height: 72px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.seat-bus.available {
  background: #e8f5e9;
  border-color: #81c784;
  color: var(--green);
}

.seat-bus.available:hover {
  background: var(--green);
  color: #fff;
  transform: scale(1.1);
  z-index: 2;
}

.seat-bus.selected {
  background: var(--primary);
  border-color: #b71c1c;
  color: #fff;
  transform: scale(1.05);
}

.seat-bus.booked {
  background: #ffebee;
  border-color: #ef9a9a;
  color: #e57373;
  cursor: not-allowed;
}

.seat-bus.ladies {
  background: #fce4ec;
  border-color: #f48fb1;
  color: #e91e63;
}

.seat-bus.ladies:hover {
  background: #e91e63;
  color: #fff;
}

.seat-bus.aisle-gap {
  background: transparent;
  border: none;
  cursor: default;
  width: 16px;
}

/* Seat legend */
.bus-seat-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 0.8rem;
}

.legend-box {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.legend-sq {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

/* Fare per seat panel */
.fare-per-seat {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.fare-chip {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.fare-chip:hover, .fare-chip.active {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff5f5;
}

/* Selected seats summary */
.selected-seats-bar {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
}

/* ---- FILTER SIDEBAR (BUS) ---- */
.bus-filter-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.bus-filter-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f5f5f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bus-filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.bus-filter-option:hover { color: var(--primary); }

.time-block-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.time-block {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  font-size: 0.78rem;
  transition: var(--transition);
}

.time-block:hover, .time-block.active {
  border-color: var(--primary);
  background: #fff5f5;
  color: var(--primary);
}

.time-block .time-icon { font-size: 1.2rem; margin-bottom: 2px; }
.time-block .time-label { font-weight: 700; font-size: 0.72rem; }
.time-block .time-range { color: var(--text-muted); font-size: 0.68rem; }

/* ---- OFFER STRIP ---- */
.offer-strip {
  background: linear-gradient(90deg, #fff9c4, #fffde7);
  border: 1.5px solid #f9a825;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: #e65100;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ---- BOOKING CONFIRMATION (BUS) ---- */
.ticket-bus {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  overflow: hidden;
  max-width: 620px;
  margin: 0 auto;
}

.ticket-bus-header {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  padding: 1.5rem;
  color: #fff;
  position: relative;
}

.ticket-qr {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--secondary);
  font-weight: 700;
  text-align: center;
}

/* Barcode-like visual */
.barcode {
  height: 60px;
  background: repeating-linear-gradient(
    90deg,
    #333 0px, #333 2px,
    #fff 2px, #fff 5px,
    #333 5px, #333 7px,
    #fff 7px, #fff 12px
  );
  border-radius: 4px;
  margin: 0.5rem 0;
}

/* Tear line */
.tear-line {
  position: relative;
  margin: 0 -1.5rem;
  border: none;
  border-top: 3px dashed #e0e0e0;
}

.tear-line::before, .tear-line::after {
  content: '';
  position: absolute;
  top: -12px;
  width: 24px;
  height: 24px;
  background: #f4f6fb;
  border-radius: 50%;
}

.tear-line::before { left: -12px; }
.tear-line::after { right: -12px; }

/* ---- BUS FILTER COUNT BADGE ---- */
.filter-count {
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile filter drawer */
@media (max-width: 768px) {
  .bus-filter-drawer {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding: 1.5rem;
  }

  .bus-filter-drawer.open {
    transform: translateY(0);
  }

  .bus-timing-block {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* No results state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

/* =========================================
   MY BOOKINGS / MANAGE / TRACKING / CANCEL
   ========================================= */

/* ---- ACCOUNT SIDEBAR ---- */
.account-sidebar {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
  overflow: hidden;
  position: sticky;
  top: 75px;
}

.account-profile-block {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff;
  padding: 1.5rem;
  text-align: center;
}

.account-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 0.8rem;
  border: 3px solid rgba(255,255,255,0.4);
}

.account-nav { padding: 0.5rem 0; }

.account-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.account-nav-item:hover, .account-nav-item.active {
  background: #fff5f5;
  color: var(--primary);
  border-left-color: var(--primary);
}

.account-nav-item i {
  width: 18px;
  text-align: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.account-nav-item:hover i, .account-nav-item.active i { color: var(--primary); }

/* ---- BOOKING TABS ---- */
.booking-tab-bar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 0.4rem;
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.booking-tab-btn {
  flex: 1;
  min-width: 110px;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.booking-tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 10px rgba(211,47,47,0.3);
}

.booking-tab-btn .count-badge {
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 0 6px;
  font-size: 0.72rem;
}

.booking-tab-btn:not(.active) .count-badge {
  background: #f0f0f0;
  color: var(--text-muted);
}

/* ---- BOOKING CARD (My Bookings list) ---- */
.booking-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.booking-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.12); }

.booking-card-header {
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid #f5f5f5;
}

.booking-status-pill {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-confirmed { background: #e8f5e9; color: var(--green); }
.status-upcoming  { background: #e3f2fd; color: #1565c0; }
.status-completed { background: #f5f5f5; color: var(--text-muted); }
.status-cancelled { background: #ffebee; color: var(--primary); }
.status-pending   { background: #fff8e1; color: #e65100; }
.status-refund    { background: #e8f5e9; color: var(--green); }

.booking-card-body {
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.booking-type-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.booking-route-info { flex-grow: 1; min-width: 0; }

.booking-route-line {
  font-size: 1rem;
  font-weight: 800;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

.booking-card-actions {
  padding: 0.6rem 1.2rem;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.btn-booking-action {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  border: 1.5px solid;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-action-primary { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-action-primary:hover { background: var(--primary); color: #fff; }
.btn-action-danger  { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-action-danger:hover  { background: #ffebee; }
.btn-action-muted   { border-color: #ddd; color: var(--text-muted); background: transparent; }
.btn-action-muted:hover   { background: #f5f5f5; }
.btn-action-green   { border-color: var(--green); color: var(--green); background: transparent; }
.btn-action-green:hover   { background: #e8f5e9; }

/* ---- LIVE TRACKING ---- */
.tracking-hero {
  background: linear-gradient(135deg, #0d47a1, #1565c0);
  padding: 1.5rem 0;
  color: #fff;
}

.tracking-map {
  background: #e8eaf6;
  border-radius: 14px;
  height: 480px;
  position: relative;
  overflow: hidden;
}

/* Fake map road grid */
.tracking-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#c5cae9 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, #c5cae9 1px, transparent 1px) 0 0 / 60px 60px;
  opacity: 0.4;
}

/* Route path SVG container */
.map-route-path {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bus marker */
.bus-marker {
  position: absolute;
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 16px rgba(211,47,47,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: busMove 4s ease-in-out infinite;
  cursor: pointer;
}

.bus-marker i {
  transform: rotate(45deg);
  color: #fff;
  font-size: 1rem;
}

.bus-marker-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(211,47,47,0.2);
  animation: pulse-marker 2s ease-out infinite;
}

@keyframes pulse-marker {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes busMove {
  0%, 100% { left: 35%; top: 60%; }
  50%       { left: 50%; top: 40%; }
}

/* Location pins on map */
.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.map-pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.map-pin-label {
  font-size: 0.7rem;
  font-weight: 700;
  background: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
  white-space: nowrap;
  margin-top: 3px;
}

/* Route dashes on map */
.map-route-line {
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary) 0px, var(--primary) 12px,
    transparent 12px, transparent 20px
  );
  border-radius: 2px;
  transform: translateY(-50%) rotate(-15deg);
}

/* Tracking info panel */
.tracking-info-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  overflow: hidden;
}

.tracking-info-header {
  background: linear-gradient(135deg, #1a1a2e, #0d47a1);
  color: #fff;
  padding: 1rem 1.2rem;
}

.tracking-progress {
  position: relative;
  padding: 0 0.5rem;
}

.progress-track {
  position: relative;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  margin: 1rem 0;
}

.progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: linear-gradient(to right, var(--green), var(--primary));
  border-radius: 3px;
  transition: width 0.5s ease;
}

.progress-bus-icon {
  position: absolute;
  top: -11px;
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(211,47,47,0.4);
}

.stop-timeline {
  position: relative;
  padding-left: 28px;
}

.stop-timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: #e0e0e0;
}

.stop-item {
  position: relative;
  margin-bottom: 1rem;
}

.stop-dot {
  position: absolute;
  left: -24px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid #e0e0e0;
  background: #fff;
}

.stop-dot.passed  { background: var(--green); border-color: var(--green); }
.stop-dot.current { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(211,47,47,0.2); }
.stop-dot.future  { background: #fff; border-color: #bdbdbd; }

.stop-item.passed  .stop-name { color: var(--text-muted); }
.stop-item.current .stop-name { color: var(--primary); font-weight: 800; }
.stop-item.future  .stop-name { color: var(--secondary); }

.stop-name  { font-size: 0.88rem; font-weight: 600; }
.stop-time  { font-size: 0.75rem; color: var(--text-muted); }
.stop-delay { font-size: 0.72rem; }

/* Live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ff1744;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1s ease-in-out infinite alternate;
}

@keyframes livePulse {
  from { opacity: 1; }
  to   { opacity: 0.3; }
}

/* ---- CANCELLATION ---- */
.cancel-hero {
  background: linear-gradient(135deg, #4a0000, #b71c1c);
  padding: 2rem 0;
  color: #fff;
}

.cancel-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid #f0f0f0;
  margin-bottom: 0.8rem;
  transition: var(--transition);
  cursor: pointer;
}

.cancel-flow-step:hover, .cancel-flow-step.active {
  border-color: var(--primary);
  background: #fff9f9;
}

.cancel-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.cancel-reason-option {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cancel-reason-option:hover, .cancel-reason-option.selected {
  border-color: var(--primary);
  background: #fff9f9;
}

/* Refund timeline */
.refund-timeline {
  position: relative;
  padding-left: 50px;
}

.refund-timeline::before {
  content: '';
  position: absolute;
  left: 18px; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--green), var(--primary));
  border-radius: 2px;
}

.refund-item {
  position: relative;
  margin-bottom: 2rem;
}

.refund-dot {
  position: absolute;
  left: -38px;
  top: 2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.refund-dot.done    { background: var(--green); color: #fff; }
.refund-dot.active  { background: var(--primary); color: #fff; box-shadow: 0 0 0 6px rgba(211,47,47,0.12); }
.refund-dot.pending { background: #f5f5f5; color: var(--text-muted); border: 2px solid #ddd; }

.refund-title { font-size: 0.95rem; font-weight: 700; color: var(--secondary); }
.refund-sub   { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.refund-time  { font-size: 0.75rem; color: var(--text-muted); }

/* Refund amount box */
.refund-amount-box {
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border: 2px solid #a5d6a7;
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
}

.refund-amount-box .amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}

/* Cancellation policy table */
.policy-table {
  border-radius: 10px;
  overflow: hidden;
}

.policy-table thead th {
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.7rem 1rem;
}

.policy-table tbody td {
  font-size: 0.83rem;
  padding: 0.65rem 1rem;
  border-color: #f0f0f0;
}

/* Deduction bar */
.deduction-bar {
  height: 10px;
  border-radius: 5px;
  background: #e0e0e0;
  overflow: hidden;
  margin-top: 3px;
}

.deduction-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(to right, var(--green), var(--accent));
}

/* ---- SEARCH BOOKING (Find PNR) ---- */
.pnr-search-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 1.5rem;
}

/* ---- STATS CARDS ---- */
.stat-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.stat-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-num  { font-size: 1.6rem; font-weight: 900; color: var(--secondary); line-height: 1; }
.stat-label{ font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* Empty state */
.booking-empty {
  text-align: center;
  padding: 3rem 2rem;
}

.booking-empty i {
  font-size: 3.5rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

/* =========================================
   PAGES MODULE — Contact, Legal, Blog, Vehicles
   ========================================= */

/* ---- PAGE HERO (shared) ---- */
.page-hero {
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.page-hero-content { position: relative; z-index: 2; color: #fff; }
.page-hero-title { font-size: 2.4rem; font-weight: 900; line-height: 1.2; }
.page-hero-sub   { font-size: 1rem; opacity: 0.88; margin-top: 0.5rem; }

/* ---- CONTACT ---- */
.contact-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.10);
  overflow: hidden;
}
.contact-info-panel {
  background: linear-gradient(145deg, #1a1a2e 0%, #0f3460 100%);
  color: #fff;
  padding: 2.5rem;
}
.contact-info-panel h3 { font-weight: 800; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 42px;
  height: 42px;
  background: rgba(231,76,60,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-form-panel { padding: 2.5rem; }
.contact-form-panel .form-control,
.contact-form-panel .form-select {
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  transition: var(--transition);
}
.contact-form-panel .form-control:focus,
.contact-form-panel .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}
.btn-contact-submit {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  transition: var(--transition);
}
.btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231,76,60,0.35);
  color: #fff;
}
.contact-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(231,76,60,0.12);
}
.contact-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.8rem;
}

/* ---- LEGAL (T&C, Privacy) ---- */
.legal-sidebar {
  position: sticky;
  top: 78px;
}
.legal-nav {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  overflow: hidden;
}
.legal-nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.legal-nav-item:hover, .legal-nav-item.active {
  background: #fff5f5;
  color: var(--primary);
  border-left-color: var(--primary);
}
.legal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  padding: 2.5rem;
}
.legal-section { margin-bottom: 2.5rem; scroll-margin-top: 90px; }
.legal-section h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f5f5f5;
}
.legal-section p, .legal-section li {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.75;
}
.legal-section ul { padding-left: 1.2rem; }
.legal-section ul li { margin-bottom: 0.4rem; }
.legal-highlight {
  background: #fff9f9;
  border-left: 4px solid var(--primary);
  padding: 0.8rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  margin: 1rem 0;
}
.last-updated {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: #f5f5f5;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

/* ---- PARTNER WITH US ---- */
.partner-hero {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #01579b 100%);
}
.partner-step {
  text-align: center;
  padding: 1.5rem 1rem;
}
.partner-step-num {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 0.8rem;
}
.partner-benefit-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  padding: 1.5rem;
  border-top: 4px solid var(--primary);
  transition: var(--transition);
  height: 100%;
}
.partner-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(231,76,60,0.12);
}
.partner-benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.partner-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.12);
  padding: 2.5rem;
}
.partner-tab-btn {
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
}
.partner-tab-btn.active {
  background: #fff5f5;
  border-color: var(--primary);
  color: var(--primary);
}
.partner-tab-btn i { font-size: 1.8rem; display: block; margin-bottom: 0.4rem; }
.partner-tab-btn .label { font-size: 0.82rem; font-weight: 700; }
.stat-counter-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  color: #fff;
}
.stat-counter-card .num { font-size: 2rem; font-weight: 900; }
.stat-counter-card .lbl { font-size: 0.78rem; opacity: 0.85; }

/* ---- BLOG ---- */
.blog-hero { background: linear-gradient(135deg, #1a1a2e, #2c3e50); }
.blog-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.blog-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: var(--transition);
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-body { padding: 1.2rem; }
.blog-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.tag-pilgrimage { background: #fff3e0; color: #e65100; }
.tag-travel     { background: #e3f2fd; color: #1565c0; }
.tag-tips       { background: #e8f5e9; color: #2e7d32; }
.tag-budget     { background: #fce4ec; color: #c62828; }
.tag-food       { background: #fff9c4; color: #f57f17; }
.tag-adventure  { background: #f3e5f5; color: #6a1b9a; }
.blog-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.4rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-excerpt {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.8rem;
}
.blog-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}
.blog-meta i { color: var(--primary); }
.blog-featured {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 420px;
  cursor: pointer;
}
.blog-featured img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-featured:hover img { transform: scale(1.04); }
.blog-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  color: #fff;
}
.blog-featured-overlay .title { font-size: 1.5rem; font-weight: 900; line-height: 1.3; margin-bottom: 0.5rem; }
.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.category-chip:hover, .category-chip.active {
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* ---- BLOG DETAIL ---- */
.blog-detail-hero {
  background: var(--secondary);
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.blog-detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.blog-detail-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 2rem 0;
}
.blog-body { font-size: 1rem; line-height: 1.85; color: #333; }
.blog-body h2 { font-size: 1.3rem; font-weight: 800; color: var(--secondary); margin: 2rem 0 0.8rem; }
.blog-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--secondary); margin: 1.5rem 0 0.6rem; }
.blog-body p  { margin-bottom: 1.2rem; }
.blog-body ul { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.blog-body ul li { margin-bottom: 0.5rem; }
.blog-body blockquote {
  border-left: 4px solid var(--primary);
  background: #fff9f9;
  padding: 1rem 1.2rem;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--secondary);
  margin: 1.5rem 0;
}
.blog-body .info-box {
  background: #e3f2fd;
  border: 1.5px solid #90caf9;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.blog-body img.body-img {
  width: 100%;
  border-radius: 12px;
  margin: 1.2rem 0;
}
.blog-tags-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.blog-tag-pill {
  font-size: 0.78rem;
  padding: 3px 12px;
  border-radius: 20px;
  background: #f5f5f5;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.blog-tag-pill:hover { background: var(--primary); color: #fff; }
.author-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.share-fb     { background: #1877f2; color: #fff; }
.share-wa     { background: #25D366; color: #fff; }
.share-tw     { background: #1da1f2; color: #fff; }
.share-copy   { background: #f5f5f5; color: var(--secondary); border: 1.5px solid #e0e0e0; }
.share-btn:hover { opacity: 0.88; transform: translateY(-2px); }

/* ---- VEHICLE HIRE ---- */
.vehicle-hero {
  background: linear-gradient(135deg, #1b0000 0%, #7f0000 50%, #b71c1c 100%);
}
.hire-tab-bar {
  background: #fff;
  border-radius: 50px;
  padding: 0.35rem;
  display: inline-flex;
  gap: 0.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  flex-wrap: wrap;
}
.hire-tab-btn {
  background: transparent;
  border: none;
  border-radius: 40px;
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hire-tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 12px rgba(231,76,60,0.35);
}
.hire-search-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.2);
  padding: 2rem;
}
.vehicle-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.8rem;
}
.vehicle-type-card {
  background: #fff;
  border-radius: 12px;
  border: 2px solid #e8e8e8;
  padding: 1rem 0.8rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.vehicle-type-card:hover, .vehicle-type-card.selected {
  border-color: var(--primary);
  background: #fff5f5;
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(231,76,60,0.15);
}
.vehicle-type-card img {
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.vehicle-type-card .v-name { font-size: 0.82rem; font-weight: 700; color: var(--secondary); }
.vehicle-type-card .v-cap  { font-size: 0.72rem; color: var(--text-muted); }
.vehicle-type-card .v-price{ font-size: 0.8rem; font-weight: 800; color: var(--primary); margin-top: 3px; }
.hire-vehicle-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
}
.hire-vehicle-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(231,76,60,0.12);
}
.hire-vehicle-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.hire-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  display: inline-block;
}
.hire-badge-ac     { background: #e3f2fd; color: #1565c0; }
.hire-badge-seats  { background: #e8f5e9; color: #2e7d32; }
.hire-badge-luxury { background: #fff3e0; color: #e65100; }
.hire-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hire-feature-list li {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.hire-feature-list li i { color: var(--green); font-size: 0.7rem; }
.btn-hire-now {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.2rem;
  font-weight: 700;
  font-size: 0.88rem;
  width: 100%;
  transition: var(--transition);
}
.btn-hire-now:hover {
  box-shadow: 0 5px 18px rgba(231,76,60,0.35);
  transform: translateY(-2px);
  color: #fff;
}
.price-per-km { font-size: 0.72rem; color: var(--text-muted); }
.hire-price   { font-size: 1.3rem; font-weight: 900; color: var(--primary); line-height: 1; }
.route-tag {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}
/* Airport special card */
.airport-card {
  background: linear-gradient(135deg, #1a1a2e, #0d47a1);
  color: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.airport-card::before {
  content: '✈';
  position: absolute;
  right: -10px;
  top: -20px;
  font-size: 7rem;
  opacity: 0.07;
}
.why-hire-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 1.2rem;
  text-align: center;
  transition: var(--transition);
}
.why-hire-card:hover { transform: translateY(-3px); }
.why-hire-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* ---- FAQ ACCORDION ---- */
.faq-accordion .accordion-button {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--secondary);
  background: #fff;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: #fff9f9;
}
.faq-accordion .accordion-item {
  border-radius: 10px !important;
  overflow: hidden;
  margin-bottom: 0.5rem;
  border: 1.5px solid #f0f0f0;
}
.faq-accordion .accordion-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- STICKY BLOG SIDEBAR ---- */
.blog-sticky-sidebar { position: sticky; top: 78px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .page-hero-title { font-size: 1.7rem; }
  .blog-featured   { height: 280px; }
  .blog-detail-hero { min-height: 260px; }
  .hire-tab-bar    { border-radius: 12px; flex-direction: column; width: 100%; }
  .hire-tab-btn    { border-radius: 8px; justify-content: center; }
  .vehicle-type-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-info-panel { padding: 1.5rem; }
  .contact-form-panel { padding: 1.5rem; }
}

/* =========================================
   INNOVATIVE MOBILE MENU — Full-screen Drawer
   ========================================= */

/* Override default Bootstrap collapse on mobile */
@media (max-width: 991px) {

  /* Hide Bootstrap's default collapse */
  .navbar-main .collapse.navbar-collapse { display: none !important; }

  /* Custom hamburger — animated to X */
  .tb-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    position: relative;
    z-index: 10001;
  }

  .tb-menu-btn .bar {
    width: 26px;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-origin: center;
  }

  .tb-menu-btn.open .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .tb-menu-btn.open .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .tb-menu-btn.open .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* Full-screen overlay backdrop */
  .tb-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,26,46,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .tb-menu-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  /* Slide-in drawer */
  .tb-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 88vw;
    max-width: 340px;
    background: #fff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,0.2);
  }

  .tb-mobile-drawer.open {
    transform: translateX(0);
  }

  /* Drawer header */
  .tb-drawer-header {
    background: linear-gradient(135deg, var(--primary) 0%, #b71c1c 100%);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .tb-drawer-logo {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
  }

  .tb-drawer-logo span { color: rgba(255,255,255,0.7); }

  .tb-drawer-close {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }

  .tb-drawer-close:hover { background: rgba(255,255,255,0.35); }

  /* User strip */
  .tb-drawer-user {
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .tb-drawer-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #b71c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
  }

  /* Nav sections */
  .tb-drawer-section-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    padding: 0.9rem 1.5rem 0.3rem;
  }

  /* Nav links */
  .tb-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
  }

  .tb-nav-link:hover, .tb-nav-link.active {
    background: #fff5f5;
    color: var(--primary);
    border-left-color: var(--primary);
  }

  .tb-nav-link .nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: var(--transition);
  }

  .tb-nav-link:hover .nav-icon, .tb-nav-link.active .nav-icon {
    transform: scale(1.1);
  }

  .tb-nav-link .nav-badge {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    background: #ffebee;
    color: var(--primary);
  }

  .tb-nav-link.active .nav-badge {
    background: var(--primary);
    color: #fff;
  }

  /* Divider */
  .tb-drawer-divider {
    height: 1px;
    background: #f5f5f5;
    margin: 0.3rem 1.5rem;
  }

  /* Quick Actions Grid */
  .tb-quick-actions {
    padding: 0.8rem 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .tb-quick-btn {
    background: #f8f9fa;
    border: 1.5px solid #ebebeb;
    border-radius: 10px;
    padding: 0.65rem 0.4rem;
    text-align: center;
    text-decoration: none;
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .tb-quick-btn:hover {
    background: #fff5f5;
    border-color: var(--primary);
    color: var(--primary);
  }

  .tb-quick-btn i { font-size: 1.1rem; }

  /* Bottom promo strip */
  .tb-drawer-promo {
    margin: 0.8rem 1.2rem 1rem;
    background: linear-gradient(135deg, var(--secondary), #1a1a2e);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
  }

  .tb-drawer-promo:hover { opacity: 0.9; }

  .tb-drawer-promo-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
  }

  .tb-drawer-promo .title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .tb-drawer-promo .sub {
    font-size: 0.7rem;
    opacity: 0.75;
    margin-top: 1px;
  }

  .tb-drawer-promo .arrow {
    margin-left: auto;
    font-size: 0.9rem;
    opacity: 0.7;
  }

  /* Bottom social / contact bar */
  .tb-drawer-footer {
    margin-top: auto;
    padding: 0.8rem 1.5rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .tb-drawer-footer .social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f5f5f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 0.75rem;
    text-decoration: none;
    margin-right: 4px;
    transition: var(--transition);
  }

  .tb-drawer-footer .social a:hover {
    background: var(--primary);
    color: #fff;
  }

  /* Slide-in animation for each link */
  .tb-mobile-drawer.open .tb-nav-link {
    animation: slideInRight 0.3s ease forwards;
  }

  .tb-mobile-drawer.open .tb-nav-link:nth-child(1) { animation-delay: 0.05s; }
  .tb-mobile-drawer.open .tb-nav-link:nth-child(2) { animation-delay: 0.08s; }
  .tb-mobile-drawer.open .tb-nav-link:nth-child(3) { animation-delay: 0.11s; }
  .tb-mobile-drawer.open .tb-nav-link:nth-child(4) { animation-delay: 0.14s; }
  .tb-mobile-drawer.open .tb-nav-link:nth-child(5) { animation-delay: 0.17s; }
  .tb-mobile-drawer.open .tb-nav-link:nth-child(6) { animation-delay: 0.20s; }
  .tb-mobile-drawer.open .tb-nav-link:nth-child(7) { animation-delay: 0.23s; }

  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  /* Pulse badge on mobile hamburger */
  .tb-notif-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid #fff;
    animation: pulseDot 2s ease-in-out infinite;
  }

  @keyframes pulseDot {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.3); }
  }
}

/* On desktop: hide the mobile drawer elements completely */
@media (min-width: 992px) {
  .tb-menu-btn,
  .tb-mobile-drawer,
  .tb-menu-overlay { display: none !important; }
}

/* =========================================
   TOUR DETAILS v2 — Full redesign
   ========================================= */

/* ── Sticky Tab Bar ── */
.td-tab-bar {
  position: sticky;
  top: 58px;
  z-index: 120;
  background: #fff;
  border-bottom: 3px solid #f0f0f0;
}

.td-tab-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}

.td-tab-inner::-webkit-scrollbar { display: none; }

.td-tab-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0.9rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s;
  white-space: nowrap;
}

.td-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
  transition: right 0.25s ease;
}

.td-tab-btn.active, .td-tab-btn:hover { color: var(--primary); }
.td-tab-btn.active::after, .td-tab-btn:hover::after { right: 0; }

/* ── Tour Hero ── */
.td-hero {
  background: var(--secondary);
  position: relative;
}

.td-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  opacity: 0.55;
}

.td-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.4) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
}

.td-hero-content { padding: 2rem; color: #fff; }

.td-hero-title {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

/* Gallery strip */
.td-gallery-strip {
  display: flex;
  gap: 6px;
  padding: 0 2rem 1.5rem;
  position: absolute;
  bottom: 0; left: 0; right: 0;
}

.td-thumb {
  width: 90px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}

.td-thumb:hover, .td-thumb.active { border-color: var(--primary); opacity: 1; }
.td-thumb:not(.active) { opacity: 0.65; }

/* ── Quick Highlights Strip ── */
.td-highlights-strip {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 0.8rem 0;
}

.td-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 0 1.2rem;
  border-right: 1px solid #f0f0f0;
}

.td-highlight-item:last-child { border-right: none; }
.td-highlight-item .hi-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ── Sticky Help Bubble ── */
.td-help-bubble {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 500;
}

.td-help-toggle {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(211,47,47,0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.td-help-toggle:hover { transform: scale(1.1); }

.td-help-toggle .pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: helpPulse 2s ease-out infinite;
}

@keyframes helpPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.td-help-panel {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  overflow: hidden;
  transform: scale(0.85) translateY(10px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

.td-help-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.td-help-panel-head {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff;
  padding: 0.8rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.td-help-panel-body { padding: 0.8rem 1rem; }

.td-help-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: var(--transition);
}

.td-help-link:last-child { border-bottom: none; }
.td-help-link:hover { color: var(--primary); }
.td-help-link i { width: 20px; color: var(--primary); }

/* ── Day Plan — Horizontal Step Scroll ── */
.dayplan-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  position: relative;
}

.dayplan-scroll::-webkit-scrollbar { display: none; }

.day-step {
  flex-shrink: 0;
  width: 200px;
  position: relative;
  cursor: pointer;
}

/* Connector line */
.day-step::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 50%;
  right: -50%;
  height: 3px;
  background: #e0e0e0;
  z-index: 0;
  transition: background 0.3s;
}

.day-step:last-child::before { display: none; }
.day-step.done::before { background: var(--green); }
.day-step.active-day::before { background: linear-gradient(to right, var(--primary), #e0e0e0); }

.day-step-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem 1rem;
  transition: var(--transition);
}

.day-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f0f0f0;
  border: 3px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}

.day-step.active-day .day-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.18);
  box-shadow: 0 6px 20px rgba(231,76,60,0.35);
}

.day-step.done .day-circle {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.day-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.day-step.active-day .day-label { color: var(--primary); }

.day-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin-top: 3px;
  line-height: 1.3;
}

/* Day detail panel */
.day-detail-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  overflow: hidden;
  margin-top: 1rem;
  animation: fadeInUp 0.35s ease;
}

.day-panel-header {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.day-panel-num {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.day-activities {
  padding: 1.2rem 1.5rem;
}

.activity-item {
  display: flex;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed #f0f0f0;
  align-items: flex-start;
}

.activity-item:last-child { border-bottom: none; }

.activity-time {
  min-width: 64px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  padding-top: 2px;
}

.activity-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.activity-text { font-size: 0.85rem; font-weight: 600; color: var(--secondary); line-height: 1.4; }
.activity-sub  { font-size: 0.75rem; color: var(--text-muted); }

/* ── Accordion Itinerary ── */
.itin-accordion .accordion-item {
  border: none;
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 0.6rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.itin-accordion .accordion-button {
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  padding: 1rem 1.2rem;
  box-shadow: none !important;
  gap: 0.75rem;
}

.itin-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff;
}

.itin-accordion .accordion-button::after {
  filter: none;
  background-image: none;
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.9rem;
  transition: transform 0.25s;
}

.itin-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  filter: brightness(10);
}

.itin-day-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 12px;
}

.itin-accordion .accordion-button:not(.collapsed) .itin-day-badge {
  background: rgba(255,255,255,0.25);
}

.itin-body { padding: 1.2rem; background: #fafafa; }

.itin-places-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.place-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--secondary);
  transition: var(--transition);
}

.place-chip:hover { border-color: var(--primary); color: var(--primary); }
.place-chip i { color: var(--primary); font-size: 0.7rem; }

.itin-img-row {
  display: flex;
  gap: 6px;
  margin-top: 0.8rem;
}

.itin-img-row img {
  width: calc(33.33% - 4px);
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  transition: var(--transition);
}

.itin-img-row img:hover { opacity: 0.85; transform: scale(1.03); }

/* ── Fare Cards — Horizontal Bus-ticket style ── */
.fare-operator-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1.5px solid transparent;
  transition: var(--transition);
}

.fare-operator-card:hover { border-color: var(--primary); box-shadow: 0 6px 28px rgba(231,76,60,0.12); }

.fare-card-header {
  padding: 0.9rem 1.2rem;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fare-operator-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fare-card-body { padding: 0; }

.fare-vehicle-row {
  display: flex;
  align-items: center;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid #f7f7f7;
  gap: 1rem;
  flex-wrap: wrap;
  transition: var(--transition);
  cursor: pointer;
}

.fare-vehicle-row:hover { background: #fff9f9; }
.fare-vehicle-row:last-child { border-bottom: none; }

.fare-vehicle-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.fare-vehicle-meta { flex-grow: 1; min-width: 0; }

.fare-vehicle-name { font-size: 0.92rem; font-weight: 800; color: var(--secondary); }
.fare-vehicle-cap  { font-size: 0.75rem; color: var(--text-muted); }

.fare-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.fare-vehicle-price-col { text-align: right; min-width: 100px; }
.fare-vehicle-price { font-size: 1.3rem; font-weight: 900; color: var(--primary); line-height: 1; }
.fare-vehicle-per  { font-size: 0.72rem; color: var(--text-muted); }
.fare-vehicle-old  { font-size: 0.78rem; color: var(--text-muted); text-decoration: line-through; }

/* Expandable detail table */
.fare-detail-table { display: none; padding: 0 1.2rem 1.2rem; }
.fare-detail-table.show { display: block; animation: fadeInUp 0.25s ease; }

.fare-detail-table table { width: 100%; border-radius: 8px; overflow: hidden; }
.fare-detail-table thead th { background: var(--secondary); color: #fff; font-size: 0.78rem; padding: 0.5rem 0.75rem; text-align: center; }
.fare-detail-table tbody td { font-size: 0.82rem; padding: 0.5rem 0.75rem; border-color: #f0f0f0; text-align: center; vertical-align: middle; }
.fare-detail-table tbody tr:hover { background: #fff9f9; }

/* ── Hotels Section ── */
.hotel-inline-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  gap: 0;
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.hotel-inline-card:hover { border-color: var(--primary); transform: translateY(-3px); }

.hotel-inline-img {
  width: 130px;
  flex-shrink: 0;
  object-fit: cover;
}

.hotel-inline-body { padding: 0.9rem; flex-grow: 1; }

.star-row { color: #f9a825; font-size: 0.75rem; }

/* ── Boarding / Dropping ── */
.bp-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.bp-header {
  background: linear-gradient(135deg, var(--secondary), #2c3e50);
  color: #fff;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.bp-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.2rem;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.85rem;
}

.bp-item:last-child { border-bottom: none; }
.bp-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.bp-time { font-weight: 800; color: var(--primary); min-width: 60px; font-size: 0.82rem; }
.bp-name { font-weight: 600; color: var(--secondary); }
.bp-sub  { font-size: 0.72rem; color: var(--text-muted); }

/* ── Why Choose Us ── */
.why-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 1.2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  border-top: 3px solid transparent;
}

.why-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--primary);
  box-shadow: 0 8px 28px rgba(231,76,60,0.12);
}

.why-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.7rem;
  transition: var(--transition);
}

.why-card:hover .why-icon { transform: scale(1.12) rotate(-5deg); }

/* ── Section Heading ── */
.td-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #f0f0f0;
}

.td-section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--primary);
  border-radius: 2px;
}

/* ── Mobile tabs — pill scrollable ── */
@media (max-width: 768px) {
  .td-hero-img    { height: 250px; }
  .td-hero-title  { font-size: 1.2rem; }
  .td-gallery-strip { display: none; }
  .td-highlight-item { padding: 0 0.8rem; font-size: 0.75rem; }
  .td-tab-btn     { padding: 0.7rem 0.9rem; font-size: 0.78rem; }
  .day-step       { width: 130px; }
  .day-circle     { width: 44px; height: 44px; font-size: 1rem; }
  .hotel-inline-img { width: 90px; }
  .activity-time  { min-width: 48px; font-size: 0.7rem; }
  .fare-vehicle-row { gap: 0.6rem; }
  .fare-vehicle-name { font-size: 0.82rem; }
  .fare-vehicle-price { font-size: 1.1rem; }
  .td-help-bubble { bottom: 76px; right: 12px; }
}

/* ── Animated count badge ── */
@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-count { animation: countUp 0.5s ease forwards; }

/* ── Tour Details v3 patches ── */

/* HERO: separate gallery strip BELOW hero image, not inside it */
.td-hero { position: relative; overflow: hidden; }
.td-hero-img { width:100%; height:460px; object-fit:cover; display:block; }
@media(max-width:768px){ .td-hero-img{ height:240px; } }

.td-hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(15,15,30,0.92) 0%, rgba(15,15,30,0.55) 45%, transparent 80%);
  display:flex; flex-direction:column; justify-content:flex-end;
}

.td-hero-content {
  padding:1.8rem 1.5rem 1.2rem;
  /* NO gallery thumbs here anymore */
}

.td-hero-title {
  font-size:1.65rem; font-weight:900; line-height:1.25; margin-bottom:0.7rem;
  text-shadow:0 2px 8px rgba(0,0,0,0.5);
}
@media(max-width:768px){ .td-hero-title{ font-size:1.1rem; } }

/* Gallery strip: SEPARATE row below hero */
.td-gallery-row {
  background:#1a1a2e;
  padding:0.6rem 1.5rem;
  display:flex; gap:6px; align-items:center;
  overflow-x:auto; scrollbar-width:none;
}
.td-gallery-row::-webkit-scrollbar{ display:none; }
.td-thumb {
  width:80px; height:52px; border-radius:6px; object-fit:cover;
  cursor:pointer; border:2.5px solid transparent; opacity:0.6;
  transition:all 0.2s ease; flex-shrink:0;
}
.td-thumb:hover{ opacity:0.9; }
.td-thumb.active{ border-color:var(--primary); opacity:1; }
.td-more-btn {
  flex-shrink:0; width:80px; height:52px; border-radius:6px;
  background:rgba(255,255,255,0.12); border:2px solid rgba(255,255,255,0.25);
  color:#fff; font-size:0.75rem; font-weight:700; cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:3px;
}
.td-more-btn:hover{ background:rgba(255,255,255,0.2); }
@media(max-width:768px){ .td-gallery-row{ padding:0.5rem 0.8rem; } .td-thumb{ width:58px; height:40px; } .td-more-btn{ width:58px; height:40px; } }

/* BOTTOM STICKY BAR */
.td-sticky-footer {
  position:fixed; bottom:0; left:0; right:0;
  background:#fff;
  box-shadow:0 -4px 24px rgba(0,0,0,0.14);
  z-index:800;
  padding:0.75rem 0;
  transform:translateY(100%);
  transition:transform 0.35s ease;
}
.td-sticky-footer.visible{ transform:translateY(0); }
.td-sticky-footer-inner {
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:nowrap;
}
.td-sticky-tour-name{ font-weight:800; font-size:0.9rem; color:var(--secondary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:320px; }
.td-sticky-meta{ display:flex; gap:0.8rem; align-items:center; flex-shrink:0; }
.td-sticky-meta span{ font-size:0.75rem; color:var(--text-muted); display:flex; align-items:center; gap:3px; white-space:nowrap; }
.td-sticky-price{ text-align:right; flex-shrink:0; }
.td-sticky-price .from{ font-size:0.7rem; color:var(--text-muted); }
.td-sticky-price .amount{ font-size:1.25rem; font-weight:900; color:var(--primary); line-height:1; }
.td-sticky-book{
  background:linear-gradient(135deg,var(--primary),#b71c1c);
  color:#fff; border:none; border-radius:10px;
  padding:0.65rem 1.5rem; font-weight:800; font-size:0.95rem;
  white-space:nowrap; cursor:pointer; flex-shrink:0;
  transition:var(--transition);
}
.td-sticky-book:hover{ box-shadow:0 4px 18px rgba(231,76,60,0.4); transform:translateY(-1px); }
@media(max-width:768px){
  .td-sticky-tour-name{ font-size:0.75rem; max-width:130px; }
  .td-sticky-meta{ display:none; }
  .td-sticky-price .amount{ font-size:1rem; }
  .td-sticky-book{ padding:0.55rem 1rem; font-size:0.82rem; }
  .td-sticky-footer-inner{ gap:0.6rem; }
  body{ padding-bottom:70px; }
}

/* Day detail panel animation */
.day-detail-panel{
  animation:none;
  transition:background 0.3s ease;
}

/* Itinerary: places grid with images */
.itin-place-card {
  border:1.5px solid #e8e8e8;
  border-radius:10px;
  overflow:hidden;
  transition:var(--transition);
  text-align:center;
  background:#fff;
}
.itin-place-card:hover{ border-color:var(--primary); box-shadow:0 4px 16px rgba(231,76,60,0.12); transform:translateY(-3px); }
.itin-place-card img{ width:100%; height:90px; object-fit:cover; }
.itin-place-card .place-name{ font-size:0.75rem; font-weight:700; color:var(--secondary); padding:5px 6px 6px; line-height:1.3; }

/* T&C innovative design */
.tnc-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1rem; }
.tnc-card{
  background:#fff;
  border-radius:14px;
  box-shadow:0 2px 14px rgba(0,0,0,0.08);
  overflow:hidden;
  transition:var(--transition);
}
.tnc-card:hover{ transform:translateY(-4px); box-shadow:0 8px 28px rgba(0,0,0,0.12); }
.tnc-card-head{
  padding:0.9rem 1.1rem;
  display:flex; align-items:center; gap:0.75rem;
  font-weight:800; font-size:0.88rem;
}
.tnc-icon-box{
  width:38px; height:38px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; flex-shrink:0;
}
.tnc-card-body{
  padding:0.9rem 1.1rem;
  font-size:0.82rem; line-height:1.7; color:#555;
  border-top:1px solid #f5f5f5;
}
.tnc-card-body strong{ color:var(--secondary); }
.tnc-table-wrap{ padding:0 1.1rem 1rem; }
.tnc-table-wrap table{ width:100%; font-size:0.78rem; border-collapse:collapse; border-radius:8px; overflow:hidden; }
.tnc-table-wrap thead th{ background:var(--secondary); color:#fff; padding:6px 10px; text-align:center; }
.tnc-table-wrap tbody td{ padding:6px 10px; border-bottom:1px solid #f5f5f5; text-align:center; }
.tnc-table-wrap tbody tr:last-child td{ border-bottom:none; }

/* =========================================
   PARK PACKAGES — Ramoji-style v1
   ========================================= */

/* ── Park Hero ── */
.park-detail-hero {
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.park-detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.park-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,20,0.92) 0%, rgba(10,10,20,0.5) 50%, transparent 80%);
}
.park-detail-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 2.2rem 0;
  width: 100%;
}
.park-hero-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
@media(max-width:768px){ .park-hero-title{ font-size:1.3rem; } }

/* ── Park Info Strip ── */
.park-info-strip {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 0.7rem 0;
}
.park-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 0 1.2rem;
  border-right: 1px solid #f0f0f0;
  white-space: nowrap;
}
.park-info-item:last-child { border-right: none; }
.park-info-item i { color: var(--primary); font-size: 0.9rem; }

/* ── Package Category Section ── */
.pkg-cat-section { margin-bottom: 2.5rem; }

.pkg-cat-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #f0f0f0;
}
.pkg-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.pkg-cat-title { font-size: 1.1rem; font-weight: 900; color: var(--secondary); margin: 0; }
.pkg-cat-sub   { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

/* ── Date Group Tabs ── */
.date-group-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.date-group-tab {
  background: #f5f5f5;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--secondary);
}
.date-group-tab:hover, .date-group-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Package Card ── */
.pkg-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
  overflow: hidden;
  transition: var(--transition);
  border: 1.5px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pkg-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(231,76,60,0.15);
}
.pkg-card-img-wrap { position: relative; overflow: hidden; flex-shrink: 0; }
.pkg-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pkg-card:hover .pkg-card-img { transform: scale(1.06); }

.pkg-card-ribbon {
  position: absolute;
  top: 0; right: 0;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px 4px 20px;
  clip-path: polygon(12px 0%, 100% 0%, 100% 100%, 0% 100%);
  letter-spacing: 0.3px;
}
.pkg-card-ribbon.gold { background: linear-gradient(135deg, #f9a825, #e65100); }
.pkg-card-ribbon.blue { background: linear-gradient(135deg, #1565c0, #0d47a1); }
.pkg-card-ribbon.green { background: linear-gradient(135deg, #2e7d32, #1b5e20); }

.pkg-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.pkg-card-body { padding: 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.pkg-card-title { font-size: 0.95rem; font-weight: 800; color: var(--secondary); margin-bottom: 0.3rem; line-height: 1.3; }
.pkg-card-sub   { font-size: 0.76rem; color: var(--text-muted); margin-bottom: 0.6rem; }

.pkg-highlights {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 0.7rem;
}
.pkg-highlight-item {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.pkg-highlight-item i { color: var(--green); font-size: 0.68rem; flex-shrink: 0; }

.pkg-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid #f5f5f5;
  gap: 0.5rem;
}
.pkg-price { font-size: 1.2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.pkg-price-old { font-size: 0.75rem; color: var(--text-muted); text-decoration: line-through; }
.pkg-price-per { font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }

.btn-pkg-more {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-pkg-more:hover { background: var(--primary); color: #fff; }

.btn-pkg-book {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-pkg-book:hover { background: #b71c1c; color: #fff; transform: translateY(-1px); }

/* ── Package More Info Modal ── */
.pkg-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.pkg-modal-overlay.open { display: flex; }

.pkg-modal {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 80px rgba(0,0,0,0.3);
  animation: modalPop 0.3s cubic-bezier(0.34,1.56,0.64,1);
  scrollbar-width: thin;
}
@keyframes modalPop {
  from { opacity:0; transform:scale(0.88) translateY(20px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}
.pkg-modal-head {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: 18px 18px 0 0;
  position: sticky;
  top: 0;
  z-index: 2;
}
.pkg-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: rgba(255,255,255,0.2);
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.pkg-modal-close:hover { background: rgba(255,255,255,0.35); }

.pkg-modal-body { padding: 1.5rem; }

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.modal-info-tile {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 0.7rem;
  text-align: center;
}
.modal-info-tile i   { font-size: 1.2rem; margin-bottom: 4px; display: block; }
.modal-info-tile .lbl{ font-size: 0.68rem; color: var(--text-muted); font-weight: 600; }
.modal-info-tile .val{ font-size: 0.82rem; font-weight: 800; color: var(--secondary); }

.modal-highlight-list { list-style: none; padding: 0; margin: 0; }
.modal-highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.82rem;
  color: #444;
  border-bottom: 1px dashed #f5f5f5;
}
.modal-highlight-list li:last-child { border-bottom: none; }
.modal-highlight-list li i { color: var(--green); font-size: 0.7rem; margin-top: 3px; flex-shrink: 0; }

/* ── Package Detail Page ── */
.pkg-detail-hero {
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.pkg-detail-hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pkg-detail-hero-overlay {
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(10,10,20,0.93) 0%, rgba(10,10,20,0.45) 55%, transparent 80%);
}
.pkg-detail-hero-content { position:relative; z-index:2; color:#fff; padding:2rem 0; width:100%; }

/* Sticky Tab Bar (reuse td-tab-bar style) */

/* Info section cards */
.pkg-info-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  padding: 1.4rem;
  margin-bottom: 1.5rem;
}
.pkg-info-card .section-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Availability calendar */
.avail-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 0.5rem;
}
.avail-day-head {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px;
}
.avail-day {
  text-align: center;
  padding: 6px 2px;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
}
.avail-day:hover { border-color: var(--primary); }
.avail-day.selected { background: var(--primary); color: #fff; font-weight: 700; }
.avail-day.today { background: #f5f5f5; font-weight: 700; }
.avail-day.disabled { opacity: 0.3; cursor: not-allowed; }
.avail-day .avail-price { font-size: 0.62rem; color: var(--green); display: block; margin-top: 1px; }
.avail-day .avail-price.few { color: var(--accent); }
.avail-day .avail-price.na  { color: #bbb; }
.avail-day.selected .avail-price { color: rgba(255,255,255,0.85); }

/* Fare table rows — date-wise */
.fare-date-row {
  display: flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f5f5f5;
  gap: 1rem;
  transition: var(--transition);
  cursor: pointer;
}
.fare-date-row:hover { background: #fff9f9; }
.fare-date-row.selected-date { background: #fff5f5; border-left: 3px solid var(--primary); }
.fare-date-label { font-weight: 700; font-size: 0.85rem; color: var(--secondary); min-width: 120px; }
.fare-date-price { font-size: 1.15rem; font-weight: 900; color: var(--primary); margin-left: auto; }
.fare-date-badge { font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; }

/* Gallery grid */
.park-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 6px;
  border-radius: 14px;
  overflow: hidden;
}
.park-gallery-grid .span2 { grid-column: span 2; grid-row: span 2; }
.park-gallery-grid img { width:100%; height:100%; object-fit:cover; cursor:zoom-in; transition:var(--transition); }
.park-gallery-grid img:hover { opacity: 0.85; transform: scale(1.03); }

/* Video thumb */
.video-thumb {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: #111;
}
.video-thumb img { width:100%; height:100%; object-fit:cover; opacity:0.7; }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-btn .circle {
  width: 64px; height: 64px;
  background: rgba(231,76,60,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(231,76,60,0.5);
}
.video-thumb:hover .circle { transform: scale(1.15); }

/* Park Coupons */
.coupon-card {
  background: #fff;
  border-radius: 12px;
  border: 2px dashed #e0e0e0;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.coupon-card:hover { border-color: var(--primary); }
.coupon-card-left {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 110px;
}
.coupon-code {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 2px;
  border: 2px dashed rgba(255,255,255,0.5);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
}
.coupon-cut {
  position: absolute;
  width: 22px; height: 22px;
  background: #f4f6fb;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.coupon-cut.left  { left: -11px; }
.coupon-cut.right { right: -11px; }
.coupon-body { padding: 0.9rem 1.1rem; flex: 1; }
.coupon-title { font-weight: 800; font-size: 0.9rem; color: var(--secondary); }
.coupon-desc  { font-size: 0.75rem; color: var(--text-muted); margin: 3px 0 6px; }
.btn-copy-coupon {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.btn-copy-coupon:hover { background: var(--primary); color: #fff; }

/* Pkg detail sticky bottom */
.pkg-sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.14);
  z-index: 800;
  padding: 0.75rem 0;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.pkg-sticky-bar.visible { transform: translateY(0); }
.pkg-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pkg-sticky-name { font-weight: 800; font-size: 0.9rem; color: var(--secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 280px; }
.pkg-sticky-meta { display: flex; gap: 0.7rem; flex-shrink: 0; }
.pkg-sticky-meta span { font-size: 0.72rem; color: var(--text-muted); display: flex; align-items: center; gap: 3px; }
.pkg-sticky-price .from { font-size: 0.7rem; color: var(--text-muted); }
.pkg-sticky-price .amt  { font-size: 1.2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.btn-pkg-sticky {
  background: linear-gradient(135deg, var(--primary), #b71c1c);
  color: #fff; border: none;
  border-radius: 10px;
  padding: 0.65rem 1.5rem;
  font-weight: 800; font-size: 0.95rem;
  cursor: pointer; white-space: nowrap;
  transition: var(--transition);
}
.btn-pkg-sticky:hover { box-shadow: 0 4px 18px rgba(231,76,60,0.4); transform: translateY(-1px); }
@media(max-width:768px){
  .pkg-sticky-name { max-width: 120px; font-size: 0.76rem; }
  .pkg-sticky-meta { display: none; }
  .pkg-sticky-price .amt { font-size: 1rem; }
  .btn-pkg-sticky { padding: 0.55rem 1rem; font-size: 0.82rem; }
  body { padding-bottom: 68px; }
  .modal-info-grid { grid-template-columns: repeat(2, 1fr); }
  .park-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .park-gallery-grid .span2 { grid-column: span 2; }
  .tnc-grid { grid-template-columns: 1fr; }
  .tnc-card:is([style*="span 2"]) { grid-column: span 1 !important; }
}
