
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');

:root {
    --color: #6C5CE7; /* Primary purple */
    --heading-color: #e97629; /* Orange for headings */
    --secondary: #11b0f9; /* Light blue accent */
    --text: #2C2C2C; /* Dark gray for nav and main text */
    --light-bg: #f9f9f9; /* Light background */
    --dark-profession: #333; /* Darker profession text */
    --light-profession: #666; /* Lighter profession text */
    --title-color: #aaa; /* Light gray for "Meet our organizing..." */
}

/* Base Styles */
* {
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-transform: capitalize;
    text-decoration: none;
    transition: all .2s linear;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

/* Header */
nav {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    color: var(--text);
    height: 20px;
    font-size: 18px;
    font-weight: 500;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative; /* Ensure proper layering */
    z-index: 10; /* Ensure nav is above other elements */
}

nav .logo {
    font-family: 'Satisfy', cursive;
    font-size: 2.8rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 1; /* Ensure logo is not hidden */
}

nav .logo i {
    color: var(--color); /* Purple for the icon */
}

nav .logo i h8 {
    font-family: "Poppins", sans-serif;
    font-weight: 600; /* Slightly bolder for visibility */
    font-size: 1.5rem;
    color: var(--text); /* Dark gray for "SMPACE" */
    text-transform: uppercase; /* Ensure uppercase as per main page */
}

/* Ensure no other styles override the color */
nav .logo i h8 span {
    color: var(--text) !important;
}

nav ul {
    display: flex;
    list-style: none;
    width: 70%;
    justify-content: space-between;
}

nav a {
    color: var(--text);
    font-size: 1.8rem;
    text-decoration: none;
}

nav a:hover {
    color: #3a3939;
}

/* Committee Section */
.committee {
    background: var(--light-bg);
    padding: 6rem 2rem 4rem;
}

.committee-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.committee h1.heading {
    font-size: 4rem;
    color: var(--heading-color);
    text-align: center;
    padding: 0 1rem;
    letter-spacing: 0.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.committee h3.title {
    font-size: 2rem;
    color: var(--title-color);
    font-weight: 600;
    text-align: center;
    padding: 0 1rem;
    text-transform: capitalize;
}

.committee h2 {
    font-size: 2.8rem;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--heading-color);
    text-transform: capitalize;
}

.committee-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.committee-list li {
    padding: 1.5rem;
    margin: 1rem 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 1.6rem;
    color: var(--text);
    line-height: 2.2rem;
    text-transform: none;
}

.committee-list li strong {
    color: var(--color);
    font-size: 1.8rem;
    text-transform: capitalize;
}

.committee-list li .leadership-title {
    color: var(--heading-color);
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    text-align: center;
}

.committee-list li .primary-profession {
    display: block;
    color: var(--dark-profession);
    font-size: 1.4rem;
    text-transform: none;
}

.committee-list li br + span:not(.primary-profession):not(.leadership-title) {
    display: block;
    color: var(--light-profession);
    font-size: 1.4rem;
    text-transform: none;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 0;
}

.footer .icons a {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.2rem;
    text-align: center;
    border-radius: 50%;
    color: rgb(14, 8, 122);
    border: 0.2rem solid rgb(14, 8, 122);
    font-size: 2rem;
    margin: 0 0.5rem;
    transition: 0.2s linear;
    text-decoration: none;
}

.footer .icons a:hover {
    color: #fff;
    background: var(--color);
    border-color: var(--color);
}

.footer .credit {
    font-size: 2rem;
    border-top: 0.1rem solid #999;
    margin: 0 auto;
    margin-top: 2rem;
    color: var(--light-profession);
    width: 90%;
    padding: 1rem 0;
    font-family: "Times New Roman", Times, serif;
    text-transform: lowercase;
}

.footer .credit span {
    color: var(--color);
}

/* Responsive Design */
@media (max-width: 769px) {
    nav {
        height: 16px;
        font-size: 14px;
    }

    nav ul {
        width: 70%;
    }

    .committee {
        padding: 6rem 1rem 4rem;
    }

    .committee-list li {
        font-size: 1.4rem;
    }

    .committee h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 576px) {
    nav ul {
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        background-color: #ffffff;
        z-index: -1;
        transform: translateX(100%);
        transition: all 1s;
        font-size: 25px;
        color: #000000;
        font-weight: 500;
        font-family: monospace;
    }

    nav ul.slide {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

    .committee-list li {
        padding: 1rem;
    }

    .committee h2 {
        font-size: 2rem;
    }

    .committee h1.heading {
        font-size: 2.8rem;
    }
}

@media (min-width: 1330px) {
    nav ul {
        width: 60%;
    }

    nav {
        font-size: 22px;
    }
}