  .banner {
    position: relative;
    height: 53vh; /* Definição de altura do banner */
    justify-content: start;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* Fundo semitransparente */
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 0 !important;
  }
  
  .carousel-inner {
    height: 100%;
  }
  
  .carousel-inner img {
    height: 40rem; /* Altura das imagens */
    object-fit: cover; /* Para ajustar as imagens sem deformar */
    width: 100%;
  }
  
  .carousel-indicators {
    z-index: 3; /* Acima das imagens */
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    z-index: 3; /* Acima das imagens */
  }
  
  .banner-content {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    text-align: start;
    margin-left: 10rem;
    margin-top: 8rem;
  }
  
  #banners h1 {
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 2px;
  }
  
  #banners h2 {
    font-size: 24px;
    font-weight: 600;
}
  
  .subtitle {
    font-size: 18px;
    color: white;
    font-weight: 400;
  }
  
  .subtitle.fw-bold {
    font-weight: bold;
  }

  .carousel-caption {
    bottom: 10rem !important;
    left: 0% !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.text-sub {
    color: white;
    text-decoration: revert;
}

@media screen and (max-width: 991px) {
.desktop {
    display: none !important;
}
.carousel-inner img {
    height: 35rem !important;
    object-fit: fill !important;
}
.banner-content {
    margin-left: 3rem !important;
    margin-top: 0rem !important;
    text-align: center !important;
}
.carousel-caption {
    bottom: 4rem !important;
    left: -32% !important;
}
#banners h1 {
    font-size: 30px !important;
}
#banners h2 {
    font-size: 16px !important;
}
.subtitle {
    font-size: 13px;
}
.banner1-mob-caption {
    left: 5% !important;
}
}
.text-white {
  color: #FFF !important;
}
@media screen and (min-width: 991px) {
    .mobile {
        display: none !important;
    }
}

@media screen and (min-width: 1500px) {
  .banner-content {
    margin-left: 15rem !important;
}
}