header {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 2rem;
    background-color: transparent;

    .header-navbar {
        position: absolute;
        top: 4rem;
        left: 3rem;
        right: 3rem;
        z-index: 10;

        @media (min-width: 768px) {
            left: 5rem;
            right: 5rem;
        }

        .header-navbar-nav {
            gap: 2rem;
            max-width: 100%;
            margin: 0 auto;

            .header-navbar-links {
                list-style: none;
                gap: 3rem;
                margin: 0;
                padding: 1rem;
                backdrop-filter: blur(1rem);
                background: var(--color-overlay-white);
                border-radius: 2rem;
                width: 100%;

                @media (min-width: 992px) {
                    width: auto;
                }

                a {
                    color: var(--color-white);
                    font-size: 1.8rem;
                    font-weight: 700;
                    white-space: nowrap;
                    padding: 1rem;
                    position: relative;

                    &::after {
                        content: '';
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        transform: translateX(-50%);
                        width: 0;
                        height: 0.5rem;
                        background-color: var(--color-green-light);
                        border-radius: 1rem;
                        transition: width 0.2s ease;
                    }

                    &:hover {
                        color: var(--color-green-light);

                        &::after {
                            width: 30%;
                        }
                    }

                    &.header-navbar-cta {
                        font-size: 1.2rem;
                        font-weight: 500;
                        text-transform: uppercase;
                        border-radius: 16px;
                        letter-spacing: 0.05em;
                        white-space: nowrap;
                        margin: 0;
                        text-wrap: wrap;
                        padding: 1rem;

                        @media (min-width: 992px) {
                            padding: 2rem 1.8rem;
                        }

                        svg {
                            margin-left: 1rem;
                            height: 2rem;
                            width: 2rem;
                        }

                        &:hover::after {
                            width: 0%;
                        }
                    }
                }
            }
        }
    }

    .header-navbar-logo svg {
        height: 4.4rem;
        width: 15rem;

        @media (min-width: 992px) {
            height: 7rem;
            width: 35rem;
        }
    }

    .img-container {
        position: relative;
        width: 100%;
        height: 100%;
        border-radius: 3rem;
        overflow: hidden;

        @media (min-width: 992px) {
            border-radius: 5rem;
        }

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

        &::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.25);
            z-index: 1;
        }

        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 1rem;
            background: linear-gradient(90deg, var(--color-green-pale) 0% 33.33%, var(--color-yellow-pale) 33.33% 66.66%, var(--color-blue-light) 66.66% 100%);
            z-index: 2;
        }
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        bottom: 10rem;
        align-items: end;
        z-index: 3;

        &.hero-center {
            bottom: 0;
            align-items: center;
        }

        .hero-content {
            padding: 0 2rem;

            @media (min-width: 992px) {
                padding-left: 6rem;
            }

            &.set-max-width {
                max-width: 750px;
            }

            h1, h2 {
                font-weight: 700;
                color: var(--color-white);
                line-height: 100%;
                margin-bottom: 2rem;
                text-align: left;
            }

            h1 {
                font-size: 5rem;

                @media (min-width: 992px) {
                    font-size: 5.6rem;
                }

                @media (min-width: 1400px) {
                    font-size: 7rem;
                }
            }

            h2 {
                font-size: 4rem;

                @media (min-width: 992px) {
                    font-size: 5rem;
                }
            }

            .hero-sub {
                font-size: 1.5rem;
                line-height: 1.2;
                color: var(--color-white);
                text-align: left;

                @media (min-width: 768px) {
                    font-size: 1.8rem;
                }

                @media (min-width: 992px) {
                    font-size: 2.4rem;
                }

                @media (min-width: 1400px) {
                    font-size: 3rem;
                }
            }
        }
    }

    .hero-usps {
        position: absolute;
        bottom: 2rem;
        left: 0;
        right: 0;
        z-index: 3;
        padding: 2rem;

        @media (min-width: 992px) {
            padding: 2.5rem 4rem;
        }

        .hero-usp {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            color: var(--color-white);
            gap: 1rem;
            width: 33%;
            font-size: 1.3rem;
            line-height: 1.3;
            font-weight: 700;

            @media (min-width: 992px) {
                font-size: 2rem;
            }

            @media (min-width: 1400px) {
                font-size: 2.6rem;
            }
        }

        .hero-usp-icon {
            width: 5rem;
            height: 5rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-usp-icon svg {
            width: 100%;
            height: 100%;
        }
    }
}
