.educacao-executiva {
    width: 100%;
    transition: .3s ease;
}

.educacao-executiva .topo {
    padding: 94px 0 0 0;
    background-image: url('../images/topo-educacao.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.educacao-executiva h1 {
    width: 100%;
    font-size: 48px;
    text-transform: uppercase;
    color: #0E294D;
}

.educacao-executiva h4 {
    width: 100%;
    font-size: 30px;
    text-transform: uppercase;
    color: #A64B11;
}

.educacao-executiva p {
    font-size: 30px;
    line-height: 32px;
    color: #4A4A4A;
}

.educacao-executiva .container {
    max-width: 1400px;

}

.educacao-executiva ul {
    line-height: 32px;
    margin: 0;
    padding: 60px 0;
}

.educacao-executiva li {
    font-size: 27px;
    list-style: none;
}

.educacao-executiva .btn-area button {
    color: #FFFFFF;
    border-color: #4F81BD;
    border-radius: 20px;
    text-transform: none;
    font-size: 32px;
}

.educacao-executiva .btn-area button:hover {
    background: #4F81BD;
}

.educacao-executiva .btn-area button.active {
    background: #4F81BD;
}

#conteudoTecnicos {
    padding: 68px 0;
}

#conteudoGestao {
    padding: 0;
}

#conteudoTecnicos,
#conteudoGestao {
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
}

#conteudoTecnicos.hidden,
#conteudoGestao.hidden {
    opacity: 0;
    visibility: hidden;
    height: 100%;
    overflow: hidden;
    position: absolute;
}

/* Mantenha o container pai com posição relativa */
.container.d-flex {
    position: relative;
    padding: 80px 0;
}

#backgroundContainer {
    transition: background-image 0.4s ease;
    background-color: rgb(14, 41, 77);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    color: rgb(255, 255, 255);
    padding: 50px 0px;
    min-height: 640px;
}

.background-tecnicos {
    background-image: url('../images/trabalhador.png');
}
    
.background-gestao {
    background-image: url('../images/treinamento-gestao-1.png');
}

@media (max-width: 767.98px) {
    .fs-custom-gigante {
        font-size: 2rem;
        /* 32px */
    }
}


@media (max-width: 575.98px) {
    .educacao-executiva {
        width: 100%;
        transition: .3s ease;
    }

    .educacao-executiva .topo {
        padding: 80px 20px 0;
        background-image: url('../images/topo-educacao.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .educacao-executiva h1 {
        width: 100%;
        font-size: 36px;
        text-transform: uppercase;
        color: #0E294D;
        margin: 0;
    }

    .educacao-executiva h4 {
        width: 100%;
        font-size: 22px;
        text-transform: uppercase;
        color: #A64B11;
        margin: 0;
    }

    .educacao-executiva p {
        font-size: 22px;
        line-height: 24px;
        color: #4A4A4A;
        margin: 0;
    }

    .educacao-executiva .container {
        max-width: 1400px;

    }

    .educacao-executiva ul {
        line-height: 24px;
        margin: 0;
        padding: 0 20px;
    }

    .educacao-executiva li {
        font-size: 18px;
        list-style: none;
    }

    .educacao-executiva .btn-area button {
        color: #FFFFFF;
        border-color: #4F81BD;
        border-radius: 20px;
        text-transform: none;
        font-size: 23px;
        width: 90%;
    }

    .educacao-executiva .btn-area button:hover {
        background: #4F81BD;
    }

    .educacao-executiva .btn-area button.active {
        background: #4F81BD;
    }

    #conteudoTecnicos {
        padding: 60px 0;
    }

    #conteudoGestao {
        padding: 0;
    }

    #conteudoTecnicos,
    #conteudoGestao {
        transition: opacity 0.4s ease, visibility 0.4s ease;
        opacity: 1;
        visibility: visible;
    }

    #conteudoTecnicos.hidden,
    #conteudoGestao.hidden {
        opacity: 0;
        visibility: hidden;
        height: 100%;
        overflow: hidden;
        position: absolute;
    }

    /* Mantenha o container pai com posição relativa */
    .container.d-flex {
        padding: 8% 0;
        position: relative;
    }
    
    #backgroundContainer {
        transition: background-image 0.4s ease;
        background-color: rgb(14, 41, 77);
        background-repeat: no-repeat;
        background-position: right center;
        background-size: cover;
        color: rgb(255, 255, 255);
        padding: 0px 0px;
        min-height: 640px;
    }

    .background-tecnicos {
        background-image: url('../images/mobile-treinamentos-tecnicos.jpg');
    }
    .background-gestao {
        background-image: url('../images/mobile-property.jpg');
    }

}