/* Donation Page Specific Styles */

/* Hero Section */
.donate-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
}

.donate-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 107, 53, 0.8), rgba(44, 90, 160, 0.8));
}

.donate-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.donate-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.donate-hero .highlight {
    color: #ffc107;
    font-weight: 600;
}

.donate-hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.hero-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 5px;
}

.hero-stat .stat-text {
    font-size: 14px;
    opacity: 0.9;
}

/* Navigation active state */
.nav-links a.active {
    background: #ff8c00 !important;
    color: white !important;
}

/* Donation Section */
.donation-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.donation-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.donation-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.donation-form-container h2 {
    font-size: 2.2rem;
    color: #2c5aa0;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

/* Donation Type */
.donation-type {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 4px;
}

.type-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-btn.active {
    background: #2c5aa0;
    color: white;
}

/* Amount Selection */
.amount-selection {
    margin-bottom: 30px;
}

.preset-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 15px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    border-color: #2c5aa0;
    background: #f0f7ff;
}

.amount-btn.active {
    border-color: #2c5aa0;
    background: #2c5aa0;
    color: white;
}

.custom-amount-input {
    position: relative;
    margin-top: 15px;
}

.custom-amount-input input {
    width: 100%;
    padding: 15px 40px 15px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
}

.custom-amount-input .currency {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #666;
}

/* Form Sections */
.donation-purpose,
.donor-info,
.payment-methods,
.additional-options {
    margin-bottom: 30px;
}

.donation-purpose h3,
.donor-info h3,
.payment-methods h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.donation-purpose select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row input,
.form-row select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: #2c5aa0;
}

/* Payment Methods */
.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.payment-btn {
    padding: 15px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.payment-btn:hover {
    border-color: #2c5aa0;
    background: #f0f7ff;
}

.payment-btn.active {
    border-color: #2c5aa0;
    background: #2c5aa0;
    color: white;
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-form {
    display: none;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 15px;
}

.payment-form.active {
    display: block;
}

.paypal-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
    color: #856404;
    margin-top: 15px;
}

.bank-details {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.bank-details h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

.bank-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.bank-note {
    margin-top: 15px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.bank-note p {
    margin: 0;
    font-size: 14px;
    color: #2c5aa0;
}

/* Additional Options */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #2c5aa0;
    border-color: #2c5aa0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Donation Summary */
.donation-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.total-row {
    border-top: 2px solid #e0e0e0;
    padding-top: 10px;
    font-weight: 600;
    font-size: 18px;
    color: #2c5aa0;
}

/* Submit Button */
.donate-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #e8841a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.security-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
    justify-content: center;
}

/* Impact Information */
.impact-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.impact-info h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.impact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.impact-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateX(5px);
}

.impact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.impact-card h4 {
    color: #2c5aa0;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.impact-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Other Ways to Help */
.other-ways {
    border-top: 2px solid #f0f0f0;
    padding-top: 30px;
}

.other-ways h4 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.help-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.help-option:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.help-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.help-option h5 {
    color: #2c5aa0;
    font-size: 1rem;
    margin-bottom: 3px;
    font-weight: 600;
}

.help-option p {
    color: #666;
    font-size: 13px;
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    text-align: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.modal-header h2 {
    color: #2c5aa0;
    margin: 0;
    font-weight: 600;
}

.modal-body {
    padding: 30px;
    text-align: center;
    line-height: 1.6;
}

.modal-body p {
    margin-bottom: 15px;
    color: #666;
}

.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.modal-footer .btn-primary {
    background: #2c5aa0;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary:hover {
    background: #1e3f73;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .donation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .preset-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .donate-hero h1 {
        font-size: 2.5rem;
    }
    
    .donate-hero p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .donation-form-container,
    .impact-info {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .preset-amounts {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
}
