*{
    margin :0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image:linear-gradient(rgba(255, 255, 255, 0.4),rgba(20, 2, 16,0.6) ), url(photo2.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    padding: -25% -6%;
    width: 125px;

}

.nav-links{
    flex : 1;
    padding-top: 0%;
    text-align: right;
}

.nav-links ul li{
    list-style: none ;
    display:inline-block ;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color : #fff ;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after{
    content:'';
    width: 0%;
    height: 3px;
    background: #470223;
    display : block;
    margin: auto ;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color:#470223;
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size:62px ;

}

.text-box p {
    margin : 10px 0 40px ;
    font-size : 14px;
    color: #470223;
}


.hero-btn {
    display : inline-block;
    text-decoration : none ;
    color : #470223;
    border : 1px solid #470223;
    padding : 12px 34px;
    font-size : 13px;
    background : transparent;
    position : relative;
    cursor: pointer;
    transition: 1s;
}


.hero-btn:hover {
    background: #470223;
    color:#fff;
}

nav .fa{
    display : none;
}

@media(max-width : 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #470223;
        height: 100vh;
        width: 200px;
        top:0;
        right:-200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 25px;
        cursor: pointer;
    }
}

/*-------- about us ------*/
.about-us {
    margin:0px;
    box-sizing: border-box;
    font-family: sans-serif;
    padding-top: 50px;
    text-align: center;
}

.about-us h3{
    font-weight: 600;
    font-size: 50px;
    color: #2c0826;
    margin-bottom: 10px;
    background-color: #808589;
}

.about-us .subtitle h2{
    font-size: 40px;
    color: #470223;
    flex-direction: column;
    right: 75%;
    margin-top: 20px;
    margin-bottom: 10px;
}

.about-us .content{
    padding-top: 10px;
    align-items: center;
    display: flex;
    width: 85%;
    margin: auto;
    color: #808589;
    right:0;
    margin-bottom: 40px;
}

.about-us .content img{
    flex: 0 50%;
    max-width: 50%;
}

.about-us .content p{
    max-width: 40%;
    font-size: medium;
    margin-left: 30px;
}

@media(max-width: 700px) {
    .about-us .content{
        flex-direction: column;
        max-width: 90%;
    }
    .about-us .content img{
        max-width: 70%;
        margin-top: 10px;
    }
    .about-us .content p{
        text-align: center;
        max-width: 70%;
    }
}
/*------- Special Education-------*/



.teachers{
    width: 50%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.teachers h1 {
    font-size: 40px;
    color: #470223;
    flex-direction: column;
    right: 75%;
    margin-top: 20px;
    margin-bottom: 10px;
}
.teachers p{
    margin-top: 20px;
    size: 16px;
    color:#808589;
    padding-top: 10px;
    text-align: center;
}

.text-box2{
    margin-top: 10%;
    margin-left: 70%;
    flex-basis: 30%;
    flex-direction: column;
    text-align: right;
    background: transparent;
    transition: 0.5s;
    margin-bottom: 30px;
}

.text-box2 img{
    border-radius: 10%;
}

.text-box2 p{
    background: transparent;
    text-align: right;
}

.text-box2:hover{
    width: 50%;
    height: 50%;
    background: #470223;
    color: #808589;
}


.resume{
    margin-top: -50%;
    left:20px;
    flex-basis: 50%;
    text-align: left;
    width: 60%;
}

.resume p{
    border-radius: 5%;
    background: #470223;
    color: #808589;
}

@media(max-width: 700px) {
    .text-box2{
        margin: auto;
        flex-direction: column;
        max-width: 100%;
    }
    .resume{
        margin-top: 10%;
        text-align: center;
        box-sizing: border-box;
        margin : auto;
        width: 100%;
    }
    .resume h3{
        margin-top: 20px;
    }
    .resume p{
        width:120%;
        text-align: center;
    }
}


/*------- Footer-------*/

.footer{
    margin: auto;
    text-align: center;
}


.icons{
    color:#2c0826;
}

.fa{
    color:#2c0826;
}