#aliados{
    /* min-height: 1094px; */
    margin-bottom: 5rem;
}

.container-aliados {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, 732px);
    gap: 1rem;
    width: 95%;
    margin: auto;
    margin-top: 5rem;
}

.card-aliados{
    width: 732px;
    height: 468px;
    display: flex;
}

.card-aliados-text{
    width: 45%;
    flex: 1;
    background-color: var(--main-black);
    color: var(--white);
    padding: 6rem 2rem 0px 3rem;
    max-width: 45%;
}

.card-aliados-img{
    width: 55%;
    flex: 1;
}

.card-aliados:nth-child(1) .card-aliados-img{
    background: url("../img/aliados-baja-california.png");
    background-position: center;
    background-size: cover;
}

.card-aliados:nth-child(2) .card-aliados-img{
    background: url("../img/aliados-coahuila.png");
    background-position: center;
    background-size: cover;
}

.card-aliados:nth-child(3) .card-aliados-img{
    background: url("../img/aliados-chihuahua.png");
    background-position: center;
    background-size: cover;
}

.card-aliados:nth-child(4) .card-aliados-img{
    background: url("../img/aliados-nuevo-leon.png");
    background-position: center;
    background-size: cover;
}

.card-aliados:nth-child(5) .card-aliados-img{
    background: url("../img/aliados-san-luis.png");
    background-position: center;
    background-size: cover;
}

.card-aliados:nth-child(6) .card-aliados-img{
    background: url("../img/aliados-sonora.png");
    background-position: center;
    background-size: cover;
}

.card-aliados:nth-child(7) .card-aliados-img{
    background: url("../img/aliados-tamaulipas.png");
    background-position: center;
    background-size: cover;
}

.card-aliados-img:hover{
    scale: 1.1;
}

.texto-aliados{
    font-size: 18px;
    word-break: break-all;
}

#contacto{
    min-height: 932px;
    display: flex;
    height: auto;
    flex-wrap: wrap;
    /* align-items: center; */
    /* flex-direction: row; */
    /* justify-content: stretch; */
}

.container-form-contacto{
    width: 60%;
    /* flex: 1; */
    padding: 4rem 4rem 0px 0px;
    display: flex;
    align-items: center;
}

.form-contacto{
    width: 700px;
    position: relative;
    margin-left: auto;
}

.container-contacto{
    width: 40%;
    background-color: var(--darker-green);
    display: flex;
    align-items: center;
    padding: 6rem 2rem 0px 4rem;

    /* flex: 1; */
}

#btnBuscarCursosFormContacto{
    width: 100%;
}

.datos-contacto{
    color: var(--white);
}


@media (max-width: 991.98px) {
    
    .beneficios-programa{
        width: 90%;
    }
    .card-aliados{
        width: 92%;
        margin: auto;        
    }
    .container-aliados {        
        grid-template-columns: repeat(auto-fill, 100%);        
    }
}

@media (max-width: 767.98px) {
    .container-form-contacto{
        width: 100%;
        padding: 4rem;
    }

    .container-contacto{
        width: 100%;
        padding: 4rem;
    }

    .texto-aliados{
        font-size: 0.9rem;
    }

    .card-aliados-text{        
        padding: 1rem 1rem 1rem 1rem;
        
    }
    .card-aliados{
        height: 350px;
    }
}


.beneficios-programa .item-beneficio-programa:nth-of-type(1) .icono-beneficio-programa {
    background: url("../../iconos/") center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.beneficios-programa .item-beneficio-programa:nth-of-type(2) .icono-beneficio-programa {
    background: url("../../iconos/") center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.beneficios-programa .item-beneficio-programa:nth-of-type(3) .icono-beneficio-programa {
    background: url("../../iconos/") center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.beneficios-programa .item-beneficio-programa:nth-of-type(4) .icono-beneficio-programa {
    background: url("../../iconos/") center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.beneficios-programa .item-beneficio-programa:nth-of-type(5) .icono-beneficio-programa {
    background: url("../../iconos/") center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}





.beneficios-programa .item-beneficio-programa:nth-of-type(1):hover .icono-beneficio-programa {
    background: url("../../iconos/") center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.beneficios-programa .item-beneficio-programa:nth-of-type(2):hover .icono-beneficio-programa {
    background: url("../../iconos/") center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.beneficios-programa .item-beneficio-programa:nth-of-type(3):hover .icono-beneficio-programa {
    background: url("../../iconos/") center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.beneficios-programa .item-beneficio-programa:nth-of-type(4):hover .icono-beneficio-programa {
    background: url("../../iconos/") center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.beneficios-programa .item-beneficio-programa:nth-of-type(5):hover .icono-beneficio-programa {
    background: url("../../iconos/") center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}