.timeline-2 {
    display: block;
    position: relative;
    list-style: none;
}
.timeline-container {
    display: flex;
    justify-content: center;
    transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.timeline-card:nth-of-type(2n + 1) {
    top: -40px;
}
.timeline-card {
    position: relative;
    flex: 0 0 auto;
}
.timeline-card::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 70px;
    bottom: -8px;
    left: -8px;
    z-index: 1;
    background: rgb(255, 121, 0);
}
.timeline-card a.active {
    color: rgb(255, 121, 0);
}
.timeline-card:nth-of-type(2n) {
    bottom: -40px;
}
.timeline-card {
    position: relative;
    flex: 0 0 auto;
}
@media (min-width: 1100px) {
    .timeline-card a {
        width: 120px;
        height: 50px;
    }
}
.timeline-card a {
    text-align: left;
    font-weight: 200;
    display: inline-block;
    font-size: 17px;
    border-radius: 5px;
    text-wrap: nowrap;
    padding: 5px 0px 5px 5px !important;
    margin: 0px !important;
}
.timeline-card::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    bottom: -21px;
    left: -15px;
    z-index: 1;
    background: rgb(255, 121, 0);
    border-width: 2px;
    border-style: solid;
    border-color: rgb(255, 121, 0);
    border-image: initial;
    border-radius: 16px;
}
.timeline-container {
    display: flex;
    justify-content: center;
    transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.timeline-card:nth-of-type(even)::after {
    top: -22px;
    bottom: unset;
}
.timeline-container .liner {
    height: 2.5px;
    width: 100%;
    background: #ff7900;
    border-radius: 5px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.home-service-catalogue-wrapper {
    background: linear-gradient(270deg, #ff7900, #000000 10%, #ff7900 20%, #000000 30%, #ff7900 40%, #000000 50%, #ff7900 60%, #000000 70%, #ff7900 80%, #000000 90%, #ff7900);
    -webkit-animation: shine 20s linear infinite;
    animation: shine 20s linear infinite;
    background-size: 1000% auto;
}
.service-with-imagez {
    overflow: hidden;
    position: relative;
    padding-top: 3px;
}
.service-with-imagez:first-child {
    border-top: none;
}
.service-with-imagez .box-img {
    aspect-ratio: 3 / 1.25;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}
.service-with-imagez .box-img .home-service-img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    transition: 0.5s all;
}
@media (min-width: 1100px) and (max-width: 1366px) {
    .service-title-block {
        padding-left: 20px;
    }
}

.service-title-block {
    position: absolute;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0) 100%);
    /* background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 40%, rgba(0, 0, 0, 0.2) 80%, rgba(0, 0, 0, 0) 90%); */
    height: 100%;
    width: 70%;
    bottom: 0;
    padding: 60px 0px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 1100px) and (max-width: 1366px) {
    .service-title-block .service-name.portforlio-page {
        font-size: 18px;
        width: 65%;
    }
}

.service-title-block .service-name.portforlio-page {
    font-size: 20px;
    width: 45%;
}
.service-title-block .service-name {
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 400;
    color: #ffffff;
    width: 45%;
    padding-bottom: 10px;
}
.service-name {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    color: #f4801f;
}
.service-title-block .service-name a {
    color: #ffffff;
}
@media (min-width: 1100px) and (max-width: 1366px) {
    .service-title-block .service-desc {
        font-size: 16px;
    }
}

.service-title-block .service-desc {
    /* text-transform: uppercase; */
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
}
@media (min-width: 1100px) and (max-width: 1366px) {
    .service-title-block .service-desc {
        font-size: 16px;
    }
}
.service-title-block .service-desc {
    /* text-transform: uppercase; */
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
}
@media (min-width: 992px) {
    .grid-box-2 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
#portforlio_cate_app > .container-fluid > .row > .col-xs-12:first-child {
    text-align: center;
    width: 100%;
    order: 2;
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    #portforlio_cate_app .pagination-block {
        text-align: right;
    }
}
.grid-box-2 .portfolio-pagination {
    grid-column: 1 / -1; /* chiếm hết 2 cột */
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}
.grid-box-2 .portfolio-pagination a.ajax-page,
.grid-box-2 .portfolio-pagination span.current {
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    text-decoration: none;
}
.grid-box-2 .portfolio-pagination a.ajax-page:hover {
    background: #AB6546;
    color: #fff;
    border-color: #AB6546;
}
.grid-box-2 .portfolio-pagination span.current {
    background: #AB6546;
    color: #fff;
    border-color: #AB6546;
    cursor: default;
}
.portfolio-filter {
    overflow: hidden;
    margin: 20px 0 15px;
}
.portfolio-filter ul {
    list-style: none;
}
.portfolio-filter li {
    cursor: pointer;
    display: inline;
    margin: 0px 20px;
}
.portfolio-filter li a.active {
    color: #fff;
    background-color: #ff7900;
    text-decoration: underline;
}
.col-lg-7 .portfolio-filter li a {
    display: inline-block;
    min-width: unset;
    padding: 5px 10px 5px 10px !important;
    margin: 0px !important;
    text-align: center;
    border: solid 1px #ccc;
    border-radius: 5px;
}

.portfolio-filter li a {
    font-size: 20px;
    color: #ff7900;
    font-weight: bold;
    text-transform: uppercase;
}
