@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.title {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    background-image: url('../images/About.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.title h1 {
    text-align: left;
    font-size: 100px;
    font-weight: bold;
    text-transform: uppercase;
    color: whitesmoke;
    margin-left: 50px;
}
.about{
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.about h4{
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #004d99;
}
.img img{
    width: 600px;
}
.content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-left: 20px;
}
.content p{
    text-align: justify;
}
.container {
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.container .text {
    width: 400px;
    margin: auto;
}

.vision {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/vision.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 600px;
    height: 500px;
}

.mission {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('../images/mission.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 600px;
    height: 500px;
}

.container h1 {
    font-size: 50px;
    color: white;
    font-weight: bold;
}

.container p {
    font-size: 16px;
    color: white;
    font-weight: 300;
}

.detail h3{
    padding: 20px;
    text-align: left;
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    color: #004d99;
}
.detail h5{
    padding: 0 80px 10px 50px;
    font-size: 20px;
    font-weight: 500;
    font-family: DM Sans, sans-serif;
    color: #777;
}
.whychoose h4{
    padding-left: 50px;
    font-family: DM Sans, sans-serif;
    font-size: 24px;
    font-weight: bold;
}
.whychoose h5{
    padding-left: 70px;
}

@media (max-width:850px) {
    .container {
        flex-direction: column;
       width: 100%;
        margin: 50px 0;
    }

    .vision,.mission {
        width: 100%;
        height: 100%;
    }

    .title {
        height: 200px;
        max-width: 100%;
    }

    .title h1 {
        font-size: 30px;
        margin-left: 20px;
    }

    .container .text {
        width: 300px;
        margin: auto;
    }
    .about{
        flex-direction: column;
    }
    .img img{
        width: 100%;
    }
    .content{
        margin-top: 20px;
    }
    .detail h5{
        padding: 0 40px 10px 30px;
    }
}
@media (max-width:900px) and (min-width:850px) {
    .img img{
        width: 350px;
    }
    .content{
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .title h1{
        font-size: 60px;
        margin-left: 30px;
    }
}
@media (max-width:1300px) and (min-width:900px) {
    .content{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        margin-left: 20px;
    }
    .title h1{
        font-size: 60px;
        margin-left: 30px;
    }
}
