body {
     font-family: "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
}
    .dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu {
  display: none;
  animation: fadeInUp 0.3s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-item:hover {
  background: #f8f9fa;
  border-radius: 6px;
  color: #0d6efd !important;
}
  /* Top navbar links */
  .top-link {
    color: #fff !important;
    font-size: 0.85rem;
    transition: color 0.3s ease;
  }
  .top-link:hover {
    color: #f4b400 !important; /* gold hover */
  }

  /* Main navbar styling */
  .main-navbar {
    background-color: #f4f4f4;
  }

  /* Main navbar links */
  .main-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 6px;
    position: relative;
    transition: all 0.3s ease;
  }
  .main-link:hover {
    color: #f4b400 !important;
  }
  .main-link::after {
    content: "";
    display: block;
    height: 2px;
    width: 0%;
    background: #f4b400;
    transition: width 0.3s;
    position: absolute;
    bottom: -3px;
    left: 0;
  }
  .main-link:hover::after {
    width: 100%;
  }
     .hero-section {
      background: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1200&q=80') no-repeat center center;
      background-size: cover;
      color: #fff;
      padding: 143px 0;
      text-align: center;
    }
    .hero-section-used {
      background-color: #233D7A;
      color: #fff;
      padding: 143px 0;
      text-align: center;
    }
    .vehicle-selector {
      /* background: rgba(0,0,0,0.7); */
      padding: 20px;
      border-radius: 10px;
      display: inline-block;
    }
    .vehicle-selector select {
      margin: 5px;
    }
    .vehicle-selector button {
      margin: 5px;
      background: #f4b400;
      color: #000;
      font-weight: bold;
    }
.offer-card {
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      padding: 32px 31px;
      display: flex;
      align-items: center;
      transition: all 0.3s ease-in-out;
      background: #fff;
      margin-bottom: 20px;
      cursor: pointer;
    }
    .offer-card:hover {
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      transform: translateY(-3px);
    }
    .offer-card img {
      width: 80px;
      height: auto;
      margin-right: 15px;
    }
    .offer-card h6 {
      font-size: 15px;
      color: #233D7A;
      margin: 0;
    }
    .offer-card p {
      font-size: 16px;
      font-weight: bold;
      margin: 0;
      color: #434343;
    }
    .categories-section {
            max-width: 100%;
            margin: 0 auto;
            position: relative;
            background-color: #f4f4f4;
            padding: 25px;;
        }
        /* .title {
            text-align: center;
            color: #6c757d;
            font-size: 14px;
            margin-bottom: 10px;
        } */
        /* .subtitle {
            text-align: center;
            color: #6c757d;
            font-size: 14px;
            margin-bottom: 20px;
        } */
        .categories-container {
            display: flex;
            overflow-x: hidden;
            gap: 20px;
            padding: 10px 0;
            scroll-behavior: smooth;
            position: relative;
        }
        .category-card {
            background-color: white;
            border-radius: 8px;
            padding: 25px 20px;
            text-align: center;
            min-width: 280px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            position: relative;
            cursor: pointer;
            transition: 0.3s;
        }
        .category-card:hover {
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      transform: translateY(-5px);
        }
        .category-icon {
            font-size: 40px;
            color: #a5d8ff;
            margin-bottom: 10px;
        }
        .category-name {
            font-size: 16px;
            color: #343a40;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .car-card {
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 15px;
      text-align: center;
      transition: 0.3s;
    }
    .car-card:hover {
      box-shadow: 0 4px 15px rgba(0,0,0,0.15);
      transform: translateY(-5px);
    }
    .car-card img {
      width: 100%;
      height: 160px;
      object-fit: contain;
      margin-bottom: 10px;
    }
    .car-name {
      font-weight: bold;
      color: #1a237e;
    }
    .car-price {
      color: green;
      font-weight: 600;
    }
    footer {
      background: #f4f4f4;
      color: white;
      padding: 50px 20px 20px;
    }

    .footer-container {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 20px;
      max-width: 1200px;
      margin: auto;
    }

    .footer-container h4 {
      margin-bottom: 15px;
      font-size: 16px;
    }

    .footer-container ul {
      list-style: none;
      padding: 0;
    }

    .footer-container ul li {
      margin-bottom: 8px;
    }

    .footer-container ul li a {
      color: white;
      text-decoration: none;
      font-size: 14px;
    }

    .footer-container ul li a:hover {
      color: #ffc107;
;
    }

    .payments img {
      width: 40px;
      margin-right: 8px;
    }

    .footer-bottom {
      text-align: center;
      margin-top: 30px;
      font-size: 14px;
      color: white;
    }

    .footer-bottom a {
      color: white;
      text-decoration: none;
    }

    .footer-bottom a:hover {
      text-decoration: underline;
    }

    .footer-links {
      margin-top: 20px;
      text-align: center;
    }

    .footer-links a {
      color: white;
      margin: 0 10px;
      font-size: 13px;
      text-decoration: none;
    }

    .footer-links a:hover {
      color: #ffc107;
    }

    #scrollTopBtn {
      display: none; /* Hidden by default */
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 99;
      font-size: 18px;
      border: none;
      outline: none;
      background-color: #ffc107;
      color: black;
      cursor: pointer;
      padding: 12px 16px;
      border-radius: 50px;
      transition: 0.3s;
    }

    #scrollTopBtn:hover {
      background-color: #555;
    }
    .new-cars-section {
      padding: 40px;
      max-width: 1200px;
      margin: auto;
    }

    .new-cars-section h2 {
      font-size: 24px;
      margin-bottom: 20px;
      color: #333;
    }

    .cars-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
    }

    .car-card {
      background: #fff;
      border: 1px solid #eee;
      border-radius: 8px;
      text-align: center;
      padding: 20px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .car-card:hover {
      transform: translateY(-5px);
      box-shadow: 0px 6px 15px rgba(0,0,0,0.1);
    }

    .car-card img {
      max-width: 100%;
      height: auto;
      margin-bottom: 15px;
    }

    .car-card h3 {
      font-size: 18px;
      color: #003399;
      margin: 10px 0;
    }

    .car-card .price {
      font-size: 16px;
      color: green;
      margin-bottom: 10px;
    }

    .car-card .launch {
      font-size: 14px;
      color: #666;
    }



    .contact-section {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 30px;
      padding: 40px 10%;
      background: #fff;
      margin: 30px auto;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .contact-info {
      flex: 1;
      min-width: 280px;
    }

    .contact-info h2 {
      margin-bottom: 15px;
      color: #333;
    }

    .contact-info p {
      margin: 8px 0;
      font-size: 16px;
      color: #555;
    }

    .contact-form {
      flex: 1;
      min-width: 280px;
    }

    .contact-form h2 {
      margin-bottom: 15px;
      color: #333;
    }

    .contact-form form {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .contact-form input, 
    .contact-form textarea {
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 16px;
    }

    .contact-form textarea {
      resize: none;
      height: 120px;
    }

    .contact-form button {
      padding: 12px;
      background: #222;
      color: #fff;
      font-size: 16px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: 0.3s;
    }

    .contact-form button:hover {
      background: #ff5722;
    }

    .map {
      width: 100%;
      margin-top: 20px;
    }

    .map iframe {
      width: 100%;
      height: 300px;
      border: 0;
      border-radius: 10px;
    }
    .map-info {
      caret-color: #003399;
      inset-block: green;
      display: horizontal;
    }
    .post-ad{
      caret-color: #003399;
      inset-block: green;
      display: horizontal;
    }

