@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;600;700&display=swap');

html{
    scroll-behavior: smooth;
}

:root{
    --padding-container: 100px 0;
    --color-title: #133f91;
}

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

::-webkit-scrollbar {
    display: none;
}





.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
  }
  
  .modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  /* Close Button */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
  }
  
  .close-btn:hover {
    color: #000;
  }

  @media (max-width: 768px) {
    .modal-image {
        display: none;
    }
    .modal-content{
        display: none;
    }
    .modal{
        display: none;
    }
}



.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: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #00000083 0%, #00000083 100%  ), url('../images/IMG/Fondo\ Index.jpg') ;
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    z-index: -1;
}



/*nav*/

.nav{
    --padding-container:0;

    height: 100%;
    display: flex;
    align-items: center;
}

.nav_title{
    width:  260px;
    height: 80px;
    object-position:  50% 30%;
}
    


.nav_items{
    list-style: none;
}

.nav_link{
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;

}

.nav_links{
    color: #fff;
    text-decoration: none;

}

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

}

.nav_img{
    display:block;
    width: 30px;

}

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

/* 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:#0088cf;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;

}


/*About*/

.about{
    text-align: center;
}
.about_title{
    text-decoration: none;
}

.subtitle{
    color: #fff;
    font-size: 4rem;
    margin-bottom: 25px;

}

.subtitle1{
    color: #002052;
    font-size: 4rem;
    margin-bottom: 25px;
}

.about_paragraph{
    line-height: 1.7;
    text-decoration: none;

}

.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(#002052 0.5px, transparent 0.5px), radial-gradient(#002052 0.5px, #a9dae9 0.5px);
    background-size: 20px 20px;
    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;

}

/*Catalogo vista previa*/

.catalogo{
    text-align: center;

}

.catalogo_table{
    padding-top: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
    justify-content: space-evenly;
    align-items: center;


}

.catalogo_element{
    background-color: #a9dae9;
    text-align: center;
    border-radius: 10px;
    width: 330px;
    padding: 40px;
    --color-plan: #002052;
    --color-catalogo:#1D293f;
    --bg-cta: #fff;
    --color-cta: #5454D4;
    --color-items:#696871;
}

.product_name{
    color: var(--color-plan);
    margin-bottom: 15px;
    font-weight: 600;
}

.Neurologia{
    font-size: 2.5rem;
    color: var(--color-items);
    
}

.img_recuadros{
    width: 100%;
    display: block;

}

.catalogo_items{
    margin-top: 35px;
    display: grid;
    gap: 1em;
    font-weight: 300;
    font-size: 1.3rem;
    margin-bottom: 50px;
    color: var(--color-items);


}

.catalogo_cta{
    background-color:#0088cf;
    display: block;
    padding: 20px 0;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 1px rgb(0, 0, 0, .5);
    color: #fff;
} 

/*Slider*/

.slider{
    background-color: #a9dae9;
    background-image: linear-gradient(180deg, #00000071 0%, #00000071 100%  ), url('../images/Neuro_img.png') ;

}

.slider_container{
    
    margin-top: 20px;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 1em;
    align-items: center;

}

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

/*este es el que controla la animacion*/

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

.slider_img{
    
    width: 100%;
    height: 100%;
    
    object-fit: cover;
    object-position:  center;

}

.slider_text{
    max-width: 700px;

}

.slider_course{

    color: #ffffff;
    display: inline-block;
    padding: 5px;
}

.slider_arrow{
    width: 80%;
    cursor: pointer;
    color: #fff;
}

.slider_paragraph{
    color: #fff;
    font-size: 1.3rem;
}

.slider_cta{
    width: 150px;
    margin-top: 20px;
    display: inline-block;
    background-color:#0088cf;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 32px;
    text-align: center;
    
    
}

/*questions*/

.questions{
    text-align: center;

}

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

}

.questions_padding{
    padding: 0;
    transition: padding .4s;
    border: 1px solid #0088cf;
    border-radius: 6px;

}

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

.questions_answer{
    padding: 0px 30px;
    overflow: hidden;

}

.questions_title{
    text-align: left;
    display: flex;
    font-size: 20px;
    padding: 30px 0 30px;
    cursor: pointer;
    color: #001A49;
    justify-content: space-between;

}

.questions_arrow{
    border-radius: 50%;
    background-color: #001A49;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-items: flex-end;
    margin-left: 10px;
    transition: transform .4s;

}

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

.questions_show{
    text-align: left;
    height: 0;
    transition: height .4s;
}

.questions_img{
    display: block;
}

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

.marca{
    text-decoration: none;
    font-weight: 400;
    color: #000;
}

/*footer*/

.footer{
    background-color: #1D293f;
}

.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: flex;
}

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


.footer_inputs{
    margin-top: 10px;
    display: flex;
    overflow: hidden;
}

/*.footer_input{
    background-color: #fff;
    height: 50px;
    display: block;
    padding-left: 10px;
    border-radius:  6px;
    font-size: 1rem;
    outline: none;
    border: none;
    margin-right: 16px;

} */

.footer_submit{
    margin-left: auto;
    display: inline-block;
    height: 50px;
    padding: 0 20px;
    background-color: #0088cf;
    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;
    color: #fff;
}

.footer_icons{
    display: inline-flex;
    margin-bottom: 10px;

}

.footer_img{
    width: 30px;

}

.footer_paragraph{
    margin-top: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.swiper {
    width: 100%;
    height: 500px;
    background: #f7f7f7;
}

.swiper-slide{
    position: relative;
}

.slider-text {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 0 50px;
    position: absolute;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}
.slider-text > * {
    margin-left: 30px;
    max-width: 500px;
}


/*Media*/

@media (max-width:801px){

    



    .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;

    }

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

    }

    .slider_body{
        grid-template-columns: 1fr;
        grid-template-rows: max-content;
        gap: 3em;

    }

   
    

    

    .questions_copy{
        width: 100%;

    }

    .footer_container{
        flex-wrap: wrap;

    }

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

    .nav_link--footer{
        width: 100%;
        
        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;
    }

    .subtitle1{
        font-size: 1.8rem;
    }

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

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

    .slider_arrow{
        width: 100%;

    }

    .slider_course{
        margin-top: 15px;
    }

    .questions_arrow{
        margin-right: 20px;
    }

    .questions_title{
        font-size: 1rem;

    }

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

    }

    .nav--footer{
        padding-bottom: 40px;

    }

    .footer_inputs{
        flex-wrap: wrap;

    }

        .nav_link--footer{
            margin-left: auto;

        }

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

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

    


}