.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}



.carousel-item {
  /* position: relative; */
  overflow: hidden;
}

.carousel-image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensures the image covers the container without distortion */
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 20px; /* Adjust the distance from the left side */
  transform: translateY(-50%); /* Keeps the text vertically centered */
  color: white;
  width: auto;
  max-width: 80%; /* You can adjust this to control the width of the content */
}

.overlayHeader {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.overlayText {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.primary-button {
  padding: 10px 20px;
  font-size: 1rem;
  text-decoration: none;
  background-color: #0072bc; /* Change this to your desired button color */
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.primary-button:hover {
  background-color: #005a8b; /* Change hover color if needed */
}
















