section.testimonials {
    background-color: #eff9f8;
    padding-bottom: 50px;
    padding-top: 30px;
}
.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);
  /* background: #3d6df2;   */
  /* border-radius: 50%; */
  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;
}

/* Triangle icon */
/* .play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 16px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
} */
@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;
}

/* 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;
}
  .nav-arrow {
    /* display: none; */
  }
}
@media (max-width: 320px) {
.video-card video {
    max-width: 278px;
    height: 430px;
    display: block;
    margin: 0 auto;
}
}

