:root {
    --bs-primary: #0052D9;
    --bs-primary-rgb: 0,82,217;
    --bs-primary-background-color: #0052D9;
    --bs-body-font-family: Microsoft YaHei, Arial, Helvetica, sans-serif;
}


hr:not([size]).hr.hr-blurry {
    background-color: var(--divider-blurry-bg);
    background-image: var(--divider-blurry-bg-image);
    height: var(--divider-blurry-height);
    opacity: var(--divider-blurry-opacity);
}

hr:not([size]).hr {
    --divider-height: 2px;
    --divider-bg: rgba(255, 255, 255, 0.12);
    --divider-opacity: 1;
    --divider-blurry-bg: transparent;
    --divider-blurry-color: hsl(0, 0%, 70%);
    --divider-blurry-bg-image: linear-gradient(90deg, transparent, var(--divider-blurry-color), transparent);
    --divider-blurry-height: 1px;
    --divider-blurry-opacity: 0.25;
    height: var(--mdb-divider-height);
    background-color: var(--mdb-divider-bg);
    opacity: var(--mdb-divider-opacity);
}

.btn-2xl {
    font-family: var(--bs-body-font-family);
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-font-size: calc(1.27rem + 0.24vw);
    --bs-btn-border-radius: var(--bs-border-radius-lg);
}

.mouse-dir {
    overflow: hidden;
    position: relative;
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
    z-index: 1;
}

    .mouse-dir .dir-part {
        position: absolute;
        display: block;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: var(--bs-white);
        -webkit-transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
        -o-transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
        transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        z-index: -1;
    }

    .mouse-dir:hover .dir-part {
        width: 260%;
        height: 562.5px;
    }



h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: var(--bs-body-font-family);
    font-weight: 700;
    line-height: 1.2;
}
.tooltip {
    font-family: var(--bs-body-font-family);
}
.popover {
    font-family: var(--bs-body-font-family);
}

.custom-popover {
    --bs-popover-max-width: 200px;
    --bs-popover-border-color: var(--bd-violet-bg);
    --bs-popover-header-bg: var(--bd-violet-bg);
    --bs-popover-header-color: var(--bs-white);
    --bs-popover-body-padding-x: 1rem;
    --bs-popover-body-padding-y: .5rem;
}


body, html {
    margin: 0px;
    padding: 0px;
    overflow-x: hidden !important;
}
/*mainNav */
#mainNav {

    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: var(--bs-white);
    transition: background-color 0.2s ease;
}

    #mainNav .navbar-brand {
        font-weight: 700;
        color: #212529;
    }

    #mainNav .navbar-nav .nav-item .hvr-underline-from-center:before {
        background-color:  var(--bs-primary-background-color);
    }

    #mainNav.navbar-shrink .navbar-nav .nav-item .hvr-underline-from-center:before {
        background-color:  var(--bs-primary-background-color);
        height: 3px;
    }


    #mainNav .navbar-nav .nav-item .nav-link {
        color: #6c757d;
        font-weight: 800;
        font-size: 1rem;
        padding: 0.75rem 0;
        font-family: var(--bs-body-font-family);
    }

        #mainNav .navbar-nav .nav-item .nav-link:hover, #mainNav .navbar-nav .nav-item .nav-link:active {
            color:  var(--bs-primary-background-color);
        }

        #mainNav .navbar-nav .nav-item .nav-link.active {
            color:  var(--bs-primary-background-color) !important;
        }

@media (min-width: 992px) {
    #mainNav {
        position: fixed;
        box-shadow: none;
        background-color: transparent;
    }

        #mainNav .navbar-brand {
            color: rgba(255, 255, 255, 0.7);
        }

            #mainNav .navbar-brand:hover {
                color: var(--bs-white);
            }

        #mainNav .navbar-nav .nav-item .nav-link {
            color: rgba(var(--bs-white-rgb), 0.7);
            padding: 0.75rem 1rem;
        }

            #mainNav .navbar-nav .nav-item .nav-link:hover {
                color: var(--bs-white);
            }

        #mainNav .navbar-nav .nav-item:last-child .nav-link {
            padding-right: 0;
        }

        #mainNav .navbar-nav .nav-item .hvr-underline-from-center:before {
            background-color: var(--bs-white);
            height: 3px;
        }

        #mainNav.navbar-shrink {
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
            background-color: var(--bs-white);
        }

            #mainNav.navbar-shrink .navbar-brand {
                color: #212529;
            }

                #mainNav.navbar-shrink .navbar-brand:hover {
                    color:  var(--bs-primary-background-color);
                }

            #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
                color: #212529;
            }

                #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link:hover {
                    color:  var(--bs-primary-background-color);
                }
}

/*.carousel {
    top: 4.5rem;
}

@media (min-width: 992px) {
    .carousel {
        top: 0rem;
    }
}*/

    div.masthead {
        padding-top: 10.5rem;
        padding-bottom: calc(10rem - 4.5rem);
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%), url("../assets/img/header-bg.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: cover;
        color: var(--bs-white);
    }

        div.masthead .masthead-subheading {
            font-family: var(--bs-body-font-family);
        }

        div.masthead .mouse-dir {
            font-size: 1.2rem;
        }

        div.masthead h1, div.masthead .h1 {
            font-size: 2.25rem;
            min-height: 5rem;
        }

    @media (min-width: 992px) {
        div.masthead {
            height: 100vh;
            min-height: 40rem;
            padding-top: 4.5rem;
            padding-bottom: 0;
        }

            div.masthead p {
                font-size: 1.15rem;
            }

            div.masthead h1, div.masthead .h1 {
                font-size: 3rem;
            }
    }

    @media (min-width: 1200px) {
        div.masthead h1, div.masthead .h1 {
            font-size: 3.5rem;
        }
    }

    .carousel .media-background {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        object-fit: cover;
        min-height: 300px;
    }

    .media-link {
        z-index: 1;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        object-fit: cover;
        min-height: 300px;
    }





    /* products */
    #products .products-item {
        max-width: 26rem;
        margin-top: 0.5rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.5rem;
        overflow: hidden !important;
        border-radius: 8px;
        -webkit-box-shadow: 0px 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
        box-shadow: 0px 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
        transition: all 0.5s;
    }

        #products .products-item:hover {
            cursor: pointer !important;
            margin-top: 0rem;
            margin-bottom: 1rem;
            -webkit-box-shadow: 0px 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
            box-shadow: 0px 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
        }


        #products .products-item .overlay-hover {
            --overlay-hover-opacity: .5;
            --overlay-hover-bg-color: 0,0,0;
            position: relative;
        }

            #products .products-item .overlay-hover > a {
                bottom: 0;
                display: block;
                left: 0;
                position: relative;
                right: 0;
                top: 0;
            }


                #products .products-item .overlay-hover > a > img.scale {
                    --scale: 1;
                }

                #products .products-item .overlay-hover > a > img.scale, .overlay-hover > a > img.scale-up {
                    transform: scale3d(var(--scale), var(--scale), var(--scale));
                    transform-style: preserve-3d;
                    transition: transform .5s;
                }

                #products .products-item .overlay-hover > a > img.scale-up {
                    --scale: 1.2;
                }

                #products .products-item .overlay-hover > a:after {
                    background-color: rgba(var(--overlay-hover-bg-color), var(--overlay-hover-opacity));
                    content: "";
                    display: block;
                    z-index: 0;
                }

                #products .products-item .overlay-hover > a:after, .overlay-hover > figcaption {
                    bottom: 0;
                    left: 0;
                    opacity: 0;
                    position: absolute;
                    right: 0;
                    top: 0;
                }

            #products .products-item .overlay-hover > figcaption {
                padding: 1.5rem;
                align-items: center;
                display: flex;
                flex-direction: column;
                justify-content: center;
                pointer-events: none;
                z-index: 1;
            }

                #products .products-item .overlay-hover > figcaption > * {
                    opacity: 0;
                }

        #products .products-item:hover .overlay-hover > a > img.hover-scale {
            --scale-hover: 1;
            transform: scale3d(var(--scale-hover), var(--scale-hover), var(--scale-hover));
        }

        #products .products-item:hover .overlay-hover > a > img.hover-scale-up {
            --scale-hover: 1.2;
            transform: scale3d(var(--scale-hover), var(--scale-hover), var(--scale-hover));
        }

        #products .products-item:hover .overlay-hover > a:after {
            opacity: 1;
            transition: opacity .15s linear;
        }

        #products .products-item:hover .overlay-hover > figcaption {
            opacity: 1;
            transition: opacity .15s linear .1s;
        }

            #products .products-item:hover .overlay-hover > figcaption > .hover-fadeIn {
                --animation-duration: 500ms;
                animation-duration: var(--animation-duration);
                animation-fill-mode: both;
                animation-name: fadeIn;
            }

            #products .products-item:hover .overlay-hover > figcaption > .hover-fadeInUp {
                --animation-duration: 500ms;
                animation-duration: var(--animation-duration);
                animation-fill-mode: both;
                animation-name: fadeInUp;
            }

            #products .products-item:hover .overlay-hover > figcaption > .hover-fadeInDown {
                --animation-duration: 500ms;
                animation-duration: var(--animation-duration);
                animation-fill-mode: both;
                animation-name: fadeInDown;
            }

            #products .products-item:hover .overlay-hover > figcaption > .hover-fadeInLeft {
                --animation-duration: 500ms;
                animation-duration: var(--animation-duration);
                animation-fill-mode: both;
                animation-name: fadeInLeft;
            }

            #products .products-item:hover .overlay-hover > figcaption > .hover-fadeInRight {
                --animation-duration: 500ms;
                animation-duration: var(--animation-duration);
                animation-fill-mode: both;
                animation-name: fadeInRight;
            }

            #products .products-item:hover .overlay-hover > figcaption > .hover-zoomIn {
                --animation-duration: 500ms;
                animation-duration: var(--animation-duration);
                animation-fill-mode: both;
                animation-name: zoomIn;
            }


        #products .products-item .products-caption {
            padding: 1.5rem;
            text-align: center;
            background-color: var(--bs-white);
            position: relative;
        }


            #products .products-item .products-caption::after {
                content: "";
                width: 0;
                height: 0;
                position: absolute;
                top: 0;
                left: 0;
                background: var(--bs-primary) !important;
                transition: 0.5s;
            }

            #products .products-item .products-caption::before {
                content: "";
                width: 0;
                height: 0;
                position: absolute;
                bottom: 0;
                right: 0;
                border-bottom-left-radius: 10px;
                border-bottom-right-radius: 10px;
                background: var(--bs-primary) !important;
                transition: 0.5s;
            }

        #products .products-item:hover .products-caption::after,
        #products .products-item:hover .products-caption::before {
            width: 100% !important;
            height: 50% !important;
        }


        #products .products-item .products-caption .products-caption-heading {
            position: relative;
            z-index: 2;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0;
            -webkit-transition: 0.5s;
            -o-transition: 0.5s;
            transition: 0.5s;
        }



        #products .products-item:hover .products-caption .products-caption-heading {
            color: var(--bs-white) !important;
        }


        #products .products-item .products-caption .products-caption-subheading {
            position: relative;
            z-index: 2;
            font-style: italic;
            color: #6c757d !important;
            -webkit-transition: 0.5s;
            -o-transition: 0.5s;
            transition: 0.5s;
        }

        #products .products-item:hover .products-caption .products-caption-subheading {
            color: var(--bs-white) !important;
        }

        #products .products-item .products-description {
            opacity: 0;
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            background-color: rgb(73 45 123 / 40%);
            right: 0;
            transition: all 400ms ease;
            border-radius: 6px;
            -webkit-border-radius: 6px;
            -o-border-radius: 6px;
            -moz-border-radius: 6px;
            display: grid;
            align-items: center;
        }


    /*products-modal*/
    .products-modal .modal-dialog {
        margin: 1rem;
        max-width: 100vw;
    }

    .products-modal .modal-content {
        padding-top: 6rem;
        padding-bottom: 6rem;
        text-align: center;
    }

        .products-modal .modal-content h2, .products-modal .modal-content .h2 {
            font-size: 3rem;
            line-height: 3rem;
        }

        .products-modal .modal-content p.item-intro {
            font-style: italic;
            margin-bottom: 2rem;
        }

        .products-modal .modal-content p {
            margin-bottom: 2rem;
        }

        .products-modal .modal-content ul.list-inline {
            margin-bottom: 2rem;
        }

        .products-modal .modal-content img {
            margin-bottom: 2rem;
        }


    .products-modal .close-modal {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 3rem;
        height: 3rem;
        cursor: pointer;
        background-color: transparent;
    }

        .products-modal .close-modal:hover {
            opacity: 0.3;
        }



    @keyframes fadeIn {
        0% {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .fadeIn {
        animation-name: fadeIn;
    }

    @keyframes fadeInUp {
        0% {
            opacity: 0;
            transform: translate3d(0, 100%, 0);
        }

        to {
            opacity: 1;
            transform: translateZ(0);
        }
    }

    .fadeInUp {
        animation-name: fadeInUp;
    }

    @keyframes fadeInDown {
        0% {
            opacity: 0;
            transform: translate3d(0, -100%, 0);
        }

        to {
            opacity: 1;
            transform: translateZ(0);
        }
    }

    .fadeInDown {
        animation-name: fadeInDown;
    }

    @keyframes fadeInLeft {
        0% {
            opacity: 0;
            transform: translate3d(-100%, 0, 0);
        }

        to {
            opacity: 1;
            transform: translateZ(0);
        }
    }

    .fadeInLeft {
        animation-name: fadeInLeft;
    }

    @keyframes fadeInRight {
        0% {
            opacity: 0;
            transform: translate3d(100%, 0, 0);
        }

        to {
            opacity: 1;
            transform: translateZ(0);
        }
    }

    .fadeInRight {
        animation-name: fadeInRight;
    }

    @keyframes fadeOut {
        0% {
            opacity: 1;
        }

        to {
            opacity: 0;
        }
    }

    .fadeOut {
        animation-name: fadeOut;
    }

    @keyframes fadeOutUp {
        0% {
            opacity: 1;
        }

        to {
            opacity: 0;
            transform: translate3d(0, -100%, 0);
        }
    }

    .fadeOutUp {
        animation-name: fadeOutUp;
    }

    @keyframes fadeOutDown {
        0% {
            opacity: 1;
        }

        to {
            opacity: 0;
            transform: translate3d(0, 100%, 0);
        }
    }

    .fadeOutDown {
        animation-name: fadeOutDown;
    }

    @keyframes fadeOutLeft {
        0% {
            opacity: 1;
        }

        to {
            opacity: 0;
            transform: translate3d(-100%, 0, 0);
        }
    }

    .fadeOutLeft {
        animation-name: fadeOutLeft;
    }

    @keyframes fadeOutRight {
        0% {
            opacity: 1;
        }

        to {
            opacity: 0;
            transform: translate3d(100%, 0, 0);
        }
    }

    .fadeOutRight {
        animation-name: fadeOutRight;
    }

    @keyframes zoomIn {
        0% {
            opacity: 0;
            transform: scale3d(.3, .3, .3);
        }

        50% {
            opacity: 1;
        }
    }

    .zoomIn {
        animation-name: zoomIn;
    }



    /*Service*/


    #services .map-bg {
        position: relative;
    }

        #services .map-bg::before {
            content: "";
            display: block;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            right: 0;
            background-image: url("../assets/img/map.svg");
            background-repeat: no-repeat;
            background-size: auto 100%;
            background-position: center;
            opacity: 0.03;
        }

    #services .services-item {
        margin-bottom: 3rem;
        text-align: center;
    }

        #services .services-item:hover {
            position: relative;
            z-index: 3;
            -webkit-transition: all .4s;
            transition: all .4s;
        }

            #services .services-item:hover .icon {
                color: #fff;
            }

                #services .services-item:hover .icon:after {
                    -webkit-transform: scale(1, 1);
                    transform: scale(1, 1);
                }



        #services .services-item .icon {
            width: 100px;
            height: 100px;
            line-height: 100px;
            color: #F7CA18;
            display: inline-block;
            font-size: 40px;
            margin-bottom: 15px;
            position: relative;
            z-index: 3;
            background-color: #fff;
            background: -webkit-gradient(linear, left top, right bottom, from(#3999f2), to(#001942));
            background: linear-gradient(to bottom right, #3999f2, #001942);
            border-radius: 10px 0px 200px 200px;
            -moz-border-radius: 10px 0px 200px 200px;
            -webkit-border-radius: 10px 0px 200px 200px;
        }

            #services .services-item .icon:after {
                content: '';
                width: 100%;
                height: 100%;
                position: absolute;
                border: 2px solid #F7CA18;
                top: 0;
                right: 0;
                background-color: #fff;
                background: -webkit-gradient(linear, left top, right bottom, from(#001942), to(#3999f2));
                background: linear-gradient(to bottom right, #001942, #3999f2);
                border-radius: 10px 0px 200px 200px;
                -moz-border-radius: 10px 0px 200px 200px;
                -webkit-border-radius: 10px 0px 200px 200px;
                z-index: -1;
                -webkit-transform: scale(0, 0);
                transform: scale(0, 0);
                -webkit-transition: all .4s;
                transition: all .4s;
            }


    .services-item h4, .services-item .h4 {
        margin-top: 1.5rem;
        margin-bottom: 0;
    }

    .img-brand {
        height: 2.75rem;
    }

    /*Case*/
    .case_grid {
        overflow: hidden;
        position: relative;
    }

    .case-link {
        bottom: 0;
        display: block;
        left: 0;
        position: relative;
        right: 0;
        top: 0;
    }

    .radius-image {
        border-radius: 6px;
    }

    .case_news_grid_pos {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        background-color: rgb(73 45 123 / 40%);
        right: 0;
        transition: all 400ms ease;
        border-radius: 6px;
        -webkit-border-radius: 6px;
        -o-border-radius: 6px;
        -moz-border-radius: 6px;
        display: grid;
        align-items: center;
    }



    .case_news_grid_pos {
        transform: scale3d(0, 0, 1);
    }

    .case_portfolio_grid:hover .case_news_grid_pos {
        opacity: 0.8;
        background-color: rgba(1, 28, 37, 0.5);
        transform: scale3d(1, 1, 1);
    }

    .case_portfolio_grid:hover .wthree_text {
        opacity: 1;
        color: #fff;
        transform: translateY(0) scale3d(1, 1, 1);
        transition: transform 400ms ease 380ms;
    }

    .case_portfolio_grid .wthree_text {
        text-align: center;
        opacity: 0;
        transform: translateY(0) scale3d(0, 0, 1);
        transition: transform 400ms ease 280ms;
    }

    .case_portfolio_grid h4 {
        color: #fff;
        font-size: 22px;
        text-transform: capitalize;
        font-weight: 700;
    }

    .case_portfolio_grid:hover .wthree_text2 {
        opacity: 0;
    }


    section#contact {
        background-color: #212529;
        background-image: none;
    }

    .footer .btn.btn-link::before {
        position: relative;
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-right: 10px;
    }

    .footer .btn.btn-link:hover {
        letter-spacing: 1px;
        box-shadow: none;
    }

    .footer .btn.btn-link:hover {
        color: #FFFFFF;
    }

    .footer .btn.btn-link {
        display: block;
        margin-bottom: 10px;
        padding: 0;
        text-align: left;
        color: rgba(255,255,255,.5);
        font-weight: normal;
        transition: .3s;
        text-decoration: none;
    }

    .footer .btn.btn-social {
        margin-right: 5px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,.5);
        border: 1px solid rgba(256, 256, 256, .1);
        border-radius: 40px;
        transition: .3s;
    }

        .footer .btn.btn-social:hover {
            color: var(--bs-primary);
        }






