:root {
    /* --primary-color: #3d5a80; */
    --primary-color: #6b46c1;
    --secondary-color: #ee6c4d;
    --accent-color: #98c1d9;
    --light-color: #e0fbfc;
    --dark-color: #293241;
    --grey-color: #f4f4f4;
    --footer-color: #1c2533;
    --success-color: #28a745;
    --error-color: #dc3545;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Animated Background Text */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.give-text {
    position: absolute;
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    animation: slideAcross 20s linear infinite;
}

.give-text:nth-child(1) {
    top: 10%;
    animation-delay: 0s;
}

.give-text:nth-child(2) {
    top: 40%;
    animation-delay: -7s;
    animation-direction: reverse;
}

.give-text:nth-child(3) {
    top: 70%;
    animation-delay: -14s;
}

@keyframes slideAcross {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100vw);
    }
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);        
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

/* .logo img {
    max-width: 100%;
    height: 60px;
    align-items: center;
} */

.logo img {
    height: 50px;
    max-width: 100%;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a.active {
    color: #7C3AED;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #7C3AED;
}

/* .social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
} */

.hamburger {
    display: none;
    cursor: pointer;
    width: 25px;
    height: 20px;
    position: relative;
    transition: all 0.3s ease;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    position: absolute;
    left: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* Positioning the lines */
.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

/* Transform hamburger to X when active */
.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 4rem 0;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #333, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* Donation Sections */
.donation-section {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.donation-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #7C3AED;
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

.account-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #7C3AED;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.account-type {
    font-size: 1.2rem;
    font-weight: 600;
    color: #7C3AED;
    margin-bottom: 1rem;
}

.account-details {
    display: grid;
    gap: 0.5rem;
}

.account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.account-row:last-child {
    border-bottom: none;
}

.account-label {
    font-weight: 600;
    color: #555;
}

.account-value {
    font-family: 'Courier New', monospace;
    background: #e9ecef;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Transfer Options */
.transfer-options {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
}

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

.transfer-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

.transfer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.transfer-details {
    font-size: 0.95rem;
    opacity: 0.9;
}

.flutterwave-link {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.flutterwave-link:hover {
    background: #e55a2b;
}

/* Footer */
.footer {
    background: var(--footer-color);
    color: #eee;
    padding: 4rem 3rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p,
.footer-section li {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.3rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Lazy Loading Animation */
.lazy-load {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.lazy-load.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* @media (min-width:770px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
} */


@media (min-width: 1200px) {
    nav {
        max-width: none; 
        margin: 0; 
        padding-left: 2rem; 
        padding-right: 4rem; 
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 89px; 
        right: 0; 
        background-color: whitesmoke;
        width: 300px; 
        height: 375px;
        padding: 2rem 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        transform-origin: top right; 
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        z-index: 999;
        font-size: large;
    }
    
    .nav-links.show {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .nav-links a {
        padding: 0.5rem 1rem;
        border-radius: 6px;
        transition: background-color 0.3s ease;
    }
    
    .nav-links a:hover {
        color: #7C3AED;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .donation-section {
        padding: 2rem 1rem;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .give-text {
        font-size: 8rem;
    }
}

@media (max-width: 420px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}
