/* General Styles */
    html {
        scroll-behavior: smooth;
    }

    /* Preloader Styles */
    #preloader {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      color: #0d6efd;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    #preloader.hidden {
      opacity: 0;
      visibility: hidden;
    }

    /* Spinner design */
    .spinner {
      width: 60px;
      height: 60px;
      border: 6px solid rgba(255,255,255,0.2);
      border-top-color: #0d6efd;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  /* Inner glow */
  .spinner-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,255,255,0.6);
  }

  .loading-text {
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    font-size: 1rem;
  }

/* Navbar */
    .navbar-brand {
      font-weight: bold;
      font-size: 1.5rem;
      letter-spacing: 1px;
    }

    .logo {
      height: 50px;
      width: auto;
      object-fit: cover;
    }

    .nav-link {
      transition: color 0.3s ease;
      color: #fff;
    }

    .nav-link.active {
      color: #f9f9f9 !important;
      font-weight: bold;
    }

    .nav-link:hover {
      color: #ffc107;
    }

    #btn1 {
      background-color: #0d6efd;
      color: #fff;
      outline: none;
    }

    #btn1:hover {
      background-color: #0d6efd;
      color: #fff;
    }

    /* Hero Section */
    .background {
        background-image:linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/carsbanner.jpeg');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .sell-car-section img {
      transition: transform 0.6s ease;
    }
    .sell-car-section img:hover {
      transform: scale(1.05);
    }

    .arrival-title {
        font-weight: 700;
        margin-top: 40px;
    }

    .category-subtitle {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .vehicle-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 3px 12px rgba(0,0,0,0.08);
        height: 100%;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .vehicle-card img {
        width: 100%;
        height: 170px;
        object-fit: cover;
    }

    .vehicle-body {
        padding: 15px;
        flex-grow: 1;
    }

    .vehicle-body p {
        margin: 0;
        font-size: 14px;
    }

    .vehicle-footer {
        padding: 15px;
    }

    .equal-height-col {
        display: flex;
    }

    .step {
      color: #ffc107;
      font-weight: bold;
      border: 1px solid #ffc107;
      border-radius: 30px;
      padding: 10px;
    } 

    #abtBanner {
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/home.jpeg');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    /* Carousel */
    .carousel-item {
      height: 90vh;
      min-height: 400px;
      background: no-repeat center center scroll;
      background-size: cover;
      position: relative;
      font-family: 'montserrat', sans-serif;
    }
    .carousel-caption {
      bottom: 40%;
    }
    .carousel-caption h1 {
      font-size: 3rem;
      font-weight: bold;
      animation: fadeInDown 1s;
    }
    .carousel-caption p {
      font-size: 1.2rem;
      animation: fadeInUp 1.2s;
    }
    @keyframes fadeInDown {
      from {opacity: 0; transform: translateY(-30px);}
      to {opacity: 1; transform: translateY(0);}
    }
    @keyframes fadeInUp {
      from {opacity: 0; transform: translateY(30px);}
      to {opacity: 1; transform: translateY(0);}
    }

    /* About */
   

    /* Why Choose Us */
    .why-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .why-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    /* Browse by State */
    .state-card {
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .state-card:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    /* Latest Arrivals */
    .car-card img {
      height: 220px;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .car-card:hover img {
      transform: scale(1.1);
    }

    /* Featured Cars */

    .featured-cars {
    background: #f9f9f9;
    }
    .car-card {
        transition: transform 0.3s, box-shadow 0.3s;
        border-radius: 12px;
        overflow: hidden;
    }
    .car-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    }
    .car-card img {
        height: 200px;
        object-fit: cover;
    }

    /* Testimonials */
   .testimonials .card {
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    }
    .testimonials .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    .testimonial-img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        margin-top: 15px;
    }
    .custom-arrow {
        position: absolute;
        top: 40%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.6);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .carousel-control-prev.custom-arrow {
        left: -25px;
    }
    .carousel-control-next.custom-arrow {
        right: -25px;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        filter: invert(1);
    }

    /* Newsletter */
    .newsletter {
    /*background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/newsletter-bg.jpg') center/cover no-repeat;*/
    background-color: #e43d34;
    }
    .newsletter-form input {
        border-radius: 8px;
        border: none;
        padding: 12px;
        transition: all 0.3s ease-in-out;
    }
    .newsletter-form input:focus {
        box-shadow: 0 0 8px rgba(255,193,7,0.6);
        outline: none;
    }
    .newsletter-form button {
        border-radius: 8px;
        transition: transform 0.3s ease, background 0.3s ease;
    }
    .newsletter-form button:hover {
        transform: translateY(-3px);
        background: #e43d34;
    }

    /* FAQs */
    .faqs {
    background: #fff;
    }
    .accordion-button {
        font-weight: 600;
    }
    .accordion-button:not(.collapsed) {
        color: #0d6efd;
        background-color: #eaf1ff;
    }

    /* Banner Styling */
    .about-banner {
      height: 70vh;
    }
    .about-banner .carousel-caption {
      bottom: 35%;
    }
    .about-banner h1 {
      font-size: 3rem;
      font-weight: bold;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    }

    /* Section Styling */
    .section-title {
      font-weight: bold;
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
    }
    .section-title::after {
      content: "";
      display: block;
      width: 50px;
      height: 4px;
      background: #ffc107;
      margin: 10px auto 0;
      border-radius: 2px;
    }

    /* Mission/Vision */
    .mission-card {
      border-radius: 12px;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .mission-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

    /* Team */
    .team-card img {
      border-radius: 50%;
      width: 120px;
      height: 120px;
      object-fit: cover;
      margin: 0 auto 15px;
    }
    .team-card {
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .team-card:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    }

    .cta {
      background: #e43d34;
      color: #fff;
      padding: 40px;
      border-radius: 12px;
      transition: background 0.3s ease;
    }

    /* Banner */
    .cars-banner {
      background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/images/carsbanner1.jpeg") center/cover no-repeat;
      padding-left: 3rem;
    }

    /* Car Cards */
    .car-card {
      border-radius: 12px;
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
      animation: fadeInUp 1s ease both;
    }

    .car-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

    /* Fade-in Animation */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }