
.home-banner-content {
    position: absolute;
    transform: translate(-50%, -50%) !important;
    top: 40%;
    left: 50%;
    z-index: 2;
}

.border-right {
    border-right: none;
}

.achievement-title {
    margin-top: 1rem;
    font-size: 3rem;
    font-weight: 600;
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-image:hover > img {
    transform: scale(1.2);
}

.project-title {
    text-align: left;
    color: #000;
    font-weight: 500;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.project-title:hover {
    color: var(--company-color);
    transition: all 0.3s ease;
}

.service-box {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px;
    cursor: pointer;
    text-align: center;
    background-color: var(--company-color);
    transition: all 0.5s ease;
    min-height: 210px;
}

.service-box.active {
    background-color: #fff;
    border: 1px solid var(--company-color);
}

.service-box.active .service-box-title {
    color: var(--company-color);
}

.service-box.active .service-box-content {
    display: block !important;
}

.service-box.active .service-box-logo {
    color: var(--company-color);
}

.service-box-logo {
    font-size: 20px;
    font-weight: bold;
    height: 104px;
    margin-bottom: 1.2rem;
}

.service-box-logo > img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.service-box-logo {
    color: #fff;
    font-size: 6rem;
}

.service-box-title {
    color: #ddd;
    font-weight: 600;
    font-size: 18px;
    margin: 5px 0;
}

.service-box-content {
    display: none !important;
    overflow: hidden;
    transition: all 0.5s ease;
}

.content-service-bottom {
    display: none;
    position: absolute !important;
    top: 490px;
    left: 0;
    border: 1px solid var(--company-color);
    padding: 1.6rem;
    margin: 0px 14px;
    width: calc(100% - 28px);
    min-height: 100px;
}

.title-blogs {
    position: relative;
    font-weight: 500;
    color: #000;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.title-blogs::before {
    position: absolute;
    top: 48px !important;
    left: 0;
    content: "";
    width: 70px;
    height: 4px;
    display: block;
    background-color: var(--company-color);
    border-radius: 5px;
}

.site-job-card {
    background-color: white !important;
    display: block;
    padding: 10px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    transition: all 0.2s ease-in;
}

.site-job-card:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    cursor: pointer;
}

.news-card {
    background-color: white !important;
    display: block;
    padding: 10px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    transition: all 0.2s ease-in;
}

.simple-news-card {
    height: 120px;
    padding: 8px;
}

.simple-news-card .news-card-image-wrapper {
    width: 200px;
}

.news-card-image-wrapper {
    border-radius: 10px;
    overflow: hidden;
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.2s ease-in;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 10px;
    text-decoration: none !important;
    transition: all 0.2s ease-in;
}

.news-card p {
    font-size: 0.9rem;
}

.news-card:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.news-card:hover .news-card-title {
    color: var(--company-color);
}

.news-card:hover news-card-image {
    transform: scale(1.05);
}

.news-card:hover span {
    color: #6c757d !important;
}

.news-icon-hover {
    transition: all 0.2s ease-in;
}

.news-card:hover .news-icon-hover {
    color: var(--company-color) !important;
}

.site-header-banner {
    height: 50vh;
}

.site-image-overlay {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.site-play-podcast-btn {
    border: 1px solid var(--gray-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    transition: all 0.2s;
}

.site-play-podcast-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-hover-color);
    color: white;
}

.site-image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.site-image-overlay-content {
    position: absolute;
    left: 20px;
    bottom: 40px;
    z-index: 2;
}

.site-image-overlay-content p {
    text-align: left;
}

.site-bg-color {
    background-color: #f9fafb;
}

.site-hover-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.site-hover-card.scale:hover {
    transform: scale(1.1);
}

.site-hover-card:hover {
    color: white !important;
    cursor: pointer;
    background-color: transparent;
}

.site-hover-card::before {
    content: "";
    position: absolute;
    background-color: transparent;
    right: 0;
    left: 0;
    bottom: 0;
    top: 100%;
    transition: all 0.3s;
    z-index: -1;
}

.site-hover-card:hover::before {
    top: 0;
    background-color: var(--company-color);
}

.site-hover-card:hover h4,
.site-hover-card:hover h3 {
    color: white !important;
    z-index: 2;
}

.site-hover-card:hover .icon-box {
    background-color: white;
    color: var(--company-color) !important;
    z-index: 2;
}

.site-hover-card:hover .icon-box .iconify {
    color: var(--company-color) !important;
    z-index: 2;
}

.site-hover-card:hover .iconify {
    color: white !important;
}

.news-card:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.news-card:hover .news-card-title {
    color: var(--company-color);
}

.news-card:hover .news-card-image {
    transform: scale(1.05);
}

.news-card:hover span {
    color: #6c757d !important;
}

.news-icon-hover {
    transition: all 0.2s ease-in;
}

.news-card:hover .news-icon-hover {
    color: var(--company-color) !important;
}

.network-group {
    transition: 0.2s all ease;
}

.network-group:hover {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.tooltip-inner {
    background-color: #fff !important;
    color: #000 !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    font-size: 16px;
    max-width: 360px !important;
}

.tooltip-arrow:before {
    border-bottom-color: #fff !important;
}

.network-title {
    font-size: 1rem;
    padding: 8px 10px !important;
    cursor: pointer;
    color: var(--company-color);
}

.network-title.active {
    border-bottom: 2px solid var(--company-color);
    font-weight: 600;
    cursor: default;
}

.content-tab {
    display: none !important;
    transition: opacity 0.5s ease;
}

.content-tab.active {
    display: flex !important;
}

.network-image {
    height: 140px;
    width: 150px;
    object-fit: contain;
}

.network-image.sm {
    height: 140px;
    width: 100px;
    object-fit: contain;
}

.network-image.lg {
    height: 90px;
    width: 210px;
    object-fit: contain;
}

.network-image.md {
    height: 80px;
    width: 190px;
    object-fit: contain;
}

.home-contact-bg {
    background: url("/images/home-page/home_contact_bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    background-size: cover;
}

.site-bg-image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.title-contact {
    font-weight: 500;
    color: #fff;
}

.btn-contact:hover {
    color: var(--company-color);
    background-color: #fff;
    border: 2px solid var(--company-color);
    border-radius: 100px;
}

/* End Home Page */


/* Begin Common */
.overlay-white {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.overlay-gray {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.btn-contact {
    color: #fff;
    background-color: var(--company-color);
    border: 2px solid var(--company-color);
    border-radius: 100px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mt-6 {
    margin-top: 5rem !important;
}

.heading-font-size {
    text-align: center;
    font-size: 2rem !important;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #000;
}

.my-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.overlay-black {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.h-400 {
    height: 400px;
}

.object-fit-cover {
    object-fit: cover;
}

.object-fit-cotain {
    object-fit: contain;
}

.btn-news {
    color: var(--company-color);
    background-color: #fff;
    border: 2px solid var(--company-color);
    border-radius: 100px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-news:hover {
    color: #fff;
    background-color: var(--company-color);
}

.btn-subscribe {
    color: #fff;
    background-color: #000;
    border: 2px solid #000;
    border-radius: 100px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    color: #000;
    background-color: #fff !important;
    border: 2px solid var(--company-color);
    border-radius: 100px;
}

.btn-contact-black {
    color: #fff;
    background-color: #000;
    border: 2px solid #000;
    border-radius: 100px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact-black:hover {
    color: #000;
    background-color: #fff !important;
    border: 2px solid #000;
    border-radius: 100px;
}

.cursor-pointer {
    cursor: pointer;
}

.text-truncate-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.user-select-none {
    user-select: none;
}

.grab {
    cursor: grab;
}

.target-value .accordion {
    width: 100%;
}

.target-value .accordion-item {
    border: none;
    border-bottom: 1px solid #ccc;
}

.target-value .accordion-item:last-child {
    border-bottom: none;
}

.target-value .accordion-header {
    width: 100%;
    padding: 15px;
    text-align: left;
    background-color: #f9fafb;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.target-value .accordion-header.active {
    color: var(--primary-color);
}

.target-value .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 15px;
    background-color: #fafafa;
}

.target-value .accordion-content p {
    margin: 0 0 15px 0;
}

.target-value .accordion-icon {
    font-size: 18px !important;
    transition: transform 0.3s ease;
}

.target-value .accordion-header.active .accordion-icon {
    transform: rotate(180deg); /* Thay đổi từ + thành - */
}

.course .card {
    transition: all 0.2s ease-in-out;
}

.course .card:hover {
    transform: scale(1.01);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    cursor: pointer;
}

.course .card-body a:hover {
    background-color: var(--primary-hover-color);
}

.text-decoration-none {
    text-decoration: none;
}

.overlay-dark-to-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    pointer-events: none;
    z-index: 1;
}

.button-gradient {
    background: linear-gradient(163.23deg, #f07674, #cb2926);
    color: #fff;
    border-radius: 100px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button-gradient:hover {
    color: var(--company-color);
    background: #fff;
    border: 1px solid var(--company-color);
}

.drop-shadow {
    -webkit-filter: drop-shadow(3px 3px 3px #75757580);
    filter: drop-shadow(3px 3px 3px #75757580);
}

.earthquake {
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0% {
        transform: rotate(0deg) ;
    }
    25% {
        transform: rotate(5deg) ;
    }
    50% {
        transform: rotate(-5deg) ;
    }
    75% {
        transform: rotate(5deg) ;
    }
    100% {
        transform: rotate(0deg) ;
    }
}

/* End Common */

/* Begin Header */
#lang_dropdown,
 #lang_dropdown_mobile {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    background-color: white;
    border-radius: 4px;
    padding: 0px;
    height: 32px;
}

.lang-dropdown-divider {
    height: 32px;
    width: 1px;
    background-color: #e5e7eb;
}

.lang-icon {
    display: flex;
    padding: 0 8px;
}

#lang_dropdown::after,
 #lang_dropdown_mobile:after {
    display: none !important;
}

.lang-current-label {
    display: none;
}

.lang-current-label.active {
    display: flex;
}

.lang-current {
    width: 71px;
}

/* End Header */


/* Product Page */
.site-product-image-hover {
    transition: all 0.2s ease-in-out;
}

.site-product-image-hover:hover {
    transform: scale(1.05);
}

/* End Product Page */


/* Job page */
.site-filter-btn {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    height: 38px;
    display: flex;
}

.site-filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.filter-dropdown-wrapper {
    border: none;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    width: 320px;
}

.filter-dropdown-content {
    max-height: 450px;
    overflow-y: auto;
    padding: 10px;
}

.filter-dropdown-footer {
    padding: 10px;
}

.wrap-content > h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem !important;
}

.tag {
    background-color: #eeeeee !important;
    padding: 0.25rem 1.2rem;
    border-radius: 50rem;
    text-decoration: none;
    color: #000;
    transition: all 0.2s ease-in-out;
}

.tag:hover {
    color: var(--company-color);
}

/* End Job page */

/* Begin Job Search page */
.site-recruitment-search-title {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff !important;
    margin-bottom: 0 !important;
}

.site-recruitment-search-btn-search {
    position: absolute;
    right: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    cursor: pointer;
    z-index: 10;
}

.site-recruitment-search-input-search {
    transition: all 0.2s ease;
    padding-right: 3rem;
}

.site-recruitment-search-input-search:hover {
    border: 1px solid var(--company-color);
    box-shadow: none;
}

.site-recruitment-search-input-search:focus {
    border: 1px solid #ccc;
    box-shadow: none;
}

.form-check-input:checked {
    background-color: var(--company-color);
    border-color: var(--company-color);
}

.form-check-input:focus {
    border-color: rgba(0, 0, 0, .25);
    outline: 0;
    box-shadow: none;
}

/* End Job Search page */


/* Begin About Us page */
.image-about-us {
    height: 30vh;
    width: 100%;
    object-fit: cover;
}

.carousel-img-content {
    bottom: 5%;
    right: 5%;
}


/* End About Us page */
.site-about-time-line-container {
    --primary-color: #cb2926;
    --gray-color: #bdbdbd;
    list-style: none;
    position: relative;
    width: 100%;
    max-width: 860px;
    height: 50px;
    overflow: hidden;
    user-select: none;
    cursor: grab;
    padding-bottom: 17px;
    display: flex;
    width: 100%;
    margin: 0 10px;
    padding-left: 0;
}

.site-about-time-line-item {
    display: flex;
    width: 200px;
    justify-content: end;
    position: relative;
    height: 100%;
}

.site-about-time-line-item.first {
    width: 30px;
}

.site-about-time-line-item.last {
    width: 230px;
}

.site-about-time-line-item.last .site-about-time-line-item-content {
    transform: translateX(-30px);
}

.site-about-time-line-item-content {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    cursor: pointer;
}

.site-about-time-line-item-content::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-color);
    bottom: 0;
    transform: translateY(17px);
    z-index: 10;
}

.site-about-time-line-item-content::before {
    content: attr(data-timeline);
    position: absolute;
    top: 10px;
    left: 7px;
    transform: translateX(-50%);
    white-space: nowrap;
    width: fit-content;
    z-index: 10;
}

.site-about-time-line-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    background-color: var(--gray-color);
    bottom: -12px;
}

.site-about-time-line-item.active::before {
    background-color: var(--primary-color);
}

.site-about-time-line-item.active .site-about-time-line-item-content::after {
    background-color: var(--primary-color);
}

.site-about-carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 750px;
    position: relative;
}

.site-about-carousel-item::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.site-coming-soon {
    min-height: calc(100vh - var(--header-height));
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infinity-scroll {
    display: flex;
    overflow: hidden;
    user-select: none;
    --color-text: navy;
    --color-bg: papayawhip;
    --color-bg-accent: #ecdcc0;
    --size: clamp(10rem, 1rem + 40vmin, 30rem);
    --gap: calc(var(--size) / 14);
    --duration: 50s;
    --scroll-start: 0;
    --scroll-end: calc(-100% - var(--gap));
}

.infinity-scroll-group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    animation: scroll-x var(--duration) linear infinite;
}

.infinity-scroll img {
    display: grid;
    place-items: center;
    border-radius: 0.5rem;
    width: 100px;
}

.ckeditor-content img {
    max-width: 100%;
    height: auto;
}

@keyframes scroll-x {
    from {
        transform: translateX(var(--scroll-start));
    }
    to {
        transform: translateX(var(--scroll-end));
    }
}

/* Begin TTD Academy Page */
.site-academy-banner {
    height: 40vh;
    background-size: cover;
    background-position: bottom;
}
.site-academy-banner-content {
    position: absolute;
    transform: translate(-50%, -50%) !important;
    bottom: -30px;
    left: 50%;
    z-index: 99;
    width: 100%;
}
/* End TTD Academy Page */

/* Begin Responsive */
@media (min-width: 576px) {
    .home-banner {
        display: block;
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }

    .site-header-banner {
        height: 60vh;
    }

    .site-academy-banner {
        height: 70vh;
    }

    .heading-font-size {
        font-size: 3rem !important;
        font-weight: 500;
        margin-bottom: 1rem;
        color: #000;
    }

    .project-image {
        height: 170px;
        overflow: hidden;
    }

    .title-blogs {
        font-size: 1.8rem;
    }

    .network-title {
        font-size: 1.2rem;
    }

    .banner-product-detail {
        height: 650px;
        object-fit: cover;
    }

    .product-detail-invite {
        font-size: 1.8rem;
    }

    .recruitment-banner {
        display: block;
        width: 100%;
        height: 65vh;
        object-fit: cover;
    }

    .recruitment-banner-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding-bottom: 5rem;
    }

    .text-sm-white {
        color: #fff !important;
    }

    .position-md-absolute {
        position: absolute;
    }

    .text-md-white {
        color: #fff !important;
    }

    .image-about-us {
        height: 70vh;
    }

    .site-image-overlay-content {
        left: 20%;
        bottom: 20%;
    }

    .filter-dropdown-wrapper {
        width: 400px;
    }
}

@media (min-width: 768px) {
    .border-right {
        border-right: 1px solid var(--company-color) !important;
    }

    .site-recruitment-submit-bg {
        height: 432px;
    }

    .site-header-banner {
        height: 60vh;
    }

    .w-md-100 {
        width: 100%;
    }

    .p-md-6 {
        padding: 6rem !important;
    }

    .w-md-50 {
        width: 50% !important;
    }
}

@media (min-width: 992px) {
    .content-service-bottom.active {
        display: block;
    }

    .service-box.active .service-box-content {
        display: none !important;
    }

    .site-header-banner {
        height: 80vh;
    }

    .w-lg-50 {
        width: 50% !important;
    }
}

@media (max-width: 768px) {
    .site-about-time-line-item {
        display: flex;
        width: 140px;
        justify-content: end;
        position: relative;
        height: 100%;
    }

    .site-about-time-line-item.first {
        width: 30px;
    }

    .site-about-time-line-item.last {
        width: 170px;
    }

    .site-about-carousel-item {
        min-height: 400px;
    }
}

/* End Responsive */