/* Committee Page Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0A1F44 0%, #1a3a6b 100%);
    padding: 8rem 0 5rem;
    text-align: center;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 217, 181, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #00D9B5;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Committee Section */
.committee-section {
    padding: 5rem 0;
    background: var(--color-light);
    min-height: 100vh;
}

/* Committee Groups */
.committee-group {
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.committee-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.committee-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.committee-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 3rem 0 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-accent);
    letter-spacing: 0.5px;
}

/* Card Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Modern Committee Card */
.committee-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.committee-card:hover {
    transform: translateY(-10px);
    background: var(--color-white);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow: var(--shadow-lg);
}

/* Gradient flair on hover */
.committee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.committee-card:hover::before {
    opacity: 1;
}

/* Committee Image */
.committee-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 5px;
    background: var(--color-light);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.committee-card:hover .committee-image {
    transform: scale(1.05);
    border-color: var(--color-secondary);
}

.committee-image img,
.committee-image div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Typography Details */
.committee-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.committee-position {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.committee-affiliation {
    font-size: 0.95rem;
    color: rgba(26, 26, 46, 0.7);
    line-height: 1.5;
    font-weight: 400;
}

/* Text-only Committee Card (No photo) */
.committee-card.text-card {
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 4px solid rgba(0, 0, 0, 0.08);
    border-top: none;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.committee-card.text-card::before {
    display: none;
}

.committee-card.text-card:hover {
    border-left-color: var(--color-secondary);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateX(5px) translateY(0);
}

.committee-card.text-card .committee-name {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.committee-card.text-card .committee-position {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-secondary);
}

.committee-card.text-card .committee-affiliation {
    font-size: 0.9rem;
    color: rgba(26, 26, 46, 0.7);
}

/* TBA Card Styling */
.committee-card-tba {
    opacity: 0.6;
    border-style: dashed;
}

.committee-card-tba:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }

    .committee-title {
        font-size: 1.8rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}