/* ===== Variables ===== */
:root {
    --primary-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --modern-green: #27ae60;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #f5f6fa;
    scroll-behavior: smooth;
}

/* ===== Navigation ===== */
.nav-bar {
    background: var(--modern-green);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    height: 50px;
}

.nav-list {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
    margin: 0 auto;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    height: 3px;
    width: 25px;
    background: white;
    margin-bottom: 5px;
    border-radius: 5px;
}

/* ===== Header ===== */
header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('cover.jpg') center/cover fixed;
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 60px;
}

/* ===== Sections ===== */
.section-title {
    font-size: 2.2rem;
    color: var(--modern-green);
    margin: 4rem 0 2rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--modern-green);
    margin: 0.5rem auto;
}

.about-section, 
.mission-section, 
.vision-section {
    padding: 4rem 2rem;
    background: white;
    margin: 2rem auto;
    max-width: 1200px;
}
.mission-vision {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.mission-vision ul {
    list-style: none;
    padding-left: 0;
}

/* ===== Committee Grid ===== */
.committee-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.member-card {
    width: 250px;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    height: 350px;
}

.member-card:hover {
    transform: translateY(-10px);
}

.member-image-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 3px;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--modern-green);
}

.position {
    color: var(--modern-green);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== CTA Button ===== */
.cta-button {
    background: var(--modern-green);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    margin: 2rem 0;
    text-decoration: none;
}

.cta-container {
    text-align: center;
}

/* ===== Footer ===== */
footer {
    background: var(--modern-green);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        gap: 1.5rem;
        background: var(--modern-green);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 1rem;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    footer .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .committee-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image-container {
        width: 150px;
        height: 150px;
    }
}