/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #222;
    margin: 0;
    background-color: #fafafa;
}

/* Page Header */
.page-header {
    background-color: #f8f9fa;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.header-underline {
    width: 80px;
    height: 4px;
    background-color: #ff4444;
    margin: 0 auto;
    border-radius: 2px;
}

/* Committee Section */
.committee-section {
    padding: 80px 0;
    background-color: #fff;
}

.committee-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Title */
.section-title {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 80px;
    font-weight: 600;
}


/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 40px 30px; /* vertical gap 40px, horizontal gap 30px */
    justify-items: center;
}

/* Member Card */
.member-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 280px;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Member Avatar */
.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 3px solid #f0f0f0;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Member Info */
.member-name {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-position {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.member-meta {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.member-meta a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-meta a:hover {
    color: rgb(43, 114, 213);
    cursor: pointer;
}

.member-meta i {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 20px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    .committee-section {
        padding: 60px 0;
    }
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
    .member-card {
        max-width: 250px;
    }
    .member-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 300px;
        margin: 0 auto;
    }
    .member-card {
        max-width: 100%;
    }
    .section-title {
        text-align: left;
    }
}
