.myls-top-features-block .top-features-title {
    font-family: 'Sofia Pro Soft';
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    background: linear-gradient(90deg, #A00021 0%, #CC1221 47.92%, #CC3621 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 32px;
}

.myls-top-features-block .top-features-description {
    color: #000;
    font-family: 'Sofia Pro Soft';
    font-size: 60px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 83px;
}

.myls-top-features-block .feature-loop {
    display: grid;
    align-self: self-start;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 97px;
}

.myls-top-features-block .feature-item {
    display: flex;
    gap: 26px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background-color: #fff;
    padding: 56px 26px;
    height: auto;
    width: auto;
    max-height: 390px;
}

.myls-top-features-block .feature-item .feature-img {
    width: 57px;
    height: 57px;
    margin-bottom: 8px;
}

.myls-top-features-block .feature-item .feature-img img {
    width: inherit;
    height: inherit;
    object-fit: cover;
}

.myls-top-features-block .feature-item .feature-title{
    font-family: Sofia Pro Soft;
    font-size: 24px;
    font-weight: bold;
    line-height: 32.26px;
    text-align: left;
    color: black;
    margin: 0;
    line-height: normal;
    width: auto;
}

.myls-top-features-block .feature-item .feature-content {
    color: #000;
    font-family: 'Sofia Pro Soft';
    font-size: 24px;
    font-weight: 400;
    line-height: 1.34;
    width: auto;
}

.myls-top-features-block .swiper-button-prev, .myls-top-features-block .swiper-button-next{
    opacity: 0;
}

@media screen and (max-width: 1024px) {
    .myls-top-features-block .feature-loop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

/* Show Swiper only on mobile screens */
@media screen and (max-width: 768px) {
    .myls-top-features-block .swiper-button-prev, .myls-top-features-block .swiper-button-next{
        opacity: 1;
    }
    .myls-top-features-block .feature-loop {
        display: flex;
        gap: unset;
    }

    .myls-top-features-block .feature-item .feature-content {
        padding: 0 24px;
    }

    .myls-top-features-block .feature-item .feature-title{
        padding: 0 24px;
    }

    .myls-top-features-block .feature-item .feature-img {
        padding: 0 24px;
    }

    .myls-top-features-block .feature-item{
        min-height: unset;
        padding: 24px 0;
        border-radius: 20px;
        gap: 16px;
        height: 300px;
    }

    .myls-top-features-block .swiper-container {
        width: 100%;
        height: 100%;
    }
    .myls-top-features-block .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        transition: all 0.3s ease-in-out;
    }

    .myls-top-features-block .swiper-slide {
        transform: scale(.7) !important;
    }

    .myls-top-features-block .swiper-slide-active {
        transform: scale(1) !important;
    }

    .myls-top-features-block .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .top-features-pagination.swiper-pagination-bullets {
        left: 0;
        width: 100%;
    }
    .top-features-pagination.swiper-pagination-bullets {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        left: 0;
        top: auto;
        bottom: -32px !important;
    }
    .top-features-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
        display: inline-block;
        margin-left: 5px;
        margin-right: 5px;
        width: 23px;
        height: 8px;
        border-radius: 8px;
        opacity: 1;
        background: #ffffff;
        transition: all 0.3s ease;
    }
    .top-features-pagination.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active {
        width: 58px;
        height: 8px;
        background: linear-gradient(90deg, #A00021 0%, #CC1221 47.92%, #CC3621 100%);
    }
    .myls-top-features-block .top-features-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    .myls-top-features-block .top-features-description {
        font-size: 24px;
        line-height: 1;
        margin-bottom: 44px;
    }
    .swiper-slide.feature-item.swiper-slide-prev, .swiper-slide.feature-item.swiper-slide-active {
    margin-right: unset !important;
}
}