/*.team-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.team-slides {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 100%;
}

.team-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: all 0.6s ease;
    position: relative;
}

.team-slide-item {
    justify-content: center;
    box-shadow: 0 8px 28px rgb(188 186 186);
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 25px;
    width: 28%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.8s ease;
    position: relative;
    min-height: 350px;
}

    .team-slide-item img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 15px;
        transition: all 0.8s ease;
    }

.team-person-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-person-title {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 12px;
}

.team-short-text {
    margin-bottom: 20px;
    font-size: 16px;
    color: #363C3C;
    line-height: 1.4;
    transition: opacity 0.4s ease;
}

.team-long-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.8s ease;
    font-size: 16px;
    color: #363C3C;
   
    line-height: 1.6;
    margin-top: 15px;
}*/

/* Hover: Expand selected item and hide others */
/*.team-slide-item.team-active {
    flex-direction: row;
    width: 90% !important;*/
  /*  padding: 40px;*/
    /*justify-content: flex-start;
    text-align: left;
    z-index: 5;
}

    .team-slide-item.team-active img {
        width: 250px;
        height: 250px;
        border-radius: 20px;
        margin-right: 40px;
    }

    .team-slide-item.team-active .team-short-text {
        opacity: 0;
    }

    .team-slide-item.team-active .team-long-text {
        opacity: 1;
        max-height: 500px;
    }

.team-slide-item.team-dimmed {
    width: 0;
    opacity: 0;*/
/*    display:none;*/
    /*pointer-events: none;
    margin: 0;
}*/

/* Arrows */
/*.team-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 2rem;
    z-index: 10;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.team-row-flex {
    flex-direction: row;
    display: flex;
    align-items: center;
    gap: 5px;
}

.team-column-flex {
    display: flex;
    flex-direction: column;
}

.team-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.team-showOnHover {
    display: none;
}

    .team-showOnHover.team-visible {
        display: block !important;
    }*/

/* Make image + showOnHover side by side on hover */
/*.team-slide-item.team-active .team-row-flex {
    flex-direction: row;
    align-items: center;
}

.team-slide-item.team-active .team-showOnHover {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

#team-prev {
    left: 20px;
    display: none;
}

#team-next {
    right: 20px;
}

@media (max-width: 900px) {
    .team-slide {
        flex-direction: column;
    }

    .team-slide-item {
        width: 90%;
    }

        .team-slide-item.team-active {
            flex-direction: column;
        }

            .team-slide-item.team-active img {
                width: 100%;
                height: auto;
                margin-right: 0;
            }
}*/



.team-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.team-slides {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 100%;
}

.team-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: all 0.6s ease;
    position: relative;
}

.team-slide-item {
    justify-content: center;
    /* box-shadow: 0 8px 28px rgb(188 186 186);*/
    box-shadow: 0px 0px 25px rgb(223 223 223);
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 25px;
    width: 28%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.8s ease;
    position: relative;
    /*min-height: 350px;*/
    min-height: 400px;
}

    .team-slide-item img {
        border: 2px solid #b00505;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 15px;
        transition: all 0.8s ease;
        cursor: pointer; /* Add cursor pointer to indicate it's clickable/hoverable */
    }

.team-person-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-person-title {
    font-size: 13px;
    color: #363C3C;
    margin-bottom: 8px;
}
    .team-short-text {
    text-align: start;
    margin-bottom: 20px;
    /* font-size: 16px;*/
    font-size: 13px;
    color: #363C3C;
    line-height: 1.4;
    transition: opacity 0.4s ease;
}

.team-long-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.8s ease;
    font-size: 16px;
    color: #363C3C;
    line-height: 1.6;
    margin-top: 15px;
}

/* Hover: Expand selected item and hide others */
.team-slide-item.team-active {
    flex-direction: row;
    width: 90% !important;
    justify-content: flex-start;
    text-align: left;
    z-index: 5;
}

    .team-slide-item.team-active img {
        width: 250px;
        height: 250px;
        border-radius: 20px;
        margin-right: 40px;
    }

    .team-slide-item.team-active .team-short-text {
        opacity: 0;
    }

    .team-slide-item.team-active .team-long-text {
        opacity: 1;
        max-height: 500px;
    }

.team-slide-item.team-dimmed {
    width: 0;
    opacity: 0;
    display:none;
    pointer-events: none;
    margin: 0;
}

/* Arrows */
.team-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 2rem;
    z-index: 10;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.team-row-flex {
    flex-direction: row;
    display: flex;
    align-items: center;
    gap: 5px;
}

.team-column-flex {
    display: flex;
    flex-direction: column;
}

.team-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.team-showOnHover {
    display: none;
}

    .team-showOnHover.team-visible {
        display: block !important;
    }

/* Make image + showOnHover side by side on hover */
.team-slide-item.team-active .team-row-flex {
    flex-direction: row;
    align-items: center;
}

.team-slide-item.team-active .team-showOnHover {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

#team-prev {
    left: 20px;
    display: none;
}

#team-next {
    right: 20px;
}

@media (max-width: 900px) {
    .team-slide {
        flex-direction: column;
    }

    .team-slide-item {
         width: 90%;
       /* width: 60%;*/
    
    }
    .team-slide {
        margin-bottom: 20px;
        margin-top: 20px;
    }
    .team-slide-item.team-dimmed {
        width: 90%;
        opacity: 1;
        display:none;
        pointer-events: none;
        margin: 0;
    }
    .team-column-flex{
        margin-left:20px;
    }
    .team-slide-item.team-active {
         flex-direction: column;
     /*   flex-direction: row;*/
    }
    .team-slider-container {
        height: auto;
    }
    /* .ResText {
        width: 90%;
        margin-left: 10px;
    }*/
    .team-slide-item.team-active img {
        width: 100%;
        height: auto;
        margin-right: 0;
    }
}




