/* =========================
   HOME INTRO
========================= */

.home-intro {
    padding: 24px 25px;

    background: linear-gradient(135deg, #ffffff, #f4f6f4);

    border: 1px solid #017782;
    border-radius: 14px;

    text-align: center;
}


.home-intro p {
    max-width: 850px;
    margin: 0 auto;

    font-size: 16px;
    line-height: 1.8;

    color: #000000;
}


/* =========================
   HOME CATEGORIES
========================= */
.home-categories {
    margin-top: 35px;
}

.home-categories > h2 {
    text-align: center;
    margin-bottom: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 25px 18px;

    background: #fff;
    border: 1px solid #f0e6eb;
    border-radius: 16px;

    text-align: center;
    text-decoration: none;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);

    border-color: #017782;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.category-icon img {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    border-radius: 50%;

    background: #fff5f8;

    font-size: 28px;
}

.category-card h3 {
    margin: 0 0 6px;

    font-family: "Baloo 2", cursive;
    font-size: 20px;
    font-weight: 700;

    color: #1c4481;
}

.category-card p {
    margin: 0;

    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    line-height: 1.6;

    color: #666;
}


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

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .home-intro {
        margin-top: 25px;
        padding: 22px 18px;
    }

    .home-intro h2,
    .home-categories h2 {
        font-size: 23px;
    }

    .home-intro p {
        font-size: 15px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .category-card {
        padding: 20px 12px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
            margin-bottom: 12px;

    }

    .category-card h3 {
        font-size: 17px;
    }

    .category-card p {
        font-size: 13px;
    }
}