/* Donation Page Specific Styles */

.page-header {
    background: var(--gradient-secondary);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/1920x600/f39c12/ffffff?text=Donation+Background') center/cover;
    opacity: 0.1;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Donation Impact */
.donation-impact {
    padding: 100px 0;
    background: var(--soft-gray);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.impact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.impact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.impact-card h3 {
    color: var(--golden-orange);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.impact-card h4 {
    color: var(--royal-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.impact-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Donation Methods */
.donation-methods {
    padding: 100px 0;
}

.donation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.donation-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    border: 1px solid rgba(26, 75, 132, 0.1);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.card-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card-header p {
    opacity: 0.9;
    font-size: 1rem;
}

/* Bank Details */
.bank-details {
    padding: 30px;
}

.detail-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-item label {
    display: block;
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.detail-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--soft-gray);
    padding: 15px;
    border-radius: 10px;
}

.detail-value span {
    color: var(--royal-blue);
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-light);
}

/* Amount Selection */
.amount-selection {
    padding: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.amount-selection h4 {
    color: var(--royal-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.amount-btn {
    background: transparent;
    border: 2px solid var(--royal-blue);
    color: var(--royal-blue);
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--royal-blue);
    color: white;
}

.custom-amount input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.custom-amount input:focus {
    outline: none;
    border-color: var(--royal-blue);
}

/* Payment Methods */
.payment-methods {
    padding: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.payment-methods h4 {
    color: var(--royal-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.payment-btn:hover {
    border-color: var(--royal-blue);
    background: var(--soft-gray);
}

.payment-btn i {
    font-size: 1.5rem;
    width: 30px;
}

.payment-btn.upi i { color: #00d4aa; }
.payment-btn.card i { color: #1a73e8; }
.payment-btn.netbanking i { color: #ff6b35; }

.payment-btn span {
    font-weight: 600;
    color: var(--dark-gray);
}

/* QR Section */
.qr-section {
    padding: 30px;
    text-align: center;
}

.qr-section h4 {
    color: var(--royal-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.qr-placeholder {
    background: var(--soft-gray);
    padding: 40px;
    border-radius: 15px;
    border: 2px dashed var(--light-gray);
}

.qr-placeholder i {
    font-size: 4rem;
    color: var(--royal-blue);
    margin-bottom: 15px;
}

.qr-placeholder p {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 5px;
}

.qr-placeholder small {
    color: var(--dark-gray);
    opacity: 0.7;
}

/* Trust Badges */
.trust-badges {
    padding: 100px 0;
    background: var(--soft-gray);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-badge {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(39, 174, 96, 0.1);
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.trust-badge .badge-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.trust-badge h4 {
    color: var(--royal-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.trust-badge p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Other Ways to Help */
.other-ways {
    padding: 100px 0;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.way-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 75, 132, 0.1);
}

.way-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.way-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 1.8rem;
}

.way-card h3 {
    color: var(--royal-blue);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.way-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--royal-blue);
    color: var(--royal-blue);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--royal-blue);
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: 20px;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 0;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 30px;
}

.modal-header h3 {
    color: var(--royal-blue);
    font-size: 1.8rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--soft-gray);
    color: var(--royal-blue);
}

.modal-body {
    padding: 0 30px 30px;
}

/* Copy Animation */
@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.copy-btn.copied {
    animation: copySuccess 0.3s ease;
    background: var(--emerald-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .donation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .amount-buttons {
        grid-template-columns: 1fr;
    }
    
    .payment-options {
        gap: 10px;
    }
    
    .ways-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-header {
        padding: 20px 20px 0;
        margin-bottom: 20px;
    }
    
    .modal-body {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .donation-impact {
        padding: 60px 0;
    }
    
    .donation-methods {
        padding: 60px 0;
    }
    
    .trust-badges {
        padding: 60px 0;
    }
    
    .other-ways {
        padding: 60px 0;
    }
    
    .impact-card {
        padding: 30px 20px;
    }
    
    .card-header {
        padding: 30px 20px;
    }
    
    .bank-details,
    .amount-selection,
    .payment-methods,
    .qr-section {
        padding: 20px;
    }
}