.nav-link{
  position: relative;
  color: #000;
  text-decoration: none !important;
}
.nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #007bff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Hover effect*/
.nav-link:hover::after{
  transform: scaleX(1);
}

.nav-link.active::after{
  transform: scaleX(1);
}

 .list{
  background-color: blue;
  color: white;
 }
 .list:hover{
outline-width: 23px;
outline-style: auto;
outline-color: black;
  background-color: none;
  color: black;
 }



   /* Hero Overlay */
    .hero-section {
      position: relative;
      background: url('https://via.placeholder.com/1600x600?text=Find+Your+Perfect+Ride') center/cover no-repeat;
      height: 70vh;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .hero-overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
    }
    .hero-content {
      position: relative;
      text-align: center;
      z-index: 2;
    }
    /* Car Cards */
    .car-card img {
      height: 200px;
      object-fit: cover;
    }


    /* Search bar*/
     .filter-section {
      background: #f8f9fa;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }
    .dropdown-toggle {
      width: 100%;
      text-align: left;
      border-radius: 8px;
    }
    .btn-custom {
      border-radius: 8px;
    }
    .s-button{
      width: 100%;
      text-align: center;
    }



    //
/* Make grid cleaner */
.car-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}




.car-card { transition: transform 0.28s ease, box-shadow 0.28s ease; border-radius:12px; overflow:hidden; }
.car-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }

.img-wrapper { overflow:hidden; }
.main-img { width:100%; height:220px; object-fit:cover; transition: transform 0.35s ease; }
.img-wrapper:hover .main-img { transform: scale(1.06); }

.thumb-img { width:100%; height:80px; object-fit:cover; transition: transform 0.25s ease; border-radius:8px; }
.thumb:hover .thumb-img { transform: scale(1.04); }








       .footer {
      background: #0d0d0d;
      color: #bbb;
      padding: 60px 20px 20px;
    }
    .footer h5 {
      color: #fff;
      margin-bottom: 20px;
      font-weight: 600;
    }
    .footer a {
      color: #bbb;
      text-decoration: none;
    }
    .footer a:hover {
      color: #ffc107;
    }
    .social-icons a {
      font-size: 20px;
      margin-right: 15px;
      color: #bbb;
      transition: 0.3s;
    }
    .social-icons a:hover {
      color: #ffc107;
    }
    .payment-icons img {
      width: 50px;
      margin-right: 10px;
      opacity: 0.8;
      transition: 0.3s;
    }
    .payment-icons img:hover {
      opacity: 1;
    }
    .footer-bottom {
      border-top: 1px solid #444;
      margin-top: 30px;
      padding-top: 15px;
      font-size: 14px;
      color: #888;
    }





 .car-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}
.car-title {
  color: #212529;
}
.car-meta {
  font-size: 0.9rem;
}
.car-price {
  color: #1a8f44;
}
.btn-outline-primary:hover {
  background: #0d6efd;
  color: #fff;
}
.badge-brand-new {
  background-color: orange;
  color: black;
}
.badge-used {
  background-color: #ffc107; /* or keep bg-warning text-dark */
  color: black;
}
