/* ========================================
   DONATION SECTION STYLES - ROYAL GOLD THEME
   ======================================== */

.donation-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.donation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
    opacity: 1;
}

.donation-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23d4af37" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.donation-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(212, 175, 55, 0.2);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(212, 175, 55, 0.4);
}

/* Header Styles */
.donation-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border-bottom: 3px solid #d4af37;
}

.donation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #d4af37 20%, 
        #ffd700 50%, 
        #d4af37 80%, 
        transparent 100%);
}

.donation-icon {
    font-size: 50px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8));
    }
}

.donation-header h2 {
    margin: 0 0 10px 0;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.foundation-name {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #d4af37;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
}

.donation-tagline {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
    font-style: italic;
    color: #e0e0e0;
}

/* Body Styles */
.donation-body {
    padding: 40px 30px;
}

.donation-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.donation-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    margin: 0;
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 35px;
}

.payment-title {
    color: #1a1a2e;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 30px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.payment-title i {
    font-size: 28px;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* UPI Grid */
.upi-grid {
    display: grid;
    gap: 20px;
}

.upi-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.upi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.upi-card:hover::before {
    left: 100%;
}

.upi-card:hover {
    border-color: #d4af37;
    box-shadow: 
        0 8px 25px rgba(212, 175, 55, 0.2),
        0 0 0 1px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #fffef8 0%, #ffffff 100%);
}

.upi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.upi-label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upi-badge {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #d4af37;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.upi-value-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.upi-value {
    font-family: 'Courier New', Courier, monospace;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 16px;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
    border: 1px solid #dee2e6;
}

.copy-btn {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
    color: #1a1a2e;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.copy-btn:hover::before {
    left: 100%;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 50%, #28a745 100%);
    color: #ffffff;
}

.copy-btn i {
    font-size: 14px;
}

/* Footer Styles */
.donation-footer {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.impact-note {
    background: linear-gradient(135deg, #fffef8 0%, #fef9e7 100%);
    border-left: 4px solid #d4af37;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.1);
}

.impact-note i {
    color: #d4af37;
    font-size: 24px;
    margin-top: 2px;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.impact-note p {
    margin: 0;
    color: #495057;
    font-size: 15px;
    line-height: 1.7;
    flex: 1;
}

.tax-note {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tax-note i {
    color: #6c757d;
    font-size: 16px;
}

.tax-note small {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-section {
        padding: 50px 20px;
    }
    
    .donation-header {
        padding: 30px 20px;
    }

    .donation-header h2 {
        font-size: 28px;
    }

    .foundation-name {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .donation-tagline {
        font-size: 14px;
    }

    .donation-body {
        padding: 30px 20px;
    }

    .donation-intro {
        padding: 0 10px;
    }

    .payment-title {
        font-size: 20px;
        flex-direction: column;
        gap: 8px;
    }

    .upi-card {
        padding: 15px;
    }

    .upi-value-container {
        flex-direction: column;
        align-items: stretch;
    }

    .upi-value {
        min-width: auto;
        word-break: break-all;
        font-size: 14px;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
    }

    .impact-note {
        flex-direction: column;
        text-align: center;
    }

    .tax-note {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .donation-icon {
        font-size: 40px;
    }

    .donation-header h2 {
        font-size: 24px;
    }

    .foundation-name {
        font-size: 16px;
    }

    .payment-title {
        font-size: 18px;
    }
}