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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    scrollbar-width: 0;

}

:root {
    --font-size-navbar: 1.35em;

}

@media (prefers-color-scheme: light) {
    :root {
        --primary-color-bg: #FBFBFA;
        --primary-color-text: #020202;
        --secondary-color-bg: #9F9F9F;
        --accent-color: #E33744;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary-color-bg: #2a2a2a;
        --primary-color-text: #ededed;
        --secondary-color-bg: #7b7b7b;
        --accent-color: #E33744;
    }
}

html, body {
    scroll-behavior: smooth;
}

.prevent {
    overflow: hidden;
}

nav {
    background-color: var(--primary-color-bg);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 15svh;
    padding: 2svh;
}

.navbar-toggle {
    display: none;
}

.open {
    display: flex !important;
}

nav .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 1svw;
    margin-right: 6svh;
    height: 12svh;
}

nav img {
    margin-left: 2svh;
    height: 12svh;
}

nav .nav-links .nav-btn,
.cta-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-wrap: nowrap;
    padding: 2svh 2svw
}

nav .nav-links .nav-btn>a,
.cta-header>a {
    color: var(--primary-color-text);
    font-size: var(--font-size-navbar);
    font-weight: 600;
}

nav .nav-links .cta-header {
    background-color: var(--accent-color);
    border-radius: 18px;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 5%;
    width: 60%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--secondary-color-bg);
    z-index: 10000;
    display: none;
}

.mobile-menu .navbar-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 13%;
    margin-right: 16%;
    color: var(--primary-color-text);
    font-size: 3rem;
}

.mobile-menu .mobile-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mobile-menu .mobile-links .nav-btn {
    padding: 5%;
    color: var(--primary-color-text);
    font-size: 1.4rem;
}

.mobile-menu img {
    width: 100%;
    height: auto;
}

.hero-section {
    height: 70svh;
    background-image: url('images/2147743037.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.about-section {
    height: 90%;
    padding: 5%;
    background-color: var(--primary-color-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-section .slogan {
    width: 100%;
    margin-top: -3%;
    padding-left: 2%;
    padding-bottom: 2%;

}

.about-section .slogan h1 {
    font-size: 2.5em;
    color: var(--accent-color);
    text-transform: uppercase;
}

.about-section .inner {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    margin-right: auto;
    text-align: justify;
} 

.about-section .text {
    width: 40%;
}

.about-section h3 {
    margin-top: 3%;
    font-size: 2rem;
    color: var(--primary-color-text);
    margin-bottom: 5svh;
}

.about-section p {
    font-size: 1.3rem;
    color: var(--primary-color-text);
    margin-bottom: 0.75em;
}

.about-section img {
    height: 100%;
}

.services-section {
    background-color: var(--secondary-color-bg);
    height: 95%s;
    padding: 5svh 5svw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-section>div>h2 {
    margin-bottom: 8svh;
    color: var(--primary-text-color);
    font-size: 2rem;
    text-transform: uppercase;

}

.services-section-inner {
    display: flex;
    flex-direction: row;
    gap: 3vw;
    height: 80%;
}

.service {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    width: 20vw;
    gap: 2vh;
    justify-content: space-between;
    align-items: center;
    padding: 2vh 2vw;
    background-color: var(--primary-color-bg);
    color: var(--primary-color-text);
}

.service img {
    width: 100%;
    padding-top: 1%;
    padding-bottom: 1%;
    max-height: 200px

}

.service p {
    height: 100%;
    margin: auto auto
}

footer {
    height: 27svh;
    display: flex;
    justify-content: center;
    gap: 10vw;
    align-items: center;
    background-color: var(--primary-color-bg);
    color: var(--primary-color-text);
}

footer .about-footer,
.contact-footer {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    height: 60%;
}

footer .about-footer h3,
.contact-footer h3 {
    font-size: 1.6rem;
}

footer .about-footer p,
.contact-footer p {
    font-size: 1.2rem;
}

footer .about-footer ul li,
.contact-footer ul li {
    font-size: 1.1rem;
}


@media screen and (max-width: 1200px) {
    nav {
        height: 10svh;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 999;
    }

    nav .nav-links,
    .logo img {
        display: none;
    }

    .navbar-toggle {
        display: block;
        cursor: pointer;
        color: var(--primary-color-text);
        font-size: 3rem;
    }

    .hero-section {
        background-position: top;
        background-size: cover;
        background-attachment: scroll;
    }


    .about-section {
        height: 100%;
        flex-direction: column;
        padding: 8%;
    }

    .about-section .slogan h3 {
        font-size: 1.2rem;
    }

    .about-section .slogan {
        padding-left: 0;
    }
    .about-section .inner {
        flex-direction: column;
        width: 100%;
        text-align: justify;
    }
    .about-section .inner img {
        width: 100%;
    }
    

    .about-section h3 {
        margin-top: 5%;
    }

    .about-section .text {
        text-wrap: wrap;
        width: 100%;
        margin-bottom: 10%;
    }

    .services-section {
        height: 100%;
    }

    .services-section-inner {
        display: flex;
        flex-direction: column;
    }

    .service {
        width: 100%;
    }

    .service img {
        width: 95%;
        max-height: fit-content;
    }

}
@media screen and (max-width: 700px) {
    footer {
        height: 35vh;
        padding: 10%;
        padding-bottom: 6vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    footer .about-footer, .contact-footer {
        height: 100%;
        width: 100%;
        font-size: 0.7rem;
        padding-left: 20%;
        padding-right: 20%;
        text-align: left;
    }


    footer .about-footer h3, .contact-footer h3 {
        font-size: 1.15rem;
    }

}