/* =========================
   PRODUCTS SECTION
========================= */

.products{
    background:#f8fafc;
    padding:100px 0;
}

/* =========================
   SECTION HEADING
========================= */

.products span{
    letter-spacing:1px;
    text-transform:uppercase;
}

.products h2{
    font-weight:700;
    margin-top:10px;
}

/* =========================
   PRODUCT CARD
========================= */

.products .card{
    border:none !important;
    border-radius:20px;
    overflow:hidden;
    transition:all .35s ease;
    height:100%;
    background:#fff;
}

.products .card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

/* =========================
   PRODUCT IMAGE
========================= */

.product-img{
    width:100%;
    height:260px;
    object-fit:cover;
    object-position:center;
    display:block;
    transition:transform .4s ease;
}

.products .card:hover .product-img{
    transform:scale(1.05);
}

/* =========================
   CARD BODY
========================= */

.products .card-body{
    padding:25px;
    display:flex;
    flex-direction:column;
}

.products h4{
    font-size:1.4rem;
    font-weight:700;
    margin-bottom:15px;
    color:#111827;
}

.products p{
    color:#64748b;
    line-height:1.8;
    margin-bottom:20px;
}

/* =========================
   BUTTON FIX
========================= */

.products .btn{
    margin-top:auto;
    align-self:flex-start;
    border-radius:8px;
    padding:10px 20px;
}

/* =========================
   VIEW ALL BUTTON
========================= */

.products .btn-lg{
    padding:14px 34px;
    font-size:1rem;
    font-weight:600;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width:992px){

    .products{
        padding:80px 0;
    }

    .product-img{
        height:240px;
    }
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media (max-width:768px){

    .products{
        padding:70px 0;
    }

    .products h2{
        font-size:2rem;
    }

    .products h4{
        font-size:1.25rem;
    }

    .product-img{
        height:220px;
        object-position:center;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width:576px){

    .products{
        padding:60px 0;
    }

    .product-img{
        height:200px;
        object-position:center;
    }

    .products .card-body{
        padding:20px;
    }

    .products .btn{
        width:100%;
        text-align:center;
    }

    .products h2{
        font-size:1.8rem;
    }
}