/* =====================================================
   COMMUNITY SECTION
===================================================== */

.community-section {
    position: relative;
}


/* ================= HEADER ================= */

.community-heading {
    position: relative;
}


/* ================= COUNT CARD ================= */

.community-count-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}


/* ================= FEATURE CARD ================= */

.community-feature {
    min-height: 100%;
    box-shadow: 0 18px 45px rgba(11, 67, 53, 0.12);
}


/* ================= COMMUNITY CARD ================= */

.community-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    cursor: default;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.community-card:hover {
    transform: translateY(-4px);
    border-color: #a7d8bd;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.09);
}


/* ================= CARD ICON ================= */

.community-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    font-size: 21px;
    transition: transform 0.3s ease;
}

.community-card:hover .community-card-icon {
    transform: scale(1.08);
}


/* ================= NUMBER ================= */

.community-number {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #94a3b8;
}


/* ================= TITLE ================= */

.community-card-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
    color: #0f172a;
    transition: color 0.3s ease;
}

.community-card:hover .community-card-title {
    color: #15803d;
}


/* ================= DESCRIPTION ================= */

.community-card-text {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.7;
    color: #64748b;
}


/* ================= ARROW ================= */

.community-arrow {
    position: absolute;
    right: 18px;
    bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #cbd5e1;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.community-card:hover .community-arrow {
    color: #16a34a;
    transform: translateX(4px);
}


/* ================= PARTICIPATION ================= */

.community-participation {
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #dbe5df;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}


/* ================= TABLET ================= */

@media (max-width: 1023px) {

    .community-feature {
        min-height: auto;
    }

}


/* ================= MOBILE ================= */

@media (max-width: 640px) {

    .community-card {
        padding: 18px;
        gap: 12px;
    }

    .community-card-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 19px;
    }

    .community-card-title {
        font-size: 15px;
    }

    .community-card-text {
        font-size: 12px;
        line-height: 1.6;
        padding-right: 10px;
    }

    .community-count-card {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .community-participation {
        padding: 16px;
    }

}