#image-slides {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 60px;
  width: 100vw;
  margin: 0 0;
  /* margin-left: auto;
  margin-right: auto; */
}

#custom-carousel, 
#image-carousel {
  width: 100vw;
  margin: 0 0;
}

#image-slides .card {
  border: none;
  border-width: 0;
  background-color: #fff9ec;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

#image-carousel .carousel-item {
  margin-left: 0;
  border-width: 0;
  border: none;
  padding-left: 0;
}

#image-carousel .carousel-item a img {
  border-radius: 1rem;
  width: 100%;
  height: auto;
  max-height: 500px; /* Limit max height for consistent look */
  object-fit: cover;
  cursor: pointer;
}

#image-carousel .carousel-item .carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100% !important;
  padding: 4px 8px !important;
}

#image-carousel h6 {
  font-size: 0.8rem;
  margin: 0 0;
  color: whitesmoke;
}

#image-carousel .btn-container {
  text-align: center;
  margin-top: 20px;
}


@media (min-width: 768px) {

  #image-slides {
    width: 100%;
  }

  #image-carousel .carousel-caption {
    bottom: 20px;
    /* padding: 10px 15px; */
  }

  #image-carousel .carousel-caption h6 {
    font-size: 0.8rem;
  }
}

@media (min-width: 1024px) {

  #image-carousel .carousel-caption {
    bottom: 20px;
    padding: 10px 15px;
  }

  #image-carousel .carousel-caption h6 {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  #image-carousel {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
}