/* Swiper container layout */
.swiper-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Swiper slide */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 100%;
}

/* Ensure anchor or modal trigger fills slide and behaves like a block */
.swiper-slide > a,
.swiper-slide > div[data-bs-toggle] {
  display: flex;
  justify-content: center;
  align-items: stretch;
  text-decoration: none;
  height: 100%;
  width: 100%;
}

/* Card styling */
.car-card {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 20px;
  max-width: 240px;
  width: 100%;
  min-height: 220px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  box-sizing: border-box;
}

/* Hover effect */
.car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* Icon style */
.car-card i {
  font-size: 2rem;
  color: #ff5e3a;
  margin-bottom: 10px;
}

/* Title style */
.car-card h5 {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Description style */
.car-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
}

/* Swiper pagination */
.swiper-pagination {
  position: relative;
  margin-top: 30px;
  text-align: center;
  z-index: 1;
}

/* Customize pagination bullets */
.swiper-pagination-bullet {
  background-color: #ddd;
  opacity: 1;
  transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: #ff5e3a;
}