/* --- Global list reset for Category page --- */
.side-bar ul,
.side-bar li {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

/* --- Sidebar Category List Styles --- */
.mar_bot {
    margin-bottom: 15px;
}

.side-bar {
    width: 100%;
    background: #29271f;
    padding: 10px;
    border: 1px solid #d4a75459;
}

.box_sidebar {
    width: 100%;
    /* box-shadow: 0 1px 5px #dedede; */
    /* background-color: #0c0d0e; */
}

.title_head {
    height: 40px;
    padding: 5px 0px;
    margin: 0 10px 10px 10px;
    display: block;
    border-bottom: 1px solid #d4a75459;
}

.title_head a {
    text-decoration: none;
    display: block;
}

.title_head span {
    color: var(--color-2);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 34px;
    transition: color 0.2s;
}

.title_head a:hover span {
    color: #d46a0f;
}

.dm_level1 {
    padding: 5px 10px;
    border-top: 0;
    margin-top: 2px;
    margin-left: 10px !important;
}

.side-bar ul li {
    padding: 6px 0 6px 15px;
    position: relative;
}

.side-bar ul li a {
    line-height: 20px;
    font-size: 15px;
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}

.side-bar ul li a:hover {
    color: var(--color-2);
}

.side-bar ul li i.fa-caret-right {
    left: 0;
    top: 10px;
}

.side-bar ul li i {
    position: absolute;
    font-size: 15px;
    color: #333;
}

.side-bar ul li .sidebar-caret {
    position: absolute;
    left: 0;
    top: 11px;
    color: #666;
    transition: all 0.22s ease-in-out;
}

.side-bar ul li:hover .sidebar-caret,
.side-bar ul li.active .sidebar-caret {
    color: var(--color-2);
    /* transform: translateX(3px); */
}

.side-bar ul li.active a {
    color: var(--color-2);
    font-weight: 600;
}

.side-bar ul li.active i {
    color: var(--color-4);
}

/* --- Sidebar news and hot posts --- */
.side-bar2 {
    width: 100%;
    background: #0c0d0e;
    padding: 10px;
    border: 1px solid #d4a75459;
}

.title_head2 {
    height: 40px;
    padding: 5px 0px;
    margin: 0 10px 15px 10px;
    display: block;
    border-bottom: 1px solid #d4a75459;
}

.title_head2 span {
    color: var(--color-4);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 34px;
}

.box-news-right .news-content {
    padding: 10px;
}

.news-content .news-block .news-item {
    margin-bottom: 10px;
    border-bottom: 1px dashed #d4a75459;
    display: flex;
    width: 100%;
    padding-bottom: 10px;
}

.news-content .news-block .news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.news-content .news-block .image {
    border: none;
    height: 60px;
    width: 33.333%;
    overflow: hidden;
    text-align: center;
}

.news-content .news-block .image a {
    display: block;
    height: 100%;
}

.news-content .news-block .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.news-content .news-block .image a:hover img {
    transform: scale(1.05);
}

.news-content .news-info {
    width: 66.666%;
    padding: 0 10px;
}

.news-content .news-info h2.name {
    margin: 0 0 5px;
    font-size: 14px;
}

.news-content .news-info h2.name a {
    font-size: 14px;
    color: #bbb;
    line-height: 15px;
    font-weight: 600;
    text-decoration: none;
}

.news-content .news-info h2.name a:hover {
    color: var(--color-4);
}

.pt_title {
    font-size: 30px;
    color: var(--color-4);
    margin-bottom: 20px;
}

.product.service-page {
    padding: 25px 0;
}

@media (max-width: 768px) {
    .product.service-page {
        padding: 20px 0;
    }

    .sidebar-left {
        margin-top: 20px;
    }
}

/* Services Category Grid Page CSS */
.services-grid-page {
    padding: 40px 0;
    background-color: #ffffff;
}

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* margin-bottom: 40px; */
}

.service-grid-item {
    text-align: center;
}

.service-grid-item .item-link {
    display: block;
    text-decoration: none;
}

.service-grid-item .image-wrapper {
    width: 100%;
    aspect-ratio: 1.6;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: #f7f7f7;
    margin-bottom: 15px;
}

.service-grid-item .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.service-grid-item .item-title {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #98CA3D;
    margin: 0;
    padding: 0 10px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}


.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.no-content-alert {
    padding: 80px 20px;
    text-align: center;
    border: 1px dashed #e2e8f0;
    border-radius: 8px;
    color: #666666;
}

@media (max-width: 991px) {
    .services-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .services-grid-page {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .services-list-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px 12px;
    }

}



/*chi tiáº¿t NÃ´ng nghiá»‡p sáº¡ch*/
.experience-section {
    padding: 30px 0;
}

.experience-box {
    margin: auto;
    position: relative;
    display: flex;
    overflow: hidden;
}

.experience-image {
    width: 100%;
    height: 680px;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.experience-content {
    width: 40%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 50px 40px;
    color: #fff;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.experience-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.experience-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #eee;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    cursor: pointer;
    transition: .3s;
    z-index: 10;
}

.arrow:hover {
    background: #98CA3D;
}

.arrow i {
    font-size: 20px;
}

.arrow-left {
    left: 20px;
}

.arrow-right {
    right: calc(40% + 20px);
}

.experience-image {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
}

.experience-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.experience-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0;
    transition: opacity .5s ease;
}

.experience-image img.active {
    opacity: 1;
}

@media(max-width:991px) {

    .experience-box {
        display: block;
    }

    .experience-image,
    .experience-content {
        width: 100%;
    }

    .experience-content {
        background: rgba(0, 0, 0, 0.7);
    }

    .experience-image {
        height: 420px;
    }

    .experience-content {
        position: relative;
        padding: 35px 25px;
    }

    .experience-content p {
        font-size: 18px;
    }

    .arrow-right {
        right: 20px;
    }
}
