.event-card {
    width: 400px;
    height: 300px;
    flex-shrink: 0;
    margin: 0 8px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.event-card img {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
    display: block;
}

.event-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.past-card-slide .card {
    width: 400px;
    height: 300px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.past-card-slide .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.progress-bar {
    transition: width 0.3s ease;
}

.arrow-btn {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 10;
}

@media (max-width: 576px){
    .past-card-slide .card {
    width: 290px;
    height: 230px;
}

.event-card {
    width: 290px;
    height: 230px;
}
}