*{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//////////////*/

/* بنر پیام موفقیت ارسال فرم */
.form-success-message {
    display: none;
    width: 90%;
    max-width: 800px;
    margin: 0 auto 25px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: #fff;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.35);
    transition: opacity 0.4s ease, transform 0.3s ease;
}
.form-success-message.form-success-message--visible {
    display: block;
    animation: formSuccessFade 0.4s ease;
}
@keyframes formSuccessFade {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-file-warning {
    display: none;
    width: 90%;
    max-width: 800px;
    margin: 0 auto 25px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #e65100 0%, #bf360c 100%);
    color: #fff;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(191, 54, 12, 0.35);
}
.form-file-warning[hidden] { display: none !important; }
.form-file-warning.form-file-warning--visible {
    display: block !important;
    animation: formSuccessFade 0.4s ease;
}

.form-file-alert-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: formAlertFadeIn 0.3s ease;
}
.form-file-alert-box {
    background: #fff;
    max-width: 480px;
    width: 100%;
    padding: 28px 24px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}
.form-file-alert-title { margin: 0 0 16px; font-size: 22px; color: #bf360c; }
.form-file-alert-text { margin: 0 0 24px; font-size: 15px; line-height: 1.8; color: #333; text-align: justify; }
.form-file-alert-btn {
    padding: 12px 32px;
    font-size: 16px;
    font-family: inherit;
    background: #e65100;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
.form-file-alert-btn:hover { background: #bf360c; }
@keyframes formAlertFadeIn { from { opacity: 0; } to { opacity: 1; } }

.main-section-A{
    width: 100%;
    margin: 40px 0px 0px;
}
.main-section-A div{
    width: 85%;
    margin-right: 12%;

}
.main-section-A div h2{
    color: #FF8C00;
}
.main-section-A div p{
    margin-top: 10px;
}
.main-section-A img{
    width: 10%;
    margin-right: 2%;
    margin-top: -25px;
}
/*///////main-section-A//////////////*/

main>h2{
    border-bottom: 2px solid #FF8C00;
    border-top: 2px solid #FF8C00;
    padding: 20px 0px;
    text-align: center;
    color: #FF8C00;
}
/*///////end main-h2//////////////*/

.main-section-B{
    width: 100%;
}
.main-section-B-form{
    width: 80%;
    margin: 30px auto;
    border: 2px solid #FF8C00;
    border-radius: 10px;
    padding: 5px 4% 30px;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.main-section-B-form * label{
    font-weight: bold;
}
.main-section-B-form-A{
    width: 100%;
    margin-top: 10px;
}
.main-section-B-form-A select{
    width: 100%;
    height: 40px;
    outline: none;
    border: 1px solid #FF8C00;
    border-radius: 3px;
    padding: 5px 1%;
    margin-top: 10px;
}
.main-section-B-form-B{
    width: 99%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-section-B-form-B div{
    width: 45%;
}
.main-section-B-form-B div input{
    width: 100%;
    height: 30px;
    outline: none;
    border: 1px solid #FF8C00;
    border-radius: 3px;
    padding: 5px 1%;
    margin-top: 10px;
}
.main-section-B-form-C{
    width: 100%;
    margin-top: 10px;
}
.main-section-B-form-C textarea{
    width: 98%;
    height: 120px;
    outline: none;
    border: 1px solid #FF8C00;
    border-radius: 3px;
    padding: 5px 1%;
    margin-top: 10px;
}
.main-section-B-form-D{
    width: 100%;
    margin-top: 10px;
}
.main-section-B-form-D input{
    display: none;
}
.form-human-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 10px;
    width: 100%;
}
.form-human-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #FF8C00;
}
.form-human-check label {
    font-size: 15px;
    color: #333;
    cursor: pointer;
    user-select: none;
}

#file-lable{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 98%;
    height: 120px;
    outline: none;
    border: 1px dotted #FF8C00;
    border-radius: 3px;
    padding: 5px 1%;
    margin-top: 10px;
    padding-bottom: 30px;
    cursor: pointer;
}
.main-section-form-btn{
    width: 100%;
    height: 60px;
    background-color: #FF8C00;
    color: white;
    border-radius: 12px;
    font-size: 18px;
    margin: 20px 0px 30px;
}

/*///////end main-section-B//////////////*/




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: 18px;
    }
    .main-section-A div {
        width: 90%;
        text-align: center;
        margin: 0px auto;
    }
    .main-section-A div h2{
        font-size: 20px;
    }
    .main-section-A div p{
        font-size: 16px;
    }
    .main-section-A img{
        width: 35%;
        margin-top: 5px;
    }
    .main-section-B-form-B{
        flex-direction: column;
        align-items: start;
    }
    .main-section-B-form-B div{
        width: 98%;
    }
    




    .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%;
    }

}
