/* General Slider Styling */
.slider-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: auto;
  background-color: #f0f0f0; /* Add background color to the slider container */
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  height: 700px;
  display: none;
  background-color: #ad6047; /* Set background color for each slide */
  padding: 20px; /* Optional padding inside each slide */
  color: white; /* Make text white */
}

.slide.active {
  display: block;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.prev-button {
  left: 0;
}

.next-button {
  right: 0;
}

/* Optional: Make slider responsive */
@media (max-width: 768px) {
  .slider-container {
    height: auto;
  }

  .slide {
    height: auto;
  }
/* Ensure the image fits within the slide without stretching */
.slide-image {
  max-width: 50%;   /* Ensures the image does not exceed the width of the slide */
  max-height: 50%;  /* Ensures the image does not exceed the height of the slide */
  width: auto;       /* Maintains the aspect ratio of the image */
  height: auto;      /* Keeps the height proportional to the width */
  display: block;    /* Centers the image if it's inside a flexbox or block container */
  margin: auto;      /* Center the image within the slide */
}



}
