/* ==========================================================================
   Wthworldwidetravels - High-Fidelity Travel Booking UI Design System
   Matches Reference: Clean typography, high contrast, crisp layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-black: #0f172a;
  --primary-dark: #1e293b;
  --primary-blue: #0066cc;
  --accent-blue: #1a73e8;
  --accent-blue-hover: #1557b0;
  --accent-blue-subtle: #f0f7ff;
  --accent-blue-border: #c2e0ff;

  --accent-green: #0f8a3c;
  --accent-green-bg: #e6f4ea;
  --accent-orange: #f25c05;
  --accent-orange-hover: #d94f02;

  --bg-page: #f4f7fb;
  --card-bg: #ffffff;
  --text-main: #1f2937;
  --text-heading: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  
  --border-card: #e5e7eb;
  --border-light: #f1f5f9;
  
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 6px 18px rgba(15, 23, 42, 0.09);
  
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Lucide Icon Standard */
i[data-lucide], .lucide {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
  display: inline-block;
  vertical-align: -2px;
}

/* ==========================================================================
   SITE HEADER & NAVBAR (Cars, Reviews, Contact Us, Phone Hotline)
   ========================================================================== */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-card);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.5px;
}

.brand-logo .brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #1a73e8, #0f172a);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.brand-logo .brand-icon i {
  width: 18px;
  height: 18px;
}

.brand-logo span.highlight {
  color: var(--primary-blue);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.nav-link.active {
  font-weight: 700;
}

.support-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  background-color: #0f172a;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background-color 0.2s;
}

.support-pill:hover {
  background-color: var(--primary-blue);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  padding: 10px 18px;
  text-align: center;
  font-size: 14px;
}

.btn-blue {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.btn-blue:hover {
  background-color: var(--accent-blue-hover);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--border-card);
  color: #334155;
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: #ffffff;
}

/* ==========================================================================
   TOP CAROUSEL (Exact Match to Reference Image 2)
   ========================================================================== */

.model-carousel-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #94a3b8;
  flex-shrink: 0;
  transition: all 0.2s;
}

.carousel-arrow:hover {
  background-color: #f1f5f9;
  color: var(--primary-blue);
}

.carousel-arrow.next {
  color: var(--primary-blue);
  background-color: #edf5ff;
}

.carousel-arrow.next:hover {
  background-color: #dcebff;
}

.model-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  padding: 2px 8px;
}

.model-carousel-track::-webkit-scrollbar {
  display: none;
}

.model-carousel-card {
  min-width: 145px;
  flex: 1;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.model-carousel-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.model-carousel-card.active {
  border: 2px solid var(--primary-blue);
  box-shadow: 0 0 0 1px var(--primary-blue);
}

/* All Models card variant */
.model-carousel-card.all-models {
  justify-content: center;
  gap: 8px;
  min-height: 110px;
}

.model-carousel-card.all-models .model-name {
  color: var(--primary-blue);
  font-size: 15px;
  font-weight: 800;
}

.model-carousel-card.all-models .model-price {
  color: var(--primary-blue);
  font-size: 13.5px;
  font-weight: 700;
}

.model-carousel-card .model-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.model-carousel-card .model-img {
  width: 78px;
  height: 42px;
  object-fit: contain;
  margin: 4px 0;
}

.model-carousel-card .model-capacity {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin: 4px 0 6px;
}

.model-carousel-card .model-capacity .cap-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.model-carousel-card .model-capacity i {
  color: var(--primary-blue);
  width: 13px;
  height: 13px;
}

.model-carousel-card .model-price {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.model-carousel-card .model-price .cents {
  font-size: 9px;
  vertical-align: 3px;
}

/* ==========================================================================
   RESULTS HEADER (399 Cars Found & Sort)
   ========================================================================== */

.results-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.results-count-title {
  font-size: 22px;
  font-weight: 900;
  color: #000000;
  letter-spacing: -0.5px;
}

.results-sort-dropdown {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
  outline: none;
  cursor: pointer;
  min-width: 170px;
}

/* ==========================================================================
   CAR RESULT CARD (Exact Layout of Reference Image 2)
   ========================================================================== */

.car-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.car-result-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 190px 1fr 180px;
  gap: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s;
  align-items: center;
}

.car-result-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

/* Visual Column */
.car-card-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.car-card-visual .car-img {
  width: 170px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 8px;
}

.car-card-visual .supplier-badge {
  height: 24px;
  object-fit: contain;
}

/* Middle Details Column */
.car-card-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.car-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.car-title-line .car-name {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.car-title-line .category-pill {
  background-color: #0066cc;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: capitalize;
  letter-spacing: 0.3px;
}

.car-title-line .similar-text {
  font-size: 13.5px;
  color: #0066cc;
  font-weight: 600;
}

/* 3-Column Specifications Grid */
.specs-grid-3col {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr;
  gap: 6px 12px;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  margin: 4px 0;
}

.specs-grid-3col .spec-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.specs-grid-3col .spec-line i {
  color: #4b5563;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.specs-grid-3col .info-circle {
  font-size: 11px;
  color: #6b7280;
  cursor: pointer;
}

/* Links row */
.card-links-row {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  font-weight: 600;
}

.card-links-row a.blue-link {
  color: #0066cc;
}

.card-links-row a.blue-link:hover {
  text-decoration: underline;
}

/* Pick-up Address row */
.pickup-address-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #475569;
  margin-top: 2px;
}

.pickup-address-line i {
  color: #0066cc;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pickup-address-line .pickup-label {
  color: #0066cc;
  font-weight: 800;
}

/* Pricing Column (Right Side of Card) */
.car-card-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.daily-rate-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: #0f8a3c;
  line-height: 1;
}

.daily-rate-display .currency {
  font-size: 22px;
  font-weight: 900;
}

.daily-rate-display .dollars {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.daily-rate-display .cents {
  font-size: 16px;
  font-weight: 800;
}

.daily-rate-display .per-day {
  font-size: 13px;
  font-weight: 700;
  margin-left: 2px;
}

.total-rate-display {
  font-size: 13.5px;
  color: #374151;
  font-weight: 600;
  margin-top: 6px;
}

.taxes-note {
  font-size: 11.5px;
  color: #6b7280;
  margin-bottom: 12px;
}

/* Select Button */
.btn-select-car {
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 800;
  display: block;
  width: 100%;
  max-width: 150px;
  text-align: center;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0, 102, 204, 0.2);
}

.btn-select-car:hover {
  background-color: var(--accent-blue-hover);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.35);
  transform: translateY(-1px);
}

.pay-save-badge {
  font-size: 12px;
  font-weight: 800;
  color: #0f8a3c;
  margin-top: 8px;
}

/* ==========================================================================
   SEARCH HERO WIDGET
   ========================================================================== */

.hero-section {
  background: linear-gradient(180deg, rgba(11, 26, 44, 0.78) 0%, rgba(15, 23, 42, 0.92) 100%),
              url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat,
              #0f172a;
  padding: 54px 0 68px;
  color: #ffffff;
}

.hero-headline {
  text-align: center;
  margin-bottom: 30px;
}

.hero-headline h1 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.hero-headline p {
  font-size: 15.5px;
  color: #94a3b8;
}

.search-bar-wrapper {
  background-color: #0f172a;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
  border: 1px solid #1e293b;
}

.search-form-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr 1.2fr 1fr;
  gap: 8px;
}

.search-field-box {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1.5px solid transparent;
}

.search-field-box:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.search-field-box .field-icon {
  margin-right: 8px;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
}

.search-field-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-field-content label {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.search-field-content input,
.search-field-content select {
  border: none;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  background: transparent;
  cursor: pointer;
}

/* Autocomplete */
.autocomplete-container { position: relative; }
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  min-width: 360px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  border: 1px solid var(--border-card);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
}
.autocomplete-dropdown.show { display: block; }
.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
}
.autocomplete-item:hover { background-color: #eff6ff; }
.autocomplete-item .loc-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: #eff6ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.autocomplete-item .loc-name { font-size: 13px; font-weight: 700; color: #0f172a; }
.autocomplete-item .loc-sub { font-size: 11px; color: #64748b; }

.dropoff-toggle-row {
  margin-top: 10px;
}

.dropoff-toggle-btn {
  background: none;
  border: none;
  color: #93c5fd;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.different-dropoff-field {
  margin-top: 10px;
  max-width: 420px;
  display: none;
}
.different-dropoff-field.show { display: block; }

/* ==========================================================================
   SIDEBAR & LISTING LAYOUT
   ========================================================================== */

.listing-summary-bar {
  background-color: #0f172a;
  color: #ffffff;
  padding: 14px 0;
  margin-bottom: 24px;
}

.summary-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-item .label {
  color: #94a3b8;
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.summary-item .val {
  font-weight: 700;
  color: #ffffff;
}

.listing-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.filter-sidebar {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 16px;
}

.filter-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.filter-header .clear-link {
  font-size: 12.5px;
  color: var(--primary-blue);
  font-weight: 700;
  cursor: pointer;
}

.filter-group {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}
.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13.5px;
  color: #1e293b;
  cursor: pointer;
  user-select: none;
}

.filter-checkbox-item .chk-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-checkbox-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  border: 1.5px solid #93c5fd;
  border-radius: 4px;
  accent-color: var(--primary-blue);
  cursor: pointer;
}

.filter-checkbox-item .chk-label span {
  font-weight: 500;
  color: #1e293b;
}

.filter-price-val {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.filter-price-val sup {
  font-size: 10px;
  vertical-align: 3px;
  font-weight: 800;
}

.filter-show-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  cursor: pointer;
}

.filter-show-more:hover {
  text-decoration: underline;
}

/* ==========================================================================
   BOOKING PAGE & PAYMENT CARD STYLING
   ========================================================================== */

.booking-header-strip {
  padding: 14px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-blue);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.booking-car-card, .booking-section {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.booking-car-header {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
}

.car-preview-box {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-car-header img.car-preview {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.booking-car-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.booking-car-title h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.booking-car-sub {
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

.booking-car-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.booking-supplier-logo { height: 24px; }

.booking-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #64748b;
}

.booking-rating i { width: 15px; height: 15px; color: #f59e0b; fill: #f59e0b; }
.booking-rating strong { color: #0f172a; }

.booking-car-desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.car-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.car-specs-grid .spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
}

.car-specs-grid .spec-item i { width: 18px; height: 18px; color: #475569; flex-shrink: 0; }

.car-specs-grid .spec-item.highlight {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--accent-blue);
  font-weight: 700;
}

.car-specs-grid .spec-item.highlight i { color: var(--accent-blue); }

.booking-itinerary-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid var(--border-card);
  margin-bottom: 16px;
}

.itinerary-col .title {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.itinerary-col .datetime {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 2px 0;
}

.itinerary-col .address {
  font-size: 12px;
  color: #475569;
}

.booking-policy-banner {
  display: flex;
  gap: 12px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: #1e40af;
}

.section-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 18px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 5px;
}

.form-group label span.req { color: #dc2626; }

.form-control {
  border: 1.5px solid var(--border-card);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: #0f172a;
  outline: none;
  background-color: #ffffff;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.form-control.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fef2f2;
}

.form-control.is-valid {
  border-color: #10b981 !important;
}

.card-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.card-input-wrapper input {
  padding-right: 56px;
}

.card-input-badge {
  position: absolute;
  right: 10px;
  width: 38px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-input-badge img {
  max-width: 100%;
  max-height: 100%;
}

.card-feedback {
  font-size: 11.5px;
  margin-top: 4px;
  font-weight: 600;
}
.card-feedback.error { color: #dc2626; }
.card-feedback.success { color: #15803d; }

.price-sidebar-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 85px;
}

.price-sidebar-card .card-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-card);
  font-size: 16px;
  font-weight: 800;
}

.price-sidebar-card .card-body {
  padding: 20px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #4b5563;
  margin-bottom: 12px;
}

.price-line.total {
  border-top: 1px solid var(--border-card);
  padding-top: 14px;
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.price-line.total .total-val {
  color: var(--primary-blue);
  font-size: 22px;
}

/* ==========================================================================
   OTHER PAGES (Confirmation, Contact, Privacy, Terms)
   ========================================================================== */

.confirmation-hero {
  background: linear-gradient(135deg, #0b0f19 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
  border-radius: 12px;
  margin: 24px 0 32px;
}

.voucher-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.voucher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.content-page-hero {
  background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
  color: #ffffff;
  padding: 48px 0;
  text-align: center;
  margin-bottom: 40px;
}

.content-page-hero h1 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 6px;
}

.content-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-card);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  margin-bottom: 50px;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-item .icon-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: #eff6ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   DEALS, REVIEWS & TRUST STATS
   ========================================================================== */

.deals-section {
  padding: 28px 0;
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border-card);
}

.deals-carousel-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-arrow.deals-prev,
.carousel-arrow.deals-next {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  flex-shrink: 0;
  transition: all 0.2s;
}

.carousel-arrow.deals-prev:hover,
.carousel-arrow.deals-next:hover {
  background-color: #f1f5f9;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.deals-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  flex: 1;
}

.deals-grid::-webkit-scrollbar {
  display: none;
}

.deal-card {
  min-width: 250px;
  flex: 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.deal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-color: var(--primary-blue);
}

.reviews-section {
  background-color: #0b1a30;
  color: #ffffff;
  padding: 60px 0;
}

.reviews-header {
  text-align: center;
  margin-bottom: 36px;
}

.reviews-header h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-transform: uppercase;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.review-summary-card {
  background: #112644;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.review-summary-card .score {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.review-summary-card .trust-stars,
.review-card .card-stars {
  color: #00b67a;
  font-size: 19px;
  letter-spacing: 2px;
  margin: 8px 0;
}

.review-card {
  background: #112644;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card .card-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.review-card .card-text {
  font-size: 13px;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.review-card .card-author {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.trust-stats-section {
  padding: 50px 0;
  background-color: #f8fafc;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 18px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #eff6ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-info h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.stat-info p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.newsletter-bar {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: 12px;
  padding: 30px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0;
}

.site-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding: 60px 0 20px;
  font-size: 13px;
  margin-top: 60px;
  border-top: 1px solid #1e293b;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a:hover { color: #ffffff; text-decoration: underline; }

.footer-trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
}

.footer-disclaimer {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

@media (max-width: 1024px) {
  .search-form-row { grid-template-columns: 1fr 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .car-result-card { grid-template-columns: 160px 1fr; }
  .car-card-pricing {
    grid-column: span 2;
    border-top: 1px solid var(--border-card);
    padding-top: 16px;
    flex-direction: row;
    justify-content: space-between;
  }
  .specs-grid-3col { grid-template-columns: 1fr 1fr; }
  .booking-layout, .contact-grid { grid-template-columns: 1fr; }
  .booking-car-header { grid-template-columns: 1fr; }
  .deals-grid, .reviews-grid, .trust-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .search-form-row { grid-template-columns: 1fr; }
  .deals-grid, .reviews-grid, .trust-stats-grid, .footer-columns { grid-template-columns: 1fr; }
  .car-result-card { grid-template-columns: 1fr; }
  .car-card-pricing {
    grid-column: span 1;
    flex-direction: column;
  }
  .specs-grid-3col { grid-template-columns: 1fr; }
  .form-grid-3, .form-grid-2, .voucher-grid { grid-template-columns: 1fr; }
}
