#postpaid-promotions {
    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.30);
            opacity: 0;
            transition: all 0.3s ease-in;

            @media (max-width: 1199px) {
                background-position: 120% 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: #FFFFFF;
                    text-align: center;
                    font-family: 'Roboto';
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 600;
                    line-height: 20px;
                    margin-bottom: 22px;
                }

                .title {
                    color: #000000;
                    font-family: "HK-Grostek-Wide";
                    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;
                }
            }
        }
    }
}

.component {
    &.button-arrow {
        margin-top:40px;
        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;
            }
        }
    }
}