
/* Slider container */
.slider-container {
  /* Added to prevent menu from overlapping slider */
  margin-top: 80px;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 40px auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Slider wrapper */
.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Individual slide */
.slider-wrapper img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  height: 300px;
}

/* Navigation buttons */
.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
  box-sizing: border-box;
}

.slider-nav button {
  background-color: rgba(0, 99, 65, 0.8); /* UTSEM green with transparency */
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.slider-nav button:hover {
  background-color: rgba(0, 99, 65, 1);
}

/* Responsive */
@media (max-width: 768px) {
  .slider-wrapper img {
    height: 200px;
  }
}