/* ========================================
   DONATION PAGE STYLES
   ======================================== */

/* Page Header */
.page-header {
    position: relative;
    padding: 60px 0 60px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1), transparent 50%);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 31, 26, 0.3) 100%);
}

.page-title {
    position: relative;
    z-index: 1;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    position: relative;
    z-index: 1;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--secondary-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Donation Section */
.donation-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.donation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.donation-card {
    background: white;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.donation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.donation-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.donation-card>p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* QR Code */
.qr-code-wrapper {
    position: relative;
    display: inline-block;
    margin: 30px 0;
}

.qr-code {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 8px solid white;
    position: relative;
    z-index: 1;
}

.qr-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent 70%);
    animation: pulse 2s ease-in-out infinite;
    z-index: 0;
    border-radius: var(--radius-md);
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* UPI Apps */
.upi-apps {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
}

.upi-apps span {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 500;
}

.app-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.app-badge {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #ffffff !important;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(4, 120, 87, 0.3);
    transition: var(--transition-normal);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.app-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(4, 120, 87, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* UPI ID */
.upi-id-wrapper {
    margin: 30px 0;
}

.upi-id {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    border: 2px dashed var(--secondary-color);
    margin-bottom: 15px;
}

#upi-text {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    word-break: break-all;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.copy-btn:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.copy-feedback {
    color: #27ae60;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

/* Donation Steps */
.donation-steps {
    margin-top: 40px;
    text-align: left;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 30px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary-color);
}

.donation-steps h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.donation-steps ol {
    list-style: none;
    counter-reset: step-counter;
}

.donation-steps li {
    counter-increment: step-counter;
    padding: 15px 0 15px 50px;
    position: relative;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.donation-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 12px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Impact Section */
.impact-section {
    margin-top: 50px;
    padding: 50px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.impact-section h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.impact-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.impact-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.impact-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.impact-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.impact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Trust Section */
.trust-section {
    margin-top: 50px;
    padding: 50px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: var(--radius-lg);
    color: white;
}

.trust-content h3 {
    font-size: 2.2rem;
    margin-bottom: 35px;
    font-weight: 700;
    text-align: center;
}

.trust-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto 30px;
}

.trust-list li {
    padding: 20px 0 20px 50px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.8;
}

.trust-list li:last-child {
    border-bottom: none;
}

.check-icon {
    position: absolute;
    left: 0;
    top: 20px;
    width: 35px;
    height: 35px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.trust-note {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary-color);
    backdrop-filter: blur(10px);
    line-height: 1.8;
}

.inline-link {
    color: var(--secondary-light);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition-normal);
}

.inline-link:hover {
    color: white;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .donation-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .donation-card {
        padding: 40px 25px;
    }

    .qr-code {
        max-width: 280px;
    }

    .upi-id {
        flex-direction: column;
        gap: 15px;
    }

    #upi-text {
        font-size: 0.95rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .impact-section,
    .trust-section {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0 40px;
    }

    .donation-card {
        padding: 30px 20px;
    }

    .card-icon {
        font-size: 3rem;
    }

    .donation-card h3 {
        font-size: 1.5rem;
    }

    .app-icons {
        gap: 8px;
    }

    .app-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .donation-steps {
        padding: 20px;
    }

    .impact-section h3,
    .trust-content h3 {
        font-size: 1.8rem;
    }
}