/* ==========================================================================
   JAI MAA MOTORS — Master Dealership Stylesheet
   Theme: Default LIGHT Mode with Full DARK Mode Toggle
   Design: Premium, Automotive, Trustworthy, Corporate, Clean, High-Conversion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Theme System & Color Palette)
   -------------------------------------------------------------------------- */
:root {
  /* Exact User-Specified Colors */
  --primary: #C62828;
  --primary-dark: #8E1B1B;
  --primary-light: #E53935;
  --accent: #D4A017;
  --main-dark: #111111;
  --secondary-dark: #1C1C1C;
  --light-bg: #F8F9FA;
  --white: #FFFFFF;
  --text-dark: #212529;
  --text-muted: #6C757D;
  --border: #E5E5E5;
  --success: #198754;
  --whatsapp: #25D366;

  /* Default LIGHT Mode Token Mappings */
  --bg: #F8F9FA;
  --card: #FFFFFF;
  --text: #212529;
  --muted: #6C757D;
  --navbar: #FFFFFF;
  --border-color: #E5E5E5;

  /* Compatibility & Utility Aliases */
  --jmm-primary: var(--primary);
  --jmm-primary-hover: var(--primary-dark);
  --jmm-primary-light: var(--primary-light);
  --jmm-primary-soft: rgba(198, 40, 40, 0.08);
  --jmm-primary-border: rgba(198, 40, 40, 0.22);
  --jmm-accent-amber: var(--accent);
  --jmm-accent-amber-soft: rgba(212, 160, 23, 0.12);
  --jmm-accent-green: var(--whatsapp);
  --jmm-bg: var(--bg);
  --jmm-bg-surface: var(--card);
  --jmm-bg-elevated: #F1F3F5;
  --jmm-card-bg: var(--card);
  --jmm-text: var(--text);
  --jmm-text-muted: var(--muted);
  --jmm-card-border: var(--border-color);
  --jmm-navbar-bg: var(--navbar);
  --jmm-navbar-border: var(--border-color);
  --jmm-footer-bg: var(--main-dark);

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-service: 14px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* DARK Mode Override Tokens (data-bs-theme="dark") */
[data-bs-theme="dark"] {
  --bg: #0F1115;
  --card: #181B21;
  --text: #F5F5F5;
  --navbar: #111318;
  --border-color: #2B2F36;
  --border: #2B2F36;
  --muted: #9CA3AF;

  --jmm-bg: var(--bg);
  --jmm-bg-surface: var(--card);
  --jmm-bg-elevated: #20242D;
  --jmm-card-bg: var(--card);
  --jmm-text: var(--text);
  --jmm-text-muted: var(--muted);
  --jmm-card-border: var(--border-color);
  --jmm-navbar-bg: var(--navbar);
  --jmm-navbar-border: var(--border-color);
  --jmm-footer-bg: #0A0C0F;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   2. Base & Typography
   -------------------------------------------------------------------------- */
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  scroll-behavior: smooth;
  padding-top: 74px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

@media (min-width: 992px) {
  body {
    padding-top: 130px;
  }
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   3. Dealership Header (Top Utility Bar + Sticky Navbar)
   -------------------------------------------------------------------------- */
.dealership-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  transition: all 0.3s ease;
}

/* Pre-Header Top Bar */
.dealership-top-bar {
  background-color: #0c0e12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  padding: 0.4rem 0;
  color: #D1D5DB;
  line-height: 1.3;
}

.dealership-top-bar a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dealership-top-bar a:hover {
  color: var(--primary-light);
}

.status-dot-live {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseLiveGreen 1.8s infinite;
  margin-right: 4px;
  vertical-align: middle;
}

@keyframes pulseLiveGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.top-bar-divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.16);
  margin: 0 0.65rem;
  vertical-align: middle;
}

.top-bar-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #E5E7EB;
}

/* Main Navbar */
.navbar-dealership {
  background: var(--navbar) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  padding: 0.55rem 0;
}

[data-bs-theme="dark"] .navbar-dealership {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid #232730;
}

.navbar-brand {
  text-decoration: none !important;
  transition: transform 0.2s ease;
}
.navbar-brand:hover {
  transform: translateY(-1px);
}

.navbar-logo-badge {
  height: 86px;
  width: 86px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 4px 14px rgba(212, 160, 23, 0.5));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.navbar-brand:hover .navbar-logo-badge {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 20px rgba(212, 160, 23, 0.8));
}

.brand-text-logo {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.28rem;
  color: var(--text);
  line-height: 1.1;
  text-transform: uppercase;
}
.brand-text-logo span.brand-red {
  color: var(--primary);
}
.brand-subtext {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.90rem;
  color: var(--muted) !important;
  padding: 0.45rem 0.72rem !important;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover, 
.nav-link.active {
  color: var(--primary) !important;
  background-color: var(--jmm-primary-soft);
}

/* Dropdown styling */
.navbar-dealership .dropdown-menu {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
  padding: 0.5rem;
  min-width: 290px;
  margin-top: 0.5rem;
  animation: navDropdownFade 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-bs-theme="dark"] .navbar-dealership .dropdown-menu {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  border-color: #2D333F;
}

@keyframes navDropdownFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item-custom {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--text) !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-item-custom:hover {
  background-color: var(--jmm-primary-soft);
  color: var(--primary) !important;
  transform: translateX(3px);
}

.dropdown-item-custom.active {
  background-color: var(--jmm-primary-soft);
  color: var(--primary) !important;
  font-weight: 600;
}

.dropdown-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--jmm-bg-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.dropdown-item-custom:hover .dropdown-item-icon {
  background: var(--primary);
  color: #FFFFFF;
}

.dropdown-item-title {
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-item-desc {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}

.badge-nav-tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--jmm-bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-toggle-btn:hover {
  background: var(--jmm-primary-soft);
  color: var(--primary);
}

/* Navbar Action Buttons */
.btn-nav-call {
  background-color: var(--jmm-primary-soft);
  color: var(--primary);
  border: 1px solid var(--jmm-primary-border);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}
.btn-nav-call:hover {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-nav-quote {
  background-color: var(--primary);
  color: #FFFFFF;
  border: 1px solid var(--primary);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.25);
}
.btn-nav-quote:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(198, 40, 40, 0.35);
}

/* --------------------------------------------------------------------------
   4. Buttons System
   -------------------------------------------------------------------------- */
.btn-primary-jmm,
.btn-primary-red {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF !important;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.4rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.btn-primary-jmm:hover,
.btn-primary-red:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(198, 40, 40, 0.35);
}

.btn-secondary-white {
  background-color: #FFFFFF;
  border: 1px solid #E5E5E5;
  color: var(--text-dark) !important;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.4rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.btn-secondary-white:hover {
  background-color: #F1F3F5;
  color: var(--text-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp-jmm {
  background-color: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #FFFFFF !important;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
}
.btn-whatsapp-jmm:hover {
  background-color: #20bd5a;
  border-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-outline-jmm {
  background-color: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.4rem;
  transition: all 0.25s ease;
}
.btn-outline-jmm:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. Hero Section & Universal Inner Page Banners
   -------------------------------------------------------------------------- */
.hero-automotive {
  position: relative;
  background-color: #0c0e14;
  color: #FFFFFF;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
}
.hero-automotive-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/banner-dealership.jpg') !important;
  background-size: cover;
  background-position: center 35%;
  opacity: 0.52;
  filter: brightness(0.92) contrast(1.05);
  pointer-events: none;
}
.hero-overlay-subtle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(12, 14, 20, 0.94) 0%, rgba(12, 14, 20, 0.82) 48%, rgba(12, 14, 20, 0.42) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.badge-trust-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.hero-highlight {
  color: var(--primary-light);
  display: block;
  font-weight: 800;
}

/* Universal Page Banner Header for All Inner Pages */
.hero-page-header {
  position: relative;
  background-color: #080a0f;
  color: #FFFFFF;
  padding: 5rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/banner-dealership.jpg');
  background-size: cover;
  background-position: center 35%;
  opacity: 0.50;
  filter: brightness(0.92) contrast(1.05);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.hero-page-header.banner-leasing::before {
  background-image: url('../images/banner-leasing.jpg');
  opacity: 0.50;
  background-position: center 30%;
}
.hero-page-header.banner-exchange::before {
  background-image: url('../images/car-exchange-hero.jpg');
  opacity: 0.50;
  background-position: center 35%;
}
.hero-page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 15, 0.94) 0%, rgba(8, 10, 15, 0.82) 50%, rgba(8, 10, 15, 0.55) 100%);
  pointer-events: none;
}
.hero-page-header .container {
  position: relative;
  z-index: 2;
}
.hero-page-header h1,
.hero-page-header h2 {
  color: #FFFFFF !important;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}
.hero-page-header p,
.hero-page-header .lead {
  color: #E2E8F0 !important;
}
.hero-page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0.85rem;
}
.hero-page-header .breadcrumb-item a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}
.hero-page-header .breadcrumb-item a:hover {
  color: #FFFFFF;
}
.hero-page-header .breadcrumb-item.active {
  color: var(--accent);
  font-size: 0.88rem;
}
.hero-page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}
.hero-page-header .badge-banner-category {
  display: inline-block;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

/* --------------------------------------------------------------------------
   6. Quick Services Section (6 Cards with 14px radius & Red Icons)
   -------------------------------------------------------------------------- */
.service-card {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-service);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(198, 40, 40, 0.3);
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: rgba(198, 40, 40, 0.08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}
.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: #FFFFFF;
}

.service-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s ease;
}
.service-card:hover .service-link {
  gap: 0.6rem;
}

/* --------------------------------------------------------------------------
   7. About / Trust Section
   -------------------------------------------------------------------------- */
.badge-red-subtle {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background-color: rgba(198, 40, 40, 0.1);
  border: 1px solid rgba(198, 40, 40, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.trust-check-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.trust-check-icon {
  color: var(--success);
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   8. Brand Cards Section
   -------------------------------------------------------------------------- */
.brand-card {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.brand-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.brand-card:hover::after {
  transform: scaleX(1);
}

.brand-card-logo-wrap {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.brand-card-logo-img {
  max-height: 38px;
  max-width: 130px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.brand-card:hover .brand-card-logo-img {
  transform: scale(1.08);
}
[data-bs-theme="dark"] .brand-card-logo-img {
  filter: brightness(1.2) contrast(1.1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.12));
}

/* --------------------------------------------------------------------------
   9. Certified Pre-Owned Section (#111111 Dark)
   -------------------------------------------------------------------------- */
.section-preowned-dark {
  background-color: var(--main-dark);
  color: #FFFFFF;
  padding: 5rem 0;
}
.section-preowned-dark h2,
.section-preowned-dark h3,
.section-preowned-dark h4 {
  color: #FFFFFF;
}
.inspection-badge-card {
  background-color: var(--secondary-dark);
  border: 1px solid #2B2F36;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.inspection-badge-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}
.inspection-icon {
  font-size: 1.75rem;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   10. Car Leasing Section
   -------------------------------------------------------------------------- */
.leasing-feature-card {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.25s ease;
}
.leasing-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   11. Car Exchange Section (3 Steps)
   -------------------------------------------------------------------------- */
.step-num-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  background-color: rgba(198, 40, 40, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   12. Finance & Insurance (2 Large Cards)
   -------------------------------------------------------------------------- */
.finance-large-card {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.finance-large-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(198, 40, 40, 0.3);
}

/* --------------------------------------------------------------------------
   13. Trust Stats Section (#111111 Dark, #D4A017 Numbers)
   -------------------------------------------------------------------------- */
.section-trust-stats {
  background-color: var(--main-dark);
  color: #FFFFFF;
  padding: 3.5rem 0;
  border-top: 1px solid #2B2F36;
  border-bottom: 1px solid #2B2F36;
}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.stat-label {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   14. How It Works (4 Connected Steps)
   -------------------------------------------------------------------------- */
.how-it-works-row {
  position: relative;
}
.how-it-works-line {
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}
.how-step-card {
  position: relative;
  z-index: 2;
  background-color: var(--bg);
  padding: 0.5rem;
  text-align: center;
}
.how-step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--card);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.how-step-card:hover .how-step-circle {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   15. CTA Red Banner (#C62828)
   -------------------------------------------------------------------------- */
.section-cta-red {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.section-cta-red h2, 
.section-cta-red p {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   16. Contact Mini Section
   -------------------------------------------------------------------------- */
.contact-mini-info-box {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
}
.map-iframe-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-height: 280px;
  background-color: var(--jmm-bg-elevated);
}

/* --------------------------------------------------------------------------
   17. Luxury Dealership Footer (#0A0C10 Dark Automotive Palette)
   -------------------------------------------------------------------------- */
.footer-dealership {
  background-color: #0A0C10;
  color: #94A3B8;
  border-top: 3px solid var(--primary);
  padding: 0 0 2rem;
  position: relative;
}

/* Full-width Pre-Footer Consultation Strip */
.footer-cta-strip {
  background: linear-gradient(135deg, #131722 0%, #0F1219 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0;
  margin-bottom: 3.5rem;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-col-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background-color: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.55rem;
}
.footer-links a {
  color: #94A3B8;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.badge-trust-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: #94A3B8;
}
.footer-contact-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 2.75rem;
  font-size: 0.82rem;
  color: #64748B;
}
.footer-bottom-bar a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-bar a:hover {
  color: #E2E8F0;
}

/* --------------------------------------------------------------------------
   18. Floating WhatsApp & Fixed Mobile Bottom Action Bar
   -------------------------------------------------------------------------- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1050;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.06);
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

/* Mobile Fixed Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--navbar);
  border-top: 1px solid var(--border-color);
  padding: 0.6rem 0.75rem;
  z-index: 1040;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}
.mobile-bottom-bar .btn {
  font-size: 0.82rem;
  padding: 0.55rem 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   19. General Cards, Modals & Utility
   -------------------------------------------------------------------------- */
.jmm-card {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.jmm-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(198, 40, 40, 0.3);
  transform: translateY(-3px);
}

.car-card-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  background-color: var(--jmm-bg-elevated);
}
.car-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.jmm-card:hover .car-card-img {
  transform: scale(1.04);
}

.form-control-jmm,
.form-select-jmm {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.form-control-jmm:focus,
.form-select-jmm:focus {
  background-color: var(--card);
  border-color: var(--primary);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15);
}

.modal-content-jmm {
  background-color: var(--card);
  color: var(--text);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   19B. About Page Specialized Components
   -------------------------------------------------------------------------- */
.about-approach-card {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.about-approach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(198, 40, 40, 0.35);
}

.pillar-card {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2.25rem 1.75rem;
  height: 100%;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(198, 40, 40, 0.4);
}
.pillar-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}
.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: rgba(198, 40, 40, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.leadership-box {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease;
}
.leadership-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(198, 40, 40, 0.15) 0%, rgba(212, 160, 23, 0.18) 100%);
  border: 2px solid rgba(198, 40, 40, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2.75rem;
  margin: 0 auto 1.25rem;
}

.ncr-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 50px;
  background-color: var(--card);
  border: 1px solid var(--border-color);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.ncr-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ncr-chip i {
  color: var(--primary);
}

.section-dark-commitment {
  background-color: #111111;
  color: #FFFFFF;
}
.section-dark-commitment h2,
.section-dark-commitment h3,
.section-dark-commitment h4,
.section-dark-commitment strong {
  color: #FFFFFF;
}
.section-dark-commitment p {
  color: #CBD5E1;
}

.section-cta-red {
  background: linear-gradient(135deg, #C62828 0%, #A51D1D 100%);
  color: #FFFFFF;
}
.section-cta-red h2,
.section-cta-red h3,
.section-cta-red p {
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   19C. Minimal Luxury Automotive Components (New Cars)
   -------------------------------------------------------------------------- */
.minimal-brand-block {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  height: 100%;
}
.minimal-brand-block:hover {
  border-color: rgba(198, 40, 40, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  color: var(--text);
}
.minimal-brand-block .brand-link-arrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.85rem;
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.minimal-brand-block:hover .brand-link-arrow {
  transform: translateX(4px);
}

.minimal-feature-item {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
}

.minimal-why-item {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.minimal-why-item:hover {
  border-color: rgba(198, 40, 40, 0.35);
  transform: translateY(-2px);
}

.compact-contact-strip {
  background-color: var(--card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

/* --------------------------------------------------------------------------
   20. Complete Responsive Media Queries & Mobile Polish
   -------------------------------------------------------------------------- */

/* Global Mobile Safety */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Tablets & Small Desktops (<= 991.98px) */
@media (max-width: 991.98px) {
  body {
    padding-top: 92px;
  }
  .navbar-logo-badge {
    height: 70px;
    width: 70px;
  }
}

/* Mobile Devices (<= 767.98px) */
@media (max-width: 767.98px) {
  body {
    padding-bottom: 74px; /* Space for mobile sticky bottom bar */
  }
  .mobile-bottom-bar {
    display: flex !important;
    gap: 0.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .floating-whatsapp-btn {
    bottom: 84px !important; /* Safe elevation above bottom bar */
    right: 14px !important;
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
  }
  .how-it-works-line {
    display: none !important;
  }
  .hero-automotive {
    padding: 2.75rem 0 2.25rem !important;
  }
  
  /* Fluid Typography on Mobile */
  h1, .display-3, .display-4 {
    font-size: clamp(1.85rem, 6vw, 2.5rem) !important;
    line-height: 1.22 !important;
  }
  h2, .display-5 {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    line-height: 1.25 !important;
  }
  h3, .display-6 {
    font-size: clamp(1.3rem, 4.2vw, 1.65rem) !important;
    line-height: 1.3 !important;
  }
  
  /* Forms on Mobile - Prevents iOS Safari input auto-zoom */
  input, select, textarea, .form-control, .form-select {
    font-size: 16px !important;
    min-height: 44px;
  }

  /* Tables horizontal touch scrolling */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
  }

  /* Card padding polish */
  .jmm-card, .fleet-card, .exchange-step-card, .doc-check-card {
    border-radius: var(--radius-md) !important;
  }
}

/* Small Smart Phones (<= 575.98px) */
@media (max-width: 575.98px) {
  body {
    padding-top: 84px;
  }
  .dealership-top-bar {
    display: none !important; /* Maximum screen space for mobile */
  }
  .navbar-dealership {
    padding: 0.35rem 0;
  }
  .navbar-dealership .container-fluid {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .navbar-logo-badge {
    height: 60px;
    width: 60px;
  }
  
  .theme-toggle-btn {
    width: 36px;
    height: 36px;
  }
  .navbar-toggler {
    padding: 0.25rem 0.4rem;
  }

  /* Offcanvas Menu Drawer */
  .offcanvas-dealership {
    width: min(320px, 86vw) !important;
  }

  /* Mobile Grid gutters & padding */
  .container, .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hero button stacks */
  .hero-btn-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .hero-btn-group .btn {
    width: 100%;
  }
}

/* Extra Small Devices (<= 380px e.g. iPhone SE) */
@media (max-width: 380px) {
  .navbar-logo-badge {
    height: 52px;
    width: 52px;
  }
  .mobile-bottom-bar .btn {
    font-size: 0.72rem;
    padding: 0.45rem 0.25rem;
  }
}

/* --------------------------------------------------------------------------
   21. Modal Styles & Theme Support
   -------------------------------------------------------------------------- */
.modal-content-jmm {
  background-color: var(--card);
  color: var(--text);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

[data-bs-theme="dark"] .modal-content-jmm {
  background-color: #1a1a1a;
  color: #f1f1f1;
  border-color: #2e2e2e;
}

[data-bs-theme="dark"] .modal-content-jmm .modal-header,
[data-bs-theme="dark"] .modal-content-jmm .modal-footer {
  border-color: #2e2e2e !important;
  background-color: #161616 !important;
}

[data-bs-theme="dark"] .modal-content-jmm .input-group-text {
  background-color: #252525;
  border-color: #333333;
  color: #adb5bd;
}

[data-bs-theme="dark"] .modal-content-jmm .form-control,
[data-bs-theme="dark"] .modal-content-jmm .form-select {
  background-color: #202020;
  border-color: #333333;
  color: #f1f1f1;
}

[data-bs-theme="dark"] .modal-content-jmm .form-control:focus,
[data-bs-theme="dark"] .modal-content-jmm .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(198, 40, 40, 0.25);
}

[data-bs-theme="dark"] .modal-content-jmm .alert-light {
  background-color: #222222 !important;
  border-color: #333333 !important;
  color: #f1f1f1 !important;
}

/* --------------------------------------------------------------------------
   22. Car Exchange & Valuation Custom Components
   -------------------------------------------------------------------------- */
.exchange-step-card {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  position: relative;
}
.exchange-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.exchange-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(198, 40, 40, 0.35);
}
.doc-check-card {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.25s ease;
  height: 100%;
}
.doc-check-card:hover {
  border-color: var(--primary);
  background-color: var(--jmm-bg-elevated);
  transform: translateY(-2px);
}
.comparison-table-wrap {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--card);
}
.comparison-table {
  margin-bottom: 0;
}
.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  vertical-align: middle;
}
.comparison-table th {
  background-color: var(--jmm-bg-elevated);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
[data-bs-theme="dark"] .comparison-table th {
  background-color: #1a1a1a;
  border-color: #2e2e2e;
}
[data-bs-theme="dark"] .comparison-table td {
  border-color: #2e2e2e;
}

/* ==========================================================================
   MODERN UI & PROFESSIONAL ENHANCEMENTS (All Pages)
   ========================================================================== */

/* Modern Card Hover Lift with Smooth Spring Transition */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease !important;
}
.hover-lift:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(198, 40, 40, 0.35) !important;
}
[data-bs-theme="dark"] .hover-lift:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55) !important;
  border-color: rgba(229, 57, 53, 0.45) !important;
}

/* Smooth Fleet Image Zoom */
.fleet-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  border-color: rgba(198, 40, 40, 0.3) !important;
}
.fleet-card-img-wrap {
  overflow: hidden;
  position: relative;
}
.fleet-car-img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.fleet-card:hover .fleet-car-img {
  transform: scale(1.07);
}

/* Interactive Modern Estimator Slider */
.form-range-jmm {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 6px;
  outline: none;
  transition: background 0.2s ease;
}
[data-bs-theme="dark"] .form-range-jmm {
  background: #2d3748;
}
.form-range-jmm::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  cursor: pointer;
  box-shadow: 0 0 12px rgba(198, 40, 40, 0.5), 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease;
}
.form-range-jmm::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.form-range-jmm::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  cursor: pointer;
  box-shadow: 0 0 12px rgba(198, 40, 40, 0.5), 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 2px solid #ffffff;
}

/* Form Controls Focus Glow */
.form-control-jmm:focus,
.form-select-jmm:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.14) !important;
  outline: none !important;
}

/* Modern Glass Tag */
.glass-tag {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
[data-bs-theme="dark"] .glass-tag {
  background: rgba(24, 27, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Stat Gradient Typography */
.stat-gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #ff5252 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

/* Amber Soft Badge for RTO & Special tags */
.badge-amber-soft {
  background-color: rgba(212, 160, 23, 0.15);
  color: #b45309;
  border: 1px solid rgba(212, 160, 23, 0.3);
}
[data-bs-theme="dark"] .badge-amber-soft {
  background-color: rgba(212, 160, 23, 0.22);
  color: #fbbf24;
}

/* Green Checkmark Bullets */
.check-bullet-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background-color: rgba(25, 135, 84, 0.12);
  color: #198754;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 0 8px rgba(25, 135, 84, 0.15);
}

