/* CSS Variables & Design System */
:root {
    /* Color Palette */
    --primary-color: #2e7d32;
    /* Rich Growth Green */
    --secondary-color: #1b5e20;
    /* Deep Forest Green */
    --accent-color: #fdd835;
    /* Gold/Yellow for warnings/accents */

    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-bg: #f1f8e9;
    /* Very light green hint */
    --white: #ffffff;

    /* Text Colors */
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --text-light: #f3f4f6;
    --text-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    --gradient-dark: linear-gradient(to right, var(--darker-bg), #0e1a0e);
    --gradient-glow: linear-gradient(45deg, var(--primary-color), #43a047);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(13, 71, 161, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 8rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
}

/* Base Styles Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: var(--space-xxl) 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Typography Utilities */
.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-align: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-left: 0.75rem;
    letter-spacing: -0.5px;
}

.logo-container:hover .brand-logo {
    transform: scale(1.05);
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 80px;
    /* Offset for navbar */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f1f8e9 0%, #ffffff 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(46, 125, 50, 0.1);
    color: #4CAF50;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #4CAF50;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Glass Card Utility */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.mission-statement {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(to right, rgba(46, 125, 50, 0.05), transparent);
    border-left: 4px solid #4CAF50;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.mission-statement i {
    font-size: 2.5rem;
    color: #4CAF50;
}

.mission-statement p {
    font-size: 1.125rem;
    margin: 0;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    grid-auto-rows: minmax(280px, auto);
}

.bento-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.03) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.bento-card:hover::after {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(46, 125, 50, 0.08);
    color: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.bento-card:hover .card-icon {
    background: #4CAF50;
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.bento-card p {
    color: var(--text-muted);
    flex-grow: 1;
    line-height: 1.7;
}

@media (min-width: 900px) {
    .bento-wide {
        grid-column: span 2;
    }
}

/* Specific Card Styling Additions */
.feature-members:hover::after {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}

.feature-literacy:hover::after {
    background: var(--gradient-secondary);
}

.feature-literacy .card-icon {
    background: rgba(46, 125, 50, 0.08);
    color: var(--secondary-color);
}

.feature-literacy:hover .card-icon {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.3);
}

.feature-capacity:hover::after {
    background: linear-gradient(135deg, #7b1fa2, #ab47bc);
}

.feature-capacity .card-icon {
    background: rgba(123, 31, 162, 0.08);
    color: #7b1fa2;
}

.feature-capacity:hover .card-icon {
    background: #7b1fa2;
    color: var(--white);
    box-shadow: 0 0 20px rgba(123, 31, 162, 0.3);
}

.feature-women:hover::after {
    background: linear-gradient(135deg, #e91e63, #f48fb1);
}

.feature-women .card-icon {
    background: rgba(233, 30, 99, 0.08);
    color: #e91e63;
}

.feature-women:hover .card-icon {
    background: #e91e63;
    color: var(--white);
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.3);
}

.feature-partnerships:hover::after {
    background: linear-gradient(135deg, #f57c00, #ffb74d);
}

.feature-partnerships .card-icon {
    background: rgba(245, 124, 0, 0.08);
    color: #f57c00;
}

.feature-partnerships:hover .card-icon {
    background: #f57c00;
    color: var(--white);
    box-shadow: 0 0 20px rgba(245, 124, 0, 0.3);
}

/* CTA Section */
.cta {
    background: var(--dark-bg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Base64 encoded subtle dot pattern */
.cta::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: 20px 20px;
    z-index: 0;
    opacity: 0.5;
}

.cta-container {
    background: rgba(15, 15, 15, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 4rem 3rem;
}

.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A, #4CAF50);
    z-index: -1;
    border-radius: calc(var(--radius-lg) + 2px);
    opacity: 0.5;
    filter: blur(12px);
    animation: pulseGlow 4s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
        filter: blur(8px);
    }

    100% {
        opacity: 0.7;
        filter: blur(16px);
    }
}

.cta h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer Section */
footer {
    background: var(--darker-bg);
    color: var(--white);
    padding-top: var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
    line-height: 1.8;
}

.footer-brand .slogan {
    font-style: italic;
    margin-top: 1rem;
    color: #4CAF50;
    font-weight: 500;
}

.footer-contact h4,
.footer-locations h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-contact h4::after,
.footer-locations h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #4CAF50;
}

.contact-methods {
    margin-top: 1rem;
}

.contact-methods a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    transition: color var(--transition-base);
}

.contact-methods a i {
    width: 20px;
    text-align: center;
}

.contact-methods a:hover {
    color: #4CAF50;
}

.address {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.address i {
    color: #4CAF50;
    margin-top: 0.25rem;
    width: 20px;
    text-align: center;
}

.address p {
    margin-bottom: 0;
    line-height: 1.6;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(46, 125, 50, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4CAF50;
}

/* Utilities */
.text-primary {
    color: #4CAF50;
}

.text-secondary {
    color: var(--secondary-color);
}

/* Animation Utility */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-graphic {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        text-align: center;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-container>.btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
    }

    .glass-card {
        padding: 2rem;
    }
}