.membership-franchise-container {
    max-width: 1530px !important;
    width: 80vw;
    position: relative;
    margin: 120px 0;
}
.lesson-franchise-container {
    padding-bottom: 190px;
    margin-bottom: 0;
}
.membership-franchise-section {
    padding: 0;
    align-items: center;
    justify-items: center;
}

.membership-franchise-container .swiper-container {
    position: relative;
}

/* Membership Cards */
.membership-franchise-section .list-membership {
    padding-right: 200px;
    padding-bottom: 1px;
    max-width: 100vw;
    display: none;
}
.membership-franchise-section .swiper-center .list-membership {
    justify-content: center;
}
.membership-franchise-section .list-membership.active {
    display: flex;
}
.membership-franchise-section .membership-card {
    padding: 39px 31px 31px 31px;
    backdrop-filter: blur(16px) !important;
    color: #fff;
    position: relative;
    border-radius: 24px;
    border: 1px solid #F2F2F2;
    max-width: 490px;
    overflow: hidden;
    height: unset;
    display: flex;
    flex-direction: column;
}

.membership-franchise-section .membership-card .card-header {
    margin-bottom: 40px;
    display: flex;
    gap: 12px;
}

.membership-franchise-section .membership-card .card-logo {
    height: 80px;
    aspect-ratio: 1;
}

.membership-franchise-section .membership-card .card-type {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0;
}

.membership-franchise-section .membership-card .label-wrapper::before {
    padding: 14px 16px;
    border-radius: 4px 4px 4px 24px;
    box-shadow: 0px 4px 4px 0px #00000040;
    position: absolute;
    top: 0px;
    right: -0.5px;
    text-transform: uppercase;
    color: var(--b9-text-dark);
    font-weight: 700;
}

.membership-franchise-section .membership-card .label-wrapper.card_most_popular::before {
    content: 'Most Popular';
    background-color: #FFC108;
}

.membership-franchise-section .membership-card .label-wrapper.card_best_value::before {
    content: 'Best Value';
    background-color: var(--b9-primary-color);
}

.membership-franchise-section .membership-card .label-wrapper .label {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--b9-text-dark);
}

.membership-franchise-section .membership-card .title {
    font-family: Roboto Condensed, Sans-serif;
    font-weight: 900;
    font-style: Italic;
    font-size: 52px;
    line-height: 66px;
    margin: 0;
    text-transform: uppercase;
}

.membership-franchise-section .membership-card .introduction-text {
    font-weight: 700;
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 10px;
}

.membership-franchise-section .membership-card .package-info {
    display: grid;
}

.membership-franchise-section .membership-card .package-info ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.membership-franchise-section .membership-card .package-info ul li {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
    padding: 0.205px 0 0.205px 34px;
}

.membership-franchise-section .membership-card .package-info ul li::before {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: url('/assets/img/views/main/franchise/tick.svg') no-repeat center / contain;
    left: 0;
    top: 1px
}

.membership-franchise-section .membership-card .note {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.membership-section .membership-card .package-info img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.membership-franchise-section .membership-card .card-footer {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.membership-franchise-section .membership-card .card-footer .starting-at {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
}

.membership-franchise-section .membership-card .card-footer .price {
    font-weight: 900;
    font-size: 40px;
    line-height: 1.4;
}

.membership-franchise-section .membership-card .btn-join {
    background-color: var(--b9-primary-color);
    color: var(--b9-ebony);
    border-radius: 34px;
    font-weight: 500;
    line-height: 24px;
    font-size: 16px;
    padding: 12px 40.5px;
    box-shadow: 0px 4px 20px 0px #96CB394D;
    text-transform: uppercase;
}
.membership-franchise-section .membership-card .btn-join.active {
    background-color: var(--b9-white);
    color: var(--b9-primary-color);
}

.membership-franchise-section .membership-card .btn-join:hover {
    background-color: var(--b9-primary-hover);
    color: var(--b9-ebony);
    border-color: var(--b9-primary-hover);
}

/*  */
.membership-franchise-section .membership-card.corporate-card {
    padding-top: 32px;
    background-color: #11192180;
    border: 1px solid var(--b9-primary-color)
}

.membership-franchise-section .membership-card.corporate-card .card-footer {
    margin-top: 21px;
}

/*  */
.membership-franchise-section .membership-card.punchpass-card {
    padding-top: 32px;
    background: linear-gradient(0deg, rgba(150, 203, 57, 0.5), rgba(150, 203, 57, 0.5)), linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    border: 1px solid var(--b9-primary-color)
}
/*  */
.membership-franchise-section .membership-card.lesson-card {
    border: 1px solid #F2F2F2;
    background: #FFFFFF33;
}

.membership-franchise-section .membership-card.coaching-card {
    background: #11192180;
    border: 1px solid var(--b9-primary-color, #96CB39)
}

.membership-franchise-section .membership-card.coaching-card .description,
.membership-franchise-section .membership-card.coaching-card .lesson-group .lesson-description {
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 16px;
    margin: 0;
}

.membership-franchise-section .membership-card.coaching-card .lesson-type {
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 4px;
    margin: 16px 0 0 0;
}

/* swiper */
.membership-franchise-section .swiper-button-prev,
.membership-franchise-section .swiper-button-next {
    width: 60px;
    height: 60px;
    background: #FFFFFF33;
    border-radius: 46px;
    position: absolute;
    display: flex !important;
}
.membership-franchise-section .swiper-button-prev::after,
.membership-franchise-section .swiper-button-next::after {
    content: unset;
}

.membership-franchise-section .swiper-button-next {
    right: -90px;
    transform: translateY(-50%) rotate(180deg);
}

.membership-franchise-section .swiper-button-prev {
    left: -90px;
    transform: translateY(-50%)
}

.membership-franchise-section .swiper-pagination {
    width: 80px;
    height: 10px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #FFFFFF;
    left: 50%;
    top: calc(100% + 40px);
    transform: translateX(-50%);
    display: block !important;
}

.membership-franchise-section .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background-color: var(--b9-primary-color);
    border-radius: 999px;
}

.swiper-pagination {
    opacity: 1 !important;
    visibility: visible !important;
}

/* tabs */
.membership-tabs-wrapper {
    text-align: center;
}

.membership-tabs-container {
    position: relative;
    background: var(--b9-text-dark);
    border-radius: 80px;
    display: inline-flex;
    border: 1px solid #A1A4AF;
    margin-bottom: 40px;
}

.membership-tabs-container .membership-tabs {
    position: relative;
    display: flex;
    z-index: 2;
    margin: 0;
    gap: 10px;
}

.membership-tabs-container .membership-tabs .nav-link {
    position: relative;
    border-radius: 999px;
    padding: 0 24px;
    background: transparent;
    color: #A1A4AF;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    line-height: 60px;
}

.membership-tabs-container .membership-tabs .nav-link.active {
    color: var(--b9-text-dark);
    background: var(--b9-primary-color);
}

@media screen and (max-width: 999.98px) {
    .membership-franchise-container {
        width: calc(100% - 2 * 20px);
    }
    .membership-franchise-section .membership-card {
        width: calc(100vw - (2 * 40px));
        max-width: calc(100vw - (2 * 40px));
    }
}

/* Tablet Styles */
@media screen and (max-width: 768px) {
    .membership-franchise-container {
        width: 100%;
        margin: 40px 0;
    }
    .lesson-franchise-container {
        padding-bottom: 60px;
        margin-bottom: 0;
    }
    .membership-tabs-container {
        margin-bottom: 30px;
    }
    .membership-franchise-section h2.title {
        font-size: 32px;
        font-weight: 700;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    .membership-franchise-section .list-membership {
        width: 100vw;
        padding: 0 0 1px 0;
    }
    .membership-franchise-section .membership-card, 
    .membership-franchise-section .membership-card.punchpass-card {
        max-width: unset;
        /* min-width: 360px; */
        width: unset;
        padding: 16px;
        transform: scale(0.9);
    }
    .membership-franchise-container .membership-card.swiper-slide-active {
        transform: scale(1);
    }
    .membership-franchise-section .membership-card .card-header {
        margin-bottom: 24px;
    }
    .membership-franchise-section .membership-card .card-logo {
        height: 60px;
    }
    .membership-franchise-section .membership-card .card-type {
        font-size: 14px;
    }
    .membership-franchise-section .membership-card .label-wrapper {
        top: 20px
    }
    .membership-franchise-section .membership-card .title {
        font-size: 40px;
    }
    .membership-franchise-section .membership-card .label-wrapper .label {
        font-size: 16px;
    }
    .membership-franchise-section .membership-card .introduction-text {
        font-size: 16px;
    }
    .membership-franchise-section .membership-card .package-info ul li {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
    }
    .membership-franchise-section .membership-card .card-footer .price {
        font-size: 32px;
    }
    .membership-franchise-section .membership-card .btn-join {
        font-size: 16px;
    }

    .membership-franchise-section .membership-card .btn-join {
        height: 48px;
    }

    .membership-franchise-section .swiper-pagination {
        display: none;
    }

    .membership-franchise-section .membership-card.punchpass-card .card-footer {
        margin-top: 24px;
    }

    .membership-franchise-section .swiper-pagination {
        display: none !important;
    }
}

@media screen and (max-width: 400px) {
   .membership-franchise-section .membership-card {
        min-width: unset;
    }
}