@media (max-width: 767px) {

    .m-slider {
        position: relative;
        height: 490px;
        padding: 30px 20px;
        overflow: hidden;
        font-family: "Inter", Arial, sans-serif;
        width: 100%;
    }

    .m-slider__bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        transition: 0.5s ease;
        filter: brightness(0.6);
    }

    .m-slider__content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .m-slider__title {
        font-family: "Inter";
        margin-bottom: 15px;
        font-size: 45px;
        font-weight: 600;
        color: #fff;
        line-height: 1.1;
    }

    .m-slider__buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
    }

    .m-btn {
        font-family: "Inter";
        text-transform: none !important;
        border: none;
        border-radius: 50px;
        padding: 7px 10px !important;
        background: #fff !important;
        color: #000;
        font-size: 18px !important;
        font-weight: 500 !important;
        cursor: pointer;
        transition: 0.3s;
    }

    .m-btn.active {
        background: #FDD441 !important;
    }
    .m-btn:hover {
        color: #000;
    }

    .m-slider__card {
        margin-top: auto;

        min-width: 50%;
        max-width: 280px;

        background: #fff;
        padding: 15px;
        border-radius: 15px;
        position: relative;

        transition: 0.3s ease;
    }

    .m-card__icon {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .m-card__icon img {
        width: 24px;
        height: 24px;
        display: block;
    }

    .m-card__text {
        margin-top: 40px;
        font-size: 18px;
        font-weight: 500;
        color: #171717;
        line-height: 1.35;
    }

    .m-card__text,
    .m-card__icon {
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .m-slider__card.fade-out .m-card__text,
    .m-slider__card.fade-out .m-card__icon {
        opacity: 0;
        transform: translateY(10px);
    }

    .m-slider__card.fade-in .m-card__text,
    .m-slider__card.fade-in .m-card__icon {
        opacity: 1;
        transform: translateY(0);
    }

}