*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#container-proposito {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;
    margin-top: -80px;
}
.descripcion_proposito  { 
    width:610px;
    padding:40px;
    line-height:1.8em;
    text-align:justify;
    color:#858585;
    font-size: 14px;
}
.img_proposito { 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    /* width:380px; */
    width:300px;
    height:380px;
    border-radius:5%;
}
.subrayado{ 
    text-decoration-line: underline;
    text-decoration-color: #ffd43b;
}
.subrayado h2::before{
     color:#858585;
} 
.content-proximas {
    display: flex;
    flex-direction:column;
    align-items: center; 
    justify-content: center;
    margin-top:60px;
    line-height: 30px;
    text-align: center;
    padding: 0 20px;
}
#container-video {
    display: flex;
    flex-direction:row;
    justify-content: center;
    align-items: center; 
    /* border:2px solid red; */
}
.container-imagenes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;

  }
  .container-imagenes a {
    width: 200px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border:2px solid red; */

    padding: 10px; /* 👈 espacio interno */
  }
 
 
  .logo_asociacion {
    max-width: 160px;
    max-height: 80px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .logo_asociacion:hover {
    transform:rotateY(360deg);
    transition:2s;
}
.video {
    width:600px;
    height:500px;
    min-width: none;
    justify-content: center;
    align-items: center; 
}


.fa  { 
    display: flex;
    flex-direction:row;
    align-items: center; 
    justify-content: center;
    gap:5.5em;
    margin-top:50px;
    margin-bottom:30px;
}
.caja_contadores { 
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    gap:6rem;
    padding: 10px;
}
.numero_contador {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
}
.counter{ 
    font-size: 30px;
    margin-top: 8px;
    width: 100px; /* Fija el ancho del número */
    text-align: center;
    color:#858585;
}
.texto_becas {
    display: block;
    font-size: 18px;
    font-weight: 100;
    color:#003752;
}

  
.fa-heart {
    color: #c0392b;
  }
  .fa-smile {
    color: #ffd43b;
  }
  .fa-award {
    color: #1864ab;
  }
  .fa-music {
    color: #e67700;
  }
  .fa-book {
    color: #a61e4d;
  }
.texto_becas { 
   text-align:center;
   display: flex;
    align-items: center; 
    justify-content: center;
    color:#858585;
    font-size:14px;
    font-weight: 100;    
    text-transform: uppercase;
}
.titulo_asociacion {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    will-change: opacity, transform;
}
.titulo_asociacion.visible {
    opacity: 1;
    transform: translateY(0);
}
.titulo_asociacion, .titulo_proximas{ 
    color :#003752;
    font-weight: 300;
    font-size: 38px;
    text-transform: uppercase;
}
.descripcion_ultimas_actividades{ 
    color:#858585;
    width:550px;
    text-align:center;
}

/* .boton-left {
    margin: 20px 0;
    text-align: left; /* Desktop: izquierda 
} */
.boton-left {
    margin-top: 10px;      /* espacio desde arriba para separarlo del carrusel */
    margin-right: 500px;     /* separarlo un poco de la esquina izquierda */
    /* opcional: para asegurarte que esté alineado a la izquierda dentro del contenedor */
    display: inline-block; 
  }
  .boton-left:hover{ 
    color:white;
}
.btn_ver_videos {
    display: inline-block;
    background-color: #007BFF; /* azul */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn_ver_videos i {
    margin: 0 5px;
}
/* Hover */
/* .btn_ver_videos:hover {
    background-color: #0056b3;
    color: #FFD700;
} */
.btn_ver_videos:hover,
.btn_ver_videos:hover * {
    color: #FFD700;
}
.btn_ver_videos:hover i.fa-chevron-right {
    transform: translateX(5px);
    color: #FFD700; /* Flecha amarilla al hover */
}
.titulo_asociacion,.titulo_proximas   {  
    margin-top: 40px;
    margin-bottom: 60px;
    font-weight: 300;
    font-size: 38px;
    color:#858585;
    text-transform: uppercase;
}
.subtitulo_asociacion,.subtitulo_proximas { 
    color:#003752;
    font-weight: 200;
}
.content-asociacion {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    gap:2em;
    text-align:center;
    margin:2px;
    /* border:2px solid red; */
}

.container-logos-hermanas { 
    display: flex;
    flex-direction:row;
    align-items: center; 
    justify-content: center;
    gap:5em;
}

.descripcion_proximas_actividades { 
    color:#858585;
    font-size:20px;
    margin:10px;
}
.texto_ultimas_actividades { 
    font-weight: 300;
    font-size: 38px;
    text-transform: uppercase;
}
.ultimas_actividades { 
    margin-bottom:40px;
    background-color: #4A4A4A;
    padding: 10px;
    text-align:center;
}
.Titulo { 
    font-weight: 200;
}

.Titulo strong { 
    color:#003752;
    font-weight: 200;
}
.Titulo_historias { 
    color:#003752;
    font-weight: 200;
    text-align: left;
}
.descripcion_historias { 
    color:#858585;
    width:550px;
    text-align:justify;
    line-height:2.0rem;
}
.container_descripcion { 
    display: flex;
    flex-direction:row;
    justify-content: center;
    align-items: center;  
}
.imagen_ultima_Actividad { 
    width:600px;
    padding:30px;
    top:50px;
}
.imagen_historia_exito { 
    width:650px;
    height:600px;
    padding:30px;
}
.btn_ver { 
    border:2px solid #fab005;
    color:#858585;
    width:40%;
    padding:10px;
    float:right;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}
.btn_leer,.btn_ver { 
    display: inline-block;
    padding: 10px 25px;
    /* background-color: #0066cc; */
    color: #fab005;
    border: #fab005;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    float:right;
}
.boton-leer:hover {
    background-color: #004a99;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}
.btn_ver:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}
  .flecha-toggle, .flecha-historia {
    font-size: 25px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: inline-block;
    color :#fab005;
}
.flecha-activa {
    transform: rotate(180deg);
}
.contenido {
    margin-top: 0;
    transition: margin-top 0.3s ease;
}
.fas.fa-chevron-down {
    font-size: 28px;
    color: #fab005;
    margin: 0 auto;
    padding: 10px 0 0 0; /* Un poco de espacio arriba, ninguno abajo */
    display: block;
    line-height: 1;
  }
.content-proximas i.fas.fa-chevron-down {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .content-proximas {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
.bajar-texto {
    margin-top: 50px; /* ajusta este valor para cuánto quieres que baje */
}
.slide-indicadores {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 2%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}
.slide-indicadores li {
    display: inline-block;
    margin: 0 5px;
}
.slide-circulo {
    color: #828282;
    cursor: pointer;
    display: block;
    font-size: 35px;
}
.slide-circulo:hover {
    color: #aaaaaa;
}
.btn_ver_videos i {
    margin: 0 5px;
}
.btn_ver_videos:hover,
.btn_ver_videos:hover * {
    color: #FFD700;
    text-decoration:none;
}
.btn_ver_videos:hover i.fa-chevron-right {
    transform: translateX(5px);
    color: #FFD700; 
}

@media screen and (max-width: 991px) and (min-width: 751px) {
  
    .img_proposito { 
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        width: 250px;;
        height:300px;;
        border-radius:5%;
    }
    /* Logos asociadas y hermanas: pasar a columnas o grid para que se vean mejor */
    .container-logos-asociadas, .container-logos-hermanas {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      padding: 0 10px;
    }
    .logo_asociacion {
      width: 70px;
      height: 70px;
      margin: 0 auto;
    }
  
    /* Iconos y contadores: mejor adaptarlos para que no se amontonen */
    .caja_contadores {
      flex-wrap: wrap;
      gap: 1.5rem;
      justify-content: center;
      padding: 20px 10px;
    }
    .numero_contador {
      min-width: 120px;
    }
    .counter {
      font-size: 24px;
      width: 120px;
    }
    .texto_becas {
      font-size: 14px;
      font-weight: 400;
    }
    /* Últimas historias de éxito: que las imágenes y textos se apilen */
    .container_descripcion {
      flex-direction: column;
      padding: 0 10px;
    }
    .imagen_historia_exito {
        width:400px;
        height:300px;
        border-radius:5%;
        padding: 10px;;
    }
    .descripcion_historias {
        width: 100%;
        text-align: justify;
        margin: 0 auto;
        margin-bottom: 35px;;
    }
  
    /* Ajuste títulos para tablets */
    .titulo_asociacion, .titulo_proximas, .texto_ultimas_actividades {
      font-size: 28px;
    }
    #container-proposito {
          flex-direction: row;
          margin-top: -80px; /* el valor de desktop */
          padding: 10px;
    }
    .img_proposito { 
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        width: 250px;;
        height:300px;;
        border-radius:5%;
    }
}

@media screen and (max-width: 750px) {

        .content-proximas {
          padding: 30px 15px;
          text-align: center;
          gap: 15px;
        }
      
        .titulo_proximas {
          font-size: 28px;
          line-height: 1.2;
        }
      
        .descripcion_proximas_actividades {
          font-size: 14px;
          line-height: 1.6;
          width: 90%;
          max-width: 320px;
          margin: 0 auto;
        }
      
        .flecha-toggle {
          margin-top: 10px;
        }
      
    .Titulo {
        font-size: 30px;
    }
    .container_descripcion {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 10px 15px;
      }
    .container-imagenes {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 por fila */
        gap: 15px;
        justify-items: center;
      }
    .container-imagenes a {
        width: 150px;   /* más pequeño */
        height: 100px;
        padding: 6px; 
          /* menos espacio interno */
      }
      
      .logo_asociacion {
        max-width: 150%;
        max-height: 120%;
        object-fit: contain;
        width: 100px;;
      }
    #container-proposito {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: -30px;
    }
    .container_descripcion { 
        display: flex;
        flex-direction:column;
        justify-content: center;
        align-items: center;  
    }
    .caja_contadores {
      flex-wrap: wrap;
      gap: 1.5rem;
      justify-content: center;
      padding: 20px 10px;
      margin-top:30px;
    }
    .container-logos-asociadas {
        line-height: normal;
      }
    .descripcion_proposito {  
        padding: 10px 20px; /* un poco más de padding horizontal */
        width: 90%;          /* ancho relativo, no fijo */
        max-width: 350px;    /* para que no crezca mucho en tablet */
        box-sizing: border-box; /* para que el padding no sume ancho */
    }
    .descripcion_historias {
        padding: 10px 20px; /* un poco más de padding horizontal */
        width: 100%;          /* ancho relativo, no fijo */
        max-width: 370px;    /* para que no crezca mucho en tablet */
        box-sizing: border-box;
    }
    
    .imagen_historia_exito,.img_proposito {
        width: 100%;
        max-width: 320px;
        height: auto;
        padding: 0;
        border-radius: 10px;
      }
    .Titulo_historias { 
        margin-bottom:10px;
        text-align:center;
        margin-top:10px;
    }
    .boton-left {
        display: flex;
        justify-content: center; /* Centra horizontalmente */
        align-items: center;
        width: 100%;
        margin-top: 20px;
    }
    .btn_leer,.btn_ver { 
        width: 90%; /* Que ocupe más espacio horizontal  */
        max-width: 400px;
        font-size: 18px; /* Más grande para tablets y cel  */
        padding: 15px 25px;
        text-align: center;
        float: none;
    }
    .btn_ver_videos {
        width: 90%; /* Que ocupe más espacio horizontal  */
        max-width: 400px;
        font-size: 18px; /* Más grande para tablets y cel  */
        padding: 15px 25px;
        text-align: center;
        float: none;
    }
}