.car-rentals-form-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin: auto;
}

.car-rentals-form-section form {
  display: flex;
  width: 100%;
}

.car-rentals-form-section .input-group {
  flex: 1;
  margin: 10px;
}

.car-rentals-form-section .input-group label {
  display: block;
  margin-bottom: 5px;
}

.car-rentals-form-section .input-group input,
.car-rentals-form-section .input-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 16px;
}

.input-group .datepicker {
  width: 100%;
}

.trip-type {
  flex: 1;
  display: flex;
  margin: 10px;
}

.trip-button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  margin-right: 5px;
  cursor: pointer;
  font-weight: bold;
}

.trip-button.active,
.trip-button:hover {
  background-color: #0056b3;
}


.search_location_wrapper {
  position: relative;
}

.loading-results {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(15%);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease-in;
}

.loading-results.loading {
  opacity: 1;
  visibility: visible;
}

span.location_suggestion_err {
  position: absolute;
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 800;
  color: #e24;
  z-index: 1;
  margin-bottom: 5px;
  top: 100%;
}

ul.suggestionsList {
  margin: 0;
  list-style: none;
  position: absolute;
  background: #fff;
  padding: 5px 0px;
  box-shadow: 0 5px 5px #ccc;
  top: 99%;
  max-height: 200px;
  overflow: auto;
  width: 100%;
  z-index: 4;
}

ul.suggestionsList:empty {
  display: none;
}

ul.suggestionsList.hide {
  display: none;
}

ul.suggestionsList li {
  cursor: pointer;
  padding: 5px 10px;
}

ul.suggestionsList li:not(:last-child) {
  border-bottom: 1px solid #ccc;
}


ul.suggestionsList li:hover {
  background: #e9f1f4;
}

.explore-button-wrapper {
  display: flex;
  align-items: flex-end;
}

.explore-button {
  border-width: 2px;
  transition: all .3s ease-in;
  padding: 10px;
  width: 100%;
}

.datepicker__field {
  width: 3ch;
}

.flex-50 {
  flex: 0 0 50%;
}

.rental-card {
  display: flex;
  max-width: 1000px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: auto;
  margin-bottom: 15px;
}

.card-header {
  background-color: #e9f6ff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  justify-content: center;
}

.car-category {
  font-weight: bold;
  color: #0077cc;
  margin-bottom: 10px;
}

.car-icon {
  width: 100%;
  height: auto;
}

.car-details {
  padding: 20px;
  flex: 1;
}

.car-name {
  font-size: 24px;
  margin: 0;
}

.subtext {
  font-size: 14px;
  color: #888;
  margin: 4px 0 12px;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.specs li {
  display: flex;
  align-items: center;
  margin-right: 20px;
  font-size: 14px;
  color: #333;
}

.specs img {
  width: 18px;
  margin-right: 6px;
}

.location {
  font-size: 14px;
  color: #555;
  margin: 8px 0;
}

.features {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.features li {
  font-size: 14px;
  color: #28a745;
  margin: 4px 0;
}

.important-info {
  color: #0077cc;
  font-size: 14px;
  text-decoration: none;
}

.booking-summary {
  background-color: #f7fafc;
  padding: 20px;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.package {
  background-color: #ddeeff;
  color: #0056b3;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.price-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.price-total {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin-bottom: 12px;
}

.book-btn {
  background-color: #ff9900;
  color: #fff;
  border: none;
  padding: 12px 18px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.section-subtitle {
  color: #666;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Car Cards */
.car-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  background: white;
  position: relative;
}

.car-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.car-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}

.car-card:hover .car-img {
  transform: scale(1.05);
}

.car-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.car-details {
  padding: 1.5rem;
}

.car-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.car-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.car-spec {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: #666;
}

.car-spec i {
  color: var(--secondary-color);
}

.car-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.car-price span {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

/* Features Section */
.feature-box {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), #c13651);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 20px rgba(233, 69, 96, 0.2);
}

/* Services Section */
.service-item {
  display: flex;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.service-item:last-child {
  border-bottom: none;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #111;
  background: #f3f4f6;
  border-radius: 10px;
  flex-shrink: 0;
}

.service-content h5 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #111827;
}

.service-content p {
  font-size: 14px;
  color: #6b7280;
  margin: 4px 0 0;
  line-height: 1.5;
}

.brand-section {
    background: #f1f1f1;
    padding: 30px 20px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* LEFT HEADING */
.brand-heading h2 {
    font-size: 32px;
    margin: 0;
    font-weight: 700;
    color: #333;
}

.brand-heading span {
    font-weight: 400;
    color: #555;
    font-size: 24px;
}

/* RIGHT LOGOS */
.brand-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.brand-logo {
    background: #fff;
    padding: 15px 25px;
    border-radius: 6px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 100%;
    max-width: 120px;
}

.brand-logo img {
    max-height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .brand-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-logos {
        justify-content: space-evenly;
    }
}

@media (max-width: 380px) {
    
    .brand-logo {
        padding: 15px 15px;
        max-width: 100px;
        height: 60px;
    }
}

@media (min-width: 980px ){
    .brand-wrapper{
        flex-direction: column;
    }
}

.no-results-box {
    max-width: 650px;
    margin: 0px auto;
    padding: 32px 28px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid #f1f1f1;
}

.no-results-box h4 {
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}

.no-results-box p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 22px;
    line-height: 1.5;
}

@media screen and (max-width: 520px) {
  .car-rentals-form-section form {
    width: 100%;
    flex-flow: column wrap;
  }

  .input-group {
    margin: 0 0 10px;
  }

  .explore-button {
    width: 100%;
  }

  .input-group label {
    display: none;
  }

  input.has-error {
    margin-bottom: 20px;
  }

  span.location_suggestion_err {
    bottom: -10px;
  }

  .loading-results {
    transform: translateY(-50%);
  }
  
  .rental-card {
    flex-direction: column;
  }
  .card-header,
  .booking-summary{
    width: 100%;
  }
  .specs{
    gap: 15px;
    justify-content: space-between
  }
  .location{
    margin-bottom: 10px;
  }
}