
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');



:root {
  --font-Ubuntu: "Ubuntu", sans-serif;
  --font-open-sans: "Open Sans", sans-serif;
  --font-noto-sans: "Noto Sans JP", sans-serif;
  --font-loto-sans:"Lato", sans-serif;
  --title-color: #13141A;
  --text-color: #5E5E5E;
  --blue-color: #012E71;
  --yellow-color: #f1b520;
  --gray-color: #6c757d;
  --white-color: #fff;
  --dark-color: #212529;
  --border-color: #dee2e6;
  --shadow: 2px 2px 4px #00000029;
  
  
}

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

#body {
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    
}

header .navbar{
  background-color: var(--yellow-color) !important;
 
}
/*----header section start-----*/
.main-menu a{
  font-family: var(--font-Ubuntu);
  color: var(--white-color) !important;
  display: block;
  text-transform: capitalize;
  padding: 3px 15px !important;
  position: relative;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.5s ease-out 0s;

}
.main-menu a.active{
  color: var(--yellow-color) !important;
  background-color: var(--blue-color);
  border-radius: 30px !important;
  
}

 /* header section style */
  
.btn-success {
    background-color: #012E71;
    border: none;
  }
  
.btn-success:hover {
    background-color: #012E71;
  }

  /* Search box */
.search-conteiner {
  position: relative;
  width: 90%;
  max-width: 400px;
  max-height: 40px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  padding: 10px 15px;
}

.search-conteiner input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 8px 35px 8px 35px;
  border-radius: 30px;
  font-family: var(--font-open-sans);
  text-transform: none;
}

/* Search icon inside input */
.search-icon {
  position: absolute;
  left: 15px;
  color: #666;
  font-size: 18px;
}

/* Clear icon (X) */
.clear-icon {
  position: absolute;
  right: 15px;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
  display: none;
  transition: color 0.2s;
}

.clear-icon:hover {
  color: #333;
}

/* Responsive */
@media (max-width: 480px) {
  .search-conteiner input {
    font-size: 14px;
    padding: 6px 30px 6px 30px;
  }
}


  
  


.header-search input {
  background: #FAF8FB;
  border: 1px solid #EEEEEE;
  border-radius: 5px 0px 0px 5px;
  width: 100%;
  height: 52px;
  padding: 10px 30px;
  font-family: var(--font-open-sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-color);
}
.header-search button {
  width: 68px;
  height: 52px;
  border-radius: 0px 5px 5px 0px;
  background-color: var(--blue-color);
  transition: 0.5s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.header-search button:hover {
  background-color: var(--gray-color);

}
.hearder-links{
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-open-sans);
  font-weight: 500;
  font-size: 13px;
  color: #fff;
  background-color: transparent;
  transition: 0.35s;
}


  /* Gradient animated badge */
.coming-soon-badge {
    background: linear-gradient(45deg, #ff3cac, #784ba0, #2b86c5);
    background-size: 300% 300%;
    animation: gradientMove 3s ease infinite;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}
.text-muted{
    font-family: var(--font-open-sans);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    color: var(--text-color);
    margin-bottom: 5px;
    display: inline-block;
    
}
.fw-bold{
    font-family: var(--font-Ubuntu);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: var(--title-color);
    transition: 0.5s;
}

.inquiry .icon-round {
  width: 30px;
  height: 30px;
  background: var(--blue-color);       /* உங்கள் theme color */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.inquiry .icon-round i{
  color: var(--yellow-color);
}
.inquiry small{
  color: var(--blue-color) !important;
 
}
.inquiry a{
  color: var(--white-color) !important;
  text-decoration: none;
}
  
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
/*.dropdown-item:hover .coming-soon-badge {
    transform: scale(1.1);
    transition: 0.3s ease;
  }*/
  
/* Responsive tweaks */
@media (max-width: 768px) {
    header .container-fluid {
      flex-direction: column;
      text-align: center;
    }
  
    form {
      width: 100%;
    }
  
    .navbar-nav {
      text-align: center;
    }
  }
/*----header section end-----*/

/*===============================================*/

/*----main banner section start-----*/
/*----main banner section start-----*/
.hero-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  background: transparent; /* no black flash */
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /*opacity: ;*/
  z-index: 0;
  transition: opacity 1s ease-in-out;
  background: #000;
}

.slide.active {
  opacity: 1;
  z-index: 5; /* always on top */
}

.slide.prev {
  opacity: 1;   /* keep visible */
  z-index: 4;   /* just under active */
}



.slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Right-side White Message Box */
.right-info-box {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  width: 420px;                     /* BIGGER BOX */
  background: #0e0e0dab;
  padding: 15px 40px;               /* MORE SPACIOUS */
  
  border-radius: 5px;              /* Smooth message box shape */
  border: 1px solid rgba(0,0,0,0.08);
  
  box-shadow: 0 0px 23px rgb(239 238 238 / 98%);
  z-index: 120;

  opacity: 0;
  animation: fadeBounce 0.6s ease forwards !important;
}
/* Animation */
/* Bounce Animation */
@keyframes fadeBounce {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.80);
  }
  60% {
    opacity: 1;
    transform: translateY(-52%) scale(1.03); /* small overshoot */
  }
  80% {
    opacity: 1;
    transform: translateY(-49%) scale(0.97); /* slight reverse */
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);    /* final perfect position */
  }
}


.right-info-box span{
  color: var(--yellow-color);
}
/* Heading – Larger & Bolder */
.right-info-box h3 {
  font-size: 45px;                  /* Bigger */
  font-weight: 800;
  color: var(--white-color);
  margin-bottom: 12px;
  line-height: 1.2;
  font-family: var(--font-Ubuntu);
}
.right-info-box .bg-line{
  border-bottom: 1px solid rgba(255, 255, 255, 0.774);
  }
/* Subheading – Bigger & clean */
.right-info-box p {
  font-size: 25px;                  /* Bigger */
  font-weight: 500;
  color: var(--white-color);
  margin: 0;
  line-height: 1.5;
  opacity: 0.9;
  font-family: var(--font-loto-sans);
}



/* Responsive */
@media(max-width: 992px) {
  .right-info-box {
      width: 350px;
      padding: 30px 32px;
  }
  .right-info-box h3 { font-size: 30px; }
  .right-info-box p { font-size: 18px; }
}

@media(max-width: 768px) {
  .right-info-box {
      right: 50%;
      top: 82%;
      transform: translate(50%, -50%);
      width: 300px;
      padding: 26px 28px;
  }
  .right-info-box h3 { font-size: 26px; }
  .right-info-box p { font-size: 16px; }
}

@media(max-width: 480px) {
  .right-info-box {
      width: 240px;
      padding: 18px 20px;
      top: 84%;
      transform: translate(50%, -50%);
  }
  .right-info-box h3 { font-size: 20px; }
  .right-info-box p { font-size: 13px; }
}



/* left shadow overlay */
.overlay-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  z-index: 50;
}

/* text box */
.content-box {
  position: relative;
  top: 80%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 100;
  color: #fff;
  max-width: 100%;
  height: 100%;
  animation: squareReveal 0.9s ease forwards;
}
.content-box h5 {
  font-size: 13px;
  margin-bottom: 5px;
  font-family: var(--font-open-sans);
  background-color: rgb(211, 51, 51);
  padding: 2px 8px;
  width: fit-content;
  border-radius: 3px;
  text-transform: uppercase;
}

.content-box h2 {
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: var(--font-noto-sans);
}

.content-box p {
  font-size: 17px;
  margin-bottom: 20px;
  font-family: var(--font-open-sans);
}

.hero-slider .cta-btn {
  background: var(--yellow-color);
  padding: 10px 18px;
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  transition: 0.3s;
  font-size: 14px;
  font-family: var(--font-open-sans);
  text-transform: none;
  
}


/* unique square reveal animation */
@keyframes squareReveal {
  0% {
      clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  100% {
      clip-path: polygon(0 0, 60% 0, 60% 100%, 0 100%);
  }
}

/* round control dots */
.slider-controls {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 6;
}

.control-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.control-btn.active {
  background: var(--white-color);
}

/* ✅ Responsive */
@media(max-width:768px) {
  .content-box {
    
    max-width: 100%;
    
  }
  .content-box h2 {
      font-size: 28px;
  }
  .hero-slider {
      height: 50vh;
  }
  .overlay-left {
      width: 60%;
  }
}

@media(max-width:480px) {
  .content-box {
    max-width: 100%; 
  }
  .slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .content-box h5{
    font-size: 8px;
  }
  .content-box h2 {
      font-size: 15px;
  }
  .content-box p {
    font-size: 10px;
    margin-bottom: 10px;
}
  .hero-slider {
      height: 30vh;
      width: 100%;
  }
  .hero-slider  .cta-btn{
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 600;
  }
  .overlay-left {
      width: 80%;
  }
  .control-btn {
    width: 8px;
    height: 8px;
    
  }
}
/*----main banner section end-----*/




/*----main banner section end-----*/

/*===============================================*/

/*----main footer section start-----*/
footer {
  background-color: var( --dark-color);
  color: #fff;
  padding: 60px 0 20px;
}

footer h6 {
  margin-bottom:23px;
  color: var(--white-color);
  font-size: 20px;
  font-family: var(--font-Ubuntu);
  font-weight: 600;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #B3B3B3;
  font-size: 15px;
  font-family: var(--font-open-sans);
  font-weight: 600;
  transition: 0.35s;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

footer ul li a:hover {
  color: var(--white-color);
}

.play-store li a{
  display: inline-block;
  padding: 14px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);

}
.footer-logo {
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color:var(--white-color);
}

.footer-logo i {
  font-size: 30px;
  color: var(--white-color);
}
.footer-contact-info{
  color: #B3B3B3;
  font-size: 14px;
  font-family: var(--font-open-sans);
  font-weight: 600;
  line-height: 1;
 
  margin-bottom: 10px

}
.footer-contact-info a:hover{
  color: var(--gray-color);
  text-decoration: none;
}


.footer-contact {
  color: var(--white-color);
  font-size: 20px;
  font-family: var(--font-Ubuntu);
  font-weight: 600;
  line-height: 1;
  transition: 0.35s;
  text-decoration: none;
}



.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: #888;
}

.footer-bottom a {
  color: var(--white-color);
  text-decoration: none;
}
.footer-bottom .copyright{
  margin-bottom: 0;
  color: var(--gray-color);
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-open-sans);
}

.social-icons a {
  color: #fff;
  margin-right: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--gray-color);
}


@media (max-width: 768px) {
  footer .col-md-2,
  footer .col-md-3 {
    margin-bottom: 30px;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }
}
/*----main footer section end-----*/

/*===============================================*/

/*----main Search section start-----*/




/*----main Search section end-----*/

/*===============================================*/




/*----main search post section start-----*/
/* ===========================================
   PREMIUM TRENDING CAR CARD — AUTO ELITE STYLE
   =========================================== */
  .search-post{
   
    max-width: 1220px;
  }
   .search-post .car-card {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e0e0;
    position: relative;
    transition: all .45s ease;
    box-shadow: var(--shadow);
    transform: translateY(0px);
    animation: fadeUp .6s ease forwards;
  }
  .search-post .car-item a{
    text-decoration: none;
  }
  .search-post .heading{
    color: var(--dark-color);  
    font-size: 25px;
    line-height: 1.3;
    letter-spacing: normal;
    font-weight: 600;
    font-family: var(--font-Ubuntu);
    
  }
  /* Hover Magic */
  .search-post .car-card:hover {
    transform: translateY(-3px);
    box-shadow:2px 2px 4px #8b8b8b9f;
  }
  
  /* Image */
  .search-post .postimg-slide {
    position: relative;
    overflow: hidden;
  }
  
  .search-post .postimg-slide img {
    width: 100%;
    height: 170px;
    padding: 6px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform .6s ease;
  }
  
  /* Parallax Zoom on Hover */
  
  /* Heart Button - Premium Glass */
  .search-post .heart-btn {
  position: absolute;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;

          /* white circular bg */
      /* outline ring */

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.search-post .heart-btn:hover::before {
  content: "♥️";
}

.search-post .heart-btn.active::before {
  content: "♥️";
}
.search-post .heart-btn::before {
  content: "🤍";
}

  
  /* --------------------------
   PREMIUM CARD BODY SECTION
---------------------------*/

.search-post .card-body {
  padding: 18px 10px 18px 10px;
  background: #fff;
  border-radius: 0 0 14px 14px;
}

/* Location */
.search-post .location {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-color);
  margin-bottom: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: var(--font-open-sans);
}

/* Title */
.search-post .car-title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin: 10px 0 10px;
  line-height: 1.2;
  font-family: var(--font-Ubuntu);
}

/* Title + Price container */
.search-post .title-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* -------- PREMIUM PRICE LABEL (Tilt Style) ------- */
.search-post .price-total {
  background: var(--yellow-color);
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgb(133, 133, 133);
  font-size: 15px;
  font-weight: 700;
  color: #111;
  /*box-shadow: 0 4px 8px rgb(255 200 0 / 35%);
  transform: skew(-8deg);*/
  
}

.search-post .price-total span {
  /*transform: skew(8deg);*/
  display: inline-block;
}
  

/* Icons Row */
.search-post .info-icons {
  font-size: 12px;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-weight: 700;
  font-family: var(--font-open-sans);
}

.search-post .info-icons i {
  margin-right: 4px;
  font-size: 14px;
}
@media (max-width: 576px) {
  .search-post .car-card{
    animation: none;

  }
}





  
  /* Fade-up animation */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(25px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
/*load more btn*/
/* load more btn */
.search-post .load-more {
  background: #222;
  color: #fff;
  padding: 10px 28px;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* disabled */
.search-post .load-more.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

/* dropdown-style arrow movement */
.search-post .load-more.loading .btn-icon {
  animation: arrowDown 0.8s ease-in-out infinite;
}

@keyframes arrowDown {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(6px); }
  100% { transform: translateY(0); }
}



/* Full screen dark overlay */

/*----main search post section end-----*/

/*===============================================*/

/*----main feature car section start-----*/

.feature-car{
  
  max-width: 1220px;
}
/* PREMIUM HEADING WITH ARROWS */
.feature-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:15px;
}

.feature-car .heading{
  white-space: nowrap;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-color);
  font-family: var(--font-Ubuntu);
}
/* SLIDER MAIN FIX */
/* NEW PREMIUM ARROWS */
.feature-car .nav-arrows{
  display:flex;
  gap:10px;
}

.feature-car .slide-btn-new{
  border: none;
    background: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgb(0 0 0 / 25%);
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
}

.feature-car .slide-btn-new:hover{
  background: black;
  color: white;
}

/* SLIDER FIX */
.feature-car .slider-wrapper{ 
  position:relative; 
  padding-top: 0px;
}

.feature-car .slider-container{
  display:flex !important;
  flex-wrap:nowrap !important;
  overflow-x:auto;
  scroll-behavior:smooth;
}

.feature-car .slider-container::-webkit-scrollbar{ display:none; }

/* CARD WIDTH FIX */
.feature-car .slider-container > .col-md-3{
  flex:0 0 25%;
  max-width:25%;
}

.feature-car .car-card {
  border-radius:15px;
  overflow:hidden;
  transition:all .35s ease;
  background:#fff;
  transition: all .45s ease;
  box-shadow: 0 4px 18px rgb(0 0 0 / 12%);
  transform: translateY(0px);
  animation: fadeUp .6s ease forwards;
  position: relative;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  box-shadow: var(--shadow); 
   
}
.feature-car  a{
  text-decoration: none;
}
.feature-car .car-card:hover {
  transform: translateY(-3px);
  box-shadow:2px 2px 4px #8b8b8b9f;
}
.feature-car .postimg-slide img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform .6s ease;
  padding: 6px;
}
/* Heart Button - Premium Glass */
.feature-car .heart-btn {
  position: absolute;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.feature-car .heart-btn:hover::before {
  content: "♥️";
}

.feature-car .heart-btn.active::before {
  content: "♥️";
}
.feature-car .heart-btn::before {
  content: "🤍";
}



.feature-car .card-body {
  padding: 12px;
  background-color: #fff;
}
.feature-car .location {
  font-size: 13px;
    font-weight: 600;
    color: var(--blue-color);
    margin-bottom: 8px;
    display: flex;
    gap: 6px;
    align-items: center;
    font-family: var(--font-open-sans);

}
.feature-car .car-title {
  color: var(--title-color);
  font-family: var(--font-Ubuntu);
  font-size: 16px;
  font-weight: 600;
  transition: 0.35s;
  margin-bottom: 20px;

}
.feature-car .info-icons {
  font-size: 12px;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    font-weight: 700;
    font-family: var(--font-open-sans);


}
.feature-car .btn-view {
  background-color: var(--blue-color);
  border: none;
  color: var(--white-color);
  font-size: 0.90rem;
  border-radius: 5px;
  padding: 6px 14px;
  font-weight: 500;
  transition: 0.3s;
  font-family: var(--font-mont-sans);
}
.feature-car .btn-view:hover {
  background-color: var(--yellow-color);
  color: var(--dark-color);
  font-weight: 500;
  border-radius: 5px;
  
}
.feature-car .price-total {
  background: var(--yellow-color);
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgb(133, 133, 133);
  font-size: 15px;
  font-weight: 700;
  color: #111;
 
}

.feature-car .price-total span {
 
  display: inline-block;
}
.feature-car .price{
  font-family: var(--font-open-sans);
}

.slider-wrapper {
  position: relative;
}


/* ========================================================= */
/* 📱 Mobile and Tablet Styles (Optimized) */
/* ========================================================= */

/* --- 1. Header & Arrows Optimization (Max 991.98px) --- */
@media (max-width: 991.98px) {
    
  .feature-car {
      padding-top: 20px;
      padding-bottom: 20px;
      /* Ensure container-fluid provides padding on the sides */
      padding-left: 15px; 
      padding-right: 15px;
  }

  /* Stack Heading and Arrows on Tablet/Mobile */
  .feature-top {
      flex-direction: column;
      align-items: flex-start;
      margin-bottom: 10px;
  }

  .feature-car .heading {
      font-size: 24px; /* Smaller heading */
      white-space: normal;
      margin-bottom: 10px; /* Space between heading and arrow buttons */
  }

  /* Keep Arrows on the right side of the container */
  .feature-car .nav-arrows {
    
      position: absolute;
      top: 25px; /* Adjust position relative to the feature-car container */
      right: 15px;
      z-index: 10;
      gap: 8px; /* Slightly smaller gap between buttons */
  }

  .feature-car .slide-btn-new {
      width: 32px; /* Smaller buttons */
      height: 32px;
      font-size: 15px;
      box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
  }

  /* Slider Wrapper Padding */
  .feature-car .slider-wrapper {
      padding: 0; /* Remove padding if any, the list will handle it */
  }
}

/* --- 2. Card Sizing and Layout (Tablet: Max 767.98px) --- */
@media (max-width: 767.98px) {
  .feature-car .nav-arrows {
    display: none;
  }
  /* The col-sm-6 class handles 2 cards per row on standard tablets. 
     We only need to adjust the CSS override for the slider. */

  .feature-car .slider-container {
      padding-left: 15px; /* Add padding for scroll visibility */
      padding-right: 15px;
  }
  
  .feature-car .slider-container > .col-md-3 {
      /* Override the desktop 25% width to show 2-3 cards per screen width */
      flex: 0 0 40%; /* Show 2.5 cards on a small tablet screen */
      max-width: 40%;
      padding-right: 15px; /* Add spacing between cards */
  }

  /* Card Details Adjustment */
  .feature-car .postimg-slide img {
      height: 160px; /* Shorter image */
  }
  
  .feature-car .car-title {
      font-size: 15px;
      margin-bottom: 10px;
  }

  .feature-car .info-icons {
      font-size: 11px;
      gap: 8px;
  }
  
  .feature-car .price-total {
      padding: 4px 12px;
      font-size: 14px;
  }
}


/* --- 3. Card Sizing and Layout (Mobile: Max 575.98px) --- */
@media (max-width: 575.98px) {
  .feature-car .nav-arrows {
    display: none;
  }
  /* The default col-* or col-sm-6 will often result in 1 card per row (100% width)
     on smaller mobile devices. Here we force scrollable behavior. */
     
  .feature-car .slider-container > .col-md-3 {
      /* Force single card width to make it horizontally scrollable */
      flex: 0 0 85%; /* Show 1.2 cards on a phone screen */
      max-width: 85%;
      padding-right: 12px; /* Add spacing between cards */
  }
  
  .feature-car .postimg-slide img {
      height: 140px; /* Even shorter image on phone */
  }
  
  .feature-car .car-card {
      margin-bottom: 10px;
  }
}







/*----main feature car section end-----*/

/*===============================================*/

/*----main post filter section start-----*/

/*-------------used cars post section---------------*/
.main-filter-section{
  max-width: 1220px;
  margin-top: 30px;
}
.main-filter-section .heading{
  white-space: nowrap;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-color);
  font-family: var(--font-Ubuntu);

}
/* Premium Horizontal Card */
.main-filter-section .main-filter-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  position: relative;
  min-height: 160px;
  border: 1px solid #e0e0e0;
}

.main-filter-section .main-filter-card:hover {
  transform: translateY(-3px);
  box-shadow:2px 2px 4px #8b8b8b9f;
}

/* Left Image */
.main-filter-section .main-filter-card img {
  width: 200px;
  border-radius: 15px;
  object-fit: cover;
  transition: transform .6s ease;
  padding: 6px;

}

/* Right Content */
.main-filter-section a{
  text-decoration: none;
}
.main-filter-section .car-info {
  padding: 18px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Badge 
.main-filter-section .badge-custom {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.75rem;
  border-radius: 12px;
  color: #fff;
}

.main-filter-section .featured { background: linear-gradient(45deg, #ff9800, #ffb74d); }
.main-filter-section .excellent { background: linear-gradient(45deg, #28a745, #66bb6a); }*/

/* Heart Icon */
.main-filter-section .heart-btn {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 12px;
  width: 35px;
  height: 35px;
  font-size: 16px;
  border-radius: 50%;
  color: var(--white-color);
  transition: all .3s ease;
  display: flex;
 justify-content: center;
 align-items: center;
}

.main-filter-section .heart-btn:hover::before {
  content: "♥️";
}

.main-filter-section .heart-btn.active::before {
  content: "♥️";
}
.main-filter-section .heart-btn::before {
  content: "🤍";
}

/* Title */
.main-filter-section .main-filter-title {
  color: var(--title-color);
  font-family: var(--font-Ubuntu);
  font-size: 14px;
  font-weight: 600;
  transition: 0.35s;
  margin-bottom: 10px;
}

/* Details */
.main-filter-section .info-icons{
  font-size: 9px;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 700;
  font-family: var(--font-open-sans);

}

/* Price */
.main-filter-section .main-filter-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 20px;
}

/* Button */
.main-filter-section .btn-seller {
  background: var(--yellow-color);
  padding: 6px 16px;
  width: 140px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-color);
  transition: .3s ease;
  border: 1px solid rgb(133, 133, 133);
  font-family: var(--font-loto-sans);

}



/* Responsive */
@media (max-width: 768px) {
  .main-filter-section .main-filter-card {
    flex-direction: column;
  }
  .main-filter-section .heading{
    font-size: 24px;
    white-space: normal;
    margin-bottom: 10px;
  }
  .main-filter-section .main-filter-card img {
    width: 100%;
    height: 190px;
  }

  .main-filter-section .car-info {
    padding: 15px;
  }
}

.search-sort {
  
  margin-bottom: 20px;
}
.search-sort .search-sort-text{
  font-family: var(--font-open-sans);
}
.search-sort .form-select{
  font-family: var(--font-open-sans);
}

/* load more btn */
.main-filter-section .load-more {
  background: #222;
  color: #fff;
  padding: 10px 28px;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* disabled */
.main-filter-section .load-more.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

/* dropdown-style arrow movement */
.main-filter-section .load-more.loading .btn-icon {
  animation: arrowDown 0.8s ease-in-out infinite;
}

@keyframes arrowDown {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(6px); }
  100% { transform: translateY(0); }
}

/*=========================*/
/* Filters content scroll section*/
.filter-sidebar {
  max-height: 90vh; /* or adjust to your layout */
  overflow-y: auto;
  padding-right: 10px; /* space for scrollbar */
  scrollbar-width: thin; /* for Firefox */
}
/* Optional - nice custom scrollbar for Chrome/Edge */
.filter-sidebar::-webkit-scrollbar {
  width: 6px;
}
.filter-sidebar::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}
.filter-sidebar::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}


.filter-section {
  background: #fff;
  padding: 14px;
  border-radius: 15px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.filter-section .title {
  margin-bottom: 15px;
  font-family: var(--font-Ubuntu);
  font-weight: 600;
  font-size: 15px;
  line-height: 25px;
  color: var(--title-color);
  display: flex;
  align-items: center;
  gap: 4px;
}


/* Make/Model filter styles */
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  margin-top: 20px;
}
.filter-header .filter-category{
  font-family: var(--font-Ubuntu);
  font-weight: 600;
  font-size: 14px;
  line-height: 25px;
  color: var(--dark-color);
}


.filter-header i {
  transition: transform 0.3s ease;
}

.filter-header.collapsed i {
  transform: rotate(180deg);
}

.filter-body {
  margin-top: 15px;
}

.search-box {
  position: relative;
  margin-bottom: 15px;
}

.search-box input {
  padding-left: 35px;
  border-radius: 8px;
}

.search-box i {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #888;
}
#brandList .model-list{
  display: none;
}
.brand-item .plus-btn {
  cursor: pointer;
  font-weight: bold;
  user-select: none;
}
.brand-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  font-family: var(--font-Ubuntu);
  color: var(--dark-color);
  font-weight: 600;
}

.brand-item input {
  margin-right: 6px;
  font-family: var(--font-open-sans);
}

.brand-name {
  display: flex;
  align-items: center;
}

.brand-count {
  color: #888;
  font-size: 0.9rem;
}

.plus-btn {
  font-weight: bold;
  color: #888;
  cursor: pointer;
  font-family: var(--font-Ubuntu);
}
.model-item{
  font-family: var(--font-Ubuntu);
  font-size: 13px;
  cursor: pointer;

}

.plus-btn:hover {
  color: #000;
}


/*car type*/
.filter-header {
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
font-weight: 600;
margin-top: 20px;
}

.filter-header i {
transition: transform 0.3s ease;
}

.filter-header.collapsed i {
transform: rotate(180deg);
}

.filter-body {
margin-top: 10px;
}

.filter-body .form-check-label {
font-size: 13px;
}

.text-muted {
font-size: 0.9rem;
font-family: var(--font-open-sans);
}
/*fuel type*/
.filter-header {
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
font-weight: 600;
margin-top: 20px;
}

.filter-header i {
transition: transform 0.3s ease;
}

.filter-header.collapsed i {
transform: rotate(180deg);
}

.filter-body {
margin-top: 10px;
}

.form-check-label {
font-family: var(--font-Ubuntu);
font-size: 13px;
cursor: pointer;
}

.text-muted {
font-size: 0.9rem;
}
/*budget test*/

.budget {
width: 100%;
}

.slider-wrap {
position: relative;
height: 28px;
margin-top: 5px;
}

.track {
position: absolute;
top: 12px;
left: 0;
right: 0;
height: 6px;
background: #e0e0e0;
border-radius: 5px;
}

.range {
position: absolute;
top: 12px;
height: 6px;
background: var(--blue-color);
border-radius: 5px;
}

input[type=range] {
position: absolute;
width: 100%;
top: 0;
height: 28px;
background: none;
pointer-events: none;
-webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
pointer-events: auto;
width: 16px;
height: 16px;
background: var(--blue-color);
border: 3px solid #fff;
border-radius: 50%;
box-shadow: 0 0 0 2px rgba(13,110,253,0.2);
cursor: pointer;
}

.values {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 14px;
gap: 10px;
}

.value-box {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.value-box label {
font-size: 13px;
margin-bottom: 4px;
color: #333;
}

.value-box input {
width: 90px;
border: 1px solid #ccc;
border-radius: 6px;
padding: 6px 0;
text-align: center;
background: #fff;
font-size: 14px;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
/* City Filter Styles */
#cityFilter .search-box {
position: relative;
margin-bottom: 12px;
}

#cityFilter .search-box input {
padding-left: 35px;
border-radius: 8px;
}

#cityFilter .search-box i {
position: absolute;
top: 9px;
left: 10px;
color: #888;
}

#popularCities .city-btn {
border-radius: 20px;
font-size: 13px;
padding: 5px 14px;
transition: 0.2s;
font-family: var(--font-open-sans);
color: var(--text-color);
border: 1px solid b#5E5E5E;
}

#popularCities .city-btn.active, 
#popularCities .city-btn:hover {
background-color: var(--blue-color);
color: var(--white-color);
border-color: var(--blue-color);
}

#allDistricts .city-btn {
border-radius: 20px;
font-size: 13px;
padding: 5px 14px;
transition: 0.2s;
font-family: var(--font-open-sans);
color: var(--text-color);
border: 1px solid b#5E5E5E;
}

#allDistricts .city-btn.active, 
#allDistricts .city-btn:hover {
background-color: var(--blue-color);
color: var(--white-color);
border-color: var(--blue-color);
}

/* --- Blue Range Design (perfect alignment) --- */
.range-slider {
  position: relative;
  height: 6px;
  margin: 20px 0 10px 0;
}

.range-track {
  position: absolute;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #d3d3d3;
  top: 0;
  left: 0;
}

.range-fill {
  position: absolute;
  height: 6px;
  background: var(--blue-color);
  border-radius: 5px;
  top: 0;
  left: 0;
}
.range-slider-label label{
  font-family: var(--font-Ubuntu);
  font-size: 13px;
}

.range-slider input[type=range] {
  position: absolute;
  width: 100%;
  height: 6px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
}

.range-slider input[type=range]::-webkit-slider-thumb {
  pointer-events: all;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-color);
  border: 3px solid #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
  -webkit-appearance: none;
}

.range-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
}

.range-values input {
  width: 75px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 3px 0;
  font-size: 14px;
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 991px) {
  .filter-section {
    margin-bottom: 25px;
  }
  .search-sort {
    flex-direction: column;
    gap: 10px;
  }
  #searchInput {
    width: 100% !important;
  }
  #sortSelect {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .main-filter-card img {
    height: auto;
    width: 100%;
  }
  .btn-offer, .btn-seller {
    display: block;
    width: 100%;
    margin-top: 8px;
  }
  .values input {
    width: 80px;
    font-size: 12px;
  }
  .brand-item {
    flex-wrap: wrap;
  }
  .brand-count {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .filter-section {
    padding: 15px;
  }
  .car-info h6 {
    font-size: 0.95rem;
  }
  .btn-seller {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
  .load-more {
    width: 100%;
  }
}

/*----main post filter section end-----*/

/*===============================================*/

/*----counter section start-----*/
/* ================= COMPACT PREMIUM COUNTER ================= */
.stats-section{
  padding: 40px 0;
 
  max-width: 1220px;

}
.stat-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px 10px;      /* reduced padding */
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  transition: all 0.3s ease;
  position: relative;
  height: 150px;           /* smaller height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}



/* Hover */
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

/* Icon */
.count-icon img {
  width: 80px;        /* smaller icon */
  height: 80px;
  transition: 0.3s;
  
}

.stat-card:hover .count-icon img {
  transform: scale(1.12);
  filter: brightness(1.1);
}

/* Numbers */
.stat-number {
  font-weight: 700;
  font-size: 22px;    /* smaller font */
  
  color: #0d2c64;
}

/* Text */
.stat-text {
  font-size: 13px;
  font-weight: 600;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .stat-card {
    height: 130px;
    padding: 18px 5px;
  }
  .count-icon img {
    width: 35px;
    height: 35px;
  }
  .stat-number {
    font-size: 20px;
  }
  .stat-text {
    font-size: 12px;
  }
}

/*----counter section end-----*/


/*===============================================*/

/*---top cars post section start---*/
.topcars-section{
  padding: 40px 0;
  max-width: 1220px;
}
.topcars-section .slider-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 5px;
}

.topcars-section .slider-list {
  display: flex;
  gap: 20px;
  transition: all .4s ease-in-out;
}

.topcars-section .heading{
  white-space: nowrap;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-color);
  font-family: var(--font-Ubuntu);
}
.topcars-section .car-card {
  min-width: 230px;
  height: 290px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: .3s;
  box-shadow: var(--shadow);
  

  
}

.topcars-section .car-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;

}

/* Black Gradient Overlay */
.topcars-section .car-card .info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 15px;
  width: 100%;
  background: linear-gradient(#0000004d, rgba(0,0,0,100%));
  color: white;
}

.topcars-section .car-card .info h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.topcars-section .car-card .info p {
  margin: 3px 0 0;
  font-size: 13px;
  opacity: 0.8;
}
.topcars-section .car-card .info .info-icons {
  margin: 3px 0 0;
  font-size: 11px;
  opacity: 0.8;
}
.topcars-section .car-card .location {
  position: absolute;
  z-index: 500 !important;
  top: 15px;
  left: 10px;
  font-family: var(--font-open-sans);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  background-color: #000;
  padding: 1px 6px 1px 6px;
  border-radius: 5px;
  color: var(--white-color);
}
/* Control Buttons */
.topcars-section .control-btn {
  border: none;
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgb(0 0 0 / 25%);
  cursor: pointer;
  font-size: 17px;
  font-weight: bold;
}

.topcars-section .control-btn:hover {
  background: black;
  color: white;
}

#topcarSlider {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  
}

#topcarSlider::-webkit-scrollbar {
  display: none;
}
.topcars-section .car-card {
  position: relative;
   /* rounded image mela heart stay panna */
}
/* heart on image */
.topcars-section .car-card .heart-btn {
  position: absolute;
  z-index: 500 !important;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
}

/* default */
.topcars-section .car-card .heart-btn::before {
  content: "🤍";
}

/* hover — ONLY when NOT active */
.topcars-section .car-card .heart-btn:not(.active):hover::before {
  content: "♥️";
}

/* ACTIVE — ALWAYS RED */
.topcars-section .car-card .heart-btn.active::before {
  content: "♥️";
}



/* ========================================================= */
/* 📱 Mobile and Tablet Styles (Max 991.98px) */
/* ========================================================= */

@media (max-width: 991.98px) {

  /* Section Container */
  .topcars-section {
      padding: 20px 0; /* Reduce vertical padding on mobile/tab */
      margin-top: 10px !important;
      margin-bottom: 20px !important;
  }

  /* Slider Header: Stacking Heading and Controls */
  .topcars-section .d-flex.justify-content-between {
      flex-direction: column; /* Stack the heading and controls */
      align-items: flex-start !important; /* Align everything to the left */
      gap: 10px; /* Space between stacked items */
      margin-bottom: 15px !important;
      padding: 0 15px; /* Add horizontal padding since container-fluid doesn't always handle it */
  }

  /* Heading Size */
  .topcars-section .heading {
      font-size: 24px; /* Smaller heading on mobile/tab */
      white-space: normal; /* Allow heading to wrap if needed */
      line-height: 1.2;
  }
  
  /* Control Buttons: Move to the right edge */
  .topcars-section .d-flex:last-child {
    display: none !important;
      /* This targets the div containing the two buttons */
       /* Align to the right edge */
  }

  .topcars-section .control-btn {
      width: 30px; /* Slightly smaller buttons */
      height: 30px;
      font-size: 14px;
      box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
  }

  /* Slider List / Cards */
  .topcars-section .slider-list {
      /* We are relying on the existing overflow: auto for scrolling */
      padding-left: 15px; /* Add padding to the start of the slider */
      padding-right: 15px; /* Add padding to the end of the slider */
      gap: 12px; /* Reduce gap between cards */
  }

  .topcars-section .car-card {
      min-width: 180px; /* Reduce card width to show more cards/scroll less */
      height: 250px; /* Reduce card height */
      border-radius: 12px; /* Slightly smaller corner radius */
      box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Lighter shadow */
  }
  .topcars-section .car-card img {
      border-radius: 12px;
  }

  /* Card Info Overlay */
  .topcars-section .car-card .info {
      padding: 12px; /* Reduced padding inside the info box */
  }

  .topcars-section .car-card .info h6 {
      font-size: 14px; /* Smaller title font */
  }

  .topcars-section .car-card .info p {
      font-size: 12px; /* Smaller price font */
  }
  .topcars-section .car-card .info .info-icons {
      font-size: 10px; /* Smaller price font */
  }
  .topcars-section .car-card .location{
    font-size: 10px; /* Smaller price font */
  }
}
  


/*---top cars post section end---*/


/*===============================================*/


/*===============================================*/


/*----main news section start-----*/
.news-section{
  padding: 40px 0;
  max-width: 1220px;
}
/* LEFT CARD */
.news-left-card {
  background: #fff;
  border:1px solid rgb(177, 176, 176);;
  padding: 15px;
  border-radius: 30px;
}

/* SLIDER WRAPPER */
.news-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 5px;
  padding-top: 5px;
}

.news-slider::-webkit-scrollbar {
  display: none;
}

/* SLIDER CARDS */
.news-card {
  min-width: 280px;
  max-width: 300px;
  background: #fff;
  border: none;
  border-radius: 18px;
  padding: 12px;
  transition: 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
}
.news-section .heading{
  white-space: nowrap;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-color);
  font-family: var(--font-Ubuntu);
}
.news-section .news-head{
  font-size: 20px;
}
.news-section h5{
  font-family: var(--font-loto-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--title-color);
  line-height: 20px;
  transition: 0.5s;

}
.news-section h6{
  font-family: var(--font-loto-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--title-color);
  line-height: 20px;
  transition: 0.5s;

}
.news-section p{
  font-size: 15px;
  font-family: var(--font-open-sans);
  color: var(--dark-color);
  letter-spacing: 0.5px;
  font-weight: 400;
  line-height: 1.5;
}
.news-left-card img{
  
  border-radius: 30px;
}
.news-img {
  width: 100%;
  border-radius: 30px;
}

/* BUTTONS */
.news-controls {
  display: flex;
  gap: 8px;
}

.news-btn {
  border: none;
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgb(0 0 0 / 25%);
  cursor: pointer;
  font-size: 17px;
  font-weight: bold;
}

.news-btn:hover {
  background: black;
  color: white;
}

.read-more-link {
  color: var(--blue-color);
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-loto-sans);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .news-card {
      min-width: 230px;
  }
  .news-section .heading{
    font-size: 24px;
    white-space: normal;
    margin-bottom: 10px;
  }
}


/*----main news section end-----*/

/*===============================================*/



/*---- location modal section start ----*/
.location-icon{
  cursor: pointer;
}
.nav-location .modal-content {
  border: none;
  border-radius: 0px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.4s ease-out;
  background: #fff;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-location .modal-header {
  border-bottom: none;
  background: transparent;
  font-weight: 800;
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0.3px;
  padding-bottom: 0;
  font-family: var(--font-noto-sans);
}

.nav-location .btn-close {
  background-color: #f0f2f5;
  border-radius: 50%;
  opacity: 0.8;
  transition: 0.2s;
}
.nav-location .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* Search Box */
.nav-location .location-search-box {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.nav-location .location-search-box input {
  height: 48px;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding-left: 45px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

.nav-location .location-search-box input:focus {
  outline: none;
  border-color: #012E71;
  box-shadow: 0 0 0 3px rgba(24, 70, 134, 0.1);
  background-color: #fff;
}

.nav-location .location-search-box .bi-search {
  position: absolute;
  left: 15px;
  font-size: 18px;
  color: #888;
}

.nav-location .district-list {
  margin-top: 10px;
}

.nav-location .district-item {
  padding: 6px 10px;
  cursor: pointer;
}

.nav-location .district-item:hover {
  background: #f1f1f1;
}
.hide-districts {
  display: none !important;
}

.nav-location .district-item {
  display: block !important;
  cursor: pointer!important;
  padding: 6px 4px!important;
}
.district-list {
  margin-top: 10px;
}

.district-item {
  padding: 8px 0;
  cursor: pointer;
}

.district-item:hover {
  background: #f5f5f5;
}

/* Popular Cities Section */
.nav-location h6 {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 18px;
}

.nav-location .popular-cities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 25px;
  text-align: center;
}

/* City Card */
.nav-location .city {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px;
  border-radius: 12px;
}

.nav-location .city:hover {
  transform: translateY(-5px);
  background-color: #f9f9f9;
  box-shadow: 0 4px 12px rgba(24, 70, 134, 0.1);
}

.nav-location .city img {
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
}

.nav-location .city:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 3px 5px rgba(24, 70, 134, 0.3));
}

.nav-location .city p {
  font-size: 13px;
  margin-top: 6px;
  color: #333;
  font-family: var(--font-Ubuntu);
}

/* Selected Tag */
.nav-location .selected-tag {
  position: absolute;
  left: 50px;
  background-color: #f0f2f5;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  align-items: center;
  color: #333;
  border: 1px solid #ddd;
}

.nav-location .selected-tag .bi-x {
  font-size: 15px;
  cursor: pointer;
  margin-left: 6px;
  transition: 0.2s;
}
.nav-location .selected-tag .bi-x:hover {
  color: #ff4b5c;
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 576px) {
  .nav-location .modal-dialog {
    margin: 10px;
  }
  .nav-location .city img {
    width: 40px;
    height: 40px;
  }
  .nav-location .popular-cities {
    gap: 15px;
  }
}
/*---- location modal section end ----*/





/*---- wishlist section start ----*/
.wishlist-icon{
  cursor: pointer;
}

.wishlist-section .offcanvas-title {
  font-weight: 700;
  font-size: 18px;
  color: #1a1a1a;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-noto-sans);
}

.wishlist-section .offcanvas-title i {
  color: #ff4b5c;
}

/* Card styling */
.wishlist-section .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.wishlist-section .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
}

.wishlist-section .card img {
  border-radius: 12px;
  height: 90px;
  width: 100%;
  object-fit: cover;
}

.wishlist-section .card-body {
  padding: 8px 10px;
}

.wishlist-section .card-title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 2px;
  line-height: 1.2;
  font-family: var(--font-open-sans);
}

.wishlist-section .card-location {
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
  font-family: var(--font-Ubuntu);
}
.wishlist-section .card-price{
  font-family: var(--font-open-sans);
}

.wishlist-section .card_price {
  font-size: 15px;
  font-weight: 700;
  color: #012E71;
  
}

/* Trash icon (remove button) */
.wishlist-section .card-remove {
  font-size: 16px;
  color: #ff4b5c;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wishlist-section .card-remove:hover {
  color: #c90c22;
  transform: scale(1.1);
}

/* Layout adjustments */
.wishlist-section .row {
  align-items: center;
}

.wishlist-section .card .col-7 {
  padding-left: 8px;
}

/* Spacing between cards */
.wishlist-section .card + .card {
  margin-top: 12px;
}

/* Scroll styling for long lists */
.wishlist-section .offcanvas-body {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.wishlist-section .offcanvas-body::-webkit-scrollbar {
  width: 6px;
}
.wishlist-section .offcanvas-body::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 480px) {
  .wishlist-section .card-title {
    font-size: 13px;
  }
  .wishlist-section .card img {
    height: 75px;
  }
  .wishlist-section .card_price {
    font-size: 14px;
  }
}
/*---- wishlist section end ----*/



/*---- login section start ----*/
.login-icon{
  cursor: pointer;
}
/* ---------- MODALS ---------- */

  .login-section .modal-content { 
    border-radius:0px; 
    overflow:hidden; 
  }
  .login-section .left-illustration {
    background:#012E71; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    padding:28px;
  }
  .login-section .left-illustration img { 
    width:300px; 
    opacity:.95; 
  }
  .login-section .login-header{
    font-size: 17px;
    font-family: var(--font-noto-sans);
    font-weight: 700;
    color: var(--dark-color);

  }
  .login-section label{
    font-family: var(--font-open-sans);
  }
  .login-section p{
    font-family: var(--font-open-sans);
  }
  .login-section .login-content{
    font-size: 13px;
    font-family: var(--font-Ubuntu);
    font-weight: 600;
    color: var(--gray-color);

  }

  .login-section .input-country {
    width:84px; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    border-right:1px solid #e8e8e8;
    font-weight:600; color:#333;
  }

  .login-section .send-otp-btn { 
    background:#012E71; 
    color:#fff; border:none; 
    padding:10px; 
    border-radius:8px; 
    width:100%; 
    font-weight:600; 
    font-family: var(--font-open-sans);
  }
  .login-section .send-otp-btn.enabled { 
    background:#e8d76a; 
    color: var(--dark-color);
  }

/* ---------------------------- */
  /* OTP Inputs */
/* ---------------------------- */
   
  /* OTP Modal Modern Look */
.otp-section .modal-content {
  border: none;
  border-radius: 0px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem 1.5rem;
  background: #fff;
  position: relative;
}

/* Close button at top-right */
.otp-section .btn-close {
  position: absolute;
  top: 5px;
  right: 10px;
 
  border-radius: 50%;
  width: 30px;
  height: 30px;
  

}


/* Headings */
.otp-section h6 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}

.otp-section .text-muted {
  font-size: 13px;
  color: #777 !important;
}

/* OTP Inputs */
.otp-section .otp-input {
  width: 52px;
  height: 56px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  border-radius: 12px;
  border: 1.5px solid #e0e0e0;
  margin: 0 6px;
  outline: none;
  transition: all 0.2s ease;
  background: #fafafa;
}
.otp-section .otp-input:focus {
  border-color: #e9472f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233, 71, 47, 0.1);
}

/* Timer and Resend */
.otp-section .d-flex.justify-content-between {
  margin-top: 0.5rem;
}
.otp-section #resendOtp {
  color: #e9472f;
  text-decoration: none;
  font-weight: 500;
}
.otp-section #resendOtp:hover {
  text-decoration: underline;
}

/* Confirm Button */
.otp-section .confirm-btn {
  background: rgb(61, 61, 61);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  width: 100%;
  font-weight: 600;
  font-size: 15px;
  margin-top: 1.2rem;
  transition: all 0.25s ease;
}
.otp-section .confirm-btn.enabled {
  background: #e9472f;
}
.otp-section .confirm-btn:hover.enabled {
  background: #cc3c26;
}

/* Error message */
.otp-section #otpError {
  margin-top: 10px;
  font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 400px) {
  .otp-section .otp-input {
    width: 45px;
    height: 50px;
    margin: 0 4px;
  }
}


  /* Success pill */
  .success-pill {
    display:inline-block; 
    background:#e8f7ef; 
    color:#14794b; 
    padding:6px 12px; 
    border-radius:20px; 
    font-weight:600;
  }

 /* ---------------------------- */
  /* name section */
 /* ---------------------------- */

  /* Modal Glass Look */
.name-section .modal-content {
  border-radius: 0px;
  padding: 32px !important;
  border: none;
  background: #fff;
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Close button - Perfect right top alignment */
.name-section .close-top-right {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--dark-color);
  
}

/* Success Pill */
.name-section.success-pill {
  background: #e6f7ee;
  padding: 6px 18px;
  color: #0f8b4c;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-open-sans);
}

/* Verified Text */
.name-section .verified-text {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
  font-family: var(--font-open-sans);
}

/* Input Field */
.name-section input.form-control {
  height: 48px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  transition: .3s;
}
.name-section input.form-control:focus {
  border-color: #0f8b4c;
  box-shadow: 0 0 0 3px rgba(15,139,76,0.15);
}

/* Continue Button */
.name-section #continueBtn {
  background: #012E71;
  border: none;
  height: 48px;
  border-radius: 10px;
  font-weight: 600;
  transition: .3s;
}
.name-section #continueBtn:hover:not(:disabled) {
  background: #133b73;
}
.name-section #continueBtn:disabled {
  opacity: .5;
  cursor: not-allowed;
}




  /* Profile offcanvas custom */
  /* ---------------------------- */
/* PREMIUM PROFILE CANVAS LOOK */
/* ---------------------------- */

.profile-canvas {
  animation: slideSoft .45s ease;   /* Smooth opening animation */
  box-shadow: -6px 0 22px rgba(0,0,0,0.15);
  border-radius: 16px 0 0 16px;
}

/* Open Animation */
@keyframes slideSoft {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Premium Close Button */
.profile-canvas .close-premium {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s ease;
}
.profile-canvas .close-premium:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* Avatar premium look */
.profile-canvas .profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #012E71, #0a2d61);
  color: white !important;
  font-size: 26px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(24,70,134,0.25);
  transition: 0.3s ease;
}
.profile-canvas .profile-avatar:hover {
  transform: scale(1.05);
}

/* Name + number smooth */
.profile-canvas #profileName {
  font-size: 18px;
  font-weight: 700;
}
.profile-canvas #profileNumber {
  opacity: 0.8;
  font-size: 14px;
}

/* Divider style */
.profile-canvas .profile-canvas hr {
  opacity: 0.15;
}

/* Premium list items */
.profile-canvas .profile-actions .list-group-item {
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  background: #f7f9fc;
  border: 1px solid #e9edf3;
  transition: 0.25s ease;
}
.profile-canvas .profile-actions .list-group-item i {
  opacity: 0.35;
  transition: 0.25s ease;
}

/* hover effect */
.profile-canvas .profile-actions .list-group-item:hover {
  background: white;
  border-color: #d0d9e4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.profile-canvas.profile-actions .list-group-item:hover i {
  opacity: 0.8;
  transform: translateX(4px);
}

/* Premium logout button */
.profile-canvas #logoutBtn {
  border-radius: 12px;
  padding: 12px 0;
  background: linear-gradient(135deg, #d62828, #9e1c1c);
  border: none !important;
  color: white;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: 0.3s ease;
  box-shadow: 0 3px 12px rgba(214,40,40,0.35);
}

.profile-canvas #logoutBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(214,40,40,0.45);
}

/* Mobile fix */
@media (max-width: 768px) {
  .profile-canvas .profile-canvas {
    border-radius: 0;
  }
  .profile-canvas .search-bar {
    display: none;
  }
}

/*---- login section end ----*/


/*---- ================================================= ----*/

              /*---- Used car details page ----*/

/*---- ================================================= ----*/

/*---- used car price card section start ----*/
.usedcar-price-section{
  max-width: 1220px;
}
.usedcar-price-section .slider-wrapper {
  position: relative;
  padding-top: 0px;
  padding-bottom: 0px;
  height: 380px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
/* Premium Background + Padding */
.usedcar-price-section .row {
  background: var(--white-color); /* Light clean background */
  border-radius: 15px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: .3s;
  border: 1px solid #e7e7e7;
}


/* Mobile Responsive Padding Fix */
@media(max-width: 768px){
  .usedcar-price-section .row{
    padding: 16px;
    border-radius: 10px;
  }
}

.usedcar-price-section .slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s ease;
}

.usedcar-price-section .slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: #000;
  border: none;
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usedcar-price-section .slide-btn:hover {
  background: #111;
  color: #fff;
}

.usedcar-price-section .prev-btn { left: 12px; }
.usedcar-price-section .next-btn { right: 12px; }



/* Content Box */
.usedcar-price-section .info-card {
  background: #f3f3f3;
  padding: 22px;
  border-radius: 0px;
  margin-top: 50px;
 
}

.usedcar-price-section .car-title {
  font-weight: 700;
  font-size: 20px;
  font-family: var(--font-Ubuntu);
  color: var(--dark-color);
}

.usedcar-price-section .price {
  font-size: 30px;
  font-weight: 800;
  margin: 10px 0;
  color: black;
}

.usedcar-price-section .details-text {
  color: var(--text-color);
  font-size: 14px;
  font-family: var(--font-Ubuntu);
}

.usedcar-price-section  .get-seller {
  background: var(--yellow-color);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-open-sans);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-color);
  border: 1px solid rgb(5, 5, 5);
}
.usedcar-price-section .request-call {
  background: var(--dark-color);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-open-sans);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white-color);
  border: 1px solid rgb(5, 5, 5);
  }
  .usedcar-price-section  .get-seller:hover{
    box-shadow: var(--shadow);

  }
  .usedcar-price-section .request-call:hover{
    color: var(--white-color) !important;
    box-shadow: var(--shadow);
  }
  /* Button wrapper for alignment */
.usedcar-price-section .button-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Desktop default: equal width buttons */
.usedcar-price-section .button-group button {
  flex: 1;
  text-align: center;
}

/* Responsive */
@media(max-width:768px){
  .usedcar-price-section .slider-wrapper { height: 280px; }
  .usedcar-price-section .price { font-size: 26px; }
  .usedcar-price-section .slide-btn{ width:34px; height:34px; font-size:18px; }
}
/* ---------------- MOBILE RESPONSIVE ---------------- */
@media (max-width: 576px) {
  .usedcar-price-section .button-group {
    flex-direction: column;
  }

  .usedcar-price-section .button-group button {
    width: 100%;
  }
 
 
}


/*request and seller popup*/

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box */
.popup-overlay .popup-box {
  background: #fff;
  width: 90%;
  max-width: 380px;
  padding: 25px;
  border-radius: 16px;
  position: relative;
  animation: popupFade 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

@keyframes popupFade {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Close Button */
.popup-overlay .close-popup {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 26px;
  cursor: pointer;
  color: #777;
}

/* Fields */
.popup-overlay .popup-field label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.popup-overlay .popup-field input {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-top: 5px;
  margin-bottom: 15px;
  font-size: 14px;
}

/* Submit Button */
.popup-overlay .submit-btn {
  width: 100%;
  background: #ffb400;
  border: none;
  padding: 12px;
  border-radius: 10px;
  color: #000;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.popup-overlay .seller-header h3{
  font-family: var(--font-Ubuntu);
}
/* Seller Info Box */
.popup-overlay .seller-info img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.popup-overlay .seller-info p {
  margin: 6px 0;
  font-size: 15px;
  color: var(--dark-color);
  font-family: var(--font-open-sans);
}
/* =========================================
   RESPONSIVE POPUP
========================================= */

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .popup-overlay .popup-box {
    width: 92%;
    max-width: 360px;
    padding: 20px;
  }

  .popup-overlay .popup-field input {
    padding: 9px;
    font-size: 14px;
  }

  .popup-overlay .submit-btn {
    padding: 10px;
    font-size: 14px;
  }

  .popup-overlay .seller-info img {
    border-radius: 10px;
  }
}

/* Mobile Devices (576px and below) */
@media (max-width: 576px) {
  .popup-overlay .popup-box {
    width: 95%;
    max-width: 330px;
    padding: 18px;
    border-radius: 14px;
  }

  .popup-overlay .close-popup {
    top: 10px;
    right: 12px;
    font-size: 24px;
  }

  .popup-overlay .popup-field label {
    font-size: 13px;
  }

  .popup-overlay .popup-field input {
    padding: 8px;
    font-size: 13px;
  }

  .popup-overlay .submit-btn {
    padding: 10px;
    font-size: 14px;
  }

  .popup-overlay .seller-info p {
    font-size: 14px;
  }
}

/* Extra Small Mobile 360px ↓ */
@media (max-width: 360px) {
  .popup-overlay .popup-box {
    width: 96%;
    padding: 15px;
    max-width: 300px;
  }

  .popup-overlay .popup-field input {
    padding: 7px;
    font-size: 12px;
  }

  .popup-overlay .submit-btn {
    padding: 9px;
    font-size: 13px;
  }

  .popup-overlay .seller-info p {
    font-size: 13px;
  }
}





/*---- used car price card section end ----*/

/*---- used car details left side section start ----*/

/* ---------- Car Overview Container ---------- */
.usedcar-details-section{
  max-width: 1220px;
}
.car-overview-section .container-box {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  box-shadow: var(--shadow);
  max-width: 750px;
  margin: 0 auto;
  padding: 25px 30px;
  margin-left:0;
  margin-bottom: 30px;
}

.car-overview-section  .overview-title{
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 8px;
  font-family: var(--font-Ubuntu);
}

/* ---------- Overview Grid ---------- */
/* Grid Layout */
/* Grid Layout */
.car-overview-section  .premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 15px;
}

/* Card */
.car-overview-section  .overview-card {
  background: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: 0.25s ease;
  min-height: 90px;
  display: flex;
  align-items: center;
}

.car-overview-section  .overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
}

/* NEW FLEX for alignment */
.car-overview-section  .card-flex {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Icon */
.car-overview-section .card-icon {
  width: 40px;
  height: 40px;
  object-fit: contain !important;
}

/* Text */
.car-overview-section .card-label {
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-Ubuntu);
  color: var(--dark-color);
  margin: 0;
  line-height: 1.2;
}

.car-overview-section .card-value {
  font-size: 0.8rem;
  color: var(--gray-color);
  font-family: var(--font-open-sans);
  margin: 2px 0 0;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .car-overview-section .premium-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .car-overview-section .premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .car-overview-section .premium-grid {
    grid-template-columns: 1fr;
  }
}


/*specific & fetures*/

.car-overview-section .specific-title { 
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 16px;
  padding-bottom: 8px;
  font-family: var(--font-Ubuntu); 
}
.car-overview-section #specAccordion .accordion-button{
  font-weight: 500;
  color: var(--dark-color);
  font-size: 0.90rem;
  font-family: var(--font-Ubuntu);
}

.car-overview-section .spec-table th { 
  width:40%; 
  color: #212529; 
  background-color:#f2f4f7; 
  font-size: 0.90rem; 
  font-weight:500; 
  padding:12px; 
  font-family: var(--font-open-sans); 
}

.car-overview-section .spec-table td { 
  padding:12px; 
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.3;
  font-family: var(--font-open-sans); 
}

.car-overview-section .feature-title { 
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 16px;
  padding-bottom: 8px;
  font-family: var(--font-Ubuntu); 
}
.car-overview-section #featureAccordion .accordion-button{
  font-weight: 500;
  color: var(--dark-color);
  font-size: 0.90rem;
  font-family: var(--font-Ubuntu);
}


  
/*addition info - headings*/
.car-overview-section .additional-info-title{
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 16px;
  padding-bottom: 8px;
  font-family: var(--font-Ubuntu); 
}
.car-overview-section #additionalAccordion .accordion-button{
  font-weight: 500;
  color: var(--dark-color);
  font-size: 0.90rem;
  font-family: var(--font-Ubuntu);
}


/*additional info*/
/* tighten tables inside accordion */
.additional-info .table th { width: 40%; min-width: 140px; }
/* keep dropdown tiny and aligned */
.additional-info .accordion-header .btn { font-size: 0.85rem; padding: .25rem .5rem; }
/* make hidden accordion-items not take space when searching */
.additional-info .accordion-item { transition: all .15s ease-in-out; }

/*ser & main*/
.service-box {
max-width: 500px;
margin: auto;
border-radius: 14px;
overflow: hidden;
background: #fff;
box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.service-row {
padding: 16px;
font-weight: 600;
font-size: 16px;
text-align: center;
border-bottom: 1px solid #eee;
background: #fafafa;
transition: 0.25s;
}

.service-row:last-child {
border-bottom: none;
}

.service-row:hover {
background: #f1f5ff;
transform: scale(1.01);
cursor: pointer;
}
.car-overview-section .car-condition p{
  font-family: var(--font-open-sans);

}

.car-overview-section .image-scroll-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  background: #f8f9fa;
}

/* Custom Scrollbar */
.car-overview-section .image-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}

.car-overview-section .image-scroll-wrapper::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 10px;
}

.car-overview-section .image-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #4CAF50;
  border-radius: 10px;
}

.car-overview-section .image-scroll-box img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 6px;
  transition: .3s;
  cursor: pointer;
}

.car-overview-section .image-scroll-box img:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}
.car-overview-section .image-scroll-wrapper:hover {
  scroll-behavior: auto;
}

.car-overview-section .price-badge {
  background: #e4f4fb;
  color: #194987;
  padding: 1px 15px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}

.car-overview-section .price-badge:hover {
  transform: scale(1.08);
}

.car-overview-section .mini-popup {
  position: absolute;
  background: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  font-size: 14px;
  z-index: 9999;
  display: none;
  animation: fade .25s ease-out;

  /* default desktop size */
  max-width: 320px;
  width: auto;
  border-left: 4px solid transparent; /* JS will update color */
}
/* ACTIVE badge style */
.car-overview-section .price-badge.active {
  background: #e4fbe4 !important;
  color: #198754 !important;
  box-shadow: 0 0 5px rgba(58, 128, 0, 0.3);
}

/* Popup border (default) */
.car-overview-section .mini-popup.active {
  border-left: 4px solid #4caf50;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================
   📱 Mobile (0 - 480px)
=============================== */
@media (max-width: 480px) {
  .car-overview-section .mini-popup {
    position: fixed;                /* fixed = stable in mobile */
    left: 50% !important;           /* center */
    top: auto !important;
    bottom: 20px;                   /* show above bottom */
    transform: translateX(-50%);    /* horizontal center */
    width: 92%;                     /* full width look */
    max-width: 92%;
    padding: 14px 18px;
    border-left-width: 0;           /* remove side border */
    border-top: 4px solid transparent; /* top border for mobile */
  }
}

/* ============================
   📱 Tablets (481px - 768px)
=============================== */
@media (min-width: 481px) and (max-width: 768px) {
  .car-overview-section .mini-popup {
    max-width: 340px;
    left: 55% !important;
    transform: translateX(0);
  }
}

/* ============================
   💻 Small Laptops (769px - 1024px)
=============================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .car-overview-section .mini-popup {
    max-width: 350px;
  }
}



/*Car Condition popup*/
.img-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.img-popup-overlay.show {
  display: flex;
}

.img-popup-box {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  max-width: 90%;
  max-height: 85%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.img-popup-box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.img-close {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
}



/*experied*/
.car-overview-section .insurance-status-box {
width: 100%;
background: #f8f9fa;       /* same as Local box */
border: 1px solid #dee2e6;
padding: 12px 0;
font-weight: 700;
font-family: var(--font-open-sans);
font-size: 15px;
text-align: center;
border-radius: 4px;
background-color: #f8f9fa;
color: black;                /* Expired text is red */
}
.car-overview-section .specifications{
margin-top: 200px;
}
/* Insurance check box */
.ins-check,
.select-all {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.table-light th {
  text-align: center;
}

td:first-child, th:first-child {
  text-align: center;
}


/*-- car photos section  --*/

.car-overview-section .car-gallery{
  width:100%;
  background:#fff;
  padding:22px;
  border-radius:18px;
  box-shadow:0px 0px 35px rgba(0,0,0,0.06);
  transition:.3s;
}

/* Main Image */
.car-overview-section .main-display{
  width:100%;
  height:420px;
  border-radius:20px;
  overflow:hidden;
  background:#000;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:18px;
  border:2px solid #f3f3f3;
}

.car-overview-section .main-display img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.4s ease;
}

.car-overview-section .main-display:hover img{
  transform:scale(1.06);
}

/* Thumbnail scroll slider */
.car-overview-section .thumb-slider{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding-bottom:6px;
  scrollbar-width:none;
}
.car-overview-section .thumb-slider::-webkit-scrollbar{
  display:none;
}

.car-overview-section .thumb{
  width:95px;
  height:90px;
  flex:0 0 auto;
  border-radius:14px;
  overflow:hidden;
  cursor:pointer;
  border:2px solid transparent;
  transition:.25s ease-in-out;
}
.car-overview-section .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.car-overview-section .thumb:hover{
  transform:scale(1.07);
  box-shadow:0px 4px 12px rgba(0,0,0,0.15);
}

.car-overview-section .thumb.active{
  border:2px solid #1E88E5;
}

/* Responsive */
@media(max-width:768px){
  .car-overview-section .main-display{ height:300px; }
  .car-overview-section .thumb{ width:80px; height:70px; }
}
@media(max-width:480px){
  .car-overview-section .main-display{ height:240px; }
  .car-overview-section .thumb{ width:70px; height:65px; }
}

.car-overview-section  #mainImage {
  transition: opacity .25s ease, transform .35s ease;
}
.car-overview-section  #mainImage:hover {
  transform: scale(1.05);
}


/*-- car video section  --*/

.car-overview-section .car-video{
  width:100%;
  background:#fff;
  padding:22px;
  border-radius:18px;
  box-shadow:0px 0px 35px rgba(0,0,0,0.06);
}

.car-video video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;     /* full fit aganum na */
  border-radius: 12px;   /* optional */
}


/*---- used car details left side section end ----*/



/*---- used car details right side section start ----*/

.side-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 20px 24px;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}
.side-box:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* ----- Used Cars near Delhi ----- */
.usedcar-box h5 {
  font-weight: 700;
  color: var(--dark-color);
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 10px;
  font-family: var(--font-Ubuntu);
}

.usedcar-box .usedcar-list {
  display: flex;
  flex-direction: column;
  gap: 18px;

}

.usedcar-box .usedcar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgb(0 0 0 / 6%);
  padding: 12px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.usedcar-box .usedcar-item:hover {
  background: #f1f1f1;
  border-color: #e0e0e0;
  transform: translateX(2px);
}

.usedcar-box .usedcar-info h6 {
  font-weight: 500;
  color: var(--dark-color);
  font-size: 0.95rem;
  font-family: var(--font-Ubuntu);
}

.usedcar-box .usedcar-info small {
  color: var(--text-color);
  font-size: 0.8rem;
  font-family: var(--font-open-sans);
}

.usedcar-box .usedcar-item i {
  transition: transform 0.2s ease;
}

.usedcar-box .usedcar-item:hover i {
  transform: translateX(4px);
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .usedcar-box {
    margin-top: 10px;
  }
}
#overview .ratio {
  margin-bottom: 10px;
  width: 750px;
  
}

.similarcar-box{
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 20px 24px;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}
.similarcar-box .similarcar-item{
  background: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgb(0 0 0 / 6%);
  transition: all 0.3s ease;
}
.similarcar-box h5{
  font-weight: 700;
  color: var(--dark-color);
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 10px;
  font-family: var(--font-Ubuntu);

}
.similarcar-box h6{
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--dark-color);
  font-family: var(--font-Ubuntu);

}
.similarcar-box .similarcar-details{
  color: var(--text-color);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-open-sans);

}
.similarcar-box .badge{
  background-color: var(--yellow-color);
  color: var(--dark-color);
  font-family: var(--font-open-sans);

}
.similarcar-box a{
  text-decoration: none;
}
.similarcar-item {
  position: relative;
}
.similarcar-item .heart-btn {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.similarcar-item .heart-btn:hover::before {
  content: "♥️";
}

.similarcar-item .heart-btn.active::before {
  content: "♥️";
}
.similarcar-item .heart-btn::before {
  content: "🤍";
}


/*---- used car details right side section end ----*/

/*---- used car similer post section start ----*/

.usedcar-similar-post{
   
  max-width: 1220px;
}
 .usedcar-similar-post .car-card {
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e0e0;
  position: relative;
  transition: all .45s ease;
  box-shadow: var(--shadow);
  transform: translateY(0px);
  animation: fadeUp .6s ease forwards;
}
.usedcar-similar-post .car-item a{
  text-decoration: none;
}
.usedcar-similar-post .heading{
  white-space: nowrap;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-color);
  font-family: var(--font-Ubuntu);
  
}
/* Hover Magic */
.usedcar-similar-post .car-card:hover {
  transform: translateY(-3px);
  box-shadow:2px 2px 4px #8b8b8b9f;
}

/* Image */
.usedcar-similar-post .postimg-slide {
  position: relative;
  overflow: hidden;
}

.usedcar-similar-post .postimg-slide img {
  width: 100%;
  height: 170px;
  padding: 6px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform .6s ease;
}

/* Parallax Zoom on Hover */

/* Heart Button - Premium Glass */
.usedcar-similar-post .heart-btn {
  position: absolute;
  
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.usedcar-similar-post .heart-btn:hover::before {
  content: "♥️";
}

.usedcar-similar-post .heart-btn.active::before {
  content: "♥️";
}
.usedcar-similar-post .heart-btn::before {
  content: "🤍";
}


/* --------------------------
 PREMIUM CARD BODY SECTION
---------------------------*/

.usedcar-similar-post .card-body {
padding: 18px 10px 18px 10px;
background: #fff;
border-radius: 0 0 14px 14px;
}

/* Location */
.usedcar-similar-post .location {
font-size: 13px;
font-weight: 600;
color: var(--blue-color);
margin-bottom: 8px;
display: flex;
gap: 6px;
align-items: center;
font-family: var(--font-open-sans);
}

/* Title */
.usedcar-similar-post .car-title {
font-size: 16px;
font-weight: 600;
color: #111;
margin: 10px 0 10px;
line-height: 1.2;
font-family: var(--font-Ubuntu);
}

/* Title + Price container */
.usedcar-similar-post .title-price {
display: flex;
justify-content: space-between;
align-items: center;
}

/* -------- PREMIUM PRICE LABEL (Tilt Style) ------- */
.usedcar-similar-post .price-total {
background: var(--yellow-color);
padding: 6px 16px;
border-radius: 30px;
font-size: 15px;
font-weight: 700;
color: var(--dark-color);
border: 1px solid rgb(133, 133, 133);
}


.usedcar-similar-post .price-total span {
display: inline-block;
}


/* Icons Row */
.usedcar-similar-post .info-icons {
font-size: 12px;
color: #555;
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 12px;
font-weight: 700;
font-family: var(--font-open-sans);
}

.usedcar-similar-post .info-icons i {
margin-right: 4px;
font-size: 14px;
}
@media (max-width: 576px) {
.usedcar-similar-post .car-card{
  animation: none;

}
}



/* Fade-up animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/*---- used car similer post section end ----*/


/*---- ================================================= ----*/

            
/*==============================================*/

/*========== REVIEWS SECTION ============*/

/*----------REVIEW SECTION START--------------*/

/* Parent Container */
.car-reviews {
  margin-top: 40px;
  max-width: 1220px;
}

/* Header Section */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.reviews-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-color);
  font-family: var(--font-Ubuntu);
}

/* Arrows */
.reviews-arrows {
  display: flex;
  gap: 10px;
}

.reviews-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: .3s;
  box-shadow: 0 2px 6px rgb(0 0 0 / 25%);
}

.reviews-arrow-btn:hover { 
 background: black;
 color: white;
}

/* Slider Container */
.reviews-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 5px;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

/* Individual Card */
.reviews-card {
  min-height: 260px;
  max-width: 230px;
  flex-shrink: 0;
  cursor: pointer;
}

.reviews-img {
  width: 100%;
  height: 180px;
  border-radius: 30px;
  object-fit: cover;
}
.reviews-img:hover {
  box-shadow: var(--shadow);
}

.reviews-cat {
  margin-top: 12px;
  color: var(--gray-color);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: capitalize;
  font-family: var(--font-loto-sans);
  margin-bottom: 8px;
  
}

.reviews-title {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-color);
  line-height: 1.3;
  font-family: var(--font-open-sans);
  
}

/* ============= RESPONSIVE ============= */

/* Tablet */
@media (max-width: 992px) {
  .reviews-card {
      min-width: 230px;
  }

  .reviews-img {
      height: 140px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .reviews-header h2 {
    font-size: 24px;
    white-space: normal;
    margin-bottom: 10px;
  }

  .reviews-arrows {
      display: none;
  }

  .reviews-slider {
      gap: 16px;
  }

  .reviews-card {
      min-width: 200px;
  }

  .reviews-img {
      height: 130px;
  }
}


/*----------REVIEW SECTION END--------------*/

/*========== SEARCH SECTION ============*/

/*----------SEARCH SECTION START--------------*/
.quick-search {
  margin-top: 40px;
  max-width: 1220px;
}
.qs-top ul.quick-tabs {
  margin-left: 10px;
}

.qs-top h2 {
  white-space: nowrap;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-color);
  font-family: var(--font-Ubuntu);

}

  /* TABS */
.quick-search .quick-tabs .nav-link {
  background: #fff;
  border: 1px solid rgb(133, 133, 133);
  color: var(--dark-color) !important;
  margin-left: 6px;
  border-radius: 30px;
  padding: 6px 18px;
  font-weight: 600;
  font-family: var(--font-loto-sans);
  font-size: 15px;
}
.quick-search .quick-tabs .nav-adv{
  background: #fff;
  border: 1px solid rgb(133, 133, 133);
  margin-left: 6px;
  border-radius: 30px;
  padding: 6px 18px;
  font-weight: 600;
  font-family: var(--font-loto-sans);
  font-size: 15px;
}
.quick-search .quick-tabs .nav-link.active {
  background: var(--yellow-color);
  color: var(--dark-color) !important;
}

/* SELECT FILTER BAR */
.selected-filter-bar {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px;
  margin: 25px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.filter-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

/* Chip style */
.filter-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f7f7;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 14px;
  white-space: nowrap;
  border: 1px solid #ddd;
}

.filter-chip i {
  cursor: pointer;
  font-size: 14px;
  color: #666;
}

.filter-chip i:hover {
  color: #e63946;
}

/* Selected card highlight */
.qs-selected {
  border: 2px solid #f4b400;
  transform: scale(1.03);
}


/* HORIZONTAL CARD (IMAGE LEFT + TEXT RIGHT) */
.qs-card {
  min-width: 250px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 8px;
  cursor: pointer;
  transition: .3s;
}
.qs-card:hover { transform: translateY(-4px); }

.qs-img {
  width: 100px;
  height: 70px;
  object-fit: contain;
}
.qs-card p{
  font-size: 15px;
  font-family: var(--font-loto-sans);
  font-weight: 600;
  text-align: center;
  color: var(--dark-color);
  margin-bottom: 0px;

}


/* SLIDERS */
.slider-wrapper {
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}
.slider-wrapper::-webkit-scrollbar { display: none; }

/* RIGHT-SIDE ARROWS */
.scroll-btn {
  border: none;
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  cursor: pointer;
  font-size: 17px;
  font-weight: bold;
}
.scroll-btn:hover{
  background-color: black;
  color: white;
}

/* BUDGET CARDS */
.budget-card {
  min-width: 220px;
  background: #f1f1f1;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  font-size: 16px;
  font-family: var(--font-loto-sans);
  font-size: 15px;
  color: var(--dark-color);
  cursor: pointer;
}


/* ========================================================= */
/* 📱 Mobile and Tablet Styles (Max 991.98px) */
/* ========================================================= */

@media (max-width: 991.98px) {

  /* * 1. Top Section Layout (Heading, Tabs, and Arrows)
   * - On mobile/tablet, stack the main elements vertically.
   * - The tabs need to become horizontally scrollable.
   */
  .qs-top {
      /* Change from side-by-side (d-flex justify-content-between) 
         to stack the main content and the scroll buttons. */
      flex-direction: column;
      align-items: flex-start !important; /* Align content to the left */
      gap: 15px; /* Add space between the stacked elements */
  }
  
  /* Center part: Heading + Tabs (d-flex align-items-center gap-3) */
  .qs-top > div:first-child {
      /* Change inner alignment to stack Heading and Tabs */
      flex-direction: column;
      align-items: flex-start !important;
      width: 100%; /* Take full width */
      gap: 10px; /* Space between Heading and Tabs */
  }

  /* Heading Size */
  .qs-top h2 {
      font-size: 24px; /* Smaller heading on mobile/tab */
  }

  /* Tabs Container */
  .qs-top ul.quick-tabs {
      /* Make the tabs container horizontally scrollable */
      flex-wrap: nowrap; /* Prevent wrapping */
      overflow-x: auto; /* Enable horizontal scrolling */
      padding-bottom: 5px; /* Space for a potential scrollbar on some devices */
      width: 100%; /* Take full width */
      margin-left: 0 !important; /* Remove the 10px margin-left set for desktop */
      /* Optionally hide the scrollbar for a cleaner look */
      -ms-overflow-style: none; /* IE and Edge */
      scrollbar-width: none; /* Firefox */
  }
  .qs-top ul.quick-tabs::-webkit-scrollbar {
      display: none; /* Chrome, Safari, Opera */
  }
  
  /* Tab Links (buttons inside ul) */
  .quick-search .quick-tabs .nav-item {
      flex-shrink: 0; /* Important: Prevents items from shrinking */
  }
  .quick-search .quick-tabs .nav-link,
  .quick-search .quick-tabs .nav-adv {
      padding: 5px 14px; /* Slightly smaller padding */
      font-size: 14px;
      margin-left: 5px; /* Adjusted margin between tabs */
  }
  
  /* 2. Scroll Arrows */
  .qs-scroll-buttons {
      /* Move the scroll buttons right below the tabs/heading block */
      position: absolute; /* Take out of flow */
      top: 25px; /* Adjust based on your header/section top padding */
      right: 15px; /* Align to the right edge of the container */
  }
  /* Hide scroll buttons completely on smallest screens if they interfere */
  /* @media (max-width: 575.98px) {
      .qs-scroll-buttons {
          display: none;
      }
  } */
  
  /* 3. Slider Cards */
  .qs-card {
      min-width: 180px; /* Make cards narrower on mobile for more visibility */
  }
  
  .qs-img {
      width: 80px; /* Smaller image */
      height: 55px;
  }
  
  /* 4. Budget Cards */
  .budget-card {
      min-width: 160px; /* Make budget cards narrower */
      padding: 15px;
      font-size: 14px;
      
  }
  .scroll-btn{
      display: none;
  }

}

/* selected state */
.qs-card.qs-selected,
.budget-card.qs-selected {
  border: 2px solid #28a745;
  box-shadow: 0 6px 18px rgba(40, 167, 69, 0.25);
  position: relative;
  
}

/* tick icon */
.qs-card.qs-selected::before,
.budget-card.qs-selected::before {
  content: "✓";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 26px;
  height: 26px;
  background: #28a745;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/*----------- Advance Filter ---------------*/

.advance-search-box .modal-title{
  font-family: var(--font-Ubuntu);
  font-size: 16px;
  font-weight: 400;
}
.advance-search-box .modal-body{
  font-family: var(--font-open-sans);
  font-size: 15px;
  font-weight: 400;
}
.advance-search-box  .form-check {
margin-bottom: 8px;
}
.advance-search-box .form-check-label {
font-weight: 400;
color: var(--gray-color);
font-family: var(--font-Ubuntu);
font-size: 14px;
}

.advance-search-box .form-control {
border-radius: 8px;
font-size: 14px;
}
.advance-search-box .city-btn{
font-family: var(--font-Ubuntu);
font-size: 14px;
font-weight: 400;

}
.advance-search-box .clear-link{
color: red;
font-family: var(--font-open-sans);
font-size: 14px;
}
.advance-search-box .apply-btn{
border-radius: 30px;
border: 1px solid rgb(133, 133, 133);
background-color: var(--yellow-color);
color: var(--dark-color);
font-size: 15px;
font-weight: 500;
font-family: var(--font-Ubuntu);
}
.advance-search-box .apply-btn:hover{
  color: var(--dark-color);
}
.city-search-input {
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  font-family: var(--font-Ubuntu);
  transition: .25s ease;
}

.city-search-input:focus {
  border-color: var(--blue-color);
  box-shadow: 0 0 0 3px rgba(44,113,255,0.15);
}

.district-search-results label {
  display: none; /* hidden by default */
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: .2s;
}

.district-search-results label:hover {
  background: #f3f6ff;
}

.district-search-results input {
  accent-color: var(--blue-color);
  margin-right: 6px;
}



/*----------SEARCH SECTION END--------------*/

/*----------SEARCH CARS SECTION START--------------*/
.search-cars{
  margin-top: 40px;
  max-width: 1220px;
}
.search-cars .car-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  transition: .25s ease;
}

.search-cars .car-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* IMAGE WRAPPER – now NO radius for image */
.search-cars .card-img-wrapper {
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

/* Square image (no rounded corners) */
.search-cars .car-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0 !important;
}

/* Heart button */
.search-cars .wishlist-btn {
  background: white;
  border: 1px solid #000;
  padding: 6px 10px;
  font-size: 18px;
  border-radius: 50%;
  color: black;
}
.search-cars .card-content{
  padding: 5px 10px 5px 10px;
}
.search-cars .car-name{
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-Ubuntu);
  line-height: 150%;
  color: var(--dark-color);

}
.search-cars .car-name2{
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-open-sans);
  line-height: 150%;
  color: var(--text-color);

}
/* Brand logo on right of price */
.search-cars .price-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-Ubuntu);
  line-height: 150%;
  color: var(--dark-color);
}

.search-cars .price-brand img {
  width: 38px;
}

/* Tags */
.search-cars .tag-box {
  width: fit-content;
  height: 24px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-loto-sans);
  white-space: nowrap;
  background-color: rgb(205, 221, 236);
  color: var(--blue-color);
  padding: 0 8px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 2px;
}



/* Bottom bar only rounded bottom */
.search-cars .card-bottom {
  background: #f8f9fa;
  padding: 10px 14px;
  border-top: 1px solid #eee;
  border-radius: 0 0 16px 16px;
}


/*----------SEARCH CARS SECTION END--------------*/




/*----------COMING SOON SECTION START--------------*/

.coming-soon-section {
  padding: 90px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.coming-content {
  max-width: 700px;
  margin: auto;
}

.coming-img {
  width: 350px;
  max-width: 100%;
  margin-bottom: 30px;
}

.coming-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-color);
  font-family: var(--font-Ubuntu);
  letter-spacing: 1px;
}

.coming-subtitle {
  font-size: 18px;
  color: var(--gray-color);
  margin-bottom: 35px;
  font-family: var(--font-loto-sans);
}

.coming-btn {
  display: inline-block;
  background: #ff3c1f;
  color: #fff;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.3s ease;
  font-weight: 600;
}

.coming-btn:hover {
  background: #e52f16;
  color: var(--dark-color);
}

/*----------COMING SOON SECTION END--------------*/



/*----------FLOATING CARD SECTION START--------------*/
/* COMMON STYLE */
.floating-cars {
  position: fixed;
  top: 150px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  z-index: 9999;
}

/* LEFT */
.left-side {
  left: 0px;
}

/* RIGHT */
.right-side {
  right: 0px;
}

/* CARD */
.floating-cars a{
  text-decoration: none;

}
.car-float-card {
  width: auto;
  
  background: #ffffffdd;
  backdrop-filter: blur(6px);
  padding: 5px;
  border-radius: 16px;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.18);
  position: relative;
  animation: floatIn 0.4s ease;
  transition: 0.3s ease;
}

.car-float-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 28px rgba(0,0,0,0.28);
}
.car-float-card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.car-float-card.fade-out {
  opacity: 0;
  transform: scale(0.9);
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  z-index: 10;
  pointer-events: auto; /* make sure button receives click */
  top: 6px;
  right: 6px;
  border: none;
  background: #333;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
}

/* IMAGE */
.car-float-img {
  height: 70px;
  border-radius: 12px;
}
.floating-cars .car-float-icon{
  height: 40px !important;
  margin-top: 0px;
}
.car-title {
  color: #0d6efd;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-Ubuntu);
}

.car-price {
  font-size: 10px;
  margin-bottom: 5px;
  color: #e53935;
  font-weight: 600;
  font-family: var(--font-open-sans);
}

/* ANIMATION */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* MOBILE RESPONSIVE */
@media (max-width: 576px) {
  .floating-cars {
      top: auto;
      bottom: 20px;
  }

  .left-side { left: 10px; }
  .right-side { right: 10px; }

  .car-float-card {
      width: 160px;
      padding: 10px;
  }

  .car-title { font-size: 13px; }
  .car-price { font-size: 11px; }
}

/*----------FLOATING CARD SECTION END--------------*/




/*----------SUB BANNER SECTION START---------------*/
    .sub-banner {
      width: 100%;
      height: 50vh;
      overflow: hidden;
      position: relative;
      display: block;
    }

  
    .sub-banner img.banner-img{
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
         object-fit: cover; 
      -o-object-position: center;
         object-position: center;
      display: block;
    }

   
    .sub-banner .overlay{
      position: absolute;
      inset: 0; 
      background: rgba(0, 0, 0, 0.349); 
      pointer-events: none; 
    }
    .sub-banner h1{
      color: var(--white-color);
      font-family: var(--font-Ubuntu);
    }
    .sub-banner span{
      color: var(--yellow-color);
    }
    .sub-banner p{
      color: var(--white-color);
      font-family: var(--font-loto-sans);
      font-weight: 300;
    }

    /* Responsive height adjustments */
    @media (max-width: 992px){
      .sub-banner{ height: 45vh; }
    }
    @media (max-width: 576px){
      .sub-banner{ height: 32vh; }
    }

    /* Accessibility helper: visually-hidden label for the image if needed */
    .sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/*----------SUB BANNER SECTION END---------------*/


/*----------GALLERY SECTION START---------------*/
.gallery-section .fav-title {
  white-space: nowrap;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-color);
  font-family: var(--font-Ubuntu);
}
.gallery-section .slider-btn{
  border: none;
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgb(0 0 0 / 25%);
  cursor: pointer;
  font-size: 17px;
  font-weight: bold;
  
}

.gallery-section .zigzag-scroll {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  display: flex;
  padding-top: 20px;
}

.gallery-section .zigzag-scroll::-webkit-scrollbar {
  display: none;
}
.gallery-section  #zigzagSlider {
  white-space: nowrap;
  overflow-x: auto !important;
}



/* Ensure total width stretches horizontally */
.zigzag-top img,
.zigzag-bottom img {
    flex-shrink: 0;
}
/* Horizontal track */
.zigzag-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;
  width: max-content;
}
/* Each card wrapper */
.zigzag-card {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.gallery-section .fav-card {
  width: 150px;
  height: 220px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 5px 18px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

/* Zig-zag offset */
.zigzag-card.g1 { margin-top: 0px; }
.zigzag-card.g2 { margin-top: 25px; }
.zigzag-card.g3 { margin-top: -10px; }
.zigzag-card.g4 { margin-top: 30px; }
.zigzag-card.g5 { margin-top: 20px; }
.zigzag-card.g6 { margin-top: -5px; }
.zigzag-card.g7 { margin-top: 15px; }
.zigzag-card.g8 { margin-top: 0px; }

/* Hover */
.gallery-section .fav-card:hover {
  transform: translateY(-8px);
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-section .fav-card {
      width: 120px;
      height: 180px;
  }
}

@media (max-width: 480px) {
  .gallery-section .fav-card {
      width: 110px;
      height: 160px;
  }
  .gallery-section .fav-title{
    font-size: 24px;
    white-space: normal;
    line-height: 1.2;

  }
  
  .gallery-section .gallery-controls {
    display: none;
}

}
/*----------GALLERY SECTION END---------------*/


/*----------CAR MOVING SECTION START---------------*/
.car-move-section {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.car-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Car starting at RIGHT EDGE (visible fully) */
.car-moving {
  position: absolute;
  bottom: 0;
  width: 600px;     /* Bigger car */
  right: 0;         /* ⬅ EXACT RIGHT EDGE START */
  transform: translateX(50%);
  transition: transform 2.9s ease-in-out; /* Smooth + slow movement */
}

/* Tablet */
@media (max-width: 768px) {
  .car-moving {
      width: 420px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .car-move-section {
    height: 100px;
  }
  .car-moving {
      width: 320px;
  }
}


/*----------CAR MOVING SECTION END---------------*/


/*=======================================================*/

/*----------USED CARS PAGE STRAT---------------*/

/*=======================================================*/


/*----main post filter section start-----*/

/*-------------used cars post section---------------*/
.usedcars-filter-section{
  margin-top: 30px;
}
.usedcars-filter-section .heading{
  white-space: nowrap;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-color);
  font-family: var(--font-Ubuntu);

}
/* Premium Horizontal Card */
.usedcars-filter-section .usedcars-filter-card {
 background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:.25s ease;
  position:relative;
  cursor: pointer;
}

.usedcars-filter-section .usedcars-filter-card:hover {
  transform: translateY(-3px);
  box-shadow:2px 2px 4px #8b8b8b9f;
}

/* Left Image */
.usedcars-filter-section .usedcars-filter-card img {
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius: 15px;
  transition: transform .6s ease;
  padding: 6px;

}

/* Right Content */
.usedcars-filter-section a{
  text-decoration: none;
}
.usedcars-filter-section .car-info {
  padding: 1px 10px 20px 10px !important;
  flex: 1;
  flex-direction: column;
  justify-content: center !important;
}

/* Badge 
.usedcars-filter-section .badge-custom {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.75rem;
  border-radius: 12px;
  color: #fff;
}

.usedcars-filter-section .featured { background: linear-gradient(45deg, #ff9800, #ffb74d); }
.usedcars-filter-section .excellent { background: linear-gradient(45deg, #28a745, #66bb6a); }*/

/* Heart Icon */
.usedcars-filter-section .heart-btn {
  cursor: pointer;
  position: absolute;
  right: 12px;
  width: 35px;
  height: 35px;
  font-size: 16px;
  border-radius: 50%;
  color: var(--white-color);
  transition: all .3s ease;
  display: flex;
 justify-content: center;
 align-items: center;
}

.usedcars-filter-section .heart-btn:hover::before {
  content: "♥️";
}

.usedcars-filter-section .heart-btn.active::before {
  content: "♥️";
}
.usedcars-filter-section .heart-btn::before {
  content: "🤍";
}

.usedcars-filter-section .usedcars-filter-location{
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-color);
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: var(--font-open-sans);
  margin-top: 5px;
}
/* Title */
.usedcars-filter-section .usedcars-filter-title {
  color: var(--title-color);
  font-family: var(--font-Ubuntu);
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 5px;
  line-height: 1.2;
}

/* Details */
.usedcars-filter-section .info-icons{
  font-size: 12px;
  color: var(--text-color);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  font-weight: 600;
  font-family: var(--font-open-sans);

}

/* Price */
.usedcars-filter-section .usedcars-filter-price {
  font-size:17px;
  font-weight:800;
  margin-bottom:15px;
  color: var(--dark-color);

}

/* Button */
.usedcars-filter-section .btn-seller {
  background: var(--yellow-color);
  padding:8px;
  width:100%;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-color);
  transition: .3s ease;
  border: 1px solid rgb(5, 5, 5);
      font-family: var(--font-open-sans);

}



/* Responsive */
@media (max-width: 768px) {
  .usedcars-filter-section .usedcars-filter-card {
    flex-direction: column;
  }
  .usedcars-filter-section .heading{
    font-size: 24px;
    white-space: normal;
    margin-bottom: 10px;
  }
  .usedcars-filter-section .usedcars-filter-card img {
    width: 100%;
    height: 190px;
  }

  .usedcars-filter-section .car-info {
    padding: 15px;
  }
}

.search-sort {
  
  margin-bottom: 20px;
}
.search-sort .search-sort-text{
  font-family: var(--font-open-sans);
}
.search-sort .form-select{
  font-family: var(--font-open-sans);
}

/* load more btn */
.usedcars-filter-section .load-more {
  background: #222;
  color: #fff;
  padding: 10px 28px;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* disabled */
.usedcars-filter-section .load-more.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

/* dropdown-style arrow movement */
.usedcars-filter-section .load-more.loading .btn-icon {
  animation: arrowDown 0.8s ease-in-out infinite;
}

@keyframes arrowDown {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(6px); }
  100% { transform: translateY(0); }
}

/*=========================*/
/* Filters content scroll section*/
.filter-sidebar {
  max-height: 90vh; /* or adjust to your layout */
  overflow-y: auto;
  padding-right: 10px; /* space for scrollbar */
  scrollbar-width: thin; /* for Firefox */
}
/* Optional - nice custom scrollbar for Chrome/Edge */
.filter-sidebar::-webkit-scrollbar {
  width: 6px;
}
.filter-sidebar::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}
.filter-sidebar::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}


.filter-section {
  background: #fff;
  padding: 14px;
  border-radius: 0px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.filter-section .title {
  margin-bottom: 15px;
  font-family: var(--font-Ubuntu);
  font-weight: 600;
  font-size: 15px;
  line-height: 25px;
  color: var(--title-color);
  display: flex;
  align-items: center;
  gap: 4px;
}


/* Make/Model filter styles */
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  margin-top: 20px;
}
.filter-header .filter-category{
  font-family: var(--font-Ubuntu);
  font-weight: 600;
  font-size: 14px;
  line-height: 25px;
  color: var(--dark-color);
}


.filter-header i {
  transition: transform 0.3s ease;
}

.filter-header.collapsed i {
  transform: rotate(180deg);
}

.filter-body {
  margin-top: 15px;
}

.search-box {
  position: relative;
  margin-bottom: 15px;
}

.search-box input {
  padding-left: 35px;
  border-radius: 8px;
}

.search-box i {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #888;
}
#brandList .model-list{
  display: none;
}
.brand-item .plus-btn {
  cursor: pointer;
  font-weight: bold;
  user-select: none;
}
.brand-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  font-family: var(--font-Ubuntu);
  color: var(--dark-color);
  font-weight: 600;
}

.brand-item input {
  margin-right: 6px;
  font-family: var(--font-open-sans);
}

.brand-name {
  display: flex;
  align-items: center;
}

.brand-count {
  color: #888;
  font-size: 0.9rem;
}

.plus-btn {
  font-weight: bold;
  color: #888;
  cursor: pointer;
  font-family: var(--font-Ubuntu);
}
.model-item{
  font-family: var(--font-Ubuntu);
  font-size: 13px;
  cursor: pointer;

}

.plus-btn:hover {
  color: #000;
}


/*car type*/
.filter-header {
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
font-weight: 600;
margin-top: 20px;
}

.filter-header i {
transition: transform 0.3s ease;
}

.filter-header.collapsed i {
transform: rotate(180deg);
}

.filter-body {
margin-top: 10px;
}

.filter-body .form-check-label {
font-size: 13px;
}

.text-muted {
font-size: 0.9rem;
font-family: var(--font-open-sans);
}
/*fuel type*/
.filter-header {
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
font-weight: 600;
margin-top: 20px;
}

.filter-header i {
transition: transform 0.3s ease;
}

.filter-header.collapsed i {
transform: rotate(180deg);
}

.filter-body {
margin-top: 10px;
}

.form-check-label {
font-family: var(--font-Ubuntu);
font-size: 13px;
cursor: pointer;
}

.text-muted {
font-size: 0.9rem;
}
/*budget test*/

.budget {
width: 100%;
}

.slider-wrap {
position: relative;
height: 28px;
margin-top: 5px;
}

.track {
position: absolute;
top: 12px;
left: 0;
right: 0;
height: 6px;
background: #e0e0e0;
border-radius: 5px;
}

.range {
position: absolute;
top: 12px;
height: 6px;
background: var(--blue-color);
border-radius: 5px;
}

input[type=range] {
position: absolute;
width: 100%;
top: 0;
height: 28px;
background: none;
pointer-events: none;
-webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
pointer-events: auto;
width: 16px;
height: 16px;
background: var(--blue-color);
border: 3px solid #fff;
border-radius: 50%;
box-shadow: 0 0 0 2px rgba(13,110,253,0.2);
cursor: pointer;
}

.values {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 14px;
gap: 10px;
}

.value-box {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.value-box label {
font-size: 13px;
margin-bottom: 4px;
color: #333;
}

.value-box input {
width: 90px;
border: 1px solid #ccc;
border-radius: 6px;
padding: 6px 0;
text-align: center;
background: #fff;
font-size: 14px;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
/* City Filter Styles */
#cityFilter .search-box {
position: relative;
margin-bottom: 12px;
}

#cityFilter .search-box input {
padding-left: 35px;
border-radius: 8px;
}

#cityFilter .search-box i {
position: absolute;
top: 9px;
left: 10px;
color: #888;
}

#popularCities .city-btn {
border-radius: 20px;
font-size: 13px;
padding: 5px 14px;
transition: 0.2s;
font-family: var(--font-open-sans);
color: var(--text-color);
border: 1px solid b#5E5E5E;
}

#popularCities .city-btn.active, 
#popularCities .city-btn:hover {
background-color: var(--blue-color);
color: var(--white-color);
border-color: var(--blue-color);
}

#allDistricts .city-btn {
border-radius: 20px;
font-size: 13px;
padding: 5px 14px;
transition: 0.2s;
font-family: var(--font-open-sans);
color: var(--text-color);
border: 1px solid b#5E5E5E;
}

#allDistricts .city-btn.active, 
#allDistricts .city-btn:hover {
background-color: var(--blue-color);
color: var(--white-color);
border-color: var(--blue-color);
}

/* --- Blue Range Design (perfect alignment) --- */
.range-slider {
  position: relative;
  height: 6px;
  margin: 20px 0 10px 0;
}

.range-track {
  position: absolute;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #d3d3d3;
  top: 0;
  left: 0;
}

.range-fill {
  position: absolute;
  height: 6px;
  background: var(--blue-color);
  border-radius: 5px;
  top: 0;
  left: 0;
}
.range-slider-label label{
  font-family: var(--font-Ubuntu);
  font-size: 13px;
}

.range-slider input[type=range] {
  position: absolute;
  width: 100%;
  height: 6px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
}

.range-slider input[type=range]::-webkit-slider-thumb {
  pointer-events: all;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-color);
  border: 3px solid #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
  -webkit-appearance: none;
}

.range-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
}

.range-values input {
  width: 75px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 3px 0;
  font-size: 14px;
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 991px) {
  .filter-section {
    margin-bottom: 25px;
  }
  .search-sort {
    flex-direction: column;
    gap: 10px;
  }
  #searchInput {
    width: 100% !important;
  }
  #sortSelect {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .usedcars-filter-card img {
    height: auto;
    width: 100%;
  }
  .btn-offer, .btn-seller {
    display: block;
    width: 100%;
    margin-top: 8px;
  }
  .values input {
    width: 80px;
    font-size: 12px;
  }
  .brand-item {
    flex-wrap: wrap;
  }
  .brand-count {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .filter-section {
    padding: 15px;
  }
  .car-info h6 {
    font-size: 0.95rem;
  }
  .btn-seller {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
  .load-more {
    width: 100%;
  }
}

/*----main post filter section end-----*/
