/* --== About Main ==-- */
.main-about{
    margin-top: 0;
    background: lightgray;
    padding: 10px;
    display: grid;
    gap: 10px;
}

/* --== Section Wise Design ==-- */
/* ---=== Intro Section ===--- */
#story{
    background: var(--light);
    padding: 50px 20px;
}
.story{
    padding: 10px;
}

/* --== Mission & Vision Section ==-- */
#mission-vision{
    background: var(--light);
    padding: 50px 20px;
    /*display: none; */
}

.mission-vision{
    padding: 10px 10px 80px 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 25px;
    background: var(--secondary); 
}

.mission, .vision, .value{
    width: 320px;
    padding-top: 120px;
    position: relative;
    /* background: var(--info); */
}

.stat-img{
    background: rgba(128, 128, 128, 0.954);
    height: 185px;
    width: 185px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    z-index: 1;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    border: solid 10px var(--light);
}

.stat-img img{
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: solid 10px var(--light);
    box-shadow: inset 0 0 10px black;
}

.statements{
    background: rgba(128, 128, 128, 0.954);
    padding: 120px 20px 10px 20px;
    height: 400px;
    border-radius: 50px 50px 0 0;
    position: relative;
}

.statements::after{
    content: "";
    display: block;
    background: transparent;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: rgba(128, 128, 128, 0.954) transparent;
    border-width: 60px 160px 0;
    position: absolute;
    left: 0;
    bottom: -59px;
}

.statements h3{
    font-size: 22px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 10px;
}
.statements p{
    font-size: 16px;
    font-weight: 400;
    color: var(--light);
    line-height: 1.5;
}

.mvshape:hover .statements::after{
    bottom: -29px;
    border-width: 30px 160px 0;
    transition: all 0.5s ease-in-out;
}
.mvshape:hover .statements{
    padding: 110px 20px 10px 20px;
    border-radius: 150px 50px 0 0;
    /* background-image: linear-gradient(to left bottom, blue, lightcoral); */
    transition: all 0.5s ease-in-out;
}
.mvshape:hover .stat-img{
    left: 50%;
    transform: translateX(20%) translateY(20%) rotate(20deg);
    transition: all 0.5s ease-in-out;
}


/* --== Teams Section ==-- */
#team{
    background: var(--light);
    padding: 50px 20px;
}
.team{
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.team-card{
    border-bottom-right-radius: 50px;
    overflow: hidden;
}

.team-img{
    height: 250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
}
.team-img img{
    width: 200px;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
}

.team-info{
    height: 120px;
    background: rgba(128, 128, 128, 0.954);
    padding: 20px;
    text-align: start;
    border-bottom-right-radius: 50px;
    position: relative;
}
.team-card h3{
    font-size: 20px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 5px;
    /* background: var(--primary);
    width: fit-content;
    padding: 1px 4px;
    border-radius: 4px; */
}
.team-card h4{
    font-size: 16px;
    font-weight: 500;
    color: var(--light);
    margin-bottom: 10px;
}
.team-info p{
    font-size: 14px;
    font-weight: 400;
    color: var(--light);
    line-height: 1.5;
    margin-bottom: 0;
    background: var(--primary);
    padding: 60px 0 0 20px;
    width: 100%;
    height: 150px;
    position: absolute;
    right: -240px;
    bottom: -110px;
    z-index: 1;
    transition: all 0.5s ease-in-out;
}
.team-info p::before{
    content: "";
    display: block;
    background: transparent;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: var(--primary) transparent;
    position: absolute;
    left: 0;
    top: 0;
    border-width: 0 50px 30px 0;
    transition: all 0.5s ease-in-out;
}
.social-media {
    width: fit-content;
    display: flex;
    gap: 10px;
}
.social-media a{
    font-size: 16px;
    color: var(--light);
    background: var(--primary);
    width: 22px;
    height: 22px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.5s ease-in-out;
}

.team-card:hover .team-img img{
    transform: scale(1.1);
}
.team-card:hover .team-info p::before{
    top: -29px;
}
.team-card:hover .team-info p{
    right: 0;
    bottom: 0;
    padding: 20px 30px;
}
.team-card:hover .social-media a{
    width: 100px;
    height: 100px;
}

/* --== FAQ Section ==-- */
#faq{
    /* background: var(--light); */
    padding: 50px 20px;
}
.faq{
    text-align: start;
    padding-top: 20px;
}

.faq-item{
    padding: 10px;
}
.faq-item h3{
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
}
.faq-item p{
    font-size: 16px;
    font-weight: 400;
    color: var(--dark);
    line-height: 1.5;
}


/* --== Mobile Design ==-- */
@media only screen and (max-width: 768px){
    /* ---=== Intro Section ===--- */
    .story p{
        font-size: 14px;
    }

    /* --== Mission & Vision Section ==-- */
    .mission-vision{ 
        flex-direction: column;
        gap: 50px;
    }
    .mission, .vision, .value{
        width: 300px;
        padding-top: 100px;
    }
    .stat-img{
        /* background-color: var(--dark); */
        height: 150px;
        width: 150px;
        top: -75px;
    }
    .stat-img img{
        width: 125px;
        height: 125px;
    }
    .statements{
        padding: 100px 20px 10px 20px;
        height: 360px;
    }
    .statements::after{
        bottom: -59px;
        border-width: 60px 150px 0;
    }
    .statements h3{
        font-size: 20px;
    }
    .statements p{
        font-size: 15px;
        text-align: center;
    }
    .mvshape:hover .statements::after{
        border-width: 30px 150px 0;
    }
    .mvshape:hover .statements{
        padding: 90px 20px 10px 20px;
    }
    .mvshape:hover .stat-img{
        transform: translateX(15%) translateY(15%) rotate(20deg);
    }

    /* --== Teams Section ==-- */
    .team-info p{
        text-align: start;
        right: -265px;
        bottom: -115px;
    }

    /* --== FAQ Section ==-- */
    .faq-item h3{
        font-size: 16px;
    }
    .faq-item p{
        font-size: 14px;
        text-align: start;
    }
}