#section-8 {
  padding: 40px 25px;
  background-color: var(--secondary-col);
}

.sec8-con {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.sec8-carousel-container {
  position: relative;
  width: 100%;
}

.sec8-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background-color: var(--secondary-col);
}

.sec8-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.sec8-carousel-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.sec8-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== SLIDER CONTROLS ===== */
.sec8-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.sec8-arrow-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.sec8-arrow-btn:hover {
  transform: scale(1.1);
}

.sec8-arrow-btn img {
  width: 24px;
  height: 24px;
}

.sec8-prev-btn img {
  transform: rotate(180deg);
}

.sec8-divider {
  width: 1px;
  height: 24px;
  background-color: var(--tertiary-col);
}

.sec8-count {
  font-size: 0.95rem;
  color: var(--secondary-col);
  font-weight: 500;
  min-width: 50px;
  text-align: center;
}

/* ===== TABLET & DESKTOP BREAKPOINT (1200px) ===== */
@media (max-width: 1200px) {
  #section-8 {
    padding: 30px 20px;
  }

  .sec8-carousel-wrapper {
    aspect-ratio: 16 / 9;
  }

  .sec8-slider-controls {
    gap: 15px;
    margin-top: 20px;
  }

  .sec8-arrow-btn img {
    width: 22px;
    height: 22px;
  }

  .sec8-count {
    font-size: 0.9rem;
  }
}

/* ===== TABLET BREAKPOINT (900px) ===== */
@media (max-width: 900px) {
  #section-8 {
    padding: 25px 15px;
  }

  .sec8-carousel-wrapper {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
  }

  .sec8-slider-controls {
    gap: 12px;
    margin-top: 18px;
  }

  .sec8-arrow-btn img {
    width: 20px;
    height: 20px;
  }

  .sec8-count {
    font-size: 0.85rem;
  }
}

/* ===== MOBILE BREAKPOINT (520px) ===== */
@media (max-width: 520px) {
  #section-8 {
    padding: 20px 12px;
  }

  .sec8-carousel-wrapper {
    aspect-ratio: 16 / 9;
    border-radius: 4px;
  }

  .sec8-slider-controls {
    gap: 10px;
    margin-top: 15px;
  }

  .sec8-arrow-btn {
    padding: 8px;
  }

  .sec8-arrow-btn img {
    width: 18px;
    height: 18px;
  }

  .sec8-divider {
    height: 20px;
  }

  .sec8-count {
    font-size: 0.8rem;
    min-width: 45px;
  }
}

/* ===== SMALL MOBILE BREAKPOINT (360px) ===== */
@media (max-width: 360px) {
  #section-8 {
    padding: 15px 10px;
  }

  .sec8-carousel-wrapper {
    aspect-ratio: 16 / 9;
  }

  .sec8-slider-controls {
    gap: 8px;
    margin-top: 12px;
  }

  .sec8-arrow-btn {
    padding: 6px;
  }

  .sec8-arrow-btn img {
    width: 16px;
    height: 16px;
  }

  .sec8-count {
    font-size: 0.75rem;
  }
}
