@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800&display=swap");

$aside-control-width: 340px;

* {
    font-family: "Tajawal", sans-serif !important;
}
/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
hr {
    margin-top: 0px;
    margin-bottom: 0px;
}
input[type="range"],
input[type="radio"] {
    cursor: pointer !important;
}
li {
    list-style: none;
}

.display-none {
    display: none;
}

body {
    background-color: #fff;
    padding-right: $aside-control-width;
    overflow-x: hidden !important;
    direction: rtl;
}

#aside-control {
    width: $aside-control-width;
    height: 100vh;
    background-color: #e5e5e5;
    // border-left: 2px solid #9e9e9e;
    position: fixed;
    right: 0px;
    z-index: 999;
    padding: 30px 15px;
    text-align: right;
    overflow-y: scroll;

    .aside-main-section-names-active {
        i,
        svg {
            color: red;
            transform: rotate(-90deg);
        }
    }

    .aside-main-section-names {
        i,
        svg {
            font-weight: 900;
            font-size: 20px;
            margin-left: 10px;
            display: inline-block;
        }
    }

    .aside-main-section-names,
    .aside-sub-section-names {
        font-size: 18px;
        cursor: pointer;
        margin-bottom: 15px;
        display: block;
    }

    .aside-sub-section-names {
        font-size: 15px;
    }

    #form-store-title-desc {
        .parent-slider-title-desc-row {
            &:last-of-type hr {
                border-top: none !important;
            }
        }
    }
}

.box-padding {
    padding: 15px 15px;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
}

/*||||||||||||||||||||||| Default Design ||||||||||||||||||||||*/

#home-header {
    $headerH: 85vh;
    width: 100%;
    position: relative;
    height: $headerH;

    img,
    video {
        height: $headerH;

        object-fit: cover;
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); // Adjust opacity as needed
        z-index: 9;
    }

    .header-content {
        position: absolute;
        inset: 0px !important;
        height: 100%;
        width: 100%;
        z-index: 10;

        .content {
            display: none;

            .title {
                margin-bottom: 20px;
                font-weight: bold;
            }

            .title,
            p {
                text-align: center;
                color: #fff;
            }

            p {
                font-size: 26px;

                color: #e3e3e3 !important;
            }
        }

        .active {
            display: block;
        }

        .animation-up {
            animation: slideInUp 1s ease-in-out;

            @keyframes slideInUp {
                from {
                    transform: translateY(100%);
                    opacity: 0;
                }

                to {
                    transform: translateY(0);
                    opacity: 1;
                }
            }
        }

        .animation-left {
            animation: slideLeft 1s ease-in-out;

            @keyframes slideLeft {
                from {
                    transform: translateX(-100%);
                    opacity: 0;
                }

                to {
                    transform: translateX(0);
                    opacity: 1;
                }
            }
        }

        .animation-right {
            animation: slideRight 1s ease-in-out;

            @keyframes slideRight {
                from {
                    transform: translateX(100%);
                    opacity: 0;
                }

                to {
                    transform: translateX(0);
                    opacity: 1;
                }
            }
        }
    }

    .title-two {
        font-size: 46px;
    }

    .title-three {
        font-size: 46px;
    }
}

#services {
    padding-top: 75px;
    padding-bottom: 40px;
    background-color: #f3f4f6;

    h2 {
        margin-bottom: 40px;
    }

    .service-box {
        background-color: #ffffff;
        padding: 15px 10px;
        border-radius: var(--border-radius);
        height: 155px;

        .image {
            height: 90px;
            width: 90px;
            padding: 15px;
            transition: all 0.1s linear;

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

            &:hover {
                //    transform: rotate3d(10, 10, 1, 30deg);
                // box-shadow: -10px 10px 20px #ddd;
            }
        }
    }
}

#partners {
    direction: ltr !important;

    padding: 90px 0px;
    // background-image: url("../../../../assets/images/21491511259.jpg");
    // background-repeat: no-repeat;
    // background-size: cover;
    // background-position: center center;

    .owl-nav {
        top: 80px;
    }

    h2 {
        position: relative;
        display: inline-block;
        color: #fff;
        padding-bottom: 8px;
    }

    .partner-box {
        background-color: #fff;
        width: 100%;
        height: 180px;
        padding: 15px;

        img {
            height: 100%;
            width: 100%;
            object-fit: contain;
        }
    }
}

#industries {
    padding: 60px 0px;
    background-color: #07c;

    .section-title {
        margin-bottom: 40px;
        color: #fff;

        &::after {
            border-radius: 0px;
            background: #fff;
        }
    }

    .industries-box {
        background-color: #fff;
        padding: 25px;
        border-radius: var(--border-radius);

        img {
            width: 65px;
        }
    }
}






















#navbar {

    padding: 0.3rem 1rem;
    transition:
        color,
        background-color 0.2s linear;

    .navbar-brand {
        font-family: "Pacifico", cursive;
        font-size: 28px;
        color: var(--main-color);
        margin-right: 0px !important;

        img {
            width: 180px;
            object-fit: contain;
        }
    }

    .nav-item {
        .nav-link {
            margin: 0px 10px;
            color: var(--color);
        }
    }

    .btn-request {
        background-color: var(--btn-bg);
        color: var(--btn-color);
        padding: 12px 25px;
        border-radius: var(--border-radius);
    }

    // Button
    .navbar-toggler {
        position: relative;
        width: 30px;

        .icon-1,
        .icon-2,
        .icon-3 {
            background-color: var(--color);
            position: absolute;
            transition: all 0.1s linear;
            border-radius: 25px;
            width: 100%;
            height: 3px;
            right: 0px;
        }

        .icon-1 {
            top: 0px;
        }

        .icon-2 {
            top: 8px;
        }

        .icon-3 {
            top: -8px;
        }
    }


    .dropdown-item {
        display: block;
        width: 100%;
        padding: 10px 50px !important;
        clear: both;
        font-weight: 400;
        color: #212529;
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        text-align: center;
        border-bottom: solid 1px var(--border-color) !important;
        transition: all .1s linear;
        &:hover{
            background-color: var(--btn-bg);
            color: var(--btn-color) !important;
        }
        &:last-of-type{
            border-bottom: none !important;
        }
    }


}

.active-navbar-toggler {
    .icon-1 {
        top: 0px;
        right: 0px;
        transform: rotate(45deg);
    }

    .icon-2 {
        top: 8px;
        right: 0px;
        display: none;
    }

    .icon-3 {
        top: 0px !important;
        right: 0px !important;
        transform: rotate(-45deg);
    }
}

/*
|
| Navbar Themes
|
*/

@mixin navbarMainTheme {
    border-bottom: 1px solid var(--border-color);

    background-color: var(--bg-white) !important;

    .navbar-brand {
        color: var(--main-color) !important;
    }

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

    // Icon
    .icon-1,
    .icon-2,
    .icon-3 {
        background-color: var(--color) !important;
    }
}

.nav-main-theme {
    @include navbarMainTheme();
}

.nav-transparent {
    background-color: transparent !important;
    border-bottom: none;

    .navbar-brand,
    .nav-link {
        color: var(--color-white) !important;
    }

    // Icon
    .icon-1,
    .icon-2,
    .icon-3 {
        background-color: var(--color-white) !important;
    }
}

@media (max-width: 768px) {
    #navbar {
        .btn-request {
            display: block;
            width: 100% !important;
            text-align: center;
        }

        // Links Margin
        .nav-link {
            margin: 3px 0px !important;
        }
    }

    .nav-transparent {
        background-color: #000000cc !important;
    }

    .second-navbar-nav {
        .nav-item {
            padding-bottom: 15px;
        }
    }
}
