.video-section {
  padding: 60px 20px;
  text-align: center;
  color: #333;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  background: #e8f5e9;
}
.video-section h2 {
  font-size: 45px;
  margin-bottom: 40px;
  font-weight: 600;
  color: #222;
}
.video-card p,
.video-text {
  font-size: 18px;
  font-weight: 500;padding:20px 0;
}
.video-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 0 0 60px;
}
.video-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card p {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  padding: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  margin: 0;
  z-index: 10;
}
.video-section .swiper {
  width: 100%;
  height: 80vh;
  padding-bottom: 40px;
  overflow: visible;
}
.video-section .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.video-text {
  color: #000;
  padding: 22px 0px 0px;
  font-size: 18px;
}
.video-section .swiper-button-next,
.video-section .swiper-button-prev {
  color: #fff;
  background: rgba(67, 173, 219, 0.8);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: background 0.3s, transform 0.2s;
  display: none;
}
.video-section .swiper-button-next:hover,
.video-section .swiper-button-prev:hover {
  background: #007aff;
  transform: scale(1.1);
}
.video-section .swiper-button-next:after,
.video-section .swiper-button-prev:after {
  font-size: 18px;
}
.video-section .swiper-pagination {
  position: absolute;
  bottom: 60px;
  padding: 0;
  z-index: 20;
}
.video-section .swiper-pagination-bullet {
  background: #999;
  opacity: 0.7;
  width: 8px;
  height: 8px;
  margin: 0 6px;

}
.video-section .swiper-pagination-bullet-active {
  background: #28a745;
  opacity: 1;
  width: 8px;
  height: 8px;
}
@media (min-width: 769px) {
  .video-section .swiper {
    height: auto;
    padding-bottom: 0px;
  }
  .video-card {

    border-radius: 10px;
  }
  .video-section .swiper-button-next,
  .video-section .swiper-button-prev {
    display: block;
  }
  .video-section .swiper-slide {
    transition: opacity 0.3s;
  }
  .video-section .swiper-pagination {
    bottom: 30px;
  }
}
@media (max-width: 768px) {
  .video-section {
    padding: 40px 20px;
  }

  .video-section h2 {
    font-size: 40px;
    margin-bottom: 50px;
  }
  .video-card p {
    font-size: 0.9rem;
    padding: 8px;
  }
  .video-section .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  .video-section .swiper-pagination-bullet-active {
    width: 10px;
    height: 10px;
  }
  .video-section .swiper-pagination {
    bottom: 50px;
  }
  .video-container{
    padding:  0;
  }
  .video-card {
    height: 100%;
    width: 100%;
}
}
@media (max-width: 480px) {
  .video-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .video-card p {
    font-size: 0.85rem;
  }
  .video-section .swiper-pagination {
    bottom: 40px;
  }
}
@media (max-width: 360px) {
  .video-section .swiper-pagination {
    bottom: 30px;
  }
}
