/* Donation Page Styles */
.donation-container {
    padding-top: 70px;
}

.donation-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/donate-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.donation-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.donation-hero .hero-content p {
    font-size: 1.5rem;
}

.donation-form-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.tabs {
    display: flex;
    border-bottom: 2px solid var(--light-color);
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
    transition: all var(--transition-speed);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-secondary);
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.amount-options {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.amount-btn {
    padding: 0.6rem 1.2rem;
    background-color: var(--light-color);
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.amount-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.card-element {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.card-errors {
    color: var(--danger-color);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.btn-donate {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

.donation-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.donation-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.donation-info ul {
    list-style: none;
    margin: 1.5rem 0;
}

.donation-info ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.donation-info ul li i {
    color: var(--primary-color);
}

.testimonial {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.testimonial cite {
    font-weight: 600;
    color: var(--primary-color);
}

.donation-success {
    text-align: center;
    padding: 5rem 0;
}

.donation-success i {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 2rem;
}

.donation-success h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.donation-success p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.paypal-container {
    padding: 1rem 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .donation-form-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .donation-hero {
        height: 40vh;
    }
    
    .donation-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tab-btn {
        border-bottom: 1px solid #ddd;
    }
    
    .amount-options {
        gap: 0.5rem;
    }
    
    .amount-btn {
        padding: 0.5rem 1rem;
        flex-grow: 1;
    }
}