.hero {
  height: 50vh;
  background-image: linear-gradient(
      rgba(45, 92, 132, 0.5),
      rgba(45, 92, 132, 0.5)
    ),
    url('https://images.unsplash.com/photo-1568536434670-3f6a190210a6?q=80&w=2071&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-content {
  color: white;
}

.hero-content p {
  max-width: 700px;
  font-size: 20px;
}

.cars {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 2em;
}

.cars-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  background-color: white;
}

.car-card {
  width: 350px;
  height: 450px;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  margin-bottom: 20px;
  background-color: whitesmoke;
}

.car-img-container {
  height: 60%;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.car-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.car-details {
  padding: 0 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  height: 30%;
}

.car-title {
  font-size: 1.5em;
  padding: 20px 15px 0;
}

.d-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.car-capacity,
.car-baggage {
  display: block;
  margin-bottom: 8px;
  font-size: 1em;
  padding: 7px;
}

.btn {
  padding: 10px 20px;
  font-size: 1em;
  color: #fff;
  background-color: #f39c12;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  margin-top: 10px;
  margin-right: 10px; /* Adjusted margin-right */
}

.btn:hover {
  background-color: #e67e22;
}
