.swiper {
  margin-top: 60px;
  width: 100%;
  max-width: 500px;
  perspective: 1200px;
}

.swiper-slide {
  width: 80vw;
  max-width: 300px;
  height: 75vw;
  max-height: 400px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.swiper-slide-active .card {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
}

.card-face.front img,
.card-face.back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-face.back {
  transform: rotateY(180deg);
}

.swiper-pagination {
  margin-top: 20px;
  text-align: center;
}

@media (max-width: 1024px) {
  .swiper {
    max-width: 800px;
  }
}

@media (max-width: 576px) {
  .swiper-slide {
    width: 90vw;
    height: 90vw;
  }
}
