@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,600;0,700;1,400&display=swap');

:root{
    --color-title:#364e96;
    --color-ppal:#f4821d;
    --color-text-form: rgba( 0,0,0,1 );
    
}


body{
    font-family: 'Poppins', sans-serif;
}

body b {
    color: var(--color-ppal);
}

.displayNone{
    
    opacity: 0;  
}

.navSticky{
    position: absolute;
    top: 0;
    height: 100px;
    width: 100%;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.Title-bglight{
    background-color: var(--color-ppal);
    padding: 2em;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
}




/* -- NAV -- */
.change_color{
    background-color: #e4e4e4 !important;
}
.nav_size_small {
    height: 10vh !important;
}
.nav{
    --padding-container:0;
    height: 15vh;
    width: 100vw;
    display:flex;
    align-items:center;
    position: fixed;
    padding: 0 10vh;
    transition: all 2s;
    z-index: 2;
    background-color: #fff;
}

.nav_title{
    width: 12em;
   
}

.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{
    color: var(--color-ppal);
    text-decoration: none;
    font-weight: bold;
}

.nav_menu{
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav_close{
    display: var(--show,none) ;
}


/* -- HERO -- */

.hero {
    position: relative;
    height: 70vh;
    background: linear-gradient(rgb(255, 255, 255) 1%,#e4e4e4ab ),
    url(../img/herodesk.webp) center / cover;  ;
    overflow: hidden;
    display: flex;
    padding: 10vh 10vw 0 10vw;
    justify-content: center;
    align-items: center;
    
  }

  .hero div {
    color: var(--color-title);
    display: flex;
    align-items:center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
  }
  
  section:not(.hero) {
    padding: 5vh 0;
  }

  .hero_title{
    font-size: calc(1rem + 2vw);
    text-align: center;
    font-weight: bold;
    padding: 0 0 1em 0;
    white-space: break-word;
  }

  .hero_subtitle{
    font-size: calc(1rem + .5vw);
    text-align: center;
    font-weight:600;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    padding: 0px 50px;
  }

  .date{
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    border: 2px solid var(--color-title);
    color: var(--color-title);
    font-weight: 800;
    padding: 15px;
    margin-top: 1em;
    width: 30vw;
    text-decoration: none;
    display: flex;
    justify-content: center;
  }
  

  .contact_button{
    background-color: #128C7E;
    border-radius: 5px;
    border: 2px solid #128C7E;
    color: white;
    font-weight: 800;
    padding: 0px;
    width: 30vw;
    margin-top: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    text-decoration: none;
  }
  
  .button_img{
    width: 30px;
    margin: 10px ;
}
  .date:hover, .contact_button:hover {
    transition: all 0.5s;
    background-color: var(--color-ppal);
    color: white;
    border: 2px solid var(--color-ppal);
  }

  .reveal_button{
    display: flex;
    align-items: center;
    justify-content: center;
    position:fixed;
    transition: all 2s;
    width: 0em;
    height: 0em;
    bottom: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
    z-index: 3;
  }
  
  .reveal_button img{
    width:70%;
    height: 70%;
  }

  .reveal{
    width: 5em;
    height: 5em;
    background-color: #128C7E;
    border-radius: 1em;
  }
    


/* ABOUT */


    

.Text_large {
    font-size:larger;
    margin-top: 3vh;
}
.cta{
    display: inline-block;
    background-color: var(--color-title);
    justify-self: center;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding:13px 30px;
    border-radius: 10px ;
    border: none;
}


.about{
    text-align: center;

}

.subtitle{
    color: var(--color-title);
    font-size: 2em;
    margin-bottom: 25px;
}

/* ADVISER */

.adviser{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
}

/* brands*/

.brandrow{
    display: flex;
    flex-wrap: wrap;
    padding: 0 1em;
}
.brands {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .brands img {
    margin-top: 8px;
    vertical-align: middle;
    width: 80%;
    height: 100px;
    object-fit:contain;
  }

/* KNOWLEDGE */

.knowledge{
        overflow: hidden;
        
}
.knowledge b {
    color: var(--color-ppal);
}

.knowledge_container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
}

.knowledge_paragraph{
    font-size: larger;
    line-height: 2;
    margin-bottom: 15px;
}

.knowledge_img{
    width: 100%;
    padding:  2em;
    display: block;
}

/* PRICE */

.price{
    text-align: center;
    background-color: var(--color-ppal);
    color: #fff;
    background-image: linear-gradient(180deg, #3E40958c 100%, #3E40958c 0%), url(../img/services.webp);
    background-size: cover;
}

.price_table{
    padding-left: 1em;
    padding-right: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    align-items: center;
    justify-content: space-evenly;
    
}

.price_element{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    text-align: center;
    border-radius: 10px;
    width: 30vw;
    height: 60vh;
    padding: 40px; 
    --color-plan: #696871;
    --color-price: #1d293f;
    --bg-cta: #fff;
    --color-cta: #5454d4;
    --color-items: #45454b;
}

.price_img{
    background-color: #ffffffbd;
    position:absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}



.price_name{
    color: var(--color-plan);
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
}

.price_price{
    font-size: 2rem;
    color: var(--color-price);
    position: relative;
}

.price_items{
    margin-top: 35px;
    display: grid;
    gap: 1em;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: var(--color-items);
    position: relative;
}

.price_cta{
   background-color: var(--bg-cta); 
   padding: 20px 0;
   border-radius: 10px;
   text-decoration: none;
   display: block;
   font-weight: 600;
   color: var(--color-cta);
   box-shadow: 0 0 1px rgba(0,0,0,.5);
   position: relative;
}


.offer{
    text-align: center;
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
    background-color: lightgray;

}



/* Footer */

.footer{
    background-color: var(--color-title);
}

.footer_title{
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
}

.footer_title, .footer_newsletter{
    color: #fff;
    text-align: center;
}


.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%;
    width: 100%;
}

.nav_link--footer{
    display: flex;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.nav_links--footer{
    color:#fff;
    text-decoration: none;
}



.footer_copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #fff;
}

.footer_copyright{
    font-weight: 300;
    margin-top: 10px;
    
}

.footer_img{
    width: 30px;
    margin: 0 30px;
}

/*contacto*/

.contactDiv{
    display: flex;
    width: 100%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%), url(../img/contactback.webp);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 30px 30px 30px;
}

.contactFormDiv {
    display: grid;
    grid-template-rows: auto;
    justify-items: center;
    align-items: center;
    height: 100%;
    width: 90%;
    margin-left: 5%;
    padding: 30px 5px;    
    
}


.contactRows {
    
    flex-basis: 50%;
    margin: 0 5%;
    height: min-content;
    background-color: rgba(255,255,255,0.9);
    border-radius: 30px;
    -webkit-box-shadow: 6px 6px 0px 3px var(--color-ppal);
    -moz-box-shadow: 6px 6px 0px 3px var(--color-ppal);
    box-shadow: 6px 6px 0px 3px var(--color-ppal);

}

.inputForm{
    position: relative;
    width: 80%;
    
}

.inputForm label {
    font-size: 1em;
    color: var(--color-text-form);
    position: absolute;
    left: 5px;
    top: -20px;
    transition: 0.4s ease all;
}

input, textarea {
    
    background: none;
    color: c6c6c6;
    font-size: 18px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--color-text-form);
    resize: none;
    overflow-y: overlay;
}

textarea::-webkit-scrollbar{
    display: none;
} 

input:focus,textarea:focus{
    outline: none;
    color: rgb(41, 41, 41);
}

input:focus~label, textarea:focus~label {
    position: absolute;
    top: -25px; 
    color: var(--color-title);
    font-weight: 700;

}

.barra{
    position: relative;
    display: block;
    margin-bottom: 33.5px;

}

.barra::before{
    content: "";
    width: 0;
    bottom: 0;
    height: 2px;
    position: absolute;
    background-color: var(--color-title);
    left: 0%;
    transition: 0.6s ease all;
}

input:focus~.barra::before,textarea:focus~.barra::before{
 width: 100%;
}

.contactImg{
        width: 40%;
        display: block;
}

.social{
    display: grid;
    grid-template-rows: auto;
    justify-items: center;
    align-items: center;
    height: 100%;
    width: 90%;
    margin-left: 5%;
    padding: 30px 5px;  
}

.social h4 {
    color: var(--color-title);
}

.social table {
    width: 100%;
  }
  
  .social td {
    padding: 10px;
  }
  
  .social td:last-child {
    text-align: center;
  } 


/* Media queries */

@media (max-width:1000px){

    .contactDiv{
        flex-direction: column;  
        padding: 100px 20px 20px 20px;
    }

    .contactRows {
        margin:5%;
    }

    .hero{
        
        align-items: center;
        justify-content: center;
        height: 80vh;
        
    }

    .date{
        width: 40vw;
      }
      
    
      .contact_button{
        width: 40vw;   
      }
      
    .price_element{
        width: 40vw;
    }

}

@media (max-width:900px){

    .nav{
        height: 8vh !important; 
        padding: 0 10vw;
    }

    .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 {
        flex-direction: column;
        padding-top: 10vh;
        gap: 3em;
      }

      .hero div{
        height: min-content;
        
      }

    .subtitle{
        font-size: 1.5rem;
        
    }

    .price_element{
        width: 90vw;
        height: auto;
    }

   

    .about{
        padding: 0 ;
    }


    .adviser{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }

    .brands {
        flex: 50%;
        max-width: 50%;
      }


    .knowledge_container{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }

    .knowledge_img{
        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;
    }
   
    .r1 {
        flex-basis:40% ;
    }

    .social table {
        display: block;
        width: 90%;
    }

    .social td {
        display: block;
        padding: 5px;
    }

    .social td:last-child {
        text-align: left;
    }

}



@media (max-width:600px){

   

  
    .hero_paragraph{
        font-size: 1rem;
    }

    .date{
        width: 70vw;
      }
      
    
      .contact_button{
        width: 70vw;        
      }

    .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;
    }

    .contactImg{
        width: 50%;
        
}

}

@media (max-width:450px){
    
    .emailTd{
        font-size: 0.7em;
    }

    .contactImg{
        width: 80%;
    }
}