
.stylish-wrapper{
    background:#e7e1e7;
    border-radius:10px;
    padding:40px 0;
}

.col-five{
    /* flex:0 0 20%;
    max-width:20%;
    padding:0 8px; */

    position: relative;
    width: 100%;
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 8px;
}

.style-card{
    position:relative;
    height:450px;
    border-radius:10px;
    overflow:hidden;
    cursor:pointer;
    background:#fff;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.style-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.style-card:hover img{
    transform:scale(1.05);
}

.style-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px;
    background:linear-gradient(
        transparent,
        rgba(0,0,0,.85)
    );
}

.style-overlay h5{
    color:#fff;
    font-size:18px;
    font-weight:700;
    margin-bottom:4px;
}

.style-overlay p{
    color:#ddd;
    font-size:13px;
    margin:0;
}

.stylishCard-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#fff;
    border:1px solid #fff;
    border-radius:20px;
    padding:6px 14px;
    font-size:12px;
    font-weight:600;
    transition:.3s;
}

.style-btn:hover{
    background:#fff;
    color:#111;
}

@media (min-width:1200px){
    .custom-five{
        width:20%;
    }
}
@media (max-width:576px){

    .custom-five{
        flex: 0 0 50%;
        max-width: 50%;
        padding: 5px;
    }

    .style-card{
        height: 264px; 
        border-radius: 4px;
    }

    .style-overlay{
        padding: 6px;
    }

    .style-overlay h5{
        font-size: 12px;
        margin-bottom: 2px;
    }

    .style-overlay p{
        font-size: 10px;
    }

    .stylishCard-btn{
        display: none;
    }
}

/*for 6 bottom cards*/

.budget-wrapper{
    background:#e7e1e7;
    border-radius:10px;
    padding:40px 0;
}

/* 6 Cards */
.col-bsix{
    flex:0 0 16.666667%;
    max-width:16.666667%;
    padding:0 3px;
}

.budget-card{
    position:relative;
    height:420px;
    border-radius:10px;
    overflow:hidden;
    cursor:pointer;
    background:#fff;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.budget-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.budget-card:hover img{
    transform:scale(1.05);
}

.budget-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px;
    background:linear-gradient(transparent,rgba(0,0,0,.85));
}

.budget-overlay h5{
    color:#fff;
    font-size:18px;
    font-weight:700;
    margin-bottom:4px;
}

.budget-overlay p{
    color:#ddd;
    font-size:13px;
    margin:0;
}

.budget-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#fff;
    border:1px solid #fff;
    border-radius:20px;
    padding:6px 14px;
    font-size:12px;
    font-weight:600;
    transition:.3s;
}

.budget-btn:hover{
    background:#fff;
    color:#111;
}

/* Large Desktop - 6 Cards */
@media (max-width:1400px){
    .col-bsix{
        flex:0 0 20%;
        max-width:20%;
    }

    .budget-card{
        height:390px;
    }
}

/* Desktop - 5 Cards */
@media (max-width:1200px){
    .col-bsix{
        flex:0 0 25%;
        max-width:25%;
    }

    .budget-card{
        height:360px;
    }
}

/* Tablet - 3 Cards */
@media (max-width:992px){
    .col-bsix{
        flex:0 0 33.3333%;
        max-width:33.3333%;
    }

    .budget-card{
        height:320px;
    }
}

/* Mobile - 2 Cards */
@media (max-width:768px){
    .budget-wrapper{
        padding:25px 10px;
    }

    .col-bsix{
        flex:0 0 50%;
        max-width:50%;
        padding:8px;
    }

    .budget-card{
        height:260px;
    }

    .budget-overlay{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .budget-btn{
        width:100%;
        justify-content:center;
    }
}

/* Small Mobile - 1 Card */
@media (max-width:576px){
    .col-bsix{
        flex:0 0 100%;
        max-width:100%;
    }

    .budget-card{
        height:300px;
    }
}