.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    padding-block: 125px 80px;
    background-color: #111b23;

    h1 {
        margin-bottom: 35px;
    }

    @media (min-width: 767.8px) {
        padding-block: 250px 200px;
        min-height: 700px;
    }


    &:after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        background-image: linear-gradient(21deg, rgba(17, 27, 35, 0.9999999999999999) 0%, rgba(17, 27, 35, 0) 100%);
    }

    .background-element {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 150%; /* Larger than the viewport for parallax effect */
        background-size: cover;
        background-position: center;
        z-index: 1;
        opacity: .3;
    }

    .foreground-content {
        position: relative;
        z-index: 2;
        color: white;
        text-align: center;

    }

    .hero-text {
        width: 930px;
        max-width: 100%;
        margin-inline: auto;
        z-index: 9;
        position: relative;
    }

    .hero-button {
        margin-top: 30px;
        @media (min-width: 767.8px) {
            margin-top: 50px;
        }

    }

}

#home-wrapper {
    position: relative;
    overflow: hidden;
    background-image: url("../images/bg-map.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: 770px;
    background-position-y: -100px;
    /*background-attachment: fixed;*/

}

#water-reclamation {
    position: relative;
    padding-block: 50px;
    @media (min-width: 767.8px) {
        padding-block: 120px;
    }

    .text-wrapper {
        margin-inline: auto;
        width: 1030px;
        max-width: 100%;

        h2 {
            margin-inline: auto;
        }
    }

}

#clear-vision {
    padding-block: 50px;
    border-block: 1px solid rgba(0, 0, 0, .1);
    position: relative;
    @media (min-width: 767.8px) {
        padding-block: 90px 120px;
    }

    &:before {
        content: "";
        display: block;
        position: absolute;
        top: -3px;
        left: calc(50% - 42px);
        width: 84px;
        height: 6px;
        background-color: var(--red-10);
        transform: skew(-20deg);
    }

    .image-wrapper {
        @media (min-width: 1279.9px) {
            padding-right: 90px;
        }

        .image-holder {
            width: 100%;
            flex-basis: 100%;
            margin-left: 0;
            border-radius: 20px;
            background-color: #111b24;
            position: relative;
            z-index: 2;
            margin-bottom: 40px;
            @media (min-width: 991.8px) {
                margin-bottom: 0;
                &:before {
                    content: "";
                    display: block;
                    position: absolute;
                    width: 211px;
                    height: 211px;
                    border-radius: 35px;
                    background-color: var(--red-10);
                    left: -35px;
                    bottom: -35px;
                    z-index: 1;
                }

                &:after {
                    content: "";
                    display: block;
                    position: absolute;
                    /*opacity: 0.302;*/
                    width: calc(100% - 90px);
                    height: 100%;
                    border-radius: 20px;
                    box-shadow: -1px 34px 30px 0px rgba(22, 35, 46, 0.3);
                    -webkit-box-shadow: -1px 34px 30px 0px rgba(22, 35, 46, 0.3);
                    -moz-box-shadow: -1px 34px 30px 0px rgba(22, 35, 46, 0.3);
                    bottom: 0;
                    left: 50px;
                    z-index: 2;
                }
            }
            @media (min-width: 1279.9px) {
                width: 100%;
                flex-basis: 100%;
                margin-left: 0;
            }
            @media (min-width: 1500px) {
                width: calc(100% + 90px);
                flex-basis: calc(100% + 90px);
                margin-left: -90px;
            }
            @media (min-width: 1700px) {
                width: calc(100% + 190px);
                flex-basis: calc(100% + 190px);
                margin-left: -190px;
            }

            img {
                border-radius: 20px;
                position: relative;
                z-index: 9;
            }


        }

    }

    .text-wrapper {
        .text-inner {
            width: 100%;
            max-width: 100%;
            text-align: center;
            @media (min-width: 991.8px) {
                width: 420px;
                text-align: left;
            }

            a {
                margin-top: 30px;
            }
        }
    }
}

/*
================
SLIDES
================
 */
.services-swiper-holder {
    position: relative;
    overflow: hidden;

    .home-swiper {
        @media (min-width: 767.8px) {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            opacity: 0; /* Hidden by default */
            transform: translateY(100%); /* Move out of view downward */
            transition: opacity 1s ease, transform 1s ease; /* Smooth transition for both properties */
        }

    }

    .home-swiper.active {
        @media (min-width: 767.8px) {
            opacity: 1; /* Fully visible */
            transform: translateY(0); /* In view */
        }
    }

    .home-swiper.fade-out {
        @media (min-width: 767.8px) {
            opacity: 0; /* Hidden */
            transform: translateY(100%); /* Move out of view downward */
        }
    }


}

.swiper-slide {

    .application-inner {
        height: 100%;
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        background-color: #16232e;
        min-height: 280px;
        display: flex;
        flex-direction: column;
        padding: 25px 20px;
        @media (min-width: 767.8px) {
            min-height: 250px;
        }
        @media (min-width: 991.8px) {
            min-height: 330px;
            padding: 55px 50px;
        }
        @media (min-width: 1280px) {
            min-height: 430px;
        }
        @media (min-width: 1700px) {
            min-height: 580px;
        }

        &:before {
            content: "";
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(13deg, rgba(17, 27, 35, 0.9999999999999999) 0%, rgba(17, 27, 35, 0) 100%);
            z-index: 1;

        }

        img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

        .application-bottom-content {
            position: relative;
            margin-top: auto;
            z-index: 2;
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            width: 100%;

            .title-wrapper {
                position: relative;
                width: 100%;
                flex-basis: 100%;

                @media (min-width: 1700px) {
                    width: calc(100% - 180px);
                    flex-basis: calc(100% - 180px);
                }

                &:before {
                    content: "";
                    display: block;
                    position: absolute;
                    top: 0;
                    left: -20px;
                    width: 4px;
                    height: 100%;
                    background-color: var(--red-10);
                    z-index: 1;

                }

                @media (min-width: 991.8px) {
                    &:before {
                        content: "";
                        display: block;
                        position: absolute;
                        top: 0;
                        left: -50px;
                        width: 4px;
                        height: 100%;
                        background-color: var(--red-10);
                        z-index: 1;

                    }
                }


                h2 {
                    margin-bottom: 0;
                }

            }

            .bottom-button {
                width: 100%;
                flex-basis: 100%;
                justify-content: flex-end;
                text-align: left;
                margin-top: 25px;
                @media (min-width: 767.8px) {
                    width: 100%;
                    flex-basis: 100%;
                    text-align: left;
                    margin-top: 25px;
                }
                @media (min-width: 1700px) {
                    width: 180px;
                    flex-basis: 180px;
                    text-align: right;
                    margin-top: 0;
                }

                a {
                    @media (max-width: 575.8px) {
                        width: 100%;
                        justify-content: space-between;
                    }
                }
            }
        }
    }
}

#swiper-menu-holder {
    @media (min-width: 767.8px) {
        border-top: 1px solid rgba(0, 0, 0, .1);
    }

}

.swiper-toggle-menu {
    display: none;
    @media (min-width: 767.8px) {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        position: relative;
    }


    a {
        padding: 40px 25px 15px;
        position: relative;
        opacity: 0.600;
        font-size: 34px;
        letter-spacing: -1px;
        line-height: 30px;
        color: rgba(22, 35, 46, .6);
        font-weight: 400;
        margin-top: -1px;
        overflow: hidden;
        font-family: 'Outfit', sans-serif;

        &.active {
            opacity: 1;
            font-weight: 500;
            color: rgba(22, 35, 46, 1);

            &:before {
                transform: translateY(0);
            }
            &:after {
                transform: translate(-50%,0);
            }


        }

        &:hover {
            text-decoration-line: none;
            color: rgba(22, 35, 46, 1);
        }

        &:before {
            content: "";
            display: block;
            position: absolute;
            top: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--red-10);
            transform: translateY(-100%);
        }

        &:after {
            content: "";
            display: block;
            position: absolute;
            top: -1px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid var(--red-10);
            transform: translateY(-100%);
        }
    }

    .swiper-button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        margin-top: 0;
        width: 64px;
        height: 64px;
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, .1);
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
        transition: all .3s ease-out;

        &:after {
            content: "";
        }

        span {
            width: 23px;
            height: 22px;
            mask-image: url("../images/button-arrow.svg");
            mask-size: contain;
            mask-repeat: no-repeat;
            mask-position: center;
            background-color: var(--black-20);
            -webkit-transition: all .3s ease-out;
            -moz-transition: all .3s ease-out;
            -o-transition: all .3s ease-out;
            transition: all .3s ease-out;
        }

        &:hover {
            border-color: var(--red-10);

            span {
                background-color: var(--red-10);
            }
        }

        &.swiper-button-prev {
            span {
                transform: rotate(180deg);
            }
        }
    }
}

.home-swiper {
    padding-block: 25px;
    border-top: 1px solid rgba(0, 0, 0, .1);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    @media (min-width: 767.8px) {
        border-top: none;
    }

    h2 {
        margin-bottom: 30px;
    }

    .swiper {
        padding-bottom: 30px;
        @media (max-width: 767.8px) {
            margin-bottom: 0;
            padding-bottom: 30px;
        }
    }

    .swiper-pagination {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin-top: 20px;

        .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, .6);
            margin-inline: 10px;

            &.swiper-pagination-bullet-active {
                background-color: var(--red-10);
            }
        }
    }
}



#bottom-cta-18 {
    .cta-text {
        width: 980px;
        max-width: 100%;
        margin-inline: auto;
    }
}

#home-mikisew {
    padding-block: 50px;
    background-color: var(--black-20);

    position: relative;
    overflow: hidden;
    @media (min-width: 991.8px) {
        padding-block: 100px;
    }

    &:before {
        content: "";
        display: block;
        position: absolute;
        background-image: url("../images/mikisew-before.svg");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        width: 400px;
        height: 300px;
        z-index: 0;
        top: 250px;
        right: -150px;
    }

    @media (min-width: 575.8px) {
        &:before {
            width: 795px;
            height: 640px;
            top: 200px;
            right: -200px;
        }
    }

    @media (min-width: 991.8px) {
        &:before {
            right: -200px;
            top: 0;
            background-image: url("../images/mikisew-before.svg");

        }
    }


    .row {
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .logo-wrapper {
        width: 100%;
        flex-basis: 100%;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 20px;
        padding-inline: 20px;
        @media (min-width: 991.8px) {
            width: 170px;
            flex-basis: 170px;
            padding-right: 35px;
            justify-content: flex-start;
            margin-bottom: 0;
        }

    }

    .text-wrapper {
        width: 100%;
        flex-basis: 100%;
        text-align: center;
        padding-inline: 20px;
        margin-bottom: 20px;
        @media (min-width: 991.8px) {
            border-left: 1px solid rgba(255, 255, 255, .2);
            border-top: none;
            width: calc(100% - 485px);
            flex-basis: calc(100% - 485px);
            padding-left: 45px;
            padding-right: 15px;
            text-align: left;
            margin-bottom: 0;
        }

    }

    .button-wrapper {
        width: 100%;
        flex-basis: 100%;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        padding-inline: 20px;
        @media (min-width: 991.8px) {
            width: 265px;
            flex-basis: 265px;
            justify-content: flex-end;
            display: flex;
            flex-wrap: wrap;
        }

    }
}