/* 
    Golden Heart - Ultra-Premium White-Dominant Redesign 
    Focus: High contrast, pristine whitespace, subtle glassmorphism, emotional typography.
*/

:root {
    /* Brand Colors - Used sparsely for maximum impact */
    --color-primary: #0a1120;      /* Deep Midnight Navy */
    --color-accent: #b91c1c;       /* Humanitarian Urgent Red */
    --color-accent-hover: #9c1212;
    --color-gold: #ffc107;         /* Hope/Action accent */
    
    /* True Whites & Grays */
    --color-bg: #FFFFFF;
    --color-surface: #FCFCFD;      /* Extremely subtle off-white for cards */
    --color-surface-hover: #F9FAFB;
    --color-border: #E5E7EB;
    
    /* Text Hierarchy */
    --color-text-dark: #111827;    /* Near black for maximum legibility */
    --color-text-muted: #4B5563;   /* Slate for secondary text */
    --color-text-light: #9CA3AF;
    
    /* Typography */
    /* Using Inter for body, Outfit for modern crisp headings */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing & Rhythm */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 64px;
    --space-2xl: 120px;
    
    /* Shadows - Premium, soft, defused */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.03), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    
    /* Animation */
    --transition-snappy: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   Base & Reset
   ========================================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

p { margin-bottom: var(--space-md); color: var(--color-text-muted); }

a { transition: all var(--transition-snappy); text-decoration: none; color: inherit; }

img, svg { max-width: 100%; height: auto; display: block; }
.img-responsive { width: 100%; height: auto; object-fit: cover; }

/* =========================================================================
   Utility Layouts
   ========================================================================= */
.container {
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.container-narrow { max-width: 900px; }

.section-padding { padding: var(--space-xl) 0; }
@media (min-width: 768px) { .section-padding { padding: var(--space-2xl) 0; } }

.bg-white { background-color: var(--color-bg); }
.bg-surface { background-color: var(--color-surface); }
.bg-navy { background-color: var(--color-primary); color: white; }
.bg-navy h2, .bg-navy h3, .bg-navy p { color: white; }
.bg-navy p { opacity: 0.8; }

.text-center { text-align: center; }
.align-center { align-items: center; }

/* Premium Grids */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 40px; }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Video Section Responsive Grid */
.video-section-container {
    border-top: 1px solid var(--color-border); 
    padding-top: 48px; 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 40px;
}

@media (min-width: 1024px) {
    .video-section-container {
        grid-template-columns: 350px 1fr;
        gap: 64px;
    }
}

/* Trust Metrics Responsive Grid */
.trust-metrics {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 12px; 
    overflow: hidden; 
    margin-top: 40px;
}

@media (min-width: 768px) {
    .trust-metrics {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Impact Content Padding */
.impact-content-box {
    padding: 32px;
}

@media (min-width: 768px) {
    .impact-content-box {
        padding: 64px;
    }
}

/* =========================================================================
   Buttons (Highly tactile and conversion-optimized)
   ========================================================================= */
.btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 14px 28px;
    font-family: var(--font-body); font-weight: 600;
    border-radius: 8px; cursor: pointer; border: none; font-size: 1rem;
    transition: all var(--transition-smooth);
    letter-spacing: 0.02em;
}

.btn-large { padding: 18px 40px; font-size: 1.125rem; font-weight: 700; }
.btn-full { width: 100%; }

/* The Primary Donate Button */
.btn-primary { 
    background: var(--color-accent); color: white; 
    box-shadow: 0 4px 14px rgba(196, 24, 24, 0.2);
}
.btn-primary:hover { 
    background: var(--color-accent-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(196, 24, 24, 0.3); 
}

/* Secondary Actions */
.btn-secondary { background: var(--color-primary); color: white; }
.btn-secondary:hover { background: #000; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }

/* Outline Actions */
.btn-outline { background: transparent; border: 2px solid white; color: white; backdrop-filter: blur(4px); }
.btn-outline:hover { background: white; color: var(--color-primary); }

.btn-outline-dark { background: transparent; border: 2px solid var(--color-border); color: var(--color-primary); }
.btn-outline-dark:hover { border-color: var(--color-primary); background: var(--color-primary); color: white; }

/* Micro CTA in Header */
.btn-donate { 
    background: var(--color-accent); color: white; 
    padding: 8px 18px; font-size: 0.85rem; text-transform: uppercase; 
    letter-spacing: 0.05em; font-weight: 800; border-radius: 30px; 
}
.btn-donate:hover { background: var(--color-accent-hover); box-shadow: 0 4px 14px rgba(196, 24, 24, 0.2); }

/* =========================================================================
   Header & Navigation
   ========================================================================= */
.global-header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
    transition: all var(--transition-smooth);
}

.header-container {
    height: 70px; display: flex; justify-content: space-between; align-items: center;
}

.logo a {
    display: flex; align-items: center;
    font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem;
    color: var(--color-primary); letter-spacing: -0.03em;
}

.brand-icon { width: 28px; color: var(--color-accent); margin-right: 10px; }
.brand-accent { color: var(--color-accent); }

/* Nav Links */
.main-nav { display: flex; align-items: center; gap: 40px; }
.nav-list { list-style: none; display: flex; gap: 32px; }
.nav-list a { font-weight: 600; color: var(--color-text-muted); font-size: 0.95rem; }
.nav-list a:hover { color: var(--color-primary); }

.mobile-nav-toggle { display: none; }

@media (max-width: 1023px) {
    .mobile-nav-toggle { display: block; background: none; border: none; padding: 8px; cursor: pointer; }
    .hamburger { display: block; width: 24px; height: 2px; background: var(--color-primary); position: relative; }
    .hamburger::before, .hamburger::after { content: ''; position: absolute; width: 24px; height: 2px; background: var(--color-primary); left: 0; }
    .hamburger::before { top: -8px; } .hamburger::after { bottom: -8px; }
    
    .main-nav {
        position: fixed; top: 80px; left: 0; right: 0; background: var(--glass-bg); backdrop-filter: blur(12px);
        flex-direction: column; padding: 40px; border-bottom: 1px solid var(--color-border);
        transform: translateY(-150%); transition: transform var(--transition-smooth); z-index: 99;
    }
    .main-nav.active { transform: translateY(0); box-shadow: var(--shadow-xl); }
    .nav-list { flex-direction: column; width: 100%; text-align: center; }
    .nav-actions { width: 100%; text-align: center; margin-top: 30px; }
}

/* =========================================================================
   UI Components (Cards, Sections)
   ========================================================================= */

/* Typography Utils */
.section-badge {
    display: inline-block; padding: 6px 16px;
    background: var(--color-surface); color: var(--color-accent); border: 1px solid var(--color-border);
    border-radius: 30px; font-weight: 700; text-transform: uppercase;
    font-size: 0.75rem; letter-spacing: 0.08em; margin-bottom: 24px;
}

.section-title { font-size: 2.5rem; margin-bottom: 20px; color: var(--color-primary); }
@media (min-width: 768px) { .section-title { font-size: 3.5rem; } }

.section-subtitle { font-size: 1.25rem; color: var(--color-text-muted); max-width: 700px; margin: 0 auto 48px; line-height: 1.6; }

/* Premium Cards */
.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,0,0,0.1);
}

/* Page Headers (For the 8 internal pages) */
.page-header {
    padding: 100px 0 60px;
    text-align: center;
    background: linear-gradient(to bottom, var(--color-surface), white);
    border-bottom: 1px solid var(--color-border);
}
.page-header h1 { font-size: 3.5rem; margin-bottom: 20px; }
.page-header p { font-size: 1.25rem; max-width: 800px; margin: 0 auto; }

/* =========================================================================
   Specific Pages & Modules
   ========================================================================= */

/* 1. Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex; align-items: center; justify-content: flex-start;
    overflow: hidden; text-align: left;
}
.hero-bg-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center; z-index: 1;
}
.hero-bg-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(10,17,32,0.95) 0%, rgba(10,17,32,0.6) 40%, rgba(10,17,32,0.1) 100%);
    z-index: 2;
}
.hero-content-container { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; height: 100%; padding-left: 5%; }

.hero-content { max-width: 700px; color: white; padding-top: 40px; }
.hero-content h1 { font-size: 3.5rem; color: white; margin-bottom: 24px; text-shadow: 0 4px 12px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.35rem; color: rgba(255, 255, 255, 0.95); margin-bottom: 40px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-start; }

@media (min-width: 768px) {
    .hero-content h1 { font-size: 5rem; line-height: 1.05; }
    .hero-content p { font-size: 1.5rem; }
}

/* 2. Glassmorphic Donation Strip */
.donation-strip {
    position: relative; z-index: 10;
    margin-top: -60px; /* Overlap hero */
    padding: 0 20px;
}
.donation-strip-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    padding: 40px;
    display: flex; flex-direction: column; gap: 40px;
    max-width: 1200px; margin: 0 auto;
}
@media (min-width: 1024px) {
    .donation-strip-content { flex-direction: row; align-items: center; justify-content: space-between; padding: 48px 60px; }
    .donation-text { width: 35%; }
    .donation-quick-form { width: 60%; }
}
.donation-text h2 { font-size: 2rem; margin-bottom: 12px; }
.donation-text p { color: var(--color-text-muted); font-size: 1.1rem; }

.donation-toggle { display: flex; gap: 24px; font-weight: 600; margin-bottom: 12px; border-bottom: 1px solid var(--color-border); padding-bottom: 12px; }
.donation-toggle label { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--color-primary); }
.donation-toggle input[type="radio"] { accent-color: var(--color-accent); transform: scale(1.2); }

.donation-amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
@media (min-width: 600px) { .donation-amounts { grid-template-columns: repeat(3, 1fr); } }

.amount-btn {
    background: white; border: 1px solid var(--color-border);
    padding: 16px 12px; border-radius: 8px; 
    font-weight: 800; color: var(--color-primary); font-size: 1.1rem;
    cursor: pointer; transition: all var(--transition-snappy);
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.amount-btn span.label { font-size: 0.75rem; font-weight: 500; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; text-align: center; }
.amount-btn:hover { border-color: var(--color-text-light); }
.amount-btn.active { background: var(--color-accent); color: white; border-color: var(--color-accent); }
.amount-btn.active span.label { color: rgba(255,255,255,0.8); }

/* Impact Details Box */
.impact-detail-box { 
    background: var(--color-surface); border: 1px dashed var(--color-border); 
    padding: 16px; border-radius: 8px; text-align: center; margin-bottom: 16px;
    font-size: 0.95rem; color: var(--color-text-muted); font-weight: 500;
}
.impact-detail-box strong { color: var(--color-primary); }

/* Mission / Pillars */
.pillar-card { text-align: center; }
.pillar-icon { 
    width: 64px; height: 64px; background: var(--color-surface); 
    border-radius: 16px; display: flex; align-items: center; justify-content: center; 
    color: var(--color-accent); margin: 0 auto 24px; border: 1px solid var(--color-border);
}
.pillar-icon svg { width: 32px; height: 32px; }
.pillar-card h3 { font-size: 1.4rem; }

/* Image + Text splits */
.split-content { display: grid; gap: 60px; align-items: center; }
@media (min-width: 992px) { .split-content { grid-template-columns: 1fr 1fr; } }
.split-image img { border-radius: 20px; box-shadow: var(--shadow-xl); }
.split-stats { list-style: none; margin: 32px 0; }
.split-stats li { margin-bottom: 20px; padding-left: 24px; position: relative; font-size: 1.1rem; }
.split-stats li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }

/* Campaigns */
.campaign-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--color-border); background: white; transition: var(--transition-smooth); }
.campaign-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.campaign-card img { width: 100%; height: 220px; object-fit: cover; }
/* Old campaign-body modified */
.campaign-body { padding: 32px; }
.progress-container { margin: 24px 0; }
.progress-bar { width: 100%; height: 6px; background: var(--color-surface); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--color-accent); border-radius: 3px; }
.campaign-stats { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; color: var(--color-text-muted); margin-top: 8px; }

/* Trust Badges */

@media (min-width: 600px) { .trust-metrics { grid-template-columns: repeat(4, 1fr); } }
.trust-metric-box { text-align: center; padding: 24px; background: var(--color-surface); border-radius: 16px; border: 1px solid var(--color-border); }
.trust-metric-box h3 { font-size: 2.5rem; color: var(--color-accent); margin-bottom: 8px; }
.trust-metric-box p { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); margin: 0;}

/* Final Action */
.final-action-banner { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); text-align: center; }
.final-action-banner .container { max-width: 800px; }

/* Dedicated Donate Page */
.donate-layout { padding: 80px 0 120px; }
.donate-grid { display: grid; gap: 80px; align-items: start; }
@media (min-width: 992px) { .donate-grid { grid-template-columns: 1.2fr 1fr; } }
.donate-form-wrapper { background: white; padding: 48px; border-radius: 24px; box-shadow: var(--shadow-xl); border: 1px solid var(--color-border); position: sticky; top: 120px; }
.secure-heading { display: flex; align-items: center; gap: 8px; justify-content: center; color: #059669; font-weight: 700; background: #D1FAE5; padding: 8px 16px; border-radius: 30px; margin: 0 auto 32px; width: fit-content; font-size: 0.9rem; }
.freq-tabs { display: flex; background: var(--color-surface); border: 1px solid var(--color-border); padding: 6px; border-radius: 12px; margin-bottom: 32px; }
.freq-tab { flex: 1; text-align: center; padding: 12px; cursor: pointer; font-weight: 700; border-radius: 8px; color: var(--color-text-muted); transition: all var(--transition-snappy); }
.freq-tab.active { background: white; color: var(--color-primary); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.donate-amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.donate-amt-btn { background: white; border: 2px solid var(--color-border); padding: 20px 0; text-align: center; border-radius: 12px; font-weight: 800; font-size: 1.5rem; color: var(--color-primary); cursor: pointer; transition: all var(--transition-snappy); }
.donate-amt-btn:hover { border-color: var(--color-text-light); }
.donate-amt-btn.active { border-color: var(--color-accent); color: var(--color-accent); background: rgba(196, 24, 24, 0.02); }
.donate-custom { grid-column: 1 / -1; position: relative; }
.donate-custom span { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 800; color: var(--color-text-muted); }
.donate-custom input { width: 100%; border: 2px solid var(--color-border); border-radius: 12px; padding: 20px 20px 20px 40px; font-size: 1.5rem; font-weight: 800; color: var(--color-primary); outline: none; transition: border-color var(--transition-snappy); }
.donate-custom input:focus { border-color: var(--color-primary); }

/* Secondary Pages Utility */
.rich-text { max-width: 800px; margin: 0 auto; }
.rich-text h2 { margin-top: 48px; }
.rich-text p { font-size: 1.125rem; }
.rich-text ul { margin-bottom: 24px; padding-left: 24px; }
.rich-text li { margin-bottom: 12px; font-size: 1.125rem; color: var(--color-text-muted); }

/* Footer */
.site-footer { background: var(--color-primary); color: white; padding: 80px 0 40px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; gap: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 60px; margin-bottom: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-col h4 { color: white; margin-bottom: 24px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a:hover { color: white; padding-left: 4px; }
.footer-bottom { display: flex; flex-direction: column; gap: 24px; text-align: center; align-items: center; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    max-width: 400px;
}
.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}
.toast-icon {
    width: 40px;
    height: 40px;
    background: rgba(185, 28, 28, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.toast-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    line-height: 1.4;
}
.toast-content strong {
    color: var(--color-primary);
    font-weight: 700;
}
.toast-time {
    font-size: 0.75rem;
    color: var(--color-text-light);
    display: block;
    margin-top: 4px;
}
@media (max-width: 768px) {
    .toast-notification {
        bottom: 20px; left: 20px; right: 20px; max-width: none;
    }
}

/* Campaign card fixes for alignment */
.campaign-card {
    display: flex;
    flex-direction: column;
}
/* Old campaign-body modified */
.campaign-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.campaign-body > div:last-child {
    margin-top: auto;
}

@media (max-width: 768px) {
    .trust-metrics {
        grid-template-columns: 1fr 1fr !important;
    }
    .trust-metrics > div {
        padding: 32px 16px !important;
    }
    .trust-metrics h3 {
        font-size: 2.5rem !important;
    }
}

.campaign-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.progress-container {
    margin-top: auto;
    padding-top: 16px;
}
.campaign-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
}

/* =========================================================================
   Global Responsiveness & Mobile Optimization Overhaul
   ========================================================================= */

/* === TABLET (max-width: 768px) === */
@media (max-width: 768px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .section-padding {
        padding: 60px 0 !important;
    }
    
    .section-title {
        font-size: 2.25rem !important;
    }
    
    .page-header {
        padding: 80px 0 40px !important;
    }
    
    .page-header h1 {
        font-size: 2.5rem !important;
    }
    
    .container {
        padding: 0 20px !important;
    }

    /* Hero */
    .hero-section {
        min-height: 65vh;
    }
    .hero-content-container {
        padding-left: 0;
        padding: 0 20px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Donation Strip */
    .donation-strip {
        margin-top: -30px;
        padding: 0 12px;
    }
    .donation-strip-content {
        padding: 28px 20px;
        border-radius: 16px;
    }
    .donation-text h2 {
        font-size: 1.5rem;
    }
    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Campaign Cards */
    .campaign-card img {
        height: 180px;
    }
    .campaign-body {
        padding: 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
        text-align: center;
    }
    .footer-col ul {
        margin-bottom: 8px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .site-footer {
        padding: 48px 0 32px;
    }

    /* Donate Page */
    .donate-layout {
        padding: 40px 0 80px;
    }
    .donate-form-wrapper {
        padding: 28px;
        border-radius: 16px;
        position: static;
    }
    .donate-amount-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .donate-amt-btn {
        padding: 16px 0;
        font-size: 1.25rem;
    }

    /* Split content */
    .split-content {
        gap: 32px;
    }

    /* Article pages in /news */
    .article-hero {
        height: 260px !important;
    }

    /* Checkout page grid */
    .checkout-grid {
        gap: 32px !important;
    }
    .summary-card {
        position: static !important;
    }
    .checkout-section-title {
        font-size: 1.75rem !important;
    }

    /* Support form */
    .support-form-card {
        padding: 28px !important;
    }
}

/* === SMALL MOBILE (max-width: 480px) === */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.25rem !important;
        line-height: 1.15;
    }
    .hero-content p {
        font-size: 1.05rem !important;
    }

    .donation-amounts {
        grid-template-columns: 1fr 1fr !important;
    }
    .amount-btn {
        padding: 12px 8px !important;
        font-size: 0.95rem !important;
    }

    .section-title {
        font-size: 1.75rem !important;
    }
    .section-subtitle {
        font-size: 1rem !important;
    }
    .page-header h1 {
        font-size: 2rem !important;
    }
    .page-header p {
        font-size: 1rem !important;
    }

    .trust-metrics {
        grid-template-columns: 1fr 1fr !important;
    }
    .trust-metrics > div {
        padding: 20px 12px !important;
    }
    .trust-metrics h3 {
        font-size: 2rem !important;
    }

    /* Campaign cards */
    .campaign-card img {
        height: 160px;
    }
    .campaign-body h3 {
        font-size: 1.15rem;
    }

    /* Checkout on mobile */
    .checkout-section-title {
        font-size: 1.5rem !important;
    }
    .coin-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .crypto-portal {
        padding: 24px !important;
    }
    .deposit-panel {
        padding: 20px !important;
    }
    .qr-placeholder {
        width: 140px !important;
        height: 140px !important;
    }
    .wallet-field {
        flex-direction: column;
        text-align: center;
    }
    .wallet-address {
        font-size: 0.8rem !important;
    }

    /* Donate page amounts */
    .donate-amount-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .donate-amt-btn {
        font-size: 1.1rem;
        padding: 14px 0;
    }
    .donate-form-wrapper {
        padding: 20px !important;
    }
    .donate-custom input {
        font-size: 1.1rem !important;
        padding: 16px 16px 16px 32px !important;
    }

    /* Toast on smallest screens */
    .toast-notification {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 12px 16px;
    }
    .toast-content p {
        font-size: 0.85rem;
    }

    /* Article titles on mobile */
    h1[style*="font-size: 3.5rem"] {
        font-size: 2rem !important;
    }
}

/* Ensure images in flex/grid layouts don't overflow */
.container img {
    max-width: 100%;
    height: auto;
}

/* Fix horizontal scroll */
body {
    overflow-x: hidden;
    width: 100%;
}

