/* Community Hero Section */
.community-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 72px;
}

.community-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.community-hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Statistics Section */
.community-stats {
    padding: 4rem 2rem;
    background-color: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    color: #555;
}

/* Groups Section */
.groups {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.groups-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.group-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.group-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.group-list {
    list-style-type: none;
}

.group-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.group-list li:last-child {
    border-bottom: none;
}

.formation-date {
    color: #777;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .community-hero-content h2 {
        font-size: 2rem;
    }

    .community-hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .community-hero {
        height: 50vh;
    }

    .community-hero-content h2 {
        font-size: 1.8rem;
    }
}