/* ================= SECTION FULL WIDTH ================= */

.testimonials-section {
  width: 100%;
  padding: 120px 0;
  background: linear-gradient(135deg, #0a0f1f, #111827);
  color: #fff;
  overflow: hidden;
}

.testimonials-head {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-head h2 {
  font-size: 42px;
  font-weight: 700;
}

.testimonials-head p {
  opacity: 0.7;
  margin-top: 10px;
}

/* ================= REELS GRID ================= */

.reels-wrapper {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 60px;
  scroll-snap-type: x mandatory;
}

.reels-wrapper::-webkit-scrollbar {
  display: none;
}

/* ================= REEL CARD ================= */

.reel-card {
  min-width: 260px;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: 0.4s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.reel-card:hover {
  transform: scale(1.05);
}

.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: 0.4s ease;
}

.reel-card:hover video {
  filter: brightness(1);
}

/* Overlay */

.reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
  transition: 0.4s ease;
}

.play-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5865f2, #00ffc8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 15px 50px rgba(0,255,200,0.4);
  transition: 0.3s ease;
}

.reel-card:hover .play-icon {
  transform: scale(1.15);
}

/* ================= MODAL ================= */

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 400px;
  max-width: 90%;
}

.modal-content video {
  width: 100%;
  border-radius: 20px;
}

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