@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-purple: #7c3aed;
    --deep-purple: #5b21b6;
    --gray-text: #4b5563;
    --dark-text: #1f2937;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--dark-text);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Enhanced Navbar Styles */
nav {
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    height: 40px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: color 0.3s ease;
    white-space: nowrap;
}

/* Underline animation for nav links */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--light-purple);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--light-purple);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Active state for current page */
.nav-links a.active {
    color: var(--light-purple);
}

.nav-links a.active::after {
    width: 100%;
}

/* Special styling for Donate button only */
.nav-links .btn-nav {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    background: var(--light-purple);
    color: white !important; /* Force white text */
    transition: all 0.3s ease;
}

.nav-links .btn-nav:hover {
    background: var(--deep-purple);
    transform: translateY(-2px);
    color: white !important; /* Force white text on hover */
}

/* Remove button styling from Join Us link */
.nav-links .btn-nav::after {
    display: none;
}

/* Add some top margin to main content to account for fixed navbar */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--white);
    padding: 0;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    font-family: 'Space Grotesk', sans-serif;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #7c3aed, #c026d3, #7c3aed);
    background-size: 200% auto;
    -webkit-background-clip: text;
    font-family: 'Space Grotesk', sans-serif;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s linear infinite;
    margin-bottom: 1rem;
}

@keyframes gradient {
    to {
        background-position: 200% center;
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
}

/* Properly Spaced Geometric Shapes */
.bg-circle {
    position: absolute;
    z-index: 0;
    opacity: 0.6;
}

/* Large Circle - Far Top Left */
.circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, #7c3aed20, #c026d320);
    top: -5%;
    left: -10%;
    animation: float 8s ease-in-out infinite;
}

/* Square - Far Top Right */
.circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #7c3aed15, #c026d315);
    top: 5%;
    right: -5%;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

/* Triangle - Middle Left */
.circle-3 {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid rgba(124, 58, 237, 0.1);
    top: 40%;
    left: 5%;
    animation: float 7s ease-in-out infinite;
}

/* Small Circle - Middle Right */
.circle-4 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(225deg, #7c3aed10, #c026d310);
    top: 35%;
    right: 8%;
    animation: float 9s ease-in-out infinite;
}

/* Rectangle - Bottom Center */
.circle-5 {
    width: 280px;
    height: 140px;
    background: linear-gradient(90deg, #7c3aed15, #c026d315);
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%) rotate(-15deg);
    animation: float 10s ease-in-out infinite;
}

/* Gentle floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Ensure shapes don't interfere with content */
.hero {
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* Decorative Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--light-purple) 1px, transparent 0);
    background-size: 50px 50px;
    opacity: 0.03;
    pointer-events: none;
}

/* Button Styles */
.btn-container {
    display: flex;
    gap: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;

    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--light-purple);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--deep-purple);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--light-purple);
    border: 2px solid var(--light-purple);
}

.btn-secondary:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Update stats grid to match opportunities layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 2 boxes per row */
    gap: 2.5rem;
    padding: 0;
    margin: 3rem 0;
}

/* Simplified Stat Cards */
.stat-card {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(93, 94, 212, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--light-purple);
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0;
    margin: 3rem 0;
}

.opp-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(93, 94, 212, 0.1);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 20px;
}

.opp-card .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.opp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(93, 94, 212, 0.15);
}

.opp-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.opp-card p {
    flex: 1;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 1rem;
}

.opp-card button {
    margin-top: auto;
    width: fit-content;
    align-self: center;
}

/* Updated Footer Styles */
footer {
    margin-top: 6rem;  /* Alternative approach */
    background: linear-gradient(to bottom, var(--off-white), #f5f3ff);
    color: var(--dark-text);
    padding: 4rem 0 0 0;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    font-family: 'Inter', sans-serif;

    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-section {
    position: relative;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    color: var(--dark-text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--light-purple);
}

.footer-section p {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--light-purple);
    padding-left: 5px;
}

/* Updated Social Links Styles */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-purple);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--light-purple);
    color: white !important;  /* Force white color on hover */
    transform: translateY(-3px);
}

.social-link:hover i {
    color: white;  /* Ensure icon itself turns white */
}

/* Specific icon adjustments */
.fa-tiktok {
    font-size: 1.1rem;  /* Slightly smaller for better fit */
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 5px;
    outline: none;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--light-purple);
    color: white;
    border: none;
    font-family: 'Space Grotesk', sans-serif;

    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--deep-purple);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 4rem;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.footer-bottom p {
    color: var(--gray-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .container {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .nav-logo {
        height: 60px;
    }
}

/* Add subtle hover transitions */
.nav-links a:hover {
    color: var(--royal-blue);
}

/* Update the typing text container */
.tagline-container {
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

#typing-text {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--dark-text);
    white-space: nowrap;
}

/* Add responsive fallback for mobile */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Update team member images - remove border and radius */
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 3rem;
    padding-top: 5rem;  /* Significantly increased top padding */
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(93, 94, 212, 0.1);
}

.team-member img {
    width: 100%;
    height: 300px;  /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    /* Specific adjustments for each team member */
}

/* Individual image position adjustments */
[alt="Jeff"] {
    object-position: center 20%;  /* Move image up */
}

[alt="Misha"] {
    object-position: center 30%;  /* Move image up slightly */
}


[alt="Anushka"] {
    object-position: center 20%;  /* Move image up */
}

[alt="Rudra"] {
    object-position: center 40%;  /* Moved up significantly to focus on face */
}

.team-member h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
}

.team-member p {
    color: var(--royal-blue);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Update grid layout for better fit */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.mobile-warning {
    display: none;  /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-warning h1 {
    color: var(--deep-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.mobile-warning p {
    color: var(--royal-blue);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Hide main content when warning is shown */
.mobile-hidden {
    display: none !important;
}

/* Base section styles */
section {
    padding: 3.5rem 0;
    position: relative;
    width: 100%;
    margin: 0;
    left: 0;
}

/* Section Headers with proper padding */
section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--dark-text);
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 auto 2.5rem auto;
    position: relative;
}

/* Subtle underline for headers */
section h2::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--light-purple);
    border-radius: 2px;
}

/* Section backgrounds */
.hero {
    background: var(--white);
    padding: 0;
    font-family: "Space Grotesk", sans-serif;

}

#partners {
    padding: 4rem 0;
    text-align: center;
}

#mission {
    padding: 6rem 0;
    background: var(--white);
}

#impact {
    background: var(--white);
    width: 100%;
}

#opportunities {
    width: 100%;
}

/* Mission Section */
.mission-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mission-text h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--light-purple), var(--deep-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-main {
    text-align: center;
    font-size: 1.5rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 4rem;
    font-weight: 500;
}

.mission-points {
    display: grid;
    gap: 2rem;
}

.mission-point {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(93, 94, 212, 0.1);
    transition: transform 0.3s ease;
}

.mission-point:hover {
    transform: translateY(-5px);
}

.mission-point i {
    font-size: 1.8rem;
    color: var(--light-purple);
    background: rgba(124, 58, 237, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.mission-point h3 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.mission-point p {
    color: var(--gray-text);
    line-height: 1.6;
}

/* Impact Section */
#impact {
    background: var(--off-white);
}

#impact h2 {
    background: var(--off-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 2rem;  /* Reduced space after header */
}

/* Opportunities Section */
#opportunities {
    background: var(--white);
}

#opportunities h2 {
    background: (-white);
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Card Styles */
.card {
    background: var(--white);
    padding: 3rem;
    border-radius: 0;  /* Removed border radius as per previous discussion */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Section spacing utilities */
.section-padding {
    padding: 8rem 0;
}

.section-margin {
    margin: 8rem 0;
}

/* Text styles */
.section-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--gray-text);
    margin-bottom: 4rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Alternating section backgrounds */
section:nth-child(even) {
    background: var(--off-white);
}

section:nth-child(odd) {
    background: var(--white);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .opportunities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    section {
        padding: 6rem 0;
    }
}

@media (max-width: 768px) {
    .opportunities-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 4rem 0;
    }
    
    section h2 {
        font-size: 2.4rem;
    }
}

/* Update all headers to use Space Grotesk */
h1, h2, h3, .btn {
    font-family: 'Space Grotesk', sans-serif;
}

/* Update opportunity card buttons */
.opp-card .btn {
    background: var(--light-purple);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.opp-card .btn:hover {
    background: var(--deep-purple);
    transform: translateY(-2px);
}

/* Section Headers */
section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-text);
}

/* Card Headers */
.card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

/* Update button colors globally */
.btn-primary {
    background: var(--light-purple);
    color: white;
}

.btn-primary:hover {
    background: var(--deep-purple);
}

.btn-secondary {
    border: 2px solid var(--light-purple);
    color: var(--light-purple);
}

.btn-secondary:hover {
    background: rgba(124, 58, 237, 0.1);
}

/* Partner Logo Showcase */
#partners {
    padding: 4rem 0;
    text-align: center;
}

.logo-scroll {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    overflow: hidden;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;  /* Allow wrapping if needed */
}

.logo-container img {
    height: 80px;  /* Larger logos */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Hero Section */
    .hero h1 {
        font-size: 3.5rem;  /* Smaller font for mobile */
    }

    #typing-text {
        display: none;
    }

    .tagline-container::before {
        content: "Built by students, for students";
        font-size: 2rem;
        font-weight: 700;
        color: var(--dark-text);
        font-family: 'Space Grotesk', sans-serif;
    }

    /* Partners Section */
    .logo-container img {
        height: 35px;  /* Smaller logos */
    }

    /* Grid Layouts */
    .opportunities-grid,
    .stats-grid {
        grid-template-columns: 1fr;  /* Stack cards vertically */
        gap: 2rem;
        padding: 0 1rem;
    }

    /* Section Padding */
    section {
        padding: 2rem 0;
    }

    section h2 {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Buttons */
    .btn-container {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;  /* Full width buttons */
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Hero Section */
    .hero h1 {
        font-size: 4rem;
    }

    #typing-text {
        font-size: 2.5rem;
    }

    /* Grid Layouts */
    .opportunities-grid {
        grid-template-columns: repeat(2, 1fr);  /* 2 columns for tablets */
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Navigation Styles */
.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1000;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;  /* Made thicker */
    margin: 5px 0;
    background-color: black !important;  /* Force black color */
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: flex !important;  /* Force display */
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-content {
        padding: 0 1rem;
    }

    .nav-top {
        padding: 0.5rem 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: all 0.3s ease;
        z-index: 90;
    }

    .nav-links.active {
        right: 0;
    }

    /* Hamburger animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Improved mobile link styles */
    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
        text-align: center;
    }

    .btn-nav {
        margin-top: 1rem;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    .mobile-menu-btn span {
        background-color: black !important;  /* Force black color */
    }

    .mobile-menu-btn.active span {
        background-color: black !important;
    }
}

/* About Hero Section */
.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 6rem 0 4rem 0;
}

.about-hero .container {
    text-align: center;
}

.about-hero h1 {
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(to right, #7c3aed, #c026d3, #7c3aed);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s linear infinite;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
}

.about-hero p {
    font-size: 1.5rem;
    color: var(--gray-text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Team Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

/* Team Member Card */
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(93, 94, 212, 0.1);
    transition: transform 0.3s ease;
}

/* Perfect Circle Images */
.team-member img {
    width: 150px;
    height: 150px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(93, 94, 212, 0.2);
}

/* Team Member Text */
.team-member h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: var(--dark-text);
}

.team-member p {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: var(--gray-text);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--light-purple);
    transform: translateY(-2px);
}

/* Hover Effects */
.team-member:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .team-member img {
        width: 120px;
        height: 120px;
    }
}

/* Enhanced 3D Cylinder */
.circle-6 {
    position: absolute;
    z-index: 0;
    width: 120px;
    height: 250px;
    background: linear-gradient(
        90deg,
        rgba(124, 58, 237, 0.1) 0%,
        rgba(192, 38, 211, 0.15) 50%,
        rgba(124, 58, 237, 0.05) 100%
    );
    border-radius: 60px / 30px;
    top: 25%;
    right: 15%;
    transform: rotate(-15deg) skewX(2deg);
    animation: cylinderFloat 10s ease-in-out infinite;
    box-shadow: 
        inset -10px 0 15px rgba(124, 58, 237, 0.1),
        inset 10px 0 15px rgba(192, 38, 211, 0.1);
}

.circle-6::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 40px;
    background: linear-gradient(
        90deg,
        rgba(124, 58, 237, 0.2) 0%,
        rgba(192, 38, 211, 0.25) 50%,
        rgba(124, 58, 237, 0.15) 100%
    );
    border-radius: 60px / 20px;
    top: -20px;
    left: 0;
    transform: perspective(100px) rotateX(5deg);
    box-shadow: 
        0 -5px 15px rgba(124, 58, 237, 0.1),
        inset 0 5px 10px rgba(0, 0, 0, 0.05);
}

.circle-6::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 40px;
    background: linear-gradient(
        90deg,
        rgba(124, 58, 237, 0.15) 0%,
        rgba(192, 38, 211, 0.2) 50%,
        rgba(124, 58, 237, 0.1) 100%
    );
    border-radius: 60px / 20px;
    bottom: -20px;
    left: 0;
    transform: perspective(100px) rotateX(-5deg);
    box-shadow: 
        0 5px 15px rgba(124, 58, 237, 0.1),
        inset 0 -5px 10px rgba(0, 0, 0, 0.05);
}

/* Special animation for cylinder */
@keyframes cylinderFloat {
    0%, 100% {
        transform: rotate(-15deg) skewX(2deg) translateY(0);
    }
    50% {
        transform: rotate(-15deg) skewX(2deg) translateY(-20px);
    }
}

/* Impact Section Styles */
#impact-numbers {
    padding: 4rem 0;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(93, 94, 212, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--light-purple);
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-card {
        flex: 1 1 calc(50% - 2rem);
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .stat-card {
        flex: 1 1 100%;
    }
}

/* Smooth reveal animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Add animation classes */
.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-scale {
    animation: scaleIn 0.6s ease forwards;
    opacity: 0;
}

/* Add animation delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Add spacing between core team and footer */
#core-team {
    margin-bottom: 6rem;  /* Adds significant space before footer */
}

/* Featured Programs */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.program-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(93, 94, 212, 0.1);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--light-purple), var(--deep-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.program-icon i {
    font-size: 1.5rem;
    color: white;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.program-card p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-card ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.program-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--gray-text);
}

.program-card ul li i {
    color: var(--light-purple);
}

.program-card .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Upcoming Events */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(93, 94, 212, 0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light-purple);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    min-width: 80px;
}

.event-date .month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 700;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.event-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-text);
    margin-bottom: 0.8rem;
}

.event-details .btn {
    margin-top: 1rem;
}

/* Button Styles */
.btn {
    background: var(--light-purple);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

/* Button Styles */
.hero-btn {
    background: var(--light-purple);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: var(--deep-purple);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        width: 100px;
        margin: 0 auto;
    }

    .event-details p {
        justify-content: center;
    }
}

/* Developer Card Styles */
.developer-card {
    border: 2px solid var(--light-purple);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.15);
}

.dev-badge {
    font-size: 0.7rem;
    background: linear-gradient(45deg, var(--light-purple), var(--deep-purple));
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    vertical-align: middle;
    font-weight: normal;
}

.developer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

/* Department Section Styles */
#departments {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white), var(--off-white));
}

.section-desc {
    text-align: center;
    color: var(--gray-text);
    max-width: 800px;
    margin: 1rem auto 4rem;
    font-size: 1.1rem;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* Force 4 columns */
    gap: 1.5rem;  /* Reduced gap for better fit */
    margin: 0 auto;
    max-width: 1400px;  /* Increased max-width to accommodate all cards */
    padding: 0 2rem;
}

.department-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(93, 94, 212, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(93, 94, 212, 0.2);
}

.department-card h3 {
    color: var(--dark-text);
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

/* Department card with colored icons */
.department-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(93, 94, 212, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.department-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--light-purple), var(--deep-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.department-icon i {
    font-size: 1.8rem;
    color: white;
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(93, 94, 212, 0.2);
}

.department-card:hover .department-icon {
    transform: scale(1.1);
}

.department-card h3 {
    color: var(--dark-text);
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

.dev-signature {
    background: linear-gradient(45deg, #5b21b6, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    padding: 0 2px;
}

/* Volunteer Hours Tracker Styles */
.volunteer-hours {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 20px;
    font-size: 0.9rem;
}

.volunteer-hours i {
    color: var(--light-purple);
    font-size: 1rem;
}

.hours-info {
    display: flex;
    flex-direction: column;
}

.hours-count {
    font-weight: 600;
    color: var(--deep-purple);
    line-height: 1;
    text-align: left;
}

.hours-label {
    font-size: 0.75rem;
    color: var(--gray-text);
}

/* Special styling for developer cards */
.developer-card .volunteer-hours {
    background: rgba(124, 58, 237, 0.1);
}

/* Add these styles for the dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.dropdown-content a {
    color: var(--gray-text);
    padding: 0.8rem 1.5rem;
    display: block;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background: rgba(124, 58, 237, 0.05);
    color: var(--light-purple);
}

.dropdown-content a.active {
    color: var(--light-purple);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Remove dropdown arrow from all products dropdown elements */
.dropdown > a::after {
    display: none !important;
}

/* Ensure hover styles still work but don't rely on the arrow */
.dropdown:hover > a::after {
    transform: none !important;
}

/* For mobile layout */
@media (max-width: 768px) {
    .dropdown > a {
        justify-content: center !important;
    }
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        background: rgba(124, 58, 237, 0.05);
        border-radius: 0;
        display: none;
        transform: none;
        padding: 0;
        margin-left: 1rem;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 0.8rem;
    }
    
    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
