﻿
html, body {
    top: 0;
    margin: 0;
    max-width: 100%;
    /*    background: rgb(233,235,238);*/
    max-height: 100%;
    height: 100%;
    z-index: 1;
    /*overflow: hidden;*/
    height: 100%;
    width: 100%;
    /* background: rgb(233,235,238);*/
    -webkit-font-smoothing: antialiased; /* For WebKit (Chrome, Safari) */
    -moz-osx-font-smoothing: grayscale; /* For macOS Firefox */
    font-smooth: always; /* Not well supported, but harmless */
    text-rendering: optimizeLegibility; /* Improves kerning and ligatures */
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    /* -webkit-tap-highlight-color: transparent;*/

    border: unset;
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    height: 100%;
    line-height: 1;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    position: relative;
    font-size: 20px;
    color: #000;
    text-align: left;
    overflow: hidden;
    overflow-y: hidden;
    color: var(--color-normal);
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    width: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (max-width: 600px) {
    body {
        font-size: 1.6rem;
    }
}

.well:hover {
    border-left: 4px solid black;
}

.section_mobile {
    /* max-width: 765px;*/
    max-width: 1220px;
    margin: 6rem auto;
    padding: 1rem;
    /* padding: .5rem;*/
}

/* Media query for when height is greater than width and width is less than 1320px */
@media (max-width: 1320px) and (orientation: portrait) {
    .section_mobile {
        max-width: 100%;
        padding: 1rem;
    }
}
/* Media query for when height is greater than width and width is less than 1320px */
@media (max-width: 600px) and (orientation: portrait) {
    .section_mobile {
        max-width: 100%;
        padding: 0;
    }
}

.pmain {
    width: 100%;
    height: 100%;
}

.Page {
    /*padding: 1rem;*/
    margin: 0;
    /* height: 3000px; */
    max-width: 100%;
    height: auto;
    flex: 1; /* Make the page grow to fill the available space */
    /* border: 1px solid rgb(230,230,230);*/
}

@media (max-width:769px) {
    .Page {
        padding: 0;
    }
}



.app-main {
    top: 0; /* This positions .app-main just below the navigation menu */
    left: 0;
    right: 0;
    max-width: 100%;
    height: calc(100% - 2px);
    /* height: 100%;*/
    margin: 0.10rem;
    background: unset;
    box-sizing: border-box;
    z-index: 1; /* Set z-index to ensure it stays on top, but below any fixed nav */
    overflow-y: auto; /* Enables scrolling within .app-main */
    overflow-x: hidden;
    border-top: unset;
}




.app-header {
    /*box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 5px 8px 0 rgba(0,0,0,.14), 0 1px 14px 0 rgba(0,0,0,.12);*/
    /*box-shadow: 0px 0px 8px rgb(13, 13, 13) !important;*/
    max-width: 100%;
    position: fixed;
    z-index: 3;
    background: rgb(254,254,254);
    /*backdrop-filter: blur(3px);*/
    border: 1px solid whitesmoke;
    align-items: center;
    margin: 0;
    right: 0;
    left: 0;
    color: #000;
    top: 0;
}

.header-bar {
    margin-top: 0;
    top: 0;
    max-width: 100%;
    height: 55px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    left: 1px;
    /* padding-top: .5rem;
    padding-bottom: .25rem;*/
    padding: .5rem .5rem .25rem .5rem;
}




#app {
    display: block;
}

#h_end .logo-company {
    direction: rtl;
    margin-top: 25px;
    align-items: center;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    display: flex;
    text-decoration: none;
    /*    display:none;*/
    padding-right: 0.5rem;
}

    #h_end .logo-company svg {
        margin-left: 8px;
    }



#h_start {
    color: rgb(74,74,74);
    max-width: 150px;
    width: 100%;
    top: 1px;
    /*padding-right: 15px;*/
    justify-content: space-between;
    text-align: center;
    align-items: center;
    height: 100%;
}

#h_center {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    color: rgb(74,74,74);
    /* margin-right: 5px;*/
    width: 100%;
    padding-right: 10px;
    top: 1px;
    text-align: center;
    height: 100%;
}

#h_end {
    display: flex;
    justify-content: flex-end; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    /*margin-left: 5px;*/
    text-align: center;
    /*width: 100%;*/
    padding-right: 0.5rem;
    padding-left: .5rem;
    max-width: 170px;
    height: 100%;
    justify-content: center;
    padding: 1rem;
}

    #h_end h4 {
        font-size: 22px;
        color: dimgray;
        font-weight: 500;
        margin-right: 16px;
    }

.right--group {
    /* position: relative;*/
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    width: auto;
    height: 100%;
    background: unset;
    text-align: center;
    align-items: center;
}

.menu-header {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

    .menu-header li {
        text-decoration: none;
    }

    /* this icon menu*/
.menu-h-icon svg 
{
    fill:#000;
}
/* *************************************  Item header menu-con & logo  ***********************************/
.company_name {
    padding-left: .5rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: #333;
    text-shadow: 0 0px 10px -2px rgba(0, 0, 0, 0.1) !important;
    display: flex
}

.app-nmae {
    margin: 0;
    padding-left: .5rem;
    color: #333;
    /*font-family: 'Inconsolata', monospace;*/
    font-family: Dubai;
    font-weight: 400
}


.menu_svg {
    /* margin-top: 4px;*/
    fill: #000;
    width: 30px;
    height: 30px;
}

    /* -----------------------logo ----------------------- */
    .flogo { /* logo */
    width: auto;
    max-width: 50PX;
    height: 35px;
    margin-left: 10px;
    opacity: 0.9;
    padding-right: 10px;
    padding-left: 10px;
}

.login--icon {
    border-radius: 50%;
    width: 34px;
    height: 34px;
    padding: 1px;
}

.lgn_div {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    border: 1px solid rgb(242,242,242);
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    vertical-align: central;
   /* margin: .5rem*/
}


/* ---------------------------------- footer -------------------------------------*/

/* in header bar we set icon and icon class */
.icon-toolbar {
    display: flex;
    align-items: center;
    max-width: 100%;
    justify-content: space-between;
    padding: .5rem;
}


.link_toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    padding: .25rem;
    border-radius: 50%;
    padding: .5rem;
}

    .link_toggle:hover {
        justify-content: center;
        align-items: center;
        /* height: 30px;
        width: 30px;*/
        padding: .5rem;
        background-color: rgba(0, 0, 0, 0.1);
        transition: background 0.3s ease, border-radius 0.3s ease;
        -webkit-transition: background 0.3s ease, border-radius 0.3s ease;
    }



.icon-box {
    display: flex;
    align-items: center;
    max-width: 50px;
    width: 100%;
    justify-content: center;
}

/* in backpage we set the icon back style */

.back-icon {
    justify-content: space-between;
    display: flex;
    padding: 1rem;
    color: gray;
    align-items: center;
}

.link-back {
    display: flex;
    align-items: center;
    padding: .5rem;
    transition: background 0.3s ease, border-radius 0.3s ease;
}

    .link-back:hover {
        background: rgb(242, 242, 242);
        border-radius: 50%;
    }




@media(max-width:1023px) {
    .menu-header {
        display: none;
    }

    #h_center {
        display: none;
    }



    .app-mobile-footer { /* footer mobile is hide when less than 1024px */
        display: none;
        position: static;
    }

    .App-menu {
        display: none;
    }
}


.Line {
    border-bottom: 1px solid rgb(242, 242, 242);
    padding: 1rem;
    margin-right: 2rem;
    margin-left: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.proj--continer {
    max-width: 1080px;
    margin: 0 auto;
    width: 90%;
    padding: 0.5rem;
}


/*  meny header -------------------------- */
/* General Styling for Menu */
.menu-header {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    background-color: unset;
    font-family: Arial, sans-serif;
}

    .menu-header li {
        display: inline-block;
    }

        .menu-header li a {
            display: block;
            color: #000;
            text-align: center;
            padding: .5rem 16px;
            text-decoration: none;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

            /* Hover Effect */
            .menu-header li a:hover {
                background-color: unset;
                color: #000;
            }

            /* Active Page Styling */
            .menu-header li a.active {
                background-color: rgb(249,2429,249);
                color: #000;
                font-weight: bold;
                border-radius: .5rem;
            }

/* Responsive (Optional for smaller screens) */
@media screen and (max-width: 600px) {
    .menu-header {
        flex-direction: column;
        align-items: center;
    }

        .menu-header li a {
            padding: 12px 20px;
            width: 100%;
            text-align: left;
        }
}

.Home-Title {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: cursive;
    color: #000;
}

.product--div {
    margin: 0;
    font-family: sans-serif;
    /* height: 3000px;*/
    max-width: 100%;
    margin: 0 auto;
    text-align: -webkit-auto;
    margin-top:48px;
}

    .product--div h1 {
        margin: 0;
        padding: 0;
    }



/*@media screen and (max-width: 765px) {

    .Page {
        padding: .5rem;
    }
}*/

@media screen and (max-width:1023px) {
    .Line {
        border-bottom: 1px solid rgb(242, 242, 242);
        padding: 1rem;
        margin-right: .2rem;
        margin-left: .2rem
    }
}

.p-header {
    margin: 0;
    margin-top: 60px;
}
.l-container {
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
    border: 1px solid transparent;
    background: unset;
    color: gray;
}

.ph-title {
    display: block;
    max-width: 1080px;
    font-size: 1.9rem;
    margin: 20px auto;
}






/* toggle menu class */
.menu-h-icon {
    display: flex;
    flex-direction: column;
    position: relative;
    user-select: none; /* Prevents text selection */
    outline: none; /* Removes focus outline */
    -webkit-tap-highlight-color: transparent; /* Removes highlight on mobile */
    text-decoration: underline;
    padding: .7rem;
    /*top:-5px;*/
}
.ripple {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    padding: 5px 7px;
    background: white; /* ← خلفية الزر بيضاء */
    color: #000; /* ← نص الزر أسود أو حسب ما تفضل */
    /*border: 1px solid #ccc;*/ /* اختياري: حواف خفيفة */
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
}


.ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

    .ripple-container span {
        position: absolute;
        border-radius: 50%;
        transform: scale(0);
        background-color: rgba(0, 0, 0, 0.1); /* ← موجة ripple تكون رمادية شفافة */
        animation: ripple-anim 600ms linear;
    }

@keyframes ripple-anim {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}
