html {
    scroll-behavior: smooth;
}

body {
    color: #1b1454;
    width: 100%;
    font-family:Lato;
}

/* ---- NAVBAR STYLES ---- */

header {
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100px;
    font-size: 22px;
    font-weight: 700;
    margin-top: 35px;
}

.navbar .logo-container img {
    width: 150px;
    padding-right: 15px;
}

.change-language {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: #455B84;
}

.change-language img {
    width: 40px;
    margin-left: 15px;
}

.menu {
    display: flex;
}

.navbar .menu a {
    text-decoration: none;
    color: #455B84;
    padding: 40px 20px;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .7s;
}

.navbar .menu a:hover, a:focus {
    background-size: 100% 3px;
    color: #102D63;
    font-weight: 900;
}

.mobile-right,
.navbar-mobile {
    display: none;
}

/* ---- MAIN CONTENT STYLES ---- */

/* Este engloba toda la pagina menos header y footer */
main {
    margin: 2rem 7rem;
    position: relative;
}

#main {
    background-image: url(../img/main-image.jpeg);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    border-radius: 40px;
    height: 800px;
    position: relative;
    /* overflow: hidden; */
}
.main-wave {
    background-color:#455B84;
    margin-left: -7em;
    width: 100vw;
    position: absolute;
    z-index: -1;
}

.main-wave-top {
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    top: 0;
    height: 700px;
}

.main-wave-middle {
    top: 700px;
    height: 950px;
}

.main-wave-bottom {
    top: 1650px;
    height: 500px;
    clip-path: polygon(100% 55%, 100% 0, 0 0);
    
}

#main h1 {
    font-size: 50.5px;
    font-weight: 700;
    line-height: 75px;
    text-align: center;
    color: #FFFFFF;
}

.container {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 40px;
    width: 100%;
}

.main-info {
    padding: 50px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    align-items: center;
}


.scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.scroll:hover {
    font-weight: bold;
}

.scroll img {
    width: 40px;
    margin-top: 20px;
}

.scroll p {
    font-size: 20px;
}

/* ---- ABOUT US CONTENT STYLES ---- */

#about-us {
    margin-top: 3em;
    padding-top: 120px;
}

#about-us .line-tittle {
    margin-top: 0.8em;
    margin-bottom: 3.0000em;
}

.about-us-contents {
    display: flex;
}

.about-us-contents p {
    line-height: 50px;
    font-size: 24px;
    color: white;
    font-weight: 300;
}

.about-us-contents img {
    width: 440px;
}

.about-us-header p {
    line-height: 50px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 2px;
    color: white;
}

/* ---- SERVICES STYLES ---- */

#services {
    margin-top: 14em;
}

.services-header p {
    line-height: 50px;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
}

.services-title {
    display: flex;
    align-items: flex-end;
    gap: 2em;
}

.services-title-minicards h1 {
    font-size: 23px;
    font-weight: 700;
    color: white;
    padding-bottom: 30px;
    line-height: 40px;
    margin-left: 38px;
}

.services-title img {
    width: 5rem;
}

.services-title h1 {
    margin-top: 60px;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.5rem;
    margin-right: 20px;
}


.title-services-1 img {
    width: 75px;
    padding-top: 50px;
}

.title-services-2 img {
    width: 75px;
    padding-top: 50px;
} 

.title-services-1 h1 {
    line-height: 50px;
    font-size: 30px;
    font-weight: 700;
    padding-left: 30px;
    margin-top: 60px;
}

.title-services-2 h1 {
    line-height: 50px;
    font-size: 30px;
    font-weight: 700;
    padding-left: 30px;
    margin-top: 60px;
}

.services-container p {
    margin-top: 75px;
    font-size: 24px;
    font-weight: 300;
}

.services-container {
    display: flex;
    margin-top: 60px;
}

#services{
    padding: 120px 0 40px 0;
} 

.services-header {
    display: flex;
    align-items: center;
}


.services-backgrounds {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 60px 0px 120px 0px;
}

.services-backgrounds-middle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7em;
} 

.service-card {
    background: #455B84;
    box-shadow: 4px 4px 12px #bcbcbc;
    padding: 5rem;
    border-radius: 1rem;
    color: white;
    margin: 3em 0;
}

.service-card p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: white;
    font-weight: 300;
}

.services-background {
    background: #455B84;
    height: 464px;
    width: 27%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 4px 4px 12px #bcbcbc;  

}

.services-background-middle {
    background: #455B84;
    height: 430px;
    width: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 4px 4px 12px #bcbcbc; 

} 

.services-background-bottom {
    background: #455B84;
    height: 430px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 4px 4px 12px #bcbcbc; 
}

.services-background-bottom-2 {
    background: #455B84;
    height: 230px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 4px 4px 12px #bcbcbc; 
}


.services-background-left {
    border-radius: 18px;
}

.services-background-center {
    border-radius: 18px;
}


.services-background-right {
    border-radius: 18px;
}

.services-background-right-2 { 
    margin-left: 200px;
    border-radius: 18px;
}

.services-title-2 {
    display: flex;
    margin-left: 60px;
    margin-bottom: 20px;
    font-weight: 700;
    flex-direction: column;
    text-align: justify;
    font-size: 30px;
    color: #FFFFFF;
}

.services-contents {
    display: flex;
    justify-content: center;
}

.services-contents-2 {
    display: flex;
    justify-content: center;
}

.services-contents-2 p {
    font-size: 23px;
    line-height: 1.8;
    width: 80%;
    color: #ffffff; 
    font-weight: 300;
    margin-left: -80px;
}

.services-contents p {
    font-size: 23px;
    line-height: 1.8;
    width: 80%;
    color: #ffffff; 
    font-weight: 300;
}



/* ---- CONTACT STYLES ---- */

#contact{
    margin: 250px 0px 0px 0px;
    position: relative;
    padding: 9em 0 3em 0em
}

.contact {
    display: flex;
}

.contact-wave-top {
    clip-path: polygon(100% 100%, 100% 75%, 0 100%);
    top: -790;
    height: 700px;
}

.contact-wave-middle {
    top: -91px;
    height: 1900px;
}

.contact-description p {
    margin-top: 50px;
    font-size: 25px;
    font-weight: 100;
    line-height: 40px;
    color: white;
}

.contact-header{
    display: flex;
}

.contact-header p {
    padding-left: 40px;
    line-height: 50px;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    color: white;
}


.contact-background {
    background: #e7e6e6;
    height: 630px;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 200px;
    margin-left: 200px;
    padding-top: 80px;
    box-shadow: 0px 0px 16px #3f3f3f; 

}

.contact-message {
    font-size: 30px;
    display: flex;
    justify-content: center;
    margin: auto;
    margin-bottom: 40px;
    box-shadow: 0px 0px 16px #6a6a6a; 
}

.contact-form input,
.contact-form textarea {
    border-style: none;
    background-color: #FFFFFF;
    padding: 30px;
    font-size: 1rem;
    border-radius: 12px;
    font-family: "Lato";
    font-weight: 700;
    margin: 8px 0px;
    box-shadow: 2px 2px 8px #727272; 
}

.contact-form {
    border-radius: 18px;
}


.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    outline: 2px solid #455B84;
    outline-offset: -1px;
}
  
.contact-form textarea {
    width: 100%;
}
  
 .contact-form .boton {
    font-size: 1.2rem;
    background-color: #455B84;
    color: white;
    border-style: none;
    border-radius: 8px;
    padding: 1rem 5rem;
    cursor: pointer;
    margin: 45px 0px;
    margin-bottom: 80px;
}


.flex-boton {
    display: flex;
    justify-content: center;
}

.contact-form .boton:hover {
    background-size: 100% 3px;
    color: white;
    font-size: 20px;
    font-weight: 900;
    border-color: #ffffff;
}

.contact-form .boton:disabled, 
.contact-form .boton:disabled:hover {
    background-color: #ccc;
    color: white
}
  
.contact-form input.inline {
   width: 100%;
}


/* MAP STYLES */

#map {
    padding-bottom: 2em;
}

.map-container .map {
    width: 100%;
    height: 100%;
}

.map-container .marker {
    position: absolute;
}


#map h1 {
    font-size: 36px;
    margin-left: 150px;
    font-weight: 500;
    line-height: 50px;
}

.text-mobile {
    display: none;
}

#map .layout {
    height: 30vw;
    width: 94.5%;
    border-radius: 20px;
    margin: auto;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 16px #3f3f3f; 
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 150px;
}

#map .map-container {
    height: 77%;
    position: relative;
}

#map .map-container .marker {
    position: absolute;
}

.map-container img {
    width: 5.7%;
    margin-left: 150px;
}

.marker-1 {
    top: 40.5%;
    left: 24.3%;
    cursor: pointer;
}

.marker-2 {
    top: 70%;
    left: 27.5%;
    cursor: pointer;
}

.marker-3 {
    top: 74.5%;
    left: 85.5%;
    cursor: pointer;
}

.marker-4 {
    top: 33.1%;
    left: 44.2%;
    cursor: pointer;
} 

#map h1 {
    font-weight: 700;
}

/* ---- FOOTER STYLES ---- */

footer {
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #FFFFFF;
    color:#455B84;
    box-shadow: 0px 0px 25px #3f3f3f; 
}

footer div:nth-child(1) {
    margin-right: 100px;
}

footer div:nth-child(2) {
    margin-left: 100px;
}

.footer-styles p {
    line-height: 25px;
    font-size: 19px;
}

.footer-flex {
    display: flex;
    align-items: flex-end;
}

.footer-flex p {
    margin-left: 15px;
}

.footer-flex img {
    width: 120px;
} 

/* ---- RESPONSIVE ---- */

@media (max-width: 1650px) {

    .contact-background {
        width: 49%;
        margin-left: 105px;
    }

    .map-container img {
       width: 5.7%;
       margin-left: 76px;
    }

    .marker-3 {
      left: 89%;
    }

    .marker-2 {
      top: 75%;
      left: 25.8%;
    }

    .marker-1 {
      left: 22%;
    }
}

@media (max-width: 1450px) {

    #main {
        background-size: 225%; 
    }

    .services-title-minicards h1 {
        font-size: 23px;
        margin-left: 38px;
    }

    .services-contents p {
        font-size: 21px;
    }

    .services-background {
        align-items: normal;
        height: 480px;
    }
}

@media (max-width: 1380px) {
    .contact-background {
        width: 50%;
        margin-left: 72px;
    }
}

@media (max-width: 1340px) {
      #contact {
        margin: auto;
    }

    .contact {
        flex-direction: column;
    }

    .contact-description p {
        margin: 29px 0 100px 0;

    }

    .contact-background {
        width: 68%;
        margin: auto;
    }

    #contact {
        padding: 16em 0 8em 0em;
    }

    #map h1 {
       margin-left: 83px;
    }

    .contact-wave-middle {
       top: 126px;
    }

    .contact-wave-top {   
       top: -573px;
    }
}

@media (max-width: 1150px) {

    .line-tittle img {
        width: 80%;
    }
    
    #about-us {
        width: 80%;
        margin: auto;
    }

    .about-us-header p {
    font-size: 26px;
    }

    .about-us-contents {
        flex-direction: column;
    }

    .about-us-contents p {
        line-height: 40px;
        font-size: 23px;
    }

    .about-us-image {
        width: 70%;
        margin: auto;
        margin-top: 2.75em;
    }

    
    .main-wave-middle {
        height: 1173px;
    }

    .services-backgrounds {
        justify-content: space-around;
    }

    .services-background {
        width: 32%;
    }

    .service-card {
        padding: 3rem;
    }

    .services-title-minicards h1 {
        margin-left: 26px;
    }

    .services-title h1 {
       line-height: 2.5rem;
    }

   .services-container p {
       font-size: 20px;
       font-weight: 300;
   }

    .contact-background {
        width: 85%;
    }

    #map h1 {
        margin-left: 36px;
    }

    .contact-wave-middle {
        height: 2388px;
    }

    #map .layout {
        display: block;
        height: 89vw;
        width: 85%;
    }

    #map .map-container {
       height: 86%;
       display: flex;
       justify-content: center;
    }

    #map h1 {
        font-size: 28px;
        margin-left: 0;
        text-align: center;
        padding-top: 50px;
    }

    .map-container .map {
        width: 84%;
    }

    .map-container img {
        margin-left: 10;
    }

    
    .marker-1 {
        top: 45.9%;
        left: 22.5%;
    }

    .marker-2 {
        top: 63%;
        left: 25.5%;
    }

    .marker-3 {
        top: 61.5%;
        left: 86.3%;
    }

    .marker-4 {
        top: 42.5%;
        left: 43.2%;
    }
}

@media (max-width: 820px) {
   
    .navbar {
        height: 5rem;
        margin-top: 5px;
        padding: 20px;
        justify-content: space-between;
    }
    
    .navbar .logo-container img {
        width: 100px;
        padding: 0;
        margin-left: 10px;
        /* margin-right: 180px; */
     
    }
    
    .navbar .logo-container p {
        font-size: 0.8rem;
        margin-bottom: 10px;
        font-weight: 500px;
    }
    
    .navbar .menu {
        position: absolute;
        display: flex;
        display: none;
    }
    
    .navbar-mobile {
        height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding-left: 1rem;
        box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
        -webkit-box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
        -moz-box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
    }
    
    .navbar-mobile {
        display: none;
    }
    
    .navbar-mobile a {
        text-decoration: none;
        color:  #455B84;
    }
    
    #burger-menu,
    #close-menu {
        display: block;
        color: #455B84;
        cursor: pointer;
        font-size: 30px;
    }
    
    #close-menu {
        display: none;
    } 
    
    .mobile-right {
        display: flex;
        align-items: center;
    }
    
    .change-language {
        display: none;
    }
    
    #change-language-mobile {
        background-color: #455B84;
        margin-left: 1rem;
        border-radius: 50%;
        padding: 5px;
        width: 2.4rem;
        height: 2.4rem;
        position: relative;
    }
    
    .mobile-right svg {
        width: 26px;
        color: inherit;
        color: #FFFFFF;
        position: absolute;
        top: 9px;
        left: 6px;
        cursor: pointer;
    }
    
    main {
        margin: 0;
    }

    
    #main, .container {
        border-radius: 0px;
    }

    main {
        max-width: 100%;
        overflow: hidden;
    }

    #main {
        background-size: cover;
        height: calc(100vh - 80px);
    }

    #main h1 {
        font-size: 30px;
        line-height: 45px;
    }

    .main-wave {
        width: 150%
    }

    .main-wave-bottom {
        top: 1683px;
    }

    .main-wave-middle {
        height: 1501px;
    }


    .line-tittle img {
        width: 80%;
    }
    
    #about-us {
        width: 80%;
        margin: auto;
    }

    .services-background .service-background {
        width: 90%;
    }

    .about-us-header p {
    font-size: 26px;
    }

    .about-us-contents {
        flex-direction: column;
    }

    .about-us-contents p {
        line-height: 40px;
        font-size: 23px;
    }

    .about-us-image {
        width: 80%;
        display: flex;
        justify-content: center;
    }

    .about-us-image img {
        width: 70%;
    }

    #services {
        margin: 11em 80px;
    }

    .services-container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .services-backgrounds {
        flex-direction: column;
    }

    .services-background {
        width: 85%;
    }

    .services-background-right-2 {
        margin-left: 0;
    }

    .title-services-1 img {
        height: 128px;
        margin-top: 15px;
    }

    .title-services-1 h1 {
        font-size: 28px;
    }

    .service-description p {
        font-size: 20px;
        line-height: 30px;
        margin-top: 20px;
    } 

    .service-card {
        padding: 3rem;
    }

    .services-3 .services-background {
        margin-bottom: 3em;
    }

    .services-contents-2 p {
        font-size: 21px;
    }

    .services-background {
        width: 89%;   
    }

    .services-background {
        width: 100%;
    }

    .services-contents p {
        font-size: 21px;
    }
    
    .services-background {
        background: #455B84;
        height: 348px;
    }

    .services-backgrounds-middle{
        display: block;
    }

    .services-backgrounds {
        margin: 40px 0px 0 0px;
    }

    .services-title-minicards h1 {
        font-size: 23px; 
        margin-left: 64px;
    }

    footer {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    footer div:nth-child(1) {
        margin-right: -100;
    }

    #contact {
        margin: auto;
    }

    .contact {
        flex-direction: column;
    }

    #map .layout {
        display: block;
        height: 89vw;
        width: 85%;
    }

    #map .map-container {
       height: 86%;
       display: flex;
       justify-content: center;
    }

    #map h1 {
        font-size: 28px;
        margin-left: 0;
        text-align: center;
        padding-top: 50px;
    }

    .map-container .map {
        width: 84%;
    }

    .map-container img {
        margin-left: 10;
    }

    
    .marker-1 {
        top: 44.9%;
        left: 22.5%;
    }

    .marker-2 {
        top: 66%;
        left: 26.1%;
    }

    .marker-3 {
        top: 64.5%;
        left: 86.3%;
    }

    .marker-4 {
        top: 41.1%;
        left: 43.2%;
    }

    .line-tittle img {
        margin-top: 20px;
    }

    .contact-description p {
        margin-left: 40px;
    }

  
    .contact-header img {
        display: none;
    }

    
   .contact-background {
        height: 630px;
        width: 60%;
        margin-bottom: 130px;
   }
    
   .contact-header p {
    padding-left: 40px;
    font-size: 26px;
   }

   .contact-form {
    width: 76%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    }

    .contact-wave-top {
    top: -550px;
    height: 700px;
    }

    .contact-wave-middle {
    top: 140px;
    height: 2240px;
    }

    .footer-flex img {
        display: none;
    }

    .footer-styles h4 {
        text-align: center;
    }
}

@media (max-width: 500px) {

    #main h1 {
        font-size: 34px;
        line-height: 46px;
        padding: 0 30px 0px 48px;
        font-weight: 500;
    }

    #about-us {
        margin-top: 2em;
    }

    .about-us-header p {
        font-size: 28px;
    }

    .about-us-contents p {
        line-height: 36px;
        font-size: 18px;
        margin-top: 54px;
    }

    .main-wave-middle {
        height: 920px;
    }    

    .main-wave-bottom {
        top: 1610px;
    }

    .services-header p {
        font-size: 28px;
    }

    .services-background {
        height: 380px;
    }

    .services-title img {
        width: 4rem;
    }
    
    .services-title h1 {
        font-size: 1.3rem;   
    }

    #about-us .line-tittle {
        margin-bottom: 0em; 

    }

   .services-container {
       margin-top: 6px;
   }

    .service-card {
        padding: 1.8rem;
    }

    .services-contents p {
        font-size: 1.1rem;
    }

   .service-card p {
      font-size: 1.1rem;
   }

    .services-title-minicards h1 {
        font-size: 19px;
        line-height: 33px;
    }

    .contact-header p {
        padding-left: 30px;
        font-size: 18px;
    }

    .contact-description p {
        font-size: 18px;
        margin-left: 30px;  
    }
   
}

@media (max-width: 430px) {
    .main-wave-middle {
        height: 1069px;
    }

    .main-wave-bottom {
        top: 1665px;
    }

    #services {
        margin: 8em 40px;
    }

    .services-title-minicards h1 {
        font-size: 17px;
        margin-left: 31px;
    }

    .contact-wave-top {
        top: -725px;
        height: 700px;
    }

    .contact-wave-middle {
        top: -26px;
    }

    #contact {
        padding: 2em 0 0em 0em;
    }

    .contact-background{
        width: 81%;  
    }

    .contact-description p {
        margin: 29px 0 62px 31px;
    }

    #map h1 {
        padding-top: 26px;
    }

    #map {
        padding-bottom: 0em;
    }

    .marker-2 {
        top: 66%;
        left: 25.1%;
    }

    .marker-1 {
        top: 44.9%;
        left: 21.5%;
    }

    .marker-3 {
        top: 64.5%;
        left: 85.3%;
    }

    .marker-4 {
        top: 40.1%;
        left: 42.8%;
    }
}

@media (max-width: 400px) {
    .main-wave-middle {
        height: 950px;
    }

    .main-wave-bottom {
        top: 1603px;
    }
}