section.testimonials {
    background-color: #f4f6f5;
    padding: 1rem 0rem 3rem;
}

.slider-wrapper {
  position: relative;
  max-width: 1120px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-container {
  width: 100%;
  overflow: hidden;
}

.video-track {
  display: flex;
  gap: 30px;
  transition: transform 0.4s ease;
}

.play-btn {
  position: absolute;
  width: 60px;
  height: 60px;
  background-image: url(/assets-mbn/videos/thumb/play_btn.avif);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  transition: 0.3s ease;
}

@media (hover: hover) {
  .video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* EXACTLY 4 videos visible */
.video-card {
  flex: 0 0 calc((100% - 90px) / 4);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.video-card video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* OUTSIDE ARROWS STYLE */
.nav-arrow {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid #2f6f6a;
  background: transparent;
  color: #2f6f6a;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Position them outside */
.nav-arrow.left {
  left: -70px;
}

.nav-arrow.right {
  right: -70px;
}

.nav-arrow:hover {
  background: #2f6f6a;
  color: #fff;
}

/* caraousal images css */
.testimonial {
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
}
.carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 40px;
}

.carousel img {
    min-width: 220px;
    width: 100%;
    object-fit: cover;
    max-width: 320px;
    border-radius: 16px;
    flex-shrink: 0;
}

/* Hide scrollbar */
.carousel::-webkit-scrollbar {
  display: none;
}

/* Arrows */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.prev { left: 0; }
.next { right: 0; }
.panel {
  display: none;
}
.price-panel {
  display: none !important;
}

.price-panel.active-bottle {
  display: block !important;
}

/* Responsive fix */
@media (max-width: 1200px) {
  .nav-arrow.left {
    left: -40px;
  }

  .nav-arrow.right {
    right: -40px;
  }
}
@media (min-width: 1140px) and (max-width: 1140px) {
  .nav-arrow.left {
    left: -65px;
  }

  .nav-arrow.right {
    right: -65px;
  }

 .video-card {
    flex: 0 0 calc((100% - -242px) / 4);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

  .video-card video {
    width: 100%;
    height: 490px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    max-width: 11580px;
  }

  .slider-wrapper {
    position: relative;
    max-width: 970px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 1024px) {
    .slider-wrapper {
    position: relative;
    max-width: 809px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
  .video-card {
    flex: 0 0 calc((100% - 60px) / 3);
  }
  .nav-arrow.right {
    right: -66px;
}
.nav-arrow.left {
    left: -66px;
}
}

@media (min-width: 769px) and (max-width: 850px) {
    .slider-wrapper {
    position: relative;
    max-width: 690px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
    .video-track {
    display: flex;
    gap: 40px;
    transition: transform 0.4s ease;
    width: 985px;
}
}
@media (max-width: 768px) {
    .slider-wrapper {
       flex-direction: column;
    }
.video-card video {
    max-width: 350px;
    height: 500px;
    display: block;
    margin: 0 auto;
}
  .video-track {
    gap: 30px;
  }

  .video-card {
    flex: 0 0 100%;
  }

  .nav-arrow {
    display: none;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
  }

  .slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: 0.3s ease;
  }

  .slider-dots span.active {
    background: #2f6f6a;
    width: 18px;
    border-radius: 10px;
  }
.play-btn {
    width: 56px;
    height: 56px;
    background-size: cover;
}

  .play-btn::after {
    border-left: 14px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
  }
}

@media (max-width: 480px) {
  .video-card {
    flex: 0 0 100%;
  }
.video-track {
    display: flex;
    gap: 0px;
    transition: transform 0.4s ease;
}

}
@media (max-width: 320px) {
.video-card video {
    max-width: 278px;
    height: 430px;
    display: block;
    margin: 0 auto;
}
}

