/* Community Page Styling */
:root {
    --community-primary-color: #2b6f7e;
    --community-bg-color: #f4f7f9;
    --community-text-color: #333;
}

.community-hero {
    background: linear-gradient(135deg, var(--community-primary-color), #1a4a54);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
}

.community-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.community-preview {
    padding: 3rem 1rem;
    background: var(--community-bg-color);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.preview-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.preview-card i {
    font-size: 3rem;
    color: var(--community-primary-color);
    margin-bottom: 1rem;
}

.community-tools {
    padding: 3rem 1rem;
    background: white;
}

.tools-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: var(--community-bg-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: scale(1.05);
}

.tool-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.tool-card h3 {
    padding: 1rem;
    text-align: center;
}

.tool-card .btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
}

.community-cta {
    background: var(--community-primary-color);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .preview-grid,
    .tools-showcase {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .community-hero h1 {
        font-size: 2.2rem;
    }
}