/* ==================================================
   IN VIETCOLOR
   GLOBAL SERVICE STRIP + BREADCRUMB
   ================================================== */

.ivc-breadcrumb-wrap {
    position: relative;
    width: 100%;
    background: #f7f8fc;
    padding-top: 5px;
    z-index: 5;
}


/* Dải màu logo */

.ivc-breadcrumb-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #078b45 0%,
        #a8cf24 18%,
        #ffd21a 36%,
        #f47a20 54%,
        #d8232a 68%,
        #7a36a5 84%,
        #159bd7 100%
    );
}


/* ==================================================
   SERVICE AREA
   ================================================== */

.ivc-service-strip {
    width: 100%;
    padding: 28px 0 26px;
}

.ivc-service-inner {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 16px;
}


/* ==================================================
   CARD
   ================================================== */

.ivc-service-item {
    position: relative;

    min-width: 0;
    min-height: 116px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 22px 20px;

    background: #ffffff;

    border: 1px solid #e8eaf3;

    border-radius:
        22px 22px 8px 22px;

    overflow: hidden;

    box-shadow:
        0 8px 25px
        rgba(32, 42, 104, 0.05);

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.ivc-service-item:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 38px
        rgba(48, 57, 152, 0.12);
}


/* Hover theo màu logo */

.ivc-service-item:nth-child(1):hover {
    border-color: #159450;
}

.ivc-service-item:nth-child(2):hover {
    border-color: #f0c500;
}

.ivc-service-item:nth-child(3):hover {
    border-color: #f47a20;
}

.ivc-service-item:nth-child(4):hover {
    border-color: #303998;
}


/* ==================================================
   ICON
   ================================================== */

.ivc-service-icon {
    position: relative;

    z-index: 2;

    width: 54px;
    height: 54px;
    min-width: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    color: #ffffff;

    font-size: 23px;
    line-height: 1;

    transition:
        transform .28s ease,
        border-radius .28s ease;
}


.ivc-service-item:hover
.ivc-service-icon {

    transform:
        rotate(-5deg)
        scale(1.05);

    border-radius: 50%;
}


/* Icon 1 */

.ivc-service-item:nth-child(1)
.ivc-service-icon {

    background: linear-gradient(
        145deg,
        #078b45,
        #79be32
    );
}


/* Icon 2 */

.ivc-service-item:nth-child(2)
.ivc-service-icon {

    background: linear-gradient(
        145deg,
        #f2b900,
        #ffd83d
    );

    color: #303998;
}


/* Icon 3 */

.ivc-service-item:nth-child(3)
.ivc-service-icon {

    background: linear-gradient(
        145deg,
        #f15a24,
        #ff9a3c
    );
}


/* Icon 4 */

.ivc-service-item:nth-child(4)
.ivc-service-icon {

    background: linear-gradient(
        145deg,
        #7134a4,
        #303998
    );
}


/* ==================================================
   SERVICE TEXT
   ================================================== */

.ivc-service-content {
    position: relative;
    z-index: 2;

    min-width: 0;
}


.ivc-service-title {
    margin: 0 0 4px;

    color: #172536;

    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;

    font-style: normal;
}


.ivc-service-desc {
    margin: 0;

    color: #778195;

    font-size: 14px;
    line-height: 1.45;

    font-style: normal;
}


/* ==================================================
   BREADCRUMB
   ================================================== */

.ivc-breadcrumb {
    position: relative;

    width: 100%;

    background: #ffffff;

    border-top:
        1px solid #ebedf4;

    border-bottom:
        1px solid #ebedf4;
}


.ivc-breadcrumb-inner {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;
    padding: 0 20px;

    min-height: 54px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0;
}


/* Breadcrumb item */

.ivc-breadcrumb-item {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 7px 5px;

    color: #626d80;

    background: transparent;

    border: 0;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;

    text-decoration: none;

    transition:
        color .2s ease;
}


/* Trang chủ */

.ivc-breadcrumb-inner
> a.ivc-breadcrumb-item:first-child {

    color: #303998;

    font-weight: 700;
}


/* Hover */

a.ivc-breadcrumb-item:hover {
    color: #303998;
}


/* Trang hiện tại */

.ivc-breadcrumb-current {
    color: #172536;

    font-weight: 700;
}


/* Gạch chân nhiều màu */

.ivc-breadcrumb-current::after {
    content: "";

    position: absolute;

    left: 5px;
    right: 5px;
    bottom: 0;

    height: 2px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #078b45,
        #ffd21a,
        #f47a20,
        #303998
    );
}


/* Separator */

.ivc-breadcrumb-separator {
    width: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: transparent;

    font-size: 0;
}


.ivc-breadcrumb-separator::before {
    content: "›";

    color: #a4abbb;

    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}


/* ==================================================
   COMPONENT NẰM DƯỚI BANNER
   ================================================== */

.ivc-breadcrumb-wrap.ivc-after-banner
.ivc-service-strip {

    padding-top: 24px;
    padding-bottom: 22px;
}


.ivc-breadcrumb-wrap.ivc-after-banner
.ivc-service-item {

    min-height: 106px;

    padding-top: 19px;
    padding-bottom: 19px;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 1024px) {

    .ivc-service-inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }


    .ivc-service-item {
        min-height: 100px;
    }
}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 549px) {

    .ivc-breadcrumb-wrap {
        padding-top: 4px;
    }


    .ivc-breadcrumb-wrap::before {
        height: 4px;
    }


    /* Service strip */

    .ivc-service-strip {
        padding: 16px 0;
    }


    .ivc-service-inner {
        padding: 0 12px;

        grid-template-columns: 1fr;

        gap: 10px;
    }


    .ivc-service-item {
        min-height: auto;

        padding: 15px 16px;

        border-radius:
            16px 16px 6px 16px;

        gap: 12px;
    }


    .ivc-service-item:hover {
        transform: none;
    }


    .ivc-service-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;

        border-radius: 14px;

        font-size: 20px;
    }


    .ivc-service-title {
        font-size: 15px;
    }


    .ivc-service-desc {
        font-size: 13px;
    }


    /* Breadcrumb */

    .ivc-breadcrumb-inner {
        padding: 8px 12px;

        min-height: 48px;

        flex-wrap: nowrap;

        overflow-x: auto;

        scrollbar-width: none;
    }


    .ivc-breadcrumb-inner::-webkit-scrollbar {
        display: none;
    }


    .ivc-breadcrumb-item {
        flex: 0 0 auto;

        white-space: nowrap;

        font-size: 13px;
    }


    .ivc-breadcrumb-separator {
        width: 24px;

        flex: 0 0 auto;
    }


    /* Component sau banner */

    .ivc-breadcrumb-wrap.ivc-after-banner
    .ivc-service-strip {

        padding-top: 14px;
        padding-bottom: 14px;
    }


    .ivc-breadcrumb-wrap.ivc-after-banner
    .ivc-service-item {

        min-height: auto;

        padding-top: 14px;
        padding-bottom: 14px;
    }
}