/* ==========================================================
Explore By Category Section
Fully Scoped
========================================================== */

.explore-by-category-section {
    width: 100%;
    background: #ffffff;
    padding: 40px 0 35px;
    font-family: "DM Sans", sans-serif;
}


.explore-by-category-section__container {
    width: min(1240px, calc(100% - 110px));
    margin: 0 auto;
}


/* ==========================
Header
========================== */

.explore-by-category-section__heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
}


.explore-by-category-section__heading-content h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 750;
    color: #10184a;
    letter-spacing: -0.6px;
}


.explore-by-category-section__heading-content p {
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 400;
    color: #555555;
}


.explore-by-category-section__link {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
}


/* ==========================
Grid
========================== */

.explore-by-category-section__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}


/* ==========================
Cards
========================== */

.explore-by-category-section__card {
    position: relative;
    height: 154px;

    display: flex;
    flex-direction: column;

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

    text-align: center;

    padding: 20px;

    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 15px;

    overflow: hidden;
    text-decoration: none;

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


.explore-by-category-section__card:hover {
    transform: translateY(-3px);
    border-color: #d5d5d5;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}


/* ==========================
Decorative Bubble
========================== */

.explore-by-category-section__card::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: -30px;
    bottom: -30px;

    border-radius: 50%;

    background: #f3efff;

    z-index: 0;
}


/* ==========================
Icon Circle
========================== */

.explore-by-category-section__icon {
    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: #f1edff;
    color: #6232df;

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

    margin-bottom: 14px;

    position: relative;
    z-index: 1;

    flex-shrink: 0;
}


.explore-by-category-section__icon svg {
    width: 23px;
    height: 23px;
    display: block;
}


/* ==========================
Card Text
========================== */

.explore-by-category-section__card-content {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
}


.explore-by-category-section__card-content h3 {
    margin: 0;

    max-width: 190px;

    font-family: "Manrope", sans-serif;

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

    font-weight: 700;

    color: #111111;
}


.explore-by-category-section__card-content p {
    margin: 6px 0 0;

    font-size: 14px;
    font-weight: 400;

    color: #555555;
}


/* ==========================
Responsive
========================== */

@media(max-width:1100px){

    .explore-by-category-section__grid {
        grid-template-columns: repeat(3,1fr);
    }

}



@media(max-width:700px){

    .explore-by-category-section__container {
        width: calc(100% - 40px);
    }


    .explore-by-category-section__heading {
        flex-direction: column;
        gap: 15px;
    }


    .explore-by-category-section__grid {
        grid-template-columns: repeat(2,1fr);
    }

}



@media(max-width:480px){

    .explore-by-category-section__grid {
        grid-template-columns: 1fr;
    }


    .explore-by-category-section__heading-content h2 {
        font-size: 32px;
    }

}