.upcoming-events {
    background: #000002;
}

.upcoming-events-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px 121px 85px 121px;
}

.section-title {
    font-family: 'Baradig', sans-serif;
    font-weight: 700;
    font-size: 46px;
    color: #FFFFFF;
    text-align: left;
    margin-bottom: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    margin: 0;

}

.events-slider {
    position: relative;
    margin: 50px 0;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    gap: 20px;
}

.event-card {
    display: none;
    width: 335px;
    height: 335px;
    transition: all 0.3s ease;
    opacity: 0.7;
    flex-shrink: 0;
    transform: scale(0.85);
}

.event-card.visible {
    display: block;
}

.event-card.slide-active {
    width: 473px;
    height: 473px;
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.event-image {
    width: 100%;
    height: 100%;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.prev-slide,
.next-slide {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 26px;
    height: 13px;
}

.prev-slide {
    background-image: url('../images/kalacious-left-slider-button.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.next-slide {
    background-image: url('../images/kalacious-right-slider-button.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.5;
    border: none;
    cursor: pointer;
    padding: 0;
}

.dot.active {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .section-title {
        font-family: Baradig;
        font-weight: 700;
        font-size: 24px;
        line-height: 100%;
        letter-spacing: 0%;
        margin-bottom: 20px;
        color: #FC0146;
    }

    .upcoming-events-container {
        padding: 2.9375rem 2.1875rem;
    }

    .events-slider {
        margin: 20px 0;
    }

    .slider-wrapper {
        gap: 10px;
        justify-content: center;
        padding: 0 10px;
    }

    .event-card {
        width: 160px;
        height: 157px;
        margin: 0 5px;
        overflow: hidden;
    }

    .event-card.slide-active {
        width: 225px;
        height: 225px;
    }

    .slider-navigation {
        margin-top: 20px;
    }

    .prev-slide,
    .next-slide {
        width: 20px;
        height: 10px;
    }

    .slider-dots {
        gap: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}