.hero {
    height: calc(100vh - 100px);
    position: relative;

    .image {
        position: absolute;
        height: 100%;
        width: 100%;
        // background: url('<?php echo $BASE_URL;?>assets/img/main-bg.jpg');
        background: url('../img/customs/home/Home.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 1;
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 2;
        background-color: transparent;
        background-image: radial-gradient(at center center, #21212196 35%, #212121 75%);
        opacity: 0.9;
    }

    .content {
        position: relative;
        z-index: 3;
        width: 100%;
        padding: 0 20px;

        h2,
        h1 {
            color: var(--main-2-color);
            font-family: var(--main-font);
            font-weight: 700;
        }

        h2 {
            font-size: 20px;
        }

        h1 {
            font-size: 60px;
            text-transform: capitalize;
        }

        p {
            color: #fff;
            font-family: var(--sec-font);
        }
    }
    @media(max-width:991px){
        .content {
            h2 {
                font-size: 18px;
            }

            h1 {
                font-size: 36px;
            }
        }
    }
}

.about {
    .container {
        display: flex;

        .left {
            position: relative;

            .image {
                height: 100%;
                min-height: 300px;
                position: relative;

                .inner {
                    position: relative;
                    border-radius: 20px;
                    height: 100%;
                    width: 100%;
                    overflow: hidden;


                    img {
                        position: absolute;
                        height: 100%;
                        width: 100%;
                        top: 0;
                        left: 0;
                        object-fit: cover;
                        transition: .3s;
                    }

                    &:hover {
                        img {
                            transform: scale(1.1);
                        }
                    }
                }
            }

            .content {
                position: absolute;
                width: 200px;
                background-color: #fff;
                box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.25);
                padding: 20px;
                bottom: -40px;
                border-radius: 10px;

                i {
                    font-size: 50px;
                    color: var(--main-color);
                    margin-bottom: 10px;
                }

                p {
                    font-family: var(--sec-font);
                    font-size: 14px;
                    line-height: 24px;
                }

                h5 {
                    font-family: var(--sec-font);
                    font-size: 14px;
                    font-weight: 700;
                    line-height: 24px;
                }
            }
        }

        .right {
            padding-left: 3rem;
            overflow: hidden !important;
        }
    }
    @media(max-width:991px){
        padding: 20px 0 !important;
        .container{
            flex-direction: column-reverse;
            .right{
                padding-left: 0;
            }
            .left{
                .image{
                    height: 500px;
                }
            }
        }
    }
}


.counter {
    height: 200px;
    padding: 20px;

    .container {
        position: relative;
        height: 100%;

        .main {
            background-color: var(--main-color);
            background-color: transparent;
            background-image: linear-gradient(180deg, var(--main-2-color) 0%, var(--main-color) 100%);
            height: 100%;

            .bg-img {
                background: url('../img/water-bg.png');
                height: 100%;
                width: 100%;
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center;
            }

            .content {
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                width: 100%;
                display: flex;
                justify-content: space-around;
                align-items: center;
                flex-wrap: wrap;

                .box {
                    width: 150px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-direction: column;

                    h1 {
                        font-family: var(--main-font);
                        color: #fff;
                        font-size: 50px;
                        font-weight: 700;
                    }

                    p {
                        font-family: var(--sec-font);
                        font-size: 16px;
                        font-weight: 500;
                    }
                }
            }
        }
    }
    @media(max-width:991px){
        height: 400px;
        padding: 0;
    }
}

.service {
    .container {
        display: flex;

        .image {
            padding: 0 20px;

            img {
                height: 100%;
                width: 100%;
                border-radius: 20px;
            }
        }

        .value-bar {
            margin-top: 30px;

            .single {
                margin-bottom: 15px;

                h3 {
                    text-transform: uppercase;
                    font-family: var(--sec-font);
                    font-size: 16px;
                    line-height: 24px;
                    font-weight: 600;
                    padding: 0;
                    margin: 0;
                }

                .bar {
                    width: 100%;
                    height: 15px;
                    background-color: #D6E0D6;
                    position: relative;

                    .filled {
                        position: absolute;
                        top: 0;
                        left: 0;
                        height: 100%;
                        background-color: var(--main-2-color);
                    }
                }
            }
        }
    }
    @media(max-width:991px){
        padding-top: 20px !important;
        .container{
            flex-direction: column;
            .image{
                margin-top: 20px;
            }
        }
    }
}

.experts {
    width: 100%;
    overflow: hidden;
    display: flex;
    background-color: transparent;
    background-image: linear-gradient(210deg, var(--sec-color) 0%, var(--main-color) 80%);
    z-index: 1;
    position: relative;

    .container {
        display: flex;
        .left {
            .content{
                padding: 3em 5em 3em 1em;
                display: flex;
                justify-content: center;
                flex-direction: column;
                .title-heading,h3,.text{
                    color: #fff;
                }
                .catagories{
                    ul{
                        display: flex;
                        flex-wrap: wrap;
                        li{
                            width: 50%;
                            margin-bottom: 20px;
                            line-height: 24px;
                            list-style: decimal-leading-zero;
                            color: #fff;
                            a{
                                font-family: var(--sec-font);
                                color: #fff;
                                font-size: 16px;
                                text-decoration: none;
                            }
                        }
                    }
                }
            }
        }

        .right {
            height: 100%;
            background: url('../img/customs/home/aquaspace.jpg');
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            background-attachment: fixed;
            width: 100%;
            z-index: 3;
        }
    }
    &::before{
        content: '';
        position: absolute;
        background: url("../img/pattern-bg.png");
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
        opacity: 0.2;
    }


    @media(max-width:991px){
        height: auto;
        .container{
            .left{
                width: 100%;
                .content{
                    padding: 50px 20px;
                    & .catagories {
                        ul{
                            li{
                                width: 100%;
                            }
                        }
                    }
                }
            }
            .right{
                display: none;
            }
        }
    }
}

.parrallaX{
    background: url('../img/customs/home/background.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;

    .overlay{
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        background-color: var(--light-black);
        opacity: 0.5;
        z-index: 2;
    }
    .content{
        max-width: 700px;
        position: relative;
        padding: 9em 0em 9em 0em;
        z-index: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        *{
            text-align: center;
            color: #fff !important;
        }
    }
}

.gallery{
    padding: 100px 0;
    position: relative;

    .overlay{
        background: url("../img/pattern-bg.png");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        filter: grayscale(1);
        opacity: 0.5;
        position: absolute;
        height: 100%;
        width: 100%;
        top:0;
        left: 0;
        z-index: -1;
    }
}