/* standalone css */

#homePromotionIndicator {
    margin-top: 10px;
    padding: 30px 0;

    .home-promotion-listing {
        padding: 35px;

        .promotion-item {
            background: $lightOrange;
            background-size: contain !important;
            background-position: 100% center !important;
            background-repeat: no-repeat !important;
            padding: 40px;
            border-radius: 16px !important;
            box-shadow: 0px 4px 30px 0px rgba(216, 46, 0, 0.3);
            opacity: 0;
            transition: all 0.3s ease-in;

            @media (max-width: 1199px) {
                background-position: 100% center !important;
            }

            @media (max-width: 991px) {
                background-position: 360% center !important;
            }

            @media (max-width: 768px) {
                background: $lightOrange !important;
            }

            @media (max-width: 767px) {
                padding: 20px;
            }

            &.active {
                opacity: 1;
            }

            .promotion-item-content {
                width: 50%;

                @media (max-width: 768px) {
                    width: 100%;
                }

                .label {
                    border-radius: 4px !important;
                    background: linear-gradient(93deg, $orange 0%, $cobaltBlue 102.1%);
                    padding: 5px 15px;
                    display: inline-block;

                    color: $white;
                    text-align: center;
                    font-family: $roboto;
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 600;
                    line-height: 20px;
                    margin-bottom: 22px;
                }

                .title {
                    color: $black;
                    font-family: $hkGroteskWide;
                    font-size: 24px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 32px;
                    text-transform: uppercase;
                    margin-bottom: 12px;

                    @media (max-width: 767px) {
                        font-size: 20px;
                    }
                }

                .timeline {
                    color: $greyDark;
                    font-family: $roboto;
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 24px;
                    margin-bottom: 16px;
                    display: flex;
                    align-items: center;

                    svg {
                        margin-right: 10px;
                    }
                }

                .description {
                    color: $greyDark;
                    font-family: $roboto;
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 24px;
                }

                .tnc {
                    color: $greyBase;
                    font-family: $roboto;
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 20px;
                    margin-top: 12px;
                }
            }

            .promotion-mobile-bg {
                display: none;
                margin: 20px -40px -40px;

                @media (max-width: 768px) {
                    display: block;
                }

                @media (max-width: 767px) {
                    margin: 24px -20px -20px;
                }

                img {
                    width: 100%;
                    border-radius: 0 0 16px 16px !important;
                }
            }
        }
    }

    .carousel {
        margin: -35px;

        .carousel-control-prev {
            left: -25px;
            width: auto;
            opacity: 1;
            transition: all 0.3s ease-in-out;

            &:hover {
                left: -30px;
            }
        }

        .carousel-control-next {
            right: -25px;
            width: auto;
            opacity: 1;
            transition: all 0.3s ease-in-out;

            &:hover {
                right: -30px;
            }
        }

        .carousel-control-prev-icon {
            // background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%231800e7' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cg clip-path='url(%23clip0_4821_3561)'%3E%3Cpath d='M19 2.82L16.1457 0L4 12L16.1457 24L19 21.18L9.72874 12L19 2.82Z' fill='%231800E7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_4821_3561'%3E%3Crect width='24' height='24' fill='white' transform='matrix(-1 0 0 -1 24 24)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        }

        .carousel-control-next-icon {
            // background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%231800e7' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cg clip-path='url(%23clip0_4821_5742)'%3E%3Cpath d='M5 21.18L7.85425 24L20 12L7.85425 0L5 2.82L14.2713 12L5 21.18Z' fill='%231800E7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_4821_5742'%3E%3Crect width='24' height='24' fill='white' transform='matrix(-1 0 0 -1 24 24)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        }

        .carousel-indicators {
            position: relative;
            margin-top: 20px;

            li {
                background-color: #d1ccfa;
                opacity: 1;
                width: 6px;
                height: 6px;
                border-radius: 50px !important;
                transition: all 0.3s ease-in;
                border: none;

                &.active {
                    background-color: $cobaltBlue;
                    width: 24px;
                }
            }
        }
    }
}

/** Inner Page Static Banner **/
.innerHeroBanner {
    background-color: #fff;
    background-image: url(https://unifi.com.my/sites/default/files/page/revamp/innerbanner_bg_lg.png);
    background-repeat: no-repeat;
    background-size: 100% 380px;
    min-height: 380px;

    @media screen and (min-width: 1981px) {
        background-image: url(https://unifi.com.my/sites/default/files/page/revamp/innerbanner_bg_xl.png);
    }

    @media screen and (max-width: 991px) {
        background-image: url(https://unifi.com.my/sites/default/files/page/revamp/innerbanner_bg_md.png);
    }

    @media screen and (max-width: 767px) {
        background-image: url(https://unifi.com.my/sites/default/files/page/revamp/innerbanner_bg_sm.png);
    }

    .floating {
        transform: translatey(0px);
        animation: float 3s ease-in-out infinite;

        img {
            width: 100%;
            height: auto;
        }
    }

    @keyframes float {
        0% {
            transform: translatey(0);
        }

        50% {
            transform: translatey(-1%);
        }

        100% {
            transform: translatey(0);
        }
    }

    .container {
        display: flex;
        flex-direction: row;
        height: 100%;
        align-items: center;
        justify-content: space-between;
        padding-top: 1rem;
        gap: 16px;
        min-height: 320px;

        @media screen and (min-width: 1981px) {
            min-height: unset;
        }

        .hero {
            flex: 1;
            max-width: 514px;

            img,
            .img {
                width: auto;
                max-width: 100%;
            }

            @media screen and (max-width: 767px) {
                max-width: 342px;
            }
        }

        .info {
            flex: 1.3;

            .title {
                color: #fff;
                /* font-family: "Roboto"; */
                font-family: "HK-Grostek-Wide";
                font-weight: 600;
                font-size: 42px;
                line-height: 45px;
                letter-spacing: 0%;
                vertical-align: middle;
                /* text-transform: unset; */

                @media screen and (max-width: 767px) {
                    text-align: center !important;
                }
            }

            .copy {
                margin-top: 8px;
                font-family: "Roboto";
                font-weight: 400;
                font-size: 20px;
                line-height: 28px;
                text-transform: unset;
                color: #fff;
                margin-bottom: 1rem;
                font-family: "Roboto" !important;
                font-weight: 400 !important;
                font-size: 18px !important;
                line-height: 24px !important;
                letter-spacing: 0% !important;
            }
        }

        @media screen and (max-width: 768px) {
            flex-direction: column;
            padding: 40px 12px 0 12px;

            .info {
                text-align: center;
                gap: 40px;

                .title {
                    br {
                        display: none;
                    }
                }
            }
        }

        @media screen and (max-width: 767px) {
            flex-direction: column;
            padding: 40px 12px 0 12px;

            .info {
                text-align: center;
                gap: 40px;

                .title {
                    font-family: "Roboto" !important;
                    font-weight: 700 !important;
                    font-size: 32px !important;
                    line-height: 32px !important;
                    letter-spacing: 0% !important;
                    text-align: center !important;
                    vertical-align: middle !important;

                    br {
                        display: block;
                    }
                }

                .copy {
                    font-family: "Roboto" !important;
                    font-weight: 400 !important;
                    font-size: 16px !important;
                    line-height: 100% !important;
                    letter-spacing: 0% !important;
                    text-align: center !important;

                    br {
                        display: none;
                    }
                }
            }
        }
    }
}

/** Inner Page Static Banner End **/

#faq-accordion {
    & .card {
        margin-bottom: 20px;
        border-radius: 16px !important;
        background: #ffffff;
        border: none;
        box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease-in-out;

        & .card-header {
            border: none;
            background: #ffffff;
            padding: 18px 24px;
            border-radius: 16px !important;

            & .btn {
                width: 100%;
                color: black;
                font-family: "Roboto";
                font-size: 20px;
                font-style: normal;
                font-weight: 600;
                line-height: 28px;
                text-align: left;
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 0;
                text-decoration: none !important;
                position: relative;
                padding-right: 30px;
            }

            & .btn:after {
                content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cg clip-path='url(%23clip0_4408_902)'%3E%3Cpath d='M19 13H5V11H19V13Z' fill='%231800E7'/%3E%3Cpath d='M13 5V19H11V5H13Z' fill='%231800E7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_4408_902'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
                width: 24px;
                height: 24px;
                position: absolute;
                right: 0;
                top: 0;
            }
        }

        &.active {
            & .card-header {
                & .btn {
                    color: #1800e7;
                }

                & .btn:after {
                    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cg clip-path='url(%23clip0_4408_3128)'%3E%3Cpath d='M19 13H5V11H19V13Z' fill='%231800E7'/%3E%3Cpath d='M19 13H5V11H19V13Z' fill='%231800E7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_4408_3128'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
                    width: 24px;
                    height: 24px;
                    position: absolute;
                    right: 0;
                    top: 0;
                }
            }
        }
    }
}

.component {
    &.button-arrow {
        background: #1800e7;
        position: relative;
        overflow: hidden;
        border-radius: 32px !important;
        display: inline-flex;
        align-items: center;
        font-family: "Roboto";
        font-weight: 600;
        font-size: 16px;
        line-height: 26px;
        text-transform: unset;
        background-position-y: 0;
        background-position-x: 85%;
        padding: 0 25px;
        height: 50px;

        &::active {
            background-color: red !important;
        }

        &.btn-block {
            width: 100% !important;
        }

        &::before {
            background: #fff;
            content: " ";
            position: absolute;
            top: 0;
            height: 100%;
            width: 50px;
            z-index: 0;
            right: 44px;
        }

        &::after {
            content: " ";
            position: absolute;
            top: -1px;
            height: 100%;
            border-top: 27px solid transparent;
            border-bottom: 27px solid transparent;
            border-left: 15px solid #fff;
            z-index: 1;
            right: 30px;
        }

        &:hover {
            & div {
                transform: translateX(-50%);

                & ::before {
                    background: url(https://unifi.com.my/sites/default/files/page/revamp/primary-btn-fg.png) no-repeat right center;
                }
            }
        }

        & div {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            height: 100%;
            color: #fff;
            position: relative;
            padding: 0 20px;
            transition: 0.5s ease;
            pointer-events: none;
            z-index: 2;
            width: 100%;
            justify-content: center;
            left: 50%;
            transform: translateX(calc(-50% - 15px));

            &::before {
                content: "";
                background: url(https://unifi.com.my/sites/default/files/page/revamp/primary-btn-fg-shadow.png) no-repeat right center;
                background-size: cover !important;
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                display: block;
                z-index: -1;
                transition: all 0s 0.1s linear;
            }
        }
    }
}

.component {
    &.sub-menu-container {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
        flex: 1;

        & .menu-button {
            display: flex;
            border: 2px solid transparent;
            border-radius: 16px !important;
            align-items: center;
            justify-content: center;
            padding: 15px 0px;
            flex: 1;
            box-sizing: border-box;
            font-family: "Roboto";
            font-weight: 600;
            font-size: 18px;
            line-height: 100%;
            letter-spacing: 0%;
            text-align: center;
            background-color: inherit;

            &.active {
                background: linear-gradient(white, white) padding-box,
                    linear-gradient(180deg, #ff9633 0%, #ff4f1f 100%) border-box;
                color: #ff5e00;
                background-color: white;
            }
        }
    }
}

.component {
    &.table-container {
        & .text-white {
            color: unset !important;
        }

        display: flex;
        margin: unset !important;
        flex-flow: column nowrap;
        border-radius: 16px !important;
        width: 100%;
        margin: 0 auto;
        border-radius: 4px;
        border: 1px solid #e6e6e6;

        & .table-row {
            display: flex;
            flex-flow: row nowrap;
            width: 100%;
            border-bottom: 1px solid #e6e6e6;

            & .border-right {
                border-right: 1px solid #e6e6e6;
            }

            & .border-bottom {
                border-bottom: 1px solid #e6e6e6;
            }

            &:last-child {
                border-bottom: 0;
            }

            & .row-item {
                display: flex;
                flex: 1;
                font-size: 14px;
                justify-content: left;
                align-items: center;
                transition: all 0.15s ease-in-out;
                font-weight: 600;
                line-height: 100%;
                flex: 1 1 auto;

                @media (max-width: 768px) {
                    flex-direction: column;
                }
            }

            & .row-item-col {
                display: flex;
                flex: 1;
                font-size: 18px;
                /* padding: 8px 0; */
                justify-content: center;
                align-items: center;
                transition: all 0.15s ease-in-out;
                flex-direction: column;
                font-weight: 700;
                line-height: 20px;
                letter-spacing: 0%;

                @media (max-width: 768px) {
                    font-family: "HK-Grostek-Wide";
                    font-weight: 700;
                    font-size: 14px;
                    line-height: 18px;
                    letter-spacing: 0%;
                    text-align: center;
                }

                & .pricing {
                    font-family: "Roboto";
                    font-weight: 400;
                    font-size: 18px;
                    line-height: 20px;
                    letter-spacing: 0%;
                    text-align: center;
                }
            }

            & .row-sub-container {
                display: flex;
                flex-flow: column nowrap;
                flex: 1;
            }

            & .row-sub-container-row {
                display: flex;
            }

            & .limit-width {
                display: flex;
                max-width: 308px !important;
                min-width: 146px !important;
                white-space: nowrap;
                width: 100%;
                justify-content: center;

                @media (max-width: 768px) {
                    max-width: 146px !important;
                    min-width: 146px !important;
                    font-size: 12px !important;
                    white-space: wrap;
                }
            }
        }

        & .plan {
            font-family: "Roboto";
            font-weight: 500;
            font-size: 14px;
            line-height: 100%;
            letter-spacing: 0%;
        }

        & .main-sub {
            font-family: "HK-Grostek-Wide";
            font-weight: 700;
            font-size: 16px;
            line-height: 100%;
            letter-spacing: 0%;
            background-color: #1300b2;
            color: white;

            & .border-right {
                border-color: #1300b2;
            }
        }

        & .main-header {
            padding: 11px 0px 11px 0px;
            background-color: #0f0092;
            color: white;
        }

        & .sub-header {
            padding: 13px 0px 12px 0px;
            font-family: "Roboto" !important;
            background-color: #1800e7;
            color: white !important;
            font-weight: 500 !important;
            font-size: 14px;
            line-height: 18px;
            letter-spacing: 0%;
        }

        & .sub-plan {
            padding: 6px 0px 6px 16px;
            background-color: #ff5e00;
            color: white;
            min-height: 30px;
        }

        & .text-bundle {
            padding: 10px 0px 9px 0px;
        }

        & .text-plan-name {
            padding-left: 13px;
            font-weight: 500;
            font-size: 14px;
            line-height: 100%;
            letter-spacing: 0%;

            @media (max-width: 768px) {
                padding-left: 9px;
                padding-top: 10px;
                padding-bottom: 10px;
            }
        }

        & .text-bundle {
            @media (max-width: 768px) {
                /* padding-left: 5px;
        padding-right: 5px; */
            }
        }

        & .table-row>.row-item:not(:nth-child(1)),
        .row-sub-container-row>.row-item {
            max-width: 120px;
            width: 100%;
            color: #1800e7;
            font-family: "HK-Grostek-Wide";
            font-weight: 700;
            font-size: 12px;
            line-height: 100%;
            letter-spacing: 0%;
            text-align: center;
        }

        & .table-row>.row-item:nth-child(2)>p {
            font-family: "Roboto";
            color: #808080;
            font-weight: 400;
            font-size: 12px;
            line-height: 100%;
            letter-spacing: 0%;
            text-decoration: line-through;
        }
    }
}

.component.bg-bottom-curve {
    /* max-width: 1440px; */
    width: 100%;
    position: absolute;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    bottom: 50px;
    height: 520px;
    background-image: url("https://unifi.com.my/sites/default/files/page/assets/revamp/mobile-postpaid/bottomcurve_2560px.png");

    @media (max-width: 2820px) {}

    @media (max-width: 1440px) {
        content: url(https://unifi.com.my/sites/default/files/page/assets/revamp/mobile-postpaid/bottomcurve_1440px.png);
    }

    @media (max-width: 1280px) {
        content: url(https://unifi.com.my/sites/default/files/page/assets/revamp/mobile-postpaid/bottomcurve_2560px.png);
        content: auto !important;
    }

    @media (max-width: 1080px) {}

    @media (max-width: 768px) {
        content: url(https://unifi.com.my/sites/default/files/page/assets/revamp/mobile-postpaid/bottomcurve_768px.png);
    }

    @media (max-width: 375px) {
        content: url(https://unifi.com.my/sites/default/files/page/assets/revamp/mobile-postpaid/bottomcurve_375px.png);
    }
}

/* bottom banner footer */
.top-footer {
    margin-bottom: 0px !important;
    background-image: url(https://unifi.com.my/sites/default/files/page/assets/revamp/mobile-postpaid/app_bg_xl.png);
    background-size: auto;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 100px;

    @media (max-width: 1980px) {
        background-image: url(https://unifi.com.my/sites/default/files/page/assets/revamp/mobile-postpaid/app_bg_lg.png);
        background-size: cover;
    }

    @media (max-width: 1023px) {
        background-image: url(https://unifi.com.my/sites/default/files/page/assets/revamp/mobile-postpaid/app_bg_md.png);
    }

    @media (max-width: 767px) {
        background-image: url(https://unifi.com.my/sites/default/files/page/assets/revamp/mobile-postpaid/app_bg_sm.png);
        // padding-top: 150px;
    }

    .divider {
        display: block;
        width: 100%;
        height: 100px;
        margin: 0;
        padding: 0;

        @media screen and (min-width: 1981px) {
            height: 120px;
        }

        @media screen and (max-width: 768px) {
            height: 60px;
        }
    }

    .container {
        @media screen and (max-width: 768px) {
            padding-bottom: 0;
            padding-left: 0;
            padding-right: 0;
            padding-top: 0;
        }
    }

    .tab-content {
        margin-top: 0;
        z-index: 1;
        position: relative;

        @media screen and (max-width: 1023px) {
            margin-top: 0;
            padding-top: 30px;
        }

        @media screen and (max-width: 768px) {
            margin-top: 0;
            padding-top: 0px;
        }

        .tab-pane {
            transition: 0.1s ease-in-out;

            .container {
                display: flex;
                flex-direction: row;
                gap: 40px;
                height: 100%;

                @media screen and (max-width: 768px) {
                    flex-direction: column;
                    padding-bottom: 0;
                    padding-top: 26px;

                    p {
                        text-align: left;
                    }

                    .btn_holder {
                        a {
                            display: inline-block;
                            margin-bottom: 0.5rem;
                        }
                    }
                }

                @media screen and (max-width: 767px) {
                    padding-left: 24px;
                    padding-right: 24px;
                }

                @media screen and (max-width: 376px) {
                    padding-left: 12px;
                    padding-right: 12px;
                }

                .hero {
                    flex: 1;

                    img {
                        width: auto;
                        max-width: 100%;
                        display: inline-block;
                        max-width: 360px;

                        @media screen and (max-width: 768px) {
                            max-width: 350px;
                        }
                    }

                    @media screen and (max-width: 768px) {
                        text-align: center;
                    }
                }

                .info {
                    flex: 1.2;
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    align-items: flex-start;
                    justify-content: center;

                    .title {
                        margin-top: 0.5rem;
                        margin-bottom: 1rem;
                        max-width: 475px;
                        color: #fff;
                    }

                    .copy {
                        margin-bottom: 1.5rem;
                        max-width: 475px;
                        color: #fff;
                    }

                    .btn_holder {
                        display: flex;
                        flex-direction: row;
                        flex-wrap: wrap;
                        gap: 12px;
                    }

                    @media screen and (max-width: 768px) {

                        .copy,
                        .title {
                            max-width: unset;
                        }
                    }
                }
            }
        }
    }

    .nav-pills {
        position: relative;
        z-index: 2;
        display: flex !important;
        box-sizing: border-box;
        flex-wrap: nowrap;

        &::-webkit-scrollbar-thumb {
            border-radius: 20px;
            border: none;
            opacity: 0;
        }

        @media screen and (max-width: 767px) {
            overflow-x: scroll;
            padding-left: 24px;
        }

        li {
            white-space: nowrap;
            width: unset !important;
            min-width: unset;
            max-width: unset;

            a {
                margin-right: 14px;
                display: inline-block;
                background: #ff751b;
                color: #fff;
                border: #fff 1px solid;
                border-radius: 32px !important;
                padding: 12px 36px;
                font-weight: 600;
                transition: 0.5s;
                font-family: "Roboto";

                @media screen and (max-width: 768px) {
                    padding: 12px 24px;
                }

                &:hover {
                    background: #ff944d;
                }

                &.active {
                    background: #ffffff;
                    color: #1800e7;
                }
            }
        }
    }
}