/* Simple Static Slider Styles */

.metaslider {
  max-width: 800px;
  margin: 0 auto;
}

#metaslider_container_12 {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

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

/* Main slider container */
#metaslider_12 {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* First image is visible and flows naturally */
#metaslider_12 img:first-child {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
}

/* All other images are hidden and positioned absolutely on top */
#metaslider_12 img:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: none;
}

/* When active class is added, show the image */
#metaslider_12 img.active {
  display: block;
}

/* Direction Navigation (Previous/Next arrows) */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 100%;
  pointer-events: none;
}

.slider-prev,
.slider-next {
  position: absolute;
  display: block;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 30px;
  line-height: 50px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: Arial, sans-serif;
  font-weight: bold;
  pointer-events: all;
}

.slider-prev {
  left: 10px;
  border-radius: 3px;
}

.slider-next {
  right: 10px;
  border-radius: 3px;
}

.slider-prev:hover,
.slider-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Control Navigation (dots) */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

.slider-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

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

.slider-dot.active {
  background-color: #fff;
  transform: scale(1.3);
}

/* Ensure the slider container section is vertically centered */
.container-fluid.remove-padding {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Allow nested containers to expand and align properly for flexbox centering */
.container-fluid.remove-padding > .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-fluid.remove-padding .row {
  width: 100%;
  margin: 0;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 40px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }

  .slider-dots {
    bottom: 10px;
  }

  .container-fluid.remove-padding {
    min-height: 300px;
  }
}
