@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600;700;800&display=swap');


.impact-hero {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0;
}

.impact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/impact_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.impact-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.impact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 120px;
    width: 100%;
}

.impact-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: #FF5722;
    margin-bottom: 16px;
    max-width: 600px;
    white-space: nowrap;
}

.impact-hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.6;
    color: #FFFFFF;
    max-width: 550px;
}


.gallery-section {
    padding: var(--space-section-v) var(--space-section-h);
    background-color: #FFFFFF;
    width: 100%;
    margin: 0;
}

.gallery-title {
    font-family: 'Lato', sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 1.2;
    color: #FF5722;
    text-align: center;
    margin-bottom: 16px;
}

.gallery-subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    color: #000000;
    text-align: center;
    margin-bottom: 60px;
}

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

.gallery-item {
    width: 100%;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #E0E0E0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.impact-goals-section {
    padding: var(--space-section-v) var(--space-section-h);
    background-color: #F5F5F5;
    width: 100%;
    margin: 0;
    position: relative;
}

.impact-goals-badge {
    display: inline-block;
    background-color: #212121;
    color: #FFFFFF;
    font-family: 'Lato', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
    padding: 10px 24px;
    border-radius: 50px;
    margin: 0 auto 20px;
    display: block;
    width: fit-content;
    text-align: center;
}

.impact-goals-title {
    font-family: 'Lato', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.2;
    color: #FF5722;
    text-align: center;
    margin-bottom: 30px;
}

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

.impact-goal-card {
    background-color: #212121;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.goal-number {
    font-family: 'Lato', sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 1.2;
    color: #FFC107;
    margin-bottom: 10px;
}

.goal-label {
    font-family: 'Lato', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.3;
    color: #FFFFFF;
}


.success-stories-section {
    padding: var(--space-section-v) var(--space-section-h);
    background-color: #FFFFFF;
    width: 100%;
    margin: 0;
}

.success-stories-title {
    font-family: 'Lato', sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 1.2;
    color: #FF5722;
    text-align: center;
    margin-bottom: 60px;
}

.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.success-story-card {
    display: flex;
    flex-direction: row;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px;
    align-items: stretch;
}

.success-story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.story-image {
    width: 280px;
    min-width: 280px;
    height: auto;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #E0E0E0;
    position: relative;
    transform: none !important;
    margin: 0;
    padding: 0;
}

.story-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.story-content {
    padding: var(--space-card-v) var(--space-card-h);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.story-category {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: capitalize;
    background-color: #212121;
}

.story-category.kabaddi,
.story-category.badminton,
.story-category.athletics,
.story-category.hockey,
.story-category.basketball,
.story-category.football {
    background-color: #212121;
}

.story-category.vijayawada,
.story-category.kurnool,
.story-category.hyderabad,
.story-category.ongole {
    background-color: #212121;
    text-align: center;
}

.story-name {
    font-family: 'Lato', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.3;
    color: #000000;
    margin-bottom: 12px;
    text-align: center;
}

.story-bio {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    margin-bottom: 12px;
    flex: 1;
}

.story-achievement {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    color: #000000;
    margin-top: auto;
}




@media (max-width: 1200px) {

    .gallery-grid,
    .success-stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .impact-hero {
        height: 380px;
    }

    .impact-hero-content {
        padding: 0 20px;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .impact-hero-title {
        max-width: 100%;
    }

    .impact-hero-subtitle {
        font-size: 16px;
        max-width: 100%;
    }

    .gallery-section,
    .impact-goals-section,
    .success-stories-section,
    .impact-cta-section {
        padding: 60px 40px;
    }


    .gallery-grid,
    .success-stories-grid,
    .impact-goals-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .success-story-card {
        flex-direction: column;
    }

    .story-image {
        width: 100%;
        min-width: 100%;
        height: 250px;
        min-height: 250px;
    }

    .gallery-title,
    .impact-goals-title,
    .success-stories-title {
        font-size: 28px;
    }


    .goal-number {
        font-size: 40px;
    }

    .goal-label {
        font-size: 20px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}