/* Committees Page Specific Styles */

.committees-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);  
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.committees-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.committees-hero .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.committees-hero .hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.committees-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.committees-hero .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.committees-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.committees-container {
    max-width: 1200px;
    margin: 0 auto;
}

.committees-intro {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.committees-intro h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.committees-intro p {
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.committee-section {
    margin-bottom: 4rem;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.committee-section:last-child {
    margin-bottom: 0;
}

.committee-category {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.committee-category::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    
}

/* Using a vertical list layout for committee members */
.committee-members {
    margin-top: 2rem;
    padding: 0;
    list-style: none;
}

.member-item {
    background: #f8f9fa;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-left: 4px solid #3498db;
    position: relative;
    overflow: hidden;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
}

.member-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.member-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.member-info h4 {
    color: #2c3e50;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.member-info p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}













/* Active navigation link */
.nav-link.active {
    color: #3498db;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .committees-hero .hero-title { font-size: 2.5rem; }
    .committees-hero .hero-subtitle { font-size: 1.1rem; }
    .committees-intro h2 { font-size: 2rem; }
    .committee-section { padding: 2rem; margin-bottom: 3rem; }
    .member-item { padding: 1rem; }
    .committee-category { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .committees-hero { padding: 100px 0 60px; }
    .committees-hero .hero-title { font-size: 2rem; }
    .committee-section { padding: 1.5rem; }
    .member-item { padding: 0.85rem; }
    .member-info h4 { font-size: 1.05rem; }
    .member-info p { font-size: 0.9rem; }
    .committees-intro { padding: 0 1rem; }
}

/* Animation for committee sections */
.committee-section { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.6s ease forwards; }
.committee-section:nth-child(2) { animation-delay: 0.1s; }
.committee-section:nth-child(3) { animation-delay: 0.2s; }
.committee-section:nth-child(4) { animation-delay: 0.3s; }
.committee-section:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Hover color effects */
.member-item:hover .member-info h4 { color: #3498db; transition: color 0.25s ease; }

