@font-face {
    font-family: 'font1';
    src: url(./fonts/Zain-Regular.ttf);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'font1', sans-serif;
}
h1{
    font-size: 24px;
}
h2{
    font-size: 22px;
}
h3{
    font-size: 20px;
}
h4{
    font-size: 18px;
}
h5{
    font-size: 16px;
}
h6{
    font-size: 14px;
}
p{
    font-size: 16px;
}
body{
    margin-top: 40px;
    background-color: #f0f0f0;
}
main{
    padding:  20px 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
nav{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    padding: 5px 10px;
    background-color: #00133b;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    direction: rtl;
}
nav h2{
    text-transform: uppercase;
    color: #fff;
}
.allnav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
}
.allnav a{
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    margin: 0 10px;
}
.allnav a:hover{
    color: #007bff;
}
.allnav .fa-xmark{
    display: none;
}
.ulnav{
    display: none;
    width: 100%;
    padding: 10px;
    
}
.allnav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 100%;
    
}
.ulnav li{
    list-style: none;
    margin:  10px;
    display: flex;

    
}
.ulnav li a{
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    padding: 8px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 100%;
    border-bottom: 2px solid #096b00;
}
.ulnav li a:hover{
    background-color: #096b00;
    color: #fff;
}




/******* home main *******/

.homemain h1, .homemain h2{
    color: #096b00;
}
.homemain header{
    width: 97%;
    margin: 0 auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-direction:row-reverse;
    margin-top: 20px;
}

.homemain header span ul{
    list-style: none;
}
.headspan1{
    width: 40%;
    padding: 50px 10px;
}
.headspan2{
    width: 60%;
}
.soordiv1{
    width: 100%;
    height: 100%;
    padding: 10px;
}
.soordiv1 img{
    width: 100%;
    display: none;
    margin: 0 auto;
    border-radius: 5px;

}
.sorakacc{
    display: block !important;
}
.homemain b{
    color: #ff0a0aad;
    text-decoration:line-through;
}
.star i{
    color: #ffbb00;

}
.star:hover >i{
    color: #ff6600;

}
.soordiv2{
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: start;
    flex-direction: row;
    margin: 0 auto;
}
.soordiv2 img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ffffff00;
}
.sorasacc{
    border: 2px solid #096b00 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}


@media screen and (max-width: 700px) {

    .homemain header{
        flex-direction: column-reverse;
    }
    .headspan1{
        width: 100%;
        padding: 10px;
    }
    .headspan2{
        width: 100%;
    }
}




.pro1div2{
    width: 97%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    margin: 10px auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.pro1div2 img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #ffffff00;
}
.pro1div2 UL{
    list-style: none;
}


form{
    width: 97%;
    margin: 0 auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}

form input{
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    font-size: 18px;
}
form input:hover, form textarea:hover{
    border-color: #0054ad;
}

form input:focus{
    outline: none;
    animation: ani1 4s linear infinite;
    transition: all 0.5s ease;
}

@keyframes ani1 {
    0%{
        box-shadow: 0 0 8px rgb(0, 135, 224);
    }    50%{
        box-shadow: 0 0 8px rgb(98, 0, 226);
    }
    100%{
        box-shadow: 0 0 8px rgb(0, 135, 224);
    }
}

form textarea{
    width: 100%;
    height: 100px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    font-size: 18px;

}
.quantitydiv{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
form .quantity{
    width: 49%;
}
form select{
    width: 49%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    font-size: 18px;
}
.totaldiv{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    margin: 10px auto;
    padding: 10px;
    background-color: #096b00;
    color: #fff;
    border-radius: 5px;
    border: 1px solid #ccc;
}


form button{
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #004186;
    color: #fff;
    cursor: pointer;
    height: 40px;
    font-size: 16px;
}
form button:hover{
    background-color: #006de2;
    color: #fff;
}
form h3{
    color: #fff;
    background-color: #004186;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

#response{
    width: 99%;
    margin: 5px auto;
    padding: 2px;
    text-align: center;
}

.load {
    width: 35px;
    height: 35px;
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #004186;
    animation: spin 2s linear infinite;
    margin: 5px auto;
    display: none;
}
.cload{
    width: 35px;
    height: 35px;
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #ff0000;
    animation: spin 2s linear infinite;
    margin: 5px auto;
    display: none;
}
#governorate{
    width: 100%;

}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }      
}



/************** pop1 **************/
.pop1{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    
}
.pop1div1{
    width: 97%;
    margin: 0 auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}



/************** login **************/
.loginimg{
    width: 80%;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
}
.logindiv{
    width: 97%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 5px;
    max-width: 800px;
}
form label{
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    direction: rtl;
}
.as3ar{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}
.as3ar div{
    width: 50%;
    display: flex;
    gap:5px;
    flex-direction: row;
    
}
.logindiv form{
    padding: 20px;
}
.title{
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    background-color: #004186;
    color: #fff;
    border-radius: 5px;
    margin-top: 20px;
}



/************* orders *************/
.ordermain form input{
    text-align: center;
}
#status_message{
    
    text-align: center;
    color: #142e4b;
    border-radius: 5px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    font-size: 22px;
    direction: rtl;
}


/**************** pop1 ****************/
.pop1{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.pop1div1{
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.pop1div1 button{
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.pop1div1 button:hover{
    background-color: #02448b;
}