/* ========== CAROUSEL CONTAINER ========== */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease-in-out;
  justify-content: center;
  align-items: stretch;
}

/* ========== INDIVIDUAL SLIDE ========== */
.car-card {
  flex: 0 0 30%;
  max-width: 30%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* ========== RESPONSIVE WIDTHS ========== */
@media (max-width: 1024px) {
  .car-card {
    flex: 0 0 40%;
    max-width: 40%;
  }
}

@media (max-width: 768px) {
  .car-card {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

/* ========== CAR IMAGE ========== */
.car-image {
  background: #f6efe4;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-image img {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
}

/* ========== TEXT AREA ========== */
.car-details {
  padding: 20px;
  text-align: center;
  color: #7C8893;
}

.car-details h3 {
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

/* ========== ROW LAYOUT ========== */
.info-row.three-cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  padding: 0 10px;
  font-size: 13px;
}

/* Explicit styling for column labels */
.info-row .left,
.info-row .middle,
.info-row .right {
  width: 33%;
  box-sizing: border-box;
  text-align: left;
  color: #7C8893;
}
/* ========== PICKUP / DROP ========== */


.info-row .pickup,
.info-row .drop,
.info-row .middle {
  width: 33%;
  box-sizing: border-box;
}

/* Stack label and value vertically */
.pickup,
.drop {
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* Font sizes as requested */
.pickup .label,
.drop .label {
  font-size: 10px;
  color: #7C8893;
  margin-bottom: 2px;
}

.pickup .value,
.drop .value {
  font-size: 13px;
  font-weight: 400;
  color: #7C8893;
}

/* Center the arrow vertically in the middle column */
.divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.exchange-icon {
  width: 24px;
  height: 24px;
  fill: #C0C0C0;
  margin-top:15px;
}

/* ========== DIVIDERS ========== */
.divider {
  height: 1px;
  background-color: #e8e8e8; /* soft and light gray */
  margin: 15px 0;
  border: none;
}

/* ========== BUTTON ========== */
.know-more {
  background: #1E2059;
  color: white;
  text-align: center;
  padding: 12px 0;
  font-weight: bold;
  cursor: pointer;
}

.know-more:hover {
  background: #15173f;
  color: white;
}

/* ========== ARROWS ========== */
.carousel-arrow {
  
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #f3f3f3;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.carousel-arrow:hover {
  opacity: 1;
}

/* Hide arrow if disabled */
.carousel-arrow.disabled {
  display: none !important;
}
