/* ================================================================
   ZIMWOMEN — EXPERT PREMIUM DESIGN SYSTEM
   Zimbabwe Green Women's Shade Trust
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;600;700;800&display=swap');

/* ----------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
    /* Brand Palette */
    --green-900: #1B5E20;
    --green-700: #2E7D32;
    --green-500: #43A047;
    --green-300: #81C784;
    --green-100: #E8F5E9;
    --blue-900:  #01579B;
    --blue-700:  #0277BD;
    --blue-500:  #0288D1;
    --blue-100:  #E1F5FE;
    --earth-900: #3E2723;
    --earth-700: #5D4037;
    --earth-300: #D7CCC8;
    --gold:      #F9A825;
    --gold-light:#FFF8E1;

    /* Semantic */
    --primary:   var(--green-700);
    --primary-dk:var(--green-900);
    --secondary: var(--blue-500);
    --accent:    var(--earth-700);
    --surface:   #FFFFFF;
    --surface-2: #F7FAF7;
    --surface-3: #EEF5EE;
    --text-1:    #1A2E1A;
    --text-2:    #3D5A3D;
    --text-3:    #6B8F6B;
    --border:    rgba(46,125,50,0.12);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #1B5E20 0%, #0277BD 100%);
    --grad-hero:    linear-gradient(160deg, rgba(27,94,32,0.85) 0%, rgba(1,87,155,0.75) 100%);
    --grad-gold:    linear-gradient(135deg, #F9A825 0%, #FF6F00 100%);
    --grad-earth:   linear-gradient(135deg, #3E2723 0%, #5D4037 100%);
    --grad-card:    linear-gradient(145deg, #ffffff 0%, #f0f7f0 100%);

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-sm: 0 4px 12px rgba(27,94,32,0.10);
    --shadow-md: 0 8px 24px rgba(27,94,32,0.14);
    --shadow-lg: 0 16px 48px rgba(27,94,32,0.18);
    --shadow-xl: 0 24px 64px rgba(27,94,32,0.22);
    --glow-green: 0 0 30px rgba(67,160,71,0.35);
    --glow-blue:  0 0 30px rgba(2,136,209,0.35);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-ui:      'Outfit', 'Inter', sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12:3rem;
    --space-16:4rem;
    --space-24:6rem;

    /* Layout */
    --sidebar-width: 280px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Animation */
    --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
    --ease-in:   cubic-bezier(0.4, 0.0, 1, 1);
    --ease-both: cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition: all 0.3s var(--ease-both);

    /* Legacy aliases (keep backward‑compat) */
    --primary-color:       var(--primary);
    --secondary-color:     var(--secondary);
    --accent-color:        var(--accent);
    --primary-green:       var(--green-700);
    --primary-green-dark:  var(--green-900);
    --primary-green-light: var(--green-300);
    --secondary-blue:      var(--blue-500);
    --secondary-blue-dark: var(--blue-900);
    --secondary-blue-light:var(--blue-100);
    --earth-brown:         var(--earth-700);
    --earth-brown-dark:    var(--earth-900);
    --earth-brown-light:   var(--earth-300);
    --pure-white:          #FFFFFF;
    --off-white:           var(--surface-2);
    --text-main:           var(--text-1);
    --text-muted:          var(--text-3);
    --dark-text:           var(--text-1);
    --muted-text:          var(--text-2);
    --accent-green:        var(--green-500);
    --bg-light:            var(--surface-2);
    --border-color:        var(--earth-300);
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    line-height: 1.75;
    color: var(--text-1);
    background: var(--surface-2);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ================================================================
   3. SCROLL-REVEAL ANIMATION BASE
   ================================================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-left.visible  { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ================================================================
   4. BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.1); }

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--glow-green);
    color: #fff;
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-hero-primary {
    background: var(--grad-primary);
    color: #fff;
    font-size: 1rem;
    padding: 18px 48px;
    border-radius: var(--radius-full);
    font-weight: 700;
    box-shadow: 0 12px 32px rgba(27,94,32,0.45);
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
}
.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(27,94,32,0.55);
    color: #fff;
}

.btn-hero-outline {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    font-size: 1rem;
    padding: 18px 48px;
    border-radius: var(--radius-full);
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
}
.btn-hero-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255,255,255,0.3);
}

/* ================================================================
   5. TOP BAR
   ================================================================ */
.top-bar {
    background: var(--grad-primary);
    color: rgba(255,255,255,0.92);
    font-size: 0.78rem;
    padding: 10px 0;
    font-family: var(--font-ui);
    font-weight: 500;
    letter-spacing: 0.5px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-info span {
    margin-right: 24px;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.contact-info span:hover { opacity: 1; }
.contact-info i { margin-right: 6px; }
.social-links a {
    color: rgba(255,255,255,0.8);
    margin-left: 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}
.social-links a:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.15);
}

/* ================================================================
   6. HEADER / NAVIGATION
   ================================================================ */
.main-header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 24px rgba(27,94,32,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.main-header.scrolled {
    box-shadow: 0 4px 32px rgba(27,94,32,0.14);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.brand-tagline {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}
.nav-links li a {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}
.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary);
    background: var(--green-100);
}
.nav-links li a::after {
    content:'';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}
.nav-links li a:hover::after, .nav-links li a.active::after { width: 60%; }
.cta-buttons { display: flex; gap: 12px; align-items: center; }
.mobile-menu-toggle {
    display: none;
    font-size: 1.4rem;
    color: var(--primary);
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    transition: var(--transition);
}
.mobile-menu-toggle:hover { background: var(--green-100); }

/* ================================================================
   7. HERO SECTION
   ================================================================ */
.hero {
    position: relative;
    height: 720px;
    background: #0a1a0a;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-hero);
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 85%;
    max-width: 1000px;
    z-index: 10;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.95);
    animation: fadeInDown 0.8s var(--ease-out) both;
}
.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.4);
    animation: fadeInUp 0.9s var(--ease-out) 0.2s both;
}
.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 42px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.92;
    line-height: 1.7;
    animation: fadeInUp 0.9s var(--ease-out) 0.4s both;
    font-weight: 400;
}
.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s var(--ease-out) 0.6s both;
}

/* Hero slider dots */
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.hero-dot.active {
    width: 28px;
    background: #fff;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 20;
    animation: float 2s ease-in-out infinite;
}
.hero-scroll span { writing-mode: vertical-rl; }
.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
}

/* ================================================================
   8. IMPACT / STATS BANNER
   ================================================================ */
.impact-banner {
    background: var(--grad-primary);
    color: #fff;
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.impact-banner::before {
    content: '';
    position: absolute;
    top: -80%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.impact-banner::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.impact-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
    position: relative;
    z-index: 2;
}
.impact-item {
    text-align: center;
    padding: 20px 32px;
    position: relative;
}
.impact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.2);
}
.impact-item h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.impact-item p {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
    font-family: var(--font-ui);
}

/* ================================================================
   9. SECTION STYLES
   ================================================================ */
.section { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-16) 0; }

.section-bg {
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface-3) 100%);
}
.section-dark {
    background: var(--earth-900);
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-12);
}
.section-label {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--green-500);
    background: var(--green-100);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--text-1);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
}
.section-title p {
    color: var(--text-3);
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}
.divider {
    width: 64px;
    height: 4px;
    background: var(--grad-primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ================================================================
   10. OBJECTIVE / FEATURE CARDS
   ================================================================ */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.objective-card {
    background: var(--surface);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.objective-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-300);
}
.objective-card:hover::before { transform: scaleX(1); }

.objective-card .icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}
.objective-card:hover .icon {
    background: var(--grad-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-sm);
}
.objective-card h3 {
    font-family: var(--font-ui);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 12px;
}
.objective-card p { color: var(--text-2); line-height: 1.7; font-size: 0.95rem; }

/* ================================================================
   11. AUTH FORMS (LOGIN / REGISTER)
   ================================================================ */
.auth-container {
    max-width: 500px;
    margin: 80px auto;
    padding: 48px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
}
.auth-container h2 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--primary);
    font-family: var(--font-display);
}
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-1);
    font-family: var(--font-ui);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E8EDE8;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background: #FAFCFA;
    transition: var(--transition);
    color: var(--text-1);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46,125,50,0.1);
    outline: none;
}

/* Split-screen layout */
.split-screen {
    display: flex;
    min-height: 100vh;
    width: 100%;
}
.split-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    color: #fff;
}
.split-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,94,32,0.85) 0%, rgba(0,0,0,0.2) 100%);
}
.split-quote { position: relative; z-index: 2; max-width: 80%; }
.split-quote p {
    font-size: 1.5rem;
    font-family: var(--font-display);
    line-height: 1.4;
    margin-bottom: 20px;
}
.split-form-container {
    flex: 0 0 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    background: #fff;
}
.split-form-content { width: 100%; max-width: 400px; }

/* Premium inputs */
.modern-form-group { margin-bottom: 24px; position: relative; }
.modern-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-1);
    font-family: var(--font-ui);
}
.modern-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E8EDE8;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: #FAFCFA;
}
.modern-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46,125,50,0.1);
    outline: none;
    transform: translateY(-1px);
}

/* premium-* reuse for login/contact pages */
.premium-input-group { margin-bottom: 24px; position: relative; }
.premium-label {
    display: block; margin-bottom: 8px; font-weight: 600;
    font-size: 0.875rem; color: var(--text-1); font-family: var(--font-ui);
}
.premium-input,
.premium-textarea,
.premium-select {
    width: 100%; padding: 14px 18px;
    border: 2px solid #E8EDE8;
    border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 1rem;
    background: #FAFCFA; transition: var(--transition);
    color: var(--text-1);
}
.premium-textarea { resize: vertical; min-height: 130px; }
.premium-input:focus,
.premium-textarea:focus,
.premium-select:focus {
    border-color: var(--primary); background: #fff;
    box-shadow: 0 0 0 4px rgba(46,125,50,0.1); outline: none;
    transform: translateY(-1px);
}
.premium-btn {
    width: 100%; padding: 16px;
    font-size: 1rem; font-weight: 700;
    border: none; border-radius: var(--radius-md);
    background: var(--grad-primary);
    color: #fff; cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
    font-family: var(--font-ui);
}
.premium-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--glow-green);
}

/* ================================================================
   12. FOOTER
   ================================================================ */
footer {
    background: linear-gradient(160deg, #0d2010 0%, #1a3a1d 50%, #01304a 100%);
    color: rgba(255,255,255,0.88);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-primary);
}
footer::after {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67,160,71,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
    padding-bottom: 60px;
    position: relative; z-index: 1;
}
.footer-col h3 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1rem;
    font-family: var(--font-ui);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 14px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 36px; height: 2px;
    background: var(--green-500);
    border-radius: 1px;
}
.footer-col p {
    color: rgba(255,255,255,0.72);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 0.9rem;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-col ul li a::before {
    content: '→';
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--transition);
}
.footer-col ul li a:hover {
    color: var(--green-300);
    transform: translateX(4px);
}
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }

.newsletter-form { display: flex; gap: 0; border-radius: var(--radius-md); overflow: hidden; }
.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.875rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}
.newsletter-form input:focus { background: rgba(255,255,255,0.14); border-color: var(--green-500); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form button {
    padding: 14px 20px;
    background: var(--green-700);
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}
.newsletter-form button:hover { background: var(--green-500); }

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative; z-index: 1;
}

/* ================================================================
   13. CONTACT PAGE
   ================================================================ */
.contact-hero, .page-hero {
    background: var(--grad-primary);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-hero::before, .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.contact-hero h1, .page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    position: relative;
}
.contact-hero p, .page-hero p {
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto;
    opacity: 0.9;
    position: relative;
}
.contact-wrapper {
    margin-top: -60px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}
.contact-info-panel {
    flex: 1;
    min-width: 300px;
    padding: 60px;
    background: var(--grad-primary);
    color: #fff;
}
.contact-form-panel {
    flex: 1.5;
    min-width: 300px;
    padding: 60px;
}
.info-item {
    display: flex;
    margin-bottom: 32px;
    align-items: flex-start;
}
.info-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    margin-right: 18px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ================================================================
   14. DASHBOARD LAYOUT
   ================================================================ */
:root { --dash-bg: #F0F7F0; --card-shadow: var(--shadow-md); }
.dashboard-layout { display: flex; min-height: 100vh; background: var(--dash-bg); }

.dash-sidebar {
    width: var(--sidebar-width);
    background: var(--surface);
    border-right: 1px solid var(--border);
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    box-shadow: 2px 0 16px rgba(27,94,32,0.06);
}
.sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
}
.sidebar-brand {
    font-family: var(--font-ui);
    font-size: 1.1rem; font-weight: 800;
    color: var(--primary);
    display: flex; align-items: center; gap: 10px;
}
.sidebar-menu { padding: 24px 16px; flex: 1; overflow-y: auto; }
.menu-category {
    font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--text-3);
    margin: 20px 0 8px 12px; font-weight: 700;
    font-family: var(--font-ui);
}
.sidebar-link {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    color: var(--text-2);
    border-radius: var(--radius-md);
    margin-bottom: 4px;
    font-weight: 600; font-size: 0.875rem;
    transition: var(--transition);
    font-family: var(--font-ui);
}
.sidebar-link i { width: 20px; text-align: center; font-size: 1rem; }
.sidebar-link:hover { background: var(--green-100); color: var(--primary); }
.sidebar-link.active {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}
.dash-main { flex: 1; display: flex; flex-direction: column; overflow-x: hidden; }
.dash-header {
    height: var(--header-height);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px;
    position: sticky; top: 0; z-index: 90;
    box-shadow: 0 2px 12px rgba(27,94,32,0.05);
}
.dash-content { padding: 32px; max-width: 1600px; width: 100%; margin: 0 auto; }

/* Stat Cards */
.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    display: flex; align-items: flex-start; justify-content: space-between;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-info h4 { font-size: 0.8rem; color: var(--text-3); margin-bottom: 8px; font-weight: 600; font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 1px; }
.stat-info h2 { font-size: 2rem; color: var(--text-1); font-weight: 800; font-family: var(--font-ui); }
.stat-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.icon-blue  { background: rgba(2,136,209,0.1); color: #0288D1; }
.icon-green { background: rgba(46,125,50,0.1); color: var(--primary); }
.icon-orange{ background: rgba(249,168,37,0.12); color: #F9A825; }
.icon-red   { background: rgba(229,57,53,0.1); color: #E53935; }

/* Dashboard Grid */
.dash-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: 28px; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-6  { grid-column: span 6; }
.col-8  { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.dash-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--border); }
.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.card-header h3 { font-size: 1rem; font-weight: 700; color: var(--text-1); font-family: var(--font-ui); }
.card-body { padding: 24px; }

/* Tables */
.table-responsive { overflow-x: auto; }
.custom-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.custom-table th {
    text-align: left; padding: 12px 16px;
    color: var(--text-3); font-weight: 600; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 1px;
    background: var(--surface-2);
    border-bottom: 2px solid var(--border);
    font-family: var(--font-ui);
}
.custom-table td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--surface-3);
    color: var(--text-2);
}
.custom-table tbody tr { transition: background 0.2s; }
.custom-table tbody tr:hover td { background: var(--green-100); }

/* Avatar / Profile */
.user-profile { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1rem;
}

/* Glass Receipt / Card */
.glass-receipt {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative; overflow: hidden;
}
.glass-receipt::before {
    content:''; position: absolute; top: 0; left: 0;
    width: 100%; height: 5px;
    background: var(--grad-primary);
}

/* ================================================================
   15. ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.fade-up { animation: fadeInUp 0.7s var(--ease-out) both; }

/* ================================================================
   16. UTILITY CLASSES
   ================================================================ */
.text-center { text-align: center; }
.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.badge {
    display: inline-flex; align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 700;
    font-family: var(--font-ui);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.badge-green { background: var(--green-100); color: var(--green-700); }
.badge-blue  { background: var(--blue-100);  color: var(--blue-900); }
.badge-gold  { background: var(--gold-light); color: #966900; }

/* ================================================================
   17. RESPONSIVE
   ================================================================ */
/* ================================================================
   17. EXPERT MOBILE OPTIMIZATION (APP-LIKE EXPERIENCE)
   ================================================================ */

/* Global Responsive Improvements */
@media (max-width: 1200px) {
    .dash-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .col-3, .col-4 { grid-column: span 1 !important; }
    .col-6, .col-8, .col-12 { grid-column: span 2 !important; }
}

@media (max-width: 992px) {
    .container { padding: 0 var(--space-6); }
    .split-screen { flex-direction: column; }
    .split-image { height: 40vh; min-height: 300px; display: flex !important; flex: none; width: 100%; border-radius: 0 0 32px 32px; }
    .split-form-container { padding: 40px 20px; }
    .contact-wrapper { flex-direction: column; }
    .contact-info-panel, .contact-form-panel { width: 100%; min-width: 100%; }
}

@media (max-width: 768px) {
    /* Type Scaling */
    :root {
        --header-height: 70px;
        --sidebar-width: 0px; /* Hide sidebar by default on mobile */
    }

    body { font-size: 15px; }

    h1 { font-size: clamp(2.2rem, 8vw, 3rem) !important; }
    h2 { font-size: clamp(1.8rem, 6vw, 2.2rem) !important; }
    
    .section { padding: var(--space-12) 0; }

    /* Navigation Transformation */
    .top-bar { display: none; }
    
    .logo img { height: 48px; }
    .brand-name { font-size: 1.2rem; }
    .brand-tagline { display: none; }

    .mobile-menu-toggle { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 1.2rem; z-index: 1001; }
    .cta-buttons { display: none; } /* Move to mobile menu */

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 40px;
        gap: 30px;
    }

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

    .nav-links li { width: 100%; text-align: center; }
    .nav-links li a { 
        font-size: 1.5rem; 
        padding: 15px; 
        display: block;
        border: none;
        background: transparent !important;
    }
    .nav-links li a.active { color: var(--primary); font-weight: 800; }

    /* Mobile Menu Injection (via CSS) - for CTA display in mobile menu */
    .nav-links::after {
        content: 'GET INVOLVED';
        display: block;
        margin-top: 20px;
        font-family: var(--font-ui);
        font-weight: 800;
        font-size: 0.75rem;
        letter-spacing: 2px;
        color: var(--text-3);
        opacity: 0.5;
    }

    /* Hero Optimization */
    .hero { height: 90vh; max-height: 700px; }
    .hero-content { width: 90%; }
    .hero-cta-group { flex-direction: column; gap: 15px; width: 100%; }
    .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; padding: 16px; }

    /* Dashboard Mobile Experience */
    .dashboard-layout { flex-direction: column; }
    
    .dash-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 280px;
        height: 100vh;
        transition: left 0.4s var(--ease-out);
        z-index: 200;
    }
    .dash-sidebar.active { left: 0; box-shadow: 20px 0 60px rgba(0,0,0,0.2); }

    .dash-header { padding: 0 20px; height: 64px; }
    .dash-header .user-profile span { display: none; }
    
    .dash-content { padding: 20px; }
    .dash-grid { grid-template-columns: 1fr !important; gap: 20px; }
    
    .stat-card { padding: 20px; }
    .stat-info h2 { font-size: 1.6rem; }

    /* Table Mobile Fix */
    .table-responsive {
        margin: 0 -20px;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
    }
    .custom-table th, .custom-table td { padding: 12px 10px; font-size: 0.85rem; }

    /* Floating CTA */
    #floatingDonateTab { transform: translateY(-50%) scale(0.85); right: -5px; }
    #donatePanel { width: 95vw; max-width: 380px; top: 0; right: 0; transform: none; border-radius: 0; height: 100vh; max-height: 100vh; padding: 30px 20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .impact-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .impact-item { padding: 10px; }
    .impact-item h2 { font-size: 1.8rem; }
    
    .program-card-full { border-radius: 20px; }
    .program-text { padding: 30px 20px; }
    
    .value-card { padding: 30px 20px; }
    
    .footer-content { text-align: center; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .newsletter-form { flex-direction: column; border-radius: 12px; }
    .newsletter-form button { width: 100%; }
}

/* ════ Text Justification & Content Expert Alignment ════ */
p, .card-body, .program-text p {
    text-align: left; /* Justify usually looks messy on narrow screens, left-align with good line-height is better */
    line-height: 1.6;
    word-break: break-word; /* Prevent overflow */
}

h1, h2, h3, .section-title h2 {
    text-wrap: balance; /* Modern CSS to prevent single-word widows */
}

/* Ensure no horizontal scroll ever */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ── Homepage Responsive Refinements ── */
.split-grid-about {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.responsive-h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 28px;
    color: var(--text-1);
    font-weight: 800;
}
.hero-subtext {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.9;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}
.parallax-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 24px;
}


@media (max-width: 992px) {
    .split-grid-about { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrap { transform: none !important; }
}

@media (max-width: 768px) {
    .parallax-title { font-size: 2.5rem; }
}