/* Heroes Section */
.heroes-section {
    padding: 6rem 1.5rem;
    margin-top: 72px;
    background: #ffffff;
}

.heroes-section .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.heroes-section h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    color: var(--color-gray-700);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.heroes-section h2 {
    font-size: 1.25rem;
    color: var(--color-hero-text);
    margin-bottom: 4rem;
    line-height: 1.4;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.heroes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.hero-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.hero-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.hero-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: var(--color-gray-700);
    padding: 1.25rem;
    margin: 0;
    text-align: center;
    font-weight: 600;
}

/* Partners Section */
.partners-section {
    padding: 4rem 1.5rem;
    background: #f8f9fa;
}

.partners-section .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.partners-section h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: var(--color-gray-700);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.partners-section p {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    margin-bottom: 3rem;
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 0 auto;
    max-width: 800px;
}

.partner-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.partner-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.partner-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    color: var(--color-gray-700);
    padding: 1.25rem;
    margin: 0;
    text-align: center;
    font-weight: 600;
}

.partner-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.partner-card a:hover {
    text-decoration: none;
    color: inherit;
}

.partner-card p {
    padding: 0 1.25rem 1.25rem 1.25rem;
    margin: 0;
    font-size: 1rem;
    color: var(--color-gray-600);
    text-align: center;
    line-height: 1.5;
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
    .heroes-section {
        padding: 4rem 1.5rem;
    }

    .heroes-section h1 {
        font-size: 3rem;
    }

    .heroes-section h2 {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }

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

@media screen and (max-width: 768px) {
    .heroes-section {
        padding: 3rem 1.5rem;
        margin-top: 60px;
    }

    .heroes-section h1 {
        font-size: 2.5rem;
    }

    .heroes-section h2 {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
    }

    .heroes-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .hero-card img {
        height: 280px;
    }

    .hero-card h3 {
        font-size: 1.25rem;
        padding: 1rem;
    }

    .partners-section {
        padding: 3rem 1.5rem;
    }

    .partners-section h2 {
        font-size: 1.75rem;
    }

    .partners-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .partner-card img {
        height: 240px;
    }

    .partner-card h3 {
        font-size: 1.125rem;
    }
} 