
html{
  scroll-behavior: smooth;
}
    .feature-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border-radius: 15px;
    }
    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }
    .feature-icon {
      font-size: 2.5rem;
      color: #0d6efd;
    }

    .hero {
      position: relative;
      width: 100%;
      height: 100vh; /* full screen height */
      background: url('Ferrari.jpg') no-repeat center center/cover;
    }
    .hero-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      text-align: center;
      font-weight: bold;
    }
    
    

  .featured-section {
      padding: 60px 0;
    }

    .featured-title {
      text-align: center;
      margin-bottom: 40px;
      font-size: 2.5rem;
      font-weight: bold;
    }

    .car-card {
      transition: transform 0.3s ease;
    }

    .car-card:hover {
      transform: scale(1.03);
    }

    .car-img {
      height: 200px;
      object-fit: cover;
      border-radius: 8px;
    }

    .card-body h5 {
      font-weight: 600;
    }

    .btn-view {
      background-color: #0a1d3b;
      color: white;
    }

    .btn-view:hover {
      background-color: blue;
      color: white;
    }

     .search-card {
      max-width: 500px;
      margin: 80px auto;
      padding: 30px;
      background-color: #ffffff;
      border-radius: 12px;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    }

    .search-card h4 {
      font-weight: 700;
      margin-bottom: 25px;
      text-align: center;
      color: #333;
    }

    .dropdown-toggle {
      width: 100%;
      text-align: left;
    }

    .dropdown-menu {
      width: 100%;
    }

    .btn-search {
      background-color: #0a1d3b;
      color: #fff;
      font-weight: 600;
      transition: background-color 0.3s ease;
    }

    .btn-search:hover {
      background-color: blue;
      color: white;
    }


   
     .car-card2 {
      max-width: 500px;
      margin: 80px auto;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .car-card2:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

    .car-card2 h2 {
      font-weight: 700;
      color: black;
      margin-bottom: 0.5rem;
    }

    .car-card2 p {
      color: #555;
      font-size: 1rem;
      margin-bottom: 0;
    }

 .list{
  background-color: blue;
  color: white;
 }
 .list:hover{
outline-width: 23px;
outline-style: auto;
outline-color: black;
  background-color: none;
  color: black;
 }
 
.highlight{
  font-size: 4.5vw;
  font-family: 'Times New Roman', Times, serif;
}
.lead{
  font-size: 2vw;
}
@media (max-width: 576px) {
  .highlight{
     font-size: 1.5rem;
  }
  .lead{
    font-size: 1rem;
  }
}
.list-now{
  background-color: #0a1d3b;
  color: white;
  font-size: 3vw;
}
.list-now:hover{
  background-color: blue;
  color: white;
}
.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);
}
h5{
  font-family: 'Times New Roman', Times, serif;
  font-weight: 600;
}

@font-face {
    font-family: 'Playfair Display';
    src: url(static/PlayfairDisplay-Regular.ttf);
}
.bgbox{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  background-color: black;
  opacity: 45%;
}

 .newsletter-section {
      background: url('https://via.placeholder.com/1600x500?text=RideMart+Cars') center/cover no-repeat;
      position: relative;
      padding: 80px 20px;
      color: white;
    }
    .newsletter-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.65);
      z-index: 1;
    }
    .newsletter-content {
      position: relative;
      z-index: 2;
    }
    .newsletter-input {
      border-radius: 50px 0 0 50px;
      padding: 12px 20px;
    }
    .newsletter-btn {
      border-radius: 0 50px 50px 0;
      padding: 12px 30px;
    }

       .footer {
      background: #111;
      color: #bbb;
      padding: 60px 20px 20px;
    }
    .footer h5 {
      color: #fff;
      margin-bottom: 20px;
      font-weight: bold;
    }
    .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;
    }
    .footer-bottom {
      border-top: 1px solid #444;
      margin-top: 30px;
      padding-top: 15px;
      font-size: 14px;
      color: #888;
    }










    .car-card {
  background: #fff;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.car-img-wrapper {
  height: 220px;
  overflow: hidden;
}

.car-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.car-card:hover .car-img {
  transform: scale(1.05);
}

.car-card-body {
  text-align: center;
}

.car-title {
  color: #222;
}

.car-meta {
  font-size: 0.9rem;
}

.car-price {
  color: #007b5e;
}

.btn-view, .btn-primary {
  background: #007bff;
  border: none;
  transition: background 0.3s ease;
}

.btn-view:hover, .btn-primary:hover {
  background: #0056b3;
}
