
    :root {
        --text-color: #ffffff;
        --bg-color: #000000;
        --card-bg: rgba(255, 255, 255, 0.1);
        --main-title-color: #000000;
        --title-color: #ffffff;
        --name-color: #ffffff;
        --base-font-size: 16px;
        --spacing-unit: 0.5rem;
        --primary-color: #00ffff;
        --background-color: #000000;
        --card-width: 250px;
        --card-height: 350px;
    }
    
    /* Layout */
    #about-page {
        position: relative;
        min-height: 100vh;
        background-color: transparent;
        color: var(--text-color);
        padding-top: 0;
        z-index: 0;
        overflow: hidden;
    }

    #star-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1;
        background-color: black;
    }

    #content {
        max-width: 100%;
        padding: var(--spacing-unit);
    }

    /* Typography */
    #who-we-are-title, #mission-title, #org-quote, #team-heading {
        font-size: 2.5rem;
        text-align: center;
        margin: calc(var(--spacing-unit) * 20) 0 calc(var(--spacing-unit) * 2);
        color: var(--title-color);
        opacity: 0;
    }

    #org-quote {
        font-size: 2rem;
        margin-bottom: calc(var(--spacing-unit) * 20);
    }

    #org-quote-text {
        opacity: 0.6;
        font-weight: 700;
        color: #FFFFFF;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    #org-quote-author {
        opacity: 0.5;
        color: #FFFFFF;
        text-transform: uppercase;
    }

    #mission-statement, #who-we-are-statement, #who-we-are-statement-2 {
        font-size: 1.8rem;
        text-align: center;
        line-height: 1.5;
        max-width: 80%;
        margin: calc(var(--spacing-unit) * 1) auto calc(var(--spacing-unit) * 10);
        opacity: 0;
    }

    #main-title {
        font-size: 5rem;
        text-align: center;
        margin: calc(var(--spacing-unit) * 0.1) 0 calc(var(--spacing-unit) * 1);
        color: #ffffff;
        text-shadow: 
            -1px -1px 0 #000,  
             1px -1px 0 #000,
            -1px  1px 0 #000,
             1px  1px 0 #000;
    }

    @keyframes float {
        0%, 100% { transform: translate(0, 0); }
        25% { transform: translate(5%, 5%); }
        50% { transform: translate(0, 10%); }
        75% { transform: translate(-5%, 5%); }
    }

    /* Org Pillars */
    #org-pillars {
        position: relative;
        width: 600px;
        height: 600px;
        margin: 0 auto;
        border: 2px solid #FFFFFF;
        border-radius: 50%;
    }

    .pillar {
        position: absolute;
        width: 200px;
        padding: 15px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        text-align: center;
        transition: transform 0.3s ease-out, background-color 0.3s ease-out;
    }

    .pillar:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-10px); /* Lifts the pillar up by 10px */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Optional: adds shadow for depth */
    }

    .pillar-text {
        font-size: 1.5em;
        font-weight: 800;
        font-style: italic;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        color: #FFFFFF;
    }

    /* Team Members */
    #team-members {
        position: relative;
        height: 100vh;
        overflow: hidden;
    }

    .team-member-card {
        position: absolute;
        width: var(--card-width);
        height: var(--card-height);
        perspective: 1000px;
        font-family: 'Arial', sans-serif;
        transition: transform 0.3s ease-out, box-shadow 0.3s ease-in-out;
        border-radius: 10px;
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
        z-index: 1000;
    }

    .team-member-card:nth-child(odd) {
        transform: translateY(20px);
    }

    .card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        text-align: center;
        transition: transform 0.6s;
        transform-style: preserve-3d;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        border-radius: 10px;
    }

    .team-member-card:hover .card-inner {
        transform: rotateY(180deg);
    }

    .card-front, .card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
    }

    .card-front {
        background: linear-gradient(145deg, #1e3a8a, #111827);
        color: white;
    }

    .card-back {
        background: linear-gradient(145deg, #111827, #1e3a8a);
        color: white;
        transform: rotateY(180deg);
        cursor: pointer;
        pointer-events: auto !important;
        z-index: 10;
        transition: background 0.3s ease;
    }

    .card-back:hover {
        background: linear-gradient(145deg, #16213e, #0f3460);
        transform: rotateY(180deg) scale(1.05);
    }

    .card-back p {
        text-align: center;
        padding: 10px;
        background: rgba(78, 205, 196, 0.2);
        border-radius: 8px;
        border: 1px solid rgba(78, 205, 196, 0.4);
        transition: all 0.3s ease;
    }

    .card-back:hover p {
        background: rgba(78, 205, 196, 0.3);
        border-color: rgba(78, 205, 196, 0.6);
    }

    .member-image {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 15px;
    }

    .member-name {
        font-size: 1.2em;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .member-role {
        font-size: 1em;
        margin-bottom: 15px;
        color: #ffffff;
        font-weight: 600;
    }

    .member-bio {
        font-size: 0.9em;
        line-height: 1.4;
        overflow-y: auto;
        max-height: calc(100% - 40px);
    }

    /* Member Popup */
    .member-popup {
        display: flex;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.8);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .member-popup.show {
        opacity: 1;
        visibility: visible;
    }

    .popup-content {
        background: linear-gradient(145deg, #1a1a2e, #16213e);
        margin: 5% auto;
        padding: 40px;
        border-radius: 15px;
        width: 80%;
        max-width: 1000px;
        height: 80%;
        display: flex;
        color: #ffffff;
        border: 3px solid #ffffff;
        transform: scale(0.7);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .member-popup.show .popup-content {
        transform: scale(1);
        opacity: 1;
    }

    .info-column {
        flex: 1;
        padding-right: 20px;
        display: flex;
        flex-direction: column;
    }

    .image-column {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .popup-title {
        font-size: 2.5em;
        margin-bottom: 20px;
        text-transform: uppercase;
        font-weight: 800;
        color: #ffffff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .info-grid {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    .info-label {
        font-weight: 700;
        color: #aaaaaa;
        text-transform: uppercase;
        font-size: 0.9em;
    }

    .info-value {
        color: #ffffff;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 1.1em;
    }

    .popup-bio-container {
        flex-grow: 1;
        overflow-y: auto;
        margin-top: 20px;
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 5px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .popup-bio-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
    }

    .popup-bio {
        color: #ffffff;
        font-weight: normal;
        text-transform: none;
        line-height: 1.6;
        font-size: 1em;
    }

    .popup-bio p {
        margin-bottom: 15px;
        text-indent: 0;
    }

    .popup-image {
        max-width: 100%;
        max-height: 100%;
        border-radius: 50%;
        object-fit: cover;
        width: 300px;
        height: 300px;
        border: 4px solid #ffffff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .close {
        color: #ffffff;
        float: right;
        font-size: 32px;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.2s ease;
        line-height: 1;
    }

    .close:hover,
    .close:focus {
        color: #4ECDC4;
        text-decoration: none;
    }

    .popup-bio .drop-cap {
        float: left;
        font-size: 3em;
        line-height: 0.8;
        margin: 0.1em 0.1em 0 0;
        font-weight: 800;
        color: #4ECDC4;
    }

    /* Popup Mobile Styles */
    @media (max-width: 768px) {
        .popup-content {
            flex-direction: column !important;
            width: 95%;
            height: 90%;
            padding: 20px;
            overflow-y: auto;
        }

        .info-column {
            padding-right: 0 !important;
            text-align: center !important;
            width: 100% !important;
        }

        .image-column {
            margin-top: 20px !important;
        }

        .popup-image {
            width: 200px;
            height: 200px;
        }

        .popup-title {
            font-size: 1.8em;
        }

        .info-grid {
            font-size: 0.9em;
        }
    }

    /* Mobile Styles */
    @media (max-width: 48rem) {
        #star-background {
            display: none;
        }
        
        #about-page {
            background-color: black;
            padding: 0;
            margin: 0;
            width: 100%;
            min-width: 100vw;
            margin-left: -50vw;
            left: 50%;
            position: relative;
            overflow-x: hidden;
        }
        
        #content {
            padding: 0;
            margin: 0;
            width: 100%;
            min-width: 100%;
        }

        #title, #who-we-are-title, #mission-title, #org-quote, #org-pillars, #team-heading {
            font-size: 2rem;
            margin: calc(var(--spacing-unit) * 10) 0 calc(var(--spacing-unit) * 2);
        }

        #mission-statement, #who-we-are-statement, #who-we-are-statement-2 {
            font-size: 1.5rem;
            margin: calc(var(--spacing-unit) * 2) auto calc(var(--spacing-unit) * 6);
            max-width: 80%;
        }

        #title {
            margin: calc(var(--spacing-unit) * 4) 0;
        }

        #team-members {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            padding: 20px;
            gap: 20px;
            height: auto !important;
            position: relative;
        }

        #team-members::-webkit-scrollbar {
            height: 8px;
        }

        #team-members::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

        #team-members::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.3);
            border-radius: 4px;
        }

        .team-member-card {
            position: relative !important;
            flex: 0 0 auto;
            scroll-snap-align: center;
            transform: none !important;
            left: auto !important;
            top: auto !important;
            margin: 0;
            width: 250px;
        }

        /* Ensure flip animation still works on mobile */
        .team-member-card:hover .card-inner {
            transform: rotateY(180deg);
        }

        #org-pillars {
            display: none; /* Hide the entire org pillars section on mobile */
        }

        #org-quote {
            margin-bottom: calc(var(--spacing-unit) * 10);
        }

        #team-heading {
            margin-top: calc(var(--spacing-unit) * 2);
        }
    }

    .team-member-card.board-member::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        background: linear-gradient(45deg, #C0C0C0, #FFD700);
        z-index: -1;
        border-radius: 15px;
        opacity: 0.6;
        transition: opacity 0.3s ease-in-out;
    }

    .team-member-card.board-member:hover::before {
        opacity: 1;
    }

    .team-member-card.board-member .member-name {
        color: #FFD700;
        text-shadow: 
            0 0 1px #C0C0C0,
            0 0 1px #C0C0C0,
            0 0 1px #C0C0C0,
            0 0 1px #C0C0C0,
            0 1px 1px rgba(0,0,0,0.5);
        font-weight: bold;
    }

    .team-member-card.board-member .member-image {
        border: 2px solid #C0C0C0;
    }

    /* Reduce animation complexity */
    @media (prefers-reduced-motion: reduce) {
        .team-member-card, .card-inner {
            transform: none;
            transition: none;
        }
        
        #star-background {
            display: none;
        }
    }