/* ==========================================================================
   A1 CAR RENTAL MYSORE SELF DRIVING - PREMIUM STYLESHEET
   ========================================================================== */

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

:root {
  --bg-dark: #090d16;
  --bg-card: #131b2e;
  --bg-card-hover: #1c2742;
  --bg-elevated: #1e293b;
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);
  --accent-green: #25d366; /* WhatsApp Green */
  --accent-green-hover: #128c7e;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-active: rgba(245, 158, 11, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 25px -5px rgba(245, 158, 11, 0.3);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-gold-glow);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin-bottom: 2.5rem;
}

.text-gold {
  color: var(--accent-gold-light);
}

.text-green {
  color: var(--accent-green);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  color: #0f172a;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(245, 158, 11, 0.45);
}

.btn-whatsapp {
  background: var(--accent-green);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(37, 211, 102, 0.55);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  background: rgba(245, 158, 11, 0.05);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* --- Top Header Info Strip --- */
.top-bar {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item i {
  color: var(--accent-gold);
}

/* --- Main Navigation Header --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: var(--shadow-gold);
}

.logo-text h1 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--accent-gold-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 3rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(9, 13, 22, 0.75) 0%, 
    rgba(9, 13, 22, 0.92) 70%, 
    var(--bg-dark) 100%);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h2 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.hero-badge-item i {
  color: var(--accent-gold);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Hero Search Card --- */
.search-card {
  background: rgba(19, 27, 46, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-main);
}

.search-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-control {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* --- Features / Stats Counter --- */
.features-strip {
  padding: 3rem 0;
  background: var(--bg-card);
  border-y: 1px solid var(--border-color);
}

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

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.25rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  background: rgba(30, 41, 59, 0.8);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

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

/* --- Fleet Section --- */
.fleet-section {
  padding: 5rem 0;
}

.fleet-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-gold);
  color: #0f172a;
  border-color: var(--accent-gold);
  font-weight: 700;
}

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

.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.car-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.car-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
}

.car-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.car-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-gold);
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.car-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.car-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.car-title {
  font-size: 1.35rem;
}

.car-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.car-price-tag {
  text-align: right;
}

.car-price-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  font-family: var(--font-heading);
}

.car-price-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.car-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.spec-item i {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.spec-item span {
  color: var(--text-main);
  font-weight: 600;
}

.car-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.car-features-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.car-features-list li i {
  color: var(--accent-green);
  font-size: 0.8rem;
}

.car-footer {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
}

.car-footer .btn {
  flex: 1;
}

/* --- Interactive Calculator Section --- */
.calculator-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-main);
}

.calc-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-summary-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.calc-total-row {
  border-top: 1px dashed var(--border-color);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-gold-light);
}

/* --- Destinations Section --- */
.destinations-section {
  padding: 5rem 0;
}

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

.destination-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.destination-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.dest-badge {
  font-size: 0.75rem;
  background: var(--accent-gold-glow);
  color: var(--accent-gold-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.destination-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.destination-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.dest-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

/* --- Location & Contact Section --- */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-card);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-dark);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.contact-card i {
  font-size: 1.5rem;
  color: var(--accent-gold);
  background: var(--accent-gold-glow);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
}

.map-box {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- FAQs Accordion --- */
.faq-section {
  padding: 5rem 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-header {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-header:hover {
  color: var(--accent-gold-light);
}

.faq-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
  border-top: 1px solid var(--border-color);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.faq-item.active .faq-body {
  display: block;
}

.faq-item.active .faq-header i {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

/* --- Floating Quick Support Buttons --- */
.floating-support-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  animation: pulseGreen 2s infinite;
}

.floating-support-btn:hover {
  transform: scale(1.05);
  background: #20ba5a;
}

.floating-call-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: var(--accent-gold);
  color: #0f172a;
  border-radius: 50%;
  font-size: 1.4rem;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  cursor: pointer;
}

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

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* --- Live Chat Modal / Support Box --- */
.support-widget-box {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 350px;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.support-widget-box.show {
  display: flex;
}

.support-widget-header {
  background: var(--accent-gold);
  color: #0f172a;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.support-widget-header h4 {
  font-size: 1.05rem;
  color: #0f172a;
}

.support-widget-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-chat-msg {
  background: var(--bg-dark);
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  background: rgba(9, 13, 22, 0.98);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a:hover {
  color: var(--accent-gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Media Queries --- */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-text h2 {
    font-size: 2.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-support-btn span {
    display: none;
  }
  .floating-support-btn {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

/* --- Car Photo Thumbnails Gallery --- */
.car-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid var(--border-color);
  overflow-x: auto;
}

.car-thumb {
  width: 54px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.car-thumb:hover, .car-thumb.active {
  opacity: 1;
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

.featured-card {
  border: 2px solid rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

/* --- Vehicle Modal Styling --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  padding: 30px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: #ef4444;
}

.modal-vehicle-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

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

.modal-main-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.modal-thumbs-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.modal-thumb {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
}

.modal-thumb.active, .modal-thumb:hover {
  opacity: 1;
  border-color: var(--accent-gold);
}

.modal-badge {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 8px;
}

.modal-tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.modal-price-box {
  background: rgba(15, 23, 42, 0.7);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-gold);
  margin-bottom: 16px;
}

.modal-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-gold-light);
}

.modal-deposit-info {
  font-size: 0.85rem;
  color: #34d399;
  margin-top: 2px;
}

.modal-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.modal-features-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* --- Support Chat Widget Bubbles --- */
.support-widget-box {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 350px;
  max-width: 90vw;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9998;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.support-widget-box.show {
  display: flex;
}

.support-widget-header {
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  padding: 12px 16px;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.support-chat-body {
  padding: 14px;
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #0b1120;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: 88%;
}

.chat-bubble-bot {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-bottom-left-radius: 2px;
  align-self: flex-start;
  border: 1px solid var(--border-color);
}

.chat-bubble-user {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-bottom-right-radius: 2px;
  align-self: flex-end;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

.quick-chip {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.2s;
}

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

.chat-input-row {
  display: flex;
  border-top: 1px solid var(--border-color);
  background: var(--bg-dark);
}

.chat-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.chat-input-row button {
  background: var(--accent-gold);
  color: #000;
  border: none;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 700;
}

/* --- Customer Review System Styles --- */
.reviews-section {
  padding: 5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.reviews-stats-bar {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.rating-score-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.score-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-gold-light);
  font-family: var(--font-heading);
}

.score-stars i {
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.review-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.review-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-main);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.reviewer-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.review-date {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.review-vehicle-tag {
  display: inline-block;
  font-size: 0.75rem;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
}

.review-verified {
  font-size: 0.75rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.8rem;
  font-weight: 600;
}

/* Star Rating Selector in Review Form */
.star-rating-selector {
  display: flex;
  gap: 8px;
  font-size: 1.8rem;
  color: #475569;
  cursor: pointer;
  margin: 0.5rem 0;
}

.star-rating-selector i {
  transition: color 0.2s ease;
}

.star-rating-selector i.active,
.star-rating-selector i.hovered {
  color: var(--accent-gold);
}


