/* ============================
   DONATION PAGE — donation.css
   ============================ */

/* HERO */
.donation-hero {
    height: 70vh;
    min-height: 420px;
    background: url('../../assets/images/donation.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.donation-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45) 0%,
        rgba(180,60,0,0.72) 100%
    );
    z-index: 1;
}

.donation-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.48) 0%,
        rgba(0,0,0,0.70) 100%
    );
}

.donation-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 740px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,122,0,0.92);
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 7px 20px;
    border-radius: 30px;
    margin-bottom: 22px;
    text-transform: uppercase;
    animation: badge-pulse 2.2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,122,0,0.5); }
    50%       { box-shadow: 0 0 0 10px rgba(255,122,0,0); }
}

.donation-hero-content h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 16px;
    color: white;
}

.donation-hero-content p {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
    margin-bottom: 28px;
}

.cta-btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff7a00, #ff9800);
    color: white;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(255,122,0,0.45);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.cta-btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(255,122,0,0.55);
}

/* ============================
   GLOBAL SECTION DEFAULTS
   (mirrored from about.css)
   ============================ */
.donation-page section {
    padding: 70px 20px;
}

.donation-page .container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff7a00;
    background: rgba(255,122,0,0.09);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.donation-page .section-heading,
.impact-numbers h2,
.donation-tiers h2,
.transparency h2,
.payment-methods h2,
.story-section h2,
.final-cta h2 {
    font-size: 34px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.25;
    position: relative;
    display: inline-block;
}

.donation-page .section-heading::after,
.impact-numbers h2::after,
.donation-tiers h2::after,
.transparency h2::after,
.payment-methods h2::after,
.story-section h2::after,
.final-cta h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ff7a00, #ff9800);
    border-radius: 10px;
    margin: 12px auto 0;
}

.section-sub {
    font-size: 16px;
    color: #666;
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto 40px;
}

/* ============================
   IMPACT NUMBERS
   ============================ */
.impact-numbers {
    background: #fff;
}

.impact-numbers .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 0;
}

.impact-card {
    background: #fffaf5;
    border: 1.5px solid #ffe0b2;
    border-radius: 20px;
    padding: 32px 20px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff7a00, #ff9800);
    border-radius: 0;
}

.impact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(255,122,0,0.13);
    border-color: #ffcc80;
}

.impact-number {
    font-size: 36px;
    font-weight: 800;
    color: #ff7a00;
    line-height: 1;
    margin-bottom: 8px;
}

.impact-label {
    font-size: 14px;
    color: #555;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.impact-icon {
    font-size: 28px;
    line-height: 1;
    margin-top: 4px;
}

/* ============================
   DONATION TIERS
   ============================ */
.donation-tiers {
    background: #fffaf5;
}

.donation-tiers .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    align-items: start;
}

.tier-card {
    background: white;
    border-radius: 22px;
    padding: 32px 24px 28px;
    border: 1.5px solid #f0f0f0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255,122,0,0.13);
    border-color: #ffcc80;
}

.tier-card.featured {
    border-color: #ff9800;
    box-shadow: 0 10px 36px rgba(255,122,0,0.18);
    transform: scale(1.03);
    z-index: 1;
}

.tier-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.tier-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff7a00, #ff9800);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 16px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255,122,0,0.35);
}

.tier-emoji {
    font-size: 36px;
    margin-bottom: 8px;
    line-height: 1;
}

.tier-amount {
    font-size: 32px;
    font-weight: 800;
    color: #ff7a00;
    line-height: 1;
}

.tier-period {
    font-size: 13px;
    color: #999;
    font-weight: 500;
    margin-bottom: 10px;
}

.tier-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 14px;
}

.tier-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    flex: 1;
}

.tier-benefits li {
    font-size: 14px;
    color: #555;
    padding: 5px 0;
    line-height: 1.5;
    border-bottom: 1px solid #f5f5f5;
}

.tier-benefits li:last-child {
    border-bottom: none;
}

.donate-btn {
    display: block;
    padding: 12px 20px;
    background: #fffaf5;
    color: #ff7a00;
    border: 2px solid #ff9800;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #ff7a00, #ff9800);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,122,0,0.28);
}

.donate-btn-primary {
    background: linear-gradient(135deg, #ff7a00, #ff9800);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(255,122,0,0.32);
}

.donate-btn-primary:hover {
    box-shadow: 0 10px 28px rgba(255,122,0,0.42);
}

/* ============================
   TRANSPARENCY
   ============================ */
.transparency {
    background: #fff;
}

.transparency .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.breakdown-container {
    width: 100%;
    max-width: 720px;
}

.breakdown-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    border: 1.5px solid #f0e8de;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: #fff;
    border-bottom: 1px solid #f0e8de;
    text-align: left;
    transition: background 0.2s ease;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item:hover {
    background: #fffaf5;
}

.item-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.item-text {
    flex: 1;
}

.item-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.item-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================
   PAYMENT METHODS
   ============================ */
.payment-methods {
    background: #fffaf5;
}

.payment-methods .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    width: 100%;
    margin-bottom: 28px;
}

.method-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px 28px;
    border: 1.5px solid #f0f0f0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(255,122,0,0.12);
    border-color: #ffcc80;
}

.method-icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 4px;
}

.method-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.qr-image-wrap {
    width: 150px;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #ffe0b2;
    background: #fffaf5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    flex-shrink: 0;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.method-detail {
    flex: 1;
    width: 100%;
    text-align: left;
    background: #fffaf5;
    border: 1px solid #f0e8de;
    border-radius: 12px;
    padding: 14px 16px;
}

.method-detail p {
    font-size: 14px;
    color: #555;
    margin: 0 0 4px 0;
    line-height: 1.6;
}

.method-detail code {
    display: inline-block;
    background: #fff3e0;
    color: #e65100;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    border: 1px solid #ffcc80;
}

.method-btn {
    display: inline-block;
    padding: 11px 26px;
    background: linear-gradient(135deg, #ff7a00, #ff9800);
    color: white;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(255,122,0,0.24);
    margin-top: 4px;
}

.method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255,122,0,0.34);
}

.tax-info {
    width: 100%;
    max-width: 680px;
}

.tax-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: #e6f7ec;
    border: 1.5px solid #b2dfdb;
    border-radius: 16px;
    text-align: left;
}

.tax-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.tax-text {
    font-size: 15px;
    color: #2e7d32;
    line-height: 1.7;
}

/* ============================
   STORY / TESTIMONIALS
   ============================ */
.story-section {
    background: #fff;
}

.story-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    width: 100%;
}

.story-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid #f0f0f0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-align: left;
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255,122,0,0.12);
    border-color: #ffcc80;
}

.story-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-emoji {
    font-size: 52px;
    line-height: 1;
}

.story-content {
    padding: 22px 22px 20px;
}

.story-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.story-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 14px 0;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-time {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #ff7a00;
    background: rgba(255,122,0,0.09);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ============================
   FINAL CTA
   ============================ */
.final-cta {
    background: #fffaf5;
}

.final-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, #ff7a00, #ff9800);
    border-radius: 28px;
    padding: 60px 48px;
    width: 100%;
    max-width: 820px;
    color: white;
    box-shadow: 0 20px 60px rgba(255,122,0,0.30);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-box::before {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.cta-box::after {
    content: "";
    position: absolute;
    bottom: -80px; left: -40px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 34px;
    font-weight: 800;
    color: white;
    margin-bottom: 14px;
    line-height: 1.25;
    position: relative;
    z-index: 1;
}

.cta-box h2::after {
    background: rgba(255,255,255,0.5);
}

.cta-box > p {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255,255,255,0.93);
    max-width: 600px;
    margin: 0 auto 28px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.btn-cta {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta.btn-primary {
    background: white;
    color: #ff7a00;
    box-shadow: 0 6px 22px rgba(0,0,0,0.16);
}

.btn-cta.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

.btn-cta.btn-secondary {
    background: rgba(255,255,255,0.18);
    color: white;
    border: 2px solid rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
}

.btn-cta.btn-secondary:hover {
    background: rgba(255,255,255,0.30);
    transform: translateY(-3px);
}

.cta-note {
    font-size: 14px;
    line-height: 2;
    color: rgba(255,255,255,0.88);
    position: relative;
    z-index: 1;
    margin: 0 !important;
    text-align: center;
    width: 100%;
}

/* ============================
   RESPONSIVE — TABLET ≤960px
   ============================ */
@media (max-width: 960px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tier-card.featured {
        transform: none;
    }

    .tier-card.featured:hover {
        transform: translateY(-6px);
    }

    .methods-grid {
        grid-template-columns: 1fr 1fr;
    }

    .methods-grid .method-card:last-child {
        grid-column: 1 / -1;
        max-width: 380px;
        margin: 0 auto;
    }

    .stories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stories-grid .story-card:last-child {
        grid-column: 1 / -1;
    }
}

/* ============================
   RESPONSIVE — MOBILE ≤768px
   ============================ */
@media (max-width: 768px) {
    .donation-hero {
        height: auto;
        min-height: auto;
        padding: 100px 20px 70px;
    }

    .donation-hero-content h1 {
        font-size: 28px;
    }

    .donation-hero-content p {
        font-size: 15px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .cta-btn-hero {
        font-size: 16px;
        padding: 13px 32px;
    }

    /* IMPACT */
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .impact-number {
        font-size: 28px;
    }

    /* TIERS */
    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .tier-card.featured {
        transform: none;
    }

    /* BREAKDOWN */
    .breakdown-item {
        padding: 18px 18px;
        gap: 14px;
    }

    .item-icon {
        width: 46px;
        height: 46px;
        font-size: 15px;
        border-radius: 10px;
    }

    /* METHODS */
    .methods-grid {
        grid-template-columns: 1fr;
    }

    .methods-grid .method-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    /* STORIES */
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .stories-grid .story-card:last-child {
        grid-column: auto;
    }

    /* FINAL CTA */
    .cta-box {
        padding: 44px 24px;
        border-radius: 22px;
    }

    .cta-box h2 {
        font-size: 26px;
    }

    .cta-box > p {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 260px;
        text-align: center;
        padding: 14px 20px;
    }

    /* SECTION HEADINGS */
    .impact-numbers h2,
    .donation-tiers h2,
    .transparency h2,
    .payment-methods h2,
    .story-section h2 {
        font-size: 26px;
    }

    .section-sub {
        font-size: 15px;
    }
}

/* ============================
   VERY SMALL ≤420px
   ============================ */
@media (max-width: 420px) {
    .donation-hero-content h1 {
        font-size: 24px;
    }

    .impact-number {
        font-size: 24px;
    }

    .impact-card {
        padding: 22px 14px 18px;
    }

    .cta-box {
        padding: 36px 18px;
    }
}