.swiper {
  width: 100%;
  min-height: 400px !important; /* or whatever minimum height works for your layout */
  max-height: 100% !important;
  overflow-y: auto !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f8f8f8;
  padding: 20px;
  box-sizing: border-box;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.swiper-button-next,
.swiper-button-prev {
  top: var(--swiper-navigation-top-offset, 42%) !important;
  background-color: rgba(255, 255, 255, 0.6); /* semi-transparent white */
  border-radius: 35%;
  padding: 12px;
  width: 55px !important;
  height: 55px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 0.85);
}

.swiper-pagination-bullet {
  background: #666;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: #000;
  opacity: 1;
}

.swiper-toggle-image {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.swiper-toggle-image:hover {
  transform: scale(1.02);
}

.swiper-lazy-preloader {
 display: none !important;
}


.swiper-caption {
  margin-top: 12px;
  font-size: 16px;
  color: #333;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: 8px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.swiper-link {
  display: block;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #0073aa;
  text-align: center;
  text-decoration: none;
}

.swiper-link:hover {
  text-decoration: underline;
  color: #005177;
}

.swiper-slide {
  height: 100%;
}

.swiper-feedback-icon {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 55px;
  background-color: rgba(255, 255, 255, 0.6); /* semi-transparent white */
  border-radius: 35%; /* use 0 for square, or 35% for rounded square */
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.swiper-slide.show-pause .swiper-feedback-icon {
  background-image: url('icons/pause-svgrepo-com.svg');
  opacity: 1;
}

.swiper-slide.show-play .swiper-feedback-icon {
  background-image: url('icons/play-svgrepo-com.svg');
  opacity: 1;
}