﻿/* HERO */
.leader-hero {
    padding: 40px 0 0px 0;
    position: relative;
}

    .leader-hero h2 {
        color: #d4af37;
    }

.member-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    transition: .35s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    height: 100%;
}

    .member-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
    }

    /* Gold line on top */
    .member-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: #D4AF37;
        transform: scaleX(0);
        transition: .35s;
    }

    .member-card:hover::before {
        transform: scaleX(1);
    }


/* =========================
   AVATAR
   ========================= */

.avatar {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
    /* Căn chính giữa */
    margin: 0 auto 20px auto;
}


/* =========================
   MEMBER INFO
   ========================= */

.member-card h3 {
    color: #0d2f63;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 8px;
}

.member-card h5 {
    color: #777;
    margin-bottom: 15px;
    font-weight: 500;
}

.member-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}


/* =========================
   ROLE BADGE
   ========================= */

.role {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}


/* Director */
.director {
    background: #D4AF37;
}

/* IT Manager */
.manager {
    background: #0d2f63;
}

/* Team Leader */
.leader {
    background: #1976D2;
}

/* Admin */
.admin {
    background: #FB8C00;
}

/* Media */
.media {
    background: #8E24AA;
}

/* Consultant */
.consultant {
    background: #43A047;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 991px) {

    .member-card {
        padding: 30px 25px;
    }

    .avatar {
        width: 110px;
        height: 110px;
    }
}


@media (max-width: 575px) {

    .member-card {
        padding: 25px 20px;
    }

    .avatar {
        width: 100px;
        height: 100px;
    }

    .role {
        font-size: 12px;
        padding: 7px 15px;
    }

    .member-card h3 {
        font-size: 22px;
    }

    .member-card h5 {
        font-size: 16px;
    }

    .member-card p {
        font-size: 14px;
        line-height: 1.7;
    }
}
