/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
 background: linear-gradient(to right, #000000, #853737, #FF0000);
  color: #080808;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  height: 70px;
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 400;
}

nav a:hover {
  color: rgb(8, 8, 8);
}
/* === Import Button (Hero Section) === */
.btn.import {
  background-color: #ff0033;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn.import:hover {
  background-color: #c40028;
}

/* === Modal Styling === */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  padding: 30px 15px;
  overflow-y: auto;
}

.modal-content {
  max-width: 650px;
  margin: auto;
  background: #fff;
  border-radius: 12px;
  padding: 30px 25px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.modal-content .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #999;
}

/* === Import Info Section === */
.import-info {
  background: #f8f9fa;
  padding: 20px;
  margin-bottom: 25px;
  border-left: 4px solid #ff0033;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.import-info ul {
  padding-left: 20px;
  margin-top: 10px;
}

.import-info li {
  margin-bottom: 8px;
}

.import-info .note {
  margin-top: 15px;
  color: #444;
  font-style: italic;
}

/* === Import Form === */
.import-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.import-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fdfdfd;
}

.import-form .import-submit {
  background-color: #ff0033;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.import-form .import-submit:hover {
  background-color: #c40028;
}

/* === Responsive Fixes === */
@media (max-width: 480px) {
  .modal-content {
    padding: 20px;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }

  .import-info {
    font-size: 0.92rem;
    padding: 15px;
  }

  .import-form input {
    font-size: 0.95rem;
  }
}
/* Hero Section */
.hero {
  background: url('images/hero-bg.jpg') no-repeat center center/cover;
  height: 70vh; /* Reduced height as requested */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 3rem;
  background-color: #000;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: red;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #c40000;
}

/* Services Section - Modern, Interactive & Compact (Black & Red Theme) */
.services {
  /* Darker, rich black overlay to align with theme */
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95)),
              url('images/zx6.jpg') no-repeat center center / cover;
  background-attachment: fixed; /* For subtle parallax effect */
  padding: 45px 20px; /* Maintained reduced vertical padding */
  color: #fff; /* White text for contrast */
  text-align: center;
  border-radius: 12px;
  margin: 30px auto; /* Maintained reduced margin */
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); /* Dark shadow for depth */
  transition: box-shadow 0.3s ease-in-out;
}

.services:hover {
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5); /* More pronounced dark shadow on hover */
}

.services h2 {
  font-size: 1.5rem; /* Larger, impactful main heading */
  margin-bottom: 30px;
  color: #ff0033; /* Vibrant red for accent, directly from theme */
  font-weight: 800; /* Bolder */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 0 15px rgba(255, 0, 51, 0.6); /* Red glow effect for text */
}

/* Horizontal Services List */
.services-list {
  display: flex;
  justify-content: center;
  gap: 1.2rem; /* Space between service items */
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background for items */
  color: #f0f0f0; /* Soft white text */
  padding: 0.9rem 1.4rem; /* Padding for items */
  border-radius: 10px;
  min-width: 140px;
  font-size: 0.9rem; /* Readable font size */
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle white border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Dark shadow for items */
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.services-list li:hover {
  background-color: #ff0033; /* Red background on hover */
  color: #ffffff; /* White text on hover */
  transform: translateY(-8px) scale(1.02); /* Prominent lift effect */
  box-shadow: 0 8px 20px rgba(255, 0, 51, 0.4); /* Red glow shadow on hover */
  border-color: #ff0033; /* Red border on hover */
}

/* Responsive Adjustments for Services Section */
@media (max-width: 768px) {
  .services {
    padding: 35px 15px;
    margin: 20px auto;
  }
  .services h2 {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .services-list {
    gap: 1rem;
  }
  .services-list li {
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 30px 10px;
    margin: 15px auto;
    border-radius: 8px;
  }
  .services h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .services-list {
    gap: 0.8rem;
  }
  .services-list li {
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
    min-width: 100px;
  }
}

/* Filter/Search Section - Modern & Interactive (Black & Red Theme) */
.filter-section {
  /* Deep black background with a subtle overlay, keeping the image */
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)),
              url('images/zx1.jpg') no-repeat center center;
  background-size: cover;
  border-radius: 12px;
  padding: 20px; /* Maintained reduced padding for height */
  margin: 30px auto;
  max-width: 1000px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Enhanced dark shadow */
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* Space between filter elements */
  align-items: center;
  justify-content: center;
  color: #fff; /* White text for contrast */
  transition: box-shadow 0.3s ease;
}

.filter-section:hover {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5); /* Slightly more prominent shadow on hover */
}

.filter-section label {
  font-weight: 600;
  margin-right: 0.5rem;
  color: #e0e0e0; /* Softer white for labels */
}

/* Inputs and Dropdowns inside filter */
.filter-section input[type="text"],
.filter-section select {
  padding: 10px 14px;
  border: 1px solid #333; /* Darker border for inputs */
  border-radius: 8px;
  font-size: 1em;
  width: 220px;
  background-color: #1a1a1a; /* Even darker input background */
  color: #fff;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); /* Subtle inner shadow */
}

.filter-section input[type="text"]:focus,
.filter-section select:focus {
  border-color: #ff0033; /* Red border on focus */
  box-shadow: 0 0 0 3px rgba(255, 0, 51, 0.3); /* Red glow on focus */
  outline: none;
  background-color: #2a2a2a; /* Slightly lighter background on focus */
}

/* Buttons */
.filter-section .filter-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background-color: #ff0033; /* Primary Red button */
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 0, 51, 0.2); /* Subtle red shadow */
}

.filter-section .filter-btn:hover {
  background-color: #e6002c; /* Slightly darker red on hover */
  transform: translateY(-2px); /* Lift effect */
  box-shadow: 0 6px 15px rgba(255, 0, 51, 0.4); /* More pronounced red shadow */
}

.filter-section .filter-btn.secondary {
  background-color: #333; /* Dark secondary button */
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Dark shadow for secondary */
}

.filter-section .filter-btn.secondary:hover {
  background-color: #444; /* Slightly lighter dark on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* More pronounced dark shadow */
}

/* Price Filter Buttons */
.price-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
  width: 100%;
}

.price-filters button {
  padding: 8px 14px;
  background-color: transparent; /* Transparent background */
  color: #ff0033; /* Red text */
  border: 1px solid #ff0033; /* Red border */
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.price-filters button:hover {
  background-color: #ff0033; /* Solid red background on hover */
  color: white; /* White text on hover */
  border-color: #ff0033; /* Red border on hover */
  transform: translateY(-2px); /* Lift effect */
  box-shadow: 0 3px 8px rgba(255, 0, 51, 0.3); /* Red glow shadow on hover */
}

/* Responsive Adjustments for Filter/Search Section */
@media (max-width: 768px) {
  .filter-section {
    padding: 15px;
    gap: 10px;
  }
  .filter-section input[type="text"],
  .filter-section select {
    width: 100%; /* Make inputs/selects full width on smaller screens */
    max-width: 280px; /* Limit max width for readability */
  }
  .filter-section .filter-btn {
    width: 100%; /* Make buttons full width */
    max-width: 280px;
  }
  .price-filters {
    gap: 8px;
  }
  .price-filters button {
    padding: 7px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .filter-section {
    padding: 12px;
    margin: 20px auto;
    border-radius: 10px;
  }
  .filter-section input[type="text"],
  .filter-section select,
  .filter-section .filter-btn {
    font-size: 0.9em;
    padding: 8px 10px;
  }
  .price-filters {
    gap: 5px;
  }
  .price-filters button {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Car Listings Section - Modern & Interactive Design */
.cars {
  padding: 4rem 2rem; /* Increased padding for more breathing room */
  background-color: #f5f7fa; /* A very light, modern grey background for the section */
  text-align: center;
  display: none; /* Hide cars section by default, controlled by JS */
  width: 100%;
}

.car-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem; /* Increased gap for better separation between cards */
  max-width: 1300px; /* Slightly wider content area */
  margin: 0 auto;
}

.car {
  background: #ffffff; /* Clean white background for each car card */
  border-radius: 15px; /* More rounded corners for a softer, modern look */
  width: 320px; /* Slightly wider cards for better content display */
  padding: 1.5rem; /* Increased padding inside the card */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Softer, more diffused shadow */
  overflow: hidden; /* Ensures image corners respect border-radius */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes content and buttons to ends */
  transition: transform 0.4s ease, box-shadow 0.4s ease; /* Smooth transitions for hover effects */
  border: 1px solid #e0e0e0; /* Subtle light grey border */
}

.car:hover {
  transform: translateY(-8px); /* Lifts the card on hover for interactivity */
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.car img {
  max-width: 100%;
  height: 200px; /* Fixed height for consistent image size */
  object-fit: cover; /* Ensures images fill the space without distortion */
  border-radius: 12px; /* Rounded corners for the image itself */
  margin-bottom: 1rem;
  transition: transform 0.3s ease; /* Smooth zoom on hover */
}

.car:hover img {
  transform: scale(1.03); /* Slight zoom effect on image when card is hovered */
}

.car h3 {
  margin-top: 0.8rem;
  margin-bottom: 0.5rem;
  color: #222; /* Darker text for car name */
  font-size: 1.0rem; /* Slightly larger heading */
  font-weight: 700;
  line-height: 1.2;
}

.car p {
  color: #007bff; /* A modern blue for price, standing out from neutrals */
  font-weight: bold;
  font-size: 1.25rem; /* Larger price text */
  margin-bottom: 1rem;
}

/* Optional: Add a button to each car card if you have one, e.g., a "View Details" button */
.car .btn-view-details {
  display: block;
  width: 100%;
  padding: 12px 0;
  background: linear-gradient(45deg, #007bff, #0056b3); /* Blue gradient for action button */
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto; /* Pushes button to the bottom */
}

.car .btn-view-details:hover {
  background: linear-gradient(45deg, #0056b3, #007bff);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
  transform: translateY(-2px);
}
/* Contact Strip */
.contact-strip {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 0.8rem; /* Reduced padding for height */
}

.contact-strip a {
  color: red;
  text-decoration: none;
  margin: 0 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px 15px; /* Reduced padding for height */
  background: #000;
  color: white;
  font-size: 0.9rem;
}

/* Car Modal */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 10000; /* Increased z-index as per your latest code*/
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.6); /* Kept existing background from your code*/
  backdrop-filter: blur(3px); /* Kept existing backdrop-filter from your code*/
}

.modal-content {
  background: white;
  max-width: 800px;
  width: 90%;
  padding: 30px;
  border-radius: 12px;
  position: relative; /* Ensures absolute positioned elements inside are relative to this */
  overflow: auto; /* Make the content scrollable if it overflows */
  max-height: 70vh; /* Limit the maximum height of the content */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); /* Kept existing box-shadow from your code*/
  animation: fadeInUp 0.4s ease; /* Kept existing animation from your code*/
  font-family: "Segoe UI", Roboto, sans-serif; /* Kept existing font-family from your code*/
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 20px; /* Kept existing margin-bottom from your code*/
  font-size: 1.7em; /* Kept existing font-size from your code*/
  color: #333; /* Kept existing color from your code*/
  text-align: center; /* Kept existing text-align from your code*/
}

.modal-content input {
  width: 100%;
  padding: 12px 14px; /* Kept existing padding from your code*/
  margin-bottom: 15px;
  border-radius: 10px; /* Kept existing border-radius from your code*/
  border: 1px solid #ccc;
  font-size: 1em;
  background: #f9f9f9; /* Kept existing background from your code*/
  transition: border 0.3s ease;
}

.modal-content input:focus {
  border-color: rgba(230, 0, 35, 0.85); /* Kept existing border-color from your code*/
  outline: none;
  background: #fff; /* Kept existing background from your code*/
}

/* Close button for the modal */
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #999;
  z-index: 1001; /* Ensure it's above other modal content */
  transition: color 0.3s; /* Kept existing transition from your code*/
}

.close-modal:hover {
  color: black;
}
/* Modal Gallery - Modern & Interactive Design */
.modal-gallery {
  display: flex;
  overflow-x: auto; /* Enable horizontal scrolling */
  gap: 0.75rem; /* Slightly increased gap for better separation */
  margin-bottom: 1.5rem; /* More space below the gallery */
  padding: 0.75rem; /* Padding all around for better aesthetics, including scrollbar */
  background-color: #f0f2f5; /* Light grey background for the gallery strip */
  border-radius: 10px; /* Rounded corners for the gallery container */
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05); /* Subtle inner shadow for depth */

  /* Custom Scrollbar Styles (for Webkit browsers like Chrome, Safari) */
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #a0a0a0 #f0f0f0; /* Firefox */
}

/* Custom Scrollbar Track */
.modal-gallery::-webkit-scrollbar-track {
  background: #f0f0f0; /* Light background for the scrollbar track */
  border-radius: 10px;
}

/* Custom Scrollbar Thumb */
.modal-gallery::-webkit-scrollbar-thumb {
  background-color: #a0a0a0; /* Grey color for the scrollbar thumb */
  border-radius: 10px;
  border: 3px solid #f0f0f0; /* Padding around the thumb */
}

.modal-gallery img {
  width: 120px; /* Slightly larger thumbnails for better detail */
  height: 80px; /* Fixed height for consistent aspect ratio */
  object-fit: cover; /* Ensures images cover the area without distortion */
  border-radius: 8px; /* Slightly more rounded image corners */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; /* Smoother transitions */
  border: 2px solid #e0e0e0; /* Clean, light grey border */
  flex-shrink: 0; /* Prevent images from shrinking */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for each thumbnail */
}

.modal-gallery img:hover {
  transform: scale(1.08); /* Slightly enhanced scale on hover */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* More pronounced shadow on hover */
  border-color: #007bff; /* A clean blue highlight border on hover */
}

.modal-gallery img.active-thumbnail {
  border-color: #007bff; /* Blue border for the currently active/selected thumbnail */
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
.btn.whatsapp {
  background-color: #25D366;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn.whatsapp:hover {
  background-color: #1ebe5d;
}

#carModal {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.98);
  z-index: 999; /* Must be lower than image popup */
  display: none;
  overflow-y: auto;
}

#imagePopup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999; /* Higher than carModal */
  justify-content: center;
  align-items: center;
}

#imagePopup img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px #000;
}

.close-image {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10000;
}

/* View Details button - Modern Interactive */
.details-btn {
  /* Use a subtle blue-grey gradient for a modern, less harsh look */
  background: linear-gradient(45deg, #4a69bd, #3c57a5);
  color: white;
  padding: 12px 22px; /* Slightly more padding */
  border: none;
  border-radius: 8px; /* Slightly more rounded */
  cursor: pointer;
  margin-top: 15px; /* More space above the button */
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
  transition: all 0.3s ease; /* Smooth transitions */
  display: inline-block; /* Ensures consistent padding */
}

.details-btn:hover {
  background: linear-gradient(45deg, #3c57a5, #4a69bd); /* Reverse gradient on hover */
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

/* General list styles within modals (e.g., for specifications) */
.modal-content ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 15px; /* More space above the list */
  white-space: pre-line; /* Maintains line breaks */
  overflow-x: auto; /* Enable horizontal scrolling for long lines */
  overflow-y: hidden;
  -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  background-color: #f9f9f9; /* Light background for the list area */
  border-radius: 8px;
  padding: 15px 20px;
  border: 1px solid #eee; /* Light border */
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.05); /* Subtle inner shadow */
}

.modal-content ul::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Webkit browsers */
}

/* Style the car details in the modal - Modern Design */
#modalDetails h2 {
  color: #222; /* Darker, more prominent heading */
  font-size: 2rem; /* Larger heading */
  margin-bottom: 1rem;
  border-bottom: 2px solid #e0e0e0; /* Lighter, subtle border */
  padding-bottom: 0.8rem; /* More padding below the border */
  font-weight: 700;
}

#modalDetails p {
  margin-bottom: 0.9rem; /* More spacing between paragraphs */
  color: #444; /* Softer text color */
  font-size: 1.05rem;
}

#modalDetails p strong {
  font-weight: bold;
  color: #333; /* Stronger color for emphasized text */
}

#modalDetails .select-plan {
  color: #007bff; /* A modern blue for interactive text */
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline; /* Indicate it's clickable */
  transition: color 0.2s ease;
}

#modalDetails .select-plan:hover {
  color: #0056b3; /* Darker blue on hover */
}

#modalDetails ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem; /* More spacing below the list */
}

#modalDetails ul li {
  padding: 0.4rem 0; /* More padding for list items */
  color: #555;
  font-size: 0.98rem;
  line-height: 1.5;
}

#modalDetails ul li:not(:last-child) {
  border-bottom: 1px dashed #eee; /* Subtle dashed separator between list items */
}
/* Style the booking form - Modern & Interactive Design */
.booking-form {
  margin-top: 2rem !important; /* Slightly more margin for separation */
  padding: 30px; /* Increased padding */
  border: none; /* Removed border, relying on shadow for depth */
  border-radius: 12px; /* More rounded corners */
  background: linear-gradient(145deg, #f0f2f5, #ffffff); /* Soft, light gradient background */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Subtle, modern shadow */
  transition: all 0.3s ease-in-out;
}

.booking-form:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); /* Slightly enhanced shadow on hover */
}

.booking-form label {
  display: block;
  margin-bottom: 0.7rem; /* Increased spacing */
  font-weight: 600; /* Bolder labels */
  color: #333; /* Darker text for readability */
  font-size: 1rem;
}

.booking-form select,
.booking-form input[type="text"],
.booking-form input[type="tel"] { /* Assuming inputs might be here too */
  padding: 0.9rem 1rem; /* Generous padding for inputs */
  width: 100%;
  margin-bottom: 1.2rem; /* Consistent spacing below inputs */
  border: 1px solid #c0c0c0; /* Light grey border */
  border-radius: 8px; /* Rounded input fields */
  font-size: 1.05rem;
  color: #444;
  background-color: #fcfcfc; /* Very light background for inputs */
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08); /* Subtle inner shadow */
}

.booking-form select:focus,
.booking-form input[type="text"]:focus,
.booking-form input[type="tel"]:focus {
  border-color: #007bff; /* Bright blue focus border */
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25); /* Blue glow on focus */
  outline: none;
  background-color: #ffffff;
}

.booking-form #paymentOptions {
  margin-bottom: 1.5rem; /* More spacing for payment options */
  padding-top: 0.5rem;
  border-top: 1px solid #eee; /* Subtle separator */
  padding-left: 0.5rem;
}

.booking-form #paymentOptions label {
  font-weight: normal; /* Normal weight for radio button labels */
  margin-left: 0.5rem;
  color: #555;
  cursor: pointer;
  display: inline-flex; /* Align radio button and text */
  align-items: center;
  margin-right: 1.5rem; /* Spacing between radio options */
}

.booking-form #paymentOptions input[type="radio"] {
    margin-right: 8px; /* Space between radio button and label text */
    /* Custom radio button styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: #fff;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.booking-form #paymentOptions input[type="radio"]:checked {
    border-color: #007bff; /* Blue border when checked */
    background-color: #007bff; /* Blue background when checked */
}

.booking-form #paymentOptions input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: white; /* White dot inside when checked */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.booking-form #hirePurchaseDetails {
  margin-left: 0; /* Remove left margin if it conflicts with new layout */
  padding-left: 1rem; /* Indent details with padding */
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  background-color: #e9f0f9; /* Light blue background for details */
  border-left: 4px solid #007bff; /* Blue accent border */
  border-radius: 6px;
  padding: 15px;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.booking-form #whatsappBookBtn {
  /* This button design ensures it stands out and is interactive */
  display: block;
  width: 100%;
  padding: 1.1rem;
  font-size: 1.15rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  /* WhatsApp green gradient for a distinct call to action */
  background: linear-gradient(45deg, #25D366, #128C7E);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  margin-top: 1.5rem; /* More margin above the button */
}

.booking-form #whatsappBookBtn:hover {
  background: linear-gradient(45deg, #128C7E, #25D366); /* Reverse gradient on hover */
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
  transform: translateY(-3px); /* More pronounced lift effect */
}

.booking-form #whatsappPreview {
  margin-top: 1rem !important;
  font-size: 0.95rem;
  color: #666 !important; /* Slightly darker grey for better readability */
  text-align: center;
  font-style: italic;
}

/* === Hero Section Buttons === */
.hero-buttons .btn {
  display: inline-block;
  margin: 10px 8px;
  padding: 14px 28px;
  font-size: 1.05em;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  background-color: rgba(230, 0, 35, 0.75); /* semi-transparent red */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: white;
  border: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-buttons .btn:hover {
  background-color: rgba(204, 0, 31, 0.85); /* slightly darker transparent red */
}

/* === Sell Your Car Modal Styles - Modern Interactive === */
.modal {
  display: none; /* Modal is hidden by default. JavaScript will change this to 'flex' to show it. */
  position: fixed; /* Stay in place */
  z-index: 2000; /* Sit on top of other content */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if content is too large */
  background-color: rgba(0, 0, 0, 0.7); /* Black overlay with opacity */
  
  /* Flexbox properties to center the modal content when it's displayed */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}

.modal-content.modern-modal {
  background: linear-gradient(145deg, #1a1a1a, #2c2c2c); /* Dark gradient background for the modal box */
  margin: auto; /* Centers the box with fixed position in older browsers */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); /* Stronger, darker shadow for depth */
  width: 90%;
  max-width: 500px; /* Limits the modal width on larger screens */
  position: relative; /* Needed for positioning the close button */
  animation: fadeInScale 0.3s ease-out forwards; /* Entry animation for a smooth appearance */
  border: 1px solid #333; /* Subtle border for definition */
}

.modal-title {
  font-size: 2.2rem;
  color: #ff0033; /* Vibrant red heading */
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Subtle text shadow */
}

.modal-subtitle {
  font-size: 0.95rem;
  color: #fdf9f9; /* Light grey for sub-heading text */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 300;
}

.modal .close-modal {
  color: #ff0033; /* Red color for the close 'x' icon */
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease-in-out; /* Smooth transition for hover effect */
}

.modal .close-modal:hover,
.modal .close-modal:focus {
  color: #e60023; /* Darker red on hover/focus */
  transform: rotate(90deg); /* Rotates the 'x' for an interactive close effect */
}

.form-group {
  margin-bottom: 20px; /* Spacing between form input groups */
}

.form-group label {
  display: block; /* Makes label take full width */
  color: #f0f0f0; /* Light text for labels on dark background */
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.modal input[type="text"],
.modal input[type="tel"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444; /* Darker border for inputs */
  border-radius: 8px;
  background-color: #333; /* Darker input background */
  color: #f8f8f8; /* Light text color for input values */
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions for focus effects */
}

.modal input[type="text"]::placeholder,
.modal input[type="tel"]::placeholder {
  color: #888; /* Softer placeholder text color */
}

.modal input[type="text"]:focus,
.modal input[type="tel"]:focus {
  border-color: #ff0033; /* Red border on focus */
  box-shadow: 0 0 0 3px rgba(255, 0, 51, 0.3); /* Red glow on focus */
  outline: none; /* Removes default outline */
  background-color: #3a3a3a; /* Slightly lighter input background on focus */
}

.photo-tip {
  background-color: rgba(255, 0, 51, 0.1); /* Light red background for the tip box */
  color: #ff0033; /* Red text for the tip */
  padding: 12px 15px;
  border-left: 4px solid #ff0033; /* Red border highlight on the left */
  border-radius: 6px;
  font-size: 0.9rem;
  margin-top: 25px;
  margin-bottom: 25px;
}

/* WhatsApp Button with Gradient */
.whatsapp-gradient-btn {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  background: linear-gradient(45deg, #25D366, #128C7E); /* WhatsApp green gradient */
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); /* Shadow to make it pop */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.whatsapp-gradient-btn:hover {
  background: linear-gradient(45deg, #128C7E, #25D366); /* Reverse gradient on hover */
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); /* Enhanced shadow on hover */
  transform: translateY(-2px); /* Slight lift effect on hover */
}

/* === Secondary button - Modern Interactive with Gradients === */
.btn.secondary {
  /* Using a red-to-darker-red gradient as the primary background */
  background: linear-gradient(45deg, #ff0033, #e60023);
  color: white; /* White text on red background */
  border: 1px solid #cc002a; /* Slightly darker red border */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* Subtle shadow for text depth */
  padding: 12px 25px; /* Adjust padding for desired size */
  border-radius: 8px; /* Slightly rounded corners */
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); /* Initial shadow */
}

.btn.secondary:hover {
  /* On hover, transition to a darker, more intense red gradient */
  background: linear-gradient(45deg, #e60023, #cc001f);
  color: #fff; /* Keep text white */
  border-color: #b3001a; /* Even darker border on hover */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* Enhanced text shadow on hover */
  transform: translateY(-2px); /* Lift effect on hover */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

/* Keyframe for modal entry animation */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* === Modal Styles - Modern & Interactive Design === */

/* Heading within modal content */
.modal-content h2 {
  margin-top: 0;
  margin-bottom: 25px; /* Increased spacing below heading */
  font-size: 2em; /* Slightly larger, more impactful heading */
  color: #333; /* Darker, more professional color */
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.5px; /* Slight letter spacing adjustment */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Very subtle text shadow */
}

/* Input fields within modal content */
.modal-content input {
  width: 100%;
  padding: 14px 18px; /* More generous padding */
  margin-bottom: 20px; /* Increased spacing below inputs */
  border-radius: 10px; /* Consistent border-radius */
  border: 1px solid #d0d0d0; /* Lighter, cleaner border */
  font-size: 1.05em; /* Slightly larger font size */
  background: #fdfdff; /* Very light, almost white background */
  color: #444; /* Darker text for input values */
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; /* Smooth transitions for focus */
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); /* Subtle inner shadow */
}

.modal-content input::placeholder {
  color: #999; /* Softer placeholder color */
}

.modal-content input:focus {
  border-color: #007bff; /* A clean blue highlight on focus */
  outline: none;
  background: #ffffff; /* Pure white background on focus */
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15); /* Blue glow on focus */
}

/* Close button for modals */
.close-modal {
  position: absolute;
  top: 18px; /* Adjusted position */
  right: 22px; /* Adjusted position */
  font-size: 28px; /* Larger close icon */
  font-weight: bold;
  color: #777; /* Softer grey color */
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
}

.close-modal:hover {
  color: #333; /* Darker grey on hover */
  transform: rotate(90deg); /* Subtle rotation on hover */
}

/* Photo tip text */
.photo-tip {
  font-size: 0.95em; /* Slightly larger font size */
  color: #666; /* Softer grey text */
  margin: 15px 0 25px; /* Increased top and bottom margin */
  text-align: center;
  line-height: 1.5;
  background-color: #f0f2f5; /* Light background for the tip */
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0; /* Light border */
}

/* WhatsApp Button */
.btn.whatsapp {
  background: linear-gradient(45deg, #25D366, #128C7E); /* Vibrant WhatsApp green gradient */
  color: white;
  border: none;
  width: 100%;
  padding: 15px 0; /* More padding for a larger button */
  font-size: 1.1em; /* Larger font size */
  font-weight: 600; /* Bolder text */
  border-radius: 10px; /* Consistent border-radius */
  transition: all 0.3s ease; /* Smooth transitions */
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); /* Subtle shadow */
}

.btn.whatsapp:hover {
  background: linear-gradient(45deg, #128C7E, #25D366); /* Reverse gradient on hover */
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5); /* Enhanced shadow on hover */
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* About Us Background - Modern & Interactive */
.about-us-bg {
  /* Retain background image, but enhance its presentation */
  background: url('images/logo.png') center center / cover no-repeat fixed; /* Added 'fixed' for subtle parallax-like effect on scroll */
  width: 100%;
  min-height: 100px; /* Increased minimum height for more impact */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px; /* More vertical padding */
  overflow: hidden; /* Ensures content stays within bounds */
}

.about-us-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Modern gradient overlay for depth and readability */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7), /* Darker at the top */
    rgba(0, 0, 0, 0.4) /* Lighter towards the bottom */
  );
  z-index: 0;
  /* Optional: Subtle animation for the overlay */
  animation: fadeInOverlay 1s ease-out forwards;
}
/* About Us Background - Modern & Interactive (Reduced Length) */
.about-us-bg {
  /* Retain background image, but enhance its presentation */
  background: url('images/logo.png') center center / cover no-repeat fixed; /* Added 'fixed' for subtle parallax-like effect on scroll */
  width: 100%;
  min-height: 220px; /* Reduced minimum height significantly */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px; /* Reduced vertical padding */
  overflow: hidden; /* Ensures content stays within bounds */
}

.about-us-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Modern gradient overlay for depth and readability */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7), /* Darker at the top */
    rgba(0, 0, 0, 0.4) /* Lighter towards the bottom */
  );
  z-index: 0;
  /* Optional: Subtle animation for the overlay */
  animation: fadeInOverlay 1s ease-out forwards;
}

/* About Us Content Section - Modern & Clean (Reduced Length) */
.about-us-section {
  position: relative;
  z-index: 1; /* Ensures content is above the overlay */
  max-width: 900px; /* Adjusted max-width slightly */
  margin: auto;
  text-align: center;
  color: #ffffff; /* Pure white text for crisp readability */
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); /* Stronger text shadow for contrast */
  opacity: 0; /* Hidden by default, will fade in */
  transform: translateY(20px); /* Slightly moved down for entry animation */
  animation: fadeInUp 0.8s ease-out 0.5s forwards; /* Entry animation with delay */
}

/* Styles for elements *inside* about-us-section */
.about-us-section h2 {
  font-size: 2.8rem; /* Reduced heading font size */
  font-weight: 800;
  margin-bottom: 15px; /* Reduced margin below heading */
  letter-spacing: -1px;
}

.about-us-section p {
  font-size: 1.1rem; /* Reduced paragraph font size */
  line-height: 1.6; /* Adjusted line height slightly for compactness */
  margin-bottom: 20px; /* Reduced margin below paragraph */
  font-weight: 300;
}

/* Keyframe Animations (remain unchanged) */
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments (also reduced proportionally) */
@media (max-width: 768px) {
  .about-us-bg {
    min-height: 180px; /* Further reduced min-height for tablets */
    padding: 30px 20px; /* Reduced padding */
    background-attachment: scroll; /* Disable fixed background on mobile for performance */
  }
  .about-us-section h2 {
    font-size: 2.2rem;
  }
  .about-us-section p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .about-us-bg {
    min-height: 150px; /* Further reduced min-height for mobile */
    padding: 25px 15px; /* Reduced padding */
  }
  .about-us-section h2 {
    font-size: 1.8rem;
  }
  .about-us-section p {
    font-size: 0.85rem;
  }
}
/* === Certifications Section === */
.certifications {
  background: #fcf8f8; /* Softer than pure white */
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #ddd;
}

.certifications h2 {
  font-size: 2rem;
  color: #c30000; /* Deep red */
  margin-bottom: 15px;
  text-transform: uppercase;
}

.cert-desc {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #444;
  font-size: 1rem;
}

.cert-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.cert-item {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  width: 200px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.cert-item img {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
  filter: grayscale(60%);
  transition: filter 0.3s ease;
}

.cert-item:hover img {
  filter: grayscale(0%);
}

.cert-item p {
  font-size: 0.95rem;
  color: #333;
}


/* Responsive */
@media (max-width: 768px) {
  .cert-item {
    width: 100%;
    max-width: 300px;
  }
}

/* FAQs Background - Modern & Interactive */
.faqs-bg {
  /* Retain background image, enhance with fixed attachment for subtle parallax */
  background: url('images/lx4.jpg') center center / cover no-repeat fixed;
  width: 100%;
  min-height: 220px; /* Consistent height with other section headers */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px; /* Consistent vertical padding */
  overflow: hidden;
}

.faqs-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Modern gradient overlay for depth and readability, perhaps a subtle blue/purple tint */
  background: linear-gradient(
    to bottom,
    rgba(20, 30, 48, 0.7), /* Darker deep blue at the top */
    rgba(20, 30, 48, 0.4) /* Lighter deep blue towards the bottom */
  );
  z-index: 0;
  animation: fadeInOverlay 1s ease-out forwards;
}
/* FAQs Content Section - Modern & Clean (Reduced Height) */
.faqs-section {
  position: relative;
  z-index: 1; /* Ensures content is above the overlay */
  max-width: 800px; /* Slightly reduced max-width for compactness */
  margin: auto;
  color: #ffffff; /* Pure white text for crisp readability */
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); /* Stronger text shadow for contrast */
  opacity: 0; /* Hidden by default, will fade in */
  transform: translateY(20px); /* Slightly moved down for entry animation */
  animation: fadeInUp 0.8s ease-out 0.5s forwards; /* Entry animation with delay */
  /* No direct height setting, but controlled by internal element spacing */
}

/* Styles for elements *inside* faqs-section (example for a title) */
.faqs-section h2 {
  font-size: 2.5rem; /* Reduced heading font size for compactness */
  font-weight: 800;
  margin-bottom: 10px; /* Reduced margin below heading */
  letter-spacing: -1px;
}

.faqs-section p { /* Optional: if there's an introductory paragraph */
  font-size: 1rem; /* Reduced paragraph font size */
  line-height: 1.5; /* Slightly reduced line height for compactness */
  margin-bottom: 15px; /* Reduced margin below paragraph */
  font-weight: 300;
}

/* Keyframe Animations (re-used for consistency) */
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments (consistent with other sections) */
@media (max-width: 768px) {
  /* These adjustments are for the .faqs-bg, already compact */
  .faqs-bg {
    min-height: 180px;
    padding: 30px 20px;
    background-attachment: scroll; /* Disable fixed background on mobile for performance */
  }
  /* Adjustments for .faqs-section content within responsive */
  .faqs-section h2 {
    font-size: 2rem; /* Adjusted for smaller screens */
    margin-bottom: 8px; /* Further reduced margin */
  }
  .faqs-section p {
    font-size: 0.9rem; /* Adjusted for smaller screens */
    margin-bottom: 10px; /* Further reduced margin */
  }
}

@media (max-width: 480px) {
  /* These adjustments are for the .faqs-bg, already compact */
  .faqs-bg {
    min-height: 150px;
    padding: 25px 15px;
  }
  /* Adjustments for .faqs-section content within responsive */
  .faqs-section h2 {
    font-size: 1.6rem; /* Adjusted for smallest screens */
    margin-bottom: 5px;
  }
  .faqs-section p {
    font-size: 0.8rem; /* Adjusted for smallest screens */
    margin-bottom: 8px;
  }
}

/* === Modern Car Dealership Footer === */
.modern-footer {
  background-color: #111;
  color: #ddd;
  font-size: 0.95rem;
  padding: 50px 20px 20px;
  line-height: 1.6;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-column h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #d10000;
  padding-bottom: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #f4f4f4;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
  color: #d10000;
}

.footer-column p {
  color: #ccc;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.85rem;
  color: #999;
}

.footer-bottom a {
  color: #f4f4f4;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #d10000;
}


/* === Targeted Mobile Header Fix (Navigation Inline) === */
@media (max-width: 768px) {
    /* Header adjustments */
    .header {
        padding: 0.5rem 1rem;
        flex-direction: row; /* Keep logo and nav in a row */
        align-items: center;
        justify-content: space-between; /* Space out logo and nav */
    }

    .header .logo {
        margin-bottom: 0; /* Remove bottom margin */
        height: 50px;
    }

    .header nav {
        margin-top: 0; /* Remove top margin */
    }

    .header nav ul {
        flex-direction: row; /* Make nav links horizontal */
        align-items: center;
    }

    .header nav ul li {
        margin: 0 0.5rem; /* Horizontal spacing for nav items */
    }

    .header nav a {
        font-size: 0.9rem;
    }

    /* Hero Adjustments (Keeping previous changes) */
    .hero {
        padding: 1rem;
        height: auto;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero .hero-buttons a {
        width: 90%;
        margin: 0.25rem 0;
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    /* Filter Section - Keep Horizontal on Mobile */
    .filter-section {
      flex-direction: row; /* Changed to row to keep horizontal*/
      flex-wrap: wrap; /* Allow items to wrap*/
      align-items: center; /* Changed to center to align items horizontally*/
      justify-content: center; /* Center items when they wrap*/
    }

    .filter-section input,
    .filter-section select,
    .filter-section .filter-btn {
      width: auto; /* Allow elements to size naturally instead of 100% width*/
      flex-grow: 1; /* Allow items to grow to fill available space*/
    }

    .price-filters {
      flex-direction: row; /* Changed to row to keep horizontal*/
      flex-wrap: wrap; /* Allow buttons to wrap*/
      align-items: center; /* Changed to center to align items horizontally*/
      justify-content: center; /* Center items when they wrap*/
    }

    .price-filters button {
        width: auto; /* Allow buttons to size naturally*/
        flex-grow: 1; /* Allow them to grow and share space*/
        padding: 8px 12px; /* Adjusted padding for better fit*/
        font-size: 0.85rem; /* Adjusted font size*/
    }
}
/* Add this at the end of your styles.css file */

@media (min-width: 992px) { /* Adjust breakpoint as needed for your definition of desktop */
  .services,
  .filter-section {
    max-width: none; /* Remove the maximum width constraint */
    margin-left: 0;  /* Remove left margin */
    margin-right: 0; /* Remove right margin */
    border-radius: 0; /* Optional: Remove border-radius if you want sharp corners for full width */
  }

  /* Optional: Adjust padding for content inside the full-width sections if needed */
  .services {
    padding: 50px 40px; /* Example: increase horizontal padding */
  }

  .filter-section {
    padding: 20px 40px; /* Example: increase horizontal padding */
  }

  .services-list {
    justify-content: space-around; /* Distribute items more evenly in full width */
  }

  .filter-section input[type="text"],
  .filter-section select {
    width: 250px; /* Adjust input width for better spacing in full width */
  }
}
/* === Testimonials Section - Modern & Interactive Design === */
.testimonials {
  background: linear-gradient(180deg, #eef4f9, #f8fbfd); /* Soft, light blue-grey gradient background */
  padding: 80px 20px; /* Increased padding for more prominence */
  text-align: center;
  overflow: hidden; /* Ensures shadows/transforms don't cause scrollbars */
}

.testimonials h2 {
  font-size: 2.8rem; /* Larger, more impactful heading */
  margin-bottom: 3.5rem; /* More space below heading */
  color: #2c3e50; /* Deep charcoal grey for heading */
  text-transform: capitalize; /* Capitalize instead of uppercase for a softer look */
  letter-spacing: -0.5px; /* Tighter letter spacing */
  font-weight: 800; /* Extra bold */
  position: relative; /* For pseudo-element underline */
  padding-bottom: 15px; /* Space for the underline */
}

.testimonials h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px; /* Width of the accent line */
  height: 4px;
  background-color: #007bff; /* Accent blue underline */
  border-radius: 2px;
}

.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px; /* Increased gap between testimonials */
  max-width: 1400px; /* Wider carousel for more items */
  margin: 0 auto;
}

.testimonial {
  background: #ffffff; /* Crisp white background for testimonial cards */
  padding: 35px 25px; /* More generous padding inside cards */
  border-radius: 15px; /* More rounded corners */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Softer, more pronounced shadow */
  max-width: 350px; /* Slightly wider cards */
  flex: 1 1 300px; /* Adjust flex basis */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease; /* Smooth hover transitions */
  border: 1px solid #e0e0e0; /* Subtle light grey border */
}

.testimonial:hover {
  transform: translateY(-10px); /* Lifts the card significantly on hover */
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.testimonial img {
  width: 110px; /* Slightly larger image */
  height: 110px; /* Maintain aspect ratio */
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px; /* More space below image */
  border: 4px solid #007bff; /* Modern blue border for images */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow around image */
}

.testimonial blockquote {
  font-style: normal; /* Removed italic for a cleaner look */
  font-size: 1.05rem; /* Slightly larger font size */
  line-height: 1.8; /* Increased line height for readability */
  color: #555;
  margin-bottom: 20px; /* More space below quote */
  position: relative; /* For quote marks */
  padding: 0 15px; /* Inner padding */
}

.testimonial blockquote::before {
  content: '“'; /* Opening quote mark */
  font-size: 3em;
  color: rgba(0, 123, 255, 0.2); /* Faded blue for quote mark */
  position: absolute;
  top: -15px;
  left: 0px;
  line-height: 1;
  font-family: serif;
}

.testimonial blockquote::after {
  content: '”'; /* Closing quote mark */
  font-size: 3em;
  color: rgba(0, 123, 255, 0.2); /* Faded blue for quote mark */
  position: absolute;
  bottom: -15px;
  right: 0px;
  line-height: 1;
  font-family: serif;
}

.testimonial strong {
  color: #222;
  font-size: 1.1rem; /* Slightly larger name */
  font-weight: 700;
  display: block; /* Ensures name is on its own line */
  margin-top: 10px; /* Space above name */
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }
  .testimonial {
    max-width: 400px; /* Allow cards to be wider on tablets */
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 15px;
  }
  .testimonials h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
  .testimonial-carousel {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .testimonial {
    max-width: 90%; /* Take up more width on small screens */
    flex-basis: auto;
  }
}

@media (max-width: 480px) {
  .testimonials h2 {
    font-size: 1.8rem;
  }
  .testimonial {
    padding: 25px 15px;
  }
  .testimonial img {
    width: 90px;
    height: 90px;
  }
  .testimonial blockquote {
    font-size: 0.95rem;
    padding: 0 10px;
  }
  .testimonial strong {
    font-size: 1rem;
  }
}


/* === Operating Hours Info Strip === */
.contact-strip {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
}

/* === WhatsApp Floating Icon === */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 999;
  display: block;
  width: 55px;
  height: 55px;
}

.floating-whatsapp img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.floating-whatsapp img:hover {
  transform: scale(1.1);
}

/* === Modern Footer Styling === */
.modern-footer {
  background: #111;
  color: #ddd;
  padding: 40px 20px 10px;
  font-size: 0.95rem;
}

.modern-footer a {
  color: #fff;
  text-decoration: none;
}

.modern-footer a:hover {
  text-decoration: underline;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.footer-top div {
  flex: 1 1 250px;
}

.footer-top h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-top ul {
  list-style: none;
  padding-left: 0;
}

.footer-top li {
  margin-bottom: 8px;
}

.footer-brands {
  text-align: center;
  margin-bottom: 30px;
}

.footer-brands h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.brand-logos img {
  width: 70px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.brand-logos img:hover {
  filter: grayscale(0%);
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid #444;
  font-size: 0.85rem;
  color: #999;
}
/* === Footer Brand Logos Section === */
.footer-brands {
  padding: 30px 20px;
  background-color: #1a1a1a;
  text-align: center;
}

.footer-brands h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.brand-logos img {
  width: 60px;
  height: auto;
  filter: grayscale(100%) brightness(0.9);
  transition: filter 0.3s ease, transform 0.3s ease;
  padding: 5px;
  background-color: #fff;
  border-radius: 10px;
}
.brand-logos img {
  filter: none;
  transition: transform 0.3s ease;
}

.loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fff url('images/loading.gif') no-repeat center center;
  z-index: 9999;
  display: none;
}

/* Contact Section Styles */
.contact-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 30px auto;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-intro {
  text-align: center;
  margin-bottom: 20px;
}

.contact-intro h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 15px;
}

.contact-intro p {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  text-align: center;
}

.method-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.method-card:hover {
  transform: translateY(-5px);
}

.method-card h3 {
  font-size: 1.5em;
  color: #d10000; /* Your brand color */
  margin-bottom: 15px;
}

.method-card p {
  color: #666;
  margin-bottom: 20px;
}

.action-btn {
  display: inline-block;
  background-color: #d10000; /* Your brand color */
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.action-btn:hover {
  background-color: #a00000; /* Darker shade on hover */
}

.whatsapp-chat-btn {
  background-color: #25D366;
}
.whatsapp-chat-btn:hover {
  background-color: #1DA851;
}

.whatsapp-submit-btn {
  background-color: #25D366;
}
.whatsapp-submit-btn:hover {
  background-color: #1DA851;
}

.contact-form-section {
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form-section h3 {
  font-size: 2em;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box; /* Ensures padding doesn't increase width */
}

.contact-form textarea {
  resize: vertical; /* Allow vertical resizing */
}

.contact-form .form-note {
  font-size: 0.9em;
  color: #777;
  text-align: center;
  margin-top: 15px;
}

.company-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.company-details .detail-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.company-details .detail-card h3 {
  font-size: 1.4em;
  color: #d10000; /* Your brand color */
  margin-bottom: 15px;
}

.company-details .detail-card ul {
  list-style: none;
  padding: 0;
}

.company-details .detail-card ul li {
  margin-bottom: 8px;
  color: #555;
}

.company-details .detail-card p {
  color: #555;
  margin-bottom: 8px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .contact-section {
    padding: 40px 15px;
  }

  .contact-intro h2 {
    font-size: 2em;
  }

  .contact-form-section {
    padding: 25px;
  }
}
.navbar .btn.loan {
  background-color: #007bff;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.navbar .btn.loan:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  overflow-y: auto;
  padding: 40px 15px;
}

.modal-content {
  background: #fff;
  margin: auto;
  padding: 30px;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  position: relative;
}

.modal-content h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.modal-content input {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.modal-content button {
  padding: 12px 18px;
  background: #d00;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.modal-content button:hover {
  background: #b00000;
}
