/*============================
    Hero
=============================*/

.category-hero {
    background: linear-gradient(135deg,#2563EB,#1D4ED8);
    padding: 90px 20px;
    color: #fff;
}

/*============================
    Card
=============================*/

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    height: 320px;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
    transition: .4s;
}

    .category-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 60px rgba(0,0,0,.18);
    }

        .category-card:hover .category-image {
            transform: scale(1.08);
        }

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

/*============================
    Overlay
=============================*/

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.80), rgba(0,0,0,.25), rgba(0,0,0,.10));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px;
    text-align: center;
}

    .category-overlay h2 {
        color: #fff;
        font-size: 34px;
        font-weight: 700;
        margin-bottom: 25px;
    }

.category-btn {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    transition: .3s;
}

    .category-btn:hover {
        background: #2563EB;
        color: #fff;
        transform: scale(1.05);
    }

/*============================
    Tablet
=============================*/

@media(max-width:992px) {

    .category-card {
        height: 280px;
    }

    .category-overlay h2 {
        font-size: 28px;
    }
}

/*============================
    Mobile
=============================*/

@media(max-width:576px) {

    .category-card {
        height: 230px;
    }

    .category-overlay {
        padding: 20px;
    }

        .category-overlay h2 {
            font-size: 24px;
            margin-bottom: 18px;
        }

    .category-btn {
        width: 100%;
        padding: 10px;
    }
}
