.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 360px;
    height: 200px;
}

@media only screen and (min-width: 768px) {
    .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 720px;
        height: 405px;
    }
}

.swiper-slide img {
    display: block;
    width: 100%;
}

/* Controls wrapper */
.swiper-controls {
  position: absolute;
  width: 100% !important; /* Limit to viewport width */
  scrollbar-width: none; /* hide scrollbar (Firefox) */
  bottom: 0;
  display: flex;
  flex-direction: row-reverse;
}

.swiper-pagination {  
  display: flex !important;
  width: 87% !important; /* Limit to viewport width */
  overflow-x: auto; /* allow scroll */
  align-items: center;
  justify-content: flex-start; /* align from left */
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 14px 18px;
  bottom: 0 !important;
}

/* hide scrollbar (Chrome) */
.swiper-pagination::-webkit-scrollbar {
  display: none;
}

/* Bullets */
.swiper-pagination-bullet {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #fff;
  width: 18px;
  border-radius: 4px;
}

/* Play/Pause Button */
.swiper-playpause {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.swiper-playpause:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
