/* Video Slider Styles */
.video-slider-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-slide.active {
  opacity: 1;
}

.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.video-content {
  text-align: center;
  color: white;
  z-index: 3;
  position: relative;
  padding: 40px;
  max-width: 600px;
}

.video-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

.video-slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
  border-color: white;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.video-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
}

.slider-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-nav-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slider-nav-btn i {
  font-size: 1.2rem;
  color: #1e293b;
}

.slider-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Video placeholder for when no video is available */
.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .video-slider-container {
    height: 400px;
  }

  .video-content h2 {
    font-size: 2rem;
  }

  .video-content p {
    font-size: 1rem;
  }

  .slider-nav-btn {
    width: 40px;
    height: 40px;
  }

  .video-slider-nav {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .video-slider-container {
    height: 300px;
  }

  .video-content h2 {
    font-size: 1.5rem;
  }

  .video-content p {
    font-size: 0.9rem;
  }

  .slider-nav-btn {
    width: 35px;
    height: 35px;
  }

  .slider-nav-btn i {
    font-size: 1rem;
  }
}

/* Animation for slide transitions */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50px);
  }
}

.video-slide.sliding-in {
  animation: slideIn 0.8s ease-in-out;
}

.video-slide.sliding-out {
  animation: slideOut 0.8s ease-in-out;
}
