* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* Ensure there's no horizontal overflow */
}

.slider-container {
  width: 100%;
  height: 88vh; /* Use full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 1.5s ease-in-out; /* Slower transition for smoother movement */
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-controls {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10; /* Ensure controls are above the slides */
}

#next-btn,
#prev-btn {
  cursor: pointer;
  background: transparent;
  font-size: 30px;
  border: none;
  padding: 10px;
  color: white;
}

#next-btn:focus,
#prev-btn:focus {
  outline: none;
}


/* Container for Buttons */
.button-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  gap: 10px;
  background-color: #636969;
}

.button-container a {
  color: white;
  text-decoration: none;
}

/* Button Styles */
.custom-button {
  width: 100%;
  max-width: 600px;
  background-color: #007075;
  color: white;
  font-size: 18px;
  padding: 15px;
  border: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.custom-button:hover {
  background-color: #e70000;
}

.custom-button:active {
  background-color: #026974;
}

/* Responsive Design for Smaller Screens */
/* Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
      height: 60vh; /* Reduce slider height for smaller screens */
  }

  #next-btn,
  #prev-btn {
      font-size: 20px; /* Smaller buttons */
      padding: 5px;
  }
}

@media (max-width: 480px) {
  .container {
      height: 50vh;
      margin-top: -9px;
      width: 100%;
      box-sizing: border-box;
  }

  #next-btn,
  #prev-btn {
      font-size: 16px; /* Adjust button size */
      padding: 5px;
  }
}
/* Responsive Styling for Smaller Screens */
@media (max-width: 480px) {
  .custom-button {
      font-size: 16px;
      padding: 12px;
  }
}