.hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  object-position: center 35%;
   filter: brightness(0.92);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero .carousel-container {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 20px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(15, 45, 28, 0.68),
    rgba(44, 110, 68, 0.52)
  );
  z-index: 2;
}
#apartmentCarousel {
  max-width: 1100px;
  margin: 0 auto;
}

#apartmentCarousel .carousel-item {
  height: 550px;
}

#apartmentCarousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #5CB874;
}
@media (max-width: 768px) {
  #hero {
    min-height: 85vh;
  }

  #hero .carousel-container {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    padding: 0 24px;
    margin: 0;
    transform: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    box-sizing: border-box;
  }

  #hero .carousel-container h2 {
    font-size: 34px;
    line-height: 1.15;
    max-width: 100%;
    width: 100%;
    margin-bottom: 16px;
  }

  #hero .carousel-container p {
    font-size: 15px;
    line-height: 1.5;
    max-width: 100%;
    width: 100%;
    margin: 0 auto 24px auto;
  }
}
