     @import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&display=swap');
     @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

     * {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
     }

   :root {
  /* Primary Colors from Logo */
  --cb-primary: #F70404;
  --cb-primary-600: #D40000;
  --cb-primary-500: #FF2A2A;
  --cb-primary-400: #FF5555;
  --cb-primary-300: #FF8080;
  --cb-primary-100: #FFE5E5;
  
  /* Neutral Colors from Logo */
  --cb-dark: #000000;
  --cb-dark-800: #1A1A1A;
  --cb-dark-600: #404040;
  --cb-dark-400: #757575;
  --cb-muted: #6B7280;
  --cb-border: #E5E7EB;
  --cb-light: #F8FAFC;
  
  /* Background Colors */
  --background-color: #FFFFFF;
  --surface-color: #F9FAFB;
  --card-background: #FFFFFF;
  
  /* Typography */
  --playfair-font: "Bitter", serif;
  --body-font: "Inter", sans-serif;
  
  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

/* ===== RESET AND BASE STYLES ===== */


body {
  font-family: var(--body-font);
  background-color: var(--background-color);
  color: var(--cb-dark);
  line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--playfair-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cb-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h5 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1.125rem, 1.5vw, 1.25rem); }

.text-primary { color: var(--cb-primary) !important; }
.text-dark { color: var(--cb-dark) !important; }
.text-muted { color: var(--cb-muted) !important; }

/* ===== BUTTON SYSTEM ===== */
.btn {
  font-family: var(--body-font);
  font-weight: 600;
  padding: 0.55rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid black;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cb-primary-600), var(--cb-primary));
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--cb-primary), var(--cb-primary-600));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #FFFFFF;
}

/* ===== HEADER & NAVIGATION ===== */
.header-navbar {
  background: var(--background-color);
  box-shadow: var(--shadow-sm);
  z-index: 999999999;
}

.header-navbar .navbar-brand .brand-text {
  letter-spacing: 0.3px;
  font-weight: 700;
  color: var(--cb-dark);
}

.header-navbar .nav-link {
  color: var(--cb-dark);
  font-weight: 500;
  transition: color 0.2s ease;
  font-family: var(--playfair-font);
  position: relative;
  padding: 0.5rem 1rem;
}

.header-navbar .nav-link:hover {
  color: var(--cb-primary);
}

.header-navbar .nav-link.active {
  color: var(--cb-primary);
}

.header-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: -0.6rem;
  height: 2px;
  background: linear-gradient(90deg, var(--cb-primary-600), var(--cb-primary));
}

.header-navbar .dropdown-menu {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--cb-border);
}

.header-navbar .dropdown-item {
  color: var(--cb-dark);
  transition: all 0.2s ease;
  font-family: var(--playfair-font);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
}

.dropdown-item.active {
  background-color: var(--cb-primary) !important;
  color: #FFFFFF !important;
}

.header-navbar .dropdown-item:hover {
  color: var(--cb-primary-600) !important;
  background: rgba(247, 4, 4, 0.06);
}

/* Search Component */
.header-search .form-control {
  border-radius: var(--radius-full);
  border: 1px solid var(--cb-border);
  border-top-left-radius: 20px !important;
  border-bottom-left-radius: 20px !important;
  height: 46px;
  transition: all 0.3s ease;
  padding: 0 1rem;
}

.header-search .form-control:focus {
  border-color: var(--cb-primary);
  box-shadow: 0 0 0 0.2rem rgba(247, 4, 4, 0.1);
}

.header-search .btn-search {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--cb-primary-600), var(--cb-primary));
  border: none;
  border-radius: var(--radius-full);
  padding: 0 1.5rem;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.header-search .btn-search:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.header-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--cb-primary-600), var(--cb-primary));
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Extra Large Devices (xl) - 1200px and up */
@media (min-width: 1200px) {
  .header-navbar .navbar-nav {
    gap: 0.5rem;
  }
  
  .header-navbar .nav-link {
    padding: 0.5rem 1rem;
  }
  
  .header-search {
    min-width: 300px;
  }
}

/* Large Devices (lg) - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
  .header-navbar .navbar-nav {
    gap: 0.25rem;
  }
  
  .header-navbar .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
  }
  
  .header-search {
    min-width: 250px;
  }
  
  .header-search .form-control {
    font-size: 0.9rem;
  }
  
  .header-search .btn-search {
    padding: 0 1.25rem;
    font-size: 0.9rem;
  }
}

/* Medium Devices (md) and below - 991px and down */
@media (max-width: 991px) {
  .header-navbar {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
  
  .header-navbar .navbar-brand img {
    height: 50px;
  }
  
  .header-navbar .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--cb-border);
  }
  
  .header-navbar .navbar-nav {
    width: 100%;
  }
  
  .header-navbar .nav-item {
    margin-bottom: 0.5rem;
  }
  
  .header-navbar .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }
  
  .header-navbar .nav-link:hover {
    background: rgba(247, 4, 4, 0.06);
  }
  
  .header-navbar .nav-link.active::after {
    display: none;
  }
  
  .header-navbar .nav-link.active {
    background: rgba(247, 4, 4, 0.1);
  }
  
  .header-navbar .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    background: transparent;
  }
  
  .header-navbar .dropdown-item {
    padding: 0.5rem 1rem;
    margin-bottom: 0.25rem;
    background: rgba(0, 0, 0, 0.02);
  }
  
  .header-search {
    width: 100%;
    margin-top: 1rem;
  }
  
  .header-search .input-group {
    width: 100%;
  }
  
  .header-search .form-control {
    flex: 1;
  }
  
  .header-search .btn-search {
    padding: 0 1rem;
  }
  
  .navbar-toggler {
    padding: 0.5rem;
    border-radius: var(--radius-md);
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(247, 4, 4, 0.1);
  }
}

/* Small Devices (sm) - 576px to 767px */
@media (max-width: 767px) {
  .header-navbar .navbar-brand img {
    height: 45px;
  }
  
  .header-navbar .nav-link {
    font-size: 0.95rem;
  }
  
  .header-search .form-control {
    height: 44px;
    font-size: 0.9rem;
  }
  
  .header-search .btn-search {
    height: 44px;
    padding: 0 1rem;
    font-size: 0.9rem;
  }
}

/* Extra Small Devices (xs) - below 576px */
@media (max-width: 575px) {
  .header-navbar {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  .header-navbar .navbar-brand img {
    height: 40px;
  }
  
  .header-navbar .nav-link {
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .header-navbar .dropdown-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .header-search .form-control {
    height: 42px;
    font-size: 0.85rem;
    padding: 0 0.75rem;
  }
  
  .header-search .btn-search {
    height: 42px;
    padding: 0 0.75rem;
    font-size: 0.85rem;
  }
  
  .header-accent {
    height: 2px;
  }
}

/* Landscape orientation for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
  .header-navbar .navbar-collapse {
    max-height: 70vh;
    overflow-y: auto;
  }
  
  .header-navbar .nav-link {
    padding: 0.5rem 1rem;
  }
  
  .header-navbar .nav-item {
    margin-bottom: 0.25rem;
  }
}
/* ===== CARD COMPONENTS ===== */
.cb-card {
    display: flex;
    flex-direction: column;
    display: block !important;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #e1e5e9;
}

.cb-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cb-primary);
}

.cb-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: inline-grid;
  place-items: center;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--cb-primary-600), var(--cb-primary));
}

.car-card {
  height: 100%;
  border: 1px solid var(--cb-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  background: var(--card-background);
}

.car-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.car-card img {
  height: 160px;
  object-fit: cover;
  width: 100%;
  background: var(--surface-color);
}

.car-body {
  padding: 1rem;
}

.car-title {
  font-weight: 700;
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-family: var(--playfair-font);
}

.car-meta {
  color: var(--cb-muted);
  font-size: 0.9rem;
}

.car-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.car-tag {
  background: rgba(247, 4, 4, 0.08);
  border: 1px solid rgba(247, 4, 4, 0.25);
  color: var(--cb-primary-600);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.45rem;
  font-weight: 700;
  font-size: 0.75rem;
}

/* ===== SECTION STYLES ===== */
.title{
    font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 2rem;
  padding: 10px 0;
  font-family: var(--playfair-font);
  position: relative;
}
.section-title {
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 2rem;
  padding: 10px 0;
  font-family: var(--playfair-font);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--cb-primary-600), var(--cb-primary));
  border-radius: var(--radius-full);
}

.section-subtitle {
  color: var(--cb-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #1a1f2e 0%, #111827 100%);
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cb-primary-600), var(--cb-primary));
}

.footer-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--cb-primary);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--cb-primary);
  transform: translateX(5px);
}

/* ===== UTILITY CLASSES ===== */
.bg-primary { background-color: var(--cb-primary) !important; }
.bg-dark { background-color: var(--cb-dark) !important; }
.bg-light { background-color: var(--cb-light) !important; }
.bg-surface { background-color: var(--surface-color) !important; }

.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .header-search {
    margin-top: 1rem;
  }
}

     /* -------------------- HERO CAROUSEL SECTION ---------------------------------- */

 /* ===== ENHANCED HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
    width: 100%;
    
    overflow: hidden;
    background-color: #000;
}

.hero-carousel .carousel {
    height: 70vh;
    min-height: 650px;
    max-height: 800px;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

/* Carousel Item Background */
.hero-carousel .carousel-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease-in-out;
}

/* Dark Overlay with Red Accent */
.hero-carousel .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(247, 4, 4, 0.25) 100%);
    z-index: 1;
}

/* Alternative overlays for different slides */
.hero-carousel .carousel-item:nth-child(2)::before {
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(247, 4, 4, 0.4) 100%);
}

.hero-carousel .carousel-item:nth-child(3)::before {
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 128, 0, 0.3) 100%);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Eyebrow Text */
/* .hero-eyebrow {
    display: block;
    justify-content: center;
    width: 300px;
    color: var(--cb-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    padding: 0.5rem 1.25rem;
    background: rgba(247, 4, 4, 0.15);
    border: 1px solid rgba(247, 4, 4, 0.3);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
} */

/* Hero Title */
.hero-title {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    font-family: var(--playfair-font);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hero Subtitle */
.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 1vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
    /* max-width: 600px; */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===== INTERACTIVE SEARCH FORM ===== */
.hero-search-form {
    margin-top: 2rem;
}

.search-form-card {
    background: rgb(255 255 255 / 13%);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-header h4 {
    color: var(--cb-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.form-group {
    margin-bottom: 0;
}

.form-label {
    font-weight: 600;
    color: var(--cb-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.form-label i {
    color: var(--cb-primary);
    width: 16px;
}

.form-select {
    border: 2px solid var(--cb-border);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-select:focus {
    border-color: var(--cb-primary);
    box-shadow: 0 0 0 0.2rem rgba(247, 4, 4, 0.1);
}

.form-actions {
    margin: 1.5rem 0 1rem;
}

.search-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--cb-primary-600), var(--cb-primary));
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(247, 4, 4, 0.3);
}

.search-btn:active {
    transform: translateY(0);
}

.quick-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.quick-links span {
    color: var(--cb-muted);
    font-weight: 500;
}

.quick-link {
    color: var(--cb-primary);
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    background: rgba(247, 4, 4, 0.1);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-link:hover {
    background: var(--cb-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* ===== FEATURE HIGHLIGHTS ===== */
.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-left: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cb-primary-600), var(--cb-primary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.feature-content h5 {
    color: #fff;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* ===== NEW LAUNCHES GRID ===== */
.new-launches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.launch-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.launch-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.launch-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--cb-primary);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.launch-card h5 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.launch-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.launch-tag {
    background: rgba(247, 4, 4, 0.2);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== EV STATS ===== */
.ev-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    color: var(--cb-primary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== CAROUSEL CONTROLS & INDICATORS ===== */
.hero-carousel .carousel-indicators {
    bottom: 2rem;
    margin-bottom: 0;
    z-index: 3;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background-color: transparent;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 6px;
}

.hero-carousel .carousel-indicators .active {
    width: 40px;
    border-radius: 6px;
    background-color: var(--cb-primary);
    border-color: var(--cb-primary);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-color: rgba(247, 4, 4, 0.9);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--cb-primary);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .hero-carousel .carousel {
        min-height: 600px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-highlights {
        margin-left: 0;
        margin-top: 2rem;
    }
    
    .new-launches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ev-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel .carousel {
        min-height: 500px;
    }
    
    .search-form-card {
        padding: 1.5rem;
    }
    
    .new-launches-grid {
        grid-template-columns: 1fr;
    }
    
    .ev-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .quick-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-carousel .carousel {
        min-height: 450px;
    }
    
    .search-form-card {
        padding: 1rem;
    }
    
    .form-header h4 {
        font-size: 1.25rem;
    }
    
    .search-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

     /* --------------------category section start here----------------------------- */

     .cb-cat {
       background: #f9fafb;
       padding: 2.5rem 0;
       border-top: 1px solid var(--cb-border, #e5e7eb);
       border-bottom: 1px solid var(--cb-border, #e5e7eb);
     }

     .section-title {
       font-weight: 700;
       letter-spacing: .2px;
       font-size: 22px;
       padding: 10px 0px;
       font-family: var(--playfair-font);
     }

     .cb-cat .section-sub {
       color: var(--cb-muted, #6b7280);
     }

     .cb-cat .filters {
       display: flex;
       gap: .5rem;
       flex-wrap: wrap;
       margin: 1rem 0 1.25rem;
     }

     .cb-cat .filter {
       border: 1px solid var(--cb-border, #e5e7eb);
       border-radius: 999px;
       padding: .45rem .85rem;
       background: #fff;
       font-weight: 600;
       color: #111827;
       cursor: pointer;
       transition: background-color .2s, border-color .2s, transform .15s;
     }

     .cb-cat .filter:hover {
       border-color: var(--cb-primary, #0ea5a2);
       transform: translateY(-1px);
     }

     .cb-cat .filter[aria-pressed="true"] {
       background: rgba(14, 165, 162, .08);
       border-color: var(--cb-primary, #0ea5a2);
       color: var(--cb-primary-600, #0b8a87);
     }

     .cb-cat .tabbar {
       display: inline-flex;
       gap: .4rem;
       background: #fff;
       border: 1px solid var(--cb-border, #e5e7eb);
       border-radius: 999px;
       padding: .25rem;
     }

     .cb-cat .tab {
       border: 0;
       background: transparent;
       padding: .4rem .9rem;
       border-radius: 999px;
       font-weight: 700;
       color: #374151;
     }

     .cb-cat .tab.active {
       background: rgba(14, 165, 162, .1);
       color: var(--cb-primary-600, #0b8a87);
     }

     .cb-cat .grid {
       display: grid;
       gap: 1rem;
       grid-template-columns: repeat(2, minmax(0, 1fr));
     }

     @media(min-width:768px) {
       .cb-cat .grid {
         grid-template-columns: repeat(4, minmax(0, 1fr));
       }
     }

     /* .cb-card {
       display: flex;
       align-items: center;
       gap: .85rem;
       padding: 1rem;
       background: #fff;
       border: 1px solid var(--cb-border, #e5e7eb);
       border-radius: .85rem;
       position: relative;
       overflow: hidden;
       text-decoration: none;
       color: inherit;
       transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
     } */

     .cb-card:hover {
       transform: translateY(-2px);
       box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
       border-color: rgba(14, 165, 162, .35);
     }

     .cb-card .icon {
       width: 44px;
       height: 44px;
       border-radius: .75rem;
       display: inline-grid;
       place-items: center;
       color: #fff;
       background: linear-gradient(135deg, var(--cb-primary-600, #0b8a87), var(--cb-primary, #0ea5a2));
     }

     .cb-card .title {
       font-weight: 700;
       margin: 0;
       line-height: 1.2;
       font-size: 18px;
     }

     .cb-card .meta {
       color: var(--cb-muted, #6b7280);
       font-size: .9rem;
     }

     .cb-card .badge {
       position: absolute;
       top: .6rem;
       right: .6rem;
       background: rgba(14, 165, 162, .1);
       color: var(--cb-primary-600, #0b8a87);
       border: 1px solid rgba(14, 165, 162, .25);
       padding: .2rem .5rem;
       border-radius: 999px;
       font-weight: 700;
       font-size: .75rem;
     }

     .cb-cat .actions {
       display: flex;
       gap: .5rem;
       align-items: center;
       justify-content: flex-end;
     }

     .cb-cat .btn-link {
       font-weight: 700;
       color: var(--cb-primary, #0ea5a2);
       text-decoration: none;
     }

     .cb-cat .empty {
       display: none;
       color: var(--cb-muted, #6b7280);
       padding: 1rem 0;
     }

    /* ---------------- Car Highlights: Popular, Just Launched, Upcoming ---------------- */
.ch-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.ch-title {
  font-weight: 800;
  margin: 0;
  font-size: 1.5rem;
}

.nav-pills.ch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-pills.ch-tabs .nav-link {
  font-weight: 700;
  color: #374151;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-pills.ch-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--cb-primary-600, #0b8a87), var(--cb-primary, #0ea5a2));
  color: #fff;
}

.car-card {
  height: 100%;
  border: 1px solid var(--cb-border, #e5e7eb);
  border-radius: .85rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  transition: transform .15s ease, box-shadow .2s ease;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.car-card img {
  height: 160px;
  object-fit: cover;
  width: 100%;
  background: #f3f4f6;
}

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

.car-title {
  font-weight: 700;
  margin: 0 0 .25rem;
  font-size: 1.05rem;
  font-family: var(--playfair-font);
  line-height: 1.3;
}

.car-meta {
  color: var(--cb-muted, #6b7280);
  font-size: .9rem;
  line-height: 1.4;
}

.car-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .5rem;
  margin-bottom: auto;
}

.car-tag {
  background: rgba(14, 165, 162, .08);
  border: 1px solid rgba(14, 165, 162, .25);
  color: var(--cb-primary-600, #0b8a87);
  border-radius: 999px;
  padding: .15rem .45rem;
  font-weight: 700;
  font-size: .75rem;
  white-space: nowrap;
}

.car-actions {
  display: flex;
  gap: .5rem;
  margin-top: .65rem;
  flex-wrap: wrap;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .ch-head {
    margin-bottom: 1.5rem;
  }
  
  .ch-title {
    font-size: 1.75rem;
  }
  
  .car-card img {
    height: 180px;
  }
  
  .car-body {
    padding: 1rem;
  }
}

/* Medium devices (tablets, 768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .ch-head {
    margin-bottom: 1.25rem;
  }
  
  .ch-title {
    font-size: 1.5rem;
  }
  
  .car-card img {
    height: 140px;
  }
  
  .nav-pills.ch-tabs .nav-link {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .ch-head {
    flex-direction: column;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .ch-title {
    font-size: 1.4rem;
  }
  
  .nav-pills.ch-tabs {
    gap: 0.4rem;
  }
  
  .nav-pills.ch-tabs .nav-link {
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .car-card img {
    height: 130px;
  }
  
  .car-body {
    padding: 0.75rem;
  }
  
  .car-title {
    font-size: 1rem;
  }
  
  .car-meta {
    font-size: 0.85rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  .ch-head {
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  
  .ch-title {
    font-size: 1.3rem;
    text-align: center;
    width: 100%;
  }
  
  .nav-pills.ch-tabs {
    width: 100%;
    gap: 0.3rem;
  }
  
  .nav-pills.ch-tabs .nav-link {
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    flex: 1;
    text-align: center;
    min-width: 100px;
  }
  
  .car-card {
    border-radius: 0.7rem;
  }
  
  .car-card img {
    height: 120px;
  }
  
  .car-body {
    padding: 0.65rem;
  }
  
  .car-title {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }
  
  .car-meta {
    font-size: 0.8rem;
  }
  
  .car-tags {
    gap: 0.25rem;
    margin-top: 0.4rem;
  }
  
  .car-tag {
    padding: 0.1rem 0.35rem;
    font-size: 0.7rem;
  }
  
  .car-actions {
    gap: 0.4rem;
    margin-top: 0.5rem;
  }
  
  .car-actions .btn {
    flex: 1;
    min-width: 120px;
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
}

/* Very small devices (phones under 375px) */
@media (max-width: 374px) {
  .ch-title {
    font-size: 1.2rem;
  }
  
  .nav-pills.ch-tabs .nav-link {
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    min-width: 90px;
  }
  
  .car-card img {
    height: 110px;
  }
  
  .car-body {
    padding: 0.6rem;
  }
  
  .car-title {
    font-size: 0.9rem;
  }
  
  .car-meta {
    font-size: 0.75rem;
  }
  
  .car-tag {
    font-size: 0.65rem;
    padding: 0.08rem 0.3rem;
  }
  
  .car-actions .btn {
    min-width: 110px;
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
  }
}

/* Print styles */
@media print {
  .car-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .car-card:hover {
    transform: none;
    box-shadow: none;
  }
  
  .car-actions {
    display: none;
  }
}

/* High-resolution displays (2x and above) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .car-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .car-card {
    transition: none;
  }
  
  .car-card:hover {
    transform: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .car-card {
    background: #1f2937;
    border-color: #374151;
    color: #f9fafb;
  }
  
  .car-card img {
    background: #374151;
  }
  
  .car-meta {
    color: #d1d5db;
  }
  
  .nav-pills.ch-tabs .nav-link {
    color: #d1d5db;
    background: #374151;
  }
  
  .nav-pills.ch-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--cb-primary-600, #0b8a87), var(--cb-primary, #0ea5a2));
    color: #fff;
  }
}

/* Container query support (future-proofing) */
@container (max-width: 400px) {
  .car-card {
    border-radius: 0.6rem;
  }
  
  .car-body {
    padding: 0.5rem;
  }
}

     /* ------------------------------------search by brands-------------------------------- */
     #carBrands {
       background: #f9f9f9;
     }

     .cb-title {
       font-weight: 700;
       color: #222;
     }

     .brand-box {
       transition: all 0.3s ease;
     }

     .brand-box:hover {
       transform: translateY(-5px);
       box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
     }

     .brand-logo {
       height: 60px;
       width: auto;
       object-fit: contain;
       filter: grayscale(20%);
     }

     .brand-name {
       font-size: 1rem;
       font-weight: 600;
       color: #333;
       font-family: var(--playfair-font);
     }

     .btn-cb-primary {
       background-color: var(--cb-primary);
       color: #fff;
       border-radius: 30px;
       transition: all 0.3s;
     }

     .btn-cb-primary:hover {
       background-color: var(--cb-primary-600);
     }

     /* ---------------search by budget----------------- */
     #carBudget .budget-card {
  transition: all 0.3s ease;
}

#carBudget .budget-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#carBudget .budget-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Responsive Images */
@media (max-width: 768px) {
  #carBudget .budget-img {
    height: 160px;
  }
}

@media (max-width: 576px) {
  #carBudget .budget-img {
    height: 140px;
  }
}

/* Tabs Styling */
.cb-tabs .nav-link {
  border-radius: 30px;
  border: 1px solid var(--cb-border);
  color: #555;
  font-size: 15px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.cb-tabs .nav-link.active {
  background-color: var(--cb-primary);
  color: #fff;
  border-color: var(--cb-primary);
}

/* Responsive Tabs */
@media (max-width: 992px) {
  .cb-tabs .nav-link {
    font-size: 14px;
    margin: 0 3px;
    padding: 8px 15px;
  }
}

@media (max-width: 768px) {
  .cb-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .cb-tabs .nav-link {
    font-size: 13px;
    padding: 6px 12px;
    white-space: nowrap;
    margin: 0 2px;
  }
  
  /* Hide scrollbar for tabs */
  .cb-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .cb-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

@media (max-width: 576px) {
  .cb-tabs .nav-link {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
  }
}

/* Navigation Buttons */
.budget-prev,
.budget-next {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Responsive Navigation Buttons */
@media (max-width: 768px) {
  .budget-prev,
  .budget-next {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 576px) {
  .budget-prev,
  .budget-next {
    width: 32px;
    height: 32px;
  }
}

/* Container and Grid Responsiveness */
#carBudget .container {
  padding-left: 15px;
  padding-right: 15px;
}

#carBudget .row {
  margin-left: -8px;
  margin-right: -8px;
}

#carBudget .col-lg-3,
#carBudget .col-md-4,
#carBudget .col-sm-6 {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 16px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
  #carBudget .col-lg-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 992px) {
  #carBudget .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  #carBudget .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  #carBudget .row {
    margin-left: -6px;
    margin-right: -6px;
  }
  
  #carBudget .col-lg-3,
  #carBudget .col-md-4,
  #carBudget .col-sm-6 {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 12px;
  }
}

@media (max-width: 576px) {
  #carBudget .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  #carBudget .row {
    margin-left: -4px;
    margin-right: -4px;
  }
  
  #carBudget .col-lg-3,
  #carBudget .col-md-4,
  #carBudget .col-sm-6 {
    padding-left: 4px;
    padding-right: 4px;
    margin-bottom: 8px;
  }
}

/* Card Content Responsiveness */
.budget-card .card-body {
  padding: 15px;
}

@media (max-width: 768px) {
  .budget-card .card-body {
    padding: 12px;
  }
  
  .budget-card .card-title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .budget-card .card-text {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .budget-card .card-body {
    padding: 10px;
  }
  
  .budget-card .card-title {
    font-size: 15px;
    margin-bottom: 6px;
  }
  
  .budget-card .card-text {
    font-size: 13px;
  }
}

/* Price and Badge Responsiveness */
.budget-card .price {
  font-size: 18px;
  font-weight: bold;
}

.budget-card .badge {
  font-size: 12px;
  padding: 4px 8px;
}

@media (max-width: 768px) {
  .budget-card .price {
    font-size: 16px;
  }
  
  .budget-card .badge {
    font-size: 11px;
    padding: 3px 6px;
  }
}

@media (max-width: 576px) {
  .budget-card .price {
    font-size: 15px;
  }
  
  .budget-card .badge {
    font-size: 10px;
    padding: 2px 5px;
  }
}

/* Section Padding and Margins */
#carBudget {
  padding: 60px 0;
}

@media (max-width: 992px) {
  #carBudget {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  #carBudget {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  #carBudget {
    padding: 30px 0;
  }
}

/* Navigation Controls Container */
.budget-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .budget-navigation {
    margin-top: 25px;
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .budget-navigation {
    margin-top: 20px;
    gap: 10px;
  }
}

/* Hover effects for mobile */
@media (hover: hover) {
  #carBudget .budget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
}

/* Touch device optimizations */
@media (hover: none) {
  #carBudget .budget-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #carBudget .budget-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .cb-tabs .nav-link {
    border-color: #444;
    color: #ccc;
    background-color: #333;
  }
  
  .cb-tabs .nav-link.active {
    background-color: var(--cb-primary);
    color: #fff;
  }
}

/* Print styles */
@media print {
  #carBudget .budget-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .budget-prev,
  .budget-next {
    display: none;
  }
}





     /* -------------------footer section start here--------------------------------- */
     .footer {
       background: linear-gradient(135deg, #1a1f2e 0%, #111827 100%);
       color: #e5e7eb;
       position: relative;
       overflow: hidden;
     }

     .footer::before {
       content: "";
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       height: 3px;
       background: linear-gradient(90deg, var(--cb-primary-600), var(--cb-primary));
     }

     .footer-title {
       color: #fff;
       font-weight: 600;
       font-size: 1.1rem;
       margin-bottom: 1.25rem;
       position: relative;
       padding-bottom: 0.5rem;
     }

     .footer-title::after {
       content: "";
       position: absolute;
       left: 0;
       bottom: 0;
       width: 40px;
       height: 2px;
       background: var(--cb-primary);
     }

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

     .footer-links li {
       margin-bottom: 0.75rem;
     }

     .footer-links a {
       color: #9ca3af;
       text-decoration: none;
       transition: all 0.3s ease;
       display: inline-flex;
       align-items: center;
       gap: 0.5rem;
     }

     .footer-links a:hover {
       color: var(--cb-primary);
       transform: translateX(5px);
     }

     .footer-links a::before {
       content: "›";
       font-size: 1.25rem;
       opacity: 0;
       transition: opacity 0.3s ease;
     }

     .footer-links a:hover::before {
       opacity: 1;
     }

     /* Newsletter Section */
     .newsletter-box {
       background: rgba(255, 255, 255, 0.05);
       border-radius: 12px;
       padding: 1.5rem;
       backdrop-filter: blur(10px);
       border: 1px solid rgba(255, 255, 255, 0.1);
       transition: all 0.3s ease;
     }

     .newsletter-box:hover {
       background: rgba(255, 255, 255, 0.08);
       transform: translateY(-2px);
     }

     .newsletter-input {
       background: rgba(255, 255, 255, 0.1);
       border: 1px solid rgba(255, 255, 255, 0.2);
       color: #fff;
       border-radius: 8px 0 0 8px;
       padding: 0.75rem 1rem;
     }

     .newsletter-input:focus {
       background: rgba(255, 255, 255, 0.15);
       border-color: var(--cb-primary);
       box-shadow: 0 0 0 0.2rem rgba(14, 165, 162, 0.25);
       color: #fff;
     }

     .newsletter-input::placeholder {
       color: rgba(255, 255, 255, 0.5);
     }

     .newsletter-btn {
       background: linear-gradient(135deg, var(--cb-primary-600), var(--cb-primary));
       border: none;
       color: #fff;
       border-radius: 0 8px 8px 0;
       padding: 0.75rem 1.5rem;
       font-weight: 500;
       transition: all 0.3s ease;
     }

     .newsletter-btn:hover {
       filter: brightness(1.1);
       transform: translateY(-1px);
       box-shadow: 0 4px 12px rgba(14, 165, 162, 0.4);
     }

     /* Social Icons */
     .social-links {
       display: flex;
       gap: 0.75rem;
       flex-wrap: wrap;
     }

     .social-icon {
       width: 42px;
       height: 42px;
       background: rgba(255, 255, 255, 0.1);
       border-radius: 10px;
       display: flex;
       align-items: center;
       justify-content: center;
       color: #fff;
       text-decoration: none;
       transition: all 0.3s ease;
       border: 1px solid rgba(255, 255, 255, 0.1);
     }

     .social-icon:hover {
       background: var(--cb-primary);
       transform: translateY(-3px);
       box-shadow: 0 6px 20px rgba(14, 165, 162, 0.4);
       color: #fff;
     }

     /* App Download Badges */
     .app-badge {
       display: inline-block;
       background: rgba(255, 255, 255, 0.1);
       border: 1px solid rgba(255, 255, 255, 0.2);
       border-radius: 8px;
       padding: 0.5rem 1rem;
       text-decoration: none;
       transition: all 0.3s ease;
     }

     .app-badge:hover {
       background: rgba(255, 255, 255, 0.15);
       transform: translateY(-2px);
       box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
     }

     /* Footer Bottom */
     .footer-bottom {
       background: rgba(0, 0, 0, 0.3);
       padding: 1.25rem 0;
       margin-top: 2rem;
       border-top: 1px solid rgba(255, 255, 255, 0.1);
     }

     .footer-bottom p {
       margin: 0;
       color: #9ca3af;
     }

     .footer-bottom a {
       color: var(--cb-primary);
       text-decoration: none;
     }

     .footer-bottom a:hover {
       text-decoration: underline;
     }

     /* Contact Info */
     .contact-info {
       display: flex;
       align-items: flex-start;
       gap: 0.75rem;
       margin-bottom: 1rem;
       padding: 0.75rem;
       background: rgba(255, 255, 255, 0.03);
       border-radius: 8px;
       transition: all 0.3s ease;
     }

     .contact-info:hover {
       background: rgba(255, 255, 255, 0.06);
     }

     .contact-icon {
       width: 36px;
       height: 36px;
       background: linear-gradient(135deg, var(--cb-primary-600), var(--cb-primary));
       border-radius: 8px;
       display: flex;
       align-items: center;
       justify-content: center;
       flex-shrink: 0;
     }

     .back-to-top {
       position: fixed;
       bottom: 30px;
       right: 30px;
       width: 50px;
       height: 50px;
       background: linear-gradient(135deg, var(--cb-primary-600), var(--cb-primary));
       border-radius: 12px;
       display: flex;
       align-items: center;
       justify-content: center;
       color: #fff;
       cursor: pointer;
       opacity: 0;
       visibility: hidden;
       transition: all 0.3s ease;
       box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
       z-index: 1000;
     }

     .back-to-top.show {
       opacity: 1;
       visibility: visible;
     }

     .back-to-top:hover {
       transform: translateY(-5px);
       box-shadow: 0 6px 20px rgba(14, 165, 162, 0.4);
     }

     @media (max-width: 767px) {
       .footer-title::after {
         width: 30px;
       }

       .social-links {
         justify-content: center;
       }

       .newsletter-box {
         margin-bottom: 2rem;
       }
     }

/* -------------------------------video section start here---------------------------------- */


.videos-page .video-hero {
  /* position: relative;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(247, 4, 4, 0.15)), url('../images/hero.webp') center/cover no-repeat;
  color: #fff;
  overflow: hidden; */
     position: relative;
    background: linear-gradient(135deg, rgba(247, 4, 4, 0.744), rgba(212, 0, 0, 0.618)), 
                url('https://images.unsplash.com/photo-1486496572940-2bb2341fdbdf?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 3rem 0;
    overflow: hidden;
}

.videos-page .video-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(247, 4, 4, 0.2) 0%, transparent 60%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.videos-page .video-hero .overlay {
  padding: 100px 0 80px;
  position: relative;
  z-index: 1;
}

.videos-page .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.videos-page .breadcrumb a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cb-primary);
  transition: width 0.3s ease;
}

.videos-page .breadcrumb a:hover::after {
  width: 100%;
}

.videos-page .breadcrumb .active {
  color: rgba(255, 255, 255, 0.7);
}

.videos-page .badge-soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 230, 230, 0.95));
  color: var(--cb-primary-600);
  border: 2px solid rgba(247, 4, 4, 0.3);
  border-radius: 9999px;
  padding: .45rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
  animation: badgeBounce 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(247, 4, 4, 0.2);
}

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

/* Video grid */
.videos-page .video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, var(--cb-primary-300), var(--cb-primary)) border-box;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.videos-page .video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(247, 4, 4, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.videos-page .video-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(247, 4, 4, 0.25), 0 0 0 3px rgba(247, 4, 4, 0.1);
  border-color: var(--cb-primary);
}

.videos-page .video-card:hover::before {
  opacity: 1;
}

.videos-page .video-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.videos-page .video-card:hover .video-thumb {
  transform: scale(1.08);
}

.videos-page .video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .3) 50%, rgba(0, 0, 0, .05) 100%);
  display: flex;
  align-items: flex-end;
  transition: background 0.4s ease;
  z-index: 2;
}

.videos-page .video-card:hover .video-overlay {
  background: linear-gradient(to top, rgba(247, 4, 4, .75) 0%, rgba(0, 0, 0, .4) 50%, rgba(0, 0, 0, .1) 100%);
}

.videos-page .video-title {
  color: #fff;
  margin: 0;
  padding: 18px 18px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
  font-size: 1.05rem;
  letter-spacing: -0.3px;
  transition: transform 0.3s ease;
}

.videos-page .video-card:hover .video-title {
  transform: translateY(-4px);
}

.videos-page .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}

.videos-page .play-btn .ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 240, 240, .95));
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 0 rgba(247, 4, 4, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.videos-page .play-btn .ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(247, 4, 4, 0.4);
  animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.videos-page .video-card:hover .play-btn .ring {
  transform: scale(1.15);
  background: linear-gradient(135deg, var(--cb-primary), var(--cb-primary-600));
  box-shadow: 0 15px 40px rgba(247, 4, 4, .5), 0 0 0 8px rgba(247, 4, 4, 0.2);
}

.videos-page .play-btn svg {
  transform: translateX(2px);
  transition: all 0.3s ease;
}

.videos-page .video-card:hover .play-btn svg {
  fill: white;
  transform: translateX(3px) scale(1.1);
}

.videos-page .video-trigger {
  position: absolute;
  inset: 0;
  display: block;
  text-indent: -9999px;
  z-index: 4;
}

/* Lightbox */
.video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 1080;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.video-lightbox .frame {
  width: min(92vw, 1100px);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-lightbox.show .frame {
  transform: scale(1);
}

.video-lightbox .ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(247, 4, 4, .4), 0 0 0 2px rgba(247, 4, 4, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.video-lightbox iframe,
.video-lightbox video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox .close-btn {
  position: absolute;
  top: -52px;
  right: 0;
  background: linear-gradient(135deg, rgba(247, 4, 4, 0.9), rgba(212, 0, 0, 0.9));
  border: 2px solid rgba(255, 255, 255, .3);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(247, 4, 4, .4);
  cursor: pointer;
}

.video-lightbox .close-btn:hover {
  background: linear-gradient(135deg, var(--cb-primary-600), var(--cb-primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 4, 4, .6);
  border-color: rgba(255, 255, 255, .5);
}

.video-lightbox .close-btn svg {
  transition: transform 0.3s ease;
}

.video-lightbox .close-btn:hover svg {
  transform: rotate(90deg);
}

.video-lightbox .close-area {
  position: fixed;
  inset: 0;
  cursor: pointer;
}

/* Section Background Enhancement */
.videos-page .bg-light {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 50%, #FFFFFF 100%) !important;
  position: relative;
}

.videos-page .bg-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(247, 4, 4, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Stagger animation for video cards */
.videos-page .video-card {
  animation: fadeInUp 0.6s ease backwards;
}

.videos-page .col-12:nth-child(1) .video-card { animation-delay: 0.1s; }
.videos-page .col-12:nth-child(2) .video-card { animation-delay: 0.2s; }
.videos-page .col-12:nth-child(3) .video-card { animation-delay: 0.3s; }
.videos-page .col-12:nth-child(4) .video-card { animation-delay: 0.4s; }
.videos-page .col-12:nth-child(5) .video-card { animation-delay: 0.5s; }
.videos-page .col-12:nth-child(6) .video-card { animation-delay: 0.6s; }

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

@media (max-width: 991.98px) {
  .videos-page .video-hero .overlay {
    padding: 80px 0 60px;
  }

  .video-lightbox .close-btn {
    top: -48px;
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .videos-page .play-btn .ring {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 575.98px) {
  .videos-page .video-hero .overlay {
    padding: 60px 0 40px;
  }
  
  .videos-page .badge-soft {
    font-size: 0.75rem;
    padding: .35rem .8rem;
  }

  .video-lightbox .close-btn {
    top: auto;
    bottom: -48px;
  }

  .videos-page .play-btn .ring {
    width: 56px;
    height: 56px;
  }
}

     /* ---------------------------blog page news------------------------------ */


     .blog-card {
       border-radius: 12px;
       overflow: hidden;
       background: #fff;
       transition: all 0.3s ease;
       box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
       height: 100%;
       display: flex;
       flex-direction: column;
     }

     .blog-card:hover {
       transform: translateY(-6px);
       box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
     }

     .blog-thumb {
       width: 100%;
       height: 200px;
       object-fit: cover;
     }

     .blog-content {
       padding: 15px 18px;
       flex: 1;
     }

     .blog-title {
       font-size: 17px;
       font-weight: 600;
       color: #1f2937;
       margin-bottom: 8px;
     }

     .blog-meta {
       font-size: 14px;
       color: #6b7280;
       margin-bottom: 10px;
     }

     .blog-desc {
       font-size: 14px;
       color: #4b5563;
       margin-bottom: 15px;
     }

     .btn-read {
       display: inline-block;
       padding: 8px 16px;
       background-color: #e63946;
       color: #fff;
       font-size: 14px;
       border-radius: 6px;
       text-decoration: none;
       transition: background 0.3s;
     }

     .btn-read:hover {
       background-color: #c62828;
     }

     /* --- Carousel Styling --- */
     .cb-head .cb-title {
       font-size: 24px;
       font-weight: 700;
     }

     /* --------------owl carousel ------------------------- */
     .owl-carousel .owl-nav {
       position: absolute;
       top: 50%;
       left: -18px;
       /* safer than negative left */
       right: -10px;
       display: flex;
       justify-content: space-between;
       transform: translateY(-50%);
       /* Remove pointer-events:none for now */
     }

     .owl-carousel .owl-nav button.owl-prev,
     .owl-carousel .owl-nav button.owl-next {
       background: rgba(0, 0, 0, 0.6) !important;
       color: #fff !important;
       width: 45px;
       height: 45px;
       border-radius: 50%;
       border: none;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 20px;
       transition: all 0.3s ease;
     }

     .owl-carousel .owl-nav button.owl-prev:hover,
     .owl-carousel .owl-nav button.owl-next:hover {
       background: #ff6600;
       color: #fff;
     }

     .owl-carousel .owl-nav button.owl-prev {
       margin-left: 5px;
       /* safer than negative left */
     }

     .owl-carousel .owl-nav button.owl-next {
       margin-right: 5px;
     }

     .owl-carousel .owl-nav.disabled {
       display: flex !important;
       /* force show */
     }


     /* ---------------------car compare design section------------------------- */
    .comparison-card {
  background: white;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 10px 0;
}

.vehicle-images {
  background: linear-gradient(to bottom, #e8eef5 0%, #f8f9fa 100%);
  padding: 0;
  position: relative;
  display: flex;
}

.vehicle-wrapper {
  display: flex;
  width: 100%;
  position: relative;
}

.vehicle-item {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.vehicle-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vehicle-item:hover .vehicle-img {
  transform: scale(1.05);
}

/* VS Badge positioned between images */
.vs-badge {
  background: var(--cb-dark);
  color: white;
  width: 45px;
  height: 45px;
  border: 1px solid var(--cb-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  box-shadow: 0 8px 25px rgba(255, 107, 74, 0.5);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.vehicle-details {
  padding: 15px;
}

.details-row {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  margin-bottom: 5px;
}

.detail-column {
  flex: 1;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px;
  /* background: #f8f9fa; */
}

.detail-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.5s;
}

.detail-column:hover::before {
  left: 100%;
}

.brand-name {
  color: #6c757d;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.model-name {
  color: var(--secondary-color);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 9px;
  line-height: 1.2;
}

.price-range {
  color: #495057;
  font-size: 12px;
  font-weight: 400;
}

.price-asterisk {
  color: var(--primary-color);
  font-size: 14px;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff8a75 100%);
  color: #352d2d;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px rgba(148, 146, 145, 0.3);
  cursor: pointer;
  text-align: center;
}

.cta-button:hover {
  box-shadow: 0 10px 20px rgba(148, 146, 145, 0.3);
  background: linear-gradient(135deg, #ff8a75 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
}

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
  .vehicle-img {
    height: 120px;
  }
  
  .vehicle-details {
    padding: 20px;
  }
  
  .model-name {
    font-size: 14px;
  }
  
  .cta-button {
    padding: 14px 40px;
    font-size: 18px;
    max-width: 350px;
  }
}

/* Desktops (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .vehicle-img {
    height: 200px;
  }
  
  .vehicle-details {
    padding: 18px;
  }
  
  .model-name {
    font-size: 16px;
  }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .vehicle-img {
    height: 180px;
  }
  
  .vs-badge {
    width: 50px;
    height: 50px;
    font-size: 14px;
  }
  
  .vehicle-details {
    padding: 15px;
  }
  
  .details-row {
    gap: 8px;
    margin-bottom: 12px;
  }
  
  .detail-column {
    padding: 12px;
  }
  
  .model-name {
    font-size: 15px;
  }
  
  .cta-button {
    padding: 12px 25px;
    font-size: 15px;
    max-width: 280px;
  }
}

/* Small Tablets (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .vehicle-img {
    height: 160px;
  }
  
  .vs-badge {
    width: 45px;
    height: 45px;
    font-size: 12px;
  }
  
  .vehicle-details {
    padding: 12px;
  }
  
  .details-row {
    flex-direction: row;
    gap: 8px;
    margin-bottom: 10px;
  }
  
  .detail-column {
    padding: 10px;
  }
  
  .brand-name {
    font-size: 11px;
    letter-spacing: 1px;
  }
  
  .model-name {
    font-size: 14px;
  }
  
  .price-range {
    font-size: 12px;
  }
  
  .cta-button {
    padding: 10px 20px;
    font-size: 14px;
    max-width: 250px;
  }
}

/* Mobile Phones (575px and down) */
@media (max-width: 575px) {
  .comparison-card {
    margin: 5px;
    border-radius: 6px !important;
  }
  
  .vehicle-images {
    flex-direction: column;
  }
  
 
  
  .vehicle-img {
    height: 150px;
    width: 100%;
  }
  
  .vs-badge {
    width: 40px;
    height: 40px;
    font-size: 10px;
    top: auto;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse-mobile 2s infinite;
  }
  
  @keyframes pulse-mobile {
    0%, 100% {
      transform: translateX(-50%) scale(1);
    }
    50% {
      transform: translateX(-50%) scale(1.1);
    }
  }
  
  .vehicle-details {
    padding: 10px;
  }
  
  .details-row {
    /* flex-direction: column; */
    gap: 8px;
    margin-bottom: 8px;
  }
  
  .detail-column {
    padding: 12px;
    text-align: center;
  }
  
  .brand-name {
    font-size: 10px;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
  }
  
  .model-name {
    font-size: 13px;
    margin-bottom: 5px;
  }
  
  .price-range {
    font-size: 11px;
  }
  
  .cta-button {
    padding: 10px 15px;
    font-size: 13px;
    max-width: 200px;
    border-radius: 25px;
  }
}

/* Extra Small Mobile Phones (375px and down) */
@media (max-width: 375px) {
  .vehicle-img {
    height: 130px;
  }
  
  .vs-badge {
    width: 35px;
    height: 35px;
    font-size: 9px;
    bottom: -17px;
  }
  
  .vehicle-details {
    padding: 8px;
  }
  
  .detail-column {
    padding: 10px;
  }
  
  .brand-name {
    font-size: 9px;
  }
  
  .model-name {
    font-size: 12px;
  }
  
  .price-range {
    font-size: 10px;
  }
  
  .cta-button {
    padding: 8px 12px;
    font-size: 12px;
    max-width: 180px;
  }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .vehicle-img {
    height: 120px;
  }
  
  .vehicle-details {
    padding: 2px;
  }
  
  .details-row {
    margin-bottom: 5px;
  }
  
  .detail-column {
    padding: 2px;
  }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .vehicle-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  .vehicle-img,
  .detail-column::before,
  .cta-button,
  .vs-badge {
    transition: none;
    animation: none;
  }
  
  .vehicle-item:hover .vehicle-img {
    transform: none;
  }
  
  .detail-column:hover::before {
    left: -100%;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .comparison-card {
    background: #2d3748;
    color: #e2e8f0;
  }
  
  .vehicle-images {
    background: linear-gradient(to bottom, #4a5568 0%, #2d3748 100%);
  }
  
  .detail-column {
    background: #4a5568;
    color: #e2e8f0;
  }
  
  .brand-name {
    color: #cbd5e0;
  }
  
  .model-name {
    color: #90cdf4;
  }
  
  .price-range {
    color: #e2e8f0;
  }
}

/* Print Styles */
@media print {
  .comparison-card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
  
  .cta-button {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000;
    box-shadow: none;
  }
  
  .vs-badge {
    background: #000 !important;
    color: #fff !important;
    box-shadow: none;
    animation: none;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .vehicle-item:hover .vehicle-img {
    transform: none;
  }
  
  .detail-column:active {
    background: #e9ecef;
  }
  
  .cta-button:active {
    transform: scale(0.98);
  }
}

/* Very Large Screens (4K and above) */
@media (min-width: 1600px) {
  .comparison-card {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .vehicle-img {
    height: 250px;
  }
  
  .vehicle-details {
    padding: 25px;
  }
  
  .model-name {
    font-size: 20px;
  }
  
  .cta-button {
    padding: 16px 50px;
    font-size: 20px;
    max-width: 400px;
  }
}

     /* ==============================Brands page start here============================================ */
     .brands-description {
       background: var(--background-color);
       padding: 0rem 1rem;
     }

























     /* ============================faq component start here================================= */
     .faq-container {
       background-color: var(--background-color);
       border-radius: 8px;
     }

     .faq-header p {
       font-size: 18px;
       opacity: 0.9;
     }

     .faq-item {
       /* margin-bottom: 15px; */
       border-radius: 15px;
       overflow: hidden;
       background: var(--bg-light);
       transition: all 0.3s ease;
     }


     .faq-question {
       padding: 10px 15px;
       cursor: pointer;
       display: flex;
       justify-content: space-between;
       align-items: center;
       background: var(--bg-light);
       transition: all 0.3s ease;
       font-weight: 600;
       color: var(--text-dark);
     }


     .faq-question.active {
       background: var(--primary-gradient);
       color: #000;
     }

     .faq-toggle {
       width: 45px;
       height: 45px;
       border-radius: 50%;
       background: white;
       display: flex;
       align-items: center;
       justify-content: center;
       color: #000;
       font-weight: 700;
       transition: all 0.3s ease;
     }

     .faq-question.active .faq-toggle {
       background: rgba(255, 255, 255, 0.3);
       color: white;
       transform: rotate(45deg);
     }

     .faq-answer {
       max-height: 0;
       overflow: hidden;
       transition: max-height 0.4s ease, padding 0.4s ease;
       background: white;
     }

     .faq-answer.show {
       max-height: 400px;
       padding: 0px 15px;
     }

     .faq-answer-text {
       color: var(--text-light);
       line-height: 1.7;
       font-size: 16px;
       font-family: var(--body-font);
     }

     @media (max-width: 768px) {
       .faq-header h1 {
         font-size: 34px;
       }

       .faq-content {
         padding: 25px;
       }

       .faq-question {
         padding: 18px;
       }
     }


     /* ------------------------test drive form section start here--------------------------- */
     .form-container {
       background: #fff;
       border-radius: 16px;
       box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
       padding: 30px;
       margin: 20px auto;
     }

     .form-header {
       text-align: center;
       margin-bottom: 40px;
     }



     .form-header p {
       color: var(--text-light);
       font-size: 16px;
     }

     .form-control {
       border-radius: 12px;
       padding: 12px 18px;
       border: 1px solid #ddd;
       transition: all 0.3s ease;
       font-size: 15px;
     }

     .form-control:focus {
       border-color: var(--accent-color);
       box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
     }

     label {
       font-weight: 600;
       color: var(--text-dark);
       margin-bottom: 6px;
     }

     .btn-gradient {
       background: var(--primary-gradient);
       color: var(--cb-dark);
       border: 2px solid var(--cb-dark);
       padding: 14px 30px;
       font-weight: 600;
       border-radius: 50px;
       /* transition: all 0.3s ease; */
       /* box-shadow: 0 5px 15px rgba(102,126,234,0.3); */
     }

     .btn-gradient:hover {
       transform: translateY(-2px);
       box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
     }

     @media (max-width: 576px) {
       .form-container {
         padding: 30px 20px;
       }
     }


     /* --------------------brands components design-------------------------------- */
     .brands-component {
       background: #fff;
       border-radius: 16px;
       box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
       padding: 10px 30px;
       max-width: 600px;
       margin: 0px auto;
     }

     .brand-card {
       /* background: #fff; */
       border: none;
       border-radius: 12px;
       padding: 5px 0px;
       text-align: center;
       /* transition: all 0.3s ease; */
       /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); */
     }

     .brand-card:hover {
       /* transform: translateY(-5px); */
       box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
     }

     .brand-card img {
       height: 60px;
       object-fit: contain;
       margin-bottom: 10px;
       /* transition: transform 0.3s ease; */
     }

     /* .brand-card:hover img {
       transform: scale(1.1);
     } */

     .brand-name-component {
       font-weight: 600;
       color: #333;
       font-family: var(--body-font);
       font-size: 14px;

     }

     @media (max-width: 767px) {
       .brand-card {
         padding: 20px 10px;
       }

       .brand-card img {
         height: 50px;
       }
     }

     /* ------------------news component start here---------------------------------- */
     .news-section {
       background: #fff;
       border-radius: 16px;
       box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
       padding: 30px;
       max-width: 600px;
       margin: 20px auto;
     }

     .news-item {
       display: flex;
       align-items: center;
       gap: 15px;
       padding: 12px 0;
       border-bottom: 1px solid #eee;
       transition: all 0.3s ease;
       cursor: pointer;
     }

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

     .news-item:hover {
       background-color: #f3f6ff;
       transform: translateX(4px);
     }

     .news-img {
       flex-shrink: 0;
       width: 100px;
       height: 65px;
       border-radius: 8px;
       overflow: hidden;
       box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
       transition: transform 0.3s ease;
     }

     .news-item:hover .news-img img {
       transform: scale(1.1);
     }

     .news-img img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       transition: transform 0.3s ease;
     }

     .news-content h6 {
       font-size: 1rem;
       font-weight: 600;
       margin: 0;
       color: #222;
       line-height: 1.4;
     }

     .news-content h6:hover {
       color: var(--cb-primary-600);
     }

     @media (max-width: 576px) {
       .news-section {
         padding: 20px;
       }

       .news-item {
         flex-direction: column;
         align-items: flex-start;
       }

       .news-img {
         width: 100%;
         height: 160px;
       }
     }

     /* =================================models show case info====================================== */
    .showcase-container {
    width: 100%;
    height: auto;
    padding: 15px 0px;
}

.carousel-item img {
    width: 100%;
    height: 218px;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.thumbnail-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 0px;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.thumbnail-row {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap; /* Prevent wrapping to new lines */
    width: max-content; /* Allow row to expand beyond container */
    min-width: 100%; /* Ensure it takes full width */
    padding: 5px 0;
}

.thumbnail-item {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    flex-shrink: 0; /* Prevent thumbnails from shrinking */
}

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

.thumbnail-item:hover img {
    transform: scale(1.1);
}

.thumbnail-item.active {
    border-color: var(--cb-primary);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.thumbnail-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item.active::after {
    opacity: 1;
}

.car-info {
    padding: 5px;
}

.car-badge {
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 15px;
}

.car-specs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    padding: 5px;
    border-radius: 10px;
    gap: 10px;
}

.spec-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.spec-label {
    color: #666;
    font-size: 0.9rem;
}

.spec-value {
    font-weight: 600;
    color: #333;
}

.watermark {
    position: absolute;
    bottom: 10px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-style: italic;
}

/* Custom scrollbar for thumbnail container */
.thumbnail-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.thumbnail-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Firefox scrollbar */
.thumbnail-container {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }

    .thumbnail-item {
        width: 80px;
        height: 60px;
    }

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

    .car-specs {
        gap: 15px;
    }

    /* Better scrolling on mobile */
    .thumbnail-container {
        padding: 10px 5px;
    }

    .thumbnail-row {
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .thumbnail-item {
        width: 70px;
        height: 55px;
    }

    .carousel-item img {
        height: 250px;
    }
}

/* Hide scrollbar when not needed */
.thumbnail-container:not(:hover)::-webkit-scrollbar-thumb {
    background: transparent;
}

.thumbnail-container:not(:hover) {
    scrollbar-color: transparent transparent;
}

     /* ----------------------------- model varients details here------------------------------ */
     #skodaPrice .table-hover tbody tr:hover {
       background-color: #f1f9ff;
       transform: translateX(3px);
       transition: all 0.3s;
     }

     #skodaPrice .table th,
     #skodaPrice .table td {
       vertical-align: middle;
       padding: 12px 15px;
     }

     #skodaPrice .table th {
       font-weight: 600;
       font-family: var(--body-font);
     }

     #variantBody a {
       text-decoration: none;
       color: var(--cb-muted);
       font-weight: 400;
     }

     /* -----------------------------varients details start here------------------------------------ */
     #carSpecifications {
       background: #fff;
       border-radius: 16px;
       box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
       padding: 10px;
       margin: 5px 0px;
     }

     #carSpecifications .list-group-item {
       cursor: pointer;
       border: 1px solid #ddd;
       transition: background-color 0.3s, color 0.3s;
       padding: 10px 15px;
       font-weight: 500;
     }

     #carSpecifications .list-group-item.active {
       background-color: var(--cb-muted);
       color: #fff;
       border-color: var(--cb-dark);
     }

     #carSpecifications .spec-content {
       display: none;
     }

     #carSpecifications .spec-content.active {
       display: block;
       animation: fadeIn 0.3s ease-in-out;
     }

     @keyframes fadeIn {
       from {
         opacity: 0;
         transform: translateY(10px);
       }

       to {
         opacity: 1;
         transform: translateY(0);
       }
     }

     /* ----------------------------filter page start here----------------------------------- */
     .main-container {
       display: flex;
       gap: 2rem;
       margin: 2rem auto;
       padding: 0 1.5rem;
     }

     /* Sidebar Filters */
     .filter-sidebar {
       width: 280px;
       flex-shrink: 0;
     }

     .filter-card {
       background: white;
       border-radius: 12px;
       padding: 1.5rem;
       margin-bottom: 1rem;
       box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
     }

     .filter-header {
       display: flex;
       justify-content: space-between;
       align-items: center;
       margin-bottom: 1.5rem;
       padding-bottom: 1rem;
       border-bottom: 2px solid var(--border);
     }

     .filter-title {
       font-size: 1.125rem;
       font-weight: 700;
       color: var(--dark);
     }

     .clear-btn {
       color: var(--cb-dark);
       font-size: 0.875rem;
       cursor: pointer;
       border: none;
       background: none;
       font-weight: 600;
       transition: color 0.2s;
     }

     .clear-btn:hover {
       color: var(--cb-primary);
     }

     .filter-section {
       margin-bottom: 1.5rem;
     }

     .filter-section:last-child {
       margin-bottom: 0;
     }

     .filter-section .section-title {
       font-size: 0.875rem;
       font-weight: 600;
       color: var(--cb-dark);
       text-transform: uppercase;
       letter-spacing: 0.5px;
       margin-bottom: 0.75rem;
       display: flex;
       justify-content: space-between;
       align-items: center;
       cursor: pointer;
     }

     .filter-option {
       display: flex;
       align-items: center;
       padding: 0.5rem 0;
       cursor: pointer;
       transition: all 0.2s;
     }

     .filter-option:hover {
       padding-left: 0.25rem;
     }

     .filter-option input[type="checkbox"],
     .filter-option input[type="radio"] {
       width: 18px;
       height: 18px;
       margin-right: 0.75rem;
       cursor: pointer;
       accent-color: var(--cb-primary-600);
     }

     .filter-option label {
       cursor: pointer;
       flex: 1;
       font-size: 0.95rem;
       color: #334155;
     }

     .count-badge {
       color: var(--cb-dark);
       font-size: 0.875rem;
       background: var(--light);
       padding: 0.125rem 0.5rem;
       border-radius: 10px;
     }

     .collapse-icon {
       transition: transform 0.3s;
     }

     .collapse-icon.collapsed {
       transform: rotate(-90deg);
     }

     /* Main Content */
     .content-area {
       flex: 1;
       min-width: 0;
     }

     .results-header {
       background: white;
       border-radius: 12px;
       padding: 1.5rem;
       margin-bottom: 1.5rem;
       display: flex;
       justify-content: space-between;
       align-items: center;
       box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
     }

     .results-count {
       font-size: 18px;
       font-weight: 700;
       color: var(--dark);
     }

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

     .sort-label {
       font-size: 0.95rem;
       color: var(--cb-dark);
       font-weight: 500;
     }

     .sort-select {
       border: 1px solid var(--border);
       border-radius: 8px;
       padding: 0.5rem 2rem 0.5rem 1rem;
       font-size: 0.95rem;
       cursor: pointer;
       background: white;
       outline: none;
       transition: border-color 0.2s;
     }

     .sort-select:focus {
       border-color: var(--primary);
     }

     .view-toggle {
       display: flex;
       gap: 0.5rem;
       margin-left: 1rem;
     }

     .view-btn {
       padding: 0.5rem 0.75rem;
       border: 1px solid var(--border);
       background: white;
       border-radius: 6px;
       cursor: pointer;
       transition: all 0.2s;
     }

     .view-btn.active {
       background: var(--cb-dark);
       color: white;
       border-color: var(--primary);
     }

     /* Car Cards */
     .car-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
       gap: 1.5rem;
     }

     .car-card {
       background: white;
       border-radius: 12px;
       overflow: hidden;
       box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
       transition: all 0.3s;
       cursor: pointer;
     }

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

     .car-image {
       position: relative;
       height: 220px;
       overflow: hidden;
     }

     .car-image img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       transition: transform 0.3s;
     }

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

     .featured-badge {
       position: absolute;
       top: 1rem;
       left: 1rem;
       background: var(--accent);
       color: white;
       padding: 0.375rem 0.875rem;
       border-radius: 6px;
       font-size: 0.75rem;
       font-weight: 600;
       text-transform: uppercase;
     }

     .favorite-btn {
       position: absolute;
       top: 1rem;
       right: 1rem;
       background: white;
       border: none;
       width: 36px;
       height: 36px;
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       cursor: pointer;
       transition: all 0.2s;
       box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
     }

     .favorite-btn:hover {
       background: var(--primary);
       color: white;
     }

     .car-details {
       padding: 1.25rem;
     }

     .car-title {
       font-size: 1.125rem;
       font-weight: 700;
       color: var(--dark);
       margin-bottom: 0.5rem;
     }

     .car-price {
       font-size: 16px;
       font-weight: 500;
       color: var(--cb-muted);
       margin-bottom: 1rem;
     }

     .car-specs {
       display: flex;
       gap: 1rem;
       padding: 0rem 0;
       border-top: 1px solid var(--border);
       border-bottom: 1px solid var(--border);
       margin-bottom: 1rem;
     }

     .spec-item {
       display: flex;
       align-items: center;
       gap: 0.5rem;
       font-size: 0.875rem;
       color: var(--secondary);
     }

     .spec-item i {
       color: var(--primary);
     }

     .car-location {
       display: flex;
       align-items: center;
       gap: 0.5rem;
       color: var(--secondary);
       font-size: 0.875rem;
     }

     .no-results {
       text-align: center;
       padding: 4rem 2rem;
       background: white;
       border-radius: 12px;
     }

     .no-results i {
       font-size: 4rem;
       color: var(--border);
       margin-bottom: 1rem;
     }

     .mobile-filter-btn {
       display: none;
       position: fixed;
       bottom: 2rem;
       right: 2rem;
       background: var(--primary);
       color: white;
       border: none;
       width: 60px;
       height: 60px;
       border-radius: 50%;
       box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
       cursor: pointer;
       z-index: 1000;
       font-size: 1.5rem;
     }

     /* Responsive */
     @media (max-width: 992px) {
       .main-container {
         flex-direction: column;
       }

       .filter-sidebar {
         width: 100%;
         position: fixed;
         left: -100%;
         top: 0;
         height: 100vh;
         background: white;
         z-index: 1001;
         overflow-y: auto;
         transition: left 0.3s;
         padding: 2rem;
       }

       .filter-sidebar.active {
         left: 0;
       }
     }

     .mobile-filter-btn {
       display: flex;
       align-items: center;
       justify-content: center;
     }

     .car-grid {
       grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
     }



     /* ================================blog details page=================================== */
     /* Hero Section */
     .article-hero {
    position: relative;
    width: 100%;
    height: 70vh; /* 70% of viewport height */
    max-height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-hero img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover; /* covers the container, keeps aspect ratio */
    object-position: center center;
    opacity: 0.9;
}

/* Optional: For smaller screens */
@media (max-width: 768px) {
    .article-hero {
        height: 50vh; /* smaller hero on mobile */
    }
}


     .hero-overlay {
       position: absolute;
       bottom: 0;
       left: 0;
       right: 0;
       background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
       padding: 4rem 0 3rem;
     }

     .breadcrumb-modern {
       background: transparent;
       padding: 0;
       margin-bottom: 1.5rem;
     }

     .breadcrumb-modern .breadcrumb-item a {
       color: rgba(255, 255, 255, 0.8);
       text-decoration: none;
       font-size: 0.875rem;
       transition: color 0.2s;
     }

     .breadcrumb-modern .breadcrumb-item.active {
       color: rgba(255, 255, 255, 0.6);
     }

     .breadcrumb-modern .breadcrumb-item+.breadcrumb-item::before {
       color: rgba(255, 255, 255, 0.5);
     }

     .hero-title {
       font-family: 'Playfair Display', serif;
       font-size: 2rem;
       font-weight: 800;
       color: white;
       line-height: 1.2;
       margin-bottom: 0.5rem;
     }

     .hero-meta {
       display: flex;
       gap: 2rem;
       align-items: center;
       flex-wrap: wrap;
       color: rgba(255, 255, 255, 0.9);
       font-size: 0.9rem;
     }

     .meta-item {
       display: flex;
       align-items: center;
       gap: 0.5rem;
     }

     .meta-item i {
       color: var(--primary);
     }

     /* Content Layout */
     .content-wrapper {
       margin-top: -80px;
       position: relative;
       z-index: 10;
     }

     .article-content {
       background: #fff;
       border-radius: 24px;
       padding: 20px;
       /* border-color: var(--primary); */
       box-shadow: 0 4px 16px rgba(14, 165, 162, 0.1);
     }

     .article-lead {
       font-size: 1.25rem;
       font-weight: 500;
       color: var(--text);
       line-height: 1.8;
       margin-bottom: 2.5rem;
       padding: 2rem;
       background: #fff;
       /* border-left: 4px solid var(--primary); */
       border-radius: 12px;
     }

     .article-body p {
       margin-bottom: 1.5rem;
       font-size: 1.05rem;
       color: var(--text);
     }

     .article-body h3 {
       font-family: 'Playfair Display', serif;
       font-size: 1.875rem;
       font-weight: 700;
       margin-top: 3rem;
       margin-bottom: 1.25rem;
       color: var(--dark);
       position: relative;
       padding-bottom: 0.75rem;
     }

     .article-body h3::after {
       content: '';
       position: absolute;
       bottom: 0;
       left: 0;
       width: 60px;
       height: 3px;
       background: var(--primary);
     }

     /* Tags */
     .tags-section {
       /* margin-top: 3rem; */
       padding-top: 2.5rem;
       border-top: 1px solid var(--border);
     }

     .tag {
       display: inline-flex;
       align-items: center;
       gap: 0.375rem;
       padding: 0.5rem 1rem;
       background: var(--bg-light);
       color: var(--cb-dark);
       border-radius: 8px;
       font-size: 0.875rem;
       font-weight: 500;
       margin: 0 0.5rem 0.5rem 0;
       transition: all 0.2s;
       border: 1px solid var(--cb-primary);
     }

     .tag:hover {
       background: var(--primary);
       color: white;
       border-color: var(--primary);
       transform: translateY(-2px);
     }

     /* Share Buttons */
     .share-box {
       background: var(--bg-light);
       border-radius: 16px;
       /* padding: 2rem; */
       margin-top: 1rem;
     }

     .share-title {
       font-weight: 600;
       color: var(--dark);
       margin-bottom: 1rem;
       font-size: 1rem;
     }

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

     .share-btn {
       flex: 1;
       min-width: 110px;
       padding: 0.75rem;
       border: none;
       border-radius: 10px;
       font-weight: 600;
       font-size: 0.875rem;
       cursor: pointer;
       transition: all 0.3s;
       display: flex;
       align-items: center;
       justify-content: center;
       gap: 0.5rem;
     }

     .share-btn-facebook {
       background: #1877f2;
       color: white;
     }

     .share-btn-twitter {
       background: #000000;
       color: white;
     }

     .share-btn-linkedin {
       background: #0077b5;
       color: white;
     }

     .share-btn-whatsapp {
       background: #25d366;
       color: white;
     }

     .share-btn:hover {
       transform: translateY(-3px);
       box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
     }

     /* Comments */
     .comments-section {
       /* background: white; */
       border-radius: 24px;
       padding: 10px 24px;
       box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
       margin-top: 1.5rem;
     }

     .comments-title {
       font-family: 'Playfair Display', serif;
       font-size: 2rem;
       font-weight: 700;
       color: var(--dark);
       margin-bottom: 2rem;
       display: flex;
       align-items: center;
       gap: 0.75rem;
     }

     .comments-count {
       color: var(--primary);
       font-size: 1.5rem;
     }

     .comment {
       padding: 1rem;
       background: var(--bg-light);
       border-radius: 16px;
       margin-bottom: 0.5rem;
       transition: all 0.3s;
       border: 1px solid transparent;
       border-color: var(--primary);
       box-shadow: 0 4px 16px rgba(14, 165, 162, 0.1);
     }

     .comment:hover {
       border-color: var(--primary);
       box-shadow: 0 4px 16px rgba(14, 165, 162, 0.1);
     }

     .comment-header {
       display: flex;
       align-items: center;
       gap: 1rem;
       margin-bottom: 1rem;
     }

     .avatar {
       width: 48px;
       height: 48px;
       border-radius: 50%;
       background: #000;
       display: flex;
       align-items: center;
       justify-content: center;
       color: white;
       font-weight: 700;
       font-size: 1.125rem;
     }

     .comment-author {
       font-weight: 600;
       color: var(--dark);
       margin-bottom: 0.25rem;
     }

     .comment-time {
       color: var(--text-light);
       font-size: 0.875rem;
     }

     .comment-text {
       color: var(--text);
       line-height: 1.7;
     }

     /* Sidebar */
     .sidebar-card {
       background: #fff;
       border-radius: 20px;
       padding: 18px 20px;
       box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
       margin-bottom: 2rem;
     }

     .sidebar-title {
       font-family: 'Playfair Display', serif;
       font-size: 1.5rem;
       font-weight: 700;
       color: var(--dark);
       display: flex;
       align-items: center;
       /* gap: 0.5rem; */
     }

     .sidebar-list {
       list-style: none;
     }

     .sidebar-item {
       padding: 10px 0;
       border-bottom: 1px solid #eee;
     }

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

     .sidebar-item a {
       color: var(--text);
       text-decoration: none;
       font-weight: 500;
       font-size: 0.95rem;
       display: block;
       transition: all 0.2s;
     }

     .sidebar-item a:hover {
       color: var(--primary);
       padding-left: 0.5rem;
     }

     /* Newsletter */
     .newsletter-card {
       background: #fff;
       border-radius: 20px;
       padding: 1.5rem 2rem;
       box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
       color: var(--cb-dark);
       text-align: center;
     }

     .newsletter-card h5 {
       font-family: 'Playfair Display', serif;
       font-size: 1.5rem;
       margin-bottom: 1rem;
     }

     .newsletter-card p {
       opacity: 0.95;
       margin-bottom: 1.5rem;
     }

     .newsletter-card input {
       border-radius: 12px;
       padding: 0.875rem 1.25rem;
       /* border: none; */
       margin-bottom: 1rem;
     }

     .newsletter-card button {
       background: white;
       color: var(--cb-dark);
       box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.1);
       border-radius: 12px;
       padding: 0.875rem 1.5rem;
       font-weight: 600;
       transition: all 0.3s;
     }

     .newsletter-card button:hover {
       transform: translateY(-2px);
       box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
     }

     /* Responsive */
     @media (max-width: 768px) {
       .hero-title {
         font-size: 2rem;
       }

       .article-content {
         padding: 2rem 1.5rem;
       }

       .comments-section {
         padding: 1rem 1.5rem;
       }

       .article-hero {
         height: 50vh;
       }

       .content-wrapper {
         margin-top: -40px;
       }
     }



     /* ================================================= */
     .comment-box {
       background-color: #f9f9f9;
       border: 1px solid #e0e0e0;
       border-radius: 10px;
       padding: 25px;
       margin: 20px auto;
     }

     .comment-box .form-label {
       font-weight: 500;
     }

     .comment-box textarea {
       resize: none;
     }

     .comment-box .form-control:invalid {
       border-color: #dc3545;
     }

     .comment-box .text-danger {
       font-size: 0.9rem;
     }

     .comment-box .btn-post {
       background-color: #bfbfbf;
       color: white;
       border: none;
     }

     .comment-box .btn-post:hover {
       background-color: #999;
     }



     /* ================================about page css here =============================== */



    .about-section-padding {
        padding: 5rem 0;
    }

    .about-hero-section {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1486496572940-2bb2341fdbdf?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') no-repeat center center;
        background-size: cover;
        color: white;
        padding: 8rem 0;
    }

    .about-card {
        border: none;
        box-shadow: var(--shadow-md);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: var(--radius-lg);
        overflow: hidden;
    }

    .about-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-xl);
    }

    .about-icon-box {
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-full);
        background-color: var(--cb-primary-100);
        margin-bottom: 1.5rem;
    }

    .about-icon-box i {
        font-size: 1.75rem;
        color: var(--cb-primary);
    }

    .about-stats-section {
        background-color: var(--cb-light);
    }

    .about-stat-number {
        font-size: 3rem;
        font-weight: 700;
        color: var(--cb-primary);
        font-family: var(--playfair-font);
    }

    .about-team-member {
        text-align: center;
        margin-bottom: 2rem;
    }

    .about-team-member img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 1rem;
        border: 5px solid var(--cb-primary-100);
    }

    .about-mission-vision-box {
        background-color: var(--cb-primary-100);
        border-radius: var(--radius-xl);
        padding: 3rem;
        height: 100%;
        position: relative;
        overflow: hidden;
    }

    .about-mission-vision-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background-color: var(--cb-primary);
    }

    .about-timeline {
        position: relative;
        padding-left: 2rem;
    }

    .about-timeline::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background-color: var(--cb-primary-100);
    }

    .about-timeline-item {
        position: relative;
        margin-bottom: 2.5rem;
    }

    .about-timeline-item::before {
        content: '';
        position: absolute;
        left: -2rem;
        top: 0.5rem;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: var(--cb-primary);
    }

    .about-timeline-year {
        font-weight: 700;
        color: var(--cb-primary);
        margin-bottom: 0.5rem;
    }

    .about-values-list li {
        margin-bottom: 1rem;
        padding-left: 2rem;
        position: relative;
    }

    .about-values-list li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--cb-primary);
        font-weight: bold;
    }

    .about-section-title {
        position: relative;
        margin-bottom: 3rem;
    }

    .about-section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 3px;
        background-color: var(--cb-primary);
    }

    .text-center .about-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }


 /* ===== PROFESSIONAL RTO CARD DESIGN - FULLY RESPONSIVE ===== */

/* ===== PROFESSIONAL RTO CARD DESIGN ===== */

.rto-card {
    background: var(--card-background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cb-border);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rto-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* ===== CARD HEADER ===== */
.rto-card .card-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 16px 20px;
    border-bottom: 3px solid var(--cb-primary);
    flex-shrink: 0;
    position: relative;
}

.rto-card .card-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 4, 4, 0.05));
    pointer-events: none;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.office-name {
    font-family: var(--playfair-font);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.3;
    color: white;
    letter-spacing: -0.02em;
}

.office-zone {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.813rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.01em;
}

.rto-code-badge {
    background: linear-gradient(135deg, var(--cb-primary) 0%, #d40000 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.813rem;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(247, 4, 4, 0.3);
}

/* ===== CARD BODY ===== */
.rto-card .card-body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* margin-bottom: 14px; */
    flex: 1;
}

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

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--cb-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--cb-primary);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-row:hover {
    border-color: var(--cb-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateX(2px);
}

.info-row:hover::before {
    transform: scaleY(1);
}

.info-row.full-width {
    grid-column: 1 / -1;
}

.info-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, var(--cb-light) 0%, white 100%);
    border: 1.5px solid var(--cb-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-row:hover .info-icon {
    background: linear-gradient(135deg, var(--cb-primary-100) 0%, white 100%);
    border-color: var(--cb-primary-300);
    transform: scale(1.05);
}

.info-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--cb-dark-600);
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.info-row:hover .info-icon svg {
    stroke: var(--cb-primary);
}

.info-details {
    flex: 1;
    min-width: 0;
}

.info-label {
    font-size: 0.688rem;
    font-weight: 700;
    color: var(--cb-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
    display: block;
}

.info-text {
    font-size: 0.875rem;
    color: var(--cb-dark);
    font-weight: 600;
    line-height: 1.4;
    word-wrap: break-word;
}

.info-text a {
    color: var(--cb-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.info-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cb-primary);
    transition: width 0.3s ease;
}

.info-text a:hover {
    color: var(--cb-primary-600);
}

.info-text a:hover::after {
    width: 100%;
}

.timing-info {
    background: linear-gradient(135deg, var(--cb-light) 0%, white 100%);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--cb-primary);
    margin-top: 4px;
}

.timing-days {
    font-weight: 700;
    color: var(--cb-dark);
    margin-bottom: 2px;
    font-size: 0.813rem;
}

.timing-hours {
    color: var(--cb-dark-600);
    font-size: 0.75rem;
    font-weight: 500;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cb-border) 20%, var(--cb-border) 80%, transparent);
    margin: 14px 0;
    flex-shrink: 0;
}

/* ===== ACTION BUTTONS ===== */
.actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.rto-card .btn {
    font-family: var(--body-font);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    border: 2px solid;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.813rem;
    flex: 1;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.rto-card .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.rto-card .btn:hover::before {
    width: 300px;
    height: 300px;
}

.rto-card .btn-primary {
    background: linear-gradient(135deg, var(--cb-primary) 0%, #d40000 100%);
    border-color: var(--cb-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(247, 4, 4, 0.25);
}

.rto-card .btn-primary:hover {
    background: linear-gradient(135deg, #d40000 0%, var(--cb-primary) 100%);
    border-color: var(--cb-primary-600);
    color: white;
    box-shadow: 0 6px 20px rgba(247, 4, 4, 0.35);
    transform: translateY(-2px);
}

.rto-card .btn-secondary {
    background: white;
    border-color: var(--cb-dark);
    color: var(--cb-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rto-card .btn-secondary:hover {
    background: var(--cb-dark);
    border-color: var(--cb-dark);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.rto-card .btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.rto-card .btn span {
    position: relative;
    z-index: 1;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets and Medium Desktops */
@media (max-width: 1199px) {
    .rto-card .card-header {
        padding: 14px 18px;
    }

    .office-name {
        font-size: 1.063rem;
    }

    .rto-card .card-body {
        padding: 16px 18px;
    }

    .info-row {
        padding: 10px;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .info-section .d-flex {
        grid-template-columns: 1fr;
    }

    .rto-card .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    .rto-card {
        margin: 0;
        border-radius: var(--radius-md);
    }

    .rto-card .card-header {
        padding: 14px 16px;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rto-code-badge {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .office-name {
        font-size: 1rem;
    }

    .office-zone {
        font-size: 0.75rem;
    }

    .rto-card .card-body {
        padding: 14px 16px;
    }

    .info-section {
        gap: 10px;
    }

    .info-section .d-flex {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .info-row {
        padding: 10px;
    }

    .info-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .info-icon svg {
        width: 16px;
        height: 16px;
    }

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

    .rto-card .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.875rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .rto-card .card-header {
        padding: 12px 14px;
    }

    .office-name {
        font-size: 0.938rem;
    }

    .rto-card .card-body {
        padding: 12px 14px;
    }

    .info-row {
        padding: 10px;
        gap: 10px;
    }

    .info-label {
        font-size: 0.625rem;
    }

    .info-text {
        font-size: 0.813rem;
    }

    .timing-info {
        padding: 6px 10px;
    }

    .rto-card .btn {
        padding: 11px 18px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .rto-card {
        box-shadow: none;
        border: 1px solid #000;
        page-break-inside: avoid;
    }

    .rto-card:hover {
        transform: none;
        box-shadow: none;
    }

    .actions,
    .rto-card .btn {
        display: none !important;
    }

    .info-row:hover {
        transform: none;
        box-shadow: none;
    }

    .rto-card .card-header::after {
        display: none;
    }
}