@import url("/css/color.css");
main {
    background-color: var(--dirty-white);
    padding-bottom: 100px;
}
.aboutus-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("../Image/Aboutus/banner.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    height: 50vh;
}
.header-container {
    position: absolute;
    top: 20vh;
    left: 0;
    right: 0;
}
.header-container h1 {
    font-weight: 700;
    font-size: 35px;
    color: var(--white);
}
.main-container {
    background-color: var(--white);
    min-height: 50vh;
    background-image: url("../Image/Aboutus/aboutbg.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    /* border: 1px solid rgb(207, 207, 207); */
    border-radius: 20px;
    margin-top: -15vh;
    z-index: 100;
}
.main-container .content {
    padding: 50px;
}
.main-container .about-title {
    font-size: 13px;
    color: var(--dark-red);
    margin-bottom: 20px;
}

.main-container .main-title {
    font-size: 45px;
    color: var(--black);
    font-weight: 700;
}
.main-container .about-container {
    border-radius: 16px;
    padding: 40px;
    font-size: 15px;
    background-color: var(--white);
    -webkit-box-shadow: 0px 1px 31px -8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 1px 31px -8px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 1px 31px -8px rgba(0, 0, 0, 0.75);
}
.mission-container .container-flex {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
}

.mission-container .container-box {
    width: 35%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.mission-container .box {
    flex-grow: 1;
    line-height: 1.8;
    font-size: 15px;
    margin-top: 50px;
    padding: 40px;
    background: url("../Image/Aboutus/page-image.png") no-repeat;
    background-position: bottom center;
    background-size: cover;
    border-radius: 20px;
    background-color: white;
    box-shadow: -1px 1px 13px 4px rgba(0, 0, 0, 0.26);
    -webkit-box-shadow: -1px 1px 13px 4px rgba(0, 0, 0, 0.26);
    -moz-box-shadow: -1px 1px 13px 4px rgba(0, 0, 0, 0.26);
}

.mission-container .title {
    background-color: #171d2c;
    color: white;
    font-weight: 700;
    padding: 30px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.team-section {
    background-color: var(--white);
    min-height: 50vh;
    background-image: url("../Image/Aboutus/memberbg.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    /* border: 1px solid rgb(207, 207, 207); */
    border-radius: 20px;
    margin-top: 80px;
    padding: 30px;
    padding-bottom: 70px;
}
.team-section .team-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--black);
    margin: 30px 30px 50px 30px;
}
.team-section .img-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}
.team-section .img-container .img-box {
    border-radius: 8px;
}
.team-section .img-container img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.team-section .name-container {
    background-color: #565b6a;
    border-radius: 20px;
    color: var(--white);
    text-align: center;
    margin-top: 35px;
    padding: 10px;
    -webkit-box-shadow: 0px 19px 40px -10px rgba(0, 0, 0, 0.55);
    -moz-box-shadow: 0px 19px 40px -10px rgba(0, 0, 0, 0.55);
    box-shadow: 0px 19px 40px -10px rgba(0, 0, 0, 0.55);
}

.team-section .name-container h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    padding: 0;
}
.team-section .name-container h3 {
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}
@media screen and (max-width: 995px) {
    .main-container .content {
        padding: 50px;
    }
    .aboutus-header {
        height: 300px;
    }
    .header-container {
        position: absolute;
        top: 100px;
        text-align: center;
    }
    .header-container h1 {
        font-size: 30px;
    }
    .main-container .about-title {
        text-align: center;
    }
    .main-container .main-title {
        font-size: 40px;
        margin-bottom: 30px;
        text-align: center;
    }
    .mission-container .container-flex {
        display: flex;
        justify-content: center;
        align-items: stretch;
        flex-direction: column;
        padding: 0px 40px;
    }

    .mission-container .container-box {
        width: 100%;
        margin-top: 0;
    }
    .mission-container .container-box .box {
        margin-bottom: 0;
        z-index: 1;
    }
    .mission-container .container-box {
        flex-direction: column-reverse;
    }
    .container-flex .container-box .title {
        /* border: 1px solid red; */
        margin-top: -20px;
        padding-top: 40px;
        z-index: 0;
    }
}

@media screen and (max-width: 768px) {
    .main-container .content {
        padding: 20px;
    }
    .main-container .main-title {
        font-size: 30px;
    }
}

@media screen and (max-width: 500px) {
    .aboutus-header {
        height: 250px;
    }
    .header-container {
        top: 70px;
    }
    .header-container h1 {
        font-size: 20px;
    }

    .main-container .content {
        padding: 10px;
        padding-bottom: 30px;
    }
    .main-container .about-title {
        text-align: center;
        margin-top: 10px;
    }
    .main-container .main-title {
        font-size: 25px;
        margin-bottom: 30px;
        text-align: center;
    }
    .main-container .about-container {
        padding: 25px;
        font-size: 12px;
        background-color: var(--white);
        -webkit-box-shadow: 0px 1px 31px -8px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 0px 1px 31px -8px rgba(0, 0, 0, 0.75);
        box-shadow: 0px 1px 31px -8px rgba(0, 0, 0, 0.75);
    }
    .team-section {
        margin-top: 50px;
    }
    .team-section .team-title {
        margin: 15px 30px 20px 30px;
    }
    .team-section .img-container {
        justify-content: center;
        gap: 40px;
    }
    .team-section .img-container img {
        width: 100%;
    }
    .team-section .name-container {
        margin-top: 20px;
    }

    .team-section .name-container h2 {
        font-size: 17px;
    }
    .team-section .name-container h3 {
        font-size: 12px;
    }
    .mission-container .container-flex {
        padding: 0px 10px;
    }
    .mission-container .title {
        color: white;
        font-weight: 700;
        padding: 20px;
        font-size: 20px;
    }

    .mission-container .box {
        font-size: 12px;
        margin-top: 50px;
        padding: 25px;
    }
}
