/* ============================================
   SLIDER - MODERN & RESPONSIVE
   ============================================ */

.slider-container {
  position: relative;
  /* Unified Aspect Ratio (1920x600 = 16:5) */
  aspect-ratio: 16 / 5;
  width: 100%;
  margin: 0 0 25px 0;

  overflow: hidden;
  background: #fff;
  /* External Drop Shadow for contrast */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  z-index: 1;
}

/* Flex Track for Sliding */
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Request: Drop shadow on image to separate white images from white bg */
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #2ca58d;
  /* Brand Color */
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0;
  /* Hidden by default on desktop */
  visibility: hidden;
}

.slider-container:hover .slider-btn {
  opacity: 1;
  visibility: visible;
}

.slider-btn:hover {
  background: #2ca58d;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider-dots span.active {
  background: #2eb97f;
  border-color: #2eb97f;
  width: 30px;
  /* Pillow shape for active dot */
  border-radius: 10px;
}

.slider-dots span:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .slider-container {
    /* Keep same unified aspect ratio */
    aspect-ratio: 16 / 5;
    width: 100%;
    margin: 0 0 20px 0;
    border-radius: 0;
  }

  /* Show arrows always on mobile? User requested "fixed for mobile" */
  .slider-btn {
    opacity: 1;
    visibility: visible;
    width: 40px;
    height: 40px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.7);
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }

  .slider-dots {
    bottom: 15px;
  }

  .slider-dots span.active {
    width: 20px;
  }
}