* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
}

.wow {
    animation-duration: 1s !important;
}

body {
    overflow-x: hidden;
}

section {
    max-width: 100vw;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

:root {
    --gray: #787677;
    --blue: #2C7A8A;
    --blue3: #81ACB6;
    --width: calc(100% - 4rem);
    --center: 0 auto;
}

svg {
    opacity: 0.9;
}
.st0 {
	clip-path: url(#SVGID_2_);
}
.st1 {
	clip-path: url(#SVGID_4_);
}
.st2 {
	clip-path:url(#SVGID_6_);
}
.st3 {
	clip-path:url(#SVGID_8_);
}

@font-face {
    font-family: Posterama;
    src: url(../fonts/Posterama\ 2001\ Semibold.otf);
}

@font-face {
    font-family: Engravers;
    src: url(../fonts/Engravers\ Gothic\ Regular.otf);
}

h1, h2 , h3 , h4, h5 {
    font-family: Posterama;
}

p, a, li, span {
    font-family: Engravers;
}


.button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.3rem;
    color: #1f79bd;
    background-color: white;
    transition: all 0.2s ease-in-out;
}

.button:hover {
    background-color: #1f79bd;
    cursor: pointer;
    color: white;
}

.button.blue {
    background-color: #1f79bd;
    color: white;
    min-width: 10rem;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button.blue:hover {
    background-color: white;
    color: #1f79bd;
}

header {
    height: 15vh;
    width: 100%;
    /* display: flex; */
    margin: var(--center);
    position: fixed;
    z-index: 1000;
    background-color: rgba(33, 59, 130, 1);
}

nav {
    width: 100%;
    height: 100%;
    padding: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    position: relative;
    column-gap: 6rem;
}

nav figure {
    width: 15rem;
}

nav img {
    width: 100%;
}

nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: absolute;
    background-color: transparent;
    padding: 3rem 2rem;
    top: 100%;
    width: 100%;
    z-index: 9999;
    display: none;
}

nav .m2 {
    top: 200%;
    padding-top: 0;
}

nav li a {
    color: white;
    font-size: 1.7rem;
    font-weight: lighter;
}

nav li a:hover,
nav li.active a {
    color: var(--blue3);
}

.menu__button {
    font-size: 3rem;
    margin-right: 2rem;
    color: white;
}

/* HERO */

#hero {
    background: url('../img/hero.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
    height: 100vh;
}

#hero .layer {
    background-color: rgb(33, 59, 130);
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: absolute; 
    top: 0;
    left: 0;
}

#hero .container {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: var(--width);
    align-items: center;
    row-gap: 2rem;
}

#hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 2rem;
}

#hero h4 {
    color: white;
}

#hero .container .left div {
    display: flex;
    align-items: center;
    width: 100%;
    column-gap: 2rem;
}

#hero hr {
    width: 100%;
}

#hero .right {
    flex-basis: 40rem;
}

/* #hero figure {
    min-width: 20rem;
    max-width: 90vw;
    height: 40rem;
    width: 100%;
    background:  url('../img/hero.jpg') no-repeat, url('../img/icono-white.png') no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: screen;
}

#hero figure.contact {
    background:  url('../img/hero.jpg') no-repeat, url('../img/r-white.png') no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: screen;
}

#hero figure img {
    width: 100%;
    clip-path: url('../img/icono-black.png');
} */


/* HERO */


/* Us */

#us {
    width: 100%;
    padding: 5rem 1rem;
    margin: 0 auto;
    background-color: #f5f5f5;
}

h4 {
    font-size: 1.6rem;
    color: rgb(136, 136, 136);
}

#us p {
    font-size: 3rem;
    margin: 2rem 0;
}

#us a {
    margin-left: auto;
}

/* Us */

/* Services */

#services {
    width: var(--width);
    margin: 5rem auto;
    display: flex;
    flex-wrap: wrap;
}

#services .left, #services .right {
    flex-basis: 45rem;
    flex-grow: 1;
}

#services hr {
    margin-top: 2rem;
}

.service__image {
    display: none;
}

.service__image.active {
    display: block;
}

.service__image {
    width: 100%;
    height: 100%;
    border-radius: 3rem;
    overflow: hidden;
    max-width: 90vw;
    max-height: 100vh;
    position: relative;
}

.service__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service__image .layer {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #1f79bd;
    width: 100%;
    height: 100%;
    padding: 2rem 6rem;  
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease-in-out;
}

.service__image:hover .layer {
    opacity: 1;
}

.service__image a {
    padding: 0.5rem 1rem;
    background-color: white;
    color: #213b82;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 2;
    font-size: 1.6rem;
    transition: all 0.2s ease-in-out;
}

.service__image a:hover {
    background-color: #213b82;
    color: white;
}

#services h2 {
    font-size: 4rem;
    color: #213b82;
    margin: 3rem 0;
}

#services .title {
    width: 80%;
    margin-left: auto;
}

#services hr {
    border-width: 1px;
    border-color: black;
}

#services .container {
    margin-top: 4rem;
}

#services .container p {
    font-size: 2.5rem;
    width: 90%;
    padding-bottom: 2rem;
    border-bottom: 2px solid black;
    margin-bottom: 2rem;
}
#services .container a {
	color: rgba(33, 59, 130, 1);
}

#services .container p.active {
    font-weight: bold;
}

#services .container p:hover {
    font-weight: bold;
    cursor: pointer;
}

/* Services */


/* Testimonials  */

#testimonials {
    background-color: #1f79bd;
    color: white;
    padding: 5rem 1rem;
}

#testimonials .testimonial {
	padding:48px 0 0;
}

#testimonials h4 {
    color: white;
    margin-bottom: 1rem;
}

#testimonials hr {
    max-width: 50rem;
    margin-bottom: 3rem;
}

#testimonials p {
    font-size: 1.8rem;
    max-width: 80rem;
}

#testimonials .container {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

#testimonials .customer {
    width: 10rem;
    aspect-ratio: 1;
    border-radius: 100rem;
    overflow: hidden;

}

.customer img {
    width: 100%;
    height: 100%;
    background-color: #00c3a5;
}

#testimonials .name img {
    width: 10rem;
}

/* Testimonials  */


/* LOCATIONS */

#location {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 5rem;
}

#location iframe {
    width: 90%;
    aspect-ratio: 2/1;
    margin: 0 auto;
    border-radius: 0.5rem;
    margin-top: -10%;
    margin-bottom: 4rem;
}

#location .address, #location .phone {
    color: black;
    width: var(--width);
    margin: 0 auto;
}

#location .phone a {
    color: black;
}

#location .address i, #location .phone i {
    color: #213b82;
}

#location .phone

/* LOCATIONS */

/* FAQS  */

#faq {
    background-color: #f5f5f5;
    padding: 5rem 1rem;
}

#faq h2 {
    font-size: 3rem;
    color: #213b82;
}

.faq p {
    font-size: 1.6rem;
}

.faq__number {
    font-size: 1.8rem;
    font-weight: bolder;
}

#faq .container {
    width: calc(100vw - 2rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#faq .slider {
    display: flex;
    width: 800%;
    gap: 4rem;
    /* overflow: hidden; */
    margin: 4rem 0;
    transition: all 0.5s ease-in-out;
    transform: translateX(44%);
}

#faq .faq {
    width: calc(100%);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

h4.counter {
    color: black;
}

.controls {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.controls a {
    background-color: #1f79bd;
    color: white;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
}

/* FAQS  */


#mission {
    padding: 5rem 0;
    width: var(--width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 5rem;
}

#mission .left {
    flex-basis: 45rem;
    font-size: 2rem;
}

#mission .right {
    flex-basis: 45rem;
}

#mission figure {
    border-radius: 3rem;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1;
}

#mission img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#founder {
    padding: 5rem 1rem;
    background-color: #f5f5f5;
}

#founder figure {
    width: 5rem;
    aspect-ratio: 1;
    border-radius: 10rem;
    overflow: hidden;
}

#founder img {
    width: 100%;
    height: 100%;
    background-color: #00c3a5   ;
}

#founder p {
    font-size: 3rem;
}






#hero #services_hero {
    justify-content: center;
}

#hero #services_hero .right {
    opacity: 0.5;
}

#hero #services_hero .left {
    position: absolute;
    z-index: 1;
}

#service_description {
    position: relative; 
}

#service_description .pics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: -10%;
}


#service_description figure {
    flex-basis: 30rem;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 1;
}

#service_description img {
    width: 100%;
    height: 100%;
}

#service_description .description {
    display: flex;
    padding: 5rem 1rem;
    column-gap: 4rem;
}

#service_description .description h4 {
    color: black;
}

#service_description .description p {
    font-size: 1.6rem;
}


/* FOOTER  */

footer {
    /* width: var(--width);
    margin: var(--center); */
    padding: 5rem 2rem;
    position: relative;
    background-color: rgba(33, 59, 130, 0.7);
}

footer::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../img/hero.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

footer .top {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 10rem;
    row-gap: 2rem;
    align-items: center;
}

footer .top figure {
    flex-basis: 30rem;
    min-width: 26%;
    /* flex-grow: 1; */
}

footer .top figure img {
    width: 100%;
}


footer .top ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-basis: 50rem;
    font-size: 1.6rem;
    justify-content: space-between;
    flex-grow: 1;
}

footer .top a {
    color: white;
}


footer .socials a {
    font-size: 2rem;
    margin: 0 0.5rem;
}

footer .socials {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}


footer .middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 3rem 0;
    row-gap: 2rem;
}

.address, .phone {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    color: white;
    font-size: 1.8rem;
    width: 40rem;
}

footer .bottom {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

footer .bottom a {
    color: white;
}

.privacy {
    display: flex;
    column-gap: 2rem;
}

.privacy a {
    font-size: 1.6rem;
    color: white;
}

@media screen and (min-width: 769px) {

    :root {
        --width: calc(100% - 16rem);
    }

    .menu__button {
        display: none;
    }

    nav {
        padding: 0 8rem;
    }

    nav figure {
        width: 25rem;
    }

    nav ul {
        position: static;
        display: flex;
        flex-direction: row;
        padding: 0;
        width: fit-content;
        column-gap: 6rem;
    }
    
    nav li a {
        color: white;
    }

    #hero {
        padding: 0rem 8rem;
    }

    #values .bottom {
        padding: 0 8rem;
    }

    #values .container>div figure {
        width: 60%;
    }

    #values .container>div h5 {
        width: 60%;
    }

    #values .container>div p {
        width: 60%;
    }

    #us {
        justify-content: space-between;
        padding: 5rem 8rem;
    }

    #us p {
        font-size: 5rem;
    }

    #services {
        margin-top: 10rem;
    }

    #testimonials {
        padding: 5rem 8rem;
    }
	#testimonials .testimonial {
		padding:42px 0 0;
	}

    #analysis .container figure.lines {
        top: 5%;
    }

    #services .slider__controls {
        margin-top: 5rem;
    }

    #products .top {
        justify-content: space-between;
    }

    #contact {
        padding-top: 15rem;
        padding-bottom: 10rem;
    }

    #contact h2 {
        font-size: 5rem;
    }

    footer {
        padding: 5rem 8rem;
    }

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

    footer li {
        flex-basis: 10rem;
    }

    footer p {
        font-size: 1.5rem;
    }

    footer .links a {
        font-size: 1.5rem;
    }

    footer .left p {
        font-size: 1.4rem;
    }

    footer .right .top {
        gap: 10rem;  
    }

    #projects .service {
        padding: 0;
    }

    #contact_form h4 {
        margin-left: 5rem;
    }

    #founder {
        padding: 5rem 8rem;
    }

    #founder p {
        font-size: 4rem;
    }

    #service_description .description {
        padding: 5rem 8rem;
    }

    #faq {
        padding: 5rem 8rem;
    }

    #faq .container {
        width: calc(100vw - 16rem);
    }

    #faq .slider {
        transform: translateX(25%);
        width: 400%;
    }
    #faq .faq {
        width: calc(50%);
    }

    #location iframe {
        width: 80%;
        aspect-ratio: 3/1;
    }

    #location .address, #location .phone {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 0.5rem 0;
    }
}



@keyframes showMenu {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes hideMenu {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}