#slider {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 1080px;
    overflow: hidden;
}

.slider-inner {
    width: 100%;
    height: 100%;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    display: flex;
    height: 100%;
}

.swiper-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

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

.swiper-slide-bg {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
}

.swiper-slide-bg.desktop { display: block; }
.swiper-slide-bg.mobile { display: none; }

@media (max-width: 767px) {
    .swiper-slide-bg.desktop { display: none; }
    .swiper-slide-bg.mobile { display: block; }
}

#slider .slider-arrow-left,
#slider .slider-arrow-right {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(255 255 255 / 30%);
    border: rgb(255 255 255 / 30%);
    border-radius: 50%;
    cursor: pointer;
    z-index: 30;
    pointer-events: auto;
}

#slider .slider-arrow-left { left: 16px !important; right: auto !important; }
#slider .slider-arrow-right { right: 16px !important; left: auto !important; }

#slider .slider-arrow-left i,
#slider .slider-arrow-right i { display: none; }

#slider .slider-arrow-left::before,
#slider .slider-arrow-right::before {
    display: block;
    font-size: 28px;
    color: #fff;
    line-height: 1;
}
#slider .slider-arrow-left::before { content: '‹'; }
#slider .slider-arrow-right::before { content: '›'; }

#slider .slider-arrow-left:hover,
#slider .slider-arrow-right:hover { background-color: rgba(0, 0, 0, 0.6); }

@media (max-width: 767px) {
    #slider {
        width: 100%;
        height: 655px;
        max-height: 655px;
    }

    .swiper-slide-bg {
        background-size: cover;
    }
}

@media (min-width: 768px) {
    #slider {
        width: 100%;
        height: 100vh;
        max-height: 1080px;
    }

    .swiper-slide-bg {
        background-size: cover;
    }
}

#slider {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.slider-inner {
    overflow: hidden;
}

.swiper-slide-bg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
}

.swiper-slide-bg.desktop { display: block; }
.swiper-slide-bg.mobile { display: none; }

@media (max-width: 767.98px) {
    #slider {
        aspect-ratio: 500 / 655;
    }
    .swiper-slide-bg.desktop { display: none; }
    .swiper-slide-bg.mobile { display: block; }
}

@media (min-width: 768px) {
    #slider {
        aspect-ratio: 16 / 9;
    }
    .swiper-slide-bg.desktop { display: block; }
    .swiper-slide-bg.mobile { display: none; }
}

.slider-feature .row > [class^="col-"],
.slider-feature .row > [class*=" col-"] {
    display: flex;
}

.slider-feature .card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    height: 100%;
}

.slider-feature .card-body {
    width: 100%;
    padding: 0.9rem 1rem;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.slider-feature .card:hover {
    transform: translateY(-3px);
    background-color: #862066;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

@media (max-width: 991.98px) {
    .slider-feature .col-md-3 {
        flex: 0 0 45%;
        max-width: 45%;
        margin-bottom: 10px;
    }
}

@media (max-width: 767.98px) {
    .slider-feature .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .slider-feature .card-body {
        min-height: 60px;
    }
}
