/* Video Carousel Styles */
.video__area {
  background: #D5CCCA;
}

.video__carousel {
  margin-top: 50px;
}

.video__item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin: 15px;
}

.video__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video__content {
  position: relative;
}

.video__iframe {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.video__iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video__info {
  padding: 25px;
  background: #fff;
}

.video__info h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}

.video__info p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Owl Carousel Custom Styles */
.video__carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
}

.video__carousel .owl-prev,
.video__carousel .owl-next {
  position: absolute;
  width: 50px;
  height: 50px;
  background: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: all 0.3s ease;
}

.video__carousel .owl-prev:hover,
.video__carousel .owl-next:hover {
  background: #f8f9fa !important;
  transform: scale(1.1);
}

.video__carousel .owl-prev {
  left: -25px;
}

.video__carousel .owl-next {
  right: -25px;
}

.video__carousel .owl-prev i,
.video__carousel .owl-next i {
  color: #333;
  font-size: 18px;
}

.video__carousel .owl-dots {
  text-align: center;
  margin-top: 30px;
}

.video__carousel .owl-dot {
  width: 12px;
  height: 12px;
  background: #ddd !important;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.video__carousel .owl-dot.active {
  background: #333 !important;
  transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .video__carousel .owl-prev,
  .video__carousel .owl-next {
    width: 40px;
    height: 40px;
  }
  
  .video__carousel .owl-prev {
    left: -20px;
  }
  
  .video__carousel .owl-next {
    right: -20px;
  }
  
  .video__info {
    padding: 20px;
  }
  
  .video__info h4 {
    font-size: 16px;
  }
  
  .video__info p {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .video__carousel .owl-prev,
  .video__carousel .owl-next {
    display: none !important;
  }
  
  .video__item {
    margin: 10px 5px;
  }
}

/* Loading Animation */
.video__carousel.loading {
  position: relative;
  min-height: 300px;
}

.video__carousel.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
