/* Basic styling for the gallery section */
.gallery-section {
  padding: 40px;
  background-color: #fff;
}

.gallery-slider {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  align-items: center;
  justify-content: center;
  margin: 0 auto; /* Center align the gallery */
  max-width: 100%; /* Ensure full width utilization */
}

.gallery-slide {
  flex: 1 1 300px; /* Allows items to shrink and grow */
  max-width: 300px;
  margin: 15px; /* Add margin between slides */
}

.gallery-slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Customize Slick dots and arrows */
.slick-prev, .slick-next {
  font-size: 30px;
  color: #333;
  z-index: 1;
}

.slick-dots li button:before {
  color: #333;
}

.slick-dots li.slick-active button:before {
  color: #e12454;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
  .gallery-slider {
    margin: 0 20px; /* Reduce side margins on smaller screens */
  }
  .gallery-slide {
    max-width: 100%; /* Make slides take full width on smaller screens */
  }
}

/* Video Slider Section */
.video-slider-section {
  padding: 10px;
  background-color: white;
}

.video-slider {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  align-items: center;
  justify-content: center;
}

/* Responsive video container */
.video-slide {
  position: relative;
  margin: 0 10px;
  flex: 1 1 300px; /* Allow videos to scale and wrap */
  max-width: 100%; /* Full width on smaller screens */
  padding-top: 2%; 
  overflow: hidden;
}

.video-slide iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* Adjust margins for mobile */
@media (max-width: 768px) {
  .video-slide {
    margin: 10px 0; /* Stack videos vertically with spacing */
    max-width: 100%; /* Full width on mobile */
  }
}

/* Slick Dots and Arrows Customization */
.slick-prev, .slick-next {
  font-size: 30px;
  color: #333;
  z-index: 1;
}

.slick-dots li button:before {
  color: #333;
}

.slick-dots li.slick-active button:before {
  color: #e12454;
}
