/* ================= BANNER ================= */
.lis-mv-banner {
    position: relative;
    height: 300px;
    background: url('../img/activity.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lis-mv-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(238, 189, 55, 0.7), rgba(46, 115, 185, 0.7));
}

.lis-mv-banner-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.lis-mv-banner-content h1 {
    color: #fff;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    letter-spacing: 1px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}

/* ===================== OUR TEAM – HIERARCHY & ACCORDION ===================== */

body {
    font-family: 'Poppins', 'Nunito', sans-serif;
}

/* HERO */
.team-hero {
    position: relative;
    height: 45vh;
    background: url('../img/team/banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.team-hero h1 {
    position: relative;
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
}

/* TEAM CARD */
.team-card {
    width: 220px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform .25s ease;
    flex: 0 0 auto;
}

.team-card:hover {
    transform: translateY(-6px);
}

.team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.team-card h6 {
    font-weight: 600;
    margin-top: 0.75rem;
    font-size: 1rem;
}

.team-card p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
}

/* ACCORDION / DEPARTMENTS */
.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2e73b9;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #f5f5f5;
    color: #2e73b9;
}

.accordion-body {
    padding: 1.5rem 0;
}

/* CAROUSEL WITHIN ACCORDION */
.team-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

/* COMPACT CARDS OPTION */
.team-carousel.compact .team-card {
    width: 180px;
}

/* GRID FOR LARGER SCREENS */
.team-carousel.flex-row {
    flex-wrap: nowrap;
}

/* ORG CHART (optional for hierarchy view) */
.org-chart {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.org-node img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2e73b9;
}

.org-node h6 {
    margin-top: 1rem;
    font-weight: 600;
}

.org-node span {
    font-size: .85rem;
    color: #666;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .org-chart {
        flex-direction: column;
    }

    .team-card {
        width: 100%;
    }

    .team-carousel {
        flex-wrap: wrap;
        justify-content: center;
    }
}