/* ===== COMMITTEE PAGE CSS ===== */

/* Hero Section */
.committee-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
  135deg,
  rgba(44, 62, 80, 0.8) 0%,
  rgba(26, 37, 47, 0.3) 100%
);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Committee Navigation */
.committee-nav {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: var(--shadow-sm);
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-tab {
    padding: 10px 25px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-tab:hover {
    background: var(--background-light);
    color: var(--primary);
    border-color: var(--secondary);
}

.nav-tab.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

/* Section Styles */
.committee-section {
    padding: 60px 0;
    background: white;
}

.committee-section.alt-bg {
    background: var(--background-light);
}

.section-title {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 2rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.steering-grid {
    max-width: 600px;
    margin: 0 auto;
}

/* Member Card */
.member-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

.member-card:hover .member-image {
    border-color: var(--secondary);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.member-role {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-affiliation {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.leadership-card {
    display: flex;
    gap: 25px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.leadership-card.featured {
    border: 2px solid var(--secondary);
    background: linear-gradient(135deg, white 0%, rgba(230,126,34,0.02) 100%);
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.leadership-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary);
    flex-shrink: 0;
}

.leadership-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-info {
    flex: 1;
}

.leadership-info .member-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.leadership-info .member-role {
    font-size: 1rem;
    margin-bottom: 5px;
}

.leadership-info .member-affiliation {
    margin-bottom: 10px;
}

.member-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Scientific Committee Grid */
.scientific-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.country-group {
    background: var(--background-light);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.country-group:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.country-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
}

.country-flag {
    font-size: 2rem;
}

.country-header h3 {
    color: var(--primary);
    margin: 0;
    font-size: 1.3rem;
}

.country-members {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scientific-member {
    padding: 12px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.scientific-member:hover {
    background: rgba(230,126,34,0.05);
    transform: translateX(5px);
}

.scientific-member h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1rem;
}

.scientific-member .affiliation {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.scientific-member .member-social {
    justify-content: flex-start;
    gap: 8px;
}

.scientific-member .social-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
}

/* Statistics Section */
.stats-section {
    padding: 60px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 30px;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    margin-bottom: 10px;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: var(--primary);
    text-transform: none;
    letter-spacing: normal;
}

/* Contact Committee */
.contact-committee {
    padding: 60px 0;
    background: var(--background-light);
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.contact-icon i {
    font-size: 3rem;
    color: var(--secondary);
}

.contact-content {
    flex: 1;
}

.contact-content h3 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.contact-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-methods {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.method {
    display: flex;
    align-items: center;
    gap: 8px;
}

.method i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.method a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.method a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.method span {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .scientific-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .nav-tab {
        white-space: nowrap;
    }
    
    .leadership-card {
        flex-direction: column;
        text-align: center;
    }
    
    .leadership-image {
        margin: 0 auto;
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    .member-name {
        font-size: 1rem;
    }
    
    .country-header {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}


/* Member Card - Center the image */
.member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Avatar - Centered */
.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px auto;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-avatar span {
    font-size: 48px;
    font-weight: bold;
    color: white;
}

/* Member Info - Centered */
.member-info {
    text-align: center;
    margin-bottom: 10px;
}

.member-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.member-role {
    font-size: 0.85rem;
    color: #e67e22;
    font-weight: 500;
    margin-bottom: 5px;
}

.member-affiliation {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.member-email {
    font-size: 0.7rem;
    color: #95a5a6;
    word-break: break-word;
}

/* Social Icons - Centered */
.member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.member-social .social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: #e67e22;
    transition: all 0.3s ease;
}

.member-social .social-icon:hover {
    background: #e67e22;
    color: white;
    transform: translateY(-2px);
}


.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}