@use '../utils' as *;
/*=============================
    Process 01
===============================*/
.process-nav-tabs {
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
    border: 0;
    margin-bottom: 30px;
    .nav-item {
        .nav-link {
            border: 1px solid var(--tg-border-1);
            background: var(--tg-color-white-default);
            display: flex;
            text-align: start;
            padding: 40px;
            gap: 25px;
            border-radius: 10px;
            box-shadow: 0px 19px 48px rgba(48, 65, 64, 0.09);
            .box-icon {
                flex: none;
                img {
                    transition: 0.4s;
                }
            }
            .box-title {
                font-size: 24px;
                font-weight: 700;
                margin-top: -0.15em;
                margin-bottom: 12px;
                transition: 0.4s;
            }
            .box-text {
                margin-bottom: -0.45em;
            }
            &.active,
            &:hover {
                background: var(--tg-theme-primary);
                .box-icon {
                    img {
                        transform: rotateY(180deg);
                        filter: brightness(99);
                    }
                }
                .box-title {
                    color: var(--tg-color-white-default);
                }
                .box-text {
                    color: var(--tg-color-white-default);
                }
            }
            @media #{$xl} {
                padding: 30px;
            }
            @media (max-width: 1200px) {
                display: block;
                .box-icon {
                    margin-bottom: 20px;
                }
            }
        }
    }
    @media #{$md} {
        flex-wrap: wrap;
        .nav-item {
            width: 100%;
            .nav-link {
                width: 100%;
                display: flex;
            }
        }
    }
    @media #{$vxs} {
        .nav-item {
            .nav-link {
                display: block;
                .box-icon {
                    margin-bottom: 20px;
                }
            }
        }
    }
}
.process-card {
    box-shadow: 0px 19px 48px rgba(48, 65, 64, 0.09);
    border-radius: 10px;
    border: 1px solid var(--tg-border-1);
    background: var(--tg-color-white-default);
    padding: 30px;
    display: flex;
    gap: 40px;
    .process-card-thumb {
        flex: 1;
        border-radius: 10px;
        overflow: hidden;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .process-card-content {
        flex: 1;
        align-self: center;
        .process-card-title {
            font-size: 36px;
            font-weight: 700;
            margin-top: -0.1em;
            margin-bottom: 18px;
        }
    }
    @media #{$xl} {
        gap: 30px;
    }
    @media #{$md} {
        display: block;
        .process-card-thumb {
            margin-bottom: 30px;
        }
        .process-card-content {
            .process-card-title {
                font-size: 30px;
            }
        }
    }
    @media #{$vxs} {
        .process-card-content {
            .process-card-title {
                font-size: 24px;
            }
        }
    }
}

/*=============================
    Process 02
===============================*/
.process-card2-wrap {
    &:last-child {
        .process-card2 {
            .process-card-arrow {
                display: none;
            }
        }
    }
}
.process-card2 {
    text-align: center;
    max-width: 365px;
    position: relative;
    .process-card_icon {
        width: 176px;
        height: 168px;
        background: var(--tg-color-smoke-5);
        color: var(--tg-theme-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        margin: 0 auto 37px;
        .process-card_icon-border {
            position: absolute;
            inset: 15px;
            background: var(--tg-theme-primary);
        }
        i,
        img,
        svg {
            transition: 0.4s;
        }
    }
    .process-card_title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .process-card_text {
        margin-bottom: -0.3em;
    }
    .process-card-arrow {
        position: absolute;
        right: -50%;
        top: 64px;
        width: 139px;
        height: 36px;
        background: var(--tg-theme-primary);
        transform: translate(-50%, 0);
        mask-size: 100% 100%;
        @media #{$xl} {
            display: none;
        }
    }
    &:hover {
        .process-card_icon {
            i,
            img,
            svg {
                transform: scale(-1) rotate(180deg);
            }
        }
    }
    @media #{$xs} {
        margin-left: auto;
        margin-right: auto;
    }
}

/*=============================
    Process 03
===============================*/
.process-card3 {
    background: #FFFFFF;
    border: 1px solid var(--tg-border-1);
    box-shadow: 0px 6px 39px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    text-align: center;
    padding: 40px 25px;
    .process-card_number {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        position: relative;
        margin: 0 auto 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: 700;
        font-family: var(--tg-heading-font-family);
        color: var(--tg-color-white-default);
        z-index: 1;
        &:before,
        &:after {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--tg-theme-primary);
            opacity: 0.08;
            border-radius: 50%;
            z-index: -1;
        }
        &:before {
            inset: 15px;
            background: var(--tg-theme-primary);
            opacity: 1;
        }
    }
    .process-card_title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 6px;
    }
    .process-card_text {
        margin-bottom: -0.4em;
    }
}