*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f7f7f7;
    font-family:'Manrope',sans-serif;
}

.card-section{
    width:min(1400px,92%);
    margin:40px auto;
}

.section-heading{
    text-align:center;
    margin-bottom:50px;
}

.section-heading h2{
    font-family:'Cormorant Garamond',serif;
    font-size:54px;
    font-weight:600;
    color:#222;
    margin-bottom:12px;
}

.section-heading p{
    max-width:700px;
    margin:auto;
    font-size:16px;
    color:#666;
    line-height:1.8;
}

.slider-container{
    position:relative;
}

.slider-wrapper{
    overflow-x:hidden;
    scroll-behavior:smooth;
}

.card-track{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 48px)/3);
    gap:24px;
    transition:transform .5s ease;
}

.card{
    flex:0 0 calc((100% - 48px)/3);
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.card img{
    width:100%;
    height:230px;
    object-fit:cover;
    display:block;
}

.card-content{
    padding:22px;
}

.card h3{
    font-family:'Cormorant Garamond',serif;
    font-size:34px;
    font-weight:600;
    margin-bottom:10px;
    color:#222;
}

.card p{
    font-family:'Manrope',sans-serif;
    color:#666;
    font-size:15px;
    line-height:1.7;
}

.nav-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:52px;
    height:52px;
    border:none;
    border-radius:50%;
    background:#fff;
    cursor:pointer;
    font-size:22px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    transition:.3s;
    z-index:10;
}

.nav-btn:hover{
    background:#222;
    color:#fff;
}

.left{
    left:-25px;
}

.right{
    right:-25px;
}

/* Tablet */

@media(max-width:992px){
    .card-track{
        grid-auto-columns:calc((100% - 24px)/2);
    }
}

@media(max-width:768px){
    .card-track{
        grid-auto-columns:100%;
    }
}

.section-heading h2{
    font-size:42px;
}

}

/* Mobile */


.section-heading h2{
    font-size:34px;
}

.section-heading p{
    font-size:15px;
}

.left{
    left:10px;
}

.right{
    right:10px;
}

}