* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Google Sans Flex", sans-serif;
}

a {
    text-decoration: underline;
    color: #000000;
}

    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        line-height: 1.6;
        color: #000000;
    }

    iframe, img, .team-member {
        max-width: 100%;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #004091;
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        gap: 1.5rem;
        z-index: 1000;
    }

        .right {
            display: flex;
            gap: 2.5rem;
        }

        nav a {
            text-decoration: none;
            color: white;
            font-size: 20px;
        }

            nav a:hover {
                color: #dfdede;
            }

    .placeholder {
        display: flex;
        justify-content: center;
        margin-top: 375px;
        margin-bottom: 275px;
    }

    .about {
        background-color: white;
        padding: 100px 50px;
        text-align: center;
        margin-top: 59px;
    }

        .curfxkrc {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
        }

            .small-logo {
                height: 80px;
                margin-top: 40px;
            }

            #x {
                margin-top: 66px;
            }

    #insta {
        height: 61.5px;
    }

    #linkedin {
        height: 60px;
    }

    .mission {
        background-color: white;
        padding: 100px 50px;
        text-align: center;
    }

    .announcements {
        background-color: white;
        padding: 100px 50px;
        margin-bottom: -100px;
    }

        .events-cal {
            display: flex;
            justify-content: center;
            margin-top: 55px;
        }

    .home-title {
        text-align: center;
        margin-bottom: 25px;
        font-size:60px;
        font-weight: 550;
    }

        .home-text {
            margin-bottom: 40px;
            font-size: 25px;
            max-width: 1000px;
            text-align: center;
            margin: 0 auto;
        }

        .home-img-wrapper {
            position: relative;
        }

            .home-img-wrapper img {
                width: 100%;
                height: 500px;
                object-fit: cover;
                display: block;
            }

        .home-img-wrapper::after {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
        }

    .team {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px;
    }

        .team a {
            color: rgb(88, 87, 87);
        }

        #team-title {
            text-align: center;
            margin-top: 55px;
            margin-bottom: 40px;
            font-weight: 550;
        }

            .team-member {
                display: flex;
                margin-bottom: 50px;
                border: 1px solid #000000;
                border-radius: 30px;
                padding: 35px 45px;

                transition: 
                    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                    border-color 0.25s ease;
                will-change: transform;
            }

                .ats {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    gap: 12px;
                    width: 100%;
                }

                    .ats .name {
                        flex: 1;
                        min-width: 0;
                    }
                
                    .mini-linkedin {
                        height: 32px;
                    }

                .team-member:hover {
                    transform: translateY(-8px);
                    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
                }

                .member-info {
                    max-width: 525px;
                    width: 100%;
                    color: rgb(88, 87, 87);
                }

                    .name {
                        font-weight: 500;
                        color: #000000;
                    }

                .headshot {
                    height: 200px;
                    width: 154px; 
                    margin-left: 0px;
                    margin-right: 30px;
                    border-radius: 10px;
                    margin-top: 11px;
                }

    .contact {
        padding: 200px 50px;
        background-color: #E3E7EE;
        text-align: center;
    }

        #contact-title {
            font-weight: 550;
        }

            .contact-form {
                max-width: 500px;
                margin: 0 auto;
                display: flex;
                flex-direction: column;
                gap: 1rem;
                text-align: left;
            }

                .contact-form input,
                .contact-form textarea {
                    padding: 0.75rem;
                    border: 1px solid #ccc;
                    border-radius: 10px;
                    font-family: Inter, sans-serif;
                    font-size: 1rem;
                }

                .contact-form button {
                    padding: 0.75rem;
                    background-color: black;
                    color: white;
                    border: none;
                    border-radius: 10px;
                    cursor: pointer;
                }

                    .contact-form button:hover {
                        opacity: 0.8;
                    }

                .big-logo {
                    margin-top: 45px;
                    height: 150px;
                }

    footer {
        background-color: white;
        top: 0;
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 1px solid #eee;
        padding: 5rem 2rem;
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        z-index: 1000;
    }

        .footer-top {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
        }

        .footer-bottom {
            display: flex;
            justify-content: center;
            text-align: center;
        }

    .fade {
        opacity: 0;
        animation: fadeIn 1.5s ease forwards;
    }

    .logo1 {
        animation-delay: 0.5s;
    }

    .logo2 {
         animation-delay: 1.2s;
    }

    .logo3 {
        animation-delay: 1.8s;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .events {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .CURF-ambassador-program h1 {
            text-align: center;
            margin-top: 105px;
            margin-bottom: 28px;
            font-weight: 550;
            padding: 0 50px;
        }

            .events-feature {
                display: flex;
                align-items: center;
                gap: 15px;
                margin: 60px 130px;
                max-width: 577px;
            }

                .events-feature-content {
                    display: flex;
                    flex-direction: column;
                }

                    .events-feature-text {
                        font-size: 20px;
                        margin-left: 10px;
                    }

                    .events-feature-subtext {
                        margin: 5px 0 0 10px;
                        color: rgb(88, 87, 87);
                    }

                .circle {
                    font-size: 16px;
                    width: 50px;
                    height: 50px;
                    border: 2px solid #000;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-shrink: 0;
                    margin-bottom: 54px;
                }

            .events-text {
                margin-bottom: 40px;
                font-size: 20px;
                max-width: 825px;
                text-align: center;
                margin: 0 auto;
                padding: 0 50px;
            }

            .office-hours-cal {
                display: flex;
                justify-content: center;
                margin-top: 45px;
                margin-bottom: 45px;
                padding: 0px 50px;
            }

    .menu-toggle {
        display: none;
        font-size: 26px;
        color: white;
        cursor: pointer;
        margin-top: -6px;
    }

        @media (max-width: 915px) {
            .menu-toggle {
                display: block;
            }

            .right {
                position: absolute;
                top: 67px;
                right: 0;
                width: 100%;
                background: #004091;

                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 20px;
                padding: 30px 0;

                opacity: 0;
                transform: translateY(-10px);
                pointer-events: none;

                transition: all 0.3s ease;
            }

            .right.active {
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto;
            }

            .right a {
                opacity: 0;
                transform: translateY(-10px);
                transition: all 0.3s ease;
            }

            .right.active a {
                opacity: 1;
                transform: translateY(0);
            }

            .right.active a:nth-child(1) { transition-delay: 0.1s; }
            .right.active a:nth-child(2) { transition-delay: 0.2s; }
            .right.active a:nth-child(3) { transition-delay: 0.3s; }
            .right.active a:nth-child(4) { transition-delay: 0.4s; }
            .right.active a:nth-child(5) { transition-delay: 0.5s; }

            /* Team page: stack headshot above name/bio */
            .team-member {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .headshot {
                margin-right: 0;
                margin-bottom: 20px;
                margin-top: 0;
            }

            .ats {
                justify-content: center;
                gap: 12px;
            }

            .member-info {
                max-width: 100%;
            }

            /* Events page: stack circle above label/subtext */
            .events-feature {
                flex-direction: column;
                align-items: center;
                text-align: center;
                margin: 40px auto;
                padding: 0 30px;
            }

            .circle {
                margin-bottom: 10px;
            }

            .events-feature-text,
            .events-feature-subtext {
                margin-left: 0;
                text-align: center;
            }
    }
