/* -----strat video section ---- */
.video-thumbnail-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.video-thumbnail-hover {
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: relative;
}

.video-thumbnail-hover::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: transparent;
  transition: all 0.4s ease-in-out;
}

.video-thumbnail-hover:hover::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(39, 116, 116, 0.76) 100%
  );
}

.video-thumbnail-hover img {
  width: 100%;
  height: auto;
  transition: all 0.4s ease-in-out;
}

.video-thumbnail-hover:hover img {
  transform: scale(1.1);
}

.video-play-btn {
  position: absolute;
  top: 40%;
  left: 45%;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-thumbnail-hover:hover .video-play-btn {
  opacity: 1;
}

.video-item {
  width: 100%;
  cursor: pointer;
  position: relative;
}

.video-thumbnail {
  max-width: 100%;
  height: auto;
  overflow: hidden;
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.video-modal .video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.video-modal iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: white;
  cursor: pointer;
  z-index: 999999;
}

.video-carousel-nav {
  display: none;
}

.video-carousel-dots {
  display: none;
}

.video-carousel-wrapper {
  position: relative;
}

.video-carousel-controls {
  display: flex;
  justify-content: end;
  margin: 10px;
}

.video-carousel-wrapper .video-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  width: 100%;
  padding: 0px 15px;
  top: 50%;
  z-index: 1;
  display: none;
  transform: translateY(-50%);
}

.video-carousel-wrapper:hover .video-carousel-controls {
  display: flex;
}

.video-carousel-btn {
  border: none;
  width: 40px;
  height: 40px;
  color: var(--light-color);
  padding: 5px 10px;
  border-radius: 10px;
  background-color: var(--primary-color);
  margin: 0px 5px;
}

.video-carousel-btn-icon {
  width: 100%;
  height: 100%;
}
.owl-nav {
  display: none;
}
.owl-dots {
  display: none;
}
@media (max-width: 768px) {
  .video-modal .video-modal-content {
    width: 95%;
  }

  .video-modal iframe {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .video-modal iframe {
    height: 200px;
  }
}
