/* ==========================================================================
   JAIN CAR BAZAAR - MODERN AUTOMOTIVE PLATFORM STYLESHEET
   Signature Colors: Vibrant Royal Blue / Electric Indigo (#3720e5, #4f35f8)
   Typography: "Inter", sans-serif
   ========================================================================== */

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

:root {
  --bs-body-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bs-font-sans-serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --primary-blue: #3b22ec;
  --primary-blue-dark: #2714be;
  --primary-blue-light: #523cf8;
  --primary-gradient: linear-gradient(135deg, #3720e5 0%, #4f35f8 55%, #6952fc 100%);
  --hero-gradient: linear-gradient(135deg, #321bdc 0%, #462ef5 45%, #634bfb 100%);
  --dark-text: #0f172a;
  --muted-text: #64748b;
  --light-bg: #f8fafc;
  --card-border: rgba(226, 232, 240, 0.85);
  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --hover-shadow: 0 20px 30px -10px rgba(59, 34, 236, 0.15), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  --accent-orange: #ff5722;
  --accent-green: #10b981;
  --accent-gold: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body, button, input, select, textarea, optgroup, .btn, .form-control, .form-select, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

body {
  color: var(--dark-text);
  background-color: #fbfcfe;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

section[id] {
  scroll-margin-top: 105px;
}

/* ==========================================================================
   TOP BAR & MAIN NAVIGATION
   ========================================================================== */

.top-utility-bar {
  background-color: #2714be;
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-utility-bar a {
  color: #cbd5e1;
}

.top-utility-bar a:hover {
  color: #ffffff;
}

.main-navbar-wrapper {
  background: var(--primary-gradient);
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 4px 20px rgba(47, 24, 185, 0.25);
}

.brand-logo-text {
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  background: #ffffff;
  color: var(--primary-blue);
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.95rem;
}

/* Universal Search in Header & Autosuggestion */
.search-header-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  flex: 1 1 auto;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-header-input {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  padding: 10px 44px 10px 46px;
  font-size: 0.95rem;
  color: var(--dark-text);
  width: 100%;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-header-input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
  background: #ffffff;
}

.search-header-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.05rem;
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
  z-index: 3;
}

.search-clear-btn:hover {
  color: #1e293b;
  transform: translateY(-50%) scale(1.1);
}

/* ==========================================================================
   AUTOSUGGESTION DROPDOWN STYLES (MATCHES REFERENCE SCREENSHOTS)
   ========================================================================== */
.search-suggest-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 16px 45px -4px rgba(0, 0, 0, 0.16), 0 4px 14px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 22px 24px 24px 24px;
  z-index: 1090;
  animation: searchSuggestPop 0.18s ease-out;
}

@keyframes searchSuggestPop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-suggest-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  letter-spacing: -0.2px;
}

/* View 1: Trending Searches Chips */
.search-trending-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 8px;
}

.search-trending-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  user-select: none;
}

.search-trending-chip .trending-icon {
  color: #64748b;
  transition: color 0.18s ease;
  flex-shrink: 0;
}

.search-trending-chip:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.search-trending-chip:hover .trending-icon {
  color: #2563eb;
}

/* View 2: Suggestions List */
.search-suggest-list {
  display: flex;
  flex-direction: column;
}

.search-suggest-item {
  display: flex;
  align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease, padding-left 0.15s ease;
  border-radius: 8px;
}

.search-suggest-item:last-child {
  border-bottom: none;
}

.search-suggest-item:hover,
.search-suggest-item.active {
  background-color: #f8fafc;
  padding-left: 8px;
}

.suggest-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #334155;
  font-size: 1rem;
  margin-right: 14px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.search-suggest-item:hover .suggest-icon-badge,
.search-suggest-item.active .suggest-icon-badge {
  background-color: #e0e7ff;
  color: #3b22ec;
}

.suggest-item-text {
  color: #1e293b;
  font-size: 0.93rem;
  font-weight: 500;
  flex-grow: 1;
  text-align: left;
  line-height: 1.35;
}

.search-suggest-item:hover .suggest-item-text,
.search-suggest-item.active .suggest-item-text {
  color: #3b22ec;
}

.suggest-item-chevron {
  color: #94a3b8;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-left: 10px;
  margin-right: 6px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.search-suggest-item:hover .suggest-item-chevron,
.search-suggest-item.active .suggest-item-chevron {
  color: #3b22ec;
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .search-suggest-dropdown {
    padding: 16px 14px 18px 14px;
    border-radius: 18px;
  }
  .search-trending-chip {
    padding: 6px 12px;
    font-size: 0.84rem;
  }
  .suggest-icon-badge {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
    margin-right: 10px;
  }
  .suggest-item-text {
    font-size: 0.86rem;
  }
}

.btn-header-action {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-header-action:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-header-login {
  background: #ffffff;
  color: var(--primary-blue);
  border: none;
  padding: 8px 22px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-header-login:hover {
  background: #f1f5f9;
  color: var(--primary-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Circular Hamburger Menu Toggle Button (Matches Screenshot 2) */
.btn-menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.28);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}

.btn-menu-toggle:hover {
  background: rgba(15, 23, 42, 0.45);
  color: #ffffff;
  transform: scale(1.05);
}

@media (min-width: 992px) {
  .btn-menu-toggle {
    display: none !important;
  }
}

/* Offcanvas Sidebar Drawer (Matches Screenshot 1) */
.sidebar-offcanvas {
  width: 380px !important;
  max-width: 90vw;
  border-left: 1px solid #e2e8f0;
  box-shadow: -15px 0 35px rgba(15, 23, 42, 0.15);
}

.sidebar-offcanvas .offcanvas-header {
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-offcanvas .offcanvas-body {
  padding: 20px 24px;
  overflow-y: auto;
}

/* Drawer Login Banner */
.drawer-login-card {
  background: var(--primary-gradient);
  border-radius: 18px;
  padding: 18px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 10px 22px rgba(59, 34, 236, 0.25);
  margin-bottom: 24px;
}

.drawer-login-title {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
}

.drawer-login-sub {
  font-size: 0.76rem;
  opacity: 0.9;
  line-height: 1.3;
}

.btn-drawer-login {
  background: #ffffff;
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 9999px;
  border: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.btn-drawer-login:hover {
  background: #f8fafc;
  color: var(--primary-blue-dark);
  transform: translateY(-1px);
}

/* Drawer Section Headings */
.drawer-section-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

/* Drawer Navigation Items */
.drawer-nav-group {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-nav-item {
  border-bottom: 1px solid #f1f5f9;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  font-weight: 700;
  font-size: 0.94rem;
  color: #1e293b;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.drawer-nav-link:hover {
  color: var(--primary-blue);
}

.drawer-link-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.drawer-link-icon {
  font-size: 1.25rem;
  color: #1e293b;
  width: 24px;
  text-align: center;
}

.drawer-nav-link:hover .drawer-link-icon {
  color: var(--primary-blue);
}

.drawer-chevron {
  font-size: 0.82rem;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.drawer-nav-link[aria-expanded="true"] .drawer-chevron {
  transform: rotate(180deg);
  color: var(--primary-blue);
}

.drawer-submenu {
  list-style: none;
  padding: 0 0 10px 38px;
  margin: 0;
}

.drawer-submenu li {
  margin-bottom: 7px;
}

.drawer-submenu a {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  display: block;
  padding: 3px 0;
  transition: var(--transition);
}

.drawer-submenu a:hover {
  color: var(--primary-blue);
  transform: translateX(3px);
}

.drawer-resource-arrow {
  color: var(--primary-blue);
  font-size: 0.85rem;
}

/* Secondary Sub-Navbar with Dropdowns */
.sub-nav-bar {
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 0;
}

.nav-link-custom {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.nav-link-custom:hover,
.nav-link-custom.active,
.dropdown-static:hover > .nav-link-custom {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.nav-link-custom i.arrow-icon {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.dropdown-static:hover .nav-link-custom i.arrow-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   MEGA DROPDOWNS (Matches Screenshots 2, 3, 4)
   ========================================================================== */

.dropdown-static {
  position: static !important;
}

.mega-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22);
  padding: 24px 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1050;
}

@media (min-width: 992px) {
  .dropdown-static:hover .mega-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.mega-dropdown-menu.active-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

.brand-scroll-row {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 14px 4px;
  scrollbar-width: thin;
}

.brand-scroll-row::-webkit-scrollbar {
  height: 5px;
}

.brand-scroll-row::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

.brand-pill-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  width: 78px;
  height: 80px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.brand-pill-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(59, 34, 236, 0.12);
}

.brand-svg-badge {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-blue-dark);
  font-size: 1.1rem;
}

.brand-svg-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-top: 3px;
  text-align: center;
  white-space: nowrap;
}

.mega-column-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-column-title i {
  font-size: 0.8rem;
  color: var(--primary-blue);
}

.mega-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-link-list li {
  margin-bottom: 8px;
}

.mega-link-list a {
  font-size: 0.86rem;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 0;
  font-weight: 500;
  transition: var(--transition);
}

.mega-link-list a i {
  font-size: 0.72rem;
  opacity: 0.5;
  transition: var(--transition);
}

.mega-link-list a:hover {
  color: var(--primary-blue);
  transform: translateX(4px);
}

.mega-link-list a:hover i {
  opacity: 1;
  color: var(--primary-blue);
}

/* ==========================================================================
   NEW CARS MEGA MENU (Matches Reference Screenshots)
   ========================================================================== */
.newcars-mega-menu {
  padding: 18px 24px;
  background: #ffffff;
  border-radius: 0 0 20px 20px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.22);
}

.newcars-mega-grid {
  display: flex;
  gap: 20px;
  min-height: 380px;
}

/* Left Sidebar Categories */
.newcars-mega-sidebar {
  flex: 0 0 260px;
  background: #f8fafc;
  border-radius: 14px;
  padding: 10px 8px;
  border: 1px solid #f1f5f9;
}

.newcars-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.newcars-nav-item {
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.94rem;
  font-weight: 500;
  color: #475569;
  transition: all 0.18s ease;
  user-select: none;
}

.newcars-nav-item .newcars-chevron {
  font-size: 0.8rem;
  color: #94a3b8;
  transition: transform 0.18s ease, color 0.18s ease;
}

.newcars-nav-item.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.newcars-nav-item.active .newcars-chevron {
  color: #0f172a;
  transform: translateX(2px);
}

.newcars-nav-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.65);
  color: #0f172a;
}

.newcars-direct-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.newcars-diag-arrow {
  color: #ea580c;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s ease;
}

.newcars-direct-link:hover .newcars-diag-arrow {
  transform: translate(2px, -2px);
}

/* Right Content Panes */
.newcars-mega-content {
  flex: 1;
  padding: 8px 12px 10px 20px;
  display: flex;
  flex-direction: column;
}

.newcars-pane {
  display: none;
  animation: newcarsFadeIn 0.2s ease forwards;
}

.newcars-pane.active {
  display: block;
}

@keyframes newcarsFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.newcars-pane-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

/* Pane 1: Popular Brands Grid */
.newcars-brands-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

@media (max-width: 1250px) {
  .newcars-brands-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.newcars-brand-card {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 14px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 85px;
  text-decoration: none;
  transition: all 0.22s ease;
  cursor: pointer;
}

.newcars-brand-card:hover {
  background: #ffffff;
  border-color: #0066f5;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 102, 245, 0.12);
}

.newcars-brand-logo {
  position: relative;
  height: 38px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newcars-brand-logo svg {
  max-height: 34px;
  width: auto;
  max-width: 80px;
  display: block;
}

.newcars-brand-logo img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-height: 34px;
  max-width: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #f8fafc;
}

.newcars-brand-initials {
  color: #1d4ed8;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.newcars-brand-name {
  margin-top: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.newcars-brand-card:hover .newcars-brand-name {
  color: #0066f5;
}


/* Panes 2 & 4: 3-Column Links Grid with Diagonal Arrows */
.newcars-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 36px;
}

.newcars-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  color: #1e293b;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.newcars-link-row span {
  color: #1e293b;
  transition: color 0.15s ease;
}

.newcars-link-row .newcars-arrow {
  color: #ea580c;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s ease, color 0.15s ease;
}

.newcars-link-row:hover span {
  color: #0066f5;
  font-weight: 600;
}

.newcars-link-row:hover .newcars-arrow {
  transform: translate(2px, -2px);
  color: #0066f5;
}

/* Pane 3: Body Type Grid (Single vertical column matching screenshot) */
.newcars-bodytype-grid {
  display: flex;
  flex-direction: column;
  max-width: 280px;
  gap: 4px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
  padding: 55px 0 0 0;
  color: #ffffff;
}

.hero-glow-circle-1 {
  position: absolute;
  top: -80px;
  right: -50px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-glow-circle-2 {
  position: absolute;
  bottom: -100px;
  left: 10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(105, 82, 252, 0.45) 0%, rgba(59, 34, 236, 0) 70%);
  pointer-events: none;
}

.hero-badge-tag {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-headline {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.hero-headline span {
  color: #ffd166;
}

.hero-subheadline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 530px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-hero-cta {
  background: #ffffff;
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-cta:hover {
  background: #f8fafc;
  color: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.22);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-card-img-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-car-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(16, 9, 84, 0.35);
  transition: transform 0.4s ease;
}

.floating-hero-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: 14px;
  color: var(--dark-text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 3;
}

.floating-hero-badge.badge-top-left {
  top: 6%;
  left: -15px;
  animation: floatSlow 4s ease-in-out infinite;
}

.floating-hero-badge.badge-bottom-right {
  bottom: 8%;
  right: -10px;
  animation: floatSlow 4.5s ease-in-out infinite 1.5s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   HERO NAVIGATION DOCK & CATEGORY CARDS (Matches Reference Screenshot)
   ========================================================================== */

.buy-cars-section {
  background-color: #ffffff;
  position: relative;
  z-index: 10;
}

.hero-dock-wrapper {
  position: relative;
  z-index: 30;
  line-height: 1;
}

.hero-dock-curve-shelf {
  background: #ffffff;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  padding: 14px 32px 0 32px;
  display: inline-flex;
  align-items: flex-end;
  gap: 30px;
  position: relative;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.03);
  max-width: 100%;
  margin-left: 28px;
}

/* Inverted concave left fillet */
.hero-dock-curve-shelf::before {
  content: '';
  position: absolute;
  left: -34px;
  bottom: 0;
  width: 34px;
  height: 34px;
  background: radial-gradient(circle at top left, transparent 34px, #ffffff 34.5px);
  pointer-events: none;
}

/* Inverted concave right fillet */
.hero-dock-curve-shelf::after {
  content: '';
  position: absolute;
  right: -34px;
  bottom: 0;
  width: 34px;
  height: 34px;
  background: radial-gradient(circle at top right, transparent 34px, #ffffff 34.5px);
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .hero-dock-curve-shelf {
    gap: 18px;
    padding: 12px 16px 0 16px;
    margin-left: 0;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    border-radius: 20px 20px 0 0;
  }
  .hero-dock-curve-shelf::-webkit-scrollbar {
    display: none;
  }
  .hero-dock-curve-shelf::before,
  .hero-dock-curve-shelf::after {
    display: none;
  }
}

.hero-dock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  color: #1e293b;
  position: relative;
  padding-bottom: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  min-width: 54px;
}

.hero-dock-tab:hover {
  transform: translateY(-2px);
  color: var(--primary-blue, #230ec9);
}

.dock-tab-icon {
  width: 44px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: transform 0.22s ease;
}

.dock-tab-icon img {
  max-width: 38px;
  max-height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}

.hero-dock-tab:hover .dock-tab-icon {
  transform: scale(1.12);
}

.dock-tab-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  letter-spacing: -0.2px;
  transition: color 0.2s ease;
}

.hero-dock-tab.active .dock-tab-label {
  color: #0f172a;
  font-weight: 700;
}

.dock-active-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-blue, #230ec9);
  border-radius: 3px 3px 0 0;
}

/* Discount Pill Badge (Matches Screenshot) */
.badge-discount-red-pill {
  background: #d90429;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
}

/* 4 Quick Category Cards Showcase (Matches Reference Attachment 2) */
.category-carousel-wrapper {
  position: relative;
}

.category-cards-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1199.98px) {
  .category-cards-grid-row {
    grid-template-columns: repeat(4, 280px);
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .category-cards-grid-row::-webkit-scrollbar {
    display: none;
  }
}

.category-banner-card {
  display: block;
  position: relative;
  border-radius: 20px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s ease;
  text-decoration: none;
  cursor: pointer;
}

.category-banner-card:hover {
  transform: translateY(-4px);
}

.category-banner-inner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f0f5fa;
}

.category-card-title-box {
  position: absolute;
  top: 16px;
  left: 18px;
  right: 18px;
  z-index: 2;
  pointer-events: none;
}

.category-card-heading {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin: 0;
}

.badge-card-new-pill {
  background: #d90429;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  letter-spacing: 0.2px;
  line-height: 1.2;
  display: inline-block;
}

.category-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.category-banner-card:hover .category-banner-img {
  transform: scale(1.03);
}

/* Category Next Arrow Button */
.category-carousel-nav-btn {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  z-index: 10;
  transition: all 0.2s ease;
  cursor: pointer;
}

.category-carousel-nav-btn:hover {
  background: #ffffff;
  color: var(--primary-blue, #230ec9);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

/* Legacy Quick Dock Fallback */
.floating-quick-dock {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16);
  padding: 14px 20px;
  margin-top: -50px;
  position: relative;
  z-index: 20;
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.quick-dock-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  transition: var(--transition);
  cursor: pointer;
  background: #ffffff;
}

.quick-dock-item:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.quick-dock-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.dock-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 1px;
}

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

/* ==========================================================================
   SECTION HEADINGS & BADGES
   ========================================================================== */

.section-spacing {
  padding: 38px 0;
}

.section-title-wrap {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.section-main-heading {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark-text);
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.badge-discount-red {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new-pill {
  background: #10b981;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
}

.btn-view-all {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(59, 34, 236, 0.08);
  transition: var(--transition);
}

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

/* ==========================================================================
   CAR & CATEGORY CARDS (Elevated & Unique)
   ========================================================================== */

.car-category-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.car-category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 34, 236, 0.35);
  box-shadow: var(--hover-shadow);
}

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

.car-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 2px;
}

.car-card-subtitle {
  font-size: 0.8rem;
  color: var(--muted-text);
}

.car-image-container {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}

.car-thumbnail {
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.car-specs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--muted-text);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.car-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.car-price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-text);
}

.car-emi-val {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

/* ==========================================================================
   SELL YOUR CAR SECTION (Matches Reference Design)
   ========================================================================== */
.sell-section-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
}

.sell-action-card {
  display: block;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.sell-action-card:hover {
  transform: translateY(-4px);
}

.sell-action-img-box {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  transition: all 0.25s ease;
}

.sell-action-img-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  transition: transform 0.28s ease;
}

.sell-action-card:hover .sell-action-img-box img {
  transform: scale(1.03);
}

.sell-action-title {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 1.04rem;
  font-weight: 700;
  color: #0f172a;
  transition: color 0.2s ease;
  letter-spacing: -0.2px;
}

.sell-action-card:hover .sell-action-title {
  color: #3b22ec;
}

@media (max-width: 768px) {
  .sell-section-heading {
    font-size: 1.5rem;
  }
  .sell-action-title {
    font-size: 0.92rem;
    margin-top: 10px;
  }
}

/* Loan Modern Cards */
.loan-modern-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease;
}

.loan-modern-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -8px rgba(15, 23, 42, 0.12);
}

.loan-modern-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  transition: transform 0.28s ease;
}

.loan-modern-card:hover img {
  transform: scale(1.025);
}

/* Car Check Services Modern Cards */
.carcheck-action-card {
  display: block;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.carcheck-action-card:hover {
  transform: translateY(-4px);
}

.carcheck-img-box {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  transition: all 0.25s ease;
}

.carcheck-img-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  transition: transform 0.28s ease;
}

.carcheck-action-card:hover .carcheck-img-box img {
  transform: scale(1.03);
}

.carcheck-action-title {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 1.04rem;
  font-weight: 700;
  color: #0f172a;
  transition: color 0.2s ease;
  letter-spacing: -0.2px;
}

.carcheck-action-card:hover .carcheck-action-title {
  color: #3b22ec;
}

#btnCarCheckNext {
  position: absolute;
  right: -15px;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
}

@media (max-width: 768px) {
  .carcheck-action-title {
    font-size: 0.92rem;
    margin-top: 10px;
  }
  #btnCarCheckNext {
    display: none;
  }
}

/* ==========================================================================
   ACTION FEATURE CARDS (Loans, Car Check, Challan)
   ========================================================================== */

.action-feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.action-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 34, 236, 0.35);
  box-shadow: var(--hover-shadow);
}

.action-card-avatar-box {
  width: 100%;
  height: 120px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.action-card-avatar-box img {
  max-height: 110px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.action-feature-card:hover .action-card-avatar-box img {
  transform: scale(1.08);
}

.action-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.action-card-desc {
  font-size: 0.78rem;
  color: var(--muted-text);
  line-height: 1.4;
}

/* ==========================================================================
   MANAGE YOUR VEHICLE (Blue Banner with White Cards)
   ========================================================================== */

.manage-vehicle-section {
  background: var(--primary-gradient);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  color: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(59, 34, 236, 0.35);
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.manage-pill-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 14px;
  color: var(--dark-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  min-height: 110px;
  text-decoration: none;
}

.manage-pill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
  color: var(--primary-blue);
}

.manage-card-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
  line-height: 1;
}

.manage-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   TRENDING NEW CARS (Ranked 1 to 6)
   ========================================================================== */

.trending-car-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.trending-car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(59, 34, 236, 0.35);
}

.rank-watermark {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 3.5rem;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
  z-index: 1;
  user-select: none;
}

.trending-car-card .car-content {
  position: relative;
  z-index: 2;
}

.trending-car-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 2px;
}

.trending-car-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* ==========================================================================
   PROMOTIONAL CAROUSEL BANNERS
   ========================================================================== */

.promo-banner-card {
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.promo-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
}

.promo-blue {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.promo-purple {
  background: linear-gradient(135deg, #3720e5 0%, #6366f1 100%);
}

.promo-teal {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
}

.promo-badge-pill {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}

.promo-heading {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
}

.promo-desc {
  font-size: 0.82rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

/* ==========================================================================
   TRUST & AMBASSADOR HERO STRIP
   ========================================================================== */

.trust-ambassador-strip {
  background: linear-gradient(135deg, #3720e5 0%, #4f46e5 60%, #1e1b4b 100%);
  border-radius: var(--radius-xl);
  color: #ffffff;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(55, 32, 229, 0.3);
}

.ambassador-tag {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 8px;
}

.ambassador-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.ambassador-highlight {
  color: #fbbf24;
}

/* ==========================================================================
   TESTIMONIALS & WHAT MOTIVATES US
   ========================================================================== */

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  padding: 24px 20px;
  height: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 34, 236, 0.3);
  box-shadow: var(--hover-shadow);
}

.testimonial-text {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.user-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark-text);
  margin-bottom: 1px;
}

.user-city {
  font-size: 0.78rem;
  color: var(--muted-text);
}

.verified-buyer-badge {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   TRUST METRICS COUNTER STRIP
   ========================================================================== */

.metrics-strip {
  background: var(--hero-gradient);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(55, 32, 229, 0.3);
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.92rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ==========================================================================
   APP DOWNLOAD BANNER
   ========================================================================== */

.app-download-banner {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(199, 210, 254, 0.6);
}

.app-btn-box {
  background: #000000;
  color: #ffffff;
  border-radius: 12px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.app-btn-box:hover {
  background: #1e1b4b;
  color: #ffffff;
  transform: translateY(-2px);
}

.qr-code-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: inline-block;
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 60px 0 25px 0;
  font-size: 0.88rem;
  color: #475569;
}

.footer-brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-heading {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: #64748b;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-blue);
  padding-left: 3px;
}

.social-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-right: 8px;
}

.social-circle-btn:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   MODAL & INTERACTIVE CALCULATOR STYLES
   ========================================================================== */

.calculator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.slider-custom {
  accent-color: var(--primary-blue);
  height: 6px;
  width: 100%;
}

.emi-display-box {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  border: 1px solid rgba(199, 210, 254, 0.8);
}

.emi-amount-huge {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-blue);
}

/* ==========================================================================
   CITY SELECTOR MODAL (Matches Reference Design)
   ========================================================================== */
.city-selector-modal .modal-dialog {
  max-width: 680px;
  margin: 1.75rem auto;
}

.city-selector-modal .modal-content {
  background: #ffffff;
  border-radius: 24px;
  border: none;
  box-shadow: 0 25px 65px -12px rgba(15, 23, 42, 0.25);
  padding: 24px 28px 26px;
}

.city-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.city-modal-title {
  font-size: 1.48rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.3px;
}

.city-modal-close {
  background: transparent;
  border: none;
  padding: 6px;
  color: #64748b;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.city-modal-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}

/* Search Row */
.city-search-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.city-search-input-wrap {
  position: relative;
  flex: 1;
}

.city-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.city-search-input {
  width: 100%;
  height: 50px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0 16px 0 46px;
  font-size: 0.96rem;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.city-search-input:focus {
  border-color: #5243ea;
  box-shadow: 0 0 0 3px rgba(82, 67, 234, 0.12);
}

.city-search-input::placeholder {
  color: #94a3b8;
}

.btn-detect-location {
  height: 50px;
  border: 1.5px solid #5243ea;
  border-radius: 14px;
  background: #ffffff;
  color: #5243ea;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-detect-location:hover {
  background: #f5f3ff;
  border-color: #4338ca;
  color: #4338ca;
}

.btn-detect-location:active {
  transform: scale(0.98);
}

/* Hubs Section */
.city-hubs-container {
  position: relative;
}

.city-hubs-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.city-hubs-scroll {
  max-height: 485px;
  overflow-y: auto;
  padding-right: 8px;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.city-hubs-scroll::-webkit-scrollbar {
  width: 6px;
}

.city-hubs-scroll::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 10px;
}

.city-hubs-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.city-hubs-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Hub Grid */
.city-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 16px;
}

.city-hub-card {
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease;
  user-select: none;
}

.city-hub-card:hover {
  transform: translateY(-2px);
}

.city-hub-thumb {
  position: relative;
  width: 100%;
  height: 102px;
  border-radius: 18px;
  overflow: hidden;
  background: #f1f5f9;
  border: 3px solid transparent;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.city-hub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.city-hub-card:hover .city-hub-thumb img {
  transform: scale(1.04);
}

/* Tinted overlay for selected card */
.city-hub-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(82, 67, 234, 0.24);
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

/* Selected checkmark circle */
.city-selected-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #5243ea;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(82, 67, 234, 0.4);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
  pointer-events: none;
}

/* Active / Selected state */
.city-hub-card.selected .city-hub-thumb,
.city-hub-card.active .city-hub-thumb {
  border-color: #5243ea;
}

.city-hub-card.selected .city-hub-thumb::after,
.city-hub-card.active .city-hub-thumb::after {
  opacity: 1;
}

.city-hub-card.selected .city-selected-check,
.city-hub-card.active .city-selected-check {
  transform: translate(-50%, -50%) scale(1);
}

.city-hub-name {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  transition: color 0.2s ease;
  letter-spacing: -0.2px;
}

.city-hub-card:hover .city-hub-name,
.city-hub-card.selected .city-hub-name,
.city-hub-card.active .city-hub-name {
  color: #5243ea;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .city-selector-modal .modal-content {
    padding: 18px 16px 20px;
    border-radius: 20px;
  }
  
  .city-search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .btn-detect-location {
    justify-content: center;
    width: 100%;
  }

  .city-hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
  }

  .city-hub-name {
    font-size: 0.88rem;
    margin-top: 8px;
  }
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .sub-nav-bar {
    display: none !important;
  }
  .hero-headline {
    font-size: 2.3rem;
  }
  .floating-hero-badge {
    display: none;
  }
  .floating-quick-dock {
    margin-top: 20px;
  }
  .mega-dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 16px 12px;
    border-radius: 12px;
    margin-top: 10px;
    display: none;
  }
  .mega-dropdown-menu.active-show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* ==========================================================================
   ABOUT US PAGE STYLES (Elevated & Unique)
   ========================================================================== */

/* Dark Atmospheric Hero */
.about-hero {
  background: radial-gradient(circle at 50% 120%, rgba(59, 34, 236, 0.45) 0%, #09061c 70%, #03020a 100%);
  color: #ffffff;
  padding: 80px 0 75px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-neon-line {
  width: 140px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #3b22ec, #60a5fa, transparent);
  margin: 18px auto 28px auto;
  border-radius: 9999px;
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.8);
}

.about-badge-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #93c5fd;
  display: inline-block;
  margin-bottom: 18px;
}

.about-hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.about-hero-sub {
  font-size: 1.18rem;
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}

/* Pillar Visual Cards */
.pillar-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 380px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(59, 34, 236, 0.22);
}

.pillar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.pillar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 70%, rgba(15, 23, 42, 0.96) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: #ffffff;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 0.86rem;
  color: #e2e8f0;
  line-height: 1.5;
}

/* Scale Counters Section */
.scale-number-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
}

.scale-number-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 34, 236, 0.3);
  box-shadow: var(--hover-shadow);
}

.scale-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px auto;
  transition: transform 0.3s ease;
}

.scale-number-card:hover .scale-icon-box {
  transform: scale(1.12) rotate(4deg);
}

.scale-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.scale-stat-title {
  font-size: 0.86rem;
  color: var(--muted-text);
  font-weight: 600;
}

/* Sustainability Split Section */
.sustainability-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #e0e7ff 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-xl);
  padding: 45px 40px;
  position: relative;
  overflow: hidden;
}

/* Leadership / Builders Grid */
.leader-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
}

.leader-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 34, 236, 0.3);
  box-shadow: var(--hover-shadow);
}

.leader-avatar-container {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f1f5f9;
}

.leader-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.leader-card:hover .leader-avatar-container img {
  filter: grayscale(0%);
  transform: scale(1.06);
}

.leader-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 2px;
}

.leader-role {
  font-size: 0.76rem;
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 8px;
}

.leader-social {
  display: inline-flex;
  gap: 8px;
}

.leader-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

.leader-social a:hover {
  background: var(--primary-blue);
  color: #ffffff;
}

/* Founder Spotlight Card */
.founder-spotlight-card {
  background: linear-gradient(135deg, #090724 0%, #1e1b4b 60%, #312e81 100%);
  border-radius: var(--radius-xl);
  color: #ffffff;
  padding: 48px 42px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3);
}

.founder-quote-mark {
  font-size: 4.5rem;
  color: rgba(255, 255, 255, 0.15);
  line-height: 0.8;
  font-family: Georgia, serif;
}

/* Video Showcase Card */
.video-preview-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  height: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.video-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-preview-card:hover img {
  transform: scale(1.04);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.video-preview-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--primary-blue);
  color: #ffffff;
}

/* Investors Logo Strip */
.investor-logo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  font-weight: 800;
  color: #334155;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.investor-logo-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-blue);
  box-shadow: 0 8px 20px rgba(59, 34, 236, 0.1);
  color: var(--primary-blue);
}

/* Team Panoramic Banner */
.team-panoramic-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 380px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-panoramic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%);
  transition: all 0.5s ease;
}

.team-panoramic-card:hover img {
  filter: grayscale(0%);
}

.team-panoramic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 75%, rgba(0, 0, 0, 0.92) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 20px;
  color: #ffffff;
  text-align: center;
}

/* ==========================================================================
   CONTACT US PAGE STYLES (Elevated & Unique)
   ========================================================================== */

.contact-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(9, 6, 28, 0.75) 0%, rgba(59, 34, 236, 0.9) 100%), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80') center center / cover no-repeat;
  color: #ffffff;
  padding: 70px 0 140px 0;
  text-align: center;
  border-bottom-left-radius: 50% 25px;
  border-bottom-right-radius: 50% 25px;
}

.contact-hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.contact-hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto;
}

/* Floating Corporate Main Card */
.contact-main-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--card-border);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.16);
  margin-top: -100px;
  position: relative;
  z-index: 10;
  padding: 30px;
}

.contact-map-container {
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

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

.contact-dept-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 3px;
}

.contact-dept-email {
  font-size: 0.85rem;
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.contact-dept-email:hover {
  text-decoration: underline;
}

.btn-whatsapp-chat {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
  text-decoration: none;
}

.btn-whatsapp-chat:hover {
  background: #1eb954;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.45);
}

/* Hub Cards Grid */
.hub-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hub-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 34, 236, 0.35);
  box-shadow: var(--hover-shadow);
}

.hub-img-wrapper {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.hub-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hub-card:hover .hub-img-wrapper img {
  transform: scale(1.06);
}

.hub-pin-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-size: 1.1rem;
}

.hub-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.hub-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 6px;
}

.hub-address {
  font-size: 0.82rem;
  color: var(--muted-text);
  line-height: 1.4;
  margin-bottom: 12px;
}

.hub-timing {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-hub-cars {
  background: #fff7ed;
  color: #ea580c;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #ffedd5;
  transition: var(--transition);
}

.btn-hub-cars:hover {
  background: #ea580c;
  color: #ffffff;
}

/* Quick Inquiry Form Box */
.inquiry-form-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid rgba(59, 34, 236, 0.15);
  border-radius: 20px;
  padding: 28px;
}

/* ==========================================================================
   BUY USED CARS LISTING PAGE STYLES (Matches Screenshot)
   ========================================================================== */

/* Filter Sidebar Card */
.filter-sidebar-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  padding: 22px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.filter-group-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 14px;
}

.filter-search-box {
  position: relative;
  margin-bottom: 14px;
}

.filter-search-input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.85rem;
  transition: var(--transition);
}

.filter-search-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(59, 34, 236, 0.15);
}

.filter-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Model Pills Grid */
.model-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.model-pill-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.model-pill-tag:hover,
.model-pill-tag.active {
  background: #eff6ff;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

/* Brand Checkbox List */
.brand-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.brand-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 4px;
  font-size: 0.88rem;
  color: #334155;
  cursor: pointer;
}

.brand-check-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-badge-mini {
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f1f5f9;
}

.brand-filter-logo {
  position: relative;
  display: inline-flex;
  flex: 0 0 34px;
  width: 34px;
  height: 28px;
  align-items: center;
  justify-content: center;
}

.brand-filter-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.brand-check-count {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Catalog Car Card (Matches Screenshot Exactly) */
.listing-car-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.listing-car-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 34, 236, 0.35);
  box-shadow: var(--hover-shadow);
}

.card-wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}

.card-wishlist-btn:hover,
.card-wishlist-btn.active {
  color: #ef4444;
  border-color: #ef4444;
  transform: scale(1.1);
}

.listing-car-img-wrap {
  height: 175px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.listing-car-img {
  max-height: 100%;
  max-width: 95%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.listing-car-body {
  padding: 14px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.certified-stock-tag {
  color: var(--primary-blue);
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.listing-car-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.3;
  margin-bottom: 10px;
}

.listing-specs-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.spec-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.74rem;
  color: #475569;
  font-weight: 600;
}

.listing-pricing-box {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  margin-top: auto;
}

.listing-emi-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  text-decoration: underline dotted #94a3b8;
}

.listing-price-main {
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--dark-text);
  text-align: right;
  line-height: 1.1;
}

.listing-struck-price {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
  margin-right: 4px;
}

.listing-rc-note {
  font-size: 0.68rem;
  color: #94a3b8;
  text-align: right;
  margin-top: 2px;
}

.listing-location-footer {
  border-top: 1px solid #f1f5f9;
  padding: 8px 18px;
  font-size: 0.74rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fbfcfe;
}

/* In-Grid Promotional Loan Card (Matches Screenshot) */
.loan-promo-card-grid {
  background: linear-gradient(135deg, #2714be 0%, #3b22ec 60%, #6366f1 100%);
  border-radius: 18px;
  color: #ffffff;
  padding: 26px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(59, 34, 236, 0.25);
  position: relative;
  overflow: hidden;
}

.loan-promo-huge {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 10px 0 18px 0;
}

/* ==========================================================================
   SELL USED CARS PAGE STYLES (Matches Screenshot with Unique Upgrades)
   ========================================================================== */

/* Hero Valuation Card */
.sell-hero-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--card-border);
  box-shadow: 0 25px 50px -10px rgba(15, 23, 42, 0.2);
  padding: 30px;
}

/* Indian HSRP Number Plate Simulation Input */
.number-plate-container {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  transition: var(--transition);
}

.number-plate-container:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(59, 34, 236, 0.2);
}

.number-plate-ind {
  background: #1e3a8a;
  color: #ffffff;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.number-plate-chakra {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px dashed #ffffff;
  margin-bottom: 2px;
}

.number-plate-input {
  border: none;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 16px;
  width: 100%;
  color: #0f172a;
}

.number-plate-input:focus {
  outline: none;
}

/* Step Flow Cards */
.step-journey-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.step-journey-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 34, 236, 0.35);
  box-shadow: var(--hover-shadow);
}

.step-number-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin: 0 auto 14px auto;
  box-shadow: 0 4px 10px rgba(59, 34, 236, 0.3);
}

/* Kawach Shield Banner */
.kawach-shield-box {
  background: linear-gradient(135deg, #090724 0%, #1e1b4b 60%, #312e81 100%);
  border-radius: var(--radius-xl);
  color: #ffffff;
  padding: 45px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.3);
}

/* Document Checklist Item */
.doc-check-box {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.doc-check-box:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 34, 236, 0.08);
}

.doc-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Sell FAQ Accordion */
.accordion-faq-custom .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.accordion-faq-custom .accordion-button {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--dark-text);
  padding: 18px 22px;
  background: #ffffff;
}

.accordion-faq-custom .accordion-button:not(.collapsed) {
  color: var(--primary-blue);
  background: #f8fafc;
  box-shadow: none;
}

.accordion-faq-custom .accordion-body {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  padding: 20px 22px;
  background: #f8fafc;
}

/* ==========================================================================
   LOANS PAGE STYLES (loans.php)
   ========================================================================== */
.loans-hero-wrapper {
  background: linear-gradient(135deg, #1b0fb2 0%, #3017d8 45%, #4f35f8 100%);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  padding: 50px 0 70px;
  color: #ffffff;
}

.loans-hero-wrapper::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.loans-hero-wrapper::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.loans-hero-curved-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.loan-hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.loans-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.loans-hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
  line-height: 1.5;
}

.loans-hero-btn-primary {
  background: #ffffff;
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 13px 32px;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

.loans-hero-btn-primary:hover {
  background: #f8fafc;
  color: #1b0fb2;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.loans-hero-image-wrap {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.25);
  height: 100%;
  min-height: 380px;
}

.loans-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.loans-hero-overlay-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 14px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 4 Loan Products Grid ("Get loans for all your needs") */
.loan-product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
}

.loan-product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-blue);
  box-shadow: 0 14px 32px rgba(59, 34, 236, 0.12);
}

.loan-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.loan-product-badge.badge-blue {
  background: #eef2ff;
  color: var(--primary-blue);
}

.loan-product-badge.badge-success {
  background: #ecfdf5;
  color: #059669;
}

.loan-product-badge.badge-purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.loan-product-badge.badge-amber {
  background: #fffbeb;
  color: #d97706;
}

.loan-product-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.loan-product-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}

.loan-product-image-box {
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
  background: #f8fafc;
}

.loan-product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.loan-product-card:hover .loan-product-image-box img {
  transform: scale(1.05);
}

.loan-product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.loan-product-features li {
  font-size: 0.84rem;
  color: #475569;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.loan-product-features li i {
  color: var(--primary-blue);
  font-size: 0.95rem;
}

.loan-product-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.loan-product-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.loan-product-card:hover .loan-product-action-btn {
  background: #1b0fb2;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(59, 34, 236, 0.3);
}

/* Why Take a Loan From Us Cards */
.loan-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.loan-why-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(59, 34, 236, 0.09);
}

.loan-why-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.loan-why-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.loan-why-desc {
  font-size: 0.87rem;
  color: #64748b;
  margin-bottom: 0;
}

/* Loan Promos / Featured 3 Gradient Banners */
.loan-promo-banner-card {
  border-radius: 24px;
  padding: 30px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.loan-promo-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.loan-promo-card-1 {
  background: linear-gradient(135deg, #2b16d9 0%, #4f35f8 100%);
}

.loan-promo-card-2 {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.loan-promo-card-3 {
  background: linear-gradient(135deg, #093c83 0%, #1e40af 100%);
}

.loan-promo-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}

.loan-promo-heading {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
}

.loan-promo-subtext {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.loan-promo-btn {
  background: #ffffff;
  color: var(--dark-text);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: all 0.25s ease;
}

.loan-promo-btn:hover {
  background: #f1f5f9;
  color: var(--primary-blue);
  transform: scale(1.03);
}

/* Partner Banks Row */
.partner-bank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.partner-bank-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #334155;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.partner-bank-pill:hover {
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59, 34, 236, 0.08);
  color: var(--primary-blue);
}

/* Trust Banner */
.loan-trust-banner {
  background: linear-gradient(135deg, #1e0fa3 0%, #3720e5 60%, #583ffc 100%);
  border-radius: 28px;
  padding: 45px 50px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(55, 32, 229, 0.25);
}

.loan-trust-laurel {
  font-size: 2.2rem;
  color: #facc15;
  margin-bottom: 8px;
}

.loan-trust-stat-box {
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 20px;
}

/* Customer Testimonial Cards */
.loan-story-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.loan-story-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue);
  box-shadow: 0 12px 28px rgba(59, 34, 236, 0.1);
}

.loan-story-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-blue);
}

/* On-Page Interactive Loan Eligibility Calculator */
.loan-onpage-calc-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.loan-calc-result-box {
  background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* RBI Accreditation Seal */
.rbi-accreditation-banner {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .loans-hero-title {
    font-size: 2.1rem;
  }
  .loans-hero-curved-card {
    padding: 26px;
  }
  .loan-trust-banner {
    padding: 30px 24px;
  }
  .loan-trust-stat-box {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0;
    padding-top: 16px;
    margin-top: 16px;
  }
}

/* ==========================================================================
   CAR DETAIL & BOOKING PAGE STYLES (car-details.php)
   ========================================================================== */
.car-details-main {
  background-color: #f8fafc;
  padding: 30px 0 60px;
}

/* Breadcrumb bar */
.car-breadcrumb-wrap {
  margin-bottom: 20px;
}

.car-breadcrumb-wrap .breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.2s;
}

.car-breadcrumb-wrap .breadcrumb-item a:hover {
  color: var(--primary-blue);
}

.car-breadcrumb-wrap .breadcrumb-item.active {
  color: var(--dark-text);
  font-weight: 600;
  font-size: 0.86rem;
}

/* Main Gallery Showcase */
.car-gallery-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  position: relative;
}

.car-gallery-main-frame {
  position: relative;
  background: radial-gradient(circle at center, #ffffff 40%, #edf2f7 100%);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.car-gallery-main-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.4s ease, opacity 0.3s ease;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.15));
}

.gallery-certified-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 5;
}

.gallery-fullscreen-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

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

.gallery-nav-prev,
.gallery-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 4;
}

.gallery-nav-prev {
  left: 16px;
}

.gallery-nav-next {
  right: 16px;
}

.gallery-nav-prev:hover,
.gallery-nav-next:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
}

/* Gallery View Modes (Pills / Circles) */
.gallery-view-modes-strip {
  padding: 14px 20px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid #f1f5f9;
}

.view-mode-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
}

.view-mode-pill i {
  font-size: 1.2rem;
}

.view-mode-pill:hover,
.view-mode-pill.active {
  background: #eef2ff;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(59, 34, 236, 0.12);
}

/* Gallery Thumbnail Strip */
.gallery-thumb-strip {
  padding: 12px 20px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.gallery-thumb-item {
  width: 78px;
  height: 52px;
  border-radius: 10px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #f1f5f9;
  transition: all 0.2s ease;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb-item.active,
.gallery-thumb-item:hover {
  border-color: var(--primary-blue);
  transform: scale(1.05);
}

/* Sticky Booking Card (Right Column) */
.booking-sticky-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 90px;
  z-index: 10;
}

.booking-view-live-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #e11d48;
  margin-bottom: 12px;
}

.booking-car-title {
  font-size: 1.48rem;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.25;
  margin-bottom: 12px;
}

.booking-spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.booking-spec-tag {
  padding: 4px 10px;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
}

.booking-location-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.booking-price-container {
  background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 22px;
}

.booking-price-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.booking-price-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1;
}

.booking-emi-note {
  font-size: 0.88rem;
  color: var(--primary-blue);
  font-weight: 700;
}

/* Action Buttons */
.btn-book-testdrive {
  background: #f97316;
  border: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 20px;
  border-radius: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
  text-decoration: none;
}

.btn-book-testdrive:hover {
  background: #ea580c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.4);
}

.btn-reserve-car {
  background: var(--primary-blue);
  border: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 20px;
  border-radius: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(59, 34, 236, 0.25);
  margin-top: 10px;
  text-decoration: none;
}

.btn-reserve-car:hover {
  background: #1b0fb2;
  color: #ffffff;
  transform: translateY(-2px);
}

.booking-guarantee-note {
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* "Good Things About This Car" section */
.good-things-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
}

.good-thing-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  height: 100%;
}

.good-thing-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Car Overview Grid */
.car-overview-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px;
  margin-bottom: 24px;
}

.overview-spec-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}

.overview-spec-icon {
  font-size: 1.35rem;
  color: var(--primary-blue);
  width: 32px;
  text-align: center;
}

/* Inspection Report Preview Box */
.inspection-report-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px;
  margin-bottom: 24px;
}

.inspection-score-header {
  background: linear-gradient(135deg, #1e0fa3 0%, #3720e5 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.inspection-cat-pill {
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
}

/* Features & Specs */
.features-specs-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px;
  margin-bottom: 24px;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.feature-check-item i {
  color: #10b981;
  font-size: 1.1rem;
}

/* Why choose Jain Car Bazaar Cards */
.why-jain-assurance-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  transition: transform 0.2s;
}

.why-jain-assurance-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-blue);
}

.why-jain-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* Similar Cars Section */
.similar-cars-wrapper {
  background: #ffffff;
  padding: 40px 0;
  border-top: 1px solid #e2e8f0;
  margin-top: 40px;
}

.car-listing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.car-listing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 34, 236, 0.35);
  box-shadow: 0 12px 28px rgba(59, 34, 236, 0.12);
}

.car-card-img-wrap {
  height: 185px;
  width: 100%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.car-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.car-listing-card:hover .car-card-img-wrap img {
  transform: scale(1.06);
}

.car-verified-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.car-verified-tag i {
  color: #38bdf8;
}

.car-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.car-wishlist-btn:hover,
.car-wishlist-btn.active {
  color: #ef4444;
  border-color: #ef4444;
  transform: scale(1.1);
}

.car-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.car-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-card-specs {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 12px;
}

.car-emi-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: block;
}

.car-price-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.1;
}

/* ==========================================================================
   VEHICLE INSURANCE PAGE STYLES (vehicle-insurance.php)
   ========================================================================== */
.insurance-hero-banner-section {
  background: #f8fafc;
  padding: 22px 0 12px;
}

.insurance-hero-banner-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 45px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  background: #3b38f5;
}

.insurance-hero-banner-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px -8px rgba(59, 56, 245, 0.25), 0 0 0 1px rgba(59, 56, 245, 0.1);
}

.insurance-hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 575.98px) {
  .insurance-hero-banner-wrap {
    border-radius: 14px;
  }
}

.insurance-hero-wrapper {
  background: linear-gradient(135deg, #1809a8 0%, #2f17d7 50%, #4f35f8 100%);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  padding: 50px 0 70px;
  color: #ffffff;
}

.insurance-hero-wrapper::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.insurance-hero-curved-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.insurance-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.insurance-hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 26px;
  line-height: 1.5;
}

/* Instant Quote Number Plate Search Box in Hero */
.insurance-quote-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.insurance-quote-flag {
  background: #1e3a8a;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.insurance-quote-input {
  border: none;
  font-weight: 700;
  font-size: 1.15rem;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.insurance-quote-input:focus {
  outline: none;
  box-shadow: none;
}

.insurance-quote-btn {
  background: var(--primary-blue);
  color: #ffffff;
  font-weight: 800;
  padding: 12px 26px;
  border-radius: 14px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.insurance-quote-btn:hover {
  background: #1809a8;
  color: #ffffff;
  transform: translateY(-2px);
}

.insurance-hero-image-wrap {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.25);
  height: 100%;
  min-height: 380px;
}

.insurance-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.insurance-hero-overlay-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 14px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 4 Insurance Product Cards */
.insurance-product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
}

.insurance-product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-blue);
  box-shadow: 0 14px 32px rgba(59, 34, 236, 0.12);
}

.insurance-product-img-box {
  height: 135px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
  background: #f8fafc;
}

.insurance-product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insurance-product-card:hover .insurance-product-img-box img {
  transform: scale(1.06);
}

.insurance-product-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 6px;
}

.insurance-product-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}

.insurance-product-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.insurance-product-card:hover .insurance-product-action-btn {
  background: #1809a8;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(59, 34, 236, 0.3);
}

/* Why Take Insurance From Us */
.insurance-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.insurance-why-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(59, 34, 236, 0.09);
}

.insurance-why-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  flex-shrink: 0;
}

/* Micro-Insurance Promos (3 Banners) */
.insurance-promo-banner-card {
  border-radius: 24px;
  padding: 28px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.insurance-promo-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.ins-promo-1 {
  background: linear-gradient(135deg, #2b16d9 0%, #4f35f8 100%);
}

.ins-promo-2 {
  background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 100%);
}

.ins-promo-3 {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

/* Add-on Covers Grid */
.addon-cover-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.addon-cover-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-blue);
  box-shadow: 0 8px 20px rgba(59, 34, 236, 0.08);
}

.addon-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

/* Insurance Trust Banner */
.insurance-trust-banner {
  background: linear-gradient(135deg, #1a0aa0 0%, #3720e5 60%, #5b43fb 100%);
  border-radius: 28px;
  padding: 45px 50px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(55, 32, 229, 0.25);
}

.ins-stat-box {
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 20px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .insurance-hero-title {
    font-size: 2.1rem;
  }
  .insurance-hero-curved-card {
    padding: 24px;
  }
  .insurance-trust-banner {
    padding: 30px 20px;
  }
  .ins-stat-box {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0;
    padding-top: 14px;
    margin-top: 14px;
  }
}

/* ==========================================================================
   INSURANCE QUOTE FORM MODAL (Matches Reference Screenshot Insure24)
   ========================================================================== */
.insure-custom-modal .modal-dialog {
  max-width: 620px;
  width: 95%;
  margin: 2rem auto;
}

.insure-custom-modal .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
}

.insure-custom-modal.modal {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.72);
}

.insure-modal-wrapper {
  position: relative;
  width: 100%;
}

.insure-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 25;
  transition: all 0.2s ease;
  cursor: pointer;
}

.insure-modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.06);
}

.insure-modal-main-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin: 0 0 22px 0;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.65);
}

.insure-quote-card {
  background: #ffffff !important;
  border-radius: 16px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
  border: none;
  padding: 38px 44px 30px 44px;
  position: relative;
  transition: all 0.3s ease;
}

@media (max-width: 575.98px) {
  .insure-quote-card {
    padding: 28px 20px 22px 20px;
    border-radius: 14px;
  }
  .insure-modal-main-title {
    font-size: 1.35rem;
  }
}

.insure-quote-card-sub {
  font-size: 1.15rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: -0.2px;
  line-height: 1.35;
  margin: 0 0 26px 0;
}

.insure-form-group {
  margin-bottom: 20px;
}

.insure-input-label {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  display: block;
}

.insure-form-input {
  height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
  background-color: #ffffff;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.insure-form-input:focus {
  border-color: #0066f5;
  box-shadow: 0 0 0 3px rgba(0, 102, 245, 0.18);
  outline: none;
}

.insure-form-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.insure-form-select {
  height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 42px 10px 16px;
  font-size: 0.96rem;
  font-weight: 500;
  color: #475569;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 10px;
  appearance: none;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.insure-form-select:focus {
  border-color: #0066f5;
  box-shadow: 0 0 0 3px rgba(0, 102, 245, 0.18);
  outline: none;
}

.ins-click-link {
  font-size: 0.86rem;
  color: #374151;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ins-click-link:hover {
  color: #0066f5;
}

.ins-click-link span {
  color: #0066f5;
  text-decoration: underline;
  font-weight: 600;
}

.insure-view-quotes-btn {
  background: #0066f5;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 13px 46px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 102, 245, 0.42);
  transition: all 0.22s ease;
  min-width: 210px;
  display: inline-block;
}

.insure-view-quotes-btn:hover {
  background: #0053cc;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 102, 245, 0.5);
}

.insure-renew-footer {
  font-size: 0.86rem;
  color: #374151;
  text-align: right;
  margin-top: 14px;
}

.insure-renew-footer a {
  color: #0066f5;
  text-decoration: underline;
  font-weight: 600;
}

/* Plan Comparison Result Cards */
.ins-quote-result-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.ins-quote-result-card:hover {
  border-color: #0066f5;
  box-shadow: 0 6px 18px rgba(0, 102, 245, 0.12);
  transform: translateY(-2px);
}

/* ==========================================================================
   MODERN SPLIT LOGIN POPUP (Matches Screenshot)
   ========================================================================== */
.login-popup-dialog {
  max-width: 740px;
  margin: 0.5rem auto;
  max-height: calc(100vh - 1rem);
  max-height: calc(100dvh - 1rem);
}

.login-popup-content {
  border-radius: 24px;
  max-height: inherit;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: none;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.login-popup-grid {
  display: flex;
  min-height: 480px;
}

/* Left Half - Brand Visual Column */
.login-popup-left {
  flex: 0 0 46%;
  background: #230ec9;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-left-header {
  background: linear-gradient(135deg, #1c09b8 0%, #2f15dc 55%, #462cf8 100%);
  background-image: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 24px, transparent 24px, transparent 48px);
  padding: 28px 24px 34px;
  position: relative;
  z-index: 3;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
  margin-bottom: -16px;
}

.login-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.12rem;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.login-brand-tag i {
  font-size: 1.3rem;
}

.login-headline {
  color: #ffffff;
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 0;
}

.login-headline span {
  display: block;
}

/* Full Width Advisor & Car Stage at Bottom */
.login-left-advisor {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 320px;
  overflow: hidden;
  line-height: 0;
  margin-top: auto;
}

.login-advisor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border-radius: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* Right Half - Form Column */
.login-popup-right {
  flex: 0 0 54%;
  background: #ffffff;
  padding: 28px 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.login-right-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.login-right-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
  margin: 0;
}

.login-popup-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #374151;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}

.login-popup-close:hover {
  background: #f3f4f6;
  color: #111827;
}

.login-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  display: block;
}

/* Phone Input Row */
.login-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.login-country-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  height: 48px;
  flex-shrink: 0;
}

.login-flag-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-country-code {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.login-phone-input {
  flex: 1;
  height: 48px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #111827;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.login-phone-input:focus {
  border-color: #230ec9;
  box-shadow: 0 0 0 3px rgba(35, 14, 201, 0.12);
  outline: none;
}

.login-phone-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

/* WhatsApp Checkbox */
.login-whatsapp-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.login-whatsapp-check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  accent-color: #230ec9;
  cursor: pointer;
}

.login-whatsapp-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  margin-bottom: 0;
  user-select: none;
}

/* Action Button */
.btn-login-get-otp {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f1f5f9;
  color: #94a3b8;
  transition: all 0.2s ease;
  margin-bottom: 20px;
  cursor: default;
}

.btn-login-get-otp.active-ready {
  background: #230ec9;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(35, 14, 201, 0.28);
}

.btn-login-get-otp.active-ready:hover {
  background: #1909a3;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(35, 14, 201, 0.35);
}

/* Keep verification reachable when the signup fields or mobile keyboard use extra height. */
#btnVerifyLogin {
  position: sticky;
  bottom: 0;
  z-index: 4;
  flex-shrink: 0;
  box-shadow: 0 -8px 16px rgba(255, 255, 255, 0.92);
}

/* Disclaimer & Legal Links */
.login-legal-disclaimer {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 0;
}

.login-legal-disclaimer a {
  color: #230ec9;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.login-legal-disclaimer a:hover {
  color: #1909a3;
}

/* OTP Verification Screen State (Matches Cars24 Verify your number screenshot) */
.login-otp-view {
  display: none;
}

.login-otp-view.show-otp {
  display: block;
}

.login-otp-back-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 1.35rem;
  color: #111827;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.login-otp-back-btn:hover {
  color: #230ec9;
  transform: translateX(-2px);
}

.login-otp-subtext {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 22px;
  line-height: 1.5;
}

.login-otp-subtext strong {
  font-weight: 700;
  color: #111827;
}

/* Single Pill Input Box with 4 Spaced Dashes / Digits */
.login-otp-unified-box {
  position: relative;
  width: 100%;
  height: 50px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  cursor: text;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
}

.login-otp-unified-box.focused {
  border-color: #230ec9;
  box-shadow: 0 0 0 3px rgba(35, 14, 201, 0.12);
}

.login-otp-hidden-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: text;
  font-size: 16px;
  z-index: 2;
  border: none;
  background: transparent;
}

.login-otp-slots-row {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10%;
  pointer-events: none;
  z-index: 1;
}

.login-otp-slot {
  font-size: 1.35rem;
  font-weight: 700;
  color: #94a3b8;
  min-width: 32px;
  text-align: center;
  transition: all 0.15s ease;
  user-select: none;
}

.login-otp-slot.has-digit {
  color: #111827;
  font-size: 1.45rem;
}

/* Resend Verification Code Row */
.login-resend-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  color: #4b5563;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.login-resend-link {
  color: #230ec9;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-resend-link:hover {
  text-decoration: underline;
  color: #1909a3;
}

.login-resend-timer {
  color: #64748b;
  font-size: 0.88rem;
}

/* Responsive adjustment for Mobile screens */
@media (max-width: 767px) {
  .login-popup-dialog {
    margin: 0.5rem auto;
  }
  .login-popup-content {
    border-radius: 20px;
  }
  .login-popup-grid {
    flex-direction: column;
    min-height: 0;
  }
  .login-popup-left {
    flex: 0 0 auto;
  }
  .login-left-header {
    padding: 24px 20px 28px;
  }
  .login-headline {
    font-size: 1.5rem;
  }
  .login-left-advisor {
    height: 200px;
  }
  .login-popup-right {
    padding: 24px 20px;
    flex: 0 0 auto;
  }
}

/* ==========================================================================
   USER DASHBOARD STYLES (Matches & Elevates Reference Screenshot)
   ========================================================================== */
.dashboard-page-wrapper {
  background-color: #f8fafc;
  min-height: 80vh;
}

/* User Profile Header Banner */
.dashboard-profile-header {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 28px 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
}

.profile-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #230ec9 0%, #4f35f8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(35, 14, 201, 0.25);
}

.avatar-status-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

/* Quick Metrics Strip */
.dashboard-stats-strip {
  border-color: #f1f5f9 !important;
}

.stat-mini-pill {
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
}

.stat-mini-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-mini-label {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

/* Left Sidebar Navigation Card (Matches Reference Screenshot) */
.dashboard-sidebar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
}

.sidebar-section-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px 10px;
}

.dashboard-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-nav-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 0.93rem;
  font-weight: 600;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 3px;
  cursor: pointer;
}

.dashboard-nav-link i {
  font-size: 1.15rem;
  color: #64748b;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dashboard-nav-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.dashboard-nav-link:hover i {
  color: #230ec9;
  transform: scale(1.1);
}

/* Active State (Matches Screenshot light blue pill) */
.dashboard-nav-link.active {
  background: #eef2ff;
  color: #230ec9;
  font-weight: 700;
}

.dashboard-nav-link.active i {
  color: #230ec9;
}

.account-tab-panel {
  min-width: 0;
}

.account-tab-panel .table {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.account-tab-panel .table th {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.account-empty-state {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: #64748b;
  text-align: center;
}

.account-empty-state > i {
  margin-bottom: 10px;
  color: #230ec9;
  font-size: 1.8rem;
}

.account-status-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}

.account-listing-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.account-listing-icon {
  display: flex;
  width: 150px;
  min-width: 110px;
  height: 120px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eef2ff;
  color: #230ec9;
  font-size: 3rem;
}

.account-listing-details { min-width: 0; }
.account-valuation {
  display: inline-block;
  padding: 9px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}
.account-valuation strong { color: #126bff; }

.kyc-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}
.kyc-step-indicator { display: flex; align-items: center; gap: 8px; color: #64748b; font-size: .88rem; }
.kyc-step-indicator > span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #cbd5e1; border-radius: 50%; background: #fff; font-weight: 700; }
.kyc-step-indicator.active, .kyc-step-indicator.completed { color: #230ec9; }
.kyc-step-indicator.active > span, .kyc-step-indicator.completed > span { border-color: #230ec9; background: #230ec9; color: #fff; }
.kyc-step-line { width: clamp(16px, 5vw, 70px); height: 1px; background: #cbd5e1; }

@media (max-width: 575.98px) {
  .kyc-stepper { gap: 6px; padding: 12px 6px; }
  .kyc-step-indicator { flex-direction: column; gap: 4px; font-size: .68rem; text-align: center; }
  .kyc-step-line { width: clamp(10px, 5vw, 28px); }
}

@media (max-width: 575.98px) {
  .account-status-card { grid-template-columns: 1fr; }
  .account-listing-card { align-items: flex-start; flex-direction: column; padding: 18px; }
  .account-listing-icon { width: 100%; height: 100px; }
}

.sidebar-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 14px 12px;
}

/* Dedicated Concierge Support Card */
.dashboard-concierge-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #e2e8f0;
}

.concierge-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e0e7ff;
  color: #230ec9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

/* Tab Content Panes */
.dashboard-tab-pane {
  display: none;
  animation: fadeInPane 0.25s ease-in-out;
}

.dashboard-tab-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Empty State Box (Exact layout & visual of reference screenshot) */
.dashboard-empty-state-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 60px 30px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
  text-align: center;
}

.empty-state-visual {
  display: inline-block;
  animation: floatEmptyCar 4s ease-in-out infinite alternate;
}

@keyframes floatEmptyCar {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.empty-car-svg {
  max-width: 100%;
  height: auto;
}

/* Vibrant Orange CTA Button matching screenshot */
.btn-warning-orange {
  background-color: #ff5722;
  border: none;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.btn-warning-orange:hover {
  background-color: #e64a19;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 87, 34, 0.35);
  color: #ffffff;
}

.max-w-450 {
  max-width: 450px;
}

/* Card Styling for Active Vehicles */
.car-display-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.car-display-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -8px rgba(15, 23, 42, 0.12) !important;
}

.car-card-img {
  height: 180px;
  object-fit: cover;
}

.btn-remove-wishlist {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-remove-wishlist:hover {
  transform: scale(1.1);
  background: #fee2e2;
}

.btn-white {
  background: #ffffff;
  color: #0f172a;
}

.btn-white.active {
  background: #230ec9 !important;
  color: #ffffff !important;
}

.dashboard-active-card {
  border-left: 4px solid #230ec9 !important;
}

/* ==========================================================================
   LIVE CAR AUCTION PORTAL STYLES (auction.php)
   ========================================================================== */
.auction-page-wrapper {
  background-color: #f8fafc;
}

/* Hero Section */
.auction-hero {
  background: linear-gradient(135deg, #0f0563 0%, #1e0dc4 40%, #361ce5 75%, #4f35f8 100%);
  position: relative;
}

.auction-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
                    radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.auction-live-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #ef4444;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseDotAnim 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
}

.pulse-dot-mini {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDotAnim 1.6s infinite;
}

@keyframes pulseDotAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.text-gradient-amber {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

.max-w-700 { max-width: 700px; }
.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }

/* Bidding Eligibility Card */
.auction-deposit-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.stat-ticker-box {
  padding: 10px;
}

.stat-ticker-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-ticker-lbl {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Nav Tabs */
.auction-nav-tabs .nav-link {
  border-radius: 50rem;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  margin-right: 8px;
  transition: all 0.2s ease;
}

.auction-nav-tabs .nav-link.active {
  background: #230ec9;
  color: #ffffff;
  border-color: #230ec9;
  box-shadow: 0 4px 14px rgba(35, 14, 201, 0.25);
}

.live-dot-mini {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

/* Vehicle Lot Cards */
.auction-lot-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.auction-lot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12) !important;
}

.auction-car-img {
  height: 200px;
  object-fit: cover;
}

.auction-timer-badge {
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
  font-family: monospace, "Inter", sans-serif;
}

.auction-score-badge {
  font-size: 0.78rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.auction-bid-box {
  background: #f8fafc;
  border-color: #e2e8f0 !important;
}

.current-bid-val {
  color: #230ec9;
}

.btn-quick-bid {
  font-weight: 700;
  font-size: 0.78rem;
  color: #230ec9;
  border-color: #cbd5e1;
  background: #ffffff;
  transition: all 0.2s ease;
}

.btn-quick-bid:hover {
  background: #230ec9;
  color: #ffffff;
  border-color: #230ec9;
  transform: translateY(-1px);
}

/* 4-Step Guide */
.auction-step-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auction-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.step-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #230ec9 0%, #4f35f8 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(35, 14, 201, 0.25);
}

.text-primary-light {
  color: #818cf8;
}

.fw-black {
  font-weight: 900;
}

/* ==========================================================================
   AUTOMOTIVE NEWS & REVIEWS PORTAL STYLES (news.php)
   ========================================================================== */
.news-page-wrapper {
  background-color: #f8fafc;
}

/* Breaking News Ticker */
.news-ticker-bar {
  font-size: 0.85rem;
}

.news-ticker-track {
  white-space: nowrap;
}

/* News Hero Section */
.news-hero {
  background: linear-gradient(135deg, #090242 0%, #1709a3 40%, #2f17dc 75%, #462cf8 100%);
}

.news-lead-card {
  min-height: 400px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-lead-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35) !important;
}

.news-lead-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: transform 0.5s ease;
}

.news-lead-card:hover .news-lead-img {
  transform: scale(1.04);
}

.news-lead-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(15, 23, 42, 0.95) 100%);
}

.author-avatar-mini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #230ec9;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.text-shadow-sm {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.backdrop-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.news-side-card {
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.news-side-card:hover {
  transform: translateX(4px);
  background-color: rgba(255, 255, 255, 0.18) !important;
}

/* Category Filters */
.category-pill {
  transition: all 0.2s ease;
}

.category-pill.active {
  background-color: #230ec9 !important;
  color: #ffffff !important;
  border-color: #230ec9 !important;
  box-shadow: 0 4px 12px rgba(35, 14, 201, 0.25);
}

/* Main Feed Cards */
.news-card {
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -8px rgba(15, 23, 42, 0.12) !important;
}

.news-thumb-img {
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Clamps */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar Widgets */
.news-sidebar-card {
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.trending-rank-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
  min-width: 24px;
}

.news-newsletter-card {
  background: linear-gradient(135deg, #1e0dc4 0%, #3b22ec 100%) !important;
}

/* Reader Poll */
.cursor-pointer {
  cursor: pointer;
}

.poll-progress-bar {
  height: 6px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.poll-progress-fill {
  height: 100%;
  background: #230ec9;
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* Video Reviews */
.video-review-card {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -8px rgba(15, 23, 42, 0.12) !important;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-review-card:hover .video-play-overlay {
  background: rgba(15, 23, 42, 0.15);
}

.video-review-card:hover .video-play-overlay i {
  transform: scale(1.15);
  color: #ef4444 !important;
}

/* ==========================================================================
   SELL CAR BOOKING WIZARD & LIFECYCLE TRACKER (CARS24 Style)
   ========================================================================== */
.sell-wizard-main-wrapper {
  background-color: #f8fafc;
  min-height: calc(100vh - 120px);
}

.sell-wizard-breadcrumb .breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
}

.sell-wizard-breadcrumb .breadcrumb-item a:hover {
  color: var(--primary-blue, #230ec9);
}

.sell-wizard-breadcrumb .breadcrumb-item.active {
  color: #0f172a;
  font-weight: 600;
}

/* Left Sidebar: Lifecycle Timeline */
.sell-lifecycle-card {
  border: 1px solid #edf2f7;
  background: #ffffff;
}

.lifecycle-timeline {
  display: flex;
  flex-direction: column;
}

.lifecycle-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  min-height: 52px;
}

.lifecycle-node {
  width: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 14px;
}

.lifecycle-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.lifecycle-line {
  width: 2px;
  flex-grow: 1;
  min-height: 38px;
  background: #e2e8f0;
  margin-top: 2px;
  margin-bottom: 2px;
  transition: background 0.3s ease;
}

/* Active Lifecycle Milestone (Matches Screenshot 1 double ring) */
.lifecycle-item.active .lifecycle-dot {
  width: 18px;
  height: 18px;
  border: 3px solid var(--primary-blue, #230ec9);
  background: #ffffff;
  box-shadow: inset 0 0 0 3px #ffffff, inset 0 0 0 7px var(--primary-blue, #230ec9);
}

.lifecycle-item.active .lifecycle-title {
  color: var(--primary-blue, #230ec9);
  font-weight: 700;
}

.lifecycle-item.completed .lifecycle-dot {
  background: #10b981;
  border-color: #10b981;
}

.lifecycle-item.completed .lifecycle-line {
  background: #10b981;
}

.lifecycle-item.completed .lifecycle-title {
  color: #0f172a;
  font-weight: 600;
}

.lifecycle-content {
  padding-top: 0px;
}

.lifecycle-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

.lifecycle-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Center Column: Sell Wizard Card */
.sell-wizard-card {
  border: 1px solid #edf2f7;
}

/* Sub-stepper horizontal navigation */
.sub-stepper-scrollable {
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.sub-stepper-scrollable::-webkit-scrollbar {
  display: none;
}

.sub-step-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  position: relative;
  cursor: default;
  white-space: nowrap;
}

.sub-step-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.sub-step-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  transition: color 0.25s ease;
}

/* Sub-step Active (Matches screenshots purple/blue underline) */
.sub-step-nav-item.active .sub-step-circle {
  background: var(--primary-blue, #230ec9);
  color: #ffffff;
}

.sub-step-nav-item.active .sub-step-name {
  color: var(--primary-blue, #230ec9);
  font-weight: 700;
}

.sub-step-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-blue, #230ec9);
  border-radius: 3px 3px 0 0;
}

/* Sub-step Completed */
.sub-step-nav-item.completed {
  cursor: pointer;
}

.sub-step-nav-item.completed .sub-step-circle {
  background: #0f172a;
  color: #ffffff;
}

.sub-step-nav-item.completed .sub-step-name {
  color: #0f172a;
}

/* Selected Tags Pill Strip (Matches Screenshots) */
.selected-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1effe;
  color: #3b28cc;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #e0dcfe;
  cursor: pointer;
  transition: all 0.2s ease;
}

.selected-tag-pill:hover {
  background: #e4dfff;
  border-color: #3b28cc;
  transform: translateY(-1px);
}

.selected-tag-pill i {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Search Bar Input */
.step-search-box input {
  font-size: 0.92rem;
  border-color: #e2e8f0;
  background-color: #ffffff;
}

.step-search-box input:focus {
  border-color: var(--primary-blue, #230ec9);
  box-shadow: 0 0 0 3px rgba(35, 14, 201, 0.12);
}

/* Step Option Rows (Matches Screenshots 1, 2, 3, 4, 5) */
.step-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 2px;
}

.step-item-row:hover {
  background: #f8fafc;
  transform: translateX(4px);
}

.step-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-item-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-item-icon-wrap img {
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

.step-item-car-thumb {
  width: 48px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}

.step-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}

.step-item-sub {
  font-size: 0.78rem;
  color: #64748b;
}

.step-item-arrow {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.step-item-row:hover .step-item-arrow {
  color: var(--primary-blue, #230ec9);
  transform: translateX(3px);
}

/* Price Estimate Stage */
.estimate-highlight-box {
  background: linear-gradient(135deg, #1e09b5 0%, #341be6 50%, #4c32f8 100%);
  box-shadow: 0 12px 30px -8px rgba(35, 14, 201, 0.4);
}

.estimate-glow-bg {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  top: -60px;
  right: -40px;
  pointer-events: none;
}

/* Inspection Mode Options */
.inspection-mode-option {
  background: #f8fafc;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.inspection-mode-option:hover {
  background: #f1f5f9;
}

.inspection-mode-option.selected {
  border-color: var(--primary-blue, #230ec9);
  background: #f5f3ff;
}

/* Inspection Date & Time Pills */
.date-picker-pill {
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  min-width: 90px;
}

.date-picker-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.date-picker-pill.selected {
  border-color: var(--primary-blue, #230ec9);
  background: #f5f3ff;
  color: var(--primary-blue, #230ec9);
  font-weight: 700;
}

.time-slot-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.time-slot-pill:hover {
  background: #f8fafc;
}

.time-slot-pill.selected {
  border-color: var(--primary-blue, #230ec9);
  background: #f5f3ff;
  color: var(--primary-blue, #230ec9);
}

/* Right Sidebar: Why choose Jain Car Bazaar (Matches Screenshot) */
.why-choose-sidebar-card {
  border: 1px solid #edf2f7;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1effe;
  color: var(--primary-blue, #230ec9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.text-xs {
  font-size: 0.72rem;
}

/* ==========================================================================
   NEW CAR LISTING PAGE (Matches Reference Screenshot)
   ========================================================================== */

.newcar-page-wrapper {
  background-color: #f8fafc;
  min-height: 100vh;
}

/* Header strip */
.newcar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.newcar-page-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.newcar-page-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.3px;
}

.newcar-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  border: 1px solid #e2e8f0;
}

.newcar-controls-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sort pill button */
.newcar-sort-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.newcar-sort-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

/* Search rounded pill box */
.newcar-search-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newcar-search-box:focus-within {
  border-color: #0066f5;
  box-shadow: 0 0 0 3px rgba(0, 102, 245, 0.12);
}

.newcar-search-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.88rem;
  color: #0f172a;
  width: 100%;
}

.newcar-search-input::placeholder {
  color: #94a3b8;
}

.newcar-search-icon {
  color: #64748b;
  font-size: 0.95rem;
}

/* Left Sidebar Card */
.newcar-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 90px;
}

/* Filter Checkbox rows */
.newcar-filter-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newcar-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #475569;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  transition: color 0.15s ease;
  margin: 0;
}

.newcar-checkbox-label:hover {
  color: #0f172a;
}

.newcar-checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  accent-color: #0066f5;
  cursor: pointer;
}

/* View More button */
.newcar-view-more-btn {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.newcar-view-more-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Accordion filter group */
.newcar-filter-accordion {
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  margin-top: 14px;
}

.newcar-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: color 0.15s ease;
}

.newcar-accordion-header:hover {
  color: #0066f5;
}

.newcar-accordion-header i.newcar-acc-icon {
  font-size: 1.05rem;
  color: #64748b;
  margin-right: 8px;
}

.newcar-accordion-header i.newcar-chevron-icon {
  font-size: 0.8rem;
  color: #64748b;
  transition: transform 0.2s ease;
}

.newcar-accordion-header[aria-expanded="true"] i.newcar-chevron-icon {
  transform: rotate(180deg);
}

.newcar-accordion-body {
  padding-top: 12px;
  padding-bottom: 4px;
}

/* Car Listing Cards */
.newcar-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 18px;
  margin-bottom: 22px;
  padding: 16px;
  gap: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.newcar-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* Card Left Media */
.newcar-card-media {
  flex: 0 0 340px;
  max-width: 340px;
  position: relative;
  background: #f8fafc;
  overflow: hidden;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newcar-card-img {
  width: 100%;
  height: 100%;
  min-height: 205px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  transition: transform 0.3s ease;
}

.newcar-card:hover .newcar-card-img {
  transform: scale(1.02);
}

.newcar-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #000000;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}

/* Bottom pagination dots pill */
.newcar-dots-pill {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 3px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.newcar-dot {
  width: 5px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 50%;
}

.newcar-dot.active {
  width: 6px;
  height: 6px;
  background: #0f172a;
}

/* Card Body */
.newcar-card-body {
  flex: 1;
  padding: 4px 8px 4px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.newcar-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.newcar-make-name {
  font-size: 0.86rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2px;
}

.newcar-model-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 0;
}

.newcar-price-wrap {
  text-align: right;
  flex-shrink: 0;
}

.newcar-price-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.newcar-price-sub {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

/* Specs columns */
.newcar-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 14px 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f8fafc;
}

.newcar-spec-item {
  display: flex;
  flex-direction: column;
}

.newcar-spec-item:not(:first-child) {
  border-left: 1px solid #f1f5f9;
  padding-left: 16px;
}

.newcar-spec-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.newcar-spec-lbl {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

/* Features checklist */
.newcar-feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.newcar-feature-bullets li {
  font-size: 0.82rem;
  color: #334155;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.newcar-check-icon {
  color: #0d9488;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Actions footer */
.newcar-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  gap: 16px;
}

.newcar-compare-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.newcar-compare-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0066f5;
  border-radius: 4px;
  cursor: pointer;
}

.newcar-deal-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 28px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.newcar-deal-btn:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
}

/* Floating Compare Dock */
.newcar-compare-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: #0f172a;
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1050;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.newcar-compare-dock.visible {
  transform: translateX(-50%) translateY(0);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .newcar-card {
    flex-direction: column;
  }
  
  .newcar-card-media {
    flex: auto;
    max-width: 100%;
    min-height: 220px;
  }

  .newcar-card-body {
    padding: 18px;
  }
  
  .newcar-search-box {
    min-width: 100%;
  }
}

/* ==========================================================================
   NEW CAR DETAILS PAGE EXTENSIONS (Variants, Color Palette, Rivals, Pros/Cons)
   ========================================================================== */

/* Color Swatches Strip */
.newcar-color-swatches {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.newcar-color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1px #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.newcar-color-swatch:hover {
  transform: scale(1.12);
}

.newcar-color-swatch.active {
  box-shadow: 0 0 0 2.5px var(--primary-blue, #0066f5);
  transform: scale(1.15);
}

/* Variant Cards & Rows */
.newcar-variant-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.newcar-variant-item:hover {
  border-color: #0066f5;
  box-shadow: 0 4px 14px rgba(0, 102, 245, 0.08);
}

.newcar-variant-item.recommended {
  border-color: #0066f5;
  background: #f8fbff;
}

/* Pros and Cons Box */
.newcar-pros-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 20px;
}

.newcar-cons-card {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 16px;
  padding: 20px;
}

.newcar-pro-item,
.newcar-con-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: #334155;
}

.newcar-pro-item i {
  color: #16a34a;
  font-size: 1rem;
  margin-top: 2px;
}

.newcar-con-item i {
  color: #e11d48;
  font-size: 1rem;
  margin-top: 2px;
}

/* Rival Cars Grid */
.newcar-rival-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.22s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.newcar-rival-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-color: #0066f5;
}

.newcar-rival-img-wrap {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: #f8fafc;
}

.newcar-rival-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newcar-rival-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



/* ==========================================================================
   NEWS DETAILS PAGE STYLES
   ========================================================================== */
.news-details-wrapper {
  background-color: #f8fafc;
  min-height: 80vh;
}

.news-article-sheet {
  background: #ffffff;
  border-radius: 20px;
}

.news-article-main-title {
  font-size: 2.15rem;
  letter-spacing: -0.5px;
  font-weight: 800;
  color: #0f172a;
}

@media (max-width: 767px) {
  .news-article-main-title {
    font-size: 1.6rem;
  }
}

.news-article-editorial-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.news-article-editorial-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.news-article-editorial-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.news-article-editorial-body p {
  margin-bottom: 1.25rem;
}

.news-article-editorial-body blockquote {
  border-left: 4px solid var(--primary-blue, #2f17dc);
  background: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #1e293b;
  margin: 1.75rem 0;
  font-size: 1.08rem;
}

.news-article-editorial-body ul,
.news-article-editorial-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.news-article-editorial-body li {
  margin-bottom: 0.6rem;
}

.news-tag-pill {
  transition: all 0.2s ease;
}

.news-tag-pill:hover {
  background-color: var(--primary-blue, #2f17dc) !important;
  color: #ffffff !important;
  border-color: var(--primary-blue, #2f17dc) !important;
  transform: translateY(-1px);
}

.news-nav-card {
  transition: all 0.25s ease;
}

.news-nav-card:hover {
  border-color: var(--primary-blue, #2f17dc) !important;
  background-color: #f8fafc;
  transform: translateY(-2px);
}

.hover-primary:hover {
  color: var(--primary-blue, #2f17dc) !important;
}

.hover-bg-light:hover {
  background-color: #f1f5f9;
}

/* ==========================================================================
   PRE-DELIVERY INSPECTION (PDI) STYLES
   ========================================================================== */
.pdi-page-wrapper {
  background-color: #ffffff;
}

.max-w-700 {
  max-width: 700px;
}

.max-w-900 {
  max-width: 900px;
}

.letter-spacing-1 {
  letter-spacing: 0.08em;
}

/* Hero Section */
.pdi-hero {
  background: url('../images/pdi/hero-bg.jpg') center center / cover no-repeat;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.pdi-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(15, 23, 42, 0.52) 100%);
}

.pdi-hero-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.pdi-hero-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: #cbd5e1;
  max-width: 620px;
  line-height: 1.6;
}

.pdi-hero-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.pdi-hero-badge-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: #f8fafc;
  font-weight: 500;
}

/* Floating Selector Card */
.pdi-selector-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.pdi-selector-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

.pdi-option-card {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
}

.pdi-option-card:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.pdi-option-card.active {
  border-color: #f97316;
  background: #fffaf5;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.08);
}

.pdi-radio-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.pdi-option-card.active .pdi-radio-indicator {
  border-color: #f97316;
}

.pdi-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}

.pdi-option-card.active .pdi-radio-dot {
  background: #f97316;
}

.pdi-option-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.pdi-option-sub {
  font-size: 0.82rem;
  line-height: 1.35;
}

.pdi-option-thumb {
  width: 85px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdi-option-thumb img {
  max-height: 52px;
  max-width: 100%;
  object-fit: contain;
}

.pdi-cta-button {
  background: #f97316;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.pdi-cta-button:hover {
  background: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28);
  color: #ffffff;
}

/* 75% Hidden Issues Stats */
.pdi-section-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.pdi-stat-box {
  transition: all 0.25s ease;
}

.pdi-stat-box:hover {
  border-color: #cbd5e1 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06) !important;
}

.pdi-stat-img-wrapper {
  width: 95px;
  height: 80px;
}

.pdi-stat-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdi-stat-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.pdi-stat-card-text {
  font-size: 0.88rem;
  line-height: 1.45;
}

.pdi-info-bar-box {
  background: #f8fafc;
}

.pdi-info-bar-toggle {
  background: #f8fafc !important;
}

.pdi-chevron-icon.rotate-180 {
  transform: rotate(180deg);
}

/* Dark Laurel Trust Strip */
.pdi-trust-strip {
  background: url('../images/pdi/trust-bg.jpg') center center / cover no-repeat;
  position: relative;
}

.pdi-trust-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.96) 100%);
}

.pdi-crown-tag {
  color: #f59e0b;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.pdi-laurel-badge {
  display: inline-block;
  position: relative;
}

.pdi-laurel-svg-wrap {
  position: relative;
  width: 150px;
  height: 105px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdi-laurel-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pdi-laurel-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pdi-laurel-val {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2px;
}

.pdi-laurel-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 576px) {
  .pdi-laurel-svg-wrap {
    width: 125px;
    height: 90px;
  }
  .pdi-laurel-val {
    font-size: 1.25rem;
  }
  .pdi-laurel-lbl {
    font-size: 0.65rem;
  }
}

/* 200+ Quality Checks Tabs */
.pdi-tab-btn {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
  width: 100%;
}

.pdi-tab-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.pdi-tab-btn.active {
  background: #fff7ed;
  border-color: #f97316;
  color: #ea580c;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
}

.pdi-tab-btn.active .pdi-tab-icon {
  color: #ea580c;
}

.pdi-tab-btn.active .bi-chevron-right {
  color: #ea580c !important;
  transform: translateX(3px);
}

.pdi-tab-icon {
  font-size: 1.2rem;
  color: #64748b;
  display: flex;
  align-items: center;
}

.pdi-tab-label {
  font-size: 0.95rem;
  font-weight: 600;
}

.pdi-checklist-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  min-height: 380px;
}

.pdi-check-item {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.4;
}

.pdi-sample-report-btn {
  cursor: pointer;
  transition: all 0.25s ease;
  background: #ffffff;
}

.pdi-sample-report-btn:hover {
  border-color: #2563eb !important;
  background: #f8fafc !important;
  transform: translateY(-2px);
}

/* 3-Step Inspection Cards */
.pdi-step-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.25s ease;
}

.pdi-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.pdi-step-img-box {
  height: 190px;
  overflow: hidden;
}

.pdi-step-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pdi-step-card:hover .pdi-step-img-box img {
  transform: scale(1.04);
}

.pdi-step-num-badge {
  font-size: 1.85rem;
  font-weight: 900;
  color: #f97316;
  line-height: 1;
}

.pdi-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

/* Reviews Carousel */
#pdiReviewsRow {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#pdiReviewsRow::-webkit-scrollbar {
  display: none;
}

.pdi-slider-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.2s;
}

.pdi-slider-nav-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.pdi-reviewer-avatar {
  width: 44px;
  height: 44px;
  font-size: 0.95rem;
}

.pdi-review-quote {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Video Card */
.pdi-video-container {
  border-radius: 20px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
  max-width: 920px;
}

.pdi-play-button {
  background: transparent;
  cursor: pointer;
  z-index: 10;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdi-play-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.55);
  z-index: 2;
  position: relative;
  transition: transform 0.2s;
}

.pdi-play-button:hover .pdi-play-circle {
  transform: scale(1.08);
}

.pdi-play-pulse {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.35);
  animation: pdiPulse 2s infinite ease-out;
}

@keyframes pdiPulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* FAQ Accordion */
.pdi-accordion .accordion-item {
  border-color: #e2e8f0;
}

.pdi-accordion .accordion-button {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 18px 22px;
  color: #0f172a;
  background: #ffffff;
}

.pdi-accordion .accordion-button:not(.collapsed) {
  background: #f8fafc;
  color: #2563eb;
  box-shadow: none;
}

.pdi-accordion .accordion-button:focus {
  box-shadow: none;
}

/* Nearby Cities */
.pdi-city-box {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pdi-city-box:hover {
  border-color: #2563eb !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08) !important;
}

.pdi-city-box:hover .bi-chevron-right {
  color: #2563eb !important;
  transform: translateX(3px);
}

/* ==========================================================================
   USED CAR INSPECTION SERVICES (.uc-*) STYLES
   ========================================================================== */
.uc-page-wrapper {
  background-color: #ffffff;
}

/* Hero Section */
.uc-hero {
  background: url('../images/pdi/used-car-hero-xray.jpg') center right / cover no-repeat, linear-gradient(135deg, #070b19 0%, #0c1228 50%, #111a38 100%);
  min-height: 540px;
  display: flex;
  align-items: center;
}

.uc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 11, 25, 0.96) 0%, rgba(7, 11, 25, 0.88) 45%, rgba(7, 11, 25, 0.52) 100%);
}

.uc-hero-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.uc-hero-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: #cbd5e1;
  max-width: 600px;
  line-height: 1.6;
}

.uc-brand-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.uc-price-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  padding: 6px 16px;
}

.uc-hero-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: #f8fafc;
  font-weight: 500;
}

/* Inline Check Form Card */
.uc-form-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.uc-form-title {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.uc-cta-btn {
  background: #f97316;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.uc-cta-btn:hover {
  background: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28);
  color: #ffffff;
}

.uc-brands-pills button {
  transition: all 0.2s ease;
}

.uc-brands-pills button:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* Strip Ribbon */
.uc-strip-ribbon {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uc-strip-ribbon:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06) !important;
}

.uc-ribbon-btn {
  background: #f97316;
  border: none;
  color: #ffffff;
}

.uc-ribbon-btn:hover {
  background: #ea580c;
  color: #ffffff;
}

/* Section Headings */
.uc-section-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* Comparison Cards */
.uc-compare-card {
  transition: all 0.25s ease;
}

.uc-compare-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

.uc-badge-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.uc-compare-img-box {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-compare-img-box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* 300+ Quality Checks Cards */
.uc-quality-card {
  transition: all 0.25s ease;
}

.uc-quality-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08) !important;
}

.uc-quality-img-box {
  height: 190px;
  overflow: hidden;
}

.uc-quality-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.uc-quality-card:hover .uc-quality-img-box img {
  transform: scale(1.04);
}

.uc-sample-btn {
  border-width: 2px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.uc-sample-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

/* Guarantee Strip */
.uc-guarantee-strip {
  background: radial-gradient(circle at center, #065f46 0%, #043a2c 100%);
  position: relative;
}

.uc-guarantee-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: -0.02em;
}

.uc-guarantee-seal {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Step Circles */
.uc-step-circle {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* Orbital Container */
.uc-orbital-container {
  background: #ffffff;
  border-radius: 16px;
}

/* FAQ Accordion */
.uc-accordion .accordion-item {
  border-color: #e2e8f0;
}

.uc-accordion .accordion-button {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 18px 22px;
  color: #0f172a;
  background: #ffffff;
}

.uc-accordion .accordion-button:not(.collapsed) {
  background: #f8fafc;
  color: #2563eb;
  box-shadow: none;
}

.uc-accordion .accordion-button:focus {
  box-shadow: none;
}

/* ==========================================================================
   NEW CAR PRE-DELIVERY INSPECTION (PDI) STYLES (.ncpdi-*)
   ========================================================================== */
.ncpdi-page-wrapper {
  color: #1e293b;
  overflow-x: hidden;
}

.ncpdi-hero {
  background: linear-gradient(135deg, #091224 0%, #111e38 50%, #1e293b 100%);
  position: relative;
  overflow: hidden;
  padding: 50px 0 60px;
}

.ncpdi-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.ncpdi-brand-pill {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.ncpdi-hero-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.ncpdi-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 620px;
}

.ncpdi-price-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 16px;
  border-radius: 50px;
}

.ncpdi-hero-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ncpdi-form-card {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 2;
}

.ncpdi-form-title {
  font-size: 1.25rem;
  letter-spacing: -0.3px;
}

.ncpdi-cta-btn {
  background: #f59e0b;
  border: none;
  color: #0f172a;
  font-weight: 700;
  transition: all 0.25s ease;
}

.ncpdi-cta-btn:hover {
  background: #d97706;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.ncpdi-section-heading {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.ncpdi-issue-icon {
  width: 58px;
  height: 58px;
}

.ncpdi-tab-btn {
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  cursor: pointer;
  background: #ffffff;
}

.ncpdi-tab-btn:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

.ncpdi-tab-btn.active {
  border-color: #2563eb !important;
  background-color: #eff6ff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.ncpdi-tab-btn.active .bi-chevron-right {
  color: #2563eb !important;
}

.ncpdi-tab-ico {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ncpdi-accordion .accordion-item {
  border-color: #e2e8f0;
}

.ncpdi-accordion .accordion-button {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 18px 22px;
  color: #0f172a;
  background: #ffffff;
}

.ncpdi-accordion .accordion-button:not(.collapsed) {
  background: #f8fafc;
  color: #2563eb;
  box-shadow: none;
}

.ncpdi-accordion .accordion-button:focus {
  box-shadow: none;
}

/* Keep used car cards at a steady width when filters return fewer matches. */
.used-cars-results {
  container: used-cars-results / inline-size;
}

.used-cars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.used-cars-grid-item {
  min-width: 0;
}

.used-cars-grid-item .listing-car-card {
  width: 100%;
  height: 100%;
  min-width: 0;
}

.used-cars-grid-full {
  grid-column: 1 / -1;
}

@container used-cars-results (max-width: 850px) {
  .used-cars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container used-cars-results (max-width: 560px) {
  .used-cars-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Shared compare controls and side-by-side car comparison page */
.car-compare-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.2;
  padding: .45rem .75rem;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.car-compare-toggle:hover,
.car-compare-toggle.active { color: #3420e8; border-color: #5142ff; background: #f1f0ff; }
.car-compare-dock {
  position: fixed;
  z-index: 1040;
  left: 50%;
  bottom: 18px;
  width: min(720px, calc(100vw - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 14px 45px rgba(20,32,70,.2);
  transform: translate(-50%, calc(100% + 30px));
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}
.car-compare-dock.visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.car-compare-dock-copy { min-width: 0; display: flex; flex-direction: column; gap: .12rem; }
.car-compare-dock-copy strong { color: #101828; }
.car-compare-dock-copy small { max-width: 390px; overflow: hidden; color: #64748b; text-overflow: ellipsis; white-space: nowrap; }
.comparison-empty { margin: 3rem auto; max-width: 600px; padding: 3.5rem 1.5rem; border: 1px dashed #cbd5e1; border-radius: 24px; background: #fff; text-align: center; }
.comparison-empty > i { display: inline-flex; margin-bottom: 1rem; color: #4535f3; font-size: 2.5rem; }
.comparison-summary-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.comparison-summary-card { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-width: 0; padding: 1rem; border: 1px solid #dfe6f0; border-radius: 16px; background: #fff; }
.comparison-summary-card > div { min-width: 0; }
.comparison-summary-card span { color: #64748b; font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.comparison-summary-card h3 { display: -webkit-box; overflow: hidden; margin: .25rem 0; color: #111827; font-size: 1rem; font-weight: 750; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.comparison-summary-card strong { color: #3525df; }
.comparison-table-wrap { overflow: auto; border: 1px solid #dfe6f0; border-radius: 18px; background: #fff; }
.comparison-table { min-width: 760px; margin: 0; }
.comparison-table > :not(caption) > * > * { padding: .85rem 1rem; border-color: #e6ebf2; }
.comparison-table thead th { min-width: 210px; vertical-align: top; background: #f8fafc; }
.comparison-table thead th:first-child { min-width: 155px; vertical-align: middle; }
.comparison-table tbody th { position: sticky; left: 0; z-index: 1; width: 155px; background: #f8fafc; color: #334155; font-size: .9rem; }
.comparison-table tbody td { min-width: 210px; color: #172033; }
.compare-vehicle-head { display: flex; align-items: flex-start; flex-direction: column; gap: .5rem; }
.compare-vehicle-head img,.compare-vehicle-placeholder { width: 100%; height: 130px; border-radius: 12px; background: #eef2f7; object-fit: contain; }
.compare-vehicle-placeholder { display: grid; place-items: center; color: #94a3b8; font-size: 2.5rem; }
.compare-vehicle-head h2 { margin: 0; color: #111827; font-size: .96rem; font-weight: 750; line-height: 1.35; }
@media (max-width: 576px) {
  .car-compare-dock { bottom: 10px; align-items: stretch; flex-direction: column; gap: .55rem; border-radius: 16px; }
  .car-compare-dock > .d-flex { justify-content: flex-end; }
  .car-compare-dock-copy small { max-width: calc(100vw - 60px); }
  .listing-location-footer { flex-wrap: wrap; }
}

/* ==========================================================================
   CAREERS PAGE STYLES (.career-*)
   ========================================================================== */
.career-page-wrapper {
  color: #1e293b;
  overflow-x: hidden;
  background-color: #f8fafc;
}

.career-hero {
  background: radial-gradient(circle at 50% 120%, rgba(59, 34, 236, 0.45) 0%, #09061c 70%, #03020a 100%);
  color: #ffffff;
  padding: 85px 0 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.career-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 15% 25%, rgba(96, 165, 250, 0.12) 0%, transparent 55%),
              radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.1) 0%, transparent 55%);
  pointer-events: none;
}

.career-badge-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.career-hero-title {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-top: 18px;
  margin-bottom: 20px;
}

.career-hero-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.career-hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 35px auto;
  font-weight: 400;
}

.career-neon-line {
  width: 140px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #3b22ec, #60a5fa, transparent);
  margin: 18px auto 26px auto;
  border-radius: 9999px;
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.8);
}

.career-stats-bar {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px 30px;
  margin-top: 45px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.career-stat-item {
  text-align: center;
}

.career-stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 6px;
}

.career-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Culture & Pillars */
.career-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 32px 26px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.career-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.career-pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

/* Perks & Benefits */
.career-perk-card {
  background: #ffffff;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: all 0.25s ease;
}

.career-perk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
  border-color: #bfdbfe;
}

.career-perk-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

/* Job Board Filters */
.career-filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 50px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.career-filter-btn:hover {
  border-color: #3b82f6;
  color: #2563eb;
  background: #f8fafc;
}

.career-filter-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

/* Job Cards */
.career-job-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  transition: all 0.25s ease;
  position: relative;
}

.career-job-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.career-job-title {
  font-size: 1.25rem;
  font-weight: 750;
  color: #0f172a;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.career-tag-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Hiring Steps */
.career-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  height: 100%;
}

.career-step-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 auto 16px auto;
}

/* Testimonial Quote Cards */
.career-quote-card {
  background: #ffffff;
  border: 1px solid #e8eef5;
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.career-quote-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
}

/* Talent Community Banner */
.career-pitch-box {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border-radius: 24px;
  padding: 48px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.career-pitch-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .career-hero {
    padding: 60px 0 50px 0;
  }
  .career-pitch-box {
    padding: 30px 20px;
  }
  .career-stats-bar {
    padding: 18px 12px;
  }
  .career-stat-number {
    font-size: 1.7rem;
  }
}

/* ==========================================================================
   ALL BRANDS PAGE STYLES (.allbrands-*)
   ========================================================================== */
.allbrands-page-wrapper {
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
}

.allbrands-hero {
  background: linear-gradient(135deg, #091224 0%, #111e38 50%, #1e293b 100%);
  color: #ffffff;
  padding: 55px 0 45px 0;
  position: relative;
  overflow: hidden;
}

.allbrands-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 55%),
              radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.allbrands-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.allbrands-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.allbrands-breadcrumb a:hover {
  color: #ffffff;
}

.allbrands-breadcrumb span.active {
  color: #fcd34d;
  font-weight: 600;
}

.allbrands-hero-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 850;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.allbrands-hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.allbrands-search-wrapper {
  position: relative;
  max-width: 640px;
}

.allbrands-search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: all 0.25s ease;
}

.allbrands-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.allbrands-search-input:focus {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.allbrands-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #fcd34d;
  font-size: 1.25rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.allbrands-search-input:focus + .allbrands-search-icon {
  color: #2563eb;
}

.allbrands-search-clear {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: none;
  font-size: 1.1rem;
}

/* Category Filters */
.allbrands-filter-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.allbrands-filter-chip:hover {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #cbd5e1;
}

.allbrands-filter-chip.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

/* Alphabet Jump Strip */
.allbrands-az-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.allbrands-az-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.allbrands-az-btn:hover,
.allbrands-az-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Brand Cards Grid */
.allbrands-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.allbrands-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

.allbrands-logo-box {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.allbrands-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.allbrands-logo-initials {
  font-size: 1.25rem;
  font-weight: 850;
  color: #1e3a8a;
  letter-spacing: -0.5px;
}

.allbrands-brand-name {
  font-size: 1.15rem;
  font-weight: 750;
  color: #0f172a;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}

.allbrands-card-stats {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 16px;
}

.allbrands-btn-used {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.allbrands-btn-used:hover {
  background: #2563eb;
  color: #ffffff;
}

.allbrands-btn-new {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 7px 12px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.allbrands-btn-new:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* Category Badges */
.allbrands-badge-pop {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.allbrands-badge-lux {
  background: #ede9fe;
  color: #6b21a8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.allbrands-badge-ev {
  background: #dcfce7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Section Header in Alphabet Grouping */
.allbrands-letter-anchor {
  font-size: 1.4rem;
  font-weight: 850;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.allbrands-letter-anchor::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #f1f5f9;
}

/* Empty search state */
.allbrands-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px dashed #cbd5e1;
  margin: 30px 0;
  display: none;
}

@media (max-width: 768px) {
  .allbrands-hero {
    padding: 40px 0 35px 0;
  }
  .allbrands-hero-title {
    font-size: 1.85rem;
  }
  .allbrands-az-strip {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 10px 14px;
  }
  .allbrands-az-btn {
    flex-shrink: 0;
  }
}
