/* ====================== ROOT & GLOBAL RESET ====================== */
:root {
    --foundation-green: #7ed957;
    --foundation-purple: #3d07a8;
    --foundation-cream: #faf8f2;
    --text-dark: #1f2937;
    --text-gray: #374151;
    --text-light: #f3f4f6;
}

/* Global Reset - Very Important for Mobile */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--foundation-cream);
    color: var(--text-gray);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;           /* Prevents horizontal scroll */
}

/* ====================== CONTAINER SYSTEM ====================== */
.container.nav {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.85rem 1rem !important;     /* Very tight padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-sizing: border-box;
}

/* Tighter on mobile phones */
@media (max-width: 480px) {
    .container {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
}

@media (min-width: 641px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1025px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ====================== HEADER ====================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.container.nav {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-sizing: border-box;
}

/* Mobile - Very tight */
@media (max-width: 480px) {
    .container.nav {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
}

@media (min-width: 1025px) {
    .container.nav {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ====================== Logo ====================== */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    line-height: 1.1;
}

.full-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--foundation-purple);
    margin: 0;
    display: none;
}

.short-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--foundation-purple);
    margin: 0;
    display: block;
}

.logo-text small {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

/* Show full name only on very large screens */
@media (min-width: 1280px) {
    .full-name { display: block; }
    .short-name { display: none; }
    .logo img { width: 72px; height: 72px; }
}

/* ====================== Desktop Navigation ====================== */
.nav-links {
    display: none;
    align-items: center;
    gap: 1.6rem;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--foundation-green);
}

/* Donate Button */
.btn-nav {
    background-color: var(--foundation-green);
    color: var(--foundation-purple);
    padding: 0.85rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

/* ====================== Mobile Menu Button ====================== */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: var(--foundation-purple);
    cursor: pointer;
    z-index: 1010;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ====================== Mobile Menu ====================== */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    gap: 1.1rem;
}

.mobile-menu-content a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    color: #374151;
    text-decoration: none;
}

.mobile-donate-btn {
    background: var(--foundation-green);
    color: var(--foundation-purple);
    text-align: center;
    padding: 1rem;
    border-radius: 9999px;
    font-weight: 700;
    margin-top: 1rem;
}

/* ====================== DONATE HERO ====================== */
.hero-section.donate-hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--foundation-purple);
    overflow: hidden;
    padding-top: 80px;
}

.donate-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.donate-hero .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;              /* Keeps text readable */
    display: block;
}

.donate-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(61, 7, 168, 0.88) 0%,
        rgba(61, 7, 168, 0.78) 40%,
        rgba(61, 7, 168, 0.6) 70%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

.donate-hero .hero-content {
    position: relative;
    z-index: 10;                /* Content sits ABOVE everything */
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 2rem 1.25rem 7rem;
    box-sizing: border-box;
}

.donate-hero .hero-inner {
    max-width: 820px;
    margin: 0 auto;
    color: white;
    text-align: center;
}

/* Typography */
.donate-hero .hero-tag {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: rgba(126, 217, 87, 0.25);
    color: var(--foundation-green);
    border-radius: 9999px;
    font-weight: 700;
    margin-bottom: 1.8rem;
}

.donate-hero .hero-title {
    font-size: clamp(2.8rem, 9vw, 5.4rem);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 1.4rem;
}

.donate-hero .hero-highlight {
    color: var(--foundation-green);
}

.donate-hero .hero-desc {
    font-size: clamp(1.15rem, 4.8vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
}

/* Buttons */
.donate-hero .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 420px;
    margin: 0 auto;
}

.donate-hero .hero-btn-primary,
.donate-hero .hero-btn-secondary {
    padding: 1.35rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease;
}

.donate-hero .hero-btn-primary {
    background: var(--foundation-green);
    color: var(--foundation-purple);
}

.donate-hero .hero-btn-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(126, 217, 87, 0.45);
}

.donate-hero .hero-btn-secondary {
    border: 2px solid white;
    color: white;
}

.donate-hero .hero-btn-secondary:hover {
    background: white;
    color: var(--foundation-purple);
}

/* Desktop */
@media (min-width: 768px) {
    .donate-hero .hero-buttons {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }
    
    .donate-hero .hero-content {
        padding: 8rem 3rem 10rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .donate-hero {
        min-height: 95vh;
    }
    
    .donate-hero .hero-content {
        padding: 2rem 1rem 5rem;
    }
}

/* ====================== IMPACT / STATS SECTION ====================== */
.stats-section {
    padding: 6rem 0;
    background: white;
}

.stats-header {
    text-align: center;
    margin-bottom: 3.8rem;
}

.section-tag {
    display: inline-block;
    padding: 0.55rem 1.35rem;
    background: rgba(126, 217, 87, 0.15);
    color: var(--foundation-green);
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.stats-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    font-weight: 700;
    color: var(--foundation-purple);
    margin-bottom: 0.8rem;
}

.stats-desc {
    font-size: 1.15rem;
    color: #4b5563;
    max-width: 620px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.stats-card {
    background: var(--foundation-cream);
    padding: 2.6rem 1.8rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(126, 217, 87, 0.12);
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    border-color: var(--foundation-green);
}

.stats-number {
    font-size: clamp(2.2rem, 5.5vw, 2.9rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.9rem;
    color: var(--foundation-purple);
}

.stats-green {
    color: var(--foundation-green);
}

.stats-label {
    font-size: 1.08rem;
    color: #374151;
    font-weight: 500;
    line-height: 1.45;
}

/* Responsive */
@media (max-width: 480px) {
    .stats-section {
        padding: 4.5rem 0;
    }
    
    .stats-card {
        padding: 2.1rem 1.4rem;
    }
}

/* ====================== BANK ACCOUNTS + RECEIPT FORM ====================== */
.bank-accounts-section {
    padding: 6rem 0;
    background: white;
}

.bank-accounts-section .programs-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.programs-header .programs-tag {
    display: inline-block;
    padding: 0.55rem 1.35rem;
    background: rgba(126, 217, 87, 0.15);
    color: var(--foundation-green);
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.programs-header .programs-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    font-weight: 700;
    color: var(--foundation-purple);
    margin-bottom: 0.8rem;
}

.programs-header .programs-desc {
    font-size: 1.15rem;
    color: #4b5563;
    max-width: 620px;
    margin: 0 auto;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4.5rem;
}

.account-card {
    background: var(--foundation-cream);
    border-radius: 1.5rem;
    padding: 2.2rem;
    position: relative;
    border: 1px solid rgba(126, 217, 87, 0.2);
    transition: all 0.3s ease;
}

.account-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.currency-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.currency-badge.naira { background: #10b981; }
.currency-badge.dollar { background: #3b82f6; }
.currency-badge.pound { background: #8b5cf6; }
.currency-badge.euro { background: #f59e0b; }

.account-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    color: var(--foundation-purple);
    margin-bottom: 1.2rem;
}

.account-details p {
    margin-bottom: 0.8rem;
    color: #374151;
    line-height: 1.5;
}

.account-number {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.1rem;
}

.copy-btn {
    background: var(--foundation-green);
    color: var(--foundation-purple);
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #6bc947;
}

/* Receipt Form */
.receipt-form-wrapper {
    background: var(--foundation-cream);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.receipt-form-wrapper h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.9rem;
    color: var(--foundation-purple);
    margin-bottom: 0.6rem;
    text-align: center;
}

.receipt-note {
    text-align: center;
    color: #4b5563;
    margin-bottom: 2.5rem;
}

.receipt-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.receipt-form input,
.receipt-form select,
.receipt-form textarea {
    padding: 1rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 1.05rem;
    background: white;
    transition: all 0.3s ease;
}

.receipt-form input:focus,
.receipt-form select:focus,
.receipt-form textarea:focus {
    outline: none;
    border-color: var(--foundation-green);
    box-shadow: 0 0 0 3px rgba(126, 217, 87, 0.15);
}

.receipt-form button {
    margin-top: 0.8rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.15rem;
    align-self: center;
}

/* Responsive */
@media (max-width: 640px) {
    .bank-accounts-section {
        padding: 4.5rem 0;
    }
    
    .receipt-form-wrapper {
        padding: 2.2rem 1.5rem;
    }
}

/* ====================== PAYPAL SECTION ====================== */
.paypal-section {
    padding: 5.5rem 0;
    background: #f8f9fa;
}

.paypal-card {
    background: white;
    border-radius: 1.75rem;
    padding: 4rem 2.5rem;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 112, 186, 0.1);
}

.paypal-icon {
    font-size: 4rem;
    color: #003087;
    margin-bottom: 1.5rem;
}

.paypal-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.3rem;
    color: var(--foundation-purple);
    margin-bottom: 1rem;
}

.paypal-card p {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 2rem;
}

.paypal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0070ba;
    color: white;
    padding: 1.3rem 3rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 112, 186, 0.3);
}

.paypal-btn:hover {
    background: #005ea6;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 112, 186, 0.4);
}

.paypal-note {
    font-size: 0.95rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 640px) {
    .paypal-section {
        padding: 4rem 0;
    }
    
    .paypal-card {
        padding: 3rem 1.8rem;
    }
    
    .paypal-btn {
        width: 100%;
        padding: 1.25rem 2rem;
    }
}

/* ====================== TRUST & TRANSPARENCY ====================== */
.transparency-section {
    padding: 6rem 0;
    background: white;
}

.transparency-section .programs-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.trust-item {
    background: var(--foundation-cream);
    border-radius: 1.5rem;
    padding: 2.8rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(126, 217, 87, 0.12);
}

.trust-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: rgba(126, 217, 87, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.trust-icon i {
    font-size: 1.9rem;
    color: var(--foundation-green);
}

.trust-item h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    color: var(--foundation-purple);
    margin-bottom: 1rem;
}

.trust-item p {
    color: #4b5563;
    line-height: 1.65;
    font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 640px) {
    .transparency-section {
        padding: 4.5rem 0;
    }
    
    .trust-item {
        padding: 2.2rem 1.6rem;
    }
}

/* ====================== FINAL CTA SECTION ====================== */
.cta-section {
    padding: 7rem 0;
    background: var(--foundation-purple);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 780px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.2rem;
    line-height: 1.65;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-section .hero-btn-primary,
.cta-section .hero-btn-secondary {
    padding: 1.3rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 9999px;
    min-width: 240px;
    text-align: center;
    text-decoration: none;
}

.cta-section .hero-btn-primary {
    background: var(--foundation-green);
    color: var(--foundation-purple);
}

.cta-section .hero-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(126, 217, 87, 0.45);
}

.cta-section .hero-btn-secondary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.cta-section .hero-btn-secondary:hover {
    background: white;
    color: var(--foundation-purple);
}

.trust-line {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

.trust-line i {
    color: var(--foundation-green);
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 480px) {
    .cta-section {
        padding: 5rem 0;
    }
}

/* ====================== Footer ====================== */
.site-footer {
    background: #1f2937;
    color: #e5e7eb;
    padding-top: 4rem;
}

.footer-content {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.2fr;
    }
}

.footer-col h3 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.85rem;
}

.footer-col a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--foundation-green);
}

/* Logo Column */
.logo-col .footer-logo img {
    height: 180px;
    width: auto;
    border-radius: 0.75rem;
    margin-bottom: 0.2rem;
}

.footer-mission {
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 1.5rem;
    color: #9ca3af;
}

/* Social Links */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--foundation-green);
    color: var(--foundation-purple);
    transform: translateY(-3px);
}

/* Contact Info */
.contact-info i {
    width: 20px;
    color: var(--foundation-green);
    margin-right: 10px;
}

/* Bottom Bar */
.footer-bottom {
    background: #111827;
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: 0.95rem;
    color: #9ca3af;
}

.footer-bottom .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.made-with-love {
    color: var(--foundation-green);
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}