/*
    - Global Style

    - Custom style
        - Navbar
        - Hero Section
        - Slider Section
        - Courses Section
        - Mobile apps Section
        - Footer
        - go-up botton
*/

/* import color variables file */
@import url("./colors_variables.css");


/*  Global style */
:root {
    /* sizes */
    --logo-width: 50px;
}

html,
body {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0 !important;
    width: 100%;
    font-family: "Almarai", 'sans-serif';
    pointer-events: auto !important;
    z-index: 0;
    overflow-x: hidden;
    background-color: var(--primary-page-bg);
    color: var(--primary-text-color);
}

/* dark theme */
body.dark {
    --primary-page-bg: hsl(210, 22%, 7%);
    --primary-text-color: hsl(228, 5%, 100%);
    --snippet-text-color: hsl(0, 0%, 80%);
    --snippet-bg-color: hsl(210, 20%, 12%);
    --secondary-color: var(--secondary-color-500);
    --snippet-text-color: hsl(0, 0%, 100%);
    --snippet-bg-color: hsl(204, 15%, 20%);

    --main-color-500: var(--snippet-bg-color);
    --main-color-700: var(--snippet-bg-color);
    .util-icon {
        color: white;
    }
    .navbar-nav .dropdown .secondary-btn {
        color: white !important;
        border: 1px solid white;
    }
}

.ltr {
    direction: ltr;
}

body[dir="ltr"] {
    #dark-mood-switcher-mobile {
        left: revert !important;
        right: 0 !important;

    }

}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


a,
a:hover {
    text-decoration: none;
    color: inherit;
}


.mt-6 {
    margin-top: 80px;
    margin-top: 5rem;
}

.pt-6 {
    padding-top: 80px;
    padding-top: 5rem;
}

.ltr {
    direction: ltr;
    unicode-bidi: isolate
}


.brand-logo {
    img {
        width: 100%;
        height: auto;
    }
}

.main-btn,
.secondary-btn {
    border-radius: 5px;
    padding: .5em 1em;
    -webkit-transition: -webkit-transform 0.1s;
    transition: -webkit-transform 0.1s;
    transition: transform 0.1s;
    transition: transform 0.1s, -webkit-transform 0.1s;
    font-size: .95em;
    border: none;
    font-weight: 500;
    cursor: pointer;
    margin: 0 5px;
    width: 140px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    color: #fff !important;
    transition: background-color .3s ease-in-out;
    /* background-color: var(--secondary-color); */

}


.main-btn {
    background-color: var(--secondary-color);
}

.secondary-btn {
    background-color: var(--main-color);
}

.main-btn:hover,
.secondary-btn:hover {
    background-color: inherit
}

.main-btn:hover {
    outline: 1px solid var(--secondary-color);
    color: var(--secondary-color) !important;
}

.secondary-btn:hover {
    outline: 1px solid var(--main-color);
    color: var(--main-color) !important;
    ;
}


/* section generec title */
.section-title {

    position: relative;
    z-index: 1 !important;
    margin: 0 auto;
    color: #222;
    text-align: center;
    padding-bottom: 32px;
    padding-bottom: 2rem;
    z-index: -1;


    span {
        color: #222;
    }

    h1,h2 {
        /* color: var(--main-color); */
        color: var(--inverted-primary-text-color);
        font-size: 40px;
        font-size: 2.5rem;
        font-weight: 600;
        display: inline-block;
        margin: 0 auto;

    }

    .section-title-bk {
        display: inline-block;
        height: 12px;
        border-radius: 20px;
        /* background-color: #A3B719; */
        position: absolute;
        height: 100%;
        right: 48%;
        bottom: 21px;
        z-index: -1;
        -webkit-transform: translateX(50%);
        transform: translateX(50%);
        width: 320px;
        width: 20rem;

    }

    .section-title-bk svg {
        fill: var(--main-color);
        width: 100%;
        height: 100%;
    }
}




/* ********************
    Custom Style
***********************/

header {


    background-color: var(--primary-page-bg);



    &.hide {
        transform: translateY(-100%);

    }

    &.show {
        transform: translateY(0);

    }
}

#notification {
    position: relative;
    opacity: 0;
    visibility: none;
    padding: 5px 0;

    i {
        font-size: 1.5rem;
        /* padding: 5px 0; */
    }

    &.active {
        opacity: 1;
        visibility: visible;
    }

    .notify-icon {
        position: relative;
    }


    &:hover .notification__dropdown-widget {
        opacity: 1;
        visibility: visible;

    }

    .notify-counter {
        position: absolute;
        font-size: .8rem;
        font-weight: 600;
        background-color: var(--secondary-color);
        color: var(--inverted-primary-text-color);
        border-radius: 50%;
        --size: 21px;
        width: var(--size);
        height: var(--size);
        display: flex;
        justify-content: center;
        align-items: center;
        top: -6px;
        left: -5px;
        z-index: 1050;


    }


    & .notification__dropdown-widget {
        position: absolute;
        background-color: var(--snippet-bg-color);
        color: hsl(from var(--primary-text-color) h s 0%) !important;
        border: 1px solid var(--snippet-bg-color);
        border-radius: 4px;
        width: 350px;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        padding: 5px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
        font-size: .9rem;
        z-index: 1050;


        .notification-list {
            overflow-y: scroll;
            height: 30vh;
            background-color: var(--snippet-bg-color);

            .nav-item {
                border-radius: 3px;
                border-bottom: 1px;
                border-bottom-style: dashed;
                border-bottom-color: hsl(from var(--primary-text-color) h s 70%) !important;
                transition: background-color .2s linear;

                .nav-link {
                    color: var(--snippet-text-color);

                }

                .nav-link:hover {
                    color: var(--secondary-color) !important;
                }


            }

        }


    }

    .notification__dropdown-widget::before {
        content: "";
        display: block;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid var(--snippet-bg-color);
        position: absolute;
        top: -10px;
        left: calc(50% - 10px);

    }



}


/* navbar */
.navbar {


    --bs-navbar-padding-y: 0 !important;

    .navbar-collapse {
        flex-grow: 0;
    }

    .navbar-brand {
        img {
            width: auto;
            height: auto;
            max-height: var(--navbar-height);
        }
    }

    .nav-link {
        /*   */

        color: var(--snippet-text-color);

        &.active {
            color: var(--bg-main-color);
        }

        &:hover {
            color: var(--bg-main-color);
        }
    }


    .navbar__search {

        height: 31px;

        .search-container {
            position: relative;
            height: 100%;
        }

        .search-input {
            height: 100%;
            border-radius: 30px;
            padding-left: 35px;
            border: none;
            text-overflow: clip;
            text-align: left;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            background-color: var(--primary-page-bg);

        }

        .search-icon {
            position: absolute;
            top: 50%;
            left: 15px;
            transform: translateY(-50%);
            color: #888;
        }

        /* search result list */
        .ul-search {
            position: absolute;
            margin-top: 10px;
            width: 100%;
            background: var(--primary-page-bg);
            padding: 10px;
            border-radius: 5px;
            display: flex;
            flex-direction: column;
            gap: 5px;
            /* change it for visibilty to {opacity : 0, visiblity : visible}*/
            opacity: 0;
            visibility: hidden;

            .nav-item {
                border-bottom: 1px;
                border-bottom-style: dashed;
                border-bottom-color: hsl(from var(--primary-text-color) h s 70%) !important;
                transition: background-color .2s linear;

                .nav-link {
                    color: hsl(from var(--primary-text-color) h s 0%) !important;
                }

            }
        }

        .ul-search.show {
            opacity: 1;
            visibility: visible;
        }

        .show-all {
            padding: 15px;
            justify-content: center;
            display: flex;
            align-items: center;
            background: var(--main-color);
            margin-top: 12px;
            border-radius: 5px;
            transition: 0.2s;

        }
    }

    .util-icon {
        font-size: 1.4rem;
        transition: all .1s ease-in-out;
        cursor: pointer;
        display: flex;
        padding: 2px 0;
        align-items: center;
        color: var(--main-color);
        line-height: 1.4rem;
        height: 100%;
        margin: 0 2px;


        &:hover {
            /* font-size: 1.4rem; */
            /* transform: translateY(-1px); */
            color: var(--secondary-color);
        }
    }
}


    /* language switcher */
    .menu-util {

        /* language switcher */
        .language {

            position: relative;

            &:hover .language__list {
                opacity: 1;
                visibility: visible;


            }

            .language__list {
                display: flex;
                flex-direction: column;
                position: absolute;
                background-color: var(--snippet-bg-color);
                color: var(--snippet-text-color);
                border-radius: 4px;
                width: 120px;
                left: 50%;
                transform: translateX(-50%) translateY(10px);
                padding: 5px;
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.5s ease, visibility 0.5s ease;
                font-size: 1rem;
                z-index: 1050;


                & .nav-item {
                    margin-bottom: 3px;
                }

                & a:hover,
                a.active {
                    color: var(--secondary-color);
                    display: block;
                    width: 100%;
                    padding: 0 5px;
                    border-radius: 5px;
                }

            }

            .language__list::before {
                content: "";
                display: block;
                border-left: 10px solid transparent;
                border-right: 10px solid transparent;
                border-bottom: 10px solid var(--snippet-bg-color);
                position: absolute;
                top: -10px;
                left: calc(50% - 10px);
            }


        }

    }




    .dashboard-util {

        color: var(--primary-text-color);
        display: none;

        &.active {
            display: flex;
        }


        .user {


            position: relative;

            i {
                font-size: 1.9rem;
            }

            .user__name {
                font-size: .9rem;
                width: 66px;
                display: inline-block;
                overflow: hidden;
                max-height: 22px;
            }

            &:hover .user__dropdown-widget {
                opacity: 1;
                visibility: visible;

            }


            .user__dropdown-widget {
                position: absolute;
                background-color: hsl(from var(--snippet-bg-color) h s l /.98);
                color: var(--snippet-text-color);
                border: 1px solid var(--snippet-bg-color);
                border-radius: 4px;
                width: 250px;
                left: 50%;
                transform: translateX(-50%) translateY(10px);
                padding: 5px;
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.5s ease, visibility 0.5s ease;
                font-size: .9rem;
                z-index: 1050;

                .user-list {
                    overflow-y: scroll;
                    height: 30vh;
                    background-color: var(--snippet-bg-color);

                    .nav-item {
                        border-radius: 3px;
                        border-bottom: 1px;
                        border-bottom-style: dashed;
                        border-bottom-color: hsl(from var(--primary-text-color) h s 70%) !important;
                        transition: background-color .2s linear;

                        .nav-link {
                            color: var(--snippet-text-color);

                        }

                        .nav-link:hover {
                            color: var(--secondary-color) !important;
                        }


                    }

                }

                .user__dashboardFooter {

                    .user__lougout-btn {
                        border-radius: 5px;
                        padding: 5px 0px;
                        background-color: var(--secondary-color);
                        display: block;
                        width: 100%;
                    }

                    .user__lougout-btn:hover {
                        background-color: hsl(from var(--secondary-color) h s 40%);
                        color: var(--inverted-primary-text-color);
                    }
                }
            }

            .user__dropdown-widget::before {
                content: "";
                display: block;
                border-left: 10px solid transparent;
                border-right: 10px solid transparent;
                border-bottom: 10px solid var(--snippet-bg-color);
                position: absolute;
                top: -10px;
                left: calc(50% - 10px);

            }
        }

    }

    .menu-action {
        display: none;

        &.active {
            display: flex;
        }

        .main-btn,
        .secondary-btn {
            width: 120px !important;
            height: 35px;
            border-radius: 5px;
        }


    }



    /* navbar dropdown list */
    .navbar-nav .dropdown .secondary-btn {
        width: 100%;
        background-color: inherit;
        border: 1px solid var(--main-color);
        color: var(--main-color) !important;
        outline: none;

        &:hover {
            background-color: inherit;
            color: var(--main-color);
        }

    }

    .navbar-nav .dropdown .btn:focus {
        box-shadow: none;
    }


    .navbar-nav .dropdown .secondary-btn:hover,
    .navbar-nav .dropdown .secondary-btn:focus {
        background-color: var(--main-color);
        color: var(--inverted-primary-text-color) !important;
    }


    /* toggle btn and offcanva in small screen */
    .navbar-toggler {
        position: relative;
        width: 20px;
        height: 20px;
        transition: .25s ease-in-out;

    }

    .navbar-toggler,
    .navbar-toggler:focus {
        outline: none;
        border: 0;
        box-shadow: none;
    }

    .toggler-icon {
        display: block;
        width: 100%;
        position: absolute;
        left: 0;
        height: 2px;
        border-radius: 1px;
        background-color: hsl(from var(--primary-page-bg) h s 70%);
        transition: .25s ease-in-out;

        &.top-bar {
            margin-top: 0px;
            transform: rotate(135deg);
        }

        &.middle-bar {
            opacity: 0;
            filter: filter(opacity=0);
        }

        &.bottom-bar {
            margin-top: 0px;
            transform: rotate(-135deg);
        }

    }

    .navbar-toggler.collapsed .top-bar {
        margin-top: -10px;
        transform: rotate(0deg);
    }

    .navbar-toggler.collapsed .middle-bar {
        opacity: 1;
        filter: filter(opacity=1);
    }

    .navbar-toggler.collapsed .bottom-bar {
        margin-top: 10px;
        transform: rotate(0deg);
    }

    .offcanvas {

        z-index: 1050 !important;

        /* Ensure it appears above all elements */
        position: absolute !important;
        top: 0;
        left: auto;
        right: 0;
        width: 100%;
        /* Make sure it's full width on mobile */
        height: 100vh !important;
        background-color: hsl(from var(--main-color-500) h s l /.9) !important;
        color: var(--navlink-color) !important;

        & .btn-close {
            filter: invert(1) grayscale(100%) brightness(200%);
            /* Change color to white */
        }

        .btn {
            background-color: inherit !important;
            color: var(--inverted-primary-text-color) !important;
            width: 30% !important;
        }

        .menu-action {
            text-align: center;
            color: var(--primry-text-color);
        }

        .menu-action .nav-link {
            color: rgb(255, 255, 255) !important;

            &:hover {
                color: var(--inverted-primary-text-color) !important
            }
        }

        .util-icon {
            color: rgb(255, 255, 255)
        }


        .offcanvas-body {
            position: relative;
            display: block !important;
            overflow-y: auto !important;
            height: calc(100% - 56px) !important;
            /* Adjust height to prevent content from being hidden */

        }

        .offcanvas.show {
            opacity: 1 !important;
        }

        .offcanvas-body {
            display: block !important;
            overflow-y: auto !important;
            height: 100% !important;

        }

        .offcanvas-searchbar_form {
            position: relative;
            width: 90%;
            margin: 0 auto;

            button {
                color: var(--inverted-primary-page-bg-50) !important;
            }

            .btn {
                width: 15% !important;
            }

            .input-group {
                display: flex;
                align-items: center;
                position: relative;
            }

            .search-query {
                flex-grow: 1;
                min-width: 0;
            }

            /* FIX: Keep the button visible when input is focused */
            .input-group:focus-within .offcanvas-search_button {
                display: flex !important;
                visibility: visible !important;
                opacity: 1 !important;
            }

            /* Fix button position */
            .offcanvas-search_button {
                position: absolute;
                right: 10px;
                top: 50%;
                transform: translateY(-50%);
                flex-shrink: 0;
                z-index: 1050;
                max-width: 50px;
            }

            .offcanva-ul-search {
                max-height: 80px;
                width: 94%;
                overflow-y: scroll;
                background-color: hsl(from var(--primary-page-bg) h s l /.5);
                margin: 0 auto;
                border-radius: 0 0 10px 10px;
            }






        }

    }


    /* sticky-top */
    .sticky-top {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1050;
        transition: 1s transform ease-in-out;
        animation: sticky-top-animation 0.5s ease-in-out forwards;
        background-color: var(--primary-page-bg);
    }

    @keyframes sticky-top-animation {
        0% {
            transform: translateY(-100%)
        }

        100% {
            transform: translateY(0px)
        }
    }






    /* Hero Section */

    .hero-section {
        background-image: url("../images/pattern7.png");
        background-repeat: repeat-x;
        background-size: contain;
        background-position: center center;
    }

    .hero-section__hero {
        position: relative;
    }

    .hero-section__hero-img-container {
        position: relative;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-section__hero-bk-pattern {
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;

        svg {
            fill: var(--main-color-700);
        }
    }

    .hero-section__hero-img-container .hero-bk svg {
        fill: var(--main-color-500);
        stroke: var(--main-color-500);
    }


    .hero-section__hero-img-container .pop-img {
        position: absolute;
        width: 50px;
        fill: white;
        background-color: var(--secondary-color-700);
        border-radius: 50%;
        padding: 10px;
        z-index: 3;
    }

    .hero-section__hero-img-container .pop1 {
        right: 30px;
        top: 13px;
        width: 65px;
        -webkit-animation: moveUpAndDown 4s ease infinite;
        animation: moveUpAndDown 4s ease infinite;
    }

    .hero-section__hero-img-container .pop2 {
        right: 93px;
        bottom: -20px;
        -webkit-animation: moveUpAndDown 4s ease infinite;
        animation: moveUpAndDown 4s ease infinite;
    }

    .hero-section__hero-img-container .pop3 {
        left: -18px;
        bottom: 186px;
        -webkit-animation: moveUpAndDown 4s ease infinite;
        animation: moveUpAndDown 4s ease infinite;
    }

    .hero-section__hero-img-container img {
        width: 65%;
        position: relative;
        z-index: 3;
    }

    /* animation */
    @-webkit-keyframes moveUpAndDown {
        0% {
            -webkit-transform: translateY(5px);
            transform: translateY(5px);
        }

        50% {
            -webkit-transform: translateY(0px);
            transform: translateY(0px);
        }

        100% {
            -webkit-transform: translateY(5px);
            transform: translateY(5px);
        }
    }

    @keyframes moveUpAndDown {
        0% {
            -webkit-transform: translateY(5px);
            transform: translateY(5px);
        }

        50% {
            -webkit-transform: translateY(0px);
            transform: translateY(0px);
        }

        100% {
            -webkit-transform: translateY(5px);
            transform: translateY(5px);
        }
    }



    .hero-section__hero-desc h1 {
        font-size: 64px;
        font-size: 4rem;
        font-weight: 600;
    }

    .hero-section__hero-desc h1 span {
        color: var(--main-color);
    }

    .hero-section__hero-desc p {
        color: var(--primary-text-color-50);
        font-size: 32px;
        font-size: 2rem;
        font-weight: 600;
    }


    .hero-section__hero-start-btn {
        text-decoration: none;
        text-align: center;
        padding: 15px;
        width: auto;
        color: var(--bg-main-color);
        border-radius: 5px;
        font-size: 16px;
        font-size: 1rem;
        font-weight: 600;
        -webkit-transition: -webkit-transform .1s;
        transition: -webkit-transform .1s;
        transition: transform .1s;
        transition: transform .1s, -webkit-transform .1s;
    }

    .hero-section__hero-start-btn.main-btn {
        background-color: var(--main-color);
    }
    .hero-section__hero-start-btn.secondary-btn {
        background-color: var(--secondary-color);
    }
    .hero-section__hero-start-btn.main-btn:hover{
        outline: 1px solid var(--main-color);
        color: var(--main-color) !important;
    }

    .hero-section__hero-start-btn.secondary-btn:hover{
        outline: 1px solid var(--secondary-color);
        color: var(--secondary-color) !important;
    }
    .hero-section__hero-start-btn:hover {
        background-color: inherit;
        -webkit-transform: scale(1.02);
        transform: scale(1.02)
    }

    /* / Hero Section */



    /* Services Section */
    .services-section {
        .services-section__service {
            background-color: #E5E5E5;
            color: #333;
            border-radius: 10px;
            padding: 8px 16px;
            padding: .5rem 1rem;
            height: 88px;
            max-height: 88px;
        }

        .services-section__service-icon svg {
            font-size: 48px;
            font-size: 3rem;
            color: var(--secondary-color);
        }

        .services-section__service-caption {
            font-size: 16px;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0 !important;
            padding: .5em .5em;
        }
    }

    /* / service area  */


    /* certificates slider section */
    .certificates-slider {

        padding: 32px 0;
        background-color: var(--main-color-700);
        position: relative;


        .carousel-control-prev,
        .carousel-control-next {
            background: #333;
            color: white;
            border-radius: 50%;
            width: 43px;
            height: 45px;
            top: 50%;
            -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
        }

        .certificates-slider__top-wavy {
            width: 100%;
            height: 29px;
            position: absolute;
            top: 0px;
            -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
            color: var(--primary-page-bg);
            border: 0;
            padding-top: 4.6px;
            svg {
                height: 100%;
                width: 100%;
            }
        }

        .certificates-slider__down-wavy {
            width: 100%;
            height: 29px;
            position: absolute;
            bottom: 0;
            color: var(--primary-page-bg);
            border: 0;
            padding-top: 4.6px;
            svg {
                height: 100%;
                width: 100%;
            }
        }



        /* card wrapper */
        .cards-wrapper {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            margin: 0 auto;
            -ms-flex-pack: distribute;
            justify-content: space-around;
        }

        .card {
            border: none;
            padding: 5px;
            background-color: inherit;
            margin: 0;
            width: calc(100% / 3);
        }

        .image-wrapper,
        .card-body {
            width: 15vw;
            margin: 0 auto;
            /* background-color:var(--bg-main-color); */
        }

        .image-wrapper {
            background-color: #333;
            position: relative;
            height: 21vw;



        }

        .image-wrapper a {
            display: block;
        }

        .card-body {
            position: absolute;
            width: 100%;
            margin: 0 auto;
            bottom: -6px;
            height: 56px;
            overflow: hidden;
            left: 0;
            color: var(--primary-text-color-50);
            background-color: var(--primary-page-bg-alpha);
            padding: 5px !important;

            p {
                height: 100%;
                padding: 5px;
            }



        }
    }
    p.card-text {
        color: white;
    }

    /* / certificates slider section */



    /* courses section*/
    .courses {
        color: var(--primary-text-color) !important;

        .courses h1 {
            font-size: 40px;
            font-size: 2.5rem;
            font-weight: 600;
        }

        .courses h1 span {
            color: var(--primary-text-color);
        }

        .courses__item-wrapper {
            box-shadow: 0px 10px 33px 0px rgba(0, 0, 0, 0.18);
            border-radius: 20px;
            border: 0 !important;
            -webkit-transition: scale 0.5s ease;
            transition: scale 0.5s ease;
            background-color: var(--snippet-bg-color);
        }

        .courses__item-wrapper:hover img {
            -o-object-fit: cover;
            object-fit: cover;
            -webkit-transform: scale(102%);
            transform: scale(102%);
        }

        .courses__img-wrapper {
            overflow: hidden;
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;

        }

        .courses__img-wrapper img {
            width: 100%;
            height: 100%;

        }

        .courses__item-desc {

            position: relative;
        }

        .courses__course_name {
            border-bottom: 1px solid #cecece;
            padding-bottom: 20px;
        }

        .courses__course-info {
            height: 52px;
            overflow: hidden;
        }

        .courses__course-price-wrapper {
            position: absolute;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            -ms-flex-direction: row;
            flex-direction: row;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            top: -29px;
            left: 0;
            color: var(--inverted-primary-text-color);
            background-color: var(--secondary-color);
            border-radius: 5px;
            font-size: 17.6px;
            font-size: 1.1rem;
            font-weight: 600;
            padding: 2px 10px;
            margin: 10px 10px;
            text-align: left;
            max-width: 150px;
        }

        .courses__course-currency {
            margin-right: 5px;
            font-size: 12.8px;
            font-size: .8rem;
        }

        .courses__see-more-btn {
            border: 1px solid var(--secondary-color);
            color: var(--secondary-color);
            transition: all .3s ease-in-out;

        }

        .courses__see-more-btn:hover {
            background-color: var(--secondary-color);
            color: var(--inverted-primary-text-color);
        }

        .courses__see-more-btn:hover svg {
            transform: translateY(1px);
        }


    }

    /* / courses section */


    /* mobile apps */
    .mobile-apps {
        background-color: var(--main-color-700);
        position: relative;
        overflow-x: hidden;



        .mobile_apps__wayv-top {
            position: absolute;
            top: 0px;
            height: 29px;
        }

        .mobile_apps__wayv-top svg {
            background-color: var(--primary-page-bg);
            height: 100%;
            width: 100%;
        }

        .mobile_apps__wayv-top svg path {
            width: 100%;
            fill: var(--main-color-700);
        }

        .mobile-apps__img-wrapper {
            z-index: 2;
            height: 350px;
        }

        .mobile-apps__img-wrapper img {
            position: inherit;
            z-index: 3;
            max-width: 100%;
            height: 100%;
        }

        .mobile-apps__apps-icons-wrapper,
        .mobile-apps__apps-icons {
            z-index: 2;
        }

        .mobile-apps__apps-icons .mobile-apps__store-icons {
            display: grid;
            grid-template-columns: 2fr 2fr;
            align-content: space-evenly;
            justify-content: space-around;
        }

        .mobile-apps__right-title {
            position: relative;

            h2 {
                color: var(--inverted-primary-text-color);
                font-size: 2rem !important;
            }
        }

        .mobile-apps__right-title span {
            position: absolute;
            top: 84%;
            left: 50%;
            -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
            color: var(--primary-text-color);
        }

        .mobile-apps__right-title path {
            fill: var(--secondary-color);
            height: 5px;

        }


        .mobile-apps__apps-icons-wrapper .mobile-apps__icon {

            display: inline-block;
            max-width: 160px;
        }

        .mobile-apps__apps-icons-wrapper .mobile-apps__icon img {
            height: auto;
            width: 100%;
        }



        .mobile_apps__bk-wrapper {

            position: absolute;
            top: 27%;
            left: 0;
            width: 100%;
            z-index: 1;
        }

        .mobile_apps__bk-wrapper .mobile-apps__bk1 {
            position: absolute;
            top: -17px;
            left: 13%;
            width: 100%;
            max-width: 467px;
            overflow: hidden;

            svg {
                fill: var(--secondary-color-700);
            }
        }

        .mobile_apps__bk-wrapper .mobile-apps__bk2 {
            position: absolute;
            top: -15px;
            left: 18%;
            width: 150px;

            svg {
                width: 100%;
                height: auto;
                fill: var(--main-color)
            }
        }

        .mobile_apps__bk-wrapper .mobile-apps__bk3 {
            position: absolute;
            bottom: 0;
            right: -10px;
            width: 150px;

            svg {
                width: 100%;
                height: auto;
                fill: var(--primaruy-text-color);
            }
        }

        .mobile_apps__bk-wrapper .mobile-apps__bk4 {
            position: absolute;
            bottom: 65px;
            left: 390px;
            width: 150px;

            svg {
                width: 100%;
                height: auto;
                fill: #fff
            }
        }
    }

    /* / mobile apps */



    /* footer */
    footer {

        color: var(--inverted-primary-text-color);

        .footer__container {
            background-color: var(--main-color-500);
        }

        .footer__wavy {
            height: 29px;
            background-color: var(--main-color-700);
        }

        .footer__wavy svg {
            height: 100%;
            width: 100%;
        }

        .footer__wavy svg path {

            width: 100%;
            fill: var(--main-color-500)
        }



        .footer__widget {
            padding-top: 56px;
            padding-top: 3.5rem;
        }

        .footer__widget-title {

            margin-bottom: 0;
            color: var(--inverted-primary-text-color);
            font-size: 22px;
            font-weight: 600;
            position: relative;
            padding-bottom: 20px;
            margin-bottom: 20px;
        }

        .footer__widget-title:before {
            content: "";
            position: absolute;

            bottom: 0;
            width: 30px;
            height: 4px;
            border-radius: 2px;
            background-color: var(--secondary-color);
        }

        .footer__mobile-apps {
            display: grid;
            grid-template-columns: 2fr 2fr;
            align-content: space-evenly;
            justify-content: space-around;
        }

        .footer__widget-icon {
            color: var(--inverted-primary-text-color) !important;
            margin: 0 5px;
            --size: 30px;
            width: var(--size);
            height: var(--size);
            border-radius: 100%;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
        }

        .footer__widget-social-icon {
            background-color: var(--secondary-color);
            color: var(--inverted-primary-text-color);
            margin: 0 7px;
            --size: 30px;
            width: var(--size);
            height: var(--size);
            border-radius: 100%;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            margin: 0 10xp;
        }

        .footer__widget-app {
            display: inline-block;
            max-height: 60px;
            max-width: 175px;
            margin: 5px;
        }

        .footer__widget-app img {
            height: 100%;
            width: 100%;
        }

        .footer__copyrigt {
            font-size: 12.8px;
            font-size: .8rem;
            font-size: clamp(8px, 12.8px, 16px);
            font-size: clamp(.5rem, .8rem, 1rem);
            border-top: 1px dotted;
        }

    }

    /* / footer */

    .mfp-bg {
        z-index: 1052 !important;
    }

    .mfp-wrap {
        z-index: 1053 !important;
    }



    /* scrollup botton */
    .go-up {
        position: fixed;
        color: #fff;
        opacity: 0;
        right: 30px;
        --size: 40px;
        width: var(--size);
        height: var(--size);
        z-index: 99;
        background-color: var(--main-color);
        border-radius: 50%;
        text-align: center;
        cursor: pointer;
        -webkit-transition: all .5s;
        transition: all .5s;
    }

    .go-up.show {
        bottom: 20px;
        opacity: 1;
    }

    .go-up.hide {
        bottom: -90px;
    }

    .go-up svg {
        height: 90%;
    }

    .go-up:hover {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    #dark-mood-switcher-mobile {
        display: none;
    }

    #dark-mood-switcher-mobile,
    #dark-mood-switcher-desktop {

        z-index: 1050;

        .checkbox {
            opacity: 0;
            position: absolute;
        }

        .checkbox-label {
            background-color: var(--main-color);
            width: 50px;
            height: 26px;
            border-radius: 50px;
            position: relative;
            padding: 5px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .fa-moon {
            color: #f1c40f;
            z-index: 2;
        }

        .fa-sun {
            color: #f39c12;
            z-index: 2;
        }

        .checkbox-label .ball {
            z-index: 1;
            background-color: rgb(255, 255, 255);
            width: 22px;
            height: 22px;
            position: absolute;
            left: 2px;
            top: 2px;
            border-radius: 50%;
            transition: transform 0.2s linear;
        }

        .checkbox:checked~.checkbox-label .ball {
            transform: translateX(24px);
        }


    }





    /* Media Query */

    /* medium screen */
    @media screen and (max-width:992px) {
        .mobile-apps__bk1 {
            left: 0 !important;

        }

        .mobile-apps__bk2 {
            left: 12% !important;
        }

        #notification {
            .notification__dropdown-widget {
                transform: translateX(-95%) translateY(10px) !important;
            }

            .notification__dropdown-widget::before {
                display: none;
            }
        }

        body[dir='ltr'] {
            #notification .notification__dropdown-widget {
                transform: translateX(-95%) translateY(10px) !important;
            }


        }

        body[dir='rtl'] {

            #notification .notification__dropdown-widget {
                transform: translateX(0) translateY(10px) !important;
            }
        }





    }

    /* small screen */
    @media screen and (min-width:576px) {
        .navbar-collapse .navbar-nav {
            background-color: var(--primary-page-bg);

            li {
                display: inline;

            }
        }

        .mobile-apps__right-title h1 {
            font-size: 2rem;
            padding-top: 35px;
        }

        /* card wrapper */
        .cards-wrapper {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            margin: 0 auto;
            -ms-flex-pack: distribute;
            justify-content: space-around;
        }

        .image-wrapper,
        .card-body {
            width: 15vw;
            margin: 0 auto;
        }

        .image-wrapper {
            background-color: #333;
            position: relative;
            height: 21vw;

        }


    }

    @media screen and (max-width:576px) {

        .container {
            padding: 0 15px;
        }

        .navbar-collapse {
            background-color: var(--primary-page-bg)
        }


        .hero-section__hero-start-btn {
            width: 186px;
        }


        .courses__item-wrapper {
            max-width: 95%;
            margin: 0 auto;
        }


        .mobile-apps__bk1 {
            left: -25px !important;

        }

        .mobile-apps__right-title h1 {
            font-size: 2rem;
            padding-top: 35px;
        }

        .card:not(:first-child) {
            display: none;
        }

        .card {
            margin: 0 auto;
            min-height: 41vw;

        }

        .certificates-slider .image-wrapper {
            width: 100%;
            margin: 0 auto;
            height: 100%;

        }

        .image-wrapper img {
            max-height: 100%;
            max-width: 100%;

        }

        .card-body {
            width: 100%;
        }

        #notification {
            .notification__dropdown-widget {
                transform: translateX(-95%) translateY(10px) !important;
            }

            .notification__dropdown-widget::before {
                display: none;
            }
        }

        body[dir='ltr'] {
            #notification .notification__dropdown-widget {
                transform: translateX(-95%) translateY(10px) !important;
            }

        }

        body[dir='rtl'] {

            #notification .notification__dropdown-widget {
                transform: translateX(0) translateY(10px) !important;
            }
        }


        #dark-mood-switcher-desktop {
            display: none;
        }

        #dark-mood-switcher-mobile {
            transform: rotate(90deg);
            position: fixed;
            left: 0;
            top: 25%;
            display: inline-block !important;
        }

    }

body[dir='rtl'] {
    .me-auto {
        margin-left: auto !important;
        margin-right: unset !important;
    }
    .text-start {
        text-align: right !important;
    }
}
