/* Donation Page Specific Styles */

/* Hero Section */
.donate-hero {
    background: linear-gradient(rgba(1, 60, 247, 0.8), rgba(1, 60, 247, 0.9)), 
                url('images/donate-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 20px;
    text-align: center;
    margin-top: 19vh;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.impact-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: #FFD700;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Donation Options */
.donation-options {
    padding: 80px 20px;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Payment Tabs */
.payment-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active {
    background: #013cf7;
    color: white;
    border-color: #013cf7;
}

.tab-btn:hover:not(.active) {
    border-color: #013cf7;
    color: #013cf7;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Payment Method Cards */
.payment-method {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.method-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.method-header i {
    font-size: 2rem;
    color: #013cf7;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.method-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.method-card:hover {
    border-color: #013cf7;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(1, 60, 247, 0.1);
}

.method-card.featured {
    border-color: #00B964;
    background: linear-gradient(135deg, #f8fff9, #ffffff);
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.details p {
    margin: 8px 0;
    color: #555;
}

.instructions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.instructions h5 {
    color: #333;
    margin-bottom: 10px;
}

.instructions ol {
    margin-left: 20px;
    color: #666;
    font-size: 0.9rem;
}

.instructions li {
    margin-bottom: 5px;
}

.copy-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: #013cf7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    transition: background 0.3s ease;
}

.copy-btn:hover {
    background: #012ec4;
}

/* QR Codes */
.qr-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.qr-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
    border-radius: 10px;
}

/* Bank Details */
.bank-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.label {
    font-weight: 600;
    color: #333;
}

.value {
    color: #013cf7;
    font-weight: 500;
}

/* Donation Form */
.donation-form {
    max-width: 600px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #013cf7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.form-check input[type="checkbox"] {
    width: auto;
}

/* Amount Selection */
.amount-selection {
    margin: 30px 0;
}

.amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.amount-btn {
    padding: 12px 24px;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: #013cf7;
    color: white;
    border-color: #013cf7;
}

.custom-amount {
    margin-top: 25px;
}

.input-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.currency {
    padding: 12px 15px;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-weight: 600;
}

.input-group input {
    border-radius: 0 8px 8px 0;
}

/* Payment Button */
.payment-button {
    margin-top: 40px;
    text-align: center;
}

.pay-btn {
    background: linear-gradient(135deg, #013cf7, #0165ff);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.pay-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(1, 60, 247, 0.3);
}

.payment-security {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

/* Alternative Payments */
.alternative-payments {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.payment-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.alt-pay-btn {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.alt-pay-btn:hover {
    border-color: #013cf7;
    transform: translateY(-2px);
}

/* International Grid */
.international-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.gofundme-btn,
.paypal-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #00B964;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin: 15px 0;
    transition: background 0.3s ease;
}

.paypal-btn {
    background: #003087;
}

.gofundme-btn:hover {
    background: #009954;
}

.campaign-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Crypto */
.crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.crypto-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.crypto-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.wallet-address {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.copy-crypto {
    background: none;
    border: none;
    color: #013cf7;
    cursor: pointer;
    font-size: 1.2rem;
}

.qr-code-container {
    margin: 20px auto;
    width: 150px;
}

/* Impact Calculator */
.impact-calculator {
    background: linear-gradient(135deg, #013cf7, #0165ff);
    color: white;
    padding: 80px 20px;
}

.calculator {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.calculator-input {
    text-align: center;
    margin-bottom: 40px;
}

input[type="range"] {
    width: 100%;
    height: 10px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    margin: 30px 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.amount-display {
    font-size: 3rem;
    font-weight: bold;
    margin: 20px 0;
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.impact-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.impact-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #FFD700;
}

/* Testimonials */
.donor-testimonials {
    padding: 80px 20px;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.donor-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.donor-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.quote {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

/* FAQ */
.faq-section {
    padding: 80px 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #013cf7;
}

.faq-item h4 {
    color: #013cf7;
    margin-bottom: 15px;
}

/* CTA */
.donation-cta {
    background: linear-gradient(135deg, #013cf7, #0165ff);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.cta-btn {
    padding: 18px 36px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn.primary {
    background: white;
    color: #013cf7;
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-btn.tertiary {
    background: #FFD700;
    color: #333;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-note {
    margin-top: 20px;
    opacity: 0.8;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col a {
    display: block;
    color: #bbb;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-col p {
    color: #bbb;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal-icon {
    font-size: 4rem;
    color: #00B964;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.modal-btn {
    padding: 12px 24px;
    border: 2px solid #013cf7;
    background: white;
    color: #013cf7;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-btn.primary {
    background: #013cf7;
    color: white;
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .donate-hero {
        padding: 60px 20px;
        margin-top: 15vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .impact-stats {
        gap: 20px;
    }
    
    .stat h3 {
        font-size: 1.8rem;
    }
    
    .payment-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .payment-method {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .method-grid,
    .international-grid,
    .crypto-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-results {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}