@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --padding-container: 100px 0;
    --color-title: #001A49;
}

body {
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.hero {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 90%;
    height: 100%;
    background-image: url('../images/payment.png');
    background-size: 60%; /* Ajusta el porcentaje según el tamaño deseado */
    background-repeat: no-repeat; /* Evita la repetición del fondo */
    background-position: center center; /* Centra la imagen */
    transform: translateX(-50%);
    z-index: -1;
}


/* Nav */
/* Header */
.hero {
    padding: 20px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav__logo {
    font-size: 24px;
}

.nav__title {
    color: #1D293F; /* Color azul para el texto del logo */
}

.nav__link {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav__links {
    color: #1D293F; /* Color azul para los enlaces */
    text-decoration: none;
    font-size: 18px; /* Tamaño de letra más grande */
}

.nav__links:hover {
    text-decoration: underline;
}

.nav__menu, .nav__close {
    display: none; /* Ocultar iconos de menú y cierre por defecto */
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    .nav__menu {
        display: block;
    }

    .nav__link {
        display: none; /* Ocultar enlaces en móvil por defecto */
    }

    .nav__link--menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: white;
        border: 1px solid #ccc;
        padding: 10px;
        width: 200px;
    }

    .nav__close {
        display: block;
        cursor: pointer;
    }

    .nav__link--menu.active {
        display: flex; /* Mostrar menú cuando esté activo */
    }
}



/* Hero container */

.hero__container {
    max-width: 800px;
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 100px;
    text-align: center;
}

.hero__title {
    font-size: 3rem;
}

.hero__paragraph {
    margin-bottom: 20px;
}

.cta {
    display: inline-block;
    background-color: #2091F9;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
}

/* About */

.about {
    text-align: center;
}

.subtitle {
    color: var(--color-title);
    font-size: 2rem;
    margin-bottom: 25px;
}


.about__paragraph {
    line-height: 1.7;
}

.about__main {
    padding-top: 80px;
    display: grid;
    width: 90%;
    margin: 0 auto;
    gap: 1em;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(260px, auto));
}


.about__icons {
    display: grid;
    gap: 1em;
    justify-items: center;
    width: 260px;
    overflow: hidden;
    margin: 0 auto;
}

.about__icon {
    width: 40px;
}

/* Knowledge */

.knowledge {
    background-color: #e5e5f7;
    background-image: radial-gradient(#444cf7 0.5px, transparent 0.5px), radial-gradient(#444cf7 0.5px, #e5e5f7 0.5px);
    background-size: 30px 30px;
    background-position: 0 0, 10px 10px;
    overflow: hidden;
}

.knowledge__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
}

.knowledge__picture{
    max-width: 500px;
}

.knowledge__paragraph{
    line-height: 1.7;
    margin-bottom: 15px;
}

.knowledge__img{
    width: 100%;
    display: block;
}

/* price */

.price{
    text-align: center;
}

.price__table{
    padding-top: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
    justify-content: space-evenly;
    align-items: center;
}

.price__element{
    background-color: #e5e5f7;
    text-align: center;
    border-radius: 10px;
    width: 330px;
    padding: 40px;
    --color-plan: #696871;
    --color-price: #1D293F;
    --bg-cta: #fff;
    --color-cta: #5454D4;
    --color-items: #696871;
}

.price__element--best{
    width: 370px;
    padding: 60px 40px;
    background-color: #FF7143;
    --color-plan: rgb(255 255 255 / 75%);
    --color-price: #fff;
    --bg-cta: #9F3919;
    --color-cta: #FFF;
    --color-items: #fff;
}


.price__name{
    color: var(--color-plan);
    margin-bottom: 15px;
    font-weight: 300;
}

.price__price{
    font-size: 2.5rem;
    color: var(--color-price);
}

.price__items{
    margin-top: 35px;
    display: grid;
    gap: 1em;
    font-weight: 300;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--color-items);
}

.price__cta{
    display: block;
    padding: 20px 0;
    border-radius: 10px;
    text-decoration: none;
    background-color: var(--bg-cta);
    font-weight: 600;
    color: var(--color-cta);
    box-shadow: 0 0 1px rgba(0, 0, 0, .5);
}

/* 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: rgb(43, 62, 117);
    color: #fff;
    display: inline-block;
    padding: 5px;
}

.testimony__arrow{
    width: 90%;
    cursor: pointer;
}

/* 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 #5454D4;
    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;
}

/* Footer */

.footer{
    background-color: #1D293F;
}

.footer__title{
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
}

.footer__title, .footer__newsletter{
    color: #fff;
}

/* Footer */

.footer {
    background-color: #1D293F;
    text-align: center; /* Centra el texto dentro del footer */
    padding: 30px 0; /* Agrega un poco de espacio arriba y abajo */
}

.footer__title {
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
}

.nav__linksdowntwo{
   
    font-size: 1rem;
    color: #ffffff;


}

/* Footer */

.footer {
    background-color: #1D293F;
    padding: 30px 0; /* Agrega un poco de espacio arriba y abajo */
}

.footer__container {
    display: flex;
    justify-content: space-between; /* Separa los elementos a los extremos */
    align-items: center; /* Centra los elementos verticalmente */
    border-bottom: 1px solid #fff;
    padding-bottom: 50px; /* Ajusta el espacio inferior según sea necesario */
    padding: 0 20px; /* Agrega un poco de espacio lateral */
}

.footer__left, .footer__right {
    display: flex;
    align-items: center;
}

.footer__left {
    flex: 1; /* Ocupa el espacio disponible */
}

.footer__right {
    flex: 1; /* Ocupa el espacio disponible */
    justify-content: flex-end; /* Alinea el contenido a la derecha */
}

.footer__title {
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.nav--footer {
    display: grid;
    gap: 1em;
    grid-auto-flow: row;
    justify-content: center; /* Centra las filas del grid horizontalmente */
}

.nav__link--footer {
    display: inline-flex; /* Cambia a inline-flex para alinear mejor los enlaces */
    margin: 0;
    margin-right: 20px;
    flex-wrap: wrap;
}

.footer__inputs {
    display: flex;
    justify-content: center; /* Centra los inputs horizontalmente */
    margin-top: 10px;
    gap: 16px; /* Espacio entre los inputs y el botón */
}

.footer__input {
    background-color: #fff;
    height: 50px;
    padding-left: 10px;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    border: none;
}

.footer__submit {
    display: inline-block;
    height: 50px;
    padding: 0 20px;
    background-color: #2091F9;
    border: none;
    font-size: 1rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.footer__copy {
    padding: 30px 0; /* Agrega espacio arriba y abajo */
    color: #fff;
    text-align: center; /* Centra el texto en esta sección */
}

.footer__copyright {
    font-weight: 300;
}

.footer__icons {
    margin-bottom: 10px;
}

.footer__img {
    width: 30px;
    margin: 0 5px; /* Añade un pequeño margen a los lados de las imágenes */
}

/* Media queries */

@media (max-width:800px){
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        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;
        
    }

    .questions__copy{
        width: 100%;
    }

    .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;
    }
    .nav__linksdowntwo {
        color: white; /* Cambia el color del texto a blanco */
    }
    

}

@media (max-width:600px){
    .hero__title{
        font-size: 2rem;
    }

    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }

    .price__element{
        width: 90%;
    }

    .price__element--best{
        width: 90%;
        /* padding: 40px; */
    }

    .price__price{
        font-size: 2rem;
    }

    .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;
        

        /* 
        margin:0;
        width: 100%;
        */
    }
}

.footer__form {
    background-color: #333; /* Fundo escuro */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px; /* Aumentado de 300px para 400px */
    text-align: center;
}

.footer__newsletter {
    color: #fff; /* Texto branco */
    margin-bottom: 15px;
}

.footer__inputs {
    margin-bottom: 15px;
}

.footer__input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #555; /* Borda escura */
    border-radius: 5px;
    background-color: #444; /* Fundo escuro para o campo de entrada */
    color: #fff; /* Texto branco dentro do campo */
}

.footer__submit {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer__submit:hover {
    background-color: #0056b3;
}

.footer__contact {
    margin-top: 20px;
    color: #fff; /* Texto branco */
    text-align: left;
}

.footer__contact p {
    margin: 5px 0;
}

.footer__contact a {
    color: #fff; /* Texto branco */
    text-decoration: none;
}

.footer__contact a:hover {
    text-decoration: underline;
}

/*navbar*/

/* Paneles */
.price_container {
    text-align: center;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 2rem 0; /* Margen arriba y abajo */
}

.price__elements {
    display: flex;
    justify-content: center; /* Centrando elementos horizontalmente */
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1000px; /* Ancho máximo del contenedor */
    margin: 0 auto; /* Centrando el contenedor */
}

.price__element {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
    flex: 1 1 300px; /* Ancho fijo para los elementos */
    margin: 0.5rem;
}

.price__element:hover {
    transform: translateY(-10px);
}

.price__price {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.price__cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.price__cta:hover {
    background-color: #0056b3;
}



/* preguntas frecuentes*/
.questions__offer {
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem auto; /* Centrando el bloque con margen superior e inferior */
    max-width: 800px; /* Ancho máximo del contenedor */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 2rem;
    color: var(--color-title);
    margin-bottom: 1rem;
}

.questions__copy {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}


/*Formulario de vacante*/


.form-container {
    display: none;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-container label {
    display: block;
    margin: 0.5rem 0;
    color: #555;
}
.form-container input, .form-container select, .form-container textarea {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.form-container input[type="file"] {
    padding: 0;
}
.form-container button {
    background-color: #007bff;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
}
.form-container button:hover {
    background-color: #0056b3;
}

/* Estilos del Contenedor de la Sección */
.sectionSaltos {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Estilos del Título */
.sectionSaltos h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

/* Estilos del Texto */
.sectionSaltos p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Estilos de los Beneficios y Requisitos */
.benefits, .requirements {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.benefits h3, .requirements h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #007bff;
}

.benefits ul, .requirements ul {
    list-style: none;
    padding: 0;
}

.benefits li, .requirements li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
}

/* Estilos del Botón */
.button {
    display: inline-block;
    padding: 12px 20px;
    font-size: 18px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}