:root {
    --primary: #3b82f6; 
    --primary-dark: #2563eb;
    --primary-light: #93c5fd;
    --secondary: #14b8a6; 
    --secondary-dark: #0d9488;
    --accent: #f97316; 
    --text: #111827; 
    --text-light: #4b5563;
    --background: #ffffff;
    --background-alt: #f9fafb; 
    --border: #e5e7eb;
    --border-light: #f3f4f6; 
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04); 
    --shadow: 0 3px 5px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --max-width: 1280px; 
    --radius-sm: 0.375rem; 
    --radius: 0.5rem; 
    --radius-lg: 0.75rem; 
    --font-sans: 'Outfit', sans-serif;
    --fw-light: 300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --transition-fast: all 0.2s ease-out;
    --transition-normal: all 0.3s ease-out;
    --container-padding: 2rem;
    --nav-height: 4.5rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

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

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 1rem); /* Account for fixed navbar */
    font-size: 16px; 
}

body {
    font-family: var(--font-sans);
    line-height: 1.7; 
    font-weight: var(--fw-normal);
    color: var(--text);
    /* Added subtle gradient background */
    background: linear-gradient(135deg, #f0f9ff 0%, #f0fdfa 100%); 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(12px) saturate(180%); 
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--border-light); 
    box-shadow: var(--shadow); 
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    height: var(--nav-height);
}

/* Add a class for when navbar is scrolled */
.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.partners-section {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f9fbfd;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #555;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: scale(1.05);
}

.partner-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 0.5rem;
}

.partner-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}


.nav-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding); 
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.small-logo {
    width: 40px;
    height: auto;
    filter: none;
    box-shadow: none;
    margin-right: 1rem;
}

.nav-logo {
    color: var(--text);
    text-decoration: none;
    font-weight: var(--fw-bold);
    font-size: 1.5rem;
    display: flex; 
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: var(--fw-medium);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; 
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width var(--transition-normal);
}

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

.nav-links a.active {
    color: var(--primary-dark);
    font-weight: var(--fw-semibold); 
}

.mobile-nav-toggle {
    display: none; /* Hidden by default on desktop */
    background: transparent;
    border: none;
    border-radius: 50%;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001; /* Above nav content */
    transition: transform 0.2s ease;
    position: absolute;
    right: 1rem;
    top: 1.25rem;
}

.mobile-nav-toggle:hover {
    transform: scale(1.1);
}

.mobile-nav-toggle svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.nav-open .mobile-nav-toggle svg {
    color: var(--text);
    stroke-width: 3px; /* Make the X icon bolder */
}

.mobile-nav-toggle .icon-close {
    display: none; /* Hide close icon initially */
}

.nav-open {
    background-color: rgba(255, 255, 255, 0.95) !important; /* Semi-transparent white background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Position the close button in the top-right for the fullscreen menu */
.nav-open .mobile-nav-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-open .mobile-nav-toggle .icon-hamburger {
    display: none;
}

.nav-open .mobile-nav-toggle .icon-close {
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 8rem 2rem; 
    /* Changed background to gradient and text color to white */
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); 
    color: white; 
    overflow: hidden;
}

.hero::before {
   display: none;
}

.logo{
    padding: 30px;
    animation: float 3s ease-in-out infinite;
}

.small-logo{
    width: 55px;
    height: 55px;
    padding: 0px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: var(--fw-bold); 
    line-height: 1.1;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    color: white; /* Changed color */
    background: none; 
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Added text shadow */
    letter-spacing: -0.02em;
}

.hero h2 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: var(--fw-normal);
    color: rgba(255, 255, 255, 0.85); /* Changed color */
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); /* Added text shadow */
}

.content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 2rem; 
}

.section {
    margin-bottom: 5rem; 
    padding: 3.5rem; 
    background: var(--background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow); 
    border: 1px solid var(--border-light); 
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.section:hover {
    transform: translateY(-6px); 
    box-shadow: var(--shadow-lg); 
}

.intro {
    font-size: 1.15rem; 
    margin-bottom: 2.5rem; 
    color: var(--text-light); 
    line-height: 1.8;
    max-width: 800px; 
}

.specialties {
    list-style-type: none;
    margin: 2.5rem 0; 
    padding: 0; 
}

.specialties li {
    position: relative;
    padding: 1.25rem 1.5rem 1.25rem 3.5rem; 
    margin-bottom: 1rem;
    background: var(--background-alt);
    border-radius: var(--radius);
    transition: var(--transition-normal);
    border: 1px solid var(--border-light); 
    font-weight: var(--fw-medium);
}

.specialties li:hover {
    transform: translateX(8px); 
    background: rgba(59, 130, 246, 0.08); 
    border-color: rgba(59, 130, 246, 0.3); 
    box-shadow: var(--shadow-sm);
}

.specialties li::before {
    content: "✓"; 
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-weight: var(--fw-bold);
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.specialties li:hover::before {
    transform: translateY(-50%) scale(1.1); 
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    margin-top: 3rem; 
}

.service-card {
    background: var(--background);
    border: 1px solid var(--border-light); 
    border-radius: var(--radius-lg);
    padding: 2.5rem; 
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm); 
}

.service-card:hover {
    transform: translateY(-8px); 
    box-shadow: var(--shadow-lg);
    border-color: var(--border); 
}

.card-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 56px; 
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(20, 184, 166, 0.1)); 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    margin-bottom: 1.5rem; 
}

.service-card:hover .icon-circle {
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    transform: scale(1.05); 
}

.icon-circle svg {
    width: 28px; 
    height: 28px;
    color: var(--primary);
    transition: var(--transition-normal);
}

.service-card:hover .icon-circle svg {
    color: white;
}

.service-card h3 {
    font-size: 1.3rem; 
    font-weight: var(--fw-semibold); 
    margin-bottom: 0.75rem; 
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem; 
}

.contact {
    text-align: center;
    padding: 5rem 2rem; 
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%); 
    border-radius: var(--radius-lg);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 5rem; 
    box-shadow: var(--shadow-lg);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    animation: shimmer 2s infinite;
    background-size: 200% 100%;
}

.contact h2 { 
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
    position: relative;
}

.contact p {
    font-size: 1.15rem; 
    margin-bottom: 2.5rem; 
    position: relative;
    max-width: 600px; 
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9; 
}

footer {
    background: var(--background-alt);
    padding: 3rem 2rem; 
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid var(--border-light); 
    margin-top: 5rem; 
    font-size: 0.9rem; 
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex; 
    flex-direction: column;
    align-items: center;
    gap: 1rem; 
}

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 1200px) {
    :root {
        --container-padding: 1.5rem;
    }
    
    .values-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .contact-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .mission-hero h1 {
        font-size: 3.2rem;
    }
    
    .initiatives-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Add animation for menu items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95) rotateX(-20deg); /* Start further down, smaller, and slightly tilted */
        transform-origin: top center;
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg); /* End in final position */
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
        --nav-height: 4rem;
    }
    
    html {
        font-size: 14px;
    }
    
    .nav-open::after {
        content: '';
        display: block;
    }
    
    .nav-links[data-visible="true"] a {
        animation: fadeInUp 0.5s ease forwards;
        opacity: 0;
    }
    
    .nav-links[data-visible="true"] a:nth-child(1) { animation-delay: 0.1s; }
    .nav-links[data-visible="true"] a:nth-child(2) { animation-delay: 0.2s; }
    .nav-links[data-visible="true"] a:nth-child(3) { animation-delay: 0.3s; }
    .nav-links[data-visible="true"] a:nth-child(4) { animation-delay: 0.4s; }
    .nav-links[data-visible="true"] a:nth-child(5) { animation-delay: 0.5s; }
    .nav-links[data-visible="true"] a:nth-child(6) { animation-delay: 0.6s; }
    .nav-links[data-visible="true"] a:nth-child(7) { animation-delay: 0.7s; }
    .nav-links[data-visible="true"] a:nth-child(8) { animation-delay: 0.8s; }
    
    .nav-content {
        padding: 0 var(--container-padding);
        position: relative;
    }
    
    .small-logo {
        position: absolute;
        left: var(--container-padding);
        top: 50%;
        transform: translateY(-50%);
        margin-right: 0;
    }
    
    .nav-logo {
        position: absolute;
        left: calc(var(--container-padding) + 50px);
        max-width: 65%;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-links {
        position: fixed;
        inset: 0;
        background: white !important;
        background-image: none !important;
        background-color: white !important;
        backdrop-filter: none;
        padding: 8rem 2rem 2rem;
        flex-direction: column;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 350ms ease-out;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;
    }
    
    .nav-links[data-visible="true"] {
        transform: translateX(0%);
    }
    
    /* Override any background colors or gradients that might be showing through */
    body.nav-open::before,
    .nav-open .hero::before,
    .nav-open .team-hero::before,
    .nav-open .mission-hero::before {
        opacity: 0 !important;
    }
    
    /* Add a gradient overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: linear-gradient(135deg, rgba(240, 249, 255, 0.7), rgba(240, 253, 250, 0.7)); /* Light gradient */
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 998; /* Below the nav-links but above other content */
        opacity: 1 !important; /* Ensure it's visible */
    }
    
    /* Style nav links to be clearly visible */
    .nav-links a {
        background-color: white !important;
        color: var(--text) !important;
        font-size: 1.3rem; /* Slightly reduced font size for better fit */
        padding: 0.9rem 1.5rem; /* Adjusted padding */
        width: 90%; /* Adjusted width */
        max-width: 320px; /* Adjusted max-width */
        border: 1px solid var(--border-light); /* Thinner border */
        font-weight: var(--fw-medium); /* Adjusted font weight */
        display: block;
        text-align: center;
        transition: all 0.25s ease-out; /* Slightly faster transition */
        margin-bottom: 0.75rem; /* Reduced margin */
        border-radius: var(--radius); /* Consistent border-radius */
        box-shadow: var(--shadow-sm); /* Add a subtle base shadow */
        border-left: 4px solid transparent; /* Placeholder for hover/active accent */
    }
    
    .nav-links a:hover, .nav-links a:focus {
        background-color: var(--primary-light) !important; /* Lighter primary for hover */
        color: var(--primary-dark) !important; /* Darker primary text for contrast */
        border-color: var(--primary) !important; /* Primary border */
        transform: translateX(5px) scale(1.03); /* Slight shift and scale */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Softer shadow */
        border-left: 4px solid var(--primary); /* Accent border on the left */
    }
    
    .nav-links a.current-page, .nav-links a:active {
        background-color: var(--primary) !important; /* Primary color for active */
        color: white !important;
        font-weight: 600;
        border-color: var(--primary-dark) !important; /* Darker border for active */
        transform: scale(1.01); /* Slight scale for active */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow for active */
        border-left: 4px solid var(--accent); /* Accent color for active item's border */
    }
    
    .mobile-nav-toggle {
        display: block;
        right: var(--container-padding);
        top: 50%;
        transform: translateY(-50%);
    }
    
    .mobile-nav-toggle:hover {
        transform: translateY(-50%) scale(1.1);
    }
    
    .section {
        padding: 2rem var(--container-padding);
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }
    
    .content {
        padding: 0 var(--container-padding);
    }
    
    .values-grid, 
    .initiatives-grid,
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .mission-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .mission-tagline {
        max-width: 100%;
        font-size: 1.1rem;
    }
    
    .mission-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .mission-statement,
    .current-initiatives {
        padding: 2rem var(--container-padding);
    }
    
    .team-category {
        padding: 1.5rem var(--container-padding);
    }
    
    .team-grid {
        gap: 1.5rem;
    }
    
    .team-card {
        padding: 1.25rem;
    }
    
    .team-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .contact-section {
        padding: 2rem var(--container-padding);
    }
    
    footer {
        padding: 1.5rem var(--container-padding);
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    /* Further adjust the logo and spacing for very small screens */
    .nav-logo {
        font-size: 1.3rem;
        left: calc(var(--container-padding) + 45px);
        max-width: 55%;
    }
    
    .small-logo {
        width: 35px;
        height: 35px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    
    .mission-hero h1 {
        font-size: 2.2rem;
    }
    
    .mission-tagline {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .team-card .bio {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-section h2 {
        font-size: 1.8rem;
    }
    
    .contact-section p {
        font-size: 1rem;
    }
}

@media (max-height: 480px) and (orientation: landscape) {
    .hero {
        padding: 5rem 1rem 2rem;
    }
    
    .mission-hero {
        padding: 5rem 1rem 2rem;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .mission-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        width: 120px;
    }
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.1rem; 
    border-radius: var(--radius-lg); 
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 1rem;
    border: 1px solid transparent; 
    cursor: pointer;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
}

.button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: var(--shadow-sm); /* Or a slightly inset shadow if preferred */
}

.button.primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.button.primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px) scale(1.02); 
    box-shadow: var(--shadow);
    color: white;
}

.button.secondary {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.button.secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-3px) scale(1.02); 
    box-shadow: var(--shadow);
}

.button.outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary); 
    box-shadow: none;
    padding: calc(0.9rem - 1px) calc(2.1rem - 1px); 
}

.button.outline:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.02); 
    box-shadow: var(--shadow);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem); 
    font-weight: var(--fw-bold); 
    text-align: center;
    margin-bottom: 3.5rem; 
    line-height: 1.2;
    color: var(--text); 
    
    
    
    
    position: relative;
    padding-bottom: 1rem; 
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    margin-top: 3rem; 
}

.value-card {
    background: var(--background-alt); 
    border: 1px solid var(--border-light); 
    border-radius: var(--radius-lg);
    padding: 2.5rem; 
    transition: var(--transition-normal);
    text-align: center;
    box-shadow: var(--shadow-sm); 
}

.value-card:hover {
    transform: translateY(-8px); 
    box-shadow: var(--shadow-lg);
    border-color: var(--border); 
    background: var(--background); 
}

.value-icon {
    width: 72px; 
    height: 72px;
    margin: 0 auto 1.5rem;
    padding: 1.25rem; 
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(20, 184, 166, 0.15)); 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    transform: scale(1.05) rotate(5deg); 
}

.value-icon svg {
    width: 36px; 
    height: 36px;
    color: var(--primary);
    transition: var(--transition-normal);
}

.value-card:hover .value-icon svg {
    color: white;
}

.value-card h3 {
    font-size: 1.4rem; 
    font-weight: var(--fw-semibold); 
    margin-bottom: 0.75rem; 
    color: var(--text); 
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7; 
    font-size: 1rem; 
}

.why-section {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%); 
    position: relative;
    overflow: hidden;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem; 
    text-align: center;
}

.mission-stats {
    display: flex;
    justify-content: center;
    gap: 3rem; 
    margin-top: 3.5rem; 
    flex-wrap: wrap;
    position: relative; 
    z-index: 2;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-align: center; 
}

.stat-number {
    font-size: clamp(2rem, 5vw, 2.8rem); 
    font-weight: var(--fw-bold); 
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.15); 
    padding: 0.75rem 1.5rem; 
    border-radius: var(--radius);
    min-width: 140px; 
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem; 
    font-weight: var(--fw-medium); 
    opacity: 0.85; 
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .mission-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
        min-width: 120px;
        padding: 0.75rem 1.5rem;
    }
}

.mission-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.5;
    mask-image: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

.mission-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem); 
    font-weight: var(--fw-extrabold); 
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    margin-bottom: 1.5rem; 
    position: relative;
    z-index: 2;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2.5rem; 
    padding: 4rem 0;
}

.mission-card {
    background: var(--background);
    border: 1px solid var(--border-light); 
    border-radius: var(--radius-lg);
    padding: 2.5rem; 
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow); 
}

.mission-card:hover {
    transform: translateY(-8px); 
    box-shadow: var(--shadow-lg);
    border-color: var(--border); 
}

.mission-icon {
    width: 72px; 
    height: 72px;
    margin: 0 auto 1.5rem; 
    padding: 1.25rem; 
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(20, 184, 166, 0.15)); 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.mission-card:hover .mission-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    transform: scale(1.05) rotate(-5deg); 
}

.mission-icon svg {
    width: 36px; 
    height: 36px;
    color: var(--primary);
    transition: var(--transition-normal);
}

.mission-card:hover .mission-icon svg {
    color: white;
}

.mission-card h2 {
    font-size: 1.6rem; 
    font-weight: var(--fw-bold); 
    margin-bottom: 0.75rem; 
    color: var(--text); 
    
    
    
    
}

.mission-card p {
    color: var(--text-light);
    font-size: 1rem; 
    line-height: 1.7; 
}

@media (max-width: 768px) {
    .mission-hero h1 {
        font-size: 3rem;
    }

    .mission-card {
        padding: 2rem;
    }

    .mission-card h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .mission-hero h1 {
        font-size: 2.5rem;
    }

    .mission-card h2 {
        font-size: 1.5rem;
    }
}

.explore-section {
    text-align: center;
    padding: 5rem 2rem; 
    position: relative;
    z-index: 2;
    /* Changed background to light primary */
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.12)); 
    border-radius: var(--radius-lg);
    margin: 5rem 0; 
    box-shadow: var(--shadow);
    border: 1px solid rgba(59, 130, 246, 0.2); /* Added subtle border */
}

.explore-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
    font-weight: var(--fw-bold); 
    color: var(--text);
    margin-bottom: 1rem;
}

.explore-section p {
    font-size: 1.1rem; 
    color: var(--text-light);
    margin-bottom: 2.5rem; 
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.explore-button {
    /* Apply primary button styles */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.1rem; 
    border-radius: var(--radius-lg); 
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 1rem;
    border: 1px solid transparent; 
    cursor: pointer;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.explore-button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px) scale(1.02); 
    box-shadow: var(--shadow);
    color: white;
}

@media (max-width: 768px) {
    .explore-section h2 {
        font-size: 2rem;
    }

    .explore-section p {
        font-size: 1.1rem;
    }
}

.contact-section {
    text-align: center;
    padding: 6rem 2rem; 
    background: linear-gradient(to bottom, var(--background-alt), var(--background)); 
    border-radius: var(--radius-lg);
    margin: 5rem 0;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border-light); 
}

.contact-section h2 {
    font-size: clamp(2rem, 5vw, 2.8rem); 
    font-weight: var(--fw-bold); 
    color: var(--text); 
    
    
    
    
    margin-bottom: 1.5rem;
}

.contact-section p {
    font-size: 1.1rem; 
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2.5rem; 
    line-height: 1.7; 
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.contact-button {
    /* Apply base button styles */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.1rem; 
    border-radius: var(--radius-lg); /* Added rounded corners */
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 1rem;
    border: 1px solid transparent; 
    cursor: pointer;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
    min-width: 160px;
}

.contact-button.email {
    
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
    padding: calc(0.9rem - 1px) calc(2.1rem - 1px); 
}

.contact-button.email:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow);
}

.contact-button.discord { 
    
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.contact-button.discord:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow);
}

.contact-button.team {
    
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.contact-button.team:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow);
}

.contact-button.instagram {
    background: #E1306C; /* Instagram Pink */
    color: white;
    border-color: #E1306C;
}

.contact-button.instagram:hover {
    background: #c32a5f; /* Darker Instagram Pink */
    border-color: #c32a5f;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow);
}

.contact-button.youtube {
    background: #FF0000; /* YouTube Red */
    color: white;
    border-color: #FF0000;
}

.contact-button.youtube:hover {
    background: #cc0000; /* Darker YouTube Red */
    border-color: #cc0000;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow);
}

.contact-button.linkedin {
    background: #0077B5; /* LinkedIn Blue */
    color: white;
    border-color: #0077B5;
}

.contact-button.linkedin:hover {
    background: #005e90; /* Darker LinkedIn Blue */
    border-color: #005e90;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 0 2rem;
    }

    .contact-button {
        width: 100%;
        min-width: unset;
        padding: 0.875rem 1.5rem;
    }
}

.team-section {
    padding: 5rem 0; 
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem; 
    margin-top: 3rem; 
    max-width: var(--max-width); 
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem; 
}

.team-card, .team-member { 
    background: var(--background);
    border-radius: var(--radius-lg); 
    padding: 2.5rem; 
    text-align: center;
    box-shadow: var(--shadow); 
    transition: var(--transition-normal);
    border: 1px solid var(--border-light); 
}

.team-card:hover, .team-member:hover {
    transform: translateY(-8px); 
    box-shadow: var(--shadow-lg); 
    border-color: var(--border);
}

.team-image {
    width: 140px; 
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
     
    border: 4px solid var(--background); 
    box-shadow: var(--shadow-sm), 0 0 0 1px var(--border); 
    position: relative; 
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; 
    transition: transform var(--transition-normal);
}

.team-card:hover .team-image img,
.team-member:hover .team-image img {
    transform: scale(1.05); 
}

.team-card h3, .team-member h3 {
    color: var(--text);
    font-size: 1.4rem; 
    font-weight: var(--fw-semibold); 
    margin-bottom: 0.25rem; 
    margin-top: 0; 
}

.team-card .role, .team-member .role {
    color: var(--primary); 
    font-size: 1rem;
    font-weight: var(--fw-medium); 
    margin-bottom: 1rem;
}

.team-card .bio, .team-member .bio {
    color: var(--text-light);
    font-size: 0.9rem; 
    line-height: 1.6; 
    margin-bottom: 1.5rem;
    max-width: 35ch; 
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    gap: 0.75rem; 
    justify-content: center;
    margin-top: 1.5rem; 
}

.social-link {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    width: 36px; 
    height: 36px;
    border-radius: 50%;
    background: var(--background-alt); 
    color: var(--text-light); 
    transition: var(--transition-fast);
    border: 1px solid var(--border-light); 
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px) scale(1.1); 
    border-color: var(--primary);
}

.social-link svg {
    width: 18px; 
    height: 18px;
}

.join-team {
    text-align: center;
    padding: 5rem 2rem; 
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%); 
    color: white;
    border-radius: var(--radius-lg); 
    margin: 5rem auto; 
    max-width: calc(var(--max-width) - 4rem); 
    box-shadow: var(--shadow-lg);
}

.join-team h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
    font-weight: var(--fw-bold); 
    margin-bottom: 1rem;
}

.join-team p {
    font-size: 1.1rem; 
    margin-bottom: 2.5rem; 
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-team .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.1rem;
    border-radius: var(--radius-lg);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 1rem;
    border: 1px solid var(--primary); 
    cursor: pointer;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
    
    background: var(--primary); 
    color: white; 
}

.join-team .button:hover {
    background: var(--primary-dark); 
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px) scale(1.02); 
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .join-team {
        padding: 4rem 1.5rem;
    }

    .join-team h2 {
        font-size: 2rem;
    }
}

.team-hero {
    min-height: 50vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%); 
    padding: 5rem 2rem; 
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.5;
    mask-image: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

.team-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem); 
    font-weight: var(--fw-extrabold); 
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.team-hero p {
    font-size: clamp(1.1rem, 3vw, 1.3rem); 
    color: rgba(255, 255, 255, 0.85); 
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.placeholder-image {
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image img {
    width: 64px !important;
    height: 64px !important;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .team-hero h1 {
        font-size: 3rem;
    }

    .team-hero p {
        font-size: 1.25rem;
    }
}

.cofounders-grid {
    max-width: 800px;
    margin: 3rem auto 0;
}

.team-grid {
    max-width: var(--max-width);
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.team-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.team-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    padding: 3px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.team-card .role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-card .bio {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.team-member {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 1rem 0 0.5rem;
}

.team-member .role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member .bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
}

::-webkit-scrollbar {
    width: 10px; 
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-alt); 
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light); 
    border-radius: 5px;
    border: 2px solid var(--background-alt); 
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary); 
}

.team-category {
    margin-bottom: 5rem; 
    padding: 3rem 2rem; 
    background: var(--background-alt); 
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow); 
    border: 1px solid var(--border-light); 
}

.category-title h3 {
    
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
    margin-bottom: 0; 
    color: var(--text); 
    background: none; 
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

.category-title::before,
.category-title::after {
    display: none;
}

.category-title {
    
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1rem;
}
.category-title::after { 
    display: block; 
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

@media (max-width: 768px) {
    .team-category {
        padding: 2rem 1.5rem; 
    }
    
}

.mission-tagline {
    max-width: 800px;
    margin: 1rem auto 0; 
    color: rgba(255, 255, 255, 0.85); 
    font-size: clamp(1.1rem, 3vw, 1.3rem); 
    text-align: center;
    position: relative; 
    z-index: 2;
    line-height: 1.6;
}

.mission-statement {
    max-width: 800px;
    margin: 5rem auto; 
    text-align: center;
    padding: 0 1rem; 
}

.mission-statement h2 {
    
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: var(--fw-bold);
    margin-bottom: 1.5rem;
    color: var(--text);
    position: relative;
    padding-bottom: 1rem;
}
.mission-statement h2::after { 
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.mission-statement p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.current-initiatives {
    margin: 5rem 0; 
    padding: 4rem 2rem; 
    background-color: var(--background-alt); 
    border-radius: var(--radius-lg); 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03); 
}

.current-initiatives h2 {
    
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: var(--fw-bold);
    text-align: center;
    margin-bottom: 3.5rem;
    line-height: 1.2;
    color: var(--text);
    position: relative;
    padding-bottom: 1rem;
}
.current-initiatives h2::after { 
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0; 
    max-width: var(--max-width); 
    margin: 0 auto;
}

.initiative-card {
    background: var(--background); 
    padding: 2rem;
    border-radius: var(--radius); 
    box-shadow: var(--shadow-sm); 
    transition: var(--transition-normal);
    border: 1px solid var(--border-light); 
    
    
    
}

.initiative-card:hover {
    transform: translateY(-6px); 
    box-shadow: var(--shadow-lg); 
    border-color: var(--border); 
}

.initiative-card h3 {
    color: var(--primary); 
    font-weight: var(--fw-semibold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.initiative-card ul {
    list-style-type: none; 
    padding-left: 0;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.initiative-card li {
    margin-bottom: 0.75rem; 
    position: relative;
    padding-left: 1.5rem; 
}

.initiative-card li::before { 
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary); 
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    text-align: center;
}

.slide-up-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
    text-align: center;
}

.slide-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
    text-align: center;
}

.slide-up-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.6s, transform 0.8s ease-out 0.6s;
    text-align: center;
}

.show {
    opacity: 1;
    transform: translateY(0);
    text-align: center;
}

.donate-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.1rem;
    border-radius: var(--radius-lg);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 1rem;
    border: 1px solid var(--primary);
    cursor: pointer;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
    
    background: var(--primary);
    color: white;
    margin-top: 1rem;
}

.donate-link:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px) scale(1.02); 
    box-shadow: var(--shadow);
    color: white;
}

.donate-link .arrow {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast); 
}

.donate-link:hover .arrow {
    transform: translateX(3px); 
}

/* Style adjustments for when mobile menu is open */
body.menu-open {
    overflow: hidden; /* Prevent scrolling when menu is open */
}

/* Ensure the navbar has the right styling when menu is open */
body.menu-open .navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

/* Ensure menu items have the right styling */
body.menu-open .nav-links {
    background-color: white !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Style for the first menu item to create the highlight effect */
body.menu-open .nav-links a:first-child {
    /* Keeping this distinct for now, but we can integrate if needed */
    background-color: var(--background-alt) !important;
    border-left: 4px solid var(--primary) !important; /* Ensure consistency with hover/active */
}

/* Update position for close button when menu is open */
.nav-open .mobile-nav-toggle {
    position: fixed;
    top: 1.5rem;
    right: var(--container-padding);
    transform: none;
}

.nav-open .mobile-nav-toggle:hover {
    transform: scale(1.1);
}

/* Content adjustments */
.section {
    padding: 2rem var(--container-padding);
}

.partners-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    font-family: 'Outfit', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-intro {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    text-align: center;
}

.partner {
    margin-bottom: 2.5rem;
}

.partner h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.partner p {
    font-size: 1.05rem;
    line-height: 1.6;
}

