/* ==========================================================================
   SHRIE CAB - PREMIUM RESPONSIVE STYLESHEET
   Domain: https://shriecab.in | Contact: 9229450343
   ========================================================================== */

:root {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: #fef3c7;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --dark-card: #334155;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --success: #10b981;
  --danger: #ef4444;
  --border: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-gold: 0 8px 25px rgba(245, 158, 11, 0.35);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.badge-gold {
  background: var(--primary-light);
  color: #92400e;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */
.top-bar {
  background: var(--dark);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid #1e293b;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-info a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-info a:hover {
  color: var(--primary);
}

.top-admin-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.header-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.brand-name span {
  color: var(--primary);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-top: -2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-surface);
  position: relative;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-call-header {
  background: #10b981;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-call-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--dark);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION & LIVE BOOKING ENGINE
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  color: var(--text-light);
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(245, 158, 11, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.18;
  margin: 15px 0;
}

.hero-content h1 span {
  color: var(--primary);
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 25px;
  max-width: 520px;
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.perk-item i {
  color: var(--primary);
}

.hero-quick-call {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 12px 20px;
  border-radius: 12px;
}

.hero-quick-call .phone-text {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.hero-quick-call .phone-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

/* ==========================================================================
   BOOKING CARD (WIZARD & GPS DETECTION)
   ========================================================================== */
.booking-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-header {
  margin-bottom: 20px;
}

.trip-tabs {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
}

.trip-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 9px 12px;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.trip-tab-btn.active {
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   DYNAMIC TRIP TYPE TABS & CONTROLS (AIRPORT, LOCAL, ROUND TRIP)
   ========================================================================== */
.airport-options-wrap,
.local-packages-wrap {
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
  animation: fadeInDown 0.22s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.airport-submode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.airport-submode-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.airport-submode-btn:hover {
  border-color: #f59e0b;
  color: #0f172a;
}

.airport-submode-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15);
}

.airport-chips-wrap {
  margin-top: 8px;
}

.airport-chips-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 6px;
}

.airport-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.airport-chip {
  padding: 5px 11px;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.airport-chip:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

.airport-chip.active {
  background: #f59e0b;
  border-color: #d97706;
  color: #0f172a;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.35);
}

/* Local Packages Grid */
.local-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pkg-chip-btn {
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pkg-chip-btn strong {
  font-size: 0.82rem;
  color: #0f172a;
}

.pkg-chip-btn span {
  font-size: 0.72rem;
  color: #64748b;
}

.pkg-chip-btn:hover {
  border-color: #f59e0b;
}

.pkg-chip-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.pkg-chip-btn.active strong,
.pkg-chip-btn.active span {
  color: #ffffff;
}

.form-group {
  margin-bottom: 14px;
  position: relative;
}

/* ==========================================================================
   LOCATION AUTOSUGGEST & FAMOUS PLACES DROPDOWN
   ========================================================================== */
.location-input-group {
  position: relative;
}

.location-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08);
  max-height: 310px;
  overflow-y: auto;
  z-index: 10000;
  padding: 6px 0;
  animation: suggFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes suggFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sugg-header {
  padding: 8px 14px 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}

.sugg-header span {
  color: #b45309;
  font-weight: 700;
}

.sugg-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  border-bottom: 1px solid #f8fafc;
}

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

.sugg-item:hover,
.sugg-item.active {
  background: #fffbeb;
}

.sugg-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.sugg-icon-airport { background: #e0f2fe; color: #0284c7; }
.sugg-icon-railway { background: #dcfce7; color: #16a34a; }
.sugg-icon-hospital { background: #fee2e2; color: #dc2626; }
.sugg-icon-landmark { background: #fef3c7; color: #b45309; }
.sugg-icon-locality { background: #f1f5f9; color: #475569; }
.sugg-icon-bus { background: #f3e8ff; color: #9333ea; }

.sugg-content {
  flex: 1;
  min-width: 0;
}

.sugg-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sugg-item:hover .sugg-title {
  color: #b45309;
}

.sugg-desc {
  font-size: 0.74rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.sugg-badge {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
}

.sugg-empty {
  padding: 16px;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}

.input-with-action {
  display: flex;
  align-items: center;
  position: relative;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--dark);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.btn-gps-detect {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-light);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

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

.gps-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* VEHICLE SELECTION CAROUSEL/GRID */
.fleet-selection-container {
  margin: 15px 0;
}

.vehicle-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.vehicle-radio-card {
  position: relative;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}

.vehicle-radio-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.vehicle-radio-card.selected {
  border-color: var(--primary);
  background: #fffbeb;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.vehicle-radio-card img {
  height: 42px;
  width: auto;
  margin-bottom: 4px;
}

.vehicle-radio-card .v-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.vehicle-radio-card .v-rate {
  font-size: 0.75rem;
  color: var(--primary-hover);
  font-weight: 800;
}

/* MAP PREVIEW WRAPPER */
.map-preview-wrap {
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0;
  border: 1px solid #cbd5e1;
  position: relative;
}

#bookingMap {
  height: 100%;
  width: 100%;
  z-index: 1;
}

/* FARE SUMMARY BOX */
.fare-estimate-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}

.fare-calc-details {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.fare-calc-details strong {
  color: var(--dark);
  font-size: 0.95rem;
}

.fare-amount-display {
  text-align: right;
}

.fare-amount-display .amt-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}

.fare-amount-display .amt-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: #b45309;
  line-height: 1;
}

.fare-extra-note {
  font-size: 0.78rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #f59e0b;
  padding: 9px 12px;
  border-radius: 8px;
  margin: -6px 0 16px 0;
  line-height: 1.45;
}

.fare-extra-note i {
  color: #d97706;
  margin-right: 5px;
}

.btn-book-submit {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
}

.btn-book-submit:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
}

/* ==========================================================================
   FEATURE & SERVICES SECTIONS
   ========================================================================== */
.section-padding {
  padding: 70px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-title-wrap h2 {
  font-size: 2.2rem;
  margin: 8px 0;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.feature-box {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary-hover);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   FLEET SHOWCASE
   ========================================================================== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.fleet-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.fleet-img-wrap {
  background: #f8fafc;
  padding: 25px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.fleet-img-wrap img {
  max-height: 120px;
  width: auto;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.1));
}

.fleet-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fleet-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.fleet-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
}

.fleet-rate-badge {
  background: #fffbeb;
  color: #b45309;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.fleet-card h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}

.fleet-specs {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.fleet-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 8px;
}

.fleet-specs li i {
  color: var(--primary);
  width: 18px;
}

.btn-select-fleet {
  width: 100%;
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

/* ==========================================================================
   POPULAR ROUTES & FARES
   ========================================================================== */
.routes-table-wrap {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow-x: auto;
}

.routes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.routes-table th {
  background: #f8fafc;
  padding: 16px 20px;
  font-weight: 700;
  color: #334155;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--border);
}

.routes-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.routes-table tr:hover td {
  background: #fffbeb;
}

.btn-table-book {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  display: inline-block;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (CALL & WHATSAPP)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.fab-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.fab-btn:hover {
  transform: scale(1.1);
}

.fab-whatsapp {
  background: #25d366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.fab-call {
  background: #10b981;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.fab-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.8;
  animation: fabPing 1.8s infinite;
  pointer-events: none;
}

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

/* ==========================================================================
   BOTTOM MOBILE CALL BAR
   ========================================================================== */
.mobile-sticky-footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 10px 15px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
  z-index: 9998;
}

.mobile-sticky-footer .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-mobile-call {
  background: #10b981;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-mobile-wa {
  background: #25d366;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   MODAL DIALOG (BOOKING CONFIRMATION & TRACKING)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  background: var(--dark);
  color: #fff;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--primary);
  margin: 0;
  font-size: 1.25rem;
}

.btn-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-main {
  background: var(--dark);
  color: #94a3b8;
  padding: 60px 0 25px;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (ALL DEVICES SUPPORT)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-lead {
    margin: 0 auto 25px;
  }
  .hero-perks {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 15px;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.1rem;
  }
  .vehicle-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .floating-actions {
    bottom: 75px;
    right: 15px;
  }
  .mobile-sticky-footer {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  .trip-tabs {
    flex-wrap: wrap;
  }
  .trip-tab-btn {
    flex-basis: 48%;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .vehicle-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FLOATING AI SUPPORT CHATBOT WIDGET
   ========================================================================== */
.ai-chat-launcher {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 10px 18px 10px 14px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.4);
  border: 1.5px solid #f59e0b;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.ai-chat-open #aiChatLauncher,
#aiChatLauncher.hidden {
  display: none !important;
}

.ai-chat-launcher:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.45);
}

.ai-launcher-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #000;
  position: relative;
}

.ai-online-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #0f172a;
  border-radius: 50%;
}

.ai-launcher-text {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.ai-launcher-text span {
  display: block;
  font-size: 0.7rem;
  color: #f59e0b;
  font-weight: 600;
}

/* Chat Window */
.ai-chat-window {
  display: none;
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 390px;
  max-width: calc(100vw - 30px);
  height: 540px;
  max-height: calc(100vh - 50px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid #e2e8f0;
  z-index: 10000;
  flex-direction: column;
  overflow: hidden;
  animation: aiModalSlide 0.25s ease;
}

.ai-chat-window.open {
  display: flex;
}

@media (max-width: 480px) {
  .ai-chat-window {
    bottom: 10px;
    left: 10px;
    right: 10px;
    width: calc(100vw - 20px);
    max-width: 100vw;
    height: calc(100vh - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }
}

@keyframes aiModalSlide {
  from { opacity: 0; transform: translateY(15px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-chat-header {
  background: #0f172a;
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #f59e0b;
}

.ai-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f59e0b;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ai-header-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.ai-header-sub {
  font-size: 0.72rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-btn-call-header {
  color: #10b981;
  font-size: 1.1rem;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.ai-btn-call-header:hover {
  background: rgba(16, 185, 129, 0.2);
}

.ai-btn-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 2px 6px;
}

.ai-btn-close:hover {
  color: #fff;
}

/* Chat Gate (Name + Phone Required Screen) */
.ai-chat-gate {
  padding: 24px;
  background: #f8fafc;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.ai-gate-icon {
  width: 60px;
  height: 60px;
  background: #fef3c7;
  color: #b45309;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
}

.ai-chat-gate h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.ai-chat-gate p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 20px;
}

.ai-gate-form .form-group {
  text-align: left;
  margin-bottom: 12px;
}

.btn-start-ai {
  width: 100%;
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-start-ai:hover {
  background: #f59e0b;
  color: #000;
}

/* Chat Body (Messages Area) */
.ai-chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.chat-bubble-bot {
  align-self: flex-start;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chat-bubble-bot a {
  text-decoration: underline;
}

.chat-bubble-user {
  align-self: flex-end;
  background: #0f172a;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-bubble-agent {
  align-self: flex-start;
  background: #f0fdf4;
  color: #064e3b;
  border: 1.5px solid #10b981;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}

.chat-agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #10b981;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chat-time {
  font-size: 0.65rem;
  color: #94a3b8;
  margin-top: 4px;
  text-align: right;
  display: block;
}

/* Quick Suggestion Chips */
.ai-quick-chips {
  padding: 8px 12px;
  background: #f1f5f9;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  border-top: 1px solid #e2e8f0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.ai-quick-chips::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  height: 0;
  width: 0;
}

.ai-chip-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  user-select: none;
}

.ai-chip-btn:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  transform: translateY(-1px);
}

/* Chat Input Footer */
.ai-chat-footer {
  padding: 10px 14px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-chat-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  background: #f8fafc;
  outline: none;
}

.ai-chat-input:focus {
  border-color: #f59e0b;
  background: #fff;
}

.ai-btn-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f59e0b;
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.ai-btn-send:hover {
  background: #d97706;
  color: #fff;
}

/* Typing Dots Animation */
.typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  align-self: flex-start;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@media (max-width: 768px) {
  .ai-chat-launcher {
    bottom: 75px;
    left: 15px;
    padding: 8px 12px;
  }
  .ai-chat-window {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}
