/* ========== COMMITTEES PAGE STYLES ========== */

/* Hero Section */
.committees-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(7,11,115,0.85), rgba(13,209,193,0.75)), url(../images/committees/com\ hero\ bg.jpg) center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7,11,115,0.85) 0%, rgba(13,209,193,0.75) 100%);
}

.committees-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.committees-hero .breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.committees-hero .breadcrumb a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.committees-hero .breadcrumb a:hover {
    color: var(--tertiary-b);
}

.committees-hero .breadcrumb .separator {
    margin: 0 10px;
    font-size: 0.7rem;
    opacity: 0.7;
}

.committees-hero .breadcrumb .current {
    color: var(--tertiary-b);
}

.committees-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--white);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.committees-hero .hero-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Organizing Committee Section */
.organizing-committee {
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    padding: 60px 0;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.member-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(7,11,115,0.1);
    text-align: center;
    padding: 25px 20px;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.member-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-image {
    transform: scale(1.05);
}

.member-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: var(--font-alt);
    color: var(--primary);
}

.member-role {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Sub-Committees Section */
.sub-committees {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    padding: 60px 0;
}

.committee-group {
    margin-bottom: 50px;
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(7,11,115,0.1);
    transition: all 0.3s ease;
}

.committee-group:hover {
    box-shadow: var(--shadow-md);
}

.group-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(13,209,193,0.3);
}

.group-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.group-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.group-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Members Grid with Circular Images */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
}

.member-item {
    text-align: center;
    transition: all 0.3s ease;
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background: var(--off-white);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-item:hover .member-avatar {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.member-item:hover .member-avatar img {
    transform: scale(1.05);
}

.member-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    font-family: var(--font-alt);
    color: var(--primary);
}

.member-role-small {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Volunteer Group */
.volunteer-group {
    background: linear-gradient(135deg, rgba(7,11,115,0.02), rgba(13,209,193,0.02));
    border: 1px solid var(--secondary);
}

.volunteer-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(13,209,193,0.1);
    border-radius: 12px;
    flex-wrap: wrap;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
}

.stat-badge i {
    font-size: 1.3rem;
    color: var(--secondary);
}

.recognition {
    margin-top: 30px;
    padding: 20px;
    background: rgba(13,209,193,0.1);
    border-radius: 12px;
    text-align: center;
    font-style: italic;
}

.recognition i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 1.2rem;
}

.recognition p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .committees-hero {
        height: 40vh;
        min-height: 350px;
    }
    
    .committees-hero .hero-title {
        font-size: 2rem;
    }
    
    .committees-hero .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .committee-grid {
        grid-template-columns: 1fr;
    }
    
    .group-header {
        flex-direction: column;
        text-align: center;
    }
    
    .volunteer-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .committee-group {
        padding: 20px;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
}