/* Donate Page Specific Styles */

/* Donate Hero */
.donate-hero {
    background: linear-gradient(rgba(220, 38, 38, 0.85), rgba(220, 38, 38, 0.9)), url('../images/donate-hero.jpg') no-repeat center center/cover;
    min-height: 70vh;
    padding: 150px 0 80px;
    display: flex;
    align-items: center;
}

.donate-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.donate-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: white;
}

.donate-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

.donate-hero .hero-btns {
    gap: 20px;
}

.donate-hero .btn {
    background-color: white;
    color: var(--secondary-color);
}

.donate-hero .btn:hover {
    background-color: var(--light-color);
    color: var(--secondary-dark);
}

.donate-hero .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.donate-hero .btn-secondary:hover {
    background-color: white;
    color: var(--secondary-color);
}

/* Impact Stats */
.impact-stats {
    background-color: var(--light-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.stat-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.stat-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
    line-height: 1.4;
}

/* Donation Options - UPDATED: All 4 cards in one row */
.donation-options {
    background-color: var(--white);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.option-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.option-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -35px auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
    position: relative;
    z-index: 1;
}

.option-card h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    padding: 0 15px;
}

.option-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 20px;
    padding: 0 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.option-details {
    padding: 0 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.detail-item {
    margin-bottom: 15px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.paybill-number, .account-number {
    font-family: 'Courier New', monospace;
    background-color: #f1f5f9;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    transition: var(--transition);
    border-radius: 4px;
    flex-shrink: 0;
}

.copy-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.steps-list {
    margin-left: 18px;
    margin-top: 8px;
}

.steps-list li {
    margin-bottom: 6px;
    color: var(--text-color);
    font-size: 0.85rem;
    line-height: 1.4;
}

.steps-list li:last-child {
    margin-bottom: 0;
}

.steps-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

.benefits-list, .needs-list {
    margin-top: 8px;
}

.benefits-list li, .needs-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.85rem;
    line-height: 1.3;
}

.benefits-list li:last-child, .needs-list li:last-child {
    margin-bottom: 0;
}

.benefits-list i, .needs-list i {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.amount-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
}

.amount-option {
    position: relative;
}

.amount-option input {
    display: none;
}

.amount-option label {
    display: block;
    padding: 8px 10px;
    background-color: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
}

.amount-option input:checked + label {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-dark);
    font-weight: 600;
}

.contact-info {
    margin-top: 8px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--text-color);
    font-size: 0.85rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
}

.option-card .btn {
    margin: 20px 20px 20px;
    padding: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
}

/* Quick Donation Form */
.quick-donate {
    background-color: var(--light-color);
}

.donate-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.donate-info {
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.donate-info h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 2rem;
}

.donate-info > p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.impact-highlights {
    margin-bottom: 30px;
}

.impact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.impact-item:last-child {
    margin-bottom: 0;
}

.impact-item i {
    font-size: 1.5rem;
    margin-top: 5px;
    color: var(--primary-light);
}

.impact-item h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1rem;
}

.impact-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.transparency-note {
    display: flex;
    gap: 15px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.transparency-note i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.transparency-note h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.transparency-note p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.donation-form {
    padding: 40px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 12px;
    background-color: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 6px;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.amount-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.amount-btn[data-active="true"] {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.custom-amount {
    margin-top: 20px;
}

.custom-amount label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.input-prefix {
    padding: 12px 15px;
    background-color: #f1f5f9;
    color: var(--text-color);
    font-weight: 500;
    border-right: 1px solid #ddd;
}

.input-group .form-control {
    border: none;
    border-radius: 0;
    padding-left: 15px;
}

.input-group .form-control:focus {
    box-shadow: none;
}

.btn-donate {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 30px;
    border: none;
}

.btn-donate:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, #991b1b 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
}

.form-footer-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-footer-note i {
    color: var(--primary-color);
}

/* Impact Stories */
.impact-stories {
    background-color: var(--white);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.story-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.story-image {
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 25px;
}

.story-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.story-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.story-impact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.impact-stat {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.impact-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Call to Action */
.donate-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-text h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

.donate-cta .btn {
    background-color: white;
    color: var(--primary-color);
}

.donate-cta .btn:hover {
    background-color: var(--light-color);
    color: var(--primary-dark);
}

.donate-cta .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.donate-cta .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.modal-body p {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.next-steps {
    text-align: left;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
}

.next-steps h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

.next-steps i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.modal-footer {
    padding: 25px 30px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid #f1f5f9;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .options-grid,
    .stats-grid,
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .option-card {
        max-width: 100%;
    }
    
    .donate-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .donate-hero h1 {
        font-size: 2.8rem;
    }
    
    .cta-text h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .options-grid,
    .stats-grid,
    .stories-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .donate-hero {
        min-height: 60vh;
        padding: 130px 0 60px;
    }
    
    .donate-hero h1 {
        font-size: 2.3rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .donate-hero {
        padding: 120px 0 50px;
    }
    
    .donate-hero h1 {
        font-size: 2rem;
    }
    
    .donate-hero p {
        font-size: 1rem;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .option-card .btn {
        margin: 20px;
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .donate-info, .donation-form {
        padding: 30px 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}