/* ==========================================================================
   APNA DRIVE CAR RENTAL GOA — MAIN STYLESHEET (CSS3)
   ========================================================================== */

:root {
  /* Brand Colors */
  --color-primary: #0B1E36;
  --color-primary-light: #162E4F;
  --color-primary-dark: #071324;
  --color-accent: #D97706;
  --color-accent-hover: #B45309;
  --color-accent-light: #FEF3C7;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE5D;
  --color-call: #0284C7;
  
  /* Neutrals & Surfaces */
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F1F5F9;
  --bg-surface-dark: #0B1E36;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-subtle: #64748B;
  --text-light: #F8FAFC;
  
  /* Borders & Dividers */
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-focus: #D97706;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Geometry */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 9999px;

  /* Container */
  --container-max: 1240px;
  --header-height: 96px;
  --topbar-height: 40px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
  border-top: none !important;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 1rem;
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  padding: 0;
  border-top: none !important;
  overflow-wrap: break-word;
}

img, video, svg, iframe {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw + 0.5rem, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw + 0.2rem, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-accent { color: var(--color-accent) !important; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-dark {
  background-color: var(--bg-surface-dark);
  color: var(--text-light);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: #FFFFFF;
}

.section-dark p {
  color: #CBD5E1;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Badges and Pills Disabled */
.section-badge,
.hero-badge,
.car-badge,
.car-category-pill,
.booking-form-tag {
  display: none !important;
}

.section-title {
  margin-bottom: 12px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Header & Navigation */
.site-topbar {
  background-color: var(--color-primary-dark);
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-top: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0 !important;
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.topbar-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-info-item svg {
  color: var(--color-accent);
}

.topbar-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 990;
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-image {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #FFFFFF;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-logo-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

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

.brand-logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
}

/* Nav Menu & Dropdowns */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--color-accent);
  background-color: var(--bg-surface-alt);
}

.nav-dropdown-toggle svg {
  transition: transform var(--transition-fast);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.nav-dropdown-link:hover {
  background-color: var(--bg-surface-alt);
  color: var(--color-accent);
  padding-left: 22px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-primary);
}

/* Button Component Library */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  color: #FFFFFF;
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.btn-call {
  background-color: var(--color-call);
  color: #FFFFFF;
}

.btn-call:hover {
  background-color: #0369A1;
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-medium);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--bg-surface-alt);
  border-color: var(--color-primary);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.86rem;
  min-height: 38px;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
  min-height: 52px;
}

/* Back to Home Navigation Bar & Button */
.back-home-bar {
  background-color: var(--bg-surface-alt);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--color-primary);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  line-height: 1.4;
}

.back-home-btn svg {
  color: var(--color-accent);
  transition: transform var(--transition-fast);
}

.back-home-btn:hover {
  background-color: #FFFFFF;
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.12);
  transform: translateX(-2px);
}

.back-home-btn:hover svg {
  transform: translateX(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  background-color: #0F172A;
  overflow: hidden;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 0.4s ease-in-out, transform 3.5s ease-out;
  transform: scale(1.02);
  z-index: 1;
}

.hero-bg-slider.ken-burns {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.12);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 80px 0;
  max-width: 820px;
}

.hero-badge {
  display: none !important;
}

.hero-heading {
  color: #FFFFFF;
  margin-bottom: 16px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-lead-text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #FFFFFF;
  margin-bottom: 32px;
  max-width: 680px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-indicators {
  display: flex;
  gap: 8px;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.indicator-dot.active {
  width: 32px;
  background-color: var(--color-accent);
}

/* Quick Booking Form Section */
.booking-section-wrapper {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
}

.booking-form-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 32px;
}

.booking-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.booking-form-header h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
}

.booking-form-header p {
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.form-group.span-2 {
  grid-column: span 2;
}

.form-group.span-4 {
  grid-column: span 4;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-label svg {
  color: var(--color-accent);
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

textarea.form-control {
  height: auto;
  min-height: 80px;
  resize: vertical;
}

.form-submit-group {
  grid-column: span 4;
  margin-top: 10px;
}

.form-errors {
  display: none;
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.form-errors ul {
  padding-left: 20px;
  list-style: disc;
}

/* Fleet Cards & Grid */
.fleet-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 18px;
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.fleet-filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fleet-filter-btn {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background-color: #FFFFFF;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.fleet-filter-btn:hover, .fleet-filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.fleet-search-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-input-wrap {
  position: relative;
}

.search-input-wrap input {
  padding: 8px 14px 8px 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  font-size: 0.88rem;
  width: 200px;
  height: 40px;
}

.search-input-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.car-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.car-card-image-wrap {
  position: relative;
  height: 220px;
  background-color: #0F172A;
  overflow: hidden;
}

.car-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.car-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}

.car-category-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(11, 30, 54, 0.85);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.car-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.car-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.car-title {
  font-size: 1.25rem;
  line-height: 1.2;
}

.car-title-link {
  color: var(--color-primary);
}

.car-title-link:hover {
  color: var(--color-accent);
}

.car-price-box {
  text-align: right;
  flex-shrink: 0;
}

.price-amount {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.price-unit {
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.car-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.car-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px;
  background-color: var(--bg-surface-alt);
  border-radius: var(--radius-md);
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.feature-chip svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.car-card-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

/* Feature & Benefit Cards */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background-color: #FFFFFF;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-light);
}

.feature-card-icon {
  width: 54px;
  height: 54px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* Process Steps */
.process-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.process-step {
  background-color: #FFFFFF;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.process-step h4 {
  margin-bottom: 8px;
}

/* Location Cards */
.location-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.location-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.location-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.location-card-header svg {
  color: var(--color-accent);
}

.location-card h3 {
  font-size: 1.15rem;
}

.location-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.location-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.location-link:hover {
  gap: 8px;
}

/* Services Grid */
.service-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* FAQ Accordions */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-accent);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.faq-icon-toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Testimonial Placeholder Cards (Verified Non-Fabricated) */
.testimonial-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-name {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.author-trip {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* Vehicle Detail Page Sections */
.car-detail-hero {
  background-color: var(--color-primary);
  color: #FFFFFF;
  padding: 60px 0 40px;
}

.car-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.car-detail-gallery {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.car-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.car-specs-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 12px 14px;
  font-size: 0.92rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--color-primary);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--text-muted);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.check-item svg {
  color: var(--color-whatsapp-dark);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Contact Page Components */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

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

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-channel-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.map-container {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Gallery Grid & Lightbox */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-grid-item {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-grid-item:hover img {
  transform: scale(1.08);
}

.gallery-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(11, 30, 54, 0.88));
  color: #FFFFFF;
  padding: 24px 16px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-grid-item:hover .gallery-caption-overlay {
  opacity: 1;
}

.lightbox-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(7, 19, 36, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  padding: 20px;
}

.lightbox-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  color: #E2E8F0;
  text-align: center;
  margin-top: 12px;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
}

/* Floating Action Bar System */
.floating-action-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 995;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-action-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  animation: slideUpFade 0.25s ease-out forwards;
}

.floating-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
}

.floating-label {
  background-color: var(--color-primary);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.floating-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast);
}

.floating-item:hover .floating-icon {
  transform: scale(1.1);
}

.floating-item.call-action .floating-icon { background-color: var(--color-call); }
.floating-item.wa-action .floating-icon { background-color: var(--color-whatsapp); }
.floating-item.ai-action .floating-icon { background-color: var(--color-accent); }

.floating-main-trigger {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: none;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.floating-main-trigger:hover {
  background-color: var(--color-primary-light);
  transform: scale(1.05);
}

.floating-main-trigger.active {
  background-color: var(--color-accent);
}

/* AI Assistant Widget Window */
.assistant-widget-container {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 998;
}

.assistant-window {
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: 80vh;
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUpFade 0.25s ease forwards;
}

.assistant-header {
  background-color: var(--color-primary);
  color: #FFFFFF;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.assistant-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.assistant-title-box {
  flex-grow: 1;
  margin-left: 10px;
}

.assistant-title-box h4 {
  font-size: 0.95rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.assistant-status {
  font-size: 0.72rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background-color: var(--color-whatsapp);
}

.assistant-close-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.assistant-body {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--bg-surface-alt);
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  font-size: 0.88rem;
  line-height: 1.45;
}

.chat-msg.bot-msg {
  background-color: #FFFFFF;
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.chat-msg.user-msg {
  background-color: var(--color-primary);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-msg.user-msg p {
  color: #FFFFFF;
}

.assistant-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.quick-chip {
  background-color: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 0.76rem;
  color: var(--color-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-chip:hover {
  background-color: var(--color-accent-light);
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
}

.assistant-input-bar {
  display: flex;
  padding: 10px 14px;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  gap: 8px;
}

.assistant-input-bar input {
  flex-grow: 1;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.86rem;
  outline: none;
}

.assistant-input-bar input:focus {
  border-color: var(--color-accent);
}

.assistant-send-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background-color: var(--color-accent);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assistant-footer-note {
  font-size: 0.72rem;
  color: var(--text-subtle);
  text-align: center;
  padding: 6px 12px;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.assistant-footer-note a {
  color: var(--color-whatsapp-dark);
  font-weight: 600;
}

/* Booking Modal */
.booking-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(11, 30, 54, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.booking-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.booking-modal-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: popIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-subtle);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-pill);
  background-color: #DCFCE7;
  color: var(--color-whatsapp-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.booking-summary-box {
  background-color: var(--bg-surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 20px;
  margin-bottom: 20px;
}

.summary-id-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-medium);
  margin-bottom: 14px;
}

.id-label {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.id-value {
  font-weight: 800;
  font-family: monospace;
  font-size: 1.05rem;
  color: var(--color-primary);
  background-color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.summary-item {
  display: flex;
  flex-direction: column;
}

.summary-item.full-width {
  grid-column: span 2;
}

.summary-label {
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.summary-val {
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 500;
}

.modal-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.86rem;
  color: #1E40AF;
}

.modal-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Site Footer */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #94A3B8;
  padding-top: 70px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 24px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-brand-p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-top: 14px;
  margin-bottom: 18px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #CBD5E1;
}

.footer-contact-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-corporate-copy {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: #94A3B8;
  margin-top: 12px;
  line-height: 1.5;
}
