/* our-impact.css */

.impact-hero-banner {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
    transition: background-image 1.5s ease-in-out;
}


.impact-hero-banner .section-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.impact-intro-text {
    padding: 60px 0 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.impact-intro-text p {
    font-size: 16px;
    color: var(--body-text);
    line-height: 1.8;
    font-weight: 500;
}

/* Stats Section */
.stats-dashboard {
    padding: 60px 0;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-top-color: var(--accent-orange);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(14, 116, 144, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.stat-card:hover .stat-icon {
    background-color: rgba(244, 71, 5, 0.1);
    color: var(--accent-orange);
}

.stat-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-card p {
    font-size: 14px;
    color: var(--body-text);
    font-weight: 600;
    line-height: 1.4;
}

/* Case Studies Grid */
.case-studies-section {
    padding: 80px 0;
    background-color: var(--white);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.case-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.case-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.case-content p {
    font-size: 14px;
    color: var(--body-text);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.case-metrics {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-orange);
}

/* Section Title */
.impact-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.impact-section-header span {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-orange);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.impact-section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-blue);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .case-grid {
        grid-template-columns: 1fr;
    }
    .impact-hero-banner {
        height: 300px;
    }
    .impact-section-header h2 {
        font-size: 28px;
    }
}
