
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f4f7fb;
}

/* SECTION */
.event-section{
    width:100%;
    padding:90px 20px;
    background:#f4f7fb;
    overflow:hidden;
}

/* TITLE */
.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title span{
    display:inline-block;
    background:#dbeafe;
    color:#2563eb;
    padding:8px 18px;
    border-radius:30px;
    font-size:14px;
    font-weight:700;
    margin-bottom:18px;
}

.section-title h2{
    font-size:48px;
    color:#111827;
    margin-bottom:18px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:#555;
    line-height:1.8;
    font-size:17px;
}

/* SLIDER */
.event-slider{
    width:100%;
    overflow:hidden;
    position:relative;
}

.event-track{
    display:flex;
    gap:25px;
    width:max-content;
    animation:scrollLeft 25s linear infinite;
}

/* PAUSE ON HOVER */
.event-slider:hover .event-track{
    animation-play-state:paused;
}

/* CARD */
.event-card{
    width:350px;
    background:white;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
    flex-shrink:0;
}

.event-card:hover{
    transform:translateY(-8px);
}

/* IMAGE */
.event-image{
    height:230px;
    overflow:hidden;
}

.event-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s;
}

.event-card:hover img{
    transform:scale(1.08);
}

/* CONTENT */
.event-content{
    padding:25px;
}

.event-content span{
    display:inline-block;
    color:#2563eb;
    font-size:14px;
    font-weight:700;
    margin-bottom:12px;
}

.event-content h3{
    font-size:24px;
    color:#111827;
    margin-bottom:15px;
}

.event-content p{
    color:#555;
    line-height:1.7;
    font-size:15px;
}

/* ANIMATION */
@keyframes scrollLeft{

    0%{
        transform:translateX(0);
    }

    100%{
        transform:translateX(-50%);
    }
}

/* RESPONSIVE */
@media(max-width:768px){

    .section-title h2{
        font-size:34px;
    }

    .section-title p{
        font-size:15px;
    }

    .event-card{
        width:280px;
    }

    .event-image{
        height:190px;
    }

    .event-content h3{
        font-size:20px;
    }
}
