/*=======  Advanced Tab  =======*/
.advanced-tab-btns {
    margin-top: 60px;
    justify-content: center;

    li {
        margin: 10px 10px 0;

        a {
            position: relative;
            padding: 25px 70px;
            border: 2px solid #f3f3f3;
            font-size: 14px;
            color: $text-color;
            line-height: 1;
            @include transition(0.3s);

            @include respond-below(lg) {
                padding: 25px 30px 25px 70px;
                font-size: 12px;
            }

            .title {
                text-transform: uppercase;
                font-size: 24px;
                letter-spacing: -1px;
                font-weight: 700;
                font-family: $raj;
                display: block;
                margin-bottom: 10px;
                @include transition(0.3s);

                @include respond-below(lg) {
                    font-size: 20px;
                }
            }

            .icon {
                position: absolute;
                left: 20px;
                top: 25px;
                color: $primary-color;
                font-size: 30px;
                @include transition(0.3s);
            }

            &::after {
                position: absolute;
                left: 50%;
                top: -15px;
                transform: translateX(-50%);
                background-color: $text-color;
                content: "";
                width: 30px;
                height: 15px;
                clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
                visibility: hidden;
                opacity: 0;

                @include respond-below(md) {
                    display: none;
                }
            }

            &:hover,
            &.active {
                background-color: $text-color;
                border-color: $text-color;

                &,
                .title {
                    color: $white;
                }
            }

            &.active {
                &:after {
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }
}

.advanced-tab-text {
    @include respond-below(md) {
        margin-top: 50px;
    }
}

/*=======  Advanced Tab Two  =======*/
.advanced-tab-two {
    .advanced-tab-btns-two {
        justify-content: center;
        margin: -15px;
        position: relative;
        z-index: 2;

        li {
            padding: 15px;

            a {
                background-color: $white;
                border-radius: 5px;
                text-align: center;
                padding: 35px;
                font-family: $raj;
                font-size: 24px;
                font-weight: 700;
                color: $text-color;
                position: relative;

                @include respond-below(lg) {
                    padding: 20px;
                    font-size: 18px;
                }

                span {
                    display: block;

                    &.icon {
                        font-size: 70px;
                        line-height: 1;
                        margin-bottom: 20px;

                        @include respond-below(lg) {
                            font-size: 50px;
                        }

                        img {
                            max-width: 70px;

                            @include respond-below(lg) {
                                max-width: 50px;
                            }
                        }
                    }
                }

                &::before {
                    content: "";
                    position: absolute;
                    left: 50%;
                    transform: translateX(-50%);
                    bottom: -20px;
                    background-color: $white;
                    height: 20px;
                    width: 40px;
                    clip-path: polygon(100% 0, 0 0, 51% 100%);
                    filter: drop-shadow(0px 3px 16px rgba(0, 0, 0, 0.06));
                    @include transition(0.3s);
                    visibility: hidden;
                    opacity: 0;
                }

                &.active {
                    filter: drop-shadow(0px 3px 16px rgba(0, 0, 0, 0.06));

                    &::before {
                        opacity: 1;
                        visibility: visible;
                    }
                }
            }
        }
    }

    .tab-content {
        padding-top: 60px;
        position: relative;
        z-index: 1;
    }

    .tab-pane {
        background-color: $white;
        padding: 70px 50px;
        box-shadow: 0px 3px 16px rgba(0, 0, 0, 0);
        border-radius: 5px;

        @include respond-below(xs) {
            padding: 50px 20px;
        }

        .title {
            font-size: 40px;
            letter-spacing: -0.03em;
            margin-bottom: 15px;

            @include respond-below(xs) {
                font-size: 28px;
            }
        }

        .big-text {
            font-size: 24px;
            font-family: $raj;
            font-weight: 700;
            margin-bottom: 25px;
            line-height: 1.4;

            @include respond-below(lg) {
                font-size: 18px;
            }
        }

        .advanced-tab-img {
            text-align: right;

            @include respond-below(md) {
                margin-bottom: 50px;
                text-align: center;
            }
        }
    }

    .dot-icon {
        position: absolute;
        right: -20px;
        top: 40px;
        z-index: -1;
    }

    .blob-icon {
        position: absolute;
        bottom: -40px;
        left: -75px;
        z-index: -1;
    }
}
