/*=====================================
CATEGORY
=====================================*/

.categories{
    padding:70px 0;
    background:#f7f7f9;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title span{
    display:inline-block;
    color:#D10024;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:12px;
}

.section-title h2{
    font-size:42px;
    font-weight:800;
    color:#15161D;
    margin-bottom:15px;
}

.section-title p{
    color:#777;
    font-size:17px;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:25px;
}

.category-card{
    background:#fff;
    border-radius:18px;
    padding:25px;
    text-align:center;
    text-decoration:none;
    transition:.35s;
    border:1px solid #ececec;
    overflow:hidden;
    position:relative;
}

.category-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.08);
    border-color:#D10024;
}

.category-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:#D10024;
    transform:scaleX(0);
    transition:.35s;
}

.category-card:hover::before{
    transform:scaleX(1);
}

.category-image{
    width:120px;
    height:120px;
    margin:0 auto 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f8f8f8;
}

.category-image img{
    max-width:90px;
    max-height:90px;
    object-fit:contain;
    transition:.35s;
}

.category-card:hover .category-image img{
    transform:scale(1.08);
}

.category-content h3{
    font-size:20px;
    font-weight:700;
    color:#15161D;
    margin-bottom:8px;
}

.category-content span{
    color:#888;
    font-size:14px;
}

/*=====================================
TABLET
=====================================*/

@media(max-width:1199px){

.category-grid{
    grid-template-columns:repeat(4,1fr);
}

}

@media(max-width:991px){

.categories{
    padding:60px 0;
}

.category-grid{
    grid-template-columns:repeat(3,1fr);
}

.section-title h2{
    font-size:34px;
}

}

/*=====================================
MOBILE
=====================================*/

@media(max-width:576px){

.categories{
    padding:45px 0;
}

.category-grid{
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.category-card{
    padding:18px;
}

.category-image{
    width:85px;
    height:85px;
}

.category-image img{
    max-width:60px;
    max-height:60px;
}

.category-content h3{
    font-size:16px;
}

.category-content span{
    font-size:13px;
}

.section-title h2{
    font-size:28px;
}

.section-title p{
    font-size:15px;
}

}
