/* Video Section Scroll and Hover Effects */

/* Enhanced Scroll Effect for Video Section */
.video_section_banner_one {
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1 !important;
  display: block !important;
  visibility: visible !important;
}

/* Parallax background removed */

/* Override original CSS that causes image overflow */
.video_section_banner_one .img_videonslier img {
  transform: none !important;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Enhanced hover effects for video slider images */
.img_videonslier {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img_videonslier::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 97, 0, 0.1) 0%, 
    rgba(255, 131, 48, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 15px;
}

.img_videonslier::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

/* Hover effects for video slider images */
.img_videonslier:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(255, 97, 0, 0.3),
    0 8px 25px rgba(0, 0, 0, 0.15);
}

.img_videonslier:hover::before {
  opacity: 1;
}

.img_videonslier:hover::after {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
}

.img_videonslier img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none !important;
}

.img_videonslier:hover img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.1);
}

/* Enhanced scroll-triggered animations */
.video_section_banner_one .heading {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video_section_banner_one .heading .join {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video_section_banner_one .heading .star {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.video_section_banner_one .heading .star::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(255, 97, 0, 0.1) 0%, 
    rgba(255, 131, 48, 0.1) 100%);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.video_section_banner_one:hover .heading .star::after {
  opacity: 1;
}

/* Enhanced button hover effects */
.video_section_banner_one .join_now {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video_section_banner_one .join_now::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 50%, 
    transparent 100%);
  transition: left 0.6s ease;
}

.video_section_banner_one .join_now:hover::before {
  left: 100%;
}

.video_section_banner_one .join_now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 97, 0, 0.4);
}

/* Smooth scroll reveal animation */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animations when section comes into view */
.video_section_banner_one.animate .col-md-5 {
  animation: slideInFromLeft 0.8s ease-out;
}

.video_section_banner_one.animate .col-md-7 {
  animation: slideInFromRight 0.8s ease-out;
}

.video_section_banner_one.animate .heading {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.video_section_banner_one.animate .join_now {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Enhanced owl carousel navigation */
.video_slider.owl-carousel .owl-nav button {
  background: rgba(255, 97, 0, 0.1);
  border: 2px solid rgba(255, 97, 0, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: #ff6100;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.video_slider.owl-carousel .owl-nav button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 97, 0, 0.1) 0%, 
    rgba(255, 131, 48, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.video_slider.owl-carousel .owl-nav button:hover {
  background: rgba(255, 97, 0, 0.2);
  border-color: #ff6100;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 97, 0, 0.3);
}

.video_slider.owl-carousel .owl-nav button:hover::before {
  opacity: 1;
}

/* Enhanced dots */
.video_slider.owl-carousel .owl-dots .owl-dot {
  background: rgba(255, 97, 0, 0.3);
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.video_slider.owl-carousel .owl-dots .owl-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #ff6100;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.video_slider.owl-carousel .owl-dots .owl-dot.active,
.video_slider.owl-carousel .owl-dots .owl-dot:hover {
  background: #ff6100;
  transform: scale(1.2);
}

.video_slider.owl-carousel .owl-dots .owl-dot.active::before,
.video_slider.owl-carousel .owl-dots .owl-dot:hover::before {
  width: 20px;
  height: 20px;
  background: rgba(255, 97, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .img_videonslier:hover {
    transform: translateY(-4px) scale(1.02);
  }
  
  .video_slider.owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .video_slider.owl-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .img_videonslier:hover {
    transform: translateY(-2px) scale(1.01);
  }
  
  .video_slider.owl-carousel .owl-nav button {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }
  
  .video_slider.owl-carousel .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
  }
  
  /* Ensure images stay contained on mobile */
  .video_section_banner_one .img_videonslier img {
    transform: none !important;
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}
