/* Why 1 ---------------------------------- */
.appointment-tabs {
    &.nav-tabs {
        border-bottom: none;
        justify-content: center;
        gap: 24px;

        .nav-item.show .nav-link,
        .nav-link.active {
            color: var(--white-color);
            background-color: transparent;
        }
    }

    .nav-link {
        position: relative;
        padding: 34px 60px;
        font-size: 24px;
        font-family: $title-font;
        font-weight: 500;
        color: $white-color;
        display: flex;
        gap: 16px;
        border: none;
        align-items: center;
        border-radius: 50px;
        background: linear-gradient(180deg, $theme-color 0%, $theme-color2 100%);
        z-index: 2;
        transition: all 1.3s ease-in-out;

        &:hover {
            background: linear-gradient(180deg, $theme-color 0%, $theme-color2 100%);

            &:after {
                background: linear-gradient(180deg, $theme-color 0%, $theme-color2 100%);
            }

            img {
                filter: brightness(0) invert(1);
            }
        }


        &:after {
            content: "";
            position: absolute;
            inset: 1px;
            border-radius: 50px;
            background: #16181D;
            z-index: -1;
            transition: all 1.3s ease-in-out;

        }

        @include sm {
            font-size: 20px;
            padding: 20px 60px;
        }

        @include vxs {
            font-size: 18px;
        }
    }

}

.prompts-tabs {
    display: grid;
    grid-template-columns: auto auto auto auto;
}

.img-box2 {
    text-align: center;
    margin-left: 85px;
    position: relative;
    z-index: 2;

    &:before,
    &:after {
        content: '';
        position: absolute;
        background-color: $theme-color;
        width: 100%;
        height: 100%;
        animation: morph 10s ease-in-out infinite;
        z-index: -1;
    }

    &:before {
        top: -20px;
        left: -40px;
        opacity: 0.5;
        animation-delay: 0.2;
    }

    &:after {
        right: -20px;
        bottom: -40px;
        background-color: $smoke-color2;
        animation-delay: 0.6s;
        z-index: -2;
    }

    .img1 {
        img {
            animation: morph 10s ease-in-out infinite;
            width: 100%;
            max-width: 760px;
        }
    }
}

.two-column {
    display: grid;
    grid-template-columns: auto auto;
    max-width: 700px;
}

@include xl {
    .img-box2 {
        margin-left: 0;

        &:before {
            left: -20px;
        }

        &:after {
            right: -12px;
        }
    }
}

@media (max-width: 450px) {
    .two-column {
        grid-template-columns: auto;
        gap: 18px;

        &.list-center {
            max-width: 230px;
        }
    }

    .checklist.style2 {
        li {
            &:not(:last-child) {
                margin-bottom: 18px;
            }
        }
    }
}

/* Why 2 ---------------------------------- */
.feature-circle {
    &-wrap {
        display: grid;
        grid-template-columns: auto auto;
        margin-bottom: 34px;
    }

    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 310px;

    &_title {
        font-size: 20px;
        margin-bottom: 7px;
    }

    &_text {
        margin-bottom: 0px;
        font-size: 14px;
    }

    .progressbar {
        position: relative;
    }

    .circle-num {
        font-size: 24px;
        font-weight: 700;
        color: $title-color;
        font-family: $title-font;
        position: absolute;
        top: 0;
        left: 0;
        width: 70px;
        height: 70px;
        line-height: 70px;
        margin: 15px;
        background-color: $white-color;
        border-radius: 999px;
        text-align: center;
    }
}

@media (min-width: 1300px) {
    .img-box5 {
        margin-left: 56px;
        margin-right: -77px;
    }
}

.img-box5 {
    position: relative;
    z-index: 2;
    margin-bottom: -46px;
    margin-top: -60px;

    .year-counter {
        position: absolute;
        top: 20px;
        left: 40%;
        border-color: $smoke-color2;
        box-shadow: none;
        height: 155px;
        width: 155px;
        padding: 32px 0;

        &_number {
            font-size: 36px;
        }
    }
}

.animate-shape1 {
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;

    svg {
        width: 100%;
        height: 100%;
    }
}

.why-sec-v2 {
    overflow-x: hidden;
    margin-top: -440px;
    padding-top: 420px;
}

@include lg {
    .img-box5 {
        max-width: 760px;
        margin-bottom: -20px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;

        .animate-shape1 {
            max-width: 610px;
        }
    }
}

@include xs {
    .feature-circle {
        &-wrap {
            grid-template-columns: auto;
            gap: 20px;
        }
    }
}

.img-box7,
.img-box8 {
    position: relative;
    margin-left: 56px;

    .shape1 {
        position: absolute;
        top: 0;
        left: 40px;
        animation: jumpReverseAni 7s linear infinite;
    }

    .shape2 {
        position: absolute;
        top: 0;
        right: 0;
        animation: moving 8s linear infinite;
    }
}

.img-box8 {
    .shape1 {
        left: 0;
    }

    .shape2 {
        animation: spin 10s linear infinite;
    }

    .color-animate {
        top: -200px;
        max-width: 400px;
    }
}

@include xl {

    .img-box7,
    .img-box8 {
        margin-left: 0;
    }
}

@include md {

    .img-box7,
    .img-box8 {
        text-align: center;
    }
}

@include xs {
    .img-box7 {
        .shape1 {
            max-width: 50px;
        }

        .shape2 {
            max-width: 70px;
        }
    }

    .img-box8 {
        .shape1 {
            max-width: 100px;
        }

        .shape2 {
            max-width: 100px;
        }
    }
}

/* Why 5 start ------------------------*/
.skill-circle {
    &-wrap {
        display: flex;
        justify-content: flex-end;
        gap: 60px;

        @include lg {
            justify-content: flex-start;
        }

        @include sm {
            gap: 10px;
        }

        @include xs {
            display: block;
        }
    }

    @include xs {
        margin-bottom: 30px;
    }

    .box-text {
        font-family: $body-font;
        color: $title-color;
        margin-bottom: 0px;
        position: absolute;
        bottom: 40px;
        left: 25px;
        text-align: center;
    }

    &_text {
        margin-bottom: 0px;
        font-size: 14px;
    }

    .progressbar {
        position: relative;
        max-height: 176px;
    }

    .circle-num {
        font-family: $title-font;
        font-size: 54px;
        font-weight: 700;
        color: $title-color;
        font-family: $title-font;
        position: absolute;
        top: -20px;
        left: 0;
        width: 176px;
        height: 176px;
        line-height: 176px;
        border-radius: 50%;
        margin: 8px;
        text-align: center;
    }
}

/* Why 5 end  ------------------------*/

/* Choose 2 ---------------------------------- */
.choose-tabs-wrapper {
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #1E2127;
    display: flex;
    justify-content: flex-start;
    box-shadow: 0px 16px 48px 0px rgba(18, 20, 26, 0.64);

    @include lg {
        gap: 30px;
    }

    @include md {
        display: block;

    }
}

.choose-tabs-tabs {
    &.nav-tabs {
        border-bottom: none;
        padding: 60px;
        display: block;

        @include lg {
            padding: 60px 40px;
        }

        @include md {
            padding: 60px 40px 40px 40px;
            margin-bottom: 0;
        }

        @include vxs {
            max-width: 100%;
            padding: 60px 20px 20px 20px;
        }

        .nav-link:focus,
        .nav-link:hover {
            color: $white-color;
            background-color: $theme-color;
            border-color: $theme-color;
        }

        .nav-item.show .nav-link,
        .nav-link.active {
            color: $white-color;
            background-color: $theme-color;
            border-color: $theme-color;
        }
    }

    .nav-link {
        position: relative;
        border-radius: 100px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        background: #1D2128;
        padding: 18px 40px;
        font-family: $title-font;
        font-size: 20px;
        line-height: 20px;
        font-weight: 600;
        min-width: 330px;
        color: $white-color;
        text-align: left;
        display: block;
        box-shadow: none;

        @include md {
            min-width: 100%;
        }

        @include xs {
            padding: 14px 20px;
        }

        @include vxs {
            font-size: 16px;
        }

        &:not(:last-child) {
            margin-bottom: 20px;
        }
    }

    @include md {
        margin-bottom: 30px;
    }
}

.choose-wrapper {
    display: flex;
    gap: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.10);
    padding: 60px;
    // padding-left: 60px;  
    // margin-left: 60px;

    @include lg {
        display: block;
        padding: 60px 40px 40px 0;
        margin: 0;
        border: none;
    }

    @include md {
        padding: 30px 40px 60px 40px;
    }

    @include vxs {
        padding: 30px 20px 60px 20px;
    }

    .choose-image {
        min-width: 276px;
        height: 300px;
        border-radius: 30px;

        img {
            width: 100%;
            border-radius: 30px;
        }

        @include lg {
            margin-top: 30px;
            min-width: 100%;
            width: 100%;
            height: 100%;
        }
    }
}

.choose-content {
    .sec-title {
        font-weight: 500;
        letter-spacing: normal;
    }

    .box-text {
        font-size: 14px;
    }

    .checklist {
        margin-bottom: 35px;

        li {
            color: $body-color;
            font-size: 14px;
            line-height: 16px;

            &:after {
                color: $body-color;
            }
        }
    }
}

/* choose area  6 start ------------------------------------- */
.choose-image2 {
    position: relative;
    text-align: right;
    margin-right: 95px;

    @include lg {
        margin: 0 0 40px 0;
    }

    .img1 {
        min-width: 561px;

        @include xs {
            min-width: 100%;
        }

        img {
            width: 100%;
        }
    }

    .video-box4 {
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);

        @include lg {
            left: 50%;
        }

        .play-btn {

            &:after,
            &:before {
                background-color: $theme-color;
            }

            >i {
                --icon-size: 167px;
                --icon-font-size: 1.9em;
                background-color: $theme-color;
                color: $white-color;

                @include xs {
                    --icon-size: 114px;
                }
            }
        }
    }
}

.choose-text {
    color: #A1A6B0;
    font-size: 16px;
}

/* choose area  6 end ------------------------------------- */

/* Appointment 3 ---------------------------------- */

.appointment-area {
    padding: 100px;

    @include md {
        padding: 80px;
        margin-top: 80px;
    }

    @include sm {
        padding: 80px 40px;
    }

    @include xs {
        padding: 80px 20px;
    }

    .sub-title {
        &:after {
            background-color: $white-color;
        }
    }
}

.feature-wrapper {
    &.style3 {
        margin-bottom: 60px;

        .feature-icon {
            width: 75px;
            height: 75px;
            line-height: 75px;
            background-color: #1E2127;
            border: 1px solid rgba(255, 255, 255, 0.10);

            &:hover {
                background-color: $theme-color;
            }
        }

        .header-info {
            &_label {
                font-size: 16px;
                font-family: $body-font;
                color: $body-color;
                font-weight: 500;
                letter-spacing: -0.32px;
            }

            &_link {
                font-family: $body-font;
                font-size: 24px;
                font-weight: 600;
                line-height: 30px;
                letter-spacing: -0.48px;

                @include vxs {
                    font-size: 18px !important;
                }
            }
        }
    }
}

.work-area {
    margin-bottom: 40px;
}

.work-item {
    position: relative;
    display: flex;
    gap: 20px;

    &:first-child {
        max-width: 290px;

        @include xl {
            max-width: 250px;
        }

        @include sm {
            max-width: 100%;
        }

        &:before {
            right: -15px;

            @include lg {
                right: -10px;
            }
        }
    }

    @include sm {
        margin-bottom: 20px;
    }

    &:before {
        content: url("data:image/svg+xml,%3Csvg width='20' height='37' viewBox='0 0 20 37' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.5L0 0L10.6446 18.5L0 37L20 18.5Z' fill='%233E66F3'/%3E%3C/svg%3E%0A");
        position: absolute;
        top: 0px;
        right: -40px;
        font-family: $icon-font;
        width: 20px;
        height: 37px;
        text-align: center;
        border-radius: 50%;
        display: inline-block;
        font-size: 1em;
        line-height: 1;
        color: $theme-color;
        font-weight: 900;
        transition: 0.3s ease-in-out;

        @include lg {
            display: none;
        }
    }

    &:last-child {
        &:before {
            display: none;
        }
    }

    &_wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;

        @include sm {
            display: block;
        }
    }

    &_number {
        min-width: 50px;
        height: 50px;
        line-height: 50px;
        text-align: center;
        border-radius: 50%;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: -0.32px;
        display: block;
        background-color: #1E2127;
        color: $white-color;
        border: 1px solid rgba(255, 255, 255, 0.10);
    }


    .work-text {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        color: #C7C7C7;
    }
}

/* Why 8 ---------------------------------- */
.why-sec-4 {
    @include lg {
        background: transparent !important;
    }
}

.why-feature-wrap-4-1 {
    margin-top: 40px;

    @include md {
        margin-top: 0;
    }
}

.why-feature-wrap-4-2 {
    margin-top: 100px;
    margin-left: 55px;

    @include ml {
        margin-left: 45px;
    }

    @include xl {
        margin-top: 40px;
        margin-left: 0;
    }

    @include md {
        margin-bottom: 40px;
    }
}

.why-thumb-4 {
    text-align: center;
}

.sec-text3 {
    max-width: 600px;
    color: #A1A6B0;
}

/* choose area start ----------------------*/
.choose-feature5 {
    display: flex;
    gap: 24px;
    width: 564px;

    @include sm {
        width: 100%;
    }

    &:not(:last-child) {
        margin-bottom: 30px;
    }

    .box-title {
        color: $white-color;
        font-weight: 600;
        margin-bottom: 6px;
    }

    .box-text {
        color: #A1A6B0;
        margin-bottom: -0.4rem;
    }
}

.choose-image5 {
    position: relative;
    margin-right: -20px;
    z-index: 2;

    @include lg {
        margin: 0;
        text-align: center;
    }

    &:before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(62, 102, 243, 0.2);
        filter: blur(100px);
        z-index: -1;

    }

    img {}

    .choose-line {
        position: absolute;
        bottom: 20px;
        right: 0;
        z-index: -1;
    }
}

.video-sec {

    .discount-wrapp {
        position: absolute;
        top: 17%;
        left: 50%;
        display: inline-block;
        z-index: 1;
        transform: translate(-50%, -50%);
        // @media(max-width: 1699px) { 
        //     left: 53%;
        // }
        // @media(max-width: 1599px) { 
        //     left: 57%;
        // }
        // @media(max-width: 1499px) { 
        //     left: 59%;
        // }

        .play-btn {
            position: absolute;
            top: 46%;
            left: 50%;
            transform: translate(-50%, -50%); 

            &:before,
            &:after {
                display: none;
            }

            >i {
                --icon-size: 114px;
                font-size: 25px;
                background: $theme-color;
                color: $title-color;

            }
        }

        .discount {
            position: absolute;
            left: 20%;
            top: 35%;
            z-index: 1;
            transform: translate(-50%, -50%);
            font-weight: 600;
            font-size: 36px;
            line-height: 46px;
            color: $theme-color;
            transform: rotate(30deg);
            text-align: center;
            margin-top: -5px;
            margin-bottom: 0;
        }
    }

    .discount-tag {
        display: inline-block;
        min-height: 161px;
        min-width: 161px;
        border-radius: 50%;
        z-index: 1;
        font-size: 18px;
        font-family: $title-font;
        font-weight: 600;
        color: $title-color;
        text-align: center;
        transform: rotate(30deg);
        animation: spin 10s infinite alternate-reverse;

        @media(max-width: 1499px) {
            color: $white-color;
        }

        @include sm {
            color: $title-color;
        }


        span {
            --rotate-letter: 11deg;
            min-height: 85px;
            position: absolute;
            min-width: 85px;
            left: 18px;
            top: -3px;
            text-transform: uppercase;
            transform-origin: bottom center;
            transform: rotate(var(--rotate-letter));

            &.char2 {
                transform: rotate(calc(var(--rotate-letter) * 2));
            }

            &.char3 {
                transform: rotate(calc(var(--rotate-letter) * 3));
            }

            &.char4 {
                transform: rotate(calc(var(--rotate-letter) * 4));
            }

            &.char5 {
                transform: rotate(calc(var(--rotate-letter) * 5));
            }

            &.char6 {
                transform: rotate(calc(var(--rotate-letter) * 6));
            }

            &.char7 {
                transform: rotate(calc(var(--rotate-letter) * 7));
            }

            &.char8 {
                transform: rotate(calc(var(--rotate-letter) * 8));
            }

            &.char9 {
                transform: rotate(calc(var(--rotate-letter) * 9));
            }

            &.char10 {
                transform: rotate(calc(var(--rotate-letter) * 10));
            }

            &.char11 {
                transform: rotate(calc(var(--rotate-letter) * 11));
            }

            &.char12 {
                transform: rotate(calc(var(--rotate-letter) * 12));
            }

            &.char13 {
                transform: rotate(calc(var(--rotate-letter) * 13));
            }

            &.char14 {
                transform: rotate(calc(var(--rotate-letter) * 14));
            }

            &.char15 {
                transform: rotate(calc(var(--rotate-letter) * 15));
            }

            &.char16 {
                transform: rotate(calc(var(--rotate-letter) * 16));
            }

            &.char17 {
                transform: rotate(calc(var(--rotate-letter) * 17));
            }

            &.char18 {
                transform: rotate(calc(var(--rotate-letter) * 18));
            }

            &.char19 {
                transform: rotate(calc(var(--rotate-letter) * 19));
            }

            &.char20 {
                transform: rotate(calc(var(--rotate-letter) * 20));
            }

            &.char21 {
                transform: rotate(calc(var(--rotate-letter) * 21));
            }

            &.char22 {
                transform: rotate(calc(var(--rotate-letter) * 22));
            }

            &.char23 {
                transform: rotate(calc(var(--rotate-letter) * 23));
            }

            &.char24 {
                transform: rotate(calc(var(--rotate-letter) * 24));
            }

            &.char25 {
                transform: rotate(calc(var(--rotate-letter) * 25));
            }

            &.char26 {
                transform: rotate(calc(var(--rotate-letter) * 26));
            }

            &.char27 {
                transform: rotate(calc(var(--rotate-letter) * 27));
            }

            &.char28 {
                transform: rotate(calc(var(--rotate-letter) * 28));
            }

            &.char29 {
                transform: rotate(calc(var(--rotate-letter) * 29));
            }

            &.char30 {
                transform: rotate(calc(var(--rotate-letter) * 30));
            }

            &.char31 {
                transform: rotate(calc(var(--rotate-letter) * 31));
            }

            &.char32 {
                transform: rotate(calc(var(--rotate-letter) * 32));
            }

            &.char33 {
                transform: rotate(calc(var(--rotate-letter) * 33));
            }
        }
    }
}

.video-area {
    position: relative;
    mask-image: url("../img/bg/video-shape.png");
    mask-repeat: no-repeat;
    mask-size: cover;
    mask-position: center center;
    height: 723px;
    z-index: 2;

}