.video-slider-section {
  padding: 40px 0;
  position: relative;
}

.video-slider-wrapper {
  position: relative;
  max-width: 100%;
}

/* SLIDER */
.video-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-behavior: smooth;
}

/* THIN SCROLLBAR */
.video-slider::-webkit-scrollbar {
  height: 6px;
}
.video-slider::-webkit-scrollbar-track {
  background: #e5e5e5;
}
.video-slider::-webkit-scrollbar-thumb {
  background: #b5b5b5;
  border-radius: 10px;
}

/* CARD */
.video-card {
  min-width: 300px;
  height: 520px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.video-card {
  position: relative;
  cursor: pointer;
}

/* Play icon */
.video-card::after {
  content: "▶";
  position: absolute;
  bottom: 16px;
  right: 16px;

  width: 44px;
  height: 44px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.473);
  color: #01426a;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  padding-left: 2px;
  pointer-events: none;

  transition: transform 0.2s ease, background 0.2s ease;
}

/* Hover effect (desktop only) */
.video-card:hover::after {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.673);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT OVERLAY */
.video-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
}

.video-overlay span {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

.video-overlay strong {
  display: block;
  font-size: 18px;
  margin-top: 4px;
}

/* CONTROLS */
.video-controls {
  position: absolute;
  right: 0;
  bottom: -10px;
  display: flex;
  gap: 12px;
}

.nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #1a6fa5;
  background: #fff;
  color: #1a6fa5;
  font-size: 20px;
  cursor: pointer;
}

.nav-btn:hover {
  background: #1a6fa5;
  color: #fff;
}

/* IMPORTANT: remove absolute positioning so it doesn't sit on the cards */
.video-controls {
  position: static;
  display: flex;
  gap: 12px;
}

/* Footer row under the slider */
.video-slider-footer {
  display: flex;
  justify-content: flex-end; /* right aligned like your screenshot */
  margin-top: 16px; /* spacing below the images */
}

/* MODAL */

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.video-modal-content {
  position: relative;
  width: 80%;
  max-width: 900px;
  margin: 5% auto;
  background: #000;
  padding-top: 56.25%;
}

.video-modal iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

/* Mobile behavior */
@media (max-width: 768px) {
  .video-slider-footer {
    justify-content: center; /* center buttons on mobile */
    margin-top: 14px;
  }

  .nav-btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}
