/*
==========================================
PRODUCT CATEGORIES
==========================================
*/

.srb-categories{
    padding:120px 0;
    background:#f8fbfd;
    position:relative;
    overflow:hidden;
}

.srb-categories::before{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    border-radius:50%;
    background:rgba(0,166,214,.05);
    top:-180px;
    right:-150px;
}

.srb-categories::after{
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    border-radius:50%;
    background:rgba(37,99,235,.05);
    bottom:-150px;
    left:-120px;
}

.srb-section-heading{
    text-align:center;
    max-width:760px;
    margin:0 auto 70px;
    position:relative;
    z-index:2;
}

.srb-section-subtitle{
    display:inline-block;
    padding:10px 22px;
    border-radius:50px;
    background:#e7f8fd;
    color:#009ec9;
    font-size:13px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:18px;
}

.srb-section-title{
    font-size:48px;
    font-weight:800;
    color:#17324d;
    line-height:1.2;
    margin-bottom:20px;
}

.srb-section-text{
    font-size:18px;
    line-height:1.8;
    color:#667085;
}

.srb-categories-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    position:relative;
    z-index:2;
}

/*
==========================================
Category Card
==========================================
*/

.srb-category-card{

    position:relative;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    background:#fff;

    border-radius:24px;

    padding:45px 30px;

    text-decoration:none;

    transition:.4s;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.05);

    border:1px solid #edf2f7;

}

.srb-category-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:5px;

    background:var(--srb-primary);

    transform:scaleX(0);

    transition:.4s;

}

.srb-category-card:hover{

    transform:translateY(-12px);

    box-shadow:0 30px 60px rgba(0,0,0,.10);

}

.srb-category-card:hover::before{

    transform:scaleX(1);

}

/*
==========================================
Category Icon
==========================================
*/

.srb-category-icon{

    width:95px;

    height:95px;

    border-radius:50%;

    background:#eef9fc;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:28px;

    transition:.4s;

}

.srb-category-icon img{

    width:48px;

    height:48px;

    transition:.4s;

}

.srb-category-card:hover .srb-category-icon{

    background:var(--srb-primary);

    transform:rotate(8deg) scale(1.08);

}

.srb-category-card:hover .srb-category-icon img{

    transform:scale(1.15);

    filter:brightness(0) invert(1);

}

/*
==========================================
Category Text
==========================================
*/

.srb-category-card h3{

    font-size:22px;

    font-weight:700;

    color:#17324d;

    margin-bottom:10px;

    transition:.3s;

}

.srb-category-card span{

    color:#64748b;

    font-size:15px;

}

.srb-category-card:hover h3{

    color:var(--srb-primary);

}

/*
==========================================
View All Card
==========================================
*/

.srb-view-all{

    background:linear-gradient(135deg,var(--srb-primary),#13b5ea);

    color:#fff;

}

.srb-view-all h3,

.srb-view-all span{

    color:#fff;

}

.srb-view-all .srb-category-icon{

    background:rgba(255,255,255,.18);

    color:#fff;

    font-size:42px;

    font-weight:700;

}

.srb-view-all:hover{

    transform:translateY(-12px);

}

/*
==========================================
Responsive
==========================================
*/

@media(max-width:1200px){

    .srb-categories-grid{

        grid-template-columns:repeat(3,1fr);

    }

}

@media(max-width:991px){

    .srb-section-title{

        font-size:38px;

    }

    .srb-categories-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:576px){

    .srb-section-title{

        font-size:30px;

    }

    .srb-section-text{

        font-size:16px;

    }

    .srb-categories-grid{

        grid-template-columns:1fr;

    }

    .srb-category-card{

        padding:35px 25px;

    }

}