/**
 * Rent a Car in Trivandrum Flagship Presentation Stylesheet
 * Apple Car Rentals Trivandrum | Self-Drive & Chauffeur Fleet
 * Namespace: .tvd-
 * Design System: Electric Cobalt (#1261f2) + Kinetic Sky Cyan (#38bdf8) + Sun Amber (#ffcc00) + Deep Obsidian (#050814)
 * 100% WCAG 2.1/2.2 AAA Compliant Contrast & Performance Optimized
 * High-Contrast Protection against global style.css / Bootstrap black-text leaks
 */

:root {
  --tvd-bg: #050814;
  --tvd-bg-surface: #0a1024;
  --tvd-bg-surface-2: #101938;
  --tvd-bg-card: rgba(14, 22, 48, 0.94);
  --tvd-bg-glass: rgba(10, 16, 36, 0.88);

  --tvd-blue: #1261f2;
  --tvd-blue-deep: #0a46b8;
  --tvd-blue-light: #3d7eff;
  --tvd-cyan: #38bdf8;
  --tvd-cyan-light: #e0f4fe;
  --tvd-cyan-glow: rgba(56, 189, 248, 0.35);

  --tvd-amber: #ffcc00;
  --tvd-amber-glow: rgba(255, 204, 0, 0.3);
  --tvd-gold: #f59e0b;

  --tvd-text: #ffffff;
  --tvd-text-muted: #e2e8f0;
  --tvd-text-dim: #cbd5e1;
  --tvd-ink-dark: #080c37;

  --tvd-whatsapp: #25d366;
  --tvd-whatsapp-dark: #128c7e;

  --tvd-border: rgba(56, 189, 248, 0.28);
  --tvd-border-subtle: rgba(255, 255, 255, 0.14);
  --tvd-border-light: #e2e8f0;

  --tvd-radius-sm: 8px;
  --tvd-radius-md: 14px;
  --tvd-radius-lg: 22px;
  --tvd-radius-full: 9999px;

  --tvd-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tvd-shadow-card: 0 16px 38px rgba(0, 0, 0, 0.55);
  --tvd-shadow-glow: 0 0 32px rgba(18, 97, 242, 0.35);
  --tvd-shadow-glass: 0 20px 48px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   HEADER NAVIGATION FIX OVER DARK TRIVANDRUM HERO
   ========================================================================== */
@media (min-width: 992px) {
  body#body .navigation:not(.sticky-header) .navbar-light .navbar-nav .nav-item .nav-link,
  body#body .navigation:not(.sticky-header) .navbar-nav .nav-link {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
  }
  body#body .navigation:not(.sticky-header) .navbar-light .navbar-nav .nav-item .nav-link:hover,
  body#body .navigation:not(.sticky-header) .navbar-nav .nav-link:hover {
    color: var(--tvd-cyan) !important;
  }
  body#body .navigation:not(.sticky-header) .topbar a {
    color: #ffffff !important;
  }
}

/* Master Reset & Base Container */
.tvd-page {
  background-color: var(--tvd-bg) !important;
  color: #f1f5f9 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tvd-page *,
.tvd-page *::before,
.tvd-page *::after {
  box-sizing: border-box;
}

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

/* Universal High-Contrast Typography Defense */
.tvd-page h1,
.tvd-page h2,
.tvd-page h3,
.tvd-page h4,
.tvd-page h5,
.tvd-page h6 {
  color: #ffffff !important;
  font-weight: 800;
  line-height: 1.2;
}

.tvd-page p,
.tvd-page li {
  color: #e2e8f0 !important;
}

.tvd-page strong,
.tvd-page b {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.tvd-page label,
.tvd-page dt,
.tvd-page dd {
  color: #f1f5f9 !important;
}

.tvd-page a {
  color: var(--tvd-cyan);
}

.tvd-page a:hover {
  color: #7dd3fc;
}

.tvd-section {
  padding: 80px 0;
  position: relative;
}

@media (max-width: 768px) {
  .tvd-section {
    padding: 55px 0;
  }
}

.tvd-section--alt {
  background-color: var(--tvd-bg-surface) !important;
  border-top: 1px solid var(--tvd-border);
  border-bottom: 1px solid var(--tvd-border);
}

.tvd-section--deep {
  background: linear-gradient(180deg, #050814 0%, #080d24 50%, #050814 100%) !important;
}

.tvd-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.tvd-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tvd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.16) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  padding: 5px 14px;
  border-radius: var(--tvd-radius-full);
  margin-bottom: 16px;
}

.tvd-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  margin: 0 0 16px;
}

.tvd-head p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #e2e8f0 !important;
  margin: 0;
}

/* ==========================================================================
   1. HERO SECTION (TRIVANDRUM FLEET SHOWCASE + SIMPLE BOOKING CONSOLE)
   ========================================================================== */
.tvd-hero {
  position: relative;
  padding: 135px 0 70px;
  background: radial-gradient(circle at 75% 20%, rgba(18, 97, 242, 0.28) 0%, transparent 55%),
              radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.2) 0%, transparent 45%),
              linear-gradient(180deg, #02040a 0%, #0a1024 50%, #050814 100%) !important;
  border-bottom: 1px solid var(--tvd-border);
  overflow: hidden;
}

.tvd-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 440px);
  gap: 44px;
  align-items: center;
}

@media (max-width: 991px) {
  .tvd-hero {
    padding-top: 120px;
    padding-bottom: 45px;
  }
  .tvd-hero__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.tvd-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.16) !important;
  border: 1px solid rgba(37, 211, 102, 0.45) !important;
  color: #25d366 !important;
  padding: 6px 14px;
  border-radius: var(--tvd-radius-full);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-right: 10px;
  margin-bottom: 12px;
}

.tvd-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: tvdPulse 2s infinite;
}

@keyframes tvdPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.tvd-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 204, 0, 0.16) !important;
  border: 1px solid rgba(255, 204, 0, 0.45) !important;
  color: #ffcc00 !important;
  padding: 6px 14px;
  border-radius: var(--tvd-radius-full);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.tvd-hero__title {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #ffffff !important;
  margin: 8px 0 16px;
}

.tvd-hero__title span {
  display: block;
  font-size: 0.56em;
  font-weight: 700;
  color: #38bdf8 !important;
  letter-spacing: -0.01em;
  margin-top: 8px;
}

.tvd-hero__desc {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.65;
  color: #e2e8f0 !important;
  margin: 0 0 20px;
  text-wrap: pretty;
}

/* Quick Search Intent Shortcuts */
.tvd-quick-intents {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.tvd-intent-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7dd3fc !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tvd-intent-pill {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--tvd-radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tvd-intent-pill:hover {
  background: var(--tvd-blue) !important;
  border-color: #38bdf8 !important;
  transform: translateY(-1px);
}

/* Hero Visual Showcase */
.tvd-visual-wrapper {
  position: relative;
  border-radius: var(--tvd-radius-lg);
  overflow: hidden;
  background: var(--tvd-bg-surface-2) !important;
  border: 1px solid var(--tvd-border);
  box-shadow: var(--tvd-shadow-card);
  margin-bottom: 24px;
}

.tvd-visual-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.tvd-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(5, 8, 20, 0.94) !important;
  border-top: 1px solid var(--tvd-border-subtle);
  backdrop-filter: blur(8px);
}

.tvd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #f1f5f9 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  padding: 4px 10px;
  border-radius: var(--tvd-radius-full);
}

.tvd-chip i {
  color: #38bdf8 !important;
  font-size: 11px;
}

/* 4-Stat Metric Grid */
.tvd-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 640px) {
  .tvd-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.tvd-metric-item {
  background: #0d152e !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: var(--tvd-radius-md);
  padding: 14px 16px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

.tvd-metric-item strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.tvd-metric-item span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #38bdf8 !important;
  margin-top: 4px;
  display: block;
}

/* Hero Booking Console */
.tvd-booking-card {
  background: #0d152e !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: var(--tvd-radius-lg);
  padding: 26px 24px 24px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6) !important;
  position: relative;
  isolation: isolate;
}

.tvd-booking-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tvd-blue), #38bdf8, var(--tvd-amber));
  border-radius: var(--tvd-radius-lg) var(--tvd-radius-lg) 0 0;
}

.tvd-booking-card__head {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--tvd-border-subtle);
  padding-bottom: 12px;
}

.tvd-booking-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 4px;
}

.tvd-booking-card__subtitle {
  font-size: 0.84rem;
  color: #7dd3fc !important;
  margin: 0;
}

.tvd-dispatch__modes {
  display: flex;
  background: #131c3a !important;
  padding: 4px;
  border-radius: var(--tvd-radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.tvd-dispatch__mode-btn {
  flex: 1;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 13px;
  color: #cbd5e1 !important;
  padding: 8px 12px;
  border-radius: var(--tvd-radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tvd-dispatch__mode-btn.is-active {
  background: #1261f2 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(18, 97, 242, 0.45) !important;
}

.tvd-dispatch__mode-hint {
  font-size: 0.8rem;
  color: #7dd3fc !important;
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.32) !important;
  padding: 6px 12px;
  border-radius: var(--tvd-radius-sm);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.tvd-dispatch__mode-hint span {
  color: #7dd3fc !important;
}

.tvd-dispatch__alert {
  background: #fee2e2 !important;
  border: 1px solid #f87171 !important;
  color: #991b1b !important;
  padding: 8px 12px;
  border-radius: var(--tvd-radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

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

.tvd-form-group {
  min-width: 0;
}

.tvd-form-group--full {
  grid-column: 1 / -1;
}

.tvd-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f1f5f9 !important;
  margin-bottom: 5px;
}

.tvd-booking-card input[type="text"],
.tvd-booking-card input[type="tel"],
.tvd-booking-card input[type="time"],
.tvd-booking-card select,
.tvd-booking-card .form-control {
  width: 100%;
  height: 42px;
  padding: 7px 12px;
  background: #131c3a !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: var(--tvd-radius-sm);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s ease;
}

.tvd-booking-card input[type="text"]:focus,
.tvd-booking-card input[type="tel"]:focus,
.tvd-booking-card input[type="time"]:focus,
.tvd-booking-card select:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3) !important;
}

.tvd-booking-card input::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1;
}

.tvd-booking-card select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 13px !important;
  padding-right: 28px !important;
}

.tvd-booking-card select option,
.tvd-booking-card select optgroup {
  background: #0d152e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.tvd-time-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 6px;
}

.tvd-duration-display {
  font-size: 12.5px;
  font-weight: 700;
  color: #38bdf8 !important;
  text-align: center;
  margin: 6px 0 0;
  min-height: 18px;
}

.tvd-btn-submit {
  width: 100%;
  height: 48px;
  background: #1261f2 !important;
  border: none;
  border-radius: var(--tvd-radius-sm);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(18, 97, 242, 0.45) !important;
  transition: all 0.2s var(--tvd-ease);
  margin-top: 8px;
}

.tvd-btn-submit:hover {
  background: #0a46b8 !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(10, 70, 184, 0.6) !important;
}

.tvd-booking-trust {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16) !important;
  font-size: 0.76rem;
  color: #cbd5e1 !important;
  font-weight: 600;
}

.tvd-booking-trust span {
  color: #cbd5e1 !important;
}

.tvd-booking-trust i {
  color: #25d366 !important;
  margin-right: 3px;
}

/* ==========================================================================
   2. SPECIALIZED SERVICES GRID IN TRIVANDRUM
   ========================================================================== */
.tvd-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1024px) {
  .tvd-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .tvd-services-grid {
    grid-template-columns: 1fr;
  }
}

.tvd-service-card {
  background: #0c142b !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: var(--tvd-radius-md);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--tvd-ease);
  box-shadow: var(--tvd-shadow-card);
}

.tvd-service-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8 !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6) !important;
}

.tvd-service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--tvd-radius-sm);
  background: rgba(18, 97, 242, 0.2) !important;
  color: #38bdf8 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.tvd-service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: #ffffff !important;
}

.tvd-service-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #cbd5e1 !important;
  margin: 0 0 16px;
  flex-grow: 1;
}

.tvd-service-card__link {
  font-size: 0.86rem;
  font-weight: 700;
  color: #38bdf8 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tvd-service-card__link:hover {
  color: #7dd3fc !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   3. CURATED FLEET DIRECTORY (FILTERABLE)
   ========================================================================== */
.tvd-fleet-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.tvd-filter-btn {
  background: #0f1936 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #e2e8f0 !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: var(--tvd-radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tvd-filter-btn:hover {
  background: #1261f2 !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
}

.tvd-filter-btn.is-active {
  background: #1261f2 !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(18, 97, 242, 0.5) !important;
}

.tvd-fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 991px) {
  .tvd-fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .tvd-fleet-grid {
    grid-template-columns: 1fr;
  }
}

.tvd-car-card {
  background: #0b1227 !important;
  border: 1px solid rgba(56, 189, 248, 0.26) !important;
  border-radius: var(--tvd-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--tvd-ease);
  box-shadow: var(--tvd-shadow-card);
}

.tvd-car-card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8 !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(56, 189, 248, 0.25) !important;
}

.tvd-car-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #020409;
}

.tvd-car-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--tvd-ease);
}

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

.tvd-car-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(5, 8, 20, 0.94) !important;
  color: #38bdf8 !important;
  border: 1px solid #38bdf8 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--tvd-radius-full);
  backdrop-filter: blur(6px);
}

.tvd-car-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tvd-car-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 4px;
}

.tvd-car-card__category {
  font-size: 0.82rem;
  font-weight: 600;
  color: #38bdf8 !important;
  margin-bottom: 12px;
  display: block;
}

.tvd-car-card__desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #cbd5e1 !important;
  margin: 0 0 16px;
  flex-grow: 1;
}

.tvd-car-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tvd-car-spec {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0 !important;
  background: #121c3b !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 4px 8px;
  border-radius: var(--tvd-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tvd-car-spec i {
  color: #38bdf8 !important;
}

.tvd-car-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--tvd-border-subtle);
  padding-top: 14px;
  margin-top: auto;
}

.tvd-car-card__rate {
  font-size: 0.82rem;
  color: #94a3b8 !important;
}

.tvd-car-card__rate strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff !important;
}

.tvd-car-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tvd-btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--tvd-radius-full);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.tvd-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  background: transparent !important;
}

.tvd-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.tvd-btn-wa {
  background: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35) !important;
}

.tvd-btn-wa:hover {
  background: #1ebe5d !important;
  color: #ffffff !important;
}

/* ==========================================================================
   4. RENTAL TARIFF MATRIX TABLE
   ========================================================================== */
.tvd-rates-matrix {
  margin: 32px 0;
  background: #090e21 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: var(--tvd-radius-md);
  overflow-x: auto;
  box-shadow: var(--tvd-shadow-card);
  -webkit-overflow-scrolling: touch;
}

.tvd-rates-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  text-align: left;
  background: transparent !important;
}

.tvd-rates-table th {
  background: #040714 !important;
  color: #38bdf8 !important;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 14px 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(56, 189, 248, 0.35) !important;
}

.tvd-rates-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-size: 0.94rem;
  color: #e2e8f0 !important;
  vertical-align: middle;
  background: transparent !important;
}

.tvd-rates-table td strong {
  color: #ffffff !important;
}

.tvd-rates-table tr:hover td {
  background: rgba(18, 97, 242, 0.14) !important;
}

.tvd-rates-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--tvd-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

.tvd-rates-price {
  font-weight: 800 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   5. LOCAL TRIVANDRUM GEO & TRAVEL GUIDE
   ========================================================================== */
.tvd-geo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 991px) {
  .tvd-geo-grid {
    grid-template-columns: 1fr;
  }
}

.tvd-geo-card {
  background: #0c142b !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: var(--tvd-radius-md);
  padding: 26px 22px;
  box-shadow: var(--tvd-shadow-card);
}

.tvd-geo-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--tvd-radius-sm);
  background: rgba(18, 97, 242, 0.22) !important;
  color: #38bdf8 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.tvd-geo-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: #ffffff !important;
}

.tvd-geo-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1 !important;
  margin: 0;
}

/* Depots Grid (NAP Consistency) */
.tvd-depots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

@media (max-width: 768px) {
  .tvd-depots-grid {
    grid-template-columns: 1fr;
  }
}

.tvd-depot-item {
  background: #0c142b !important;
  border: 1px solid rgba(56, 189, 248, 0.26) !important;
  border-radius: var(--tvd-radius-sm);
  padding: 18px 20px;
}

.tvd-depot-item h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tvd-depot-item h4 i {
  color: #38bdf8 !important;
}

.tvd-depot-item p {
  font-size: 0.88rem;
  color: #cbd5e1 !important;
  margin: 0 0 6px;
}

.tvd-depot-item span {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #38bdf8 !important;
}

/* NRI Step Checklist */
.tvd-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 991px) {
  .tvd-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .tvd-steps-grid {
    grid-template-columns: 1fr;
  }
}

.tvd-step-item {
  background: #0c142b !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--tvd-radius-sm);
  padding: 18px;
}

.tvd-step-item strong {
  display: block;
  font-size: 1.4rem;
  color: #38bdf8 !important;
  margin-bottom: 6px;
}

.tvd-step-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 6px;
}

.tvd-step-item p {
  font-size: 0.86rem;
  color: #cbd5e1 !important;
  margin: 0;
}

/* ==========================================================================
   6. FAQ ACCORDION (ACCESSIBLE <DETAILS> / <SUMMARY>)
   ========================================================================== */
.tvd-faq-accordion {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tvd-faq-item {
  background: #0c142b !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: var(--tvd-radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.tvd-faq-item[open] {
  border-color: #38bdf8 !important;
  background: #0f1936 !important;
}

.tvd-faq-trigger {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  outline: none;
}

.tvd-faq-trigger::-webkit-details-marker {
  display: none;
}

.tvd-faq-trigger::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: #38bdf8 !important;
  transition: transform 0.2s ease;
}

.tvd-faq-item[open] .tvd-faq-trigger::after {
  content: "–";
}

.tvd-faq-body {
  padding: 0 22px 20px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #e2e8f0 !important;
}

.tvd-faq-body a {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   7. FINAL CALL-TO-ACTION SECTION
   ========================================================================== */
.tvd-cta-deck {
  background: radial-gradient(circle at 50% 50%, rgba(18, 97, 242, 0.3) 0%, transparent 65%),
              #0c142b !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: var(--tvd-radius-lg);
  padding: 50px 36px;
  text-align: center;
  box-shadow: var(--tvd-shadow-glass);
}

.tvd-cta-deck h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 14px;
  color: #ffffff !important;
}

.tvd-cta-deck p {
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 28px;
  color: #e2e8f0 !important;
}

.tvd-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.tvd-btn-primary {
  background: #1261f2 !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: var(--tvd-radius-full);
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(18, 97, 242, 0.45) !important;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tvd-btn-primary:hover {
  background: #0a46b8 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 70, 184, 0.6) !important;
}

.tvd-btn-amber {
  background: #ffcc00 !important;
  color: #080c37 !important;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: var(--tvd-radius-full);
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.35) !important;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tvd-btn-amber:hover {
  background: #ffe04d !important;
  color: #080c37 !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   8. MOBILE STICKY CONVERSION DOCK
   ========================================================================== */
.tvd-mobile-dock {
  display: none;
}

@media (max-width: 768px) {
  .tvd-mobile-dock {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(5, 8, 20, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    align-items: center;
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .tvd-mobile-dock.is-visible {
    transform: translateY(0);
  }
  .tvd-mobile-dock__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    border-radius: var(--tvd-radius-sm);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
    letter-spacing: 0.02em;
    transition: all 0.15s ease;
  }
  .tvd-mobile-dock__btn:active {
    transform: scale(0.97);
  }
  .tvd-mobile-dock__btn--wa {
    background: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
  }
  .tvd-mobile-dock__btn--call {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
  .tvd-mobile-dock__btn--book {
    background: #1261f2 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(18, 97, 242, 0.4) !important;
  }
  .tvd-page {
    padding-bottom: 60px;
  }
}

:focus-visible {
  outline: 3px solid #38bdf8 !important;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
