@font-face {
    font-family: font;
    src: url(../Vazir/Vazir-Bold-FD.ttf);
}
html,body{
width: 100%;
height: auto;
float: left;
margin: 0;
padding: 0;   
direction: rtl;
}
body *{
    font-family: font;
}
a{
    text-decoration: none;
}

footer{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    background: #181b1e;
}
.m-footer-sec{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 4em 5%;
    padding-bottom: 2em;
    justify-content: space-between;
}
.m-footer-ele{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    padding: 0.5em;
    box-sizing: border-box;
}
.m-footer-des{
    width: 30%;
}
.m-footer-logo{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    margin-bottom: 2em;
    justify-content: center;
}
.m-footer-logo a{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
}
.m-footer-logo img{
    width: 10em;
}
.m-footer-des p{
    width: 100%;
    height: auto;
    float: left;
    line-height: 38px;
    margin-bottom: 1em;
    color: rgb(186, 186, 186);
    font-size: 14px;
    text-align: justify;
}
.m-footer-socail{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}
.m-footer-socail li{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    list-style: none;
    margin: 0 0.8em;
}
.m-footer-socail a{
    color: rgba(255, 255, 255, 0.736);
    display: flex;
    font-size: 19px;
}
.m-footer-socail a:hover{
    color: white;
}
.m-footer-ele h3{
    color: white;
    float: left;
    font-size: 22px;
    margin: 0;
    margin-bottom: 1em;
}
.m-footer-list{
    width: 100%;
    float: left;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}
.m-footer-list li{
    width: fit-content;
    height: auto;
    float: left;
    margin-bottom: 0.9em;
    list-style: none;
}
.m-footer-list a{
    display: flex;
    color: rgba(255, 255, 255, 0.736);
    font-size: 14px;
}
.m-footer-list a:hover{
    color: white;
}
.m-footer-end{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.736);
    box-sizing: border-box;
    padding: 1em 5%;
    padding-top: 2em;
}
.m-payment-sec,.m-copyright{
    width: 50%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
}
.m-namad-sec{
    width: 4em;
    height: auto;
    float: left;
    display: flex;
    margin-left: 1em;
}
.m-namad-sec:last-child{
    margin: 0;
}
.m-namad-sec a{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
}
.m-namad-sec img{
    width: 100%;
    height: auto;
    float: left;
    aspect-ratio: 2/2;
}
.m-payment-sec img:last-child{
    margin-left: 0;
}
.m-copyright{
    justify-content: flex-end;
}
.m-copyright p{
    color: white;
    font-size: 13px;
    margin: 0;
}
.m-footer-number{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    /* margin-bottom: 1em; */
    color: white;
}
.m-footer-number a{
    margin-left: 1em;
    color: white;
}
.m-footer-number a:hover{
    color: rgb(0, 94, 202);
}
:is(.m-footer-number,.m-address-box) i{
    font-size: 25px;
    margin-left: 10px;
    color: rgb(0, 94, 202);
}
.m-footer-number a:last-child{
    margin-left: 0;
}
.m-address-box{
    width: fit-content;
    float: left;
    display: flex;
    /* margin-bottom: 1em; */
}
.m-address-box address{
    margin: 0;
}
.m-footer-address{
    width: 100%;
    float: left;
    display: flex;
    flex-direction: unset;
    align-items: center;
    justify-content: space-between;
    margin-top: 2em;
}
.m-footer-address address{
    line-height: 38px;
}
.m-footer-address>div{
    margin-left: 1em;
}
.m-copyright a{
    color: white;
    border-bottom: 1px dashed white;
}
@media only screen and (max-width:1200px){
    .m-footer-ele {
        width: 25%;
        padding: 0.5em 1em;
    }
    .m-footer-des p,.m-footer-logo {
        width: 100%;
    }
    .m-footer-address{
        flex-direction: column;
    }
    .m-footer-address>div{
        margin-left: 0;
        margin-bottom: 1.5em;
    }

}
@media only screen and (max-width:1100px){
    .m-footer-ele {
        width: 50%;
    }
    .m-footer-des p{
        text-align: center;
    }
    .m-footer-list {
        align-items: center;
    }
    .m-footer-ele h3{
        text-align: center;
    }
}
@media only screen and (max-width:750px){
    .m-footer-end {
        flex-direction: column-reverse;
    }
    .m-payment-sec, .m-copyright {
        width: 100%;
        justify-content: center;
    }
    .m-copyright{
        margin-bottom: 1em;
    }

}
@media only screen and (max-width:550px){
    .m-footer-ele {
        width: 100%;
        align-items: center;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.736);
        padding:2em 1em;
    }
    .m-footer-ele:last-child{
        border: none;
    }
    .m-footer-logo{
        width: 100%;;
    }
    .m-footer-des p,address {
        width: 100%;
        text-align: center;
    }
    .m-footer-list{
        align-items: center;
    }
    .m-footer-logo{
        justify-content: center;
    }
    .m-footer-number,.m-address-box {
        flex-direction: column;
        align-items: center;
    }
    :is(.m-footer-number,.m-address-box) i{
        margin: 0;
        margin-bottom: 0.5em;
    }
    .m-footer-number a{
        margin: 0;
        margin-bottom: 1em;
        text-align: center;
    }
    .m-footer-number a:last-child{
        margin-bottom: 0;
    }
    .m-footer-socail{
        margin-top: 1em !important;
    }
    .m-footer-sec>div:first-child{
        order: 1;
    }
    .m-footer-sec>div:last-child{
        order: 2;
    }
    .m-footer-sec>div:nth-child(2){
        order: 3;
    }
    .m-footer-sec>div:nth-child(3){
        order: 4;
    }
    .m-footer-sec>div:nth-child(4){
        order: 5;
        border-bottom: none;
    }
    .m-footer-des{
        border: none;
    }
    .m-footer-address{
        border-bottom: 1px dashed rgba(255, 255, 255, 0.736);
        padding-bottom: 2em;
        margin: 0;
    }
}