/* ===== NAVBAR ===== */

.navbar {
    background: rgba(0, 0, 0, 0.85);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #fff;
    font-size: 14px;
}

.nav-links a:hover {
    color: #00c8ff;
}

/* Fixed navbar spacing */
body {
    padding-top: 70px;
}

/* ===== PAGE CONTAINER ===== */

.page-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 12px;
}

/* Page title */
.page-title {
    text-align: center;
    margin-bottom: 30px;
}

.page-title h1 {
    font-size: 34px;
    color: #003366;
}

.page-title p {
    color: #555;
}

/* ===== TABLES ===== */

.styled-table {
    width: 100%;
    border-collapse: collapse;
}

.styled-table th,
.styled-table td {
    padding: 14px;
    text-align: center;
}

.styled-table thead {
    background: #003366;
    color: white;
}

.styled-table tbody tr:nth-child(even) {
    background: #f2f2f2;
}

/* Committee grid & cards */

.section-heading {
    text-align: center;
    margin: 40px 0 20px;
    color: #003366;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    justify-items: center;
}

.committee-card {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.committee-card:hover {
    transform: translateY(-5px);
}

.committee-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #003366;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

/* Mobile styles */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        position: absolute;
        top: 60px;
        right: 20px;
        width: 220px;
        padding: 15px;
        border-radius: 8px;
        z-index: 999;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: right;
    }
}
