body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.container,
.rental-container .image-container {
  margin: 0;
  padding: 0;
  width: 100vw;
  max-width: 100%;
}

.rental-container .image-container {
  position: relative;
  display: flex;
  justify-content: center;
  height: auto;
}

.rental-container .image-container img {
  width: 100%;
  height: 700px;
}

.rental-container form input,
.rental-container form select {
  border-radius: 10px !important;
  border: 1px solid #ccc !important;
}
/* Style for the H1 title */
.rental-container .form-title {
  position: absolute;
  top: 15%;
  text-align: center;
  font-weight: 700;
  font-size: 48px;
  font-family: Plus Jakarta Sans;
  color: #edb80d;
  z-index: 10;
}

.rental-container .centered-form {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 870.03px;
  /* height: 362px; */
  padding-top: 40px !important;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}

.rental-container .centered-form form {
  width: 100%;
}

.rental-container .row {
  justify-content: center;
}

.rental-container .custom-btn {
  background-color: #e5af0f;
  width: 248px;
  height: 38px;
  color: #fff;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto 0;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rental-container .custom-btn:hover {
  background-color: #d49c0e;
}

.about-renting-div .about-renting {
  width: 100%;
  position: relative;
  font-size: 48px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans";
  text-align: center;
  display: inline-block;
}

@media screen and (max-width: 1030px) {
  .rental-container .centered-form {
    padding: 20px;
  }

  .rental-container .custom-btn {
    width: 100%;
  }

  .rental-container .image-container img {
    max-width: 200%;
    width: 200%;
    height: 700px;
  }
}

@media screen and (max-width: 576px) {
  /* body,
  html {
    overflow-x: hidden;
  } */
  .rental-container .centered-form {
    height: 620px;
    margin-top: -2em;
  }

  .rental-container .image-container img {
    max-width: 800%;
    width: 500%;
    height: 992px;
  }

  .rental-container .img-fluid {
    margin-right: 2em;
  }

  .rental-container .form-title {
    top: 5%;
    left: 5%;
    text-align: left;
  }
}

.about-renting-div .justify-content-center {
  left: 10px;
  padding: 8px;
}

.about-renting-div .flip-card {
  perspective: 1000px;
  margin-bottom: 90px;
}

.about-renting-div .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.about-renting-div .flip-card:hover .flip-card-inner {
  transform: rotateX(180deg);
}

.about-renting-div .flip-card-front,
.about-renting-div .flip-card-back {
  position: absolute;
  width: 90%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.about-renting-div .flip-card-front {
  background-color: #f8f9fa;
}

.about-renting-div .flip-card-back {
  background-color: #343a40;
  color: white;
  transform: rotateX(180deg);
}

.about-renting-div .card-size {
  width: 350px;
  height: 250px;
}

.about-renting-div .card-container {
  padding-left: 145px;
  padding-right: 145px;
}

.about-renting-div .title-card {
  width: 278px;
  position: relative;
  font-size: 24px;
  font-family: "Plus Jakarta Sans";
  text-align: center;
  display: inline-block;
}

/* Responsive Styles */
@media only screen and (max-width: 1200px) {
  .about-renting-div .card-container {
    padding-left: 50px;
    padding-right: 50px;
  }

  .about-renting-div .title-card {
    font-size: 22px;
  }
}

@media only screen and (max-width: 992px) {
  .about-renting-div .card-container {
    padding: 0;
  }

  .about-renting-div .card-column {
    margin-bottom: 30px;
    right: 5em !important;
  }

  .about-renting-div .card-size {
    width: 350px;
    height: 250px;
  }

  .about-renting-div .title-card {
    font-size: 16px;
    margin-top: 10px;
    padding: 10px;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    overflow-wrap: break-word;
  }

  .about-renting-div .flip-card-front,
  .about-renting-div .flip-card-back {
    padding: 10px;
  }

  .about-renting-div .flip-card {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 769px) {
  .about-renting-div .card-container {
    padding: 0;
  }

  .about-renting-div .card-column {
    margin-bottom: 30px;
  }

  .about-renting-div .card-size {
    width: 350px;
    height: 250px;
  }

  .about-renting-div .title-card {
    font-size: 16px;
    margin-top: 10px;
    padding: 10px;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    overflow-wrap: break-word;
  }

  .about-renting-div .flip-card-front,
  .about-renting-div .flip-card-back {
    padding: 10px;
  }

  .about-renting-div .flip-card {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 576px) {
  .about-renting-div .card-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .about-renting-div .card-size {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: 10px;
  }

  .about-renting-div .card-column {
    flex: 1 1 300px;
    max-width: 350px;
    margin: 10px;
    width: 100%;
    margin-bottom: 20px;
  }

  .about-renting-div .flip-card {
    perspective: 1000px;
    width: 100%;
    display: flex;
    margin-bottom: 30px;
  }
}

/* here */
.blog-div .blog {
  font-size: 48px;
  font-family: "Plus Jakarta Sans";
  width: 100%;
  font-weight: 600;
  text-align: left;
  display: inline-block;
  margin-left: 88px;
}

.blog-div .card-hover {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-div .card-hover img {
  width: 100%;

  height: 100% !important;
  transition: transform 0.5s ease;
}

.blog-div .card-hover .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.blog-div .card-hover:hover img {
  transform: scale(1.1);
}

.blog-div .card-hover:hover .overlay {
  opacity: 1;
}
.result-car-rental .cards-container {
  grid-auto-rows: 1fr; 
}

.result-car-rental .card-car,
.result-car-rental .car-card {
  height: 100%;
  width: 100%;
  max-width: 406px;  
  margin: 10px auto;
  display: block;
}

.result-car-rental .card-content,
.result-car-rental .card-front,
.result-car-rental .card-back {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.result-car-rental .image-box {
  height: 150px;      
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;  
  background: transparent;
}

.result-car-rental .car-main-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.result-car-rental .title-wrap,
.result-car-rental .d-flex.justify-content-between.w-100.px-3.mb-2 {
  min-height: 56px;
}

.result-car-rental .features-inside {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  min-height: 64px;
  align-items: start;
}

.result-car-rental .features-inside .feature {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.result-car-rental .features-inside .icon-img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

.result-car-rental .price {
  margin-top: 12px;
  margin-bottom: 10px !important;
  text-align: center !important;
  color: #3582C0;
  font-weight: 700;
}

.result-car-rental .btn-select {
  margin-top: auto !important;
  width: 90% !important;
}
/* Car style */

/* .result-car-rental .cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 48px;
  justify-content: center;
  padding: 50px;
  font-family: "Plus Jakarta Sans";
}

.result-car-rental .card-car {
  width: 406px;
  height: 348px;
  margin: 10px;
  box-sizing: border-box;
  position: relative;
  border-radius: 10px;
  perspective: 1000px;
  transition: transform 0.8s ease;
}

.result-car-rental .card-content {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.result-car-rental .card-car:hover .card-content {
  transform: rotateY(180deg);
}

.result-car-rental .card-front,
.result-car-rental .card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.result-car-rental .card-front {
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
  transform: rotateY(0deg);
}

.result-car-rental .card-back {
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
  transform: rotateY(180deg);
}

.result-car-rental .images-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.result-car-rental .image-row {
  text-align: center;
  margin-top: 50%;
}

.result-car-rental .image-row img {
  width: 100px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.result-car-rental .image-row p {
  font-size: 18px;
  margin: 0;
}

.result-car-rental h2 {
  font-size: 36px;
  position: relative;
  margin-bottom: 10px;
}

.result-car-rental h4 {
  font-size: 16px;
  position: relative;
  margin-bottom: 20px;
}
/* 
.result-car-rental img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
} */

.result-car-rental .paragraph-container {
  position: relative;
  top: 20px;
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  justify-content: center;
  text-align: center;
  overflow-x: auto;
}

/* Styling for the Paragraphs */
.result-car-rental .paragraph-container p {
  margin: 0;
  padding-bottom: 17px;
  display: inline-block;
  font-size: 18px;
  white-space: nowrap;
} */

a {
  color: #000000;
}

@media screen and (max-width: 965px) {
  .result-car-rental .cards-container{
    place-items: center;
  }
  .shadow-sm {
  box-shadow: none !important;
}

.rounded {
  border-radius: 0 !important;
}
}.car-card {
  position: relative !important;
  width: 100% !important;
  max-width: 400px !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow:0 10px 24px rgba(0,0,0,0.1) !important;
  padding: 15px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: center !important;
  margin: auto !important;
}
.car-card-front{
  padding: 20px;
}
.car-card > img {
  width: 100% !important;
  height: auto !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  margin-bottom: 15px !important;
}
.car-card h3 {
  font-size: 20px !important;
  font-weight: bold !important;
  margin-bottom: 2px !important;
  color: #000 !important;
}

.car-card h4 {
  font-size: 14px !important;
  color: #666 !important;
  margin-bottom: 5px !important;
}

/* Fuel Type */
.car-card .fuel {
  font-size: 14px !important;
  color: #E5AF0F !important;
  margin-bottom: 10px !important;
}

/* Price */
.car-card .price {
  font-size: 18px !important;
  color: #3582C0 ;
  font-weight: bold !important;
  margin-bottom: 10px !important;
    text-align: center !important;
}

.car-card .btn-select {
  background: #E5AF0F ;
  color: #fff !important;
  padding: 10px 25px !important;
  border-radius: 8px !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-top: 10px !important;
  width: 90% !important;
  text-align: center !important;
}

.showPriceRental-button{
    background-color: #E5AF0F;
    color: white;
    border: none;
    border-radius: 9px;
    font-size: 15px;
    font-weight: bold;
    padding: 10px;
    width: 250px;
    margin-top: 10px; 
}
.features-inside {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 5px !important;
  margin-top: 10px !important;
  width: 100% !important;
  padding: 0 10px !important;
  flex-wrap: nowrap !important;
}

.feature {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 30px !important;
  font-size: 17px !important;
  color: #333 !important;
  line-height: 1.2 !important;
  overflow: hidden !important;
 
}
.feature span{
  font-size: 10px !important;
}
.card-option {
  width: 260px;
  min-height: 200px; 
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.card-option .card-body {
  padding-top: 50px; 
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}


.card-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card-option img {
  width: 100px;
  height: 65px;
  object-fit: contain;
  margin-top: 20px;
}
.gap-6rem {
  gap: 6rem;
}