
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;

 
}

.cate-sec {
    display: grid;
 
    max-width: 1320px;
    margin: 0 auto;
    
}

.card {
    position: relative;
    width: 100%;
    height: 350px !important;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-align: center !important;
    border-radius: 15px !important;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); */
    cursor: pointer;
   
    transition: transform 0.4s ease;
    /* background: rgba(0, 0, 0, 0.7); */
}
  /* the slides */
  .slick-slide {
    margin: 0 7px;
}
/* the parent */
.slick-list {
    margin: 0 -7px;
}
.card-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 999 !important;
    color: #fff;
    padding: 1rem;
    height: 60px;
    /* Initial height for title only */
    transition: all 0.4s ease;
}

.card img {
    filter: brightness(.7) !important;
   height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 14px;
}
.card:hover .card-content {
    height: 160px;
    /* expand to reveal extra content */
    transform: translateY(-30px);
    /* move up with title */
}
.title {
    font-size: 1.2rem;
    font-weight: bold;
}
.extra {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    margin-top: 1rem;
}
.card:hover .extra {
    opacity: 1;
    transform: translateY(0);
}
.copy {
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
    color:#fff;
}
.cate-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    background: #fff !important;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
}
.cate-btn:hover {
    background: #ddd;
    color: #000;
}

@media(max-width:500px)
{
    .title{
        font-size: 1rem;
    }
}
