@media (max-width: 850px) {
  .boat-ride-container {
    flex-direction: column;
  }

  .image-section {
    min-height: 200px;
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.slider-container {
  width: 95%;
  max-width: 1000px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 16 / 9;
  position: relative;
}

.slider-wrapper {
  display: flex;
  width: 400%;
  height: 100%;
  animation: back-and-forth 16s infinite alternate ease-in-out;
}

.slide {
  width: 25%;
  position: relative;
  /* This keeps the badge inside the slide */
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge Styling */
.badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-family: sans-serif;
  font-weight: bold;
  z-index: 10;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  /* Modern frosted glass effect */
}

/* The same animation logic from before */
@keyframes back-and-forth {
  0%,
  15% {
    transform: translateX(0);
  }

  25%,
  40% {
    transform: translateX(-25%);
  }

  50%,
  65% {
    transform: translateX(-50%);
  }

  75%,
  100% {
    transform: translateX(-75%);
  }
}