.our-people-section{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10dvh;

    .our-people-container{
        max-width: 1400px;
        width: 100%;
        // border: 1px solid black !important;

        .tab-controls{
            display: flex;
            flex-wrap: nowrap;
            justify-content: center;
            width: 100%;
            gap: 10px;
            margin-bottom: 30px;
            padding: 0 20px;

            .tab-button{
                font-family: "Poppins";
                background-color: #e6e6e6;
                border: 1px solid #e6e6e6;
                color: #3f3f3f;
                font-size: clamp(.9rem, 2vw, 1.2rem);
                font-weight: 600;
                padding: 5px 20px;
                transition: .3s ease-in;
                border-radius: 100px;
                cursor: pointer;
                
                &:hover{
                    color: #008a2a;
                    border: 1px solid #008a2a;
                    background-color: #fff;
                }
            }

            .tab-button.selected{
                background-color: #008a2a;
                color: #fff;
                border: 1px solid #008a2a;
            }

        }

        .our-people-grid{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .tab-content{
            min-height: auto !important;
            padding: 0 0 0 0 !important;

            .tab-profile-group{
                display: none;

                .sublist-title-container{
                    border-bottom: 1px solid #e6e6e6;
                    padding: 50px 0 20px 0;
                    margin: 0 0 30px 0;
                    .sublist-title{
                        font-family: "Poppins";
                        font-size: clamp(1.5rem, 8vw, 2.5rem) !important;
                        font-weight: 700;
                        text-align: center;
                        color: #008a2a;
                    }
                }
                
            }
            
            .selected-tab{
                display: block !important;
            }

            .profile-grid{
                display: flex;
                flex-wrap: wrap;
                justify-content: center;

                .profile-card{
                    flex: 1 1 450px;
                    // border: 1px solid #008a2a;
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: center;
                    align-content: flex-start;
                    text-align: center;
                    padding: 50px 20px;

                    .profile-image{
                        max-height: 350px;
                        max-width: 350px;
                        width: 70vw;
                        border-radius: 50% 50%;
                        overflow: hidden;
                        box-shadow: 3px 3px 15px rgba(0,0,0,0.8);
                        cursor: pointer;

                        img{
                            width: 100% !important;
                        }
                    }

                    .profile-card-details{
                        flex: 0 0 100%;
                        margin-top: 20px;
                        cursor: pointer;
                        
                        .profile-name{
                            font-family: "Poppins";
                            margin-bottom: 10px;
                        }

                        .profile-position{
                            font-size: 1.2rem;
                            font-family: "Poppins";
                            font-weight: 600;
                            color: #008a2a;
                        }
                    }
                }
            }
        }

    }
}

    
.profile-overview-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    // display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    padding: 10px;
    z-index: 13;

    .profile-overview-content{
        background-color: #fff;
        max-width: 1000px;
        width: 100%;
        border-radius: 10px;
        overflow: hidden;
        padding: 50px 30px;
        position: relative;
        box-shadow: 3px 3px 10px rgba(0,0,0,0.8);
        // max-height: 80dvh;

        .profile-modal-close-btn{
            background-color: red;
            position: absolute;
            top: 10px;
            right: 10px;
            width: 25px;
            height: 25px;
            border-radius: 50% 50%;
            border: none;
            line-height: 1.2rem;
            cursor: pointer;
        }

        .profile-modal-container{
            border-radius: 50% 50%;
            max-width: 250px;
            max-height: 250px;
            width: 40vw;
            overflow: hidden;
            box-shadow: 3px 3px 10px rgba(0,0,0,0.8);
        }

        .profile-overview-grid{
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }

        .profile-modal-image{
            flex: 0 0 300px;
            display: flex;
            justify-content: center;
        }

        .profile-name-role{
            flex: 1 1 300px;
            display: flex;
            flex-wrap: wrap;
            justify-content: left;
            align-content: center;
        }

        .profile-modal-text{
            overflow-y: auto;
            overflow-x: hidden;
            margin-top: 50px;
            max-height: 30dvh;
            padding-right: 10px;
            font-family: "Karla";
            text-align: justify;
            font-size: 1rem;
            flex: 0 0 100%;

            &::-webkit-scrollbar{
                background-color: #e6e6e6;
                width: 5px;
                border-radius: 10px;
            }

            &::-webkit-scrollbar-thumb{
                background-color: #c6c6c6;
                border-radius: 10px;
            }
        }

        .profile-card-name{
            font-family: "Poppins";
            font-size: clamp(1.2rem, 8vw, 3.5rem) !important;
            line-height: clamp(1.7rem, 8vw, 4rem) !important;
            font-weight: 700;
            color: #3f3f3f;
            flex: 0 0 100%;
        }
        .profile-role{
            font-family: "Poppins";
            font-size: clamp(1rem 8vw, 1.5rem) !important;
            line-height: clamp(1rem 8vw, 1.5rem);
            color: #008a2a;
            font-weight: 600;
            flex: 0 0 100%;
            margin: 10px 0 0 0;
        }


        @media only screen and (max-width: 679px){
            .profile-name-role{
                justify-content: center;
                margin-top: 20px;
            }

            .profile-card-name,
            .profile-role{
                text-align: center !important;
            }

        }

    }

}