/*==================================
  Categories
==================================*/

.categories{

    padding:100px 0;

    background:#fff;

}

.categories .container{

    max-width:1300px;

    margin:auto;

    padding:0 20px;

}

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

.section-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:60px;

}

.section-header h2{

    font-size:42px;

    font-weight:800;

    color:#111827;

}

.section-header a{

    text-decoration:none;

    color:#111827;

    font-weight:700;

    transition:.3s;

}

.section-header a:hover{

    color:#FDBA12;

}

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

.categories__grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

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

.category-card{

    background:#fff;

    border-radius:24px;

    padding:30px 24px;

    text-align:center;

    text-decoration:none;

    border:1px solid #ececec;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    transition:.35s;

}

.category-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.10);

}

/*=====================
 Image
=====================*/

.category-card__image{

    width:140px;

    height:140px;

    margin:auto;

    margin-bottom:25px;

}

.category-card__image img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:50%;

    border:5px solid white;

    box-shadow:0 10px 25px rgba(0,0,0,.12);

}

/*=====================
 Title
=====================*/

.category-card h3{

    color:#111827;

    font-size:22px;

    margin-bottom:10px;

}

/*=====================
 Description
=====================*/

.category-card__description{

    color:#6b7280;

    font-size:15px;

    line-height:1.7;

    min-height:48px;

    margin-bottom:22px;

}

/*=====================
 Button
=====================*/

.category-card__button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:12px 22px;

    background:#FDBA12;

    color:#111827;

    border-radius:999px;

    font-weight:700;

    transition:.3s;

}

.category-card:hover .category-card__button{

    background:#111827;

    color:white;

}

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

@media(max-width:992px){

    .categories__grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .categories{

        padding:70px 0;

    }

    .section-header{

        flex-direction:column;

        gap:20px;

        text-align:center;

    }

    .section-header h2{

        font-size:34px;

    }

    .categories__grid{

        grid-template-columns:1fr;

    }

}