/* ──────────────────────────────────────────────────────────────
   testimonials.css — Video testimonials carousel + video modal
   (used on index.html; standalone, no dependency on landing.css)
   ────────────────────────────────────────────────────────────── */

.video-testimonials {
  padding: 60px 0 80px;
  background: #FFFFFF;
}
.vt-header {
  text-align: center;
  margin-bottom: 40px;
}

/* — Carousel — */
.vt-carousel {
  position: relative;
}
.vt-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 8px;
}
.vt-track::-webkit-scrollbar { display: none; }

.vt-card {
  flex: 0 0 calc((100% - 100px) / 6);
  min-width: 150px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #343130;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.vt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.vt-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.vt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.vt-card:hover .vt-thumb img { transform: scale(1.05); }
.vt-play-btn {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  background: rgba(212, 99, 26, .9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  transition: transform .25s ease, background .25s ease;
}
.vt-card:hover .vt-play-btn {
  transform: scale(1.1);
  background: rgba(212, 99, 26, 1);
}
.vt-info {
  padding: 12px 14px 14px;
  background: #343130;
}
.vt-name {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.vt-role {
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
  line-height: 1.3;
}

/* — Arrows — */
.vt-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #343130;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.vt-arrow:hover { background: #D4631A; color: #fff; }
.vt-arrow-prev { left: -14px; }
.vt-arrow-next { right: -14px; }

/* — Video Modal — */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.video-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.video-modal {
  position: relative;
  width: 90%;
  max-width: 900px;
}
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .8;
  transition: opacity .2s ease;
}
.video-modal-close:hover { opacity: 1; }
.video-modal-player {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.video-modal-player iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* — Responsive — */
@media (max-width: 1024px) {
  .vt-card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 600px) {
  .video-testimonials { padding: 40px 0 60px; }
  .vt-card { flex-basis: calc((100% - 20px) / 2); min-width: 140px; }
  .vt-play-btn { width: 32px; height: 32px; }
  .vt-info { padding: 10px 10px 12px; }
  .vt-name { font-size: .78rem; }
  .vt-role { font-size: .68rem; }
  .vt-arrow { display: none; } /* swipe on mobile */
}
