/* Donation Page Specific Styles */

/* Import base styles from index.css */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    color: #333;
}

/* Hero Section */
.donation-hero {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.9) 0%, rgba(135, 206, 235, 0.8) 100%), 
                url('images/donation-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.donation-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.donation-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.donation-hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 1.8rem;
    color: #ffd700;
}

.stat-item span {
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 250px;
}

/* Donation Process */
.donation-process {
    padding: 80px 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8fafc;
    border: 2px solid #e8f4ff;
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    border-color: #4a90e2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

.step h3 {
    color: #4a90e2;
    margin: 1rem 0 0.5rem;
    font-size: 1.3rem;
}

.step p {
    color: #666;
    font-size: 0.95rem;
}

/* Payment Methods */
.payment-methods {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    color: #4a90e2;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title h2 {
    text-align: center;
    color: #4a90e2;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.payment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.payment-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4ff 100%);
    padding: 2rem;
    border-bottom: 2px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.payment-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paypal {
    color: #003087;
    background: rgba(0, 48, 135, 0.1);
}

.mobile {
    color: #00a859;
    background: rgba(0, 168, 89, 0.1);
}

.bank {
    color: #8b4513;
    background: rgba(139, 69, 19, 0.1);
}

.payment-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.payment-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.recommended {
    background: #4a90e2;
    color: white;
}

.popular {
    background: #27ae60;
    color: white;
}

.secure {
    background: #e74c3c;
    color: white;
}

.payment-details {
    padding: 2rem;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #555;
    min-width: 120px;
}

.detail-value {
    font-weight: 600;
    color: #555;
}

.copy-btn {
    background: #4a90e2;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.none-p {
    background: white;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.copy-btn:hover {
    background: #357abd;
    transform: scale(1.1);
}

.copy-btn.large {
    width: auto;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-left: 1rem;
}

.payment-instructions {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
}

.payment-instructions p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.payment-actions {
    padding: 0 2rem 2rem;
}

.payment-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: white;
}

.qr-btn {
    background: linear-gradient(135deg, #4a90e2 0%, #4a90e2 100%);
}

.qr-btn:hover {
    background: linear-gradient(135deg, #4a90e2 0%, #4a90e2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Donation Usage */
.donation-usage {
    padding: 80px 0;
    background: #f8fafc;
}

.usage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.usage-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.usage-header {
    padding: 2rem;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.will-use .usage-header {
    background: linear-gradient(135deg, #e8f6f3 0%, #d1f2eb 100%);
    border-bottom-color: #27ae60;
}

.wont-use .usage-header {
    background: linear-gradient(135deg, #ffe8e8 0%, #ffd6d6 100%);
    border-bottom-color: #e74c3c;
}

.usage-header i {
    font-size: 1.8rem;
}

.will-use .usage-header i {
    color: #27ae60;
}

.wont-use .usage-header i {
    color: #e74c3c;
}

.usage-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
}

.usage-list {
    list-style: none;
    padding: 1rem 0;
}

.usage-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.usage-list li:hover {
    background-color: #f8f9fa;
}

.usage-list li:last-child {
    border-bottom: none;
}

.usage-list li i {
    color: #4a90e2;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.usage-list li strong {
    color: #333;
    display: block;
    margin-bottom: 0.3rem;
}

.usage-list li p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.transparency-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.transparency-section h3 {
    color: #4a90e2;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transparency-chart {
    margin: 2rem 0;
}

.chart-item {
    margin-bottom: 1rem;
}

.chart-bar {
    height: 40px;
    border-radius: 20px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    color: white;
    font-weight: 600;
    transition: width 1s ease-in-out;
    animation: fillBar 2s ease-out;
}

@keyframes fillBar {
    from { width: 0%; }
    to { width: var(--target-width); }
}

.transparency-note {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}


/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
}

.faq-question {
    padding: 1.5rem 2rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Footer */

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    margin: 0.5rem 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #e74c3c;
}

.qr-code-container {
    text-align: center;
    padding: 2rem 0;
}

.qr-code-placeholder {
    width: 200px;
    height: 200px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #666;
}

.qr-code-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #4a90e2;
}

.print-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.print-btn:hover {
    background: #357abd;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .note-content,
    .usage-grid,
    .confirmation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .stat-item {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .donation-hero {
        padding: 100px 0 60px;
        margin-top: 60px;
    }
    
    .donation-hero h1 {
        font-size: 2.5rem;
    }
    
    .donation-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .confirmation-box {
        padding: 2rem;
    }
    
    .payment-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .payment-badge {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .donation-hero h1 {
        font-size: 2rem;
    }
    
    .payment-card {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .email-address {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .copy-btn.large {
        width: 100%;
    }
    
    .direct-email-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Add to donation.css */

/* QR Code Image Styles */
.qr-code-image-container {
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.qr-code-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

/* Remove or update the placeholder styles */
.qr-code-placeholder {
    display: none; /* Hide the placeholder if you have one */
}

/* QR Details in modal */
.qr-details {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 1rem;
}

.qr-details p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.qr-details strong {
    color: #4a90e2;
}

/* Payment button specific styles */
.payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Modal content adjustments for QR */
.modal-content h3 {
    text-align: center;
    color: #4a90e2;
    margin-bottom: 1.5rem;
}