:root {
    --green: #156952;
    --dark-green: #13332f;
    --light-green: #5dcba6;
    --deep-dark: #2c2c2c;
}

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

html {
    scroll-behavior: smooth;
}

body {
    color: #152332;
    font: 16px "DM Sans", sans-serif;
    margin: 0;
    padding: 70px 0 0;
}

p,
ul {
    line-height: 1.6em;
}

p {
    margin: 0 0 15px;
}

a {
    color: #939280;
    text-decoration: none;
}

ul {
    margin: 0 0 0 40px;
}

header {
    background: #fff;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo {
    color: var(--dark-green);
    font-family: Michroma, 'Courier New', Courier, monospace;
    font-size: 22px;
    font-size: clamp(15px, 3.5vw, 22px);
}

.header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    width: 100%;
    margin: 0 60px;
}

.header #main-navigation {
    margin-left: auto;
    margin-right: 30px;
}

#main-menu {
    list-style: none;
    display: flex;
    gap: 36px;
    margin: 5px 0 0;
}

#main-menu a {
    display: block;
    color: var(--deep-dark);
    text-transform: uppercase;
    transition: color .3s ease;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
}

#main-menu a:hover {
    color: var(--green);
}

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--dark-green);
    cursor: pointer;
}

.hero {
    min-height: calc(100vh - 70px);
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    background: url("/images/main.png") center bottom / cover no-repeat;
    position: relative;
}

.intro {
    width: 500px;
    max-width: 50%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    font-size: clamp(10px, 3.5vw, 15px);
    color: #fff;
    text-align: left;
    background: linear-gradient(to right, #142128 0%, #142128 55%, rgba(31, 51, 61, 0) 100%);
}

.hero-intro {
    color: var(--light-green);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .2em;
    margin: 0;
}

.intro h1 {
    color: #fff;
    font-size: clamp(20px, 3.5vw, 40px);
    text-shadow: 0 0 5px rgba(0, 0, 0, .4);
    margin: 20px 0 25px;

    b {
        color: var(--light-green);
    }
}

.cta {
    display: inline-block;
    background: var(--green);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    margin: 15px 0 0;
    width: 100%;
    text-align: center;
}

#main-content {
    padding: 60px 120px;
    height: 900px;
}

.footer-top,
.footer-bottom {
    padding: 30px 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #96b9a9;

    .logo {
        color: #fff;
        font-size: 16px;
        margin: 0 0 10px;
        letter-spacing: .08em;
    }

    p {
        margin: 0 0 10px;
        line-height: 1.4em;
    }

    a {
        color: #fff;
    }

    a:hover {
        color: #96b9a9;
    }
}

footer {
    background: #1e3c3b;
}

.footer-top {
    font-size: 14px;

    .footer-text {
        max-width: 500px;
    }

    .footer-intro {
        text-transform: uppercase;
    }

    .footer-lead {
        color: white;
        font-size: 27px;
    }
}

.footer-bottom {
    font-size: 14px;
    background: #132028;

    ul {
        display: flex;
        gap: 20px;
        list-style: none;
    }
}

.social {
    text-align: right;
    display: flex;
    flex-direction: column;

    .fa-brands {
        font-size: 17px;
        margin-left: 7px;
    }
}

.copyright {
    font-size: 12px;
}

.contact {
    flex: 0 0 auto;

    a {
        background: var(--green);
        padding: 10px 30px;
        border-radius: 20px;
        color: #fff;
        transition: all .3s ease;
        font-size: 15px;
        letter-spacing: .08em;
    }

    a:hover {
        box-shadow: 0 0 20px var(--green);
        color: #fff;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {

    .footer-top,
    .footer-bottom {
        padding: 30px;
    }
}

@media (max-width: 1014px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark-green);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
    }

    #main-menu {
        flex-direction: column;
        padding: 20px 0 20px 40px;
        gap: 0;

        li {
            margin-bottom: 10px;
        }

        a {
            color: #96b9a9;
        }

        a:hover {
            color: white;
        }
    }

    .footer-menu {
        display: none;
    }

}

@media (max-width: 768px) {
    .hero {
        height: 500px;
        min-height: auto;
        display: block;
    }

    .intro,
    .header {
        padding: 0 20px;
        margin: 0;
    }

    .intro {
        height: 100%;
        width: 100%;
        max-width: 100%;

        &.fade-up {
            transform: translateY(0);
        }

    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .social {
        text-align: center;
        flex-direction: column-reverse;
    }

    #main-content {
        padding: 50px 30px;
    }
}