/* Video Slider Section */
.video-slider-section {
  padding: 4rem 0;
  background-color: #1a1a1a;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
text-shadow: 0 0 30px rgb(59, 209, 0);
}
.span-color-work-done{
  color: orange;
}

.section-header p {
  color: #a3a3a3;
  max-width: 600px;
  margin: 0 auto;
}

/* Slider Container */
.video-slider-container {
  position: relative;
  max-width: 90%;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 1rem;
}

.video-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Video Slides */
.video-slide {
  min-width: calc((100%/3) - 2rem);
  margin: 0 1rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  opacity: 0.4;
  transform: scale(0.9);
  transition: all 0.5s ease-in-out;
}

.video-slide.active {
  opacity: 1;
  transform: scale(1);
}

.video-slide video {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.video-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
}

.video-slide.active .video-content {
  transform: translateY(0);
}

.video-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.video-content p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Navigation Buttons */
.video-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.video-slider-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.video-prev-btn {
  left: 1rem;
  width: 80px;
  height: 80px;
}

.video-next-btn {
  right: 1rem;
  width: 80px;
  height: 80px;
}

/* Dots Navigation */
.video-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.video-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-dot.active {
  background: white;
  transform: scale(1.2);
}

/* full video start */
.Open-full-video {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.619);
  z-index: 1000;
}

.Open-full-video .open-full-video-underdiv {
  margin: auto;
  width: 50%;
  height: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px 0px;
  gap: 2vh;
  z-index: 1;
}

.Open-full-video .open-full-video-underdiv video {
  width: 100%;
  height: 400px;
  object-fit: contain;
 
}

.Open-full-video .open-full-video-underdiv .video-with-content {
  width: 100%;
  height: auto;
  display: flex;
  /* gap: 5px; */
  flex-direction: column;
  align-items: center;
  background-color: black;
  border: 2px solid white;
}

.close-video-btn {
  /* position: absolute; */
  top: 20px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
  color: wheat;
}

.button-div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  position: absolute;
  z-index: 5;
}

.video-length {
  color: white;
}

.button-div button {
  padding: 20px 30px;
  background-color: white;
  color: black;
  border: none;
  box-shadow: 0 0 10px 0 white;
  border-radius: 10px;
}

/* full video end */



/* Responsive Design */
@media (max-width: 768px) {
  .Open-full-video .open-full-video-underdiv{
    width: 80%;
  }
  .video-slide {
    min-width: calc(100% - 2rem);
  }

  .video-slide video {
    height: 300px;
  }

  .section-header h2 {
    font-size: 2rem;
  }
  .button-div button{
    padding-left:20px ;
    padding-right:20px ;
  }
  .video-prev-btn,.video-next-btn{
    width: 40px;
    height: 40px;
  }
  .Open-full-video .open-full-video-underdiv video {
    height: 450px;
 
  }
}