.banners {
  width: 100%;
  position:relative;
display: flex
;
    align-items: center;
    justify-content: center;
}

/* Contenedor del carrusel, se usa flex para alinear las imÃ¡genes horizontalmente */
.div-banner {
  display: flex;
  flex-direction: row; /* Alineamos las imÃ¡genes en una fila horizontal */
  width: 100%;
  transition: transform 1s ease-in-out; /* AnimaciÃ³n para el deslizamiento */
  justify-content: center;
     align-items:center;
}


.banners-mobile{
    display:none;
}
/* Estilo para cada imagen de banner */
.img-banner {
  width: 100%; /* Cada imagen ocuparÃ¡ un 100% del ancho del contenedor */
  display: block; /* Las imÃ¡genes se mostrarÃ¡n de forma continua */
  cursor:pointer;
}
.img-banner img {
  width: 100%;
  height: auto; /* Mantiene la proporciÃ³n de las imÃ¡genes */
}
.image-mobil{
    display:none ;
}

h1 {
  font-size: 55px !important;
  color: #0e2b6d;
  text-align: center;
  font-weight: 700 !important;
}

  .div-cursos{
    padding:40px 10px;
    
    
  }
.div-cursos h1 span {
  color: #18a74f;
}
  .parrafo-central-curso p{
      color: #575756;
  text-align: center;
  font-weight: 400;
  margin-bottom: 3rem;
  font-size: 16px;
  }
  
  .lista-filtros{
          display: flex
;
    align-items: center;
    justify-content: center;
    gap: 30px
  }
  
  .caja-filtro{
     background: #18A74F;
    padding: 9px 25px;
    border-radius: 10px;
    display: flex
;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: auto;
    cursor:pointer;
  }
  
  .circulo-filtro{
      width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
  }
  .caja-span-filtro span{
      color:#fff;
      font-weight:400;
      font-size:17px;
  }
  .circulo-filtro svg{
       width: 0%;
    display: none;
    transition: width 0.3s ease;
  }
  
  .caja-filtro:hover .circulo-filtro svg {
    display: flex;
    width: 60%;
}

.caja-filtro.selected .circulo-filtro svg {
    display: flex;
    width: 60%;
}
.card-info-curso:hover {
    border-right: 5px solid #14A74F;
    border-bottom: 5px solid #14A74F;
}

.caja-filtro.active{
     background: #0E2B6D;
}

.caja-filtro.active .circulo-filtro svg {
    display: flex;
    width: 60%;
   
}
.card-imagen-curso::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: skew(-25deg);
    z-index: 2;
}

.card-info-curso:hover .card-imagen-curso::before {
    animation: hoverShine 1.2s ease forwards;
}

.card-info-curso:hover .caja-mas-informacion{
  background-color: #18A74F;
}


@keyframes hoverShine {
    0% {
        left: -100%;
    }
    100% {
        left: 125%;
    }
}
.card-info-curso:hover .caja-mas-informacion p{
  color:#fff;
}
.caja-filtro.active       .check-verde{
    stroke:#0E2B6D !important; 
}
.lista-cursos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card-cursos {
  display: grid; /* Usamos CSS Grid */
  grid-template-columns: repeat(3, 1fr); /* Tres columnas iguales */
  gap: 58px; /* Espacio entre las tarjetas */
  padding: 20px 0px;
}

/* Estilo para cada tarjeta */
.curso-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items:center;
  gap: 30px;
}

.card-info-curso {
  border-radius: 25px;

  display: flex;
  flex-direction: column;

  height: auto;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 1px 1px 5px gray;
  position: relative;
}

.card-info-curso:hover {
  cursor: pointer;
}

.card-imagen {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 20px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-imagen img {
  width: 100%; /* La imagen ocupará todo el ancho del contenedor */
  height: 100%; /* La imagen ocupará todo el alto del contenedor */
  object-fit: cover; /* La imagen cubrirá el área sin distorsionarse */
}

.card-imagen-eleccion {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fondo-verde-imagen {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #18a74f;
  border-radius: 50%;
  box-shadow: 5px 5px 0 #f2f3f5;
}

.fondo-verde-imagen svg {
  width: 50%;
}

.card-gradient {
  position: absolute; /* Lo posiciona sobre la imagen */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 43, 109, 0) 0%,
    rgba(14, 43, 109, 1) 100%
  );
  pointer-events: none; /* No interfiere con otros eventos */
}

.card-watermark {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: auto;
}

.card-watermark img {
  width: 100%; /* La imagen de la marca de agua ocupará el tamaño definido */
  height: auto; /* Mantiene la relación de aspecto */
  object-fit: contain; /* Asegura que la imagen se ajuste sin distorsión */
}

.card-text {
  padding: 5px 20px;
}
.card-text p {
  font-size: 18px;
  color: #575756;
  font-weight: 700;

  margin: 0px;
}

.card-text span {
  color: #fec922;
}

.card-tipo-curso {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-tipo-curso span {
  text-align: center;
  font-weight: 600;
  font-size: 17px;
  color: #333333;
  background: #fec922;
  padding: 2px 20px;
  border-radius: 20px;
  margin: 5px 0px;
}

.card-modalidad-curso {

     width: 30%;
    padding: 5px 20px;
}
.card-modalidad-curso img{
  width: 100%;
}
.card-logo-curso {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 13px;
  width: 20%;
}

.info-fecha-inicio {
  background: #0e2b6d;
  width: 65%;
  border-radius: 0px 50px 50px 0px;
}

.info-fecha-inicio span {
  font-weight: 600;
}
.curso-info {
  padding: 5px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.curso-info svg {
  width: 30px;
}

.ir-cursos {
  text-decoration: none;
}

.card-info-curso.activo {
  cursor: pointer;
background-color: #E8EAEB;

  transform: scale(1.1) !important;
}
.card-info-curso.activo .caja-mas-informacion{
  background-color: #18A74F;
}
.card-info-curso.activo .caja-mas-informacion p{
 color: #fff;
}

.card-info-curso.activo .caja-antes p{
  color: #575756;
  font-weight: 500;
}
.card-info-curso.activo .info-fecha-inicio {
  background: #14A74F;
}

.card-info-curso.activo .card-gradient {
  background: linear-gradient(
    to bottom,
    rgba(14, 43, 109, 0) 0%,
    rgba(14, 43, 109, 1) 100%
  );
}

.curso-info p {
  margin: 0px;

  color: #6f6f6e;
  font-weight: 400;
  font-size: 15px;
}

.info-fecha-inicio p {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.card-info-curso.activo .info-fecha-inicio p {
  font-weight: 600;
}
.curso-info span {
  font-weight: 600;
}

.card-pie {
  padding: 0px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.caja-inversion {
  padding: 5px 10px;
  border-radius: 20px;
}

.caja-inversion p {
  margin: 0px;
  font-weight: 600;
  color: #575756;
  font-size: 18px;
}

.caja-antes p {
  font-weight: 500;
  color: #b3b3b3;
  font-size: 14px;
  text-decoration: line-through;
}

.caja-mas-informacion {
  background: #f2f2f2;
  padding: 10px 92px;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px 20px 20px 20px;
}

.caja-mas-informacion p {
  margin: 0px;
  font-weight: 700;
  color: #575756;
  font-size: 14px;
  text-align: center;
}
.barra-tipo-curso {
  position: absolute;
  z-index: 2;
  right: -25px;
  top: 40px;
}
.container-vivo-item{
  display: flex;
 justify-content: space-between;
 align-items: center;
}
.span-tipo {
  background-color: #e20919;
  border-radius: 20px 20px 0px 20px;
  max-width: 135px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 33px;
}

.span-tipo span {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px;
  text-align: center;
}

@media (min-width: 1401px) and (max-width: 1600px) {
    .titulo-curso span{
        color: #FEC922;
    font-size: 70px;
    font-weight: 700;
    line-height: 3rem;
}
.titulo-curso p {
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    margin: 0;
    line-height: 2rem;
}
}


@media (min-width: 991px) and (max-width: 1399px) {
    /* Tus estilos CSS aquí */



     .card-cursos {
    display: grid
;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 30px 0px;
}  
.titulo-curso span{
        color: #FEC922;
    font-size: 60px;
    font-weight: 700;
    line-height: 3rem;
}
.titulo-curso p {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    line-height: 2rem;
}
}

@media (max-width: 991px) {
  
         .div-banner {
    width: 100%; /* Mantén el 100% del ancho */
   
  }
  
   .img-banner {
        width: 100%; /* Ocupa todo el ancho disponible */
 
      
        display: block;
        cursor: pointer;
    }

  .img-banner img {
        width: 100%; /* Ocupa todo el ancho */
        height: 100%; /* Ocupa todo el alto */
      
    }
    
    .image-web{
        display:none;
    }
    
    .image-mobil{
        display:flex;
    }
    h1 {
    font-size: 29px !important;
   
}
    .div-cursos h1 span{
    color:#18A74F;
    border-bottom:none;
  }
    .lista-filtros {
    display: flex
;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
}
  .card-cursos {
    display: grid
;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    padding: 30px 0px;
}  




.info-fecha-inicio p{
    color:#fff;
    font-weight:400;
    font-size:15px;
}


.caja-filtro{
     background: #18A74F;
    padding: 9px 25px;
    border-radius: 10px;
    display: flex
;
     align-items: start; 
  justify-content: start;
     gap: 0px; 
    width: auto;
    cursor: pointer;
     width:100%;
}

.caja-span-filtro{
     display: flex
;
     align-items: center; 
  justify-content: center;
  width:100%;
}


.texto-titulo-portada{
    width:100%;
}
.imagen-portada-curso{
    width:100%;
}
p{
  font-size: 14px !important;
}

.span-tipo span{
  font-size: 12px;
}

.span-tipo{
  width: 105px;
}
.barra-tipo-curso{
  right: -2px;
}
.card-info-curso:hover{
    border:none;
}
.lista-cursos{
    padding:15px !important;
}

.card-info-curso{
    width:340px;
}
}

  
