/* Donation Section Styles */
.donate-section {
    padding: 60px 0;
}

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

@media (max-width: 1024px) {
    .donate-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Donation Tabs */
.donation-tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.donation-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.donation-tab:hover {
    color: #2c5aa0;
    background-color: #f8f9fa;
}

.donation-tab.active {
    color: #2c5aa0;
    border-bottom-color: #2c5aa0;
}

.donation-content {
    display: none;
}

.donation-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* Amount Options */
.amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.amount-options input[type="radio"] {
    display: none;
}

.amount-options label {
    display: block;
    padding: 15px 10px;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.amount-options input[type="radio"]:checked + label {
    border-color: #2c5aa0;
    background-color: #2c5aa0;
    color: white;
}

.amount-options label:hover {
    border-color: #2c5aa0;
}

#custom-amount {
    grid-column: 1 / -1;
    margin-top: 10px;
}

/* Checkboxes */
.form-checkboxes {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.form-checkboxes .form-group {
    margin-bottom: 15px;
}

.form-checkboxes label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.form-checkboxes input[type="checkbox"] {
    margin-right: 10px;
}

/* Donate Button */
.btn-donate {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    margin-bottom: 15px;
}

.btn-donate:hover {
    background: linear-gradient(135deg, #218838, #1e9e7f);
    transform: translateY(-2px);
}

.security-note {
    text-align: center;
    color: #28a745;
    font-size: 0.9rem;
}

.security-note i {
    margin-right: 5px;
}

/* Monthly Giving */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.benefits-list i {
    color: #2c5aa0;
    margin-right: 10px;
    width: 20px;
}

.monthly-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.monthly-option input {
    display: none;
}

.monthly-option label {
    display: block;
    padding: 20px;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.monthly-option input:checked + label,
.monthly-option.selected label {
    border-color: #2c5aa0;
    background-color: #2c5aa0;
    color: white;
}

.monthly-amount {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.monthly-period {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Other Giving Options */
.other-giving-option {
    display: flex;
    align-items: start;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.giving-icon {
    margin-right: 15px;
    color: #2c5aa0;
    font-size: 1.5rem;
}

.giving-content h4 {
    margin: 0 0 10px 0;
    color: #2c5aa0;
}

/* Impact Section */
.donation-impact {
    position: sticky;
    top: 100px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.impact-visual {
    margin: 25px 0;
}

.impact-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.impact-item:last-child {
    border-bottom: none;
}

.impact-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5aa0;
    min-width: 80px;
}

.impact-description {
    color: #666;
    line-height: 1.5;
}

/* Testimonial */
.testimonial {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #2c5aa0;
}

.testimonial blockquote {
    margin: 0;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial cite {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: #2c5aa0;
    font-style: normal;
}

/* Progress Tracker */
.progress-tracker {
    background: white;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    margin: 25px 0;
}

.progress-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 5px;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

/* Security Badges */
.security-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}

.badge {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.8rem;
}

.badge i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #28a745;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-tabs {
        flex-direction: column;
    }
    
    .donation-tab {
        border-bottom: 1px solid #e9ecef;
        border-left: 3px solid transparent;
    }
    
    .donation-tab.active {
        border-left-color: #2c5aa0;
        border-bottom-color: #e9ecef;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .monthly-options {
        grid-template-columns: 1fr;
    }
    
    .security-badges {
        grid-template-columns: 1fr;
    }
    
    .donation-impact {
        position: static;
    }
}

.payment-method-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.payment-method-options input[type="radio"] {
    display: none;
}

.payment-method-options label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.payment-method-options label i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #666;
}

.payment-method-options input[type="radio"]:checked + label {
    border-color: #2c5aa0;
    background-color: #f0f8ff;
}

.payment-method-options input[type="radio"]:checked + label i {
    color: #2c5aa0;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-outline {
    background: white;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-outline:hover {
    background: #2c5aa0;
    color: white;
}