/* =============================== VIDEO OVERLAY =============================== */
.ci-video-wrap {
  position: relative;
  overflow: hidden;
}
.ci-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #000;
}
.ci-video-wrap video::-webkit-media-controls,
.ci-video-wrap video::-moz-media-controls,
.ci-video-wrap video::-ms-media-controls {
  display: none !important;
}
.ci-playbtn {
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #FF2600;
  border: 0;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(255, 38, 0, 0.28);
  transition: transform .2s ease, opacity .25s ease;
}
.ci-playbtn::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 30px solid #fff;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 4px;
}
.ci-playbtn > * {
  display: none !important;
}
.ci-playbtn:hover {
  transform: translate(-50%, -50%) scale(1.06);
}
.ci-playbtn.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* =============================== LOGOS MARQUEE =============================== */
#logos-marquee {
  --lm-gap: 16px;
  --lm-speed: 120s;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 14px;
  background: transparent;
}
#logos-marquee .ci-track {
  display: inline-flex;
  align-items: center;
  gap: var(--lm-gap);
  white-space: nowrap;
  animation: ci-scroll var(--lm-speed) linear infinite;
  will-change: transform;
}
#logos-marquee .ci-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#logos-marquee .ci-item img {
  height: 150px;
  width: auto;
  object-fit: contain;
  margin-inline: auto;
  transition: transform .4s ease;
}
#logos-marquee .ci-item:hover img {
  transform: scale(1.05);
}
#logos-marquee .ci-item h5 {
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.2;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
#logos-marquee .ci-item:hover h5 {
  opacity: 1;
  transform: translateY(0);
}
@keyframes ci-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
#logos-marquee:hover .ci-track {
  animation-play-state: paused;
}
@media (max-width: 768px) {
  #logos-marquee .ci-item img {
    height: 130px;
  }
}
@media (max-width: 480px) {
  #logos-marquee .ci-item img {
    height: 120px;
  }
}

/* Enable horizontal swipe on mobile for logos marquee */
#logos-marquee {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  scrollbar-width: none;
}
#logos-marquee::-webkit-scrollbar {
  display: none;
}
