/* ================= BANNER ================= */
.lis-mv-banner {
    position: relative;
    height: 400px;
    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(122, 105, 189, 0.65),
            rgba(46, 115, 185, 0.65));
}

.lis-mv-banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.lis-mv-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.35));
    z-index: 1;
}

@media (max-width: 768px) {
    .lis-mv-banner {
        height: 220px;
        background-position: center 30%;
    }
}

.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);
}

/* ================= GLOBAL FONT ================= */
body,
button,
input,
select,
textarea {
    font-family: 'Poppins', 'Nunito', Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Nunito', Arial, sans-serif;
    font-weight: 600;
}

/* ================= GROUP TITLE ================= */
.team-group h4 {
    text-align: center;
    color: #2e73b9;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ================= CARD ================= */
.team-card {
    background: #fff;
    border-radius: 16px;
    padding: 0.75rem;
    width: 220px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    flex-shrink: 0;
    border: 1px solid #e6e6e6;
}

.team-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* ================= IMAGE ================= */
.team-img-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 2px solid #2e73b9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= TEXT ================= */
.team-card .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2e73b9;
}

.team-card .card-text {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* ================= CAROUSEL ================= */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.team-carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 18px;
    scrollbar-width: none;
}

.team-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.team-carousel {
    display: flex;
    gap: 20px;
    padding: 0 45px;
}

/* ================= CENTER SMALL GROUPS ================= */
.carousel-container.centered .team-carousel {
    width: 100%;
    justify-content: center;
}

/* ================= FADE GRADIENT EDGES ================= */
.carousel-fade-left,
.carousel-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
}

.carousel-fade-left {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.carousel-fade-right {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

/* ================= ARROWS ================= */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(46, 115, 185, 0.25);
    border: none;
    color: #fff;
    width: 36px;
    height: 64px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: background 0.3s, opacity 0.3s;
}

.carousel-container.scrollable .carousel-btn {
    opacity: 0.6;
    pointer-events: auto;
}

.carousel-btn:hover {
    background: rgba(46, 115, 185, 0.6);
    opacity: 1;
}

.carousel-btn-left {
    left: 0;
}

.carousel-btn-right {
    right: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .team-card {
        width: 200px;
    }

    .team-img-wrapper {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .team-card {
        width: 170px;
    }

    .team-img-wrapper {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 576px) {
    .team-card {
        width: 140px;
    }

    .team-img-wrapper {
        width: 120px;
        height: 120px;
    }
}