/* Legal and Transparency Page Styles */

.nonprofit-status {
    margin-bottom: 3rem;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.status-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
}

.status-card h3 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.status-card p {
    margin: 0.5rem 0;
}

.doc-link {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    margin: 1rem 0;
    transition: background 0.3s;
}

.doc-link:hover {
    background: #991b1b;
}

.verify-text {
    font-size: 0.9rem;
    color: #666;
}

.transparency-section {
    margin: 3rem 0;
}

.finance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.finance-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.breakdown {
    margin-top: 1rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.percentage {
    font-size: 1.5rem;
    font-weight: bold;
    color: #dc2626;
}

.impact-stats {
    margin-top: 1rem;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #dc2626;
}

.verification-section {
    margin: 3rem 0;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.verification-list {
    list-style: none;
    padding: 0;
}

.verification-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.verification-list a {
    color: #007bff;
    text-decoration: none;
}

.verification-list a:hover {
    text-decoration: underline;
}

.contact-section {
    margin: 3rem 0;
    text-align: center;
    background: #007bff;
    color: white;
    padding: 2rem;
    border-radius: 8px;
}

.contact-section a {
    color: #fff;
    text-decoration: underline;
}

/* Nonprofit Badge Styles */
.nonprofit-badge-section {
    background: #f8f9fa;
    padding: 1rem 0;
    border-top: 3px solid #28a745;
    border-bottom: 3px solid #28a745;
}

.nonprofit-badge {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.nonprofit-badge h3 {
    color: #28a745;
    margin: 0;
    font-size: 1.2rem;
}

.nonprofit-badge p {
    margin: 0.5rem 0 0 0;
    color: #666;
    font-size: 0.9rem;
}

.nonprofit-badge a {
    color: #007bff;
    text-decoration: none;
}

.nonprofit-badge a:hover {
    text-decoration: underline;
}

/* PayPal Donation Styles */
.paypal-donations {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.paypal-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.paypal-section {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.donation-setup {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin-top: 2rem;
}

.donation-setup ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.donation-setup a {
    color: #007bff;
    text-decoration: none;
}

.donation-setup a:hover {
    text-decoration: underline;
}

/* Impact Page Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-detail {
    font-size: 0.9rem;
    color: #666;
}

.impact-timeline {
    margin: 2rem 0;
}

.impact-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.impact-date {
    font-weight: bold;
    color: #007bff;
    min-width: 120px;
}

.impact-description h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.impact-description p {
    margin: 0;
    color: #666;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.story-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.story-card h3 {
    color: #28a745;
    margin: 0 0 1rem 0;
}

.story-card p {
    font-style: italic;
    margin: 0 0 1rem 0;
    color: #333;
}

.story-location {
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

.transparency-note {
    background: #007bff;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 3rem 0;
}

.transparency-links {
    margin-top: 1.5rem;
}

.transparency-link {
    display: inline-block;
    background: white;
    color: #007bff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 0.5rem;
    transition: background 0.3s;
}

.transparency-link:hover {
    background-color: var(--text);
}

/* Impact Page Progress Styling */
.fundraising-overview {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    text-align: center;
}

.fundraising-overview h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--text);
}

.progress-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.progress-visual {
    flex-shrink: 0;
}

.progress-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) 0deg, var(--accent) 52.92deg, var(--off-white) 52.92deg, var(--off-white) 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-inner {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.progress-percent {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent);
    line-height: 1;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text);
    margin-top: 2px;
}

.progress-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item .amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
    line-height: 1;
}

.detail-item .label {
    font-size: 1rem;
    color: var(--text);
    margin-top: 5px;
}

/* Timeline Styling */
.progress-timeline {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.progress-timeline h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--text);
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--off-white);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-item.upcoming::before {
    background-color: var(--off-white);
    box-shadow: 0 0 0 3px var(--off-white);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-item.upcoming .timeline-date {
    color: #999;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text);
}

.timeline-item.upcoming .timeline-content h3 {
    color: #999;
}

.timeline-content p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.timeline-item.upcoming .timeline-content p {
    color: #999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .progress-summary {
        flex-direction: column;
        gap: 30px;
    }
    
    .progress-details {
        text-align: center;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 14px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .status-grid,
    .finance-grid,
    .paypal-buttons,
    .stats-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .impact-date {
        min-width: auto;
    }
    
    .nonprofit-badge h3 {
        font-size: 1rem;
    }
    
    .nonprofit-badge p {
        font-size: 0.8rem;
    }
}
