/* Estilos Consolidados para el Carrusel         */
/* ============================================= */

/* Contenedor principal del carrusel */
.carousel {
    margin-bottom: 4rem;
}

/* Controles y caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Cada elemento del carrusel */
.carousel-item {
    height: auto; /* Puedes ajustar esta altura según el banner */
    position: relative;
    overflow: hidden; /* Para evitar que se muestren elementos fuera del contenedor */
}

/* Imagen dentro del carrusel */
.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain;        /* Asegura que se vea la imagen completa sin recorte */
    object-position: center;    /* Centra la imagen en el contenedor */
    display: block;             /* Elimina espacios inferiores por elementos inline */
}

/* Ajuste de responsive: si deseas que el carrusel se ajuste en pantallas pequeñas */
@media (max-width: 768px) {
    .carousel-item {
        height: 20rem; /* Ajusta la altura para dispositivos móviles */
    }
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}



