﻿
.governance-section {
    background: var(--dark-green);
    color: white;
    position: relative;
    margin: 0;
}

.governance-label {
    font-family: var(--font-family);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #34d399;
    font-weight: 600;
    margin-bottom: 0.85rem;
    display: block;
    text-align: center;
}

    .governance-label::before {
        content: "// ";
    }

.governance-title {
    font-size: var(--title-font-size);
    font-weight: var(--title-font-weight);
    text-align: center;
    margin-bottom: 0.85rem;
}

.governance-subtitle {
    font-family: var(--font-family);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}


/* Member Card with Circular Images */

.member-card {
    text-align: center;
    /* margin-bottom: 2rem; */
    padding: 2rem 1.5rem 2.5rem;
    background: rgba(6, 78, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

    .member-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, #34d399, transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .member-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
        background: rgba(6, 78, 59, 0.8);
        border-color: rgba(52, 211, 153, 0.4);
    }

        .member-card:hover::before {
            opacity: 1;
        }

.member-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    filter: grayscale(100%);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 0 0 3px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.member-card:hover .member-photo {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 0 0 3px rgba(52, 211, 153, 0.6);
    transform: scale(1.05);
    filter: grayscale(0%);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.member-name {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.member-role {
    font-family: var(--font-family);
    font-size: 0.7rem;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.5;
    max-width: 220px;
    margin: 0 auto;
}

.btn-view-directory {
    font-family: var(--font-family);
    display: inline-block;
    margin-top: 2.5rem;
    padding: 0.8rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: rgba(6, 78, 59, 0.5);
}

    .btn-view-directory:hover {
        background: rgba(52, 211, 153, 0.2);
        border-color: rgba(52, 211, 153, 0.6);
        color: white;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        transform: translateY(-3px);
    }


/* Swiper Slider Styles */

.swiper {
    padding: 1rem 0 2rem;
}

.swiper-slide {
    height: auto;
    padding: 0.5rem;
}

.member-name {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.member-role {
    font-family: var(--font-family);
    font-size: 0.7rem;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-view-directory {
    font-family: var(--font-family);
    display: inline-block;
    margin-top: 2.5rem;
    padding: 0.8rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

    .btn-view-directory:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
    }


/* Tablet Landscape (768px - 991px) */

@media (max-width: 991px) {
    .member-photo {
        width: 160px;
        height: 160px;
    }

    .face-image-container {
        margin-bottom: 200px;
    }

    .governance-card {
        margin-bottom: 15px;
    }

    .member-card {
        padding: 1.75rem 1.25rem 2.25rem;
    }

    .member-role {
        min-height: 70px;
    }
}


/* Tablet Portrait (576px - 767px) */

@media (max-width: 767px) {

    .faces-subtitle {
        margin: 0 auto;
    }

    .face-image-container {
        width: 180px;
        height: 180px;
        margin-bottom: 100px;
    }

    .governance-section {
        padding: 3rem 0;
    }

    .governance-card {
        margin-bottom: 20px;
    }

    .member-photo {
        width: 150px;
        height: 150px;
        margin-bottom: 1.25rem;
    }

    .member-card {
        padding: 1.5rem 1rem 2rem;
    }

    .member-role {
        min-height: 65px;
        font-size: 0.65rem;
    }
}


/* Mobile (320px - 575px) */

@media (max-width: 575px) {

    .governance-section {
        padding: 2rem 0;
    }

    .governance-title {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
    }

    .governance-subtitle {
        font-size: 0.85rem;
    }

    .governance-card {
        margin-bottom: 20px;
    }

    .member-photo {
        width: 130px;
        height: 130px;
    }

    .member-card {
        padding: 1.5rem 1rem 2rem;
    }

    .member-role {
        min-height: 60px;
        font-size: 0.6rem;
    }

    .btn-view-directory {
        padding: 0.7rem 1.4rem;
        font-size: 0.8rem;
        margin-top: 1.5rem;
    }

}


/* Extra Small Mobile (below 375px) */

@media (max-width: 375px) {

    .governance-card {
        margin-bottom: 20px;
    }

    .member-photo {
        width: 120px;
        height: 120px;
    }

    .member-card {
        padding: 1.25rem 0.75rem 1.75rem;
    }

    .member-role {
        min-height: 55px;
    }
}
