@font-face {
    font-family:"farsi";
    src: url(../Farsi-Digits/Dirooz-FD.eot)format(eot),url(../Farsi-Digits/Dirooz-FD.ttf) format(ttf),url(../Farsi-Digits/Dirooz-FD.woff) format(woff);
}

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "fari";
}
.about-us{
    padding: 80px 0px;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding:0 20px;
}
.row{
    display: flex;
    flex-wrap: wrap;
}
.teacher9 .row{
    margin-top: 50px;
}
.felx{
    flex:0 0 50%;
    max-width:50%;
    padding: 0 20px;
    text-align: right;
}

.about-us h2{
    font-size: 45px;
    margin-bottom: 20px;
    color: #333;
}

.about-us h3{
    font-size: 22px;
    color: #888;
    margin-bottom: 8px;
}

.about-us ul li{
    color: #333;
    margin-bottom: 5px;
    list-style: none;
}
.body6 .about-us img{
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}
.teacher12 .about-us img{
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}
.about-us img{
    display: block;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}
.teacher8 .about-us img{
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}
.teacher9 .about-us img{
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}
.socil-links{
    padding-top: 10px;
}

.socil-links a{
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    background-color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all ease 0.5s;
}

.socil-links a:hover{
    transform: translatey(-3px);
}
 

@media screen and (max-width:1100px) {
    .row{
        flex-direction: column;
    }
    .felx{
        max-width: 100%;
        text-align: right;
    }
    .about-us h2{
        font-size: 31px;
    }
    .about-us ul li{
        font-size: 16px;
    }

    .socil-links{
        margin-bottom: 20px;
    }
}


@media screen and (max-width:1000px){
    .socil-links{
        display: flex;
        justify-content: center;
    }


}

ul {
    padding-left: 20px;
    margin: 0;
}

li {
    line-height: 1.5em;
    word-wrap: break-word;
}

@media screen and (max-width: 600px) {
    li {
        font-size: 0.9em;
    }

    h3 {
        font-size: 1.2em;
    }

    .img-teacher {
        width: 100%;
        height: auto;
    }

    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

