﻿/* ══════════════════════════════════════
           Board of Directors – Page Styles
        ══════════════════════════════════════ */
.board-section {
    background-color: #f4f7f6;
    background-image: url(/assets/main/bg_1.png);
    background-repeat: repeat;
    padding: 80px 0 110px;
    overflow: hidden;
}

/* ── Section intro ── */
.board-intro {
    text-align: center;
    margin-bottom: 64px;
}

    .board-intro .section-label {
        display: inline-block;
        background: var(--color-secondary);
        color: var(--color-dark);
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .08em;
        padding: 4px 20px;
        border-radius: 50px;
        margin-bottom: 14px;
    }

    .board-intro h2 {
        font-size: 2rem;
        font-weight: 800;
        color: var(--color-dark);
        margin-bottom: 10px;
    }

    .board-intro p {
        color: #6c757d;
        max-width: 500px;
        margin: 0 auto;
    }

.board-divider {
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: var(--color-secondary);
    margin: 18px auto 0;
}

/* ══ CHAIRMAN row ══ */
.chairman-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    position: relative;
}
   

.chairman-card {
    position: relative;
    width: 400px;
    border-radius: 28px;
    overflow: visible;
    text-align: center;
    background: #fff;
    box-shadow: 0 20px 60px rgba(15, 94, 15, .18);
    padding-bottom: 32px;
    transition: transform .4s ease, box-shadow .4s ease;
}

    .chairman-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 32px 72px rgba(15, 94, 15, .26);
    }

    /* Gold top banner */
    .chairman-card .card-top-band {
        height: 90px;
        background: linear-gradient(135deg, #b8860b 0%, #d4a017 40%, #ecd277 100%);
        border-radius: 28px 28px 0 0;
    }

    /* Avatar ring */
    .chairman-card .avatar-ring {
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: linear-gradient(145deg, #ecd277, #c9a227);
        padding: 4px;
        margin: -55px auto 0;
        position: relative;
        z-index: 2;
        box-shadow: 0 8px 28px rgba(236, 210, 119, .5);
        transition: transform .4s ease;
    }

    .chairman-card:hover .avatar-ring {
        transform: scale(1.06);
    }

    .chairman-card .avatar-inner {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        overflow: hidden;
        background: #e8f5e9;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .chairman-card .avatar-inner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .chairman-card .avatar-inner .avatar-placeholder {
            font-size: 3rem;
            color: #0f5e0f;
            opacity: .45;
        }

    /* Crown badge */
    .chairman-card .crown-badge {
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, #ecd277, #c9a227);
        color: #5a3e00;
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: .06em;
        padding: 4px 14px;
        border-radius: 50px;
        white-space: nowrap;
        box-shadow: 0 4px 14px rgba(201,162,39,.4);
        z-index: 3;
    }

    .chairman-card .member-name {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--color-dark);
        margin: 18px 16px 6px;
    }

    .chairman-card .member-position {
        font-size: .82rem;
        color: #6c757d;
        margin: 0 16px;
        line-height: 1.5;
    }

/* ══ Connector bar above members row ══ */
.connector-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    height: 40px;
}

    .connector-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 20%;
        right: 20%;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--color-secondary), transparent);
    }
    /* vertical drops from horizontal bar */
    .connector-bar::after {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: 2px;
        height: 40px;
        background: var(--color-secondary);
        transform: translateX(-50%);
    }

/* ══ MEMBER card ══ */
.member-card {
    position: relative;
    border-radius: 22px;
    overflow: visible;
    text-align: center;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,.09);
    padding-bottom: 26px;
    transition: transform .35s ease, box-shadow .35s ease;
    height: 100%;
}

    .member-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 52px rgba(0,0,0,.15);
    }

    /* Green top banner */
    .member-card .card-top-band {
        height: 70px;
        background: linear-gradient(135deg, #0f5e0f 0%, #27ae27 70%, #90ee90 150%);
        border-radius: 22px 22px 0 0;
    }

    .member-card .avatar-ring {
        width: 86px;
        height: 86px;
        border-radius: 50%;
        background: linear-gradient(145deg, #aee8df, #4db8c8);
        padding: 3px;
        margin: -43px auto 0;
        position: relative;
        z-index: 2;
        box-shadow: 0 6px 20px rgba(174, 232, 223, .55);
        transition: transform .35s ease;
    }

    .member-card:hover .avatar-ring {
        transform: scale(1.08);
    }

    .member-card .avatar-inner {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        overflow: hidden;
        background: #e0f4f5;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .member-card .avatar-inner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .member-card .avatar-inner .avatar-placeholder {
            font-size: 2.2rem;
            color: #1a3c40;
            opacity: .4;
        }

    .member-card .member-name {
        font-size: .98rem;
        font-weight: 800;
        color: var(--color-dark);
        margin: 16px 12px 5px;
    }

    .member-card .member-position {
        font-size: .78rem;
        color: #6c757d;
        margin: 0 12px;
        line-height: 1.5;
    }

    /* ── Number badge ── */
    .member-card .num-badge {
        position: absolute;
        bottom: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0f5e0f, #1a8a1a);
        color: #fff;
        font-size: .7rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 3px 10px rgba(15,94,15,.3);
    }

/* ── Subtle shimmer on hover ── */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.member-card:hover .card-top-band,
.chairman-card:hover .card-top-band {
    background-size: 200% auto;
    animation: shimmer .8s linear;
}

/* ── Fade-in stagger handled by AOS ── */
