@font-face {
    font-family: 'Montserrat-Bold';
    src: url(../fuentes/Montserrat/Montserrat-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'Montserrat-Medium';
    src: url(../fuentes/Montserrat/Montserrat-Medium.ttf) format('truetype');
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url(../fuentes/Montserrat/Montserrat-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'Merriweather-Bold';
    src: url(../fuentes/Merriweather/Merriweather-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'Merriweather-Light';
    src: url(../fuentes/Merriweather/Merriweather-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'Merriweather-Medium';
    src: url(../fuentes/Merriweather/Merriweather-Medium.ttf) format('truetype');
}

@font-face {
    font-family: 'Italic';
    src: url(../fuentes/Italic/lucida-calligraphy-italic.ttf) format('truetype');
}

:root {
    /*################ TIPOGRAFIA DE TEXTO ################*/
    /*################ TIPOGRAFIA DE TEXTO ################*/
    --fs-h1: clamp(1.375rem, 1.6vw + 1rem, 3.75rem);
    --fs-h2: clamp(1.25rem, 1.5vw + 0.75rem, 3rem);
    --fs-h3: clamp(1.125rem, 1.4vw + 0.5rem, 2.25rem);
    --fs-h4: clamp(1rem, 1.2vw + 0.25rem, 1.75rem);
    --fs-body: clamp(0.95rem, 1vw + 0.5rem, 1.5rem);
    --fs-small: clamp(0.875rem, 0.8vw + 0.25rem, 1.2rem);
    --fs-xs: clamp(0.75rem, 0.6vw + 0.2rem, 1rem);

    /*################ NEGRILLA AL TEXTO ################*/
    /*################ NEGRILLA AL TEXTO ################*/
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    /*################## MARGENES ##################*/
    /*################## MARGENES ##################*/
    --mb-1: .5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;
    --mb-6: 3rem;
    /*################## z-index ##################*/
    /*################## z-index ##################*/
    --toolkid: 100;
    --index-1: 10;
    --index-2: 30;
    --index-3: 60;
    --index-4: 90;

    /*######## Color Fondo Principal ########*/
    /*######## Color Fondo Principal ########*/
    --body-color: #ebeff1;
    /*######## Colores Segundarios ########*/
    /*######## Colores Segundarios ########*/
    --color-principal: #3e4a61;
    --color-segundario: #4e6b50;
    --color-terciario: #009100;
}


/*########################## PÁGINA PRINCIPAL ##########################*/
/*########################## PÁGINA PRINCIPAL ##########################*/
/*########################## PÁGINA PRINCIPAL ##########################*/
/*########################## PÁGINA PRINCIPAL ##########################*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


body {
    background: var(--body-color);
    overflow-x: hidden;
}

.animate-item {
    opacity: 0;
    visibility: hidden;
}

.animate-item.is-animated {
    opacity: 1;
    visibility: visible;
}

a {
    text-decoration: none;
    color: white;
    font-family: 'Montserrat-Bold';
}

ul {
    list-style: none;
}

/*###################### ESTILOS DEL BANNER ######################*/
/*###################### ESTILOS DEL BANNER ######################*/
/*###################### ESTILOS DEL BANNER ######################*/
/*###################### ESTILOS DEL BANNER ######################*/
.section-banner-curriculum {
    width: 100%;
}

.banner-overlay {
    min-height: 80vh;
    background-image: url(../../img/fondos/library-background-one.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    gap: 80px;
}

.banner-overlay .banner-info {
    width: 34%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-info .info-position {
    width: 100%;
}

.banner-info .info-position .banner-title {
    font-size: var(--fs-h1);
    margin-bottom: 30px;
    font-family: 'Merriweather-Bold';
    color: white;
}

.banner-info .info-position .banner-contact {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px 10px;
}

.info-position .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-position .contact-item a {
    font-size: var(--fs-body);
    font-family: 'Montserrat-Medium';
}

.info-position .contact-item i {
    color: white;
    font-size: var(--fs-body);
}

.info-position .contact-item span {
    color: white;
    font-size: var(--fs-body);
    font-family: 'Montserrat-Medium';
}

.banner-overlay .banner-image {
    width: 34%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.banner-overlay .banner-image img {
    width: 100%;
}

/*=========================
   DESCRIPCIÓN INFERIOR
=========================*/
.detail-description {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.description-container {
    width: 60%;
    background: #3E6B4F;
    padding: 40px 60px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
}

.description-container p {
    color: white;
    font-size: var(--fs-body);
    font-family: 'Montserrat-Light';
    line-height: 1.8;
}

/*###################### ESTILO BOTONES PESTAÑAS ######################*/
/*###################### ESTILO BOTONES PESTAÑAS ######################*/
/*###################### ESTILO BOTONES PESTAÑAS ######################*/
/*###################### ESTILO BOTONES PESTAÑAS ######################*/
.section-curriculum {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 3rem 0rem 3rem 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-curriculum .title-curriculum {
    font-size: var(--fs-h1);
    font-family: 'Montserrat-Bold';
    color: var(--color-segundario);
    margin-bottom: var(--mb-3);
}

.section-curriculum .group-cards {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 48px;
    row-gap: 40px;
}

/*###### CARD ######*/
/*###### CARD ######*/
.section-curriculum .group-cards .card-curriculum {
    background-color: white;
    width: 280px;
    padding: 18px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.group-cards .card-curriculum .content-imgname {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.group-cards .card-curriculum .content-imgname img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.group-cards .card-curriculum .content-imgname p {
    font-size: var(--fs-body);
    font-family: 'Montserrat-Bold';
}

.section-curriculum .group-cards .card-curriculum hr {
    border: none;
    height: 2px;
    width: 100%;
    margin-top: 4px;
    background-color: var(--color-terciario);
}

.group-cards .card-curriculum .content-btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

.group-cards .card-curriculum .content-btn a {
    background-color: var(--color-segundario);
    border: 0;
    border-radius: 5px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: var(--fs-body);
    font-family: 'Montserrat-Medium';
    padding: 6px 20px;
    cursor: pointer;
    transition: .5s;
    margin: 14px 0px 0px 0px;
}

/*###################### ESTILO DE LOS ACORDEONES ######################*/
/*###################### ESTILO DE LOS ACORDEONES ######################*/
/*###################### ESTILO DE LOS ACORDEONES ######################*/
/*###################### ESTILO DE LOS ACORDEONES ######################*/
.section-formation {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1rem 0rem 3rem 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*####### ESTILO DE LA BARRA DEL ACORDEON ########*/
/*####### ESTILO DE LA BARRA DEL ACORDEON ########*/
.cont-acordeon {
    width: 86%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 6px;
    margin-bottom: 40px;
    box-shadow: 0 15px 25px rgba(0, 0, 50, 0.2);
}

.cont-acordeon .toggle {
    font-family: 'Montserrat-Bold';
}

.cont-acordeon .toggle strong i {
    padding-right: 10px;
}

.cont-acordeon .content-toggle {
    width: 100%;
    padding: 0px 20px;
    border-right: 4px solid #1c7c3c;
    border-bottom: 4px solid #1c7c3c;
    box-sizing: border-box;
    border-radius: 6px;
}

.cont-acordeon .toggle {
    width: 100%;
    padding: 0px 40px;
    background-color: transparent;
    justify-content: space-between;
    display: flex;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: var(--fs-body);
    padding: 15px 0;
}

/*######## SECCION QUE ENCAPSULA LOS CARDS #########*/
/*######## SECCION QUE ENCAPSULA LOS CARDS #########*/
.cont-acordeon .section-list {
    width: 96%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-in-out, padding 0.3s ease-in-out;
    padding-top: 0px;
}

/*########## ESTILO DE LOS CARDS DEL ACORDEON ##########*/
/*########## ESTILO DE LOS CARDS DEL ACORDEON ##########*/
.section-list .timeline {
    width: 100%;
    margin-bottom: 22px;
}

.section-list.active {
    padding-top: 10px;
}

.section-list .timeline-item {
    display: grid;
    grid-template-columns: 20px 140px 1fr;
    align-items: start;
    gap: 1rem;
    padding: 12px 0;
    font-family: 'Merriweather-Medium';
    font-size: var(--fs-body);
}

.section-list .timeline-icon {
    color: #2e7d32;
}

.section-list .timeline-year {
    text-align: center;
}

/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
@media (max-width: 1024px) {
    .banner-overlay {
        gap: 40px;
    }

    .banner-overlay .banner-info {
        width: 45%;
    }

    .banner-overlay .banner-image {
        width: 45%;
    }

    .description-container {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .banner-overlay {
        flex-direction: column;
        padding-top: 40px;
        padding-bottom: 0;
        min-height: auto;
        gap: 0;
    }

    .banner-overlay .banner-info {
        width: 90%;
        text-align: center;
        padding-bottom: 20px;
        margin: 0 auto;
    }

    .banner-info .info-position .banner-contact {
        justify-content: center;
        grid-template-columns: 1fr;
    }

    .info-position .contact-item {
        justify-content: center;
    }

    .banner-overlay .banner-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .banner-overlay .banner-image img {
        width: 100%;
        display: block;
    }

    .detail-description {
        margin-top: 0px;
    }

    .description-container {
        width: 90%;
        padding: 30px 20px;
    }

    .cont-acordeon {
        width: 95%;
    }

    .section-list .timeline-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-list .timeline-item i {
        display: none;
    }
}