/* Video Testimonials Section */

.video-testimonials-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 9, 13, 0) 0%, rgba(20, 22, 30, 0.45) 50%, rgba(8, 9, 13, 0) 100%);
  padding: 5rem 0;
}

.video-carousel-wrapper {
  position: relative;
  margin-top: 2.5rem;
  padding: 0 0.5rem;
}

.video-track-container {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: 1rem 0.5rem 1.5rem 0.5rem;
}

.video-track-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.video-track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.video-card {
  flex: 0 0 290px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  background: #000;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.testimonial-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Custom Play Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.75) 100%);
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
  pointer-events: auto;
}

.video-overlay.playing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-badge {
  align-self: flex-start;
  background: rgba(8, 9, 13, 0.8);
  border: 1px solid var(--border-gold);
  color: var(--primary-light);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.video-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: none;
  color: #0b0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.video-overlay:hover .video-play-btn {
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(245, 158, 11, 0.7);
}

.video-caption {
  color: #ffffff;
}

.video-caption-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-pure);
}

.video-caption-desc {
  font-size: 0.78rem;
  color: #d1d5db;
}

/* Video Section Navigation Controls */
.video-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

.video-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.video-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.video-dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--gold-gradient);
}

.video-arrows {
  display: flex;
  gap: 0.75rem;
}

.video-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.video-btn:hover {
  background: var(--primary-color);
  color: var(--text-inverse);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .video-card {
    flex: 0 0 250px;
  }

  .video-play-btn {
    width: 52px;
    height: 52px;
  }

  .video-play-btn svg {
    width: 20px;
    height: 20px;
  }
}

