/* Global Impact Section Styling */
.global-impact-section {
    padding: 6rem 0;
    background-color: #fff;
    text-align: center;
}

.global-impact-section h2 {
    font-size: 2.5rem;
    /* Matched to CTA section */
    text-transform: none;
    /* No caps */
    letter-spacing: normal;
    color: #2F855A;
    margin-bottom: 30px;
    /* Reduced spacing */
    font-weight: 700;
}

.impact-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    /* Animation */
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

.facts-container {
    position: relative;
    height: 180px;
    /* Fixed height for carousel */
    margin-bottom: 2rem;
    overflow: hidden;
}

.fact-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact-item.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
    pointer-events: auto;
}

.fact-item.exit {
    opacity: 0;
    transform: translateY(-20px);
    z-index: 1;
}

.fact-item.no-transition {
    transition: none !important;
}

.impact-statement {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: #718096;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Updated to Classic Quote Style */
.source-pill {
    display: inline;
    background-color: transparent;
    color: #718096;
    padding: 0;
    font-size: 1rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    margin-left: 0.5rem;
    margin-bottom: 0;
    box-shadow: none;
    font-style: italic;
    opacity: 0.9;
}

.source-pill::before {
    content: "— ";
}

.impact-footer {
    font-size: 1.25rem;
    color: #2C3E50;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 600;
    margin-top: 1rem;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .facts-container {
        height: 280px;
    }

    .impact-statement {
        font-size: 1.25rem;
    }

    .global-impact-section {
        padding: 4rem 1rem;
    }

    .global-impact-section h2 {
        font-size: 2rem;
    }
}