/* Dùng chung cho block view_home_service.tpl (tab-indicator, icon-right, reveal ảnh minh hoạ) */

/* Được load ở cả trang home (lhw3opn) và services (b3qy52w) — xem templates/nc/element/layout/css.tpl */

.section-home-service .content-section .tab-top .nav.nav-tabs .tab-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 60px;
    border-radius: 50px;
    background: var(--bg-highlight-light);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-home-service .content-section .tab-content .content-item .img svg .mgr-01,
.section-home-service .content-section .tab-content .content-item .img svg .mgr-02,
.section-home-service .content-section .tab-content .content-item .img svg .mgr-03,
.section-home-service .content-section .tab-content .content-item .img svg .mgr-04 {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-home-service .content-section .tab-content .content-item .img svg .mgr-01.is-revealed,
.section-home-service .content-section .tab-content .content-item .img svg .mgr-02.is-revealed,
.section-home-service .content-section .tab-content .content-item .img svg .mgr-03.is-revealed,
.section-home-service .content-section .tab-content .content-item .img svg .mgr-04.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-home-service .service-tab-pane.fade {
    transition: none !important;
}

.section-home-service .content-section .tab-top .nav.nav-tabs span.icon-right:last-child {
    display: none;
}

.section-home-service .content-section .tab-top .nav.nav-tabs span.icon-right img {
    width: 32px;
    height: 32px;
}

.section-home-service .content-section .tab-content .content-item .img svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-section .content-item .best-for-list.list-0 {
    max-width: 625px;
    background: #FAFAFA;
    padding: 24px;
    border-radius: 24px;
}

.content-section .content-item .image-item {
    position: relative;
}

.section-home-service .service-tab-pane.active .image-item .img img {
    object-fit: contain;
}

.section-home-service .content-section .tab-content .content-item .img svg text.js-prc-text {
    fill: var(--color-text);
    font-weight: 600;
}

.section-home-service .content-section .tab-content .content-item .img svg .js-prc-count {
    fill: var(--color-text);
    font-weight: 600;
}

.section-home-service .content-section .tab-content .content-item .name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text);
}

.section-home-service .service-tab-pane.active>.content-item {
    animation: nhServiceContentFadeIn 0.6s ease-out;
}

.section-home-service .content-item .slogan {
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(93.79deg, #0972CE 1.77%, #43A3F7 97.2%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 18px;
}

.best-for-list.list-0 .item .name-icon .name-key {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.best-for-list.list-0 .item .name-icon {
    gap: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.best-for-list.list-0 .item .name-icon span.icon {
    height: 36px;
    width: 36px;
    background: #0972CE1A;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.best-for-list.list-1 .item,
.best-for-list.list-2 .item {
    margin-bottom: 20px;
}

.best-for-list.list-1 .item .name-icon,
.best-for-list.list-2 .item .name-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.best-for-list.list-1 .item .name-icon span.name-key {
    font-weight: 600;
    color: var(--color-text);
}

.best-for-list.list-1 .item .name-icon span.icon,
.best-for-list.list-2 .item .name-icon span.icon {
    flex: 0 0 24px;
    max-width: 24px;
}

.best-for-list.list-1 .item .name-icon span.icon img,
.best-for-list.list-2 .item .name-icon span.icon img {
    width: 24px;
}

.content-section .content-item .best-for-list .item .dsc {
    font-size: 18px;
    color: #3A464F;
    text-align: left;
}

@media (min-width: 576px) and (max-width: 1299.98px) {
    .section-home-service .content-section .tab-content .content-item .name {
        font-size: 20px;
    }
}

@media (max-width:767.98px) {
    .section-home-service .content-item .content-item .btn-action {
        display: flex;
        justify-content: center;
    }
    .section-home-service .content-section .tab-content .content-item .name {
        font-size: 18px;
    }

    .content-section .content-item .best-for-list .item .dsc {
        font-size: 16px;
    }

    .section-home-service .content-section .tab-content .content-item .image-item {
        margin-left: auto;
        margin-right: auto;
    }
}