/* ===== CSS VARIABLES ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #8b5cf6;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background: var(--dark);
}

.code-font {
    font-family: 'JetBrains Mono', monospace;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    background:
        radial-gradient(ellipse 1000px 750px at 58% 28%, rgba(99,102,241,0.20) 0%, transparent 65%),
        radial-gradient(ellipse 600px 450px at 8% 82%, rgba(16,185,129,0.13) 0%, transparent 55%),
        radial-gradient(ellipse 450px 350px at 92% 65%, rgba(139,92,246,0.12) 0%, transparent 50%),
        linear-gradient(168deg, #02091a 0%, #060e1e 28%, #0a1628 58%, #080f22 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,102,241,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.045) 1px, transparent 1px);
    background-size: 55px 55px;
    z-index: 1;
    pointer-events: none;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.floating-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.code-line {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    white-space: nowrap;
    animation: float linear infinite;
}

.code-line:nth-child(1)  { top: 6%;  color: rgba(99,102,241,0.22); animation-duration: 22s; animation-delay: 0s; }
.code-line:nth-child(2)  { top: 14%; color: rgba(255,255,255,0.10); animation-duration: 28s; animation-delay: 3s; }
.code-line:nth-child(3)  { top: 22%; color: rgba(16,185,129,0.18); animation-duration: 19s; animation-delay: 7s; }
.code-line:nth-child(4)  { top: 31%; color: rgba(255,255,255,0.08); animation-duration: 33s; animation-delay: 1s; }
.code-line:nth-child(5)  { top: 40%; color: rgba(99,102,241,0.16); animation-duration: 24s; animation-delay: 11s; }
.code-line:nth-child(6)  { top: 50%; color: rgba(255,255,255,0.09); animation-duration: 30s; animation-delay: 5s; }
.code-line:nth-child(7)  { top: 58%; color: rgba(139,92,246,0.20); animation-duration: 20s; animation-delay: 14s; }
.code-line:nth-child(8)  { top: 66%; color: rgba(255,255,255,0.07); animation-duration: 26s; animation-delay: 2s; }
.code-line:nth-child(9)  { top: 75%; color: rgba(16,185,129,0.15); animation-duration: 35s; animation-delay: 9s; }
.code-line:nth-child(10) { top: 84%; color: rgba(99,102,241,0.18); animation-duration: 21s; animation-delay: 16s; }

@keyframes float {
    0%   { transform: translateX(-110%); }
    100% { transform: translateX(calc(100vw + 110%)); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text {
    border-right: 2px solid var(--white);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        border-color: var(--white);
    }
    51%, 100% {
        border-color: transparent;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== MISSION SECTION ===== */
.mission {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    color: var(--white);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.mission-points {
    margin-top: 2rem;
}

.point {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.point:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.point-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
}

.point-content h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.point-content p {
    color: var(--gray-light);
}

/* ===== CODE WINDOW ===== */
.mission-visual {
    display: flex;
    justify-content: center;
}

.code-window {
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 100%;
}

.window-header {
    background: var(--dark-light);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close {
    background: #ff5f56;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #27ca3f;
}

.window-title {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.code-content {
    padding: 1.5rem;
    background: var(--dark);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
}

/* ===== TECH SECTION ===== */
.tech-section {
    background: linear-gradient(135deg, var(--dark-light), var(--dark));
    color: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.tech-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.tech-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.tech-card p {
    color: var(--gray-light);
}

.tech-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-footer p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.tech-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.tech-link:hover {
    color: var(--white);
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    background: var(--dark);
    color: var(--white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.impact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.impact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.impact-header i {
    font-size: 1.5rem;
    color: var(--accent);
}

.impact-header h3 {
    color: var(--white);
    margin: 0;
}

.impact-body ul {
    list-style: none;
}

.impact-body li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    position: relative;
    padding-left: 1.5rem;
}

.impact-body li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* ===== DONATION SECTION ===== */
.donate-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.donate-left h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.donate-left p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.donation-impact {
    display: grid;
    gap: 1rem;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 80px;
}

.description {
    color: rgba(255, 255, 255, 0.9);
}

.donation-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xl);
}

.donation-card h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.donation-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
}

.amount-btn:hover,
.amount-btn.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: var(--accent);
}

.custom-amount {
    margin-bottom: 1.5rem;
    display: none;
}

.custom-amount.active {
    display: block;
}

.custom-amount input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 16px;
}

.custom-amount input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.donation-purpose {
    margin-bottom: 1.5rem;
}

.donation-purpose h4 {
    margin-bottom: 0.8rem;
    color: var(--white);
    font-size: 0.95rem;
}

.purpose-select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
}

.purpose-select option {
    background: var(--dark);
    color: var(--white);
}

.payment-methods h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 0.95rem;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
}

.payment-btn:hover,
.payment-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

.mobile-money-options {
    display: none;
    margin-bottom: 1.5rem;
}

.mobile-money-options.active {
    display: block;
}

.mobile-money-options h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 0.95rem;
}

.mobile-providers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.provider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
}

.provider-btn:hover,
.provider-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

.provider-logo {
    font-size: 1.2rem;
}

.phone-input-section {
    display: none;
    margin-top: 1rem;
}

.phone-input-section.active {
    display: block;
}

.phone-input-section label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

.phone-input-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.country-code {
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-input-container input {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 16px;
    outline: none;
}

.phone-input-container input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.phone-help {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.donor-info {
    display: none;
    margin-bottom: 1.5rem;
}

.donor-info.active {
    display: block;
}

.donor-info h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 0.95rem;
}

.donor-fields {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.donor-fields input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
}

.donor-fields input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.donor-options {
    display: grid;
    gap: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.donate-btn {
    width: 100%;
    margin-bottom: 1rem;
    font-size: 16px;
    padding: 14px;
    position: relative;
    overflow: hidden;
}

.donate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.donate-btn:disabled:hover {
    transform: none !important;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.trust-item i {
    color: var(--secondary);
    font-size: 1rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--dark-light);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-light);
}

.contact-item i {
    color: var(--accent);
    width: 20px;
}

.ways-to-help h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.ways-to-help ul {
    list-style: none;
}

.ways-to-help li {
    margin-bottom: 0.5rem;
    color: var(--gray-light);
    padding-left: 1.2rem;
    position: relative;
}

.ways-to-help li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
}

.contact-form h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.form {
    display: grid;
    gap: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-left p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--gray-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mission-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .donate-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 3rem 0;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .btn {
        min-width: 200px;
        justify-content: center;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-card {
        padding: 1.5rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .impact-card {
        padding: 1.5rem;
    }

    .point {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .point-icon {
        align-self: center;
    }

    .mission-points {
        gap: 1rem;
    }

    .code-window {
        max-width: 100%;
        margin: 0 1rem;
    }

    .code-content {
        font-size: 0.75rem;
        padding: 1rem;
    }

    .donation-impact {
        gap: 0.8rem;
    }

    .impact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .amount {
        min-width: auto;
        font-size: 1.1rem;
    }

    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .payment-options {
        gap: 0.8rem;
    }

    .hero-title {
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .gradient-text {
        display: block;
        margin: 0.2rem 0;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 14px;
        margin-bottom: 1.5rem;
        margin-top: 3rem;
    }

    .donation-card {
        margin: 0 0.5rem;
        padding: 1.5rem;
    }

    .mobile-providers {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .nav-container {
        padding: 0 12px;
    }

    .hero-content {
        padding: 0 12px;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat {
        min-width: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .amount-buttons {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .payment-options {
        gap: 0.6rem;
    }

    .point {
        margin-bottom: 1rem;
    }

    .tech-card, .impact-card {
        padding: 1.2rem;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 1.5rem;
        margin-top: 4rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .footer-links {
        gap: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .mobile-providers {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .trust-item {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 180px;
    }

    .donation-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .amount-btn, .payment-btn {
        padding: 10px;
        font-size: 14px;
    }

    .hero-badge {
        margin-top: 5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease forwards;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* ===== PAYMENT DETAILS CARD ===== */
.payment-details-card {
    display: none;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.25s ease;
}

.payment-details-card.active {
    display: block;
}

.pdc-header {
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pdc-badge {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.01em;
}

.pdc-rows {
    display: grid;
    gap: 0;
    margin-bottom: 1rem;
}

.pdc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pdc-row:last-child {
    border-bottom: none;
}

.pdc-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    min-width: 110px;
    flex-shrink: 0;
}

.pdc-value-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdc-value {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 600;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px 9px;
    font-size: 0.72rem;
    transition: var(--transition-fast);
    line-height: 1;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--accent);
    border-color: var(--accent);
}

.copy-btn.copied {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.pdc-note {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    line-height: 1.5;
}

.pdc-note i {
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.pdc-note strong {
    color: var(--accent);
}

/* ===== FUNDS TRANSPARENCY ===== */
.funds-transparency {
    margin-bottom: 1.2rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.transparency-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.funds-bar {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    height: 7px;
    margin-bottom: 0.6rem;
    gap: 2px;
}

.funds-bar-segment {
    border-radius: 3px;
}

.funds-breakdown {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.funds-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
}

.funds-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== IMPROVED MOBILE RESPONSIVENESS ===== */
@media (max-width: 480px) {
    .pdc-row {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .pdc-label {
        min-width: auto;
        width: 100%;
    }

    .pdc-value-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .pdc-value {
        font-size: 0.95rem;
    }

    .funds-breakdown {
        gap: 0.8rem;
    }

    .payment-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .payment-btn {
        flex-direction: column;
        gap: 0.3rem;
        font-size: 12px;
        padding: 10px 6px;
        text-align: center;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem 2rem;
        justify-items: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .donation-card {
        padding: 1.2rem;
    }

    .pdc-note {
        font-size: 0.76rem;
    }
}

@media (max-width: 375px) {
    .payment-options {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1.5rem;
    }
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #25D366, #1ab859);
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 0.75rem;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #1ebe59, #128C7E);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

.whatsapp-btn i {
    font-size: 1.15rem;
}

/* ===== PAYMENT LOGOS ===== */
.payment-logo {
    width: 44px;
    height: 30px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.payment-btn {
    flex-direction: column;
    gap: 0.4rem;
}

/* ===== HONEST STAT DISPLAY ===== */
.stat-fixed {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.4rem;
    line-height: 1;
}

.stat-icon {
    display: block;
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
    line-height: 1;
}

/* ===== FOUNDER CALLOUT ===== */
.founder-callout {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    padding: 1.2rem 1.4rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
    font-style: italic;
    line-height: 1.7;
}

.founder-callout strong {
    color: var(--accent);
    font-style: normal;
}

/* ===== AMOUNT WITH UGX ===== */
.amount-dual {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 100px;
}

.amount-usd {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
}

.amount-ugx {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

/* Make impact items use the dual amount display */
.impact-item .amount {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}