.aliados-donantes-section {
    background: 
        linear-gradient(rgba(107,24,27,0.92), rgba(107,24,27,0.92)),
        url('../img/Fotos_banco/22.png') center center/cover no-repeat;
    padding: 60px 0;
    text-align: center;
}



/* Mueve los estilos al contenedor principal */
.aliados-donantes-container {
    border-radius: 24px;
    
    
    width: 95%;
    overflow: hidden;
    margin: 0 0;
    padding: 40px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aliados-donantes-card h2 {
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.434);
    font-size: 47px;
    margin-bottom: 30px;
    background: none;
    font-weight: bold;
    letter-spacing: 1px;
}

.aliados-donantes-slider {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content; /* Importante para que el contenido se desplace correctamente */
    animation: aliados-scroll 30s linear infinite;
}

.aliado-logo {
    flex: 0 0 auto;
    width: 170px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    margin: 0 18px;
    transition: transform 0.2s;
}

.aliado-logo img {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
   
    transition: filter 0.3s, transform 0.3s;
}

.aliado-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.12);
}

@keyframes aliados-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.aliados-donantes-container:hover .aliados-donantes-slider {
    animation-play-state: paused;
}

@media (max-width: 600px) {
    .aliados-donantes-card {
        padding: 20px 5px 15px 5px;
    }
    .aliados-donantes-slider {
        gap: 10px;
    }
    
}



.aliados-mencion {
    background: #F6C667;
    color: #3D0D0F;
    margin: 40px auto;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    gap: 18px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    border: 4px solid;
    border-image: linear-gradient(90deg, #FFD700, #F6C667, #FFD700) 1;
    animation: borderMove 2s linear infinite;
    max-width: 900px;
    flex-wrap: wrap;
    text-align: center;
  }

  .icono-estrella {
    display: inline-block;
    animation: star-spin 4s linear infinite;
    font-size: 1.6em;
  }

  .btn-link {
    background: #3D0D0F;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8em;
    transition: background 0.3s ease;
  }

  .btn-link:hover {
    background: #5a1317;
  }

  @keyframes borderMove {
    0% {
      border-image-source: linear-gradient(90deg, #FFD700, #F6C667, #FFD700);
    }
    100% {
      border-image-source: linear-gradient(270deg, #FFD700, #F6C667, #FFD700);
    }
  }

  @keyframes star-spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  @media (max-width: 600px) {
    .aliados-mencion {
      flex-direction: column;
      font-size: 1.2em;
      padding: 20px;
      gap: 12px;
    }
  }

.aliados-mencion-icon {
    font-size: 2em;
    margin-right: 10px;
    color: #3D0D0F;
}

.aliados-mencion-text {
    color: #3D0D0F;
    font-size: 1.1em;
    font-style: italic;
}

@media (max-width: 700px) {
    .aliados-agradecimiento {
        padding: 12px 5px 10px 5px;
        font-size: 1em;
    }
    .aliados-mencion {
        font-size: 1em;
        flex-direction: column;
        gap: 8px;
        padding: 10px 5px;
    }
    .aliados-mencion-icon {
        font-size: 1.5em;
    }
} 

.aliados-mencion-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(120deg, #5a1818 50%, #ef8639 80%, #f1efb5 100%);
    border-radius: 0; /* Sin bordes redondeados para ocupar todo el ancho */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.79);
    padding: 40px 10vw; /* Espaciado lateral proporcional */
    margin: 40px 0 0 0; /* Solo margen arriba si lo deseas */
    width: 78.9vw;
    min-height: 180px;
    color: #fff8e1;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.aliados-mencion-banner-left {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.aliados-mencion-titulo {
    font-size: 2.9em;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff8e1;
    text-shadow: 1px 1px 6px #3d0d0f44;
    margin-bottom: 10px;
    transform: translate(-60px, 0px);
}

.aliados-mencion-titulo span {
    font-size: 1.1em;
    letter-spacing: 4px;
    color: #f1efb5;
}

.aliados-mencion-banner-left hr {
    width: 60px;
    border: 2px solid #f1efb5;
    margin: 18px 0;
}

.aliados-mencion-texto {
    font-size: 1.6em;
    color: #fff8e1;
    font-style: italic;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    transform: translate(-130px, 0px); /* Cambia los valores para mover en X (horizontal) y Y (vertical) */
}

.aliados-mencion-banner-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.aliados-mencion-banner-right i {
    font-size: 4em;
    color: #f6c667;
    margin-bottom: 10px;
    text-shadow: 1px 1px 8px #3d0d0f33;
}


.aliados-mencion-banner-right i {
    font-size: 6em;
    color: #ef8639;
}

.aliados-mencion-org {
    color: #fff8e1;
    font-size: 1.9em;
    font-weight: bold;
    text-align: center;
    margin-top: 5px;
}

.aliados-mencion-slogan {
    font-size: 0.9em;
    color: #f1efb5;
    font-weight: normal;
    margin-top: 2px;
}

@media (max-width: 700px) {
    .aliados-mencion-banner {
        flex-direction: column;
        padding: 25px 10px;
        min-height: 0;
        text-align: center;
    }
    .aliados-mencion-banner-left, .aliados-mencion-banner-right {
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .aliados-mencion-titulo {
        font-size: 1.3em;
    }
    .aliados-mencion-banner-right i {
        font-size: 2.5em;
    }
} 

@media (max-width: 1500px) {
    .aliados-donantes-container {
        border-radius: 24px;
        
        max-width: 1400px;
        width: 100%;
        overflow: hidden;
        margin: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
} 

@media (max-width: 1200px) {
    .aliados-mencion-texto {
        font-size: 1.6em;
        color: #fff8e1;
        font-style: italic;
        max-width: 420px;
        margin: 0 auto;
        margin-left: 20px;
        text-align: center;
        transform: translate(-100px, 0px); /* Cambia los valores para mover en X (horizontal) y Y (vertical) */
    }

    .aliados-mencion-titulo {
        font-size: 2.5em;
        font-weight: bold;
        letter-spacing: 2px;
        color: #fff8e1;
        text-shadow: 1px 1px 6px #3d0d0f44;
        margin-bottom: 10px;
        margin-right: 60px;
        transform: translate(-60px, 0px);
    }

    .aliados-mencion-banner-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 180px;
        margin-right: -20px;
    }

    

}

@media (max-width: 700px) {
    .aliados-mencion-texto {
        font-size: 1.6em;
        color: #fff8e1;
        font-style: italic;
        max-width: 1000px;
        margin: 0 ;
        margin-left: 200px;
        text-align: center;
        transform: translate(-100px, 0px); /* Cambia los valores para mover en X (horizontal) y Y (vertical) */
    }

    .aliados-mencion-titulo {
        font-size: 2.5em;
        font-weight: bold;
        letter-spacing: 2px;
        color: #fff8e1;
        text-shadow: 1px 1px 6px #3d0d0f44;
        margin-bottom: 10px;
        margin-right: 60px;
        margin-left: 200px;
        transform: translate(-60px, 0px);
    }

    .aliados-mencion-banner-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 50px;
        margin-right: -20px;
    }

    

}

@media (max-width: 600px) {
    .aliados-donantes-container {
        border-radius: 24px;
        
        max-width: 1000px;
        width: 100%;
        overflow: hidden;
        margin: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .aliado-logo {
        flex: 0 0 auto;
        width: 170px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.10);
        margin: 0 18px;
        transition: transform 0.2s;
    }
    
}