/* static/css/donation.css - Light Theme with White & Blue */

:root {
    /* Blue Color Palette */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-darker: #1e40af;
    
    /* Secondary Blues */
    --secondary: #0ea5e9;
    --secondary-light: #38bdf8;
    --secondary-dark: #0284c7;
    
    /* Accent */
    --accent: #6366f1;
    --accent-light: #818cf8;
    
    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-blue-light: #eff6ff;
    --bg-blue-lighter: #f0f9ff;
    
    /* Text Colors */
    --text-dark: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Borders */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-blue: #bfdbfe;
    
    /* Status Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --gradient-light: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --gradient-soft: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-blue: 0 10px 40px rgba(37, 99, 235, 0.2);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== NAVBAR ==================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand i {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--bg-blue-light);
}

.nav-links a.active {
    color: var(--primary);
    background: var(--bg-blue-light);
    font-weight: 600;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 60px;
    gap: 60px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-soft);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 140%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-blue-light);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid var(--border-blue);
}

.hero-badge i {
    color: #ef4444;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 36px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-blue);
    color: white;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-blue);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.35);
}

.cta-button.large {
    padding: 20px 50px;
    font-size: 1.2rem;
    border-radius: 14px;
}

.hero-visual {
    flex: 1;
    max-width: 520px;
    position: relative;
    z-index: 1;
}

.code-window {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.window-header {
    background: var(--bg-gray);
    padding: 14px 18px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca40; }

.code-content {
    padding: 24px;
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    background: var(--text-dark);
    color: #e2e8f0;
}

.code-content .keyword { color: #c084fc; }
.code-content .function { color: #60a5fa; }
.code-content .string { color: #4ade80; }
.code-content .boolean { color: #fb923c; }

/* ==================== WHY DONATE SECTION ==================== */
.why-donate {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.15rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.reason-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-blue);
}

.reason-card:hover::before {
    opacity: 1;
}

.reason-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-blue-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.reason-card:hover .reason-icon {
    background: var(--gradient-blue);
    color: white;
}

.reason-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.reason-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.cost-tag {
    display: inline-block;
    background: var(--bg-blue-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==================== DONATION SECTION ==================== */
.donation-section {
    padding: 100px 0;
    background: var(--bg-gray);
}

.donation-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.tier-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.tier-card:hover,
.tier-card.selected {
    border-color: var(--primary);
    box-shadow: var(--shadow-blue);
    transform: translateY(-8px);
}

.tier-card.featured {
    border-color: var(--secondary);
    background: linear-gradient(180deg, var(--bg-blue-lighter) 0%, var(--bg-white) 100%);
}

.tier-card.featured:hover {
    border-color: var(--primary);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-blue);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.tier-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.tier-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.tier-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}

.tier-benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.tier-benefits li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
}

.tier-benefits li:last-child {
    border-bottom: none;
}

.tier-benefits i {
    color: var(--success);
    margin-right: 10px;
}

.tier-btn {
    width: 100%;
    padding: 14px;
    background: var(--bg-blue-light);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tier-btn:hover {
    background: var(--primary);
    color: white;
}

/* ==================== DONATION FORM ==================== */
.donation-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 36px;
}

.form-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-header p {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-header p::before {
    content: '🔒';
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.amount-input-wrapper {
    position: relative;
}

.currency-symbol {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.4rem;
    font-weight: 600;
}

.amount-input-wrapper input {
    padding-left: 40px;
    font-size: 1.75rem;
    font-weight: 800;
    text-align: center;
}

.quick-amounts {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.quick-amount {
    padding: 10px 18px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    color: var(--text-secondary);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.quick-amount:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-blue-light);
}

.quick-amount.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ==================== PAYPAL BUTTONS ==================== */
#paypal-button-container {
    margin-top: 24px;
}

.or-divider {
    text-align: center;
    color: var(--text-muted);
    margin: 28px 0;
    position: relative;
}

.or-divider::before,
.or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-light);
}

.or-divider::before { left: 0; }
.or-divider::after { right: 0; }

.or-divider span {
    background: var(--bg-white);
    padding: 0 16px;
    font-size: 0.9rem;
}

.paypal-donate-btn {
    width: 100%;
    padding: 16px;
    background: #0070ba;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.paypal-donate-btn:hover {
    background: #005ea6;
    transform: translateY(-2px);
}

/* ==================== OTHER PAYMENT METHODS ==================== */
.other-methods {
    text-align: center;
    margin-top: 80px;
}

.other-methods h3 {
    margin-bottom: 32px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.methods-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 32px;
    background: var(--bg-white);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--border-light);
    min-width: 140px;
}

.method-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.method-card i {
    font-size: 2rem;
    color: var(--primary);
}

.method-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ==================== TRANSPARENCY SECTION ==================== */
.transparency {
    padding: 100px 0;
    background: var(--bg-white);
}

.expense-breakdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.chart-container {
    width: 280px;
    height: 280px;
}

.expense-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.expense-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.expense-color {
    width: 18px;
    height: 18px;
    border-radius: 6px;
}

.expense-info {
    display: flex;
    justify-content: space-between;
    width: 260px;
}

.expense-name {
    font-weight: 500;
    color: var(--text-primary);
}

.expense-percent {
    font-weight: 700;
    color: var(--primary);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-gray);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: block;
    opacity: 0.5;
}

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid var(--bg-blue-light);
}

.testimonial-author strong {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==================== RECENT DONATIONS ==================== */
.recent-donations {
    padding: 100px 0;
    background: var(--bg-white);
}

.donations-feed {
    max-width: 650px;
    margin: 0 auto;
}

.donation-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--bg-light);
    border-radius: 16px;
    margin-bottom: 12px;
    animation: slideIn 0.5s ease;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.donation-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border-blue);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.donor-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.donor-info {
    flex: 1;
}

.donor-info strong {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
}

.donor-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.donation-amount {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--success);
    background: var(--success-light);
    padding: 8px 16px;
    border-radius: 10px;
}

/* ==================== FAQ ==================== */
.faq {
    padding: 100px 0;
    background: var(--bg-gray);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-white);
}

.faq-question {
    width: 100%;
    padding: 22px 24px;
    background: var(--bg-white);
    border: none;
    color: var(--text-dark);
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-question {
    background: var(--bg-blue-light);
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 20px 24px;
    color: var(--text-secondary);
    background: var(--bg-light);
    line-height: 1.7;
    border-top: 1px solid var(--border-light);
}

/* ==================== FOOTER CTA ==================== */
.footer-cta {
    padding: 100px 0;
    text-align: center;
    background: var(--gradient-blue);
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-cta h2 {
    font-size: 2.75rem;
    margin-bottom: 16px;
    color: white;
    font-weight: 800;
}

.footer-cta p {
    font-size: 1.25rem;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-cta .cta-button {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.footer-cta .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 80px 0 30px;
    background: var(--text-dark);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand h3 i {
    color: var(--primary-light);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    margin-bottom: 24px;
    color: white;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom i {
    color: #ef4444;
}

/* ==================== MODALS ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-dark);
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.crypto-addresses {
    margin-top: 24px;
}

.crypto-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: var(--bg-light);
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
}

.crypto-item i {
    font-size: 1.75rem;
    color: var(--primary);
}

.crypto-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.crypto-item code {
    flex: 1;
    font-size: 0.75rem;
    word-break: break-all;
    color: var(--text-muted);
    font-family: 'Fira Code', monospace;
}

.crypto-item button {
    background: var(--primary);
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.crypto-item button:hover {
    background: var(--primary-dark);
}

/* ==================== SUCCESS MODAL ==================== */
.success-modal {
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 24px;
}

.success-modal h3 {
    text-align: center;
}

.success-modal #donatedAmount {
    color: var(--primary);
    font-weight: 800;
}

.success-message {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* ==================== FLOATING HEARTS ==================== */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1500;
}

.heart {
    position: absolute;
    bottom: -50px;
    font-size: 2rem;
    animation: floatUp 3s ease-out forwards;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0.5) rotate(20deg);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 32px;
    }
    
    .stat-number {
        font-size: 2rem;
    }

    .hero-visual {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }

    .social-links {
        justify-content: center;
    }

    .donation-tiers {
        grid-template-columns: 1fr;
    }
    
    .donation-form-container {
        padding: 32px 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .expense-breakdown {
        gap: 40px;
    }
    
    .expense-info {
        width: 200px;
    }
    
    .methods-grid {
        gap: 12px;
    }
    
    .method-card {
        padding: 18px 24px;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .quick-amounts {
        justify-content: center;
    }
    
    .tier-amount {
        font-size: 2rem;
    }
    
    .footer-cta h2 {
        font-size: 2rem;
    }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==================== SELECTION ==================== */
::selection {
    background: var(--primary);
    color: white;
}

/* ==================== LOADING STATE ==================== */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== PROGRESS BAR (for goals) ==================== */
.goal-progress {
    background: var(--bg-light);
    border-radius: 10px;
    height: 16px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid var(--border-light);
}

.goal-progress-bar {
    height: 100%;
    background: var(--gradient-blue);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
}

.goal-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==================== TOOLTIP ==================== */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ==================== NOTIFICATION BADGE ==================== */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* ==================== PULSE ANIMATION ==================== */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}


/* ==================== UPI SECTION STYLES ==================== */

.upi-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-blue-light) 100%);
    position: relative;
    overflow: hidden;
}

.upi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff9933, #ffffff, #138808);
}

.upi-header {
    text-align: center;
    margin-bottom: 50px;
}

.india-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff9933 0%, #138808 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.india-badge .flag {
    font-size: 1.5rem;
}

.upi-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* QR Code Container */
.upi-qr-container {
    position: sticky;
    top: 100px;
}

.qr-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    text-align: center;
}

.qr-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.qr-header i {
    font-size: 1.5rem;
}

.qr-code-wrapper {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 3px solid var(--primary);
    display: inline-block;
    margin-bottom: 24px;
    position: relative;
}

.qr-code-wrapper::before {
    content: 'UPI';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.qr-image {
    width: 220px;
    height: 220px;
    display: block;
}

.qr-amount-selector {
    margin-bottom: 20px;
}

.qr-amount-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.upi-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 12px;
}

.upi-amount-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-light);
    background: var(--bg-light);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.upi-amount-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.upi-amount-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.custom-upi-amount {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 180px;
    margin: 0 auto;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: 0 12px;
}

.custom-upi-amount:focus-within {
    border-color: var(--primary);
}

.rupee-symbol {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

.custom-upi-amount input {
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    outline: none;
    color: var(--text-primary);
}

.qr-instruction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 10px;
}

.qr-instruction i {
    color: var(--primary);
}

/* UPI Details Container */
.upi-details-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* UPI ID Card */
.upi-id-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.upi-id-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.upi-id-card h3 i {
    color: var(--primary);
}

.upi-id-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--bg-blue-light) 0%, var(--bg-light) 100%);
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px dashed var(--border-blue);
}

.upi-id-display code {
    flex: 1;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Fira Code', monospace;
    letter-spacing: 1px;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.copy-btn.copied {
    background: var(--success);
}

.upi-hint {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* UPI Apps Card */
.upi-apps-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.upi-apps-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.upi-apps-card h3 i {
    color: var(--primary);
}

.apps-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.upi-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.upi-app-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upi-app-btn:hover {
    border-color: var(--primary);
    background: var(--bg-blue-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.upi-app-btn img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.upi-app-btn.generic {
    background: var(--gradient-blue);
    color: white;
    border-color: transparent;
}

.upi-app-btn.generic:hover {
    opacity: 0.9;
}

.upi-app-btn.generic i {
    font-size: 2rem;
}

/* Bank Transfer Card */
.bank-transfer-card {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.bank-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    transition: background 0.3s ease;
}

.bank-toggle:hover {
    background: var(--bg-light);
}

.bank-toggle i:first-child {
    color: var(--primary);
    font-size: 1.2rem;
}

.bank-toggle span {
    flex: 1;
    text-align: left;
}

.toggle-icon {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.bank-transfer-card.active .toggle-icon {
    transform: rotate(180deg);
}

.bank-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.bank-transfer-card.active .bank-details {
    max-height: 400px;
}

.bank-info-grid {
    padding: 0 28px 28px;
    display: grid;
    gap: 16px;
}

.bank-info-item {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.bank-info-item label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.bank-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bank-value span {
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Fira Code', monospace;
}

.bank-value button {
    padding: 8px 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.bank-value button:hover {
    background: var(--primary-dark);
}

/* UPI Benefits */
.upi-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 50px;
    padding: 32px;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

.benefit-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-blue-light);
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.1rem;
}

/* UPI Confirm Section */
.upi-confirm-section {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.confirm-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.confirm-payment-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.confirm-payment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* UPI Confirm Modal */
.upi-confirm-modal {
    max-width: 500px;
}

.upi-confirm-modal .modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.upi-confirm-modal .modal-header i {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 16px;
}

.upi-confirm-modal .modal-header h3 {
    margin: 0;
}

.upi-confirm-modal .form-group {
    margin-bottom: 20px;
}

.upi-confirm-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.upi-confirm-modal .form-group input,
.upi-confirm-modal .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.upi-confirm-modal .form-group input:focus,
.upi-confirm-modal .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.upi-confirm-modal .form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.submit-confirm-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* Responsive */
@media (max-width: 900px) {
    .upi-content {
        grid-template-columns: 1fr;
    }
    
    .upi-qr-container {
        position: relative;
        top: 0;
    }
    
    .qr-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .upi-apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .upi-benefits {
        gap: 20px;
        padding: 24px;
    }
    
    .benefit-item {
        flex-basis: calc(50% - 10px);
        justify-content: center;
    }
    
    .upi-id-display {
        flex-direction: column;
        text-align: center;
    }
    
    .upi-id-display code {
        font-size: 1.1rem;
    }
}


/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-dark);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-notification i {
    color: var(--success);
    font-size: 1.2rem;
}