.spater-service-wrapper {
  position: relative;
  width: 100%;
}
.spater-swiper {
  width: 100%;
  overflow: hidden;
}
.service-item {
  text-align: center;
}
.service-image img {
  width: 100%;
  height: 350px !important;
  object-fit: cover;
}
.service-title {
  font-size: 15px;
  font-weight: 300;
  color: #000;
  text-align: center;
  margin: 10px 50px;
}
.service-link-wrapper {
  text-decoration: none;
}

/* Footer: Progress bar and Arrows */
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding: 0 80px;
}
.progress-container {
  width: 80%;
  position: relative;
  height: 2px;
  background: #eee;
}
.swiper-pagination-progressbar {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 75% !important;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #000 !important;
}

.navigation-container {
  display: flex;
  gap: 12px;
}
.nav-btn {
  width: 35px;
  height: 35px;
  background: #edf2ea; /* Light greenish as per image */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  color: #333;
}
.nav-btn:hover {
  background: #dee5da;
}

/* video gallery */
.sp-video-gallery-wrapper {
  text-align: center;
  background: #000;
  padding: 60px 20px;
  color: #fff;
}

.gallery-main-title {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Main Display */
.main-video-display {
  max-width: 900px;
  margin: 0 auto 40px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.video-placeholder {
  position: relative;
  cursor: pointer;
}

.video-placeholder img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.video-overlay-title {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  font-size: 18px;
  color: #ccc;
}

/* Pulsing Play Button */
.play-button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.play-button {
  width: 70px;
  height: 70px;
  background: #fff;
  color: #ff6600; /* Screenshot er moto orange play icon */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  z-index: 2;
}

.play-button-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: sp-pulse 2s infinite;
}

@keyframes sp-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Thumbs Carousel */
.sp-video-thumbs {
  max-width: 600px;
  margin: 0 auto;
}

.thumb-item {
  cursor: pointer;
  opacity: 0.5;
  transition: 0.3s;
}

.thumb-item.swiper-slide-thumb-active,
.thumb-item:hover {
  opacity: 1;
}

.thumb-item img {
  width: 100px;
  height: 60px;
  object-fit: cover;
}
.sp-video-thumbs .swiper-wrapper {
  display: flex;
  justify-content: center; /* Slide kom thakle thumbnails center-e thakbe */
}

/* Slide jodi slide korar dorkar na hoy (watchOverflow handles this) */
.sp-video-thumbs.swiper-initialized:not(.swiper-pointer-events) .swiper-wrapper {
  justify-content: center;
}
/* Active Slide Highlight */
.swiper-slide.is-active-thumb {
  border: 2px solid #e50914; /* Netflix Red */
  transform: scale(1.05);
  z-index: 50;
}

/* YouTube Iframe Full Screen Fix */
#hero-youtube-player iframe {
  width: 100vw !important;
  height: 56.25vw !important; /* 16:9 ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 ratio */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; /* যাতে ভিডিওর উপর ক্লিক না লাগে */
}

/* Container overflow fix */
#hero-video-container {
  pointer-events: none;
}
#hero-youtube-player {
  height: 100vh !important;
}

/* YouTube Iframe Full Screen Fix */
#hero-youtube-player iframe {
  width: 100vw !important;
  height: 56.25vw !important; /* 16:9 ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 ratio */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; /* যাতে ভিডিওর উপর ক্লিক না লাগে */
}

/* Container overflow fix */
#hero-video-container {
  pointer-events: none;
}
#hero-youtube-player {
  height: 100vh !important;
}

#hero-video-container {
  overflow: hidden !important;
  background: #000 !important;
}

#hero-youtube-player {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

#hero-youtube-player iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  object-fit: cover !important;
}

#hero-youtube-player {
  top: 50% !important;
  left: 50% !important;
  width: 100vw !important;
  height: 100vh !important;
  transform: translate(-50%, -50%) scale(1.1) !important;
  min-width: 177.78% !important;
  min-height: 56.25vw !important;
}
