/* Additional styles specific to the impact page */
.impact-hero {
    background-color: var(--light-color);
    padding: 150px 0 80px; /* Adjusted padding */
    text-align: center;
    position: relative;
    width: 100%; /* Ensure hero spans full width */
}

.impact-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.impact-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.impact-section {
    padding: 80px 0;
}

.impact-section:nth-child(odd) {
    background-color: var(--white);
}

.impact-section:nth-child(even) {
    background-color: var(--light-color);
}

.impact-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
    padding: 0 15px;
}

.impact-content,
.impact-image {
    width: 50%;
}

.impact-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.impact-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.impact-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.impact-stat-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

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

.impact-stat-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.impact-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.impact-stat-text {
    font-size: 16px;
}

.impact-timeline {
    margin: 80px 0;
    position: relative;
}

.impact-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    width: 45%;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content:before {
    content: '';
    position: absolute;
    top: 20px;
    left: -15px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-item:nth-child(even) .timeline-content:before {
    content: '';
    position: absolute;
    top: 20px;
    right: -45px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

@media (max-width: 992px) {
    .impact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .impact-content,
    .impact-image {
        width: 100%;
        text-align: center;
    }
    
    .impact-image img {
        margin: 0 auto;
        max-width: 100%;
        height: auto;
    }
    
    .impact-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .impact-timeline:before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content:before,
    .timeline-item:nth-child(even) .timeline-content:before {
        left: -45px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .impact-hero h1 {
        font-size: 36px;
    }
    
    .impact-hero p {
        font-size: 18px;
    }
    
    .impact-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .impact-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-hero h1 {
        font-size: 28px;
    }
    
    .impact-hero p {
        font-size: 16px;
    }
    
    .impact-content h2 {
        font-size: 24px;
    }
}

@media (min-width: 993px) {
    .impact-timeline:before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: 45%;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content:before {
        left: auto;
        right: -45px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 55%;
    }
}