.board-members-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
}

.member-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    padding: 10px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.member-card img {
    width: 100%;
    height: 180px;
    /* smaller image */
    object-fit: cover;
    border-radius: 8px;
}

.member-card:hover img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: hwb(0 61% 37% / 0.31);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 20px;
    text-align: center;
}

.member-card:hover .member-overlay {
    opacity: 1;
}

.member-overlay p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.social-links a {
    color: white;
    margin: 0 8px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffd700;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ea1f28;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-section {
        height: 40vh;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .member-card img {
        height: 200px;
    }

    .member-overlay {
        padding: 10px;
    }

    .member-overlay p {
        font-size: 0.8rem;
    }
}