@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Syncopate:wght@400;700&display=swap");

:root {
  --primary-color: #f5b754;
  --primary-color-dark: #d6a04a;
  --text-dark: #15191d;
  --text-light: #737373;
  --extra-light: #e5e5e5;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Syncopate", sans-serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  font-size: 3.25rem;
  font-weight: 700;
  font-family: var(--header-font);
  color: var(--text-dark);
  letter-spacing: -5px;
  line-height: 4.25rem;
}


.fleet-title {
  display: block;
  font-weight: bold;
  font-size: 2.5rem;
  margin-bottom: 5px; /* Reduces gap between spans */
}

.fleet-subtitle {
  display: inline-block;
  font-size: 1.8rem;
  white-space: nowrap; /* Ensures it stays on one line */
}

/* ✅ Responsive Adjustments */
@media (max-width: 768px) {
  .section__header {
    font-size: 1.5rem;
    line-height: 1.1; /* Further reduces space on small screens */
  }

  .fleet-title {
    font-size: 2rem;
    margin-bottom: 3px; /* Adjust gap for smaller screens */
  }

  .fleet-subtitle {
    font-size: 1.5rem;
    white-space: normal; /* Allows wrapping if needed */
  }
}




.btn {
  padding: 1rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--text-dark);
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  color: var(--text-dark);
  background-color: var(--primary-color);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

/* Ensure the header has a relative position */
header {
  position: relative;
  width: 100%;
  height: 100vh; /* Make sure header takes full viewport height */
  overflow: hidden; /* Prevent any extra scrolling issues */
}

/* Background Animation Limited to Header */
.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1; /* Keeps it behind header content */
  transition: background-image 1s ease-in-out;
}

/* Ensure header content is above the background */
.header__container {
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  #header-text {
      font-size: 28px; /* Adjusted for better readability on mobile */
      padding: 0 10px; /* Added some padding to avoid text touching edges */
      padding-top: 70px;
  }
}


nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
}

.nav__logo a {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--header-font);
  color: var(--white);
  letter-spacing: -2px;
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--primary-color);
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(100%);
}

.nav__links a {
  font-weight: 500;
  color: var(--white);
}

.nav__links a:hover {
  color: var(--text-dark);
}

.nav__btn {
  display: flex;
  align-items: center; /* Centers items */
}

.nav__btn a {
  margin-bottom: 10px; /* Adds space between elements */
}
@media (max-width: 768px) { 
  .nav__btn {
    display: none; /* Hides the entire nav__btn section on mobile */
  }
}


.header__container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 1rem;
}

.header__container h1 {
  max-width: 750px;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--header-font);
  color: var(--text-dark);
  letter-spacing: -5px;
  line-height: 5rem;
  text-align: center;
}

.header__container form {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 4rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  background-color: var(--white);
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.1);
}

.header__container .input__group {
  flex: 1 0 170px;
  display: grid;
  gap: 10px;
}

.header__container label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.header__container input {
  width: 100%;
  outline: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-light);
}

.header__container input::placeholder {
  color: var(--text-light);
}

.header__container .btn {
  padding: 15px 17px;
  font-size: 1.5rem;
}

.header__container img {
  max-width: 1050px;
  margin-inline: auto;
  filter: drop-shadow(5px 20px 20px rgba(0, 0, 0, 0.5));
}

.header__container::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 50%;
  /* background-color: var(--primary-color); */
  transform: translateY(50%) skewY(-4deg);
  z-index: -1;
}

.scroll__down {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  font-size: 1.5rem;
  padding: 8px 5px;
  color: var(--text-dark);
  background-color: var(--primary-color);
  border-radius: 2rem;
  border: 8px solid var(--white);
}




.range__container .section__header {
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.range__grid {
  display: grid;
  gap: 1rem;
}

.range__card {
  position: relative;
  isolation: isolate;
  max-width: 600px;
  margin-inline: auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.range__card img {
  transition: 0.3s;
}

.range__card:hover img {
  transform: scale(1.1);
}

.range__details {
  position: absolute;
  text-transform: uppercase;
  inset: 0;
  padding: 2rem;
  background-image: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.75)
  );
}

.range__details h4 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--white);
}
.range__details p {
  color: white;
  font-size: 16px; /* Adjust paragraph size for readability */
  line-height: 1.5;
}

.range__details a {
  display: inline-block;
  padding: 0px 6px;
  font-size: 1.5rem;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 100%;
}

.range__details a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Responsive Heading for wide range of vehicles*/ 
@media (max-width: 768px) {
  .range__details h4 {
    font-size: 1.5rem; /* Smaller font for tablets */
  }
}
@media (max-width: 480px) {
  .range__details h4 {
    font-size: 1.2rem; /* Even smaller font for mobile */
  }
}
@media (max-width: 768px) {
  .range__details p {
    font-size: 14px; /* Reduce text size on smaller screens */
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .range__details p {
    font-size: 12px; /* Further reduce for mobile screens */
    line-height: 1.3;
  }
}

.location__container {
  display: grid;
  gap: 2rem 0;
  overflow: hidden;
}

.location__image img {
  max-width: 500px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.location__content .section__header {
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.location__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.select__container {
  padding-top: 5rem;
  margin-bottom: 5rem;
  background-image: url("assets/select-bg.png");
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

.select__container .section__header {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.swiper {
  width: 100%;
}

.swiper-slide {
  max-width: 900px;
}

.car-name {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 10px;
  color: #000000; /* Neon Blue-Green Color */
  font-family: 'Orbitron', sans-serif; /* Robotic Font */
  text-transform: uppercase; /* Make it all uppercase for a techy look */
  letter-spacing: 2px; /* Add some spacing between letters */
}



.select__card img {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0px 20px 20px rgba(0, 0, 0, 0.5));
}

.select__info {
  max-width: 600px;
  margin-inline: auto;
  display: none;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
}

.select__card.show__info .select__info {
  display: flex;
}

.select__info__card {
  text-align: center;
}

.select__info__card > span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 5px 15px;
  font-size: 2.5rem;
  color: var(--text-dark);
  background-color: var(--white);
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.select__info__card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.select__info__card h4 span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.select__form {
  max-width: 750px;
  margin-inline: auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  background-color: var(--white);
  transform: translateY(50%);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.select__price {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--header-font);
  font-weight: 600;
  color: var(--text-light);
}

.select__price span {
  font-size: 3rem;
  line-height: 3rem;
  color: var(--text-dark);
}

.select__price span:not(#select-price) {
  font-weight: 400;
}

.select__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.select__btns .btn {
  min-width: 135px;
}

.select__btns .btn:nth-child(2) {
  color: var(--white);
  background-color: var(--primary-color);
}

.story__container .section__header {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.story__grid {
  display: grid;
  gap: 4rem 1rem;
}

.story__date {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--text-light);
}

.story__date span {
  padding-right: 10px;
  font-size: 3rem;
  font-weight: 500;
  line-height: 2.5rem;
  border-right: 2px solid var(--text-light);
}

.story__date div p {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--text-light);
}

.story__card h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-family: var(--header-font);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 2rem;
  color: var(--text-dark);
}

.story__card p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.banner__container {
  padding-block: 5rem;
  overflow: hidden;
}

.banner__wrapper {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8rem;

  animation: scroll 45s linear infinite;
}

.banner__wrapper img {
  height: 100px;
}

/* At your service css */

/* ✅ Ensuring responsiveness for "At Your Service" section */
#at-your-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* Allows stacking on smaller screens */
  padding: 20px;
  gap: 20px; /* Space between image and text */
}

/* ✅ Image Styling */
#at-your-service .location__image {
  flex: 1;
  max-width: 40%; /* Takes up half the space on large screens */
}

#at-your-service .location__image img {
  width: 50%; /* Makes the image responsive */
  height: auto;
  border-radius: 10px; /* Optional: adds rounded corners */
}

/* ✅ Text Content Styling */
#at-your-service .location__content {
  flex: 1;
  max-width: 50%; /* Takes up half the space on large screens */
}

#at-your-service .section__header {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Animation for the entire UL */
.location__container ul {
  list-style: none;
  padding: 0;
  opacity: 0; /* Initially hidden */
  animation: fadeInUp 1.5s ease-in-out forwards 0.8s; /* Animation for the entire list */
}

/* Animation for each LI */
.location__container ul li {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #444;
  padding-left: 18px;
  position: relative;
  opacity: 0; /* Initially hidden */
  animation: fadeInListItem 0.8s ease-in-out forwards;
}

/* Checkmark styling */
.location__container ul li::before {
  content: "✔";
  color: black;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Animation for the whole UL */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Animation for each individual LI item */
@keyframes fadeInListItem {
  from {
      opacity: 0;
      transform: translateX(-50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* Delay animations for each list item */
.location__container ul li:nth-child(1) {
  animation-delay: 1s;
}

.location__container ul li:nth-child(2) {
  animation-delay: 1.2s;
}

.location__container ul li:nth-child(3) {
  animation-delay: 1.4s;
}

.location__container ul li:nth-child(4) {
  animation-delay: 1.6s;
}

.location__container ul li:nth-child(5) {
  animation-delay: 1.8s;
}

.location__container ul li:nth-child(6) {
  animation-delay: 2s;
}



/* Our Fleet Section - Scoped Styles */
/* Our Fleet Section - White Background, Yellow Checkmarks, Light Yellow Hover Animation */
.fleet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-image: url(assets/header-bg.png); /* White background */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Slight shadow for card effect */
  font-family: 'Arial', sans-serif;
}

/* Content Styling */
.fleet__content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.fleet__content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.fleet__content p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Fleet List Styling */
.fleet__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

/* Fleet Category Styling */
.fleet__category {
  position: relative;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  width: 22%;
  transition: transform 0.3s ease-in-out, border 0.3s ease;
  border: 2px solid transparent;
  opacity: 0;
  animation: fadeIn 0.6s forwards;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  overflow: hidden;
}

/* Background Overlay */
.fleet__category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Lightened overlay for visibility */
  z-index: 1;
  border-radius: 8px;
  transition: background 0.3s ease-in-out;
}

/* Ensure text is above overlay */
.fleet__category * {
  position: relative;
  z-index: 2;
}

/* Apply background images */
/* .fleet-sedan {
  background-image: url('assets/story-1.jpg');
}

.fleet-suv {
  background-image: url('assets/story-2.jpg');
}

.fleet-limo {
  background-image: url('assets/story-3.jpg');
}

.fleet-van {
  background-image: url('assets/BUS.jpeg');
} */

/* Fade-in Animation */
@keyframes fadeIn {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Delay Animation for Each Card */
.fleet__category:nth-child(1) { animation-delay: 0.2s; }
.fleet__category:nth-child(2) { animation-delay: 0.4s; }
.fleet__category:nth-child(3) { animation-delay: 0.6s; }
.fleet__category:nth-child(4) { animation-delay: 0.8s; }

/* Text Styling */
.fleet__category h3 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Better readability */
}

.fleet__category ul {
  list-style: none;
  padding: 0;
  display: flex; /* Arrange items in a row */
  justify-content: flex-start; /* Align items to the left */
  flex-wrap: wrap; /* Allows wrapping if space is not enough */
  gap: 15px; /* Space between items */
  text-align: left; /* Ensure text starts from left */
}

.fleet__category ul li {
  font-size: 1rem;
  color: #fff;
  padding-left: 25px; /* Space for checkmark */
  position: relative;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  text-align: left; /* Ensure text aligns to left */
}

/* Adjust the position of the checkmark */
.fleet__category ul li::before {
  content: "✔";
  color: #ffeb3b; /* Yellow checkmark */
  position: absolute;
  left: 0; /* Checkmark on the left */
  top: 2px;
}



/* Hover Effects */
.fleet__category:hover {
  border: 2px solid #ffeb3b;
  transform: translateY(-5px);
}

/* Zoom-in Image Animation */
.fleet__category::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transition: transform 0.5s ease-in-out;
}

/* Assign Background Images */
.fleet-sedan::after {
  background-image: url('assets/story-1.jpg');
}

.fleet-suv::after {
  background-image: url('assets/mercedes-g-wagen.jpg');
}

.fleet-limo::after {
  background-image: url('assets/2018-chrysler-300-C-Kendall-Dodge-1024x519.jpg');
}

.fleet-van::after {
  background-image: url('assets/BUS.jpeg');
}

/* Apply Hover Effect */
.fleet__category:hover::after {
  transform: scale(1.1); /* Slight zoom-in */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .fleet__list {
      justify-content: space-around;
  }
  .fleet__category {
      width: 45%;
  }
}

@media (max-width: 768px) {
  .fleet__list {
      flex-direction: column;
      align-items: center;
  }

  .fleet__category {
      width: 100%;
      margin-bottom: 20px;
  }

  .fleet__content h2 {
      font-size: 1.8rem;
  }
}



/* our services  */

/* Services Section */
.services {
  text-align: center;
  padding: 50px 20px;
  background: #f8f8f8;
}

/* Header Styling */
.service-header h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 10px;
}

.service-header h3 {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Service List */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Service Card */
.service-card {
  position: relative;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Background Images */
.airport { background-image: url("assets/Airport\ Tranfers.png"); }
.corporate { background-image: url("assets/Event\ &\ Corporate.png"); }
.all-day { background-image: url("assets/All\ day\ Hire.png"); }
.wedding { background-image: url("assets/Wedding\ Car\ Service.png"); }

/* Dark Overlay */
.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 20px;
  text-align: center;
  transition: background 0.3s ease;
}

/* Hover Effects */
.service-card:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.service-card:hover .service-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.service-overlay h3 {
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 15px; /* Adjust the value as needed */
}

.service-overlay p {
  font-size: 1rem;
  max-width: 250px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  margin-top: 0; /* Ensure there's no extra space above the paragraph */
}


/* Font Fix */
body {
  font-family: 'Arial', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .service-header h2 {
    font-size: 2rem;
  }
  
  .service-header h3 {
    font-size: 1rem;
  }

  .service-overlay h3 {
    font-size: 1.3rem;
  }

  .service-overlay p {
    font-size: 0.9rem;
  }
}



/* Make the layout responsive */
@media (max-width: 768px) {
  .service-list {
      grid-template-columns: 1fr; /* One card per row on small screens */
  }
  .hide-on-mobile {
    display: none !important;
}
}





/* form css */
/* Ensuring styles are scoped only to the car rental form */
.car-rental-form-section {
  padding: 50px 0;
  background-color: #fff; /* White background for the form section */
}

.car-rental-form-section .section__container {
  max-width: 1200px; /* Wider container */
  margin: 0 auto;
  padding: 30px;
}

.car-rental-form-section .form__content {
  text-align: center;
}

.car-rental-form-section .section__header {
  font-size: 42px;
  color: #000;
  margin-bottom: 20px;
  border-bottom: 2px solid #f1c40f; /* Yellow underline */
  padding-bottom: 10px;
}

.car-rental-form-section .form__details {
  margin-top: 30px;
}

.car-rental-form-section .form-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.car-rental-form-section .form-column {
  flex: 1;
}

.car-rental-form-section .form-group {
  margin-bottom: 15px;
  margin-top: 20px;
}

.car-rental-form-section label {
  display: block;
  font-size: 14px;
  color: #000;
  margin-bottom: 5px;
}

.car-rental-form-section input,
.car-rental-form-section select,
.car-rental-form-section textarea {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f9f9f9;
}

.car-rental-form-section input:focus,
.car-rental-form-section select:focus,
.car-rental-form-section textarea:focus {
  border-color: #f1c40f;
  box-shadow: 0 0 5px rgba(241, 196, 15, 0.5); /* Yellow glow */
  outline: none;
}

.car-rental-form-section textarea {
  resize: none;
}

.car-rental-form-section .form-footer {
  text-align: center;
  margin-top: 20px;
}

.car-rental-form-section .btn-submit {
  width: 200px;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #f1c40f; /* Yellow button */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.car-rental-form-section .btn-submit:hover {
  background-color: #d4ac0d; /* Darker yellow on hover */
}

.car-rental-form-section .section-header {
  font-size: 18px;
  color: #333;
  margin-top: 20px;
  border-left: 5px solid #f1c40f; /* Yellow line for sections */
  padding-left: 10px;
}

.download__image {
  display: flex;
  position: relative;
  isolation: isolate;
  height: 100%;
}

.download__image img {
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 400px;
}

@media (max-width: 768px) {
  .car-rental-form-section .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .car-rental-form-section .form-column {
    flex: 1 1 100%;
  }

  .car-rental-form-section .form__container {
    padding: 20px;
  }

  .car-rental-form-section h1 {
    font-size: 20px;
  }
    
  .icon-yellow {
    width: 24px; /* Adjust size as needed */
    height: 24px;
    margin-right: 10px;
    filter: brightness(0) saturate(100%) invert(8%) sepia(36%) saturate(2800%) hue-rotate(175deg) brightness(90%) contrast(110%);
  }
  .download__image {
    display: block;
    position: relative;
    isolation: isolate;
    height: 50%;
  }
  .download__image img {
    display: block;
    position: relative;
    bottom: 100px;
    left: 65%;
    transform: translateX(-50%);
    max-width: 300px;
  }

  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    
  }


  #at-your-service {
    flex-direction: column;
    padding: 50px 20px;
  }

  #at-your-service .location__image {
    display: none; /* Hide image on mobile */
  }

  #at-your-service .location__content {
    max-width: 100%;
    text-align: left; /* Keep text aligned to the left */
  }

  #at-your-service .section__header, 
  #at-your-service h3 {
    text-align: left;
  }

  #at-your-service p {
    text-align: left;
  }
}





/* end of form css */

@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 4rem));
  }
}

.download {
  position: relative;
  isolation: isolate;
  padding-inline: 1rem;
  overflow: hidden;
}

.download::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(50% - 5rem);
  background-color: var(--text-dark);
  z-index: -1;
}

.download__container {
  padding: 0 1rem;
  display: grid;
  background-color: var(--primary-color);
  border-radius: 1rem;
}

.download__content {
  padding-block: 5rem;
}

.download__content .section__header {
  margin-bottom: 2rem;
  text-align: center;
}

.download__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.download__links img {
  max-width: 150px;
}



.news {
  background-color: var(--text-dark);
}

.news__container {
  padding-bottom: 0;
  display: grid;
  gap: 2rem;
}

.news__container .section__header {
  font-size: 2.5rem;
  line-height: 3.25rem;
  letter-spacing: -2px;
  color: var(--white);
  text-align: center;
}

.news__container form {
  width: 100%;
  max-width: 450px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news__container input {
  width: 100%;
  outline: none;
  border: none;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--white);
  background-color: transparent;
  border-bottom: 2px solid var(--text-light);
}

.news__container .btn {
  padding: 10p 12px;
  font-size: 1.5rem;
  background-color: var(--primary-color);
}

footer {
  background-color: var(--text-dark);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
  border-bottom: 1px solid var(--text-light);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-family: var(--header-font);
  color: var(--white);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  color: var(--text-light);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__socials a {
  padding: 8px 12px;
  font-size: 1.25rem;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  border-radius: 100%;
}

.footer__socials a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}
/* General Container */
.why-choose-us-container {
  background-color: #f8f9fa;
  padding: 50px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: auto;
}

/* Header Style */
.header h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 30px;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.feature-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
  font-size: 1.5rem;
  color: #2b2b2b;
  margin-bottom: 15px;
}

.feature-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Call to Action */
.cta {
  text-align: center;
  margin-top: 40px;
}

.cta p {
  font-size: 1.2rem;
  color: #2b2b2b;
  font-weight: 500;
  background-color: #d4ac0d;
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  width: 100%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta p:hover {
  background-color: #b8760c;
}



@media only screen and (max-width: 600px) {
  .story__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .icon-yellow {
    width: 24px; /* Adjust size as needed */
    height: 24px;
    margin-right: 10px;
    filter: brightness(0) saturate(100%) invert(8%) sepia(36%) saturate(2800%) hue-rotate(175deg) brightness(90%) contrast(110%);
  }
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .section__header {
    font-size: 2.75rem;
    font-weight: 600;
}
.header__container h1 {
 
  font-size: 3rem;
  font-weight: 700;
 
  line-height: 4rem;
  
}
.download__image {
  display: flex;
  position: relative;
  isolation: isolate;
  height: 100%;
}

.download__image img {
  display: block;
  position: relative;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 250px;
}
.contact-item p {
  font-size: 23px;
  font-weight: 400;
  color: #333; /* Adjust text color as needed */
  margin: 0;
}


}


@media only screen and (width > 768px) {
  nav {
    position: static;
    padding: 2rem 1rem 0;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
  }

  .nav__logo a {
    color: var(--text-dark);
    position: relative; /* Required to position the pseudo-element */
    text-decoration: none; /* Remove underline if present */
  }
  
  .nav__logo a::after {
    content: "";
    display: block;
    width: 100%; /* Full width of the text */
    height: 3px; /* Adjust thickness of the line */
    background-color: rgba(238, 185, 17, 1); /* Line color in RGBA */
    position: absolute;
    bottom: -3px; /* Adjust distance from the text */
    left: 0;
    transform: scaleX(0); /* Initially hidden */
    transform-origin: left;
    transition: transform 0.3s ease-in-out; /* Smooth animation */
  }
  
  .nav__logo a:hover::after {
    transform: scaleX(1); /* Show the line on hover */
  }
  
  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    width: fit-content;
    flex-direction: row;
    background-color: transparent;
    transform: none;
  }

  .nav__links a {
    color: var(--text-dark);
  }

  .nav__links a:hover {
    color: var(--primary-color);
  }

  .nav__btn {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
  }

  .nav__btn .btn {
    color: var(--text-dark);
    background-color: var(--primary-color);
  }

  .range__grid {
    grid-template-columns: repeat(3, 3fr);
  }

  .location__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .location__image {
    grid-area: 1/2/2/3;
  }

  .select__form {
    justify-content: space-between;
  }

  .story__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .download__container {
    margin-top: 10rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .download__content {
    max-width: 500px;
    margin-left: auto;
  }

  .download__content .section__header {
    max-width: 500px;
    text-align: left;
  }

  .download__links {
    justify-content: flex-start;
  }

  
  .contact-details {
    margin-top: 20px;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .icon-yellow {
    width: 24px; /* Adjust size as needed */
    height: 24px;
    margin-right: 10px;
    filter: brightness(0) saturate(100%) invert(8%) sepia(36%) saturate(2800%) hue-rotate(175deg) brightness(90%) contrast(110%);
  }
  
  .contact-item p {
    font-size: 36px;
    color: #333; /* Adjust text color as needed */
    margin: 0;
  }
  




  .news__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .news__container .section__header {
    text-align: left;
  }

  .news__container form {
    margin-inline-end: unset;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width > 1024px) {
  .range__grid {
    gap: 1.5rem;
  }

  .range__details {
    padding: 1rem;
  }

  .story__grid {
    padding: 1.5rem;
  }
}

