/* Donations page */

.donate-main {
    padding-bottom: 0;
}

.donate-page {
    padding: 1rem 0 3rem;
}

/* Hadith */
.donate-hadith {
    margin-bottom: 2.5rem;
}

/* Hero card — intro + flyer side by side */
.donate-hero-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.donate-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #059669, #0891b2, #0d9488);
}

.donate-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.donate-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    color: #047857;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.donate-eyebrow i {
    font-size: 0.9rem;
}

.donate-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.donate-hero-desc {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Progress bar */
.donate-progress {
    background: #f8fafc;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.donate-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    gap: 1rem;
}

.donate-progress-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.donate-progress-stat--target {
    text-align: right;
}

.donate-progress-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    line-height: 1.2;
}

.donate-progress-stat--target .donate-progress-amount {
    color: #4a5568;
    font-size: 1.25rem;
}

.donate-progress-label {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.donate-progress-bar {
    height: 14px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.donate-progress-fill {
    height: 100%;
    width: 67%;
    background: linear-gradient(90deg, #059669, #10b981, #34d399);
    border-radius: 10px;
    position: relative;
    transition: width 1.2s ease;
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.4);
}

.donate-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent);
    border-radius: 10px 10px 0 0;
}

.donate-progress-note {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    color: #047857;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.donate-progress-note i {
    font-size: 0.85rem;
}

/* Flyer */
.donate-flyer img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    display: block;
}

/* Payment panel */
.donate-payment-panel {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.donate-payment-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.donate-payment-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.donate-payment-header i {
    font-size: 2.5rem;
    color: #f59e0b;
    margin-bottom: 0.75rem;
    display: block;
}

.donate-payment-header h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.donate-payment-header p {
    color: #718096;
    font-size: 1rem;
}

/* Payment method cards */
.donate-methods {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
}

.donate-method-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem 2.25rem;
    text-align: left;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.donate-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.donate-method-card--stripe {
    border-color: rgba(99, 91, 255, 0.25);
}

.donate-method-card--stripe:hover {
    border-color: #635bff;
    background: linear-gradient(180deg, #fafaff 0%, #f8fafc 100%);
}

.donate-method-card--paypal {
    border-color: rgba(0, 112, 186, 0.25);
}

.donate-method-card--paypal:hover {
    border-color: #0070ba;
    background: linear-gradient(180deg, #f0f7ff 0%, #f8fafc 100%);
}

.donate-method-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    background: rgba(99, 91, 255, 0.1);
    color: #635bff;
}

.donate-method-badge--paypal {
    background: rgba(0, 112, 186, 0.1);
    color: #0070ba;
}

.donate-method-icon-col {
    flex-shrink: 0;
}

.donate-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    font-size: 1.85rem;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.donate-method-card--stripe .donate-method-icon {
    background: linear-gradient(135deg, #635bff, #4f46e5);
}

.donate-method-card--paypal .donate-method-icon {
    background: linear-gradient(135deg, #0070ba, #003087);
}

.donate-method-text {
    flex: 1 1 auto;
    min-width: 0;
}

.donate-method-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.4rem;
}

.donate-method-text > p {
    color: #4a5568;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.donate-method-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.donate-method-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #4a5568;
    white-space: nowrap;
}

.donate-method-features li i {
    color: #059669;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.donate-method-action-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 260px;
}

.donate-method-action {
    width: 100%;
    display: flex;
    justify-content: center;
}

.donate-method-note {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #a0aec0;
    text-align: center;
}

.donate-method-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.donate-method-divider::before,
.donate-method-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.donate-method-divider span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    color: #a0aec0;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Stripe button */
.donate-btn-stripe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 260px;
    padding: 0.95rem 1.75rem;
    border: none;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(135deg, #635bff, #4f46e5);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 91, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donate-btn-stripe:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 91, 255, 0.5);
    color: white;
}

/* PayPal container */
.donate-paypal-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 260px;
}

.donate-paypal-container > div {
    width: 100%;
}

.donate-paypal-container iframe {
    display: block !important;
    margin: 0 auto !important;
    vertical-align: top;
}

/* Trust row */
.donate-trust-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.donate-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #718096;
}

.donate-trust-item i {
    color: #059669;
    font-size: 1rem;
}

/* Impact section — full-width gradient band */
.donate-impact {
    background: linear-gradient(135deg, #059669 0%, #0891b2 50%, #0d9488 100%);
    padding: 4rem 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.donate-impact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.donate-impact .container {
    position: relative;
    z-index: 1;
}

.donate-impact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.donate-impact-header i {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    display: block;
}

.donate-impact-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.donate-impact-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.donate-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.donate-impact-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donate-impact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.16);
}

.donate-impact-item i {
    font-size: 2.25rem;
    color: #fbbf24;
    margin-bottom: 0.85rem;
    display: block;
}

.donate-impact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.donate-impact-item p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.55;
}

.donate-dua {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 960px) {
    .donate-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .donate-flyer {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .donate-methods {
        max-width: 480px;
    }

    .donate-method-card {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .donate-method-badge {
        top: 1.25rem;
        right: 1.25rem;
    }

    .donate-method-text {
        text-align: center;
    }

    .donate-method-features {
        justify-content: center;
    }

    .donate-method-action-col {
        width: 100%;
        max-width: 260px;
    }

    .donate-method-divider span {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .donate-hero-card,
    .donate-payment-panel {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }

    .donate-hero-title {
        font-size: 1.6rem;
    }

    .donate-progress-amount {
        font-size: 1.25rem;
    }

    .donate-progress-stat--target .donate-progress-amount {
        font-size: 1.1rem;
    }

    .donate-payment-header h2 {
        font-size: 1.5rem;
    }

    .donate-impact-grid {
        grid-template-columns: 1fr;
    }

    .donate-impact-header h2 {
        font-size: 1.75rem;
    }

    .donate-trust-row {
        gap: 1.25rem;
    }

    .donate-method-card {
        padding: 1.75rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .donate-progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .donate-progress-stat--target {
        text-align: left;
    }

    .donate-trust-row {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}
