/* Card Styling */
.card-list .card-item {
  height: auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-list .card-item:hover {
  transform: translateY(-12px);
  cursor: pointer;
}

.card-item .card {
  text-align: center;
  padding: 10px;
}

.card-img img {
  width: 100%;
  height: auto;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.card-item:hover .card-img img {
  transform: scale(1.05);
}

.card h3 {
  font-weight: 700;
  font-size: 1.25rem;
  color: #521138;
  text-align: start;
}
.card h5 {
  font-weight: 700;
  font-size: 1rem;
  color: #521138;
  text-align: start;
}

.card p {
  font-size: 17px;
  font-weight: 400;
  font-family: "Quicksand", sans-serif;
  text-align: start;
  line-height: 1;
}

/* Swiper Pagination */
.slider-wrapper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #521138;
  margin-top: 30px;
}

/* Swiper Navigation Buttons */
.slider-wrapper .swiper-slide-button {
  color: #fff;
  margin-top: -55px;
  transition: color 0.3s ease;
}

.slider-wrapper .swiper-slide-button:hover {
  color: #521138;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  color: #fff;
  background-color: #521138;
  padding: 10px 14px;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  background-color: #fff;
  color: #521138;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .slider-wrapper {
    margin: 0 10px 40px;
  }

  .card h3,
  .card h6 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.95rem;
  }
}

/* ----------------------------------- */
