.about-section,
.teacher-about-section,
.mentor-about-section,
.salary-emp-about-section,
.student-about-section,
.volunteer-about-section{
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    padding-right: 100px;
    gap: 100px;
}

.volunteer-about-section {
    gap: 50px;
}

.volunteer-about-section > .first-img > img{
    width: 300px;
}

.line-box{
    display: flex;
    justify-content: center;
    align-items: center;
}

.line{
    width: 600px;
    height: 2px;
    background-color: #000;
}

.mentor-about-section > .mentor-card-img > img{
    width: 650px;
}

.salary-emp-about-section > .salary-card-img > img{
    width: 500px;
}

.teacher-about-section > .teacher-card-img > img{
    width: 500px;
}

.student-about-section > .student-card-img > img{
    width: 500px;
}

.about-heading{
    text-align: center;
    font-size: 30px;
    margin-top: 50px;
    font-weight: 500;
}

.about-text-section{
    display: flex;
    flex-direction: column;
    text-align: center;
}

span>i>u{
    font-weight: 900;
    font-size: 25px;
}

p{
    font-weight: 800;
    margin-bottom: 100px;
}

.alert-success{
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #d3edd9;
    width: 60%;
    height: auto;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 20px;
}

.alert-danger{
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #f7d7da;
    width: 60%;
    height: auto;
    border: 1px solid #f5c6cb;
    color: #731d25;
    padding: 20px;
    border-radius: 20px;
}

.salary-emp-matter {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.mentor-matter {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.box-one, .box-two {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #b9c0db;
    width: 100%;
    height: auto;
    border: 1px solid #b9c0db;
    color: #1d4b72;
    padding: 20px;
    border-radius: 20px;
    transition: .8s all;
}

.box-one:hover, .box-two:hover {
    background-color: #1d4b72;
    color: #ffffff;
    cursor: pointer;
}

.box-three, .box-four {
    margin-bottom: 20px;
    background-color: #f7d7da;
    width: 100%;
    height: auto;
    border: 1px solid #f7d7da;
    color: #731d25;
    padding: 20px;
    border-radius: 20px;
    transition: .8s all;
}

@media (max-width: 1775px) {
    .teacher-about-section {
        display: flex;
        flex-direction: column;
        padding: 30px;
        padding-right: 50px;
        gap: 50px;
    }
}

@media (max-width: 1325px) {
    .salary-emp-about-section {
        display: flex;
        flex-direction: column;
        padding: 30px;
        padding-right: 50px;
        gap: 50px;
    }

    .mentor-about-section {
        display: flex;
        flex-direction: column;
        padding: 30px;
        padding-right: 50px;
        gap: 50px;
    }

    .volunteer-about-section {
        display: flex;
        flex-direction: column;
        padding: 30px;
        padding-right: 50px;
    }
}

@media (max-width: 1010px) {
    .about-section{
        display: flex;
        flex-direction: column;
        padding: 30px;
        padding-right: 50px;
    }
}

@media (max-width: 1100px) {
    .about-section,
    .teacher-about-section,
    .mentor-about-section,
    .salary-emp-about-section,
    .student-about-section,
    .volunteer-about-section{
        flex-direction: column;
        padding: 20px;
        padding-right: 20px;
    }

    .line{
        width: 300px;
    }

    .about-heading{
        font-size: 20px;
    }

    .about-text-section{
        text-align: center;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
    }

    p{
        font-size: 14px;
        margin-bottom: 50px;
    }
}

@media (max-width: 670px) {
    .about-section>.about-image-section img{
        width: 200px;
    }

    .mentor-about-section > .mentor-card-img > img{
        width: 500px;
    }

    .salary-emp-matter {
        flex-direction: column;
        align-items: center;
    }

    .mentor-matter {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 505px) {
    .salary-emp-about-section > .salary-card-img > img{
        width: 300px;
    }

    .mentor-about-section > .mentor-card-img > img{
        width: 250px;
    }

    .teacher-about-section > .teacher-card-img > img{
        width: 300px;
    }

    .student-about-section > .student-card-img > img{
        width: 300px;
    }

    .salary-emp-matter {
        padding: 0;
        margin: 0;
    }
}

@media (max-width: 450px) {
    .about-section>.about-image-section img{
        width: 150px;
    }

    .mentor-about-section > .mentor-card-img > img{
        width: 300px;
    }
}

@media (max-width: 400px) {
    .about-section>.about-image-section img{
        width: 120px;
    }

    .mentor-about-section > .mentor-card-img > img{
        width: 300px;
    }
}