.carousel-overlay {
  position: relative;
}

/* Carousel Images */
.carousel-inner {
  position: relative;
}

.carousel-inner img {
  width: 100%;
  height: 60vh; /* Adjust the value as needed for the desired height */
  object-fit: cover;
}

/* Dark Transparent Mask */
.carousel-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.carousel-text {
  font-family: "Roboto", sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}

.carousel-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-text p {
  font-size: 1.5rem;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .carousel-inner img {
    height: 50vh;
    width: auto;
  }

  .carousel-text h1 {
    font-size: 2rem;
  }

  .carousel-text p {
    font-size: 1.2rem;
  }
}
