.container .swiper {
  width: 100% !important;
  padding: 50px 0;
}

.container .swiper-slide {
  position: relative;
  width: 200px;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  transition: 1s;
  user-select: none;
}

.container .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(130, 13, 13, 0.8), rgba(39, 8, 92, 0.8));
  mix-blend-mode: multiply;
  z-index: 1;
}

.container .swiper-slide img {
    width: auto;         /* Ensures the image keeps its original width unless it exceeds the slide's width */
    max-width: 100%;     /* Ensures the image width does not exceed the slide's width */
    height: auto;        /* Ensures the image keeps its original height unless it exceeds the slide's height */
    max-height: 100%;    /* Ensures the image height does not exceed the slide's height */
    object-fit: contain; /* Ensures the image is scaled to be as large as possible within the slide without cropping or stretching */
    transition: transform 1s ease, opacity 0.5s ease-in-out;
}

.container .swiper-slide p {
  position: absolute;
  left: 20px;
  bottom: 10px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 2px;
  z-index: 2;
  opacity: 0;
  transform: rotate(360deg) scale(0);
  transition: 0.8s;
  cursor: pointer;
}

.container .swiper-slide-active {
  position: relative;
  width: 350px;
  transition: 1s;
}

.container .swiper-slide-active::after {
  background: rgba(123, 123, 123, 0.4);
}

.container .swiper-slide-active img {
  transform: scale(1.1); /* Less scaled */
  object-position: 50% 0%;
}

.container .swiper-slide-active p {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

.container .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  transition: all 0.6s ease-in-out;
}

.container .swiper-pagination-bullet-active {
  width: 32px;
  background-color: #6f1223;
  border-radius: 14px;
}

