@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Carattere&family=Charm:wght@400;700&family=Lexend+Giga:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=WDXL+Lubrifont+JP+N&display=swap');

:root {
    --padding-container: 100px 0;
    --color-title: #001A49;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
   
}

.hero {
    width: 100%;
    height: 15vh;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    background-color: #024CAA;
    position: fixed;
    z-index: 101;
}


/* Nav */

.nav {
    --padding-container: 20px;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav_logo_img {
    width: 210px;
    height: 100px;
    display: block;
}

@media (max-width: 1170px) {
    .nav_logo_img {
    display: none;
  }
}

@media (max-height: 664px) {
    .nav_logo_img {
    display: none;
  }
}


@media (max-width: 797px) {
    .imgnclc {
    display: none;
  }
}
.nav__link {
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
}

.nav__items {
    list-style: none;
}


.nav__links {
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav__menu {
    margin-left: auto;
    cursor: pointer;
    display: none;
}

*.nav__img {
    display: block;
    width: 40px;
}

.nav__close {
    display: var(--show, none);
}


.list_button{
    display: flex;
    align-items: center;
    gap: 1em;
    margin: 0 auto;
}

.list_button:hover{
    background-color: #EC8305;
    border-radius: 8px;
}

.menu-vertical{
	position: absolute;
	display: none;
	list-style: none;
	width: 240px;
	background-color: rgba(2, 75, 170, 0.892);
    padding-left: 0;
    margin-left: 0;
    border-radius: 15px;
}

.nav__link li:hover .menu-vertical{
	display: block;
}
.menu-vertical li:hover{
	background-color: #EC8305;
    border-radius: 15px;
}

.menu-vertical li a{
	display: block;
	color: rgb(255, 255, 255);
	text-decoration: none;
    list-style: none;
	padding: 10px 10px 10px 15px;
}


/*Carrusel*/
.contenedor{
    max-width: 1040px;
    margin: 0 auto;
}
.contenedorswiper{
     margin-top: -120px;
    background-color: #e5e5f7;
    background-image: radial-gradient(#EC8305 1px, transparent 0.5px), radial-gradient(#11ad18 1px, #e5e5f7 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.swiper{
    border-radius: 9px;
    margin-top: 50 px;
}

.swiper-slide{
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: #ffffff;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    height: 420px;
    width: 295px;
}

.swiper-slide img {
    width: 295px;
    border-radius: 9px;
    height: 420px;
}

@media(max-width:991px) {
    .swiper {
        padding: 0 70px;
    }

    .swiper-slide img {
        width: 100%;
    }
}


/* About */

.about {
    text-align: center;
}

.subtitle {
    color: #EC8305;
    font-size: 2rem;
    margin-bottom: 25px;
}


.subtitlenclc {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.nclc{
    padding-top: 50px;
    text-align: center;
    color: #EC8305;
}

.subncls{
    font-size: 1.6rem;
    text-align: center;
    color: #091057;
    padding-bottom: 20px;
}

.subprin{
    font-weight: bold;
    font-size: 3rem;
    text-align: center;
    color: #EC8305;
    padding-bottom: 20px;
    line-height: 1.7;
}

.about__paragraph {
    line-height: 1.7;
    padding-bottom: 30px;
}

.about__main {
    padding-top: 80px;
    padding-bottom: 80px;
    display: grid;
    width: 100%;
    margin: 0 auto;
    gap: 1em;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(260px, auto));
}


.about__icons {
    display: grid;
    gap: 2em;
    justify-items: center;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.about__icon {
    width: 40px;
}

/* Knowledge */

.knowledge {
    margin-top: 110px;
    background-color: #e5e5f7;
    background-image: radial-gradient(#EC8305 1px, transparent 0.5px), radial-gradient(#11ad18 1px, #e5e5f7 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    overflow: hidden;
}

.knowledge__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4em;
    align-items: center;
    margin-bottom: -80px;
    padding-top: 0px;
    padding-left: 30px;
    padding-right: 30px;
}

.knowledge__picture{
    max-width: 500px;
    
}

.knowledge__paragraph{
    line-height: 1.7;
}

.knowledge__img{
    width: 450px;
    height: 350px ;
    display: block;
    border-radius: 10%;
}




/* Testimony */

.testimony{
    background-color: #e5e5f7;
}

.testimony__container{
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 1em;
    align-items: center;
}

.testimony__body{
    display: grid;
    grid-template-columns: 1fr max-content;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    grid-column: 2/3;
    grid-row: 1/2;
    opacity: 0;
    pointer-events: none;
}


.testimony__body--show{
    pointer-events: unset;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
}

.testimony__img{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
}

.testimony__texts{
    max-width: 700px;
}

.testimony__course{
    background-color: #091057;
    color: #fff;
    display: inline-block;
    padding: 5px;
}

.testimony__arrow{
    width: 90%;
    cursor: pointer;
}

.testimony_link{
    text-decoration: none;
    font-weight: bold;
    font-size: large;
}

/* Questions */

.questions{
    text-align: center;
}

.questions__container{
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
}

.questions__padding{
    padding: 0;
    transition: padding .3s;
    border: 1px solid #091057;
    border-radius: 6px;
}

.questions__padding--add{
    padding-bottom: 30px;
}

.questions__answer{
    padding: 0 30px 0;
    overflow: hidden;
}

.questions__title{
    text-align: left;
    display: flex;
    font-size: 20px;
    padding: 30px 0 30px;
    cursor: pointer;
    color: var(--color-title);
    justify-content: space-between;
}

.questions__arrow{
    border-radius: 50%;
    background-color: var(--color-title);
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    margin-left: 10px;
    transition:  transform .3s;
}

.questions__arrow--rotate{
    transform: rotate(180deg);
}

.questions__show{
    text-align: left;
    height: 0;
    transition: height .3s;
}

.questions__img{
    display: block;
}

.questions__copy{
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
}

/* LINE */

h1{
    display: inline-block;
    position: relative;
    cursor: pointer;
    color: #091057;
}

h1:hover{
    filter: drop-shadow(1px 1px 20px #3e14ff);
}

h1::after,h1::before{
    padding: -500px;
    content: '';
    position: absolute;
    width: 120px;
    height: 3px;
    background-color: #091057;
    top: 0.6em;
}

h1::before{
    left: -140px;
}

h1::after{
    right: -140px;
}


/* Footer */

.footer{
    background-color: #024CAA;
}

.footer__title{
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
}

.footer__title, .footer__newsletter{
    color: #fff;
}


.footer__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 60px;
}

.nav--footer{
    padding-bottom: 20px;
    display: grid;
    gap: 1em;
    grid-auto-flow: row;
    height: 100%;
}

.nav__link--footer{
    display: flex;
    margin: 0;
    margin-right: 20px;
    flex-wrap: wrap;
}

.footer__inputs{
    margin-top: 10px;
    display: flex;
    overflow: hidden;
    
    justify-content: center;
}

.footer__submit{
  
    display: inline-block;
    height: 50px;
    width: 100%;
    padding: 0 20px ;
    background-color: #EC8305;
    border: none;
    font-size: 1rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.footer__copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #fff;
}

.footer__copyright{
    font-weight: 300;
}

.footer__icons{
    margin-bottom: 10px;
}

.footer__img{
    width: 30px;
}



@media (max-width:800px){
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed;
        background-color: #024CAA;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav__link--show{
        --show: block;
        opacity:1 ;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }

    .hero__title{
        font-size: 2.5rem;
    }


    .about__main{
        gap: 2em;
    }

    .about__icons:last-of-type{
        grid-column: 1/-1;
    }


    .knowledge__container{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }

    .knowledge__picture{
        grid-row: 1/2;
        justify-self: center;
    }

    .testimony__container{
        grid-template-columns: 30px 1fr 30px;
    }

    .testimony__body{
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;
        justify-items:center ;
    }


    .testimony__img{
        width: 200px;
        height: 200px;
        
    }

    .footer__container{
        flex-wrap: wrap;
    }

    .nav--footer{
        width: 100%;
        justify-items: center;
    }

    .nav__link--footer{
        width: 100%;
        justify-content: space-evenly;
        margin: 0;
    }

    .footer__form{
        width: 100%;
        justify-content: space-evenly;
    }

    .footer__input{
        flex: 1;
    }

}

@media (max-width:600px){
    .hero__title{
        font-size: 2rem;
    }

    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }


    .testimony{
        --padding-container: 60px 0;
    }

    .testimony__container{
        grid-template-columns: 28px 1fr 28px;
        gap: .9em;
    }

    .testimony__arrow{
        width: 100%;
    }

    .testimony__course{
        margin-top: 15px;
    }

    .questions__title{
        font-size: 1rem;
    }

    .footer__title{
        justify-self: start;
        margin-bottom: 15px;
    }

    .nav--footer{
        padding-bottom: 60px;
    }

    .nav__link--footer{
        justify-content: space-between;
    }

    .footer__inputs{
        flex-wrap: wrap;
    }

    .footer__input{
        flex-basis: 100%;
        margin: 0;
        margin-bottom: 16px;
    }

    .footer__submit{
        margin-right: auto;
        margin-left: 0;
    }

    
}
