.redslider-cc {
    display: flex;
    font-family: 'Heebo', sans-serif;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Slider container */
.slider50 {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 715px;
    margin: auto;
    overflow: hidden;
}

/* Individual slides */
.slide50 {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-align: center;
}

/* Make the first slide visible initially */
.slide50.active {
    opacity: 1;
    z-index: 1;
}

/* Image styling */
.slide50 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slide50content .caption {
    width: 100%;
    height: 50px;
    color: white;
    font-size: 30px;
    font-weight: 900;
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.slide50content:hover .caption {
    color: #F2FF61
}

.slide50content:hover .caption i {
    background-color: #F2FF61;
}

.slide50content .caption i {
    cursor: pointer;
    border-radius: 50px;
    width: 55px;
    height: 55px;
    background: #fff;
    text-align: center;
    color: #ff5166;
    line-height: 54px;
    margin-left: 10px;
}

/* Image container with background image */
.slide50content .slide50image {
    border-radius: 50px 0 0 50px;
    border: 20px solid rgba(255, 100, 118, 1);
    border-right-width: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 590px; /* Default height for desktop */
}


@media (max-width: 768px) {
    .redslider-cc {
        display: flex;
        font-family: 'Heebo', sans-serif;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        height: 340px;
    }

    /* Slider container */
    .slider50 {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 100%;
        margin: auto;
        overflow: hidden;
    }

    .slide50content .slide50image {
        border-radius: 18px 0 0 18px;
        border-color: rgba(255, 100, 118, 1);
        border-width: 9px 0 9px 9px;
        height: 276px; /* Height for mobile */
    }

    .slide50content .caption {
        text-align: right;
        font-size: 18px;
        padding-right: 20px;
    }


    .slide50content .caption i {
        cursor: pointer;
        border-radius: 50px;
        width: 40px;
        height: 40px;
        background: #fff;
        text-align: center;
        line-height: 40px;
        margin-left: 10px;
    }

}		