/* Banner benefits - page Dich vu */
.menkar-service-benefits {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    align-items: center;
    gap: 22px;
    margin-top: 24px;
    color: #fff;
}

.menkar-service-benefit {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.menkar-service-benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    color: #fff;
}

.menkar-service-benefit__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.menkar-service-benefit__text {
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .menkar-service-benefits {
        grid-template-columns: repeat(2, max-content);
        gap: 15px 24px;
    }
}

/* Service implementation process */
.menkar-service-process {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 34px;
    padding: 0 14px 22px;
    border: 1px solid #e5e8ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(34, 58, 117, 0.05);
}

.menkar-process-step {
    position: relative;
    min-width: 0;
    padding: 0 14px;
    text-align: center;
}

.menkar-process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    left: calc(100% - 21px);
    width: 42px;
    border-top: 1px solid #223a75;
}

.menkar-process-step:not(:last-child)::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -3px;
    left: calc(100% + 15px);
    width: 6px;
    height: 6px;
    border-top: 1px solid #223a75;
    border-right: 1px solid #223a75;
    transform: rotate(45deg);
}

.menkar-process-icon {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-top: -29px;
    color: #223a75;
    border: 1px solid #d8dde5;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(34, 58, 117, 0.08);
}

.menkar-process-icon svg {
    width: 31px;
    height: 31px;
}

.menkar-process-number {
    margin: 10px 0 6px;
    color: #f8b020;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.menkar-process-title {
    min-height: 34px;
    width: 100%;
    margin: 0 0 7px;
    color: #223a75;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
    text-align: center !important;
}

.menkar-process-description {
    width: 100%;
    margin: 0;
    color: #000;
    font-size: 13px;
    line-height: 1.55;
    text-align: center !important;
}

.menkar-process-step + .menkar-process-step .menkar-process-content {
    border-left: 1px solid #e6e8ec;
}

.menkar-process-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% + 28px);
    min-height: 112px;
    margin-left: -14px;
    padding: 0 18px;
    box-sizing: border-box;
    text-align: center;
}

@media (max-width: 849px) {
    .menkar-service-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 46px 0;
        padding: 0 8px 22px;
    }

    .menkar-process-step:nth-child(odd) .menkar-process-content {
        border-left: 0;
    }

    .menkar-process-step::before,
    .menkar-process-step::after {
        display: none;
    }
}

@media (max-width: 420px) {
    .menkar-service-process {
        grid-template-columns: 1fr;
    }

    .menkar-process-step .menkar-process-content {
        border-left: 0 !important;
    }
}

/* Service category image boxes */
.menkar-service-card .box-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.menkar-service-card .box-text {
    position: relative;
    padding-top: 34px !important;
}

.menkar-service-card-icon {
    position: absolute;
    z-index: 3;
    top: -29px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: #fff;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #0b70d1;
    box-shadow: 0 3px 9px rgba(34, 58, 117, 0.2);
}

.menkar-service-card-icon svg {
    width: 25px;
    height: 25px;
}

@media (max-width: 549px) {
    .menkar-service-card .box-image img {
        height: 190px;
    }
}

/* Why choose Menkar */
.menkar-why-choose {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.menkar-why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 178px;
    padding: 25px 16px 20px;
    border: 1px solid #e6e9ef;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(34, 58, 117, 0.05);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menkar-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 9px 24px rgba(34, 58, 117, 0.12);
}

.menkar-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    color: #223a75;
}

.menkar-why-icon svg {
    display: block;
    width: 36px;
    height: 36px;
}

.menkar-why-title {
    width: 100%;
    margin: 0 0 9px;
    color: #223a75;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center !important;
    text-transform: uppercase;
}

.menkar-why-description {
    width: 100%;
    margin: 0;
    color: #000;
    font-size: 13px;
    line-height: 1.5;
    text-align: center !important;
}

@media (max-width: 849px) {
    .menkar-why-choose {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .menkar-why-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .menkar-why-choose {
        grid-template-columns: 1fr;
    }

    .menkar-why-card:last-child {
        grid-column: auto;
    }
}
