*{padding: 0px;margin: 0px;border: 0px;direction: rtl;text-decoration: none;font-family: vazir;color: black;}
@font-face {
    font-family: vazir;
    src: url(../fonts/Vazir.woff);
}
@font-face {
    font-family: vazir-bold;
    src: url(../fonts/Vazir-Bold.woff);
}
header{
    width: 100%;
    border-bottom: 1px solid rgba(128, 128, 128, 0.623);
    height: 90px;
    padding-top: 0.5%;
}
header>section{
    width: 95%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0px auto;
    
}
.header-img-btn{
    display: none;
}
.mobile-theme-toggle{
    display: none;
}
.header-div-logo{
    width: 10%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
}
.header-div-logo img{
    width: 45%;
    height: 70%;
}
.header-div-menu{
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: start;
}
.header-div-menu a{
    margin-left: 5%;
    font-size: 16px;
}
.header-section-login{
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.header-section-login-div{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.header-section-login-div p{
    width: 1%;
    height: 40px;
    border-right: 1px solid grey;
    margin-right: 1%;
}
.header-section-call-div{
    border-right: 1px solid grey;
    display: flex;
    align-items: center;
    justify-content: end;
    width: 40%;
}
.header-section-call-div a{
    margin-left: 5%;
}


.section-menu-bars{
    width: 100%;
    height: 100Vh;
    overflow: scroll;
    background-color: #6fa4f1;
    position: absolute;
    top: 0;
    right: -100%;
    transition: 400ms ease-in-out;
    z-index: 99;
}
.section-menu-bars-divA{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    margin: 5px auto;
}
.section-menu-bars-divA img{
    width: 15%;
}
.section-menu-bars-divB{
    width: 90%;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.section-menu-bars-divB a{
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 15px;
}

.auth-menu{
    position: relative;
    display: inline-flex;
    align-items: center;
}
.auth-menu-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
}
.auth-user-avatar{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 12px;
}
.auth-user-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.auth-menu:hover .auth-menu-dropdown { display: block; }
.auth-menu-dropdown{
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    min-width: 170px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    display: none;
    z-index: 10;
}
.auth-menu-dropdown a,
.auth-menu-dropdown button{
    display: block;
    width: 100%;
    text-align: right;
    background: transparent;
    padding: 8px 6px;
    cursor: pointer;
    color: #111827;
}
.auth-logout-btn{
    border: 0;
}
.section-menu-auth{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.section-menu-auth a,
.section-menu-auth button{
    color: white;
    background: transparent;
    text-align: right;
}
/*///////end header//////////////*/
main{
    overflow: hidden;
}
.main-section-a{
    width: 85%;
    margin: 60px auto;
    display: flex;
    align-items: start;
    justify-content: space-between;
}
.main-section-a div:nth-child(1){
    width: 50%;
    text-align: center;
}
.main-section-a div:nth-child(1) h2{
    margin-bottom: 10px;
}
.main-section-a div:nth-child(1) h2 span{
    border-bottom: 3px solid #ebd408;
}
.main-section-a div:nth-child(2){
    width: 50%;
}
.main-section-a div:nth-child(2) img{
    width: 120%;
}
/*///////end main-section-a//////////////*/

.main-section-b{
    width: 40%;
    margin: 10px auto;
    text-align: center;
}
.main-section-b p{
    margin-top: 40px;
}
.main-section-b h2{
    border-bottom: 2px solid #ebd408;
    padding-bottom: 20px;
}
/*///////end main-section-b//////////////*/
.main-h2{
    width: 100%;
    text-align: center;
    margin-bottom: -100px;
    margin-top: 110px;
}
/*///////end main-h2//////////////*/
.main-section-c{
    width: 100%;
    margin: 60px auto 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
}
.main-section-c div:nth-child(1){
    width: 50%;
    text-align: center;
    padding: 0px 10%;
}
.main-section-c div:nth-child(1) h2{
    margin-bottom: 10px;
}

.main-section-c div:nth-child(2){
    width: 50%;
}
.main-section-c div:nth-child(2) img{
    width: 100%;
}
/*///////end main-section-c//////////////*/
.main-section-d{
    width: 100%;
    margin: 0px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-section-d div:nth-child(1){
    width: 50%;
    text-align: center;
    padding: 0px 10%;
}
.main-section-d div:nth-child(1) h2{
    margin-bottom: 10px;
}

.main-section-d div:nth-child(2){
    width: 50%;
}
.main-section-d div:nth-child(2) img{
    width: 100%;
}
/*///////end main-section-d//////////////*/
.main-section-e h2{
    position: relative;
    text-align: center;
}
.main-section-e h2 img{
    position: absolute;
    top: 3px;
    right: 48%;
    z-index: -1;
}

/*///////end main-section-e//////////////*/
.main-section-e{
    width: 100%;
    margin: 80px 0px;
}
.main-section-e-div{
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
}
.main-section-e-div-item{
    width: 20%;
    border: 1px solid #6fa4f1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 30px 0.5%;
    margin: 50px 3% 0px 0px;
}
.main-section-e-div-item h3{
    margin-top: 20px;
}
.main-section-e-div-item p{
    color: rgb(124, 122, 122);
}
.main-section-e-div-item img{
    width: 70%;
    border: 7px solid #6fa4f1;
    border-radius: 50%;
}




footer{
    width: 100%;
    background-color: #FF8C00;
    padding: 3% 0px;
}
.footer-section{
    width: 90%;
    margin: 0px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.footer-section-divr{
    width: 50%;
}
.footer-section-divr-text{
    display: flex;
    align-items: start;
    flex-direction: column;
    flex-wrap: wrap;
}
.footer-section-divr-text h2{
    color: white;
    margin-bottom: 1%;
}
.footer-section-divr-text p{
    color: white;
}
.footer-section-divr-buttons{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 5%;
}
.footer-section-divr-buttons-r{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.footer-section-divr-buttons-r button{
    width: 45%;
    height: 35px;
    border-radius: 8px;
}
.footer-section-divr-buttons-r button:nth-child(1){
    background-color: black;
    color: white;
}
.footer-section-divr-buttons-r button:nth-child(1) a{
    background-color: black;
    color: white;
}
.footer-section-divr-buttons-l{
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}
.footer-section-divr-buttons-l i{
    color: white;
    font-size: 25px;

}
.footer-section-divl{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
}
.footer-section-divl img{
    width: 45%;
}



@media only screen and (max-width: 580px){

    header{
        height: 60px;
    }
    header>section{
        justify-content: space-between;
        direction: ltr;
    }
    .header-img-btn{
        display: inline-block;
        width: 28px;
        order: 3;
        margin-left: auto;
    }
    .mobile-theme-toggle{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 999px;
        padding: 0;
        margin-right: 0;
        margin-left: 8px;
        font-size: 14px;
        order: 2;
    }
    .header-div-logo {
        width: auto;
        height: 80%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        order: 1;
    }
    .header-div-logo img{
        width: 46px;
        height: auto;
    }
    .header-div-menu{
        display: none;
    }
    .header-section-login{
        display: none;
    }

/*///////end header//////////////*/
    .main-section-a{
        margin-top: 20px;
        flex-wrap: wrap;
    }
    .main-section-a div:nth-child(1){
        width: 100%;
        
    }
    .main-section-a div:nth-child(2){
        width: 100%;
        margin-top: 30px;
    }
    .main-section-a div:nth-child(2) img{
        width: 110%;
    }

    .main-section-b{
        width: 90%;
        flex-wrap: wrap;
    }

    .main-section-c{
        margin-top: 150px;
        flex-wrap: wrap;
    }
    .main-section-c div:nth-child(1){
        width: 100%;
        padding: 0px 4%;
    }
    .main-section-c div:nth-child(2){
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px 4%;
    }
    .main-section-c div:nth-child(2) img {
        width: 60%;
        margin-top: 15px;
        
    }

    .main-section-d{
        margin-top: 65px;
        flex-wrap: wrap;
    }
    .main-section-d div:nth-child(1){
        width: 100%;
        padding: 0px 4%;
    }
    .main-section-d div:nth-child(2){
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px 4%;
    }
    .main-section-d div:nth-child(2) img {
        width: 60%;
        margin-top: 15px;
        
    }

    .main-section-e-div-item{
        width: 44%;
    }
    .main-section-e-div-item h3{
        font-size: 15px;
    }
    .main-section-e h2 img {
        top: 4px;
        right: 40%;
    }
    



    .footer-section-divr{
        width: 100%;
        margin-top: 8%;
    }
    .footer-section-divr-buttons{
        flex-direction: column;
        margin: 14% 0px 5%;
    }
    .footer-section-divr-buttons-r{
        width: 100%;
    }
    .footer-section-divr-buttons-r button{
        width: 48%;
    }
    .footer-section-divr-buttons-l{
        width: 50%;
        margin: 8% 0px 10%;
    }
    .footer-section-divl{
        width: 100%;
        justify-content: center;
    }
    .footer-section-divl img{
        width: 70%;
    }

}


