        :root {
            --glass-bg: rgba(255, 255, 255, 0.45);
            --glass-border: rgba(255, 255, 255, 0.3);
            --primary-red: #cc0000;
            --primary-blue: #003366;
            --text-dark: #2d3436;
        }

        body {
            margin: 0;
            font-family: 'Inter', sans-serif;
            color: var(--text-dark);
            background: linear-gradient(135deg, #ffffff 0%, #d7e1ec 100%);
            background-attachment: fixed;
            min-height: 100vh;
        }

        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);
        }

        /* Navbar & Hamburger */
        nav {
            position: sticky;
            top: 15px;
            z-index: 1000;
            margin: 0 20px;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
            margin: 0;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--primary-blue);
            font-weight: 600;
            transition: opacity 0.3s;
        }
		
		/* Logo Styling */
		#logo {
			height: 80px; /* Initial Height */
			width: auto;
			transition: height 0.4s ease-in-out;
		}

		/* Shrunk State (Triggered by JS) */
		nav.shrunk {
			padding: 0.8rem 2rem; /* Smaller padding when scrolled */
			top: 0;
			left: 0;
			right: 0;
			border-radius: 0; /* Optional: make it full width when scrolled */
		}

		nav.shrunk #logo {
			height: 50px; /* Shrunk Height */
		}


        .hamburger {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary-blue);
        }

        /* Hero & Sections */
        .hero { padding: 4rem 2rem; text-align: center; margin: 2rem; }
        .btn-group { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; }
        .btn { padding: 0.8rem 2rem; border-radius: 10px; text-decoration: none; font-weight: bold; transition: 0.3s; border: none; }
        .btn-red { background: var(--primary-red); color: white; }
        .btn-blue { background: var(--primary-blue); color: white; }
        
        section { max-width: 1100px; margin: 4rem auto; padding: 0 20px; }
        .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
        .grid-1 { display: grid; grid-template-columns: 1fr; gap: 2rem; }

        /* Footer */
        footer {
            margin: 4rem 20px 20px;
            padding: 3rem 2rem;
            text-align: center;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            max-width: 1100px;
            margin: 0 auto;
        }

        .logo-overlay {
            display:none
        }

        .makefalls {
            display:block
        }

        /* Mobile Adjustments */
        @media (max-width: 768px) {
            .grid-2 { grid-template-columns: 1fr; }
            .hamburger { display: block; }
            .nav-links {
                display: block;
                flex-direction: column;
                position: absolute;
                top: 70px;
                right: 0;
                width: 200px;
                padding: 1.5rem;
                background: rgba(255, 255, 255, 0.9);
                border-radius: 15px;
                box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            }
            .nav-links.active { display: flex; }
            
            .makefalls {
            display:none
            }

            

            .hero { padding: 2rem 1rem; text-align: center; margin: 1rem; }

            .logo-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: white; /* Matches page load color */
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            
            /* Animation: name | duration | timing-function | fill-mode */
            animation: fadeOutSequence 5s ease-in-out forwards;
            }

            .logo-overlay img {
            max-width: 300px; /* Adjust logo size */
            }

            @keyframes fadeOutSequence {
            0% { opacity: 1; visibility: visible; }
            40% { opacity: 1; } /* Holds solid for 2 seconds (40% of 5s) */
            100% { opacity: 0; visibility: hidden; } /* Fades out over the remaining 3s */
            }

            .nav-logo-fade {
            opacity: 0; /* Start invisible */
            animation: fadeInNavLogo 7s forwards;
            }

            @keyframes fadeInNavLogo {
            0%, 60% { opacity: 0; } /* Stay invisible for the first 2s */
            100% { opacity: 1; }    /* Fade in over the next 3s */
            }

        }

/* Container setup */
.logo-container {
    display: flex;
    align-items: center; /* Vertically centers text with logo */
    gap: 10px; /* Space between logo and text */
}

/* 1. Hide the text by default (Desktop view) */
.mobile-logo-text {
    display: none;
    font-weight: bold;
    color: #003366; /* Matching your theme color */
    font-size: 1.2rem;
    margin: 0;
}

/* 2. Show the text only on Mobile */
@media (max-width: 768px) {
    .mobile-logo-text {
        display: block;
    }

    /* Optional: Hide the long "Make Falls" text on mobile 
       if it's crowding the header */
    .makefalls {
        display: none;
    }
}


/* Update your existing nav.shrunk */
nav.shrunk {
    padding: 0.5rem 2rem;
    top: 0;
    /* If you keep top: 15px here, the jitter often disappears */
    margin: 0; /* Removing the margin also shifts layout; try keeping it consistent */
    background: rgba(255, 255, 255, 0.95); /* Add a background so it's visible while sticky */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


        /* Container for the dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Style the 'More' button and arrow */
.dropbtn {
    display: flex;
    align-items: center;
    gap: 5px;
}

.arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* The actual hidden submenu */
.submenu::before {
    content: '';
    position: absolute;
    top: -20px; /* This height should match the 'margin-top' of your submenu */
    left: 0;
    width: 100%;
    height: 20px;
    display: block;
}

.submenu {
    display: none; /* Hide by default */
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95); /* Matches your glass theme */
    backdrop-filter: blur(10px);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 100;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
    margin-top: 10px;
}

/* Submenu Links */
.submenu li a {
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}



.submenu li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-links li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}


/* Show on Hover */
.dropdown:hover .submenu {
    display: block;
}

/* Rotate arrow on hover */
.dropdown:hover .arrow {
    transform: rotate(180deg);
}


@media (max-width: 768px) {

    .nav-links {
        /* This is the HIDDEN state */
        display: none !important; /* Force hide by default on mobile */
        
        position: absolute;
        top: 100%;
        flex-direction: column;
        /* ... your other glass/background styles ... */
    }

    .nav-links.active {
        /* This is the VISIBLE state */
        display: flex !important; /* Only shows when 'active' is added via JS */
    }

    .submenu {
        display: block !important; /* Overrides any 'none' or hover logic */
        position: static;          /* Puts it in the normal flow of the list */
        box-shadow: none;
        background: transparent;
        padding: 0;
        opacity: 1;
        visibility: visible;
    }
    
    /* You can use a JS toggle class to show this on click for mobile */
    .dropdown.active .submenu {
        display: block;
    }

    /* 3. Style the submenu items like regular nav links */
    .submenu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Subtle divider */
    }


    .submenu li a {
        padding: 15px 25px; /* Slightly more padding for easy tapping */
        font-size: 1.1rem;   /* Larger text for mobile readability */
        display: block;
        color: black;       /* Adjust based on your nav theme */
    }
}


@media (max-width: 768px) {
    .dropdown > .dropbtn {
        pointer-events: none;    
        cursor: default;         
        background: transparent; 
        color: blue;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.85rem;
        padding-bottom: 5px;     
        display: block;
    }

    /* Hide the arrow on mobile since there is no interaction */
    .dropdown > .dropbtn .arrow {
        display: none;
    }

    /* Ensure no hover effect triggers even if there are global styles */
    .dropdown > .dropbtn:hover {
        background-color: transparent !important;
        color: rgba(255, 255, 255, 0.6) !important;
    }
}

@media (max-width: 768px) {
    /* 1. Remove default spacing from the list containers */
    .nav-links, .submenu {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column; /* Stack them vertically */
        gap: 0; /* Set this to 0 to remove gaps between items */
    }

    /* 2. Control spacing using padding on the links instead of margins */
    .nav-links li, .submenu li {
        margin: 0; /* Removes any gaps between the boxes */
        width: 100%;
    }

    .nav-links li a, .submenu li a {
        padding: 12px 20px; /* This defines the "clickable" height */
        margin: 0;
        display: block;
    }

    /* 3. Adjust the "Header" labels (Members/Links) spacing */
    .dropdown > .dropbtn {
        margin-top: 15px;    /* Add space ABOVE a category */
        margin-bottom: 5px;  /* Small space BELOW a category */
        padding-left: 20px;
    }
}

/*mission area*/
/* Base Mobile Styles (Phone first) */
.mission-container {
    padding: 40px 20px;
    display: block; /* Stacks everything vertically */
}

.mission-text h2 {
    font-size: 2rem;
    color: #1a237e; /* Example GOP Blue */
}

/* Hide the image div on mobile */
.mission-image {
    display: none;
}

/* PC / Tablet Styles (Screens wider than 768px) */
@media (min-width: 768px) {
    .mission-container {
        display: flex;       /* Put text and image side-by-side */
        align-items: center; /* Center them vertically */
        justify-content: space-between;
        gap: 50px;           /* Space between text and image */
        max-width: 1200px;
        margin: 0 auto;      /* Center the container on the page */
    }

    .mission-text {
        flex: 1;             /* Takes up 50% width */
    }

    .mission-image {
        display: block;      /* Show the image on PC */
        flex: 1;             /* Takes up 50% width */
    }

    .mission-image img {
        width: 100%;
        height: auto;
        border-radius: 12px; /* Smooth corners for a modern look */
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}

/*icons*/

.social-icon {
    font-size: 24px;
    color: #003366; /* Or your GOP Blue */
    margin: 0 10px;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #ffd700; /* Gold hover effect */
    transform: translateY(-3px); /* Slight lift on hover */
}