/* ============================================
   IMPACT DASHBOARD PAGE
   Comprehensive Impact Statistics
   ============================================ */

.impact-dashboard {
    padding: 5rem 0;
    background: linear-gradient(145deg, #fef9f0, #fff5e6);
    min-height: 100vh;
}

/* Impact Hero */
.impact-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.impact-badge {
    display: inline-flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.impact-badge span {
    background: #1e3a2f;
    color: #f4b942;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.year-badge {
    background: #f4b942 !important;
    color: #1e3a2f !important;
}

.impact-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.chiedza-highlight {
    color: #1e3a2f;
    position: relative;
}

.chiedza-highlight::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(244, 185, 66, 0.3);
    z-index: -1;
}

.tagline {
    display: block;
    font-size: 2rem;
    color: #f4b942;
    margin-top: 0.5rem;
}

.impact-subtitle {
    font-size: 1.1rem;
    color: #2d5a4a;
    margin-bottom: 1.5rem;
}

.decade-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(244, 185, 66, 0.1);
    border-radius: 50px;
    max-width: 600px;
    margin: 0 auto;
}

.decade-message i {
    color: #f4b942;
}

.decade-message span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Stats Impact Grid */
.stats-impact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-impact-card {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

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

.stat-impact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-impact-icon i {
    font-size: 1.8rem;
}

.stat-impact-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e3a2f;
    line-height: 1;
}

.stat-impact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d5a4a;
    margin-top: 0.5rem;
}

.stat-impact-period {
    font-size: 0.7rem;
    color: #f4b942;
    margin-top: 0.3rem;
}

/* Programme Section */
.programme-section {
    margin-bottom: 4rem;
    gap: 2rem;
    margin: 2rem 0;
}

.section-title-dark {
    text-align: center;
    font-size: 1.8rem;
    color: #1e3a2f;
    margin-bottom: 1rem;
}

.title-divider-dark {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #f4b942, #2d5a4a);
    margin: 0 auto 2rem;
    border-radius: 3px;
}

.programme-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex: 1 1 calc(50% - 2rem); /* 2 cards per row with gap accounted */
    min-width: 250px; /* Minimum width before wrapping */
}

/* Programme cards container */
.programme-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.programme-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.programme-title {
    font-size: 1.2rem;
    color: #1e3a2f;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.programme-title i {
    color: #f4b942;
}

.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 1rem;
}

.impact-chart {
    max-height: 300px;
    width: 100%;
}

.programme-insight {
    background: rgba(244, 185, 66, 0.1);
    padding: 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    color: #2d5a4a;
    margin-top: 1rem;
}

.programme-insight i {
    color: #f4b942;
    margin-right: 0.5rem;
}

/* Orphan Care Note */
.orphan-care-note {
    padding: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(244, 185, 66, 0.1), rgba(30, 58, 47, 0.05));
}

.orphan-care-note i {
    font-size: 2rem;
    color: #f4b942;
    margin-bottom: 1rem;
    display: block;
}

.orphan-care-note p {
    font-size: 1rem;
    color: #2d5a4a;
}

.orphan-care-note strong {
    color: #1e3a2f;
}

/* Cumulative Impact Table */
.cumulative-impact {
    margin-bottom: 3rem;
    overflow-x: auto;
}

.cumulative-title {
    text-align: center;
    font-size: 1.3rem;
    color: #1e3a2f;
    margin-bottom: 1.5rem;
}

.impact-table-wrapper {
    overflow-x: auto;
}

.impact-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.impact-table th {
    background: #1e3a2f;
    color: white;
    padding: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.impact-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: #2d5a4a;
}

.total-col, .total-cell {
    background: #f4b942;
    color: #1e3a2f !important;
    font-weight: 800;
}

.total-cell {
    font-size: 1.2rem;
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.insight-card {
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
}

.insight-icon i {
    font-size: 2rem;
    color: #f4b942;
    margin-bottom: 1rem;
}

.insight-card h4 {
    font-size: 1rem;
    color: #1e3a2f;
    margin-bottom: 0.8rem;
}

.insight-card p {
    font-size: 0.85rem;
    color: #2d5a4a;
    line-height: 1.5;
}

/* Impact Footer */
.impact-footer {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2d5a4a;
    font-size: 0.85rem;
}

.footer-info i {
    color: #f4b942;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2d5a4a;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f4b942;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-impact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .impact-title {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .stats-impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .programme-card {
        padding: 1rem;
    }
    
    .chart-container {
        height: 250px;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .decade-message span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .stats-impact-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-badge {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .impact-table th, .impact-table td {
        padding: 0.6rem;
        font-size: 0.7rem;
    }
}