:root {
    --gradient: linear-gradient(0deg, #BCCFD4 0%, #EDF3F8 100%);
    --gradient-reverse: linear-gradient(0deg, #EDF3F8 0%, #BCCFD4 100%);
    --bg: #EDF3F8;
    --text-alt: #273546;
    --header: #3A3E42;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: #000;
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

#site {
    position: relative;
    width: 100vw;
    max-width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

header {
    position: absolute;
    padding: 1rem 0;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

main>section:nth-child(odd) {
    background: var(--gradient);
}

main>section:nth-child(even) {
    background: var(--gradient-reverse);
}

main .wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s, transform .5s;
    transition-delay: .2s;
}

main .wrapper.inView {
    transform: translateY(0);
    opacity: 1;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.25rem;
    z-index: 1;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a {
    display: block;
    padding: 0.75rem 0.5rem;
    color: #000;
    text-decoration: none;
}

section .wrapper {
    padding-top: 13.125rem;
    padding-bottom: 13.125rem;
}

section.hero .wrapper {
    padding-top: 0;
    padding-bottom: 0;
}

.mobile-nav-item,
.header-menu-button {
    display: none;
}

.header-button a {
    display: block;
    background-color: #1F6278;
    padding: 0.5rem 1.5rem;
    color: #F0F8EB;
    border-radius: 0.5rem;
}

.hero-image {
    position: absolute;
    top: -1.4375rem;
    right: 0;
    width: 79.3%;
    height: auto;
    border-radius: 2rem;
    overflow: hidden;
    z-index: -1;
    transform: translateY(-5rem);
    opacity: 0.1;
    transition: transform .8s, opacity .8s;
    transition-delay: .3s;
}

.inView .hero-image {
    transform: translateX(0);
    opacity: 1;
}

.hero-content {
    padding: 12.375rem 0 8.25rem;
}

.hero-content h1 {
    font-family: 'Steelfish', sans-serif;
    font-weight: 700;
    font-size: 9.25rem;
    line-height: 9.75rem;
    color: var(--header);
    margin: 0 0 1.875rem;
    transform: translateX(-5rem);
    opacity: 0;
    transition: transform .4s, opacity .4s;
    transition-delay: .3s;
}

.inView .hero-content h1 {
    transform: translateX(0);
    opacity: 1;
}

.hero-description {
    font-family: 'Inter 18pt', sans-serif;
    font-weight: 400;
    font-size: 2.375rem;
    line-height: 2.875rem;
    color: var(--text-alt);
    transform: translateX(-5rem);
    opacity: 0;
    transition: transform .3s, opacity .3s;
    transition-delay: .6s;
}

.inView .hero-description {
    transform: translateX(0);
    opacity: 1;
}

.hero-description span {
    font-weight: 500;
}

.hero-more {
    margin-top: 6.25rem;
    display: flex;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.5rem;
    color: var(--text-alt);
    transform: translateY(-5rem);
    opacity: 0;
    transition: transform .3s, opacity .3s;
    transition-delay: .8s;
}

.inView .hero-more {
    transform: translateY(0);
    opacity: 1;
}

section h2 {
    margin: 0;
    font-family: 'Steelfish', sans-serif;
    font-weight: 700;
    font-size: 5.625rem;
    line-height: 6.125rem;
    color: var(--header);
    transform: translateX(-3rem);
    opacity: 0.1;
    transition: transform .3s, opacity .3s;
    transition-delay: .3s;
}

section .inView h2 {
    transform: translateX(0);
    opacity: 1;
}

section h3 {
    font-family: 'Inter 18pt', sans-serif;
    font-weight: 600;
    font-size: 2.25rem;
    line-height: 2.625rem;
    color: var(--header);
    margin: 0 0 1.875rem;
    color: var(--header);
}

section p {
    font-family: 'Inter 18pt', sans-serif;
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 0;
    color: var(--header);
}

.section-bg {
    position: absolute;
    white-space: nowrap;
    top: 1.25rem;
    right: 0;
    font-family: 'Steelfish', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 17.875rem;
    color: #FFFFFF;
    opacity: 0;
    user-select: none;
    transform: translateX(25rem);
    transition: transform .6s, opacity .3s;
    transition-delay: .8s;
}

.inView .section-bg {
    opacity: 0.05;
    transform: translateX(0);
}

.section-bg-alt {
    color: #5A92AF;
}

.about-content {
    padding: 5.625rem 0 11.25rem 6.625rem;
}

.about-content-wrapper {
    background-color: #fff;
    border-radius: 8px;
}

.about-content-item {
    position: relative;
    padding: 3.125rem 6.25rem;
    font-family: 'Inter 18pt', sans-serif;
    font-size: 1.5rem;
    line-height: 2rem;
}

.about-content-item span {
    position: absolute;
    top: 50%;
    left: -6.25rem;
    transform: translateY(-50%);
    font-family: 'Steelfish', sans-serif;
    font-size: 3.5rem;
    line-height: 3.5rem;
}

.about-subtext {
    font-family: 'Steelfish', sans-serif;
    font-size: 3.5rem;
    line-height: 4rem;
    text-align: right;
    text-shadow: 0px 5px 12px #2B39401A;
    color: #fff;
}

.vision-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.75rem;
    font-family: 'Inter 18pt', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2rem;
    padding-top: 5.375rem;
}

.vision-content-item {
    border-left: 1px #3A3E4299 solid;
    padding: 0 1rem;
    color: var(--header);
}

.vision-content-item span {
    display: block;
    font-family: 'Steelfish', sans-serif;
    font-size: 2.25rem;
    line-height: 2.25rem;
    margin-bottom: 20px;
}

.services-content {
    padding-top: 5rem;
}

.services-content-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.services-content-item-card {
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #fff;
}

.services-content-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-content-item-text {
    padding: 4.875rem 2rem 2rem;
}

.mission-content {
    padding-top: 86px;
}

.mission-content-item {
    margin-bottom: 3.75rem;
    padding: 0 1rem;
    border-left: 1px #3A3E4299 solid;
}

.mission-content-item h3 {
    margin-bottom: 1.25rem;
}

.mission-content-subtext {
    font-family: 'Steelfish', sans-serif;
    font-weight: 700;
    font-size: 5.625rem;
    line-height: 6.125rem;
    color: #FFFFFF;
    text-shadow: 0px 5px 12px #2B39401A;
}

.contact-text {
    padding-top: 3.125rem;
    font-size: 1.5rem;
    line-height: 2rem;
}

.contact-text strong {
    font-weight: 700;
}

.contact-content {
    padding-top: 3.125rem;
}

.contact-content-item {
    margin-bottom: 2.5rem;
    padding: 0 1rem;
    border-left: 1px #3A3E4299 solid;
}

.contact-content-item h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 20px;
}

.contact-content-item p {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.5rem;
    line-height: 2rem;
}

.contact-content-item a {
    color: var(--header);
}

.footer {
    padding: 3rem 0 3.9375rem;
}

.footer-top,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-top {
    margin-bottom: 3rem;
}

.footer-bottom {
    padding: 3rem 0;
    border-top: 1px #DDE1E6 solid;
}

#to-top {
    position: fixed;
    right: 1rem;
    bottom: -50rem;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 2px solid #DDE1E6;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    opacity: .5;
    transition: all .3s;
    z-index: 999;
}

#to-top.show {
    bottom: 1rem;
}

#to-top:hover {
    opacity: 1;
}

#to-top svg {
    fill: var(--header);
    width: 80%;
}

@media (max-width: 1320px) {
    .hero-content h1 {
        font-size: 8.25rem;
        line-height: 8.75rem;
    }

    .hero-more svg {
        position: absolute;
        top: -200px;
        left: -10px;
    }

    .hero-content {
        padding-bottom: 6.25rem;
    }

    section .wrapper {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .about-content {
        padding: 3rem 0 3rem 3rem;
    }

    .about-content-item {
        padding: 2rem 3rem;
    }

    .about-content-item span {
        left: -2.25rem;
    }

    .vision-content {
        gap: 1rem;
    }

    section h3 {
        font-size: 2rem;
        line-height: 2.2rem;
    }

    section p {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .services-content-item-text {
        padding: 3rem 1.5rem 1.5rem;
    }
}

@media (max-width: 820px) {
    .hero-image {
        width: 100%;
    }

    .header-button {
        margin-left: auto;
    }

    .header-menu-button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        border: 0;
        padding: 0;
        border-radius: 0.5rem;
    }

    .header-menu-button span,
    .header-menu-button span:before,
    .header-menu-button span:after {
        display: block;
        width: 24px;
        height: 4px;
        border-radius: 2px;
        background: #000;
        transition: 0.3s;
    }

    .header-menu-button span {
        position: relative;
    }

    .header-menu-button span:before {
        content: "";
        position: absolute;
        bottom: 8px;
        left: 0;
    }

    .header-menu-button span:after {
        content: "";
        position: absolute;
        top: 8px;
        left: 0;
    }

    .header-menu-button.active span {
        background: transparent;
    }

    .header-menu-button.active span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    .header-menu-button.active span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #header-menu {
        position: absolute;
        flex-direction: column;
        top: 100%;
        right: 1rem;
        opacity: 0;
        overflow: hidden;
        height: 0;
        width: auto;
        min-width: 30vw;
        z-index: 9;
        background-color: #fff;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
        padding: 1em;
        border-radius: .5rem;
        transition: opacity .6s, height .3s;
    }

    #header-menu.active {
        opacity: 1;
        height: 80vh;
    }

    .mobile-nav-item{
        display: block;
    }

    .hero-content {
        padding: 9rem 0 4rem;
    }

    section .wrapper {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .vision-content {
        display: block;
    }

    .vision-content-item {
        margin-bottom: 2rem;
    }
}

@media (max-width: 720px) {
    .hero-content h1 {
        font-size: 6rem;
        line-height: 6.75rem;
    }

    .hero-more {
        margin-top: 2.25rem;
    }

    .services-content-item {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .services-content-item-img {
        max-height: 16rem;
        order: 1;
    }
    .footer-top, .footer-bottom{
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 560px) {
    .hero-more {
        display: none;
    }

    .hero-content h1 {
        font-size: 5rem;
        line-height: 5.75rem;
    }

    .wrapper {
        padding: 0 .5rem;
    }

    section .wrapper {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hero-content {
        padding: 9rem 0 0rem;
    }

    .about-content {
        padding: 3rem 0;
    }

    .about-content-item {
        padding: 1rem 2rem;
    }

    .about-content-item span {
        position: initial;
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

    .mission-content-subtext,
    .about-subtext {
        text-align: center;
        font-size: 2.5rem;
        line-height: 3rem;
    }

    section h2 {
        font-size: 4.5rem;
        line-height: 5.1rem;
    }
    #header-menu{
        min-width: 45vw;
    }
}

@media (max-width: 460px){
    html{
        font-size: 14px;
    }
}

@media (max-width: 420px){
    .header-button{
        display: none;
    }
}