/*SLide*/

/* SLide responsive s-slide-9 */

/* Giữ tỉ lệ slide */
.s-slide-9 .slick-list::before {
    padding-bottom: calc(48% + 0.88px);
}

/* Dots */
.s-slide-9 .slick-dots {
    width: 100%;
    position: absolute;
    bottom: 10px;
}
.s-slide-9 .slick-dots li button {
    color: transparent;
    font-size: 4px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 3em;
    height: 3em;
}

/* Slide background */
.s-slide-9 .slick-slide {
    background-size: cover;
    background-attachment: fixed;
}

/* Text animation */
.s-slide-9 .slick-active .s_title,
.s-slide-9 .slick-active .s_desc,
.s-slide-9 .slick-active .s_button {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

/* Caption container */
.s-slide-9 .s_caption {
    width: 65%;
    color: #fff;
    letter-spacing: 1px;
    position: absolute;
    top: 50%;
    left: 135px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* Title */
.s-slide-9 .s_caption .s_title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 0.143em;
    text-shadow: 1px 1px 0 #000;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

/* Description */
.s-slide-9 .s_caption .s_desc {
    font-size: 1.429em;
    margin-bottom: 1em;
    text-shadow: 1px 1px 0 #0B7741;
    -webkit-animation-delay: 0.75s;
    animation-delay: 0.75s;
}

/* Button */
.s-slide-9 .s_caption .s_button {
    display: inline-block;
    color: #000;
    font-weight: bold;
    padding: 0.715em 1.072em;
    background-color: #fff;
    border-radius: 16px;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
    transition: 0.25s ease;
}
.s-slide-9 .s_caption .s_button:hover {
    color: #fff;
    background-color: var(--primary-color);
}

.s_topic {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0.143em;
    text-shadow: 1px 1px 0 #000;
}

/* Animation fadeInDown */
@keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

/* RESPONSIVE */
@media screen and (max-width: 1260px) {

    .s-slide-9 .s_caption {
        display: none;
    }

}
@media screen and (max-width: 991px) {

    .s-slide-9 .s_caption {
      display: none;
    }

}
@media screen and (max-width: 767px) {

    .s-slide-9 .s_caption {
        top: 65%;
        padding: 8px 12px;
    }

    .s-slide-9 .s_caption .s_title {
        font-size: 20px !important;
        line-height: 1.3;
    }

    .s-slide-9 .s_caption .s_desc {
        display: none !important; /* Ẩn mô tả */
    }

    /* slick dots nhỏ lại */
    .slick-dots li button {
      display: none;
    }
}

/* Đổi dot thành hình vuông */
[class*="b-sslide-"] .slick-dots li button {
    width: 14px;
    height: 14px;
    border-radius: 2px; /* hơi bo nhẹ góc cho đẹp */
    background: #ccc; /* màu dot mặc định */
    position: relative;
    overflow: hidden;
    border: none;
}

/* Khi dot đang active */
[class*="b-sslide-"] .slick-dots li.slick-active button {
    background-color: var(--primary-color);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    border: 2px solid #fff; /* Viền trắng nổi bật */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
    width: 18px;  /* tăng kích thước dot */
    height: 18px;
    transform: scale(1.1); /* hiệu ứng phóng nhẹ */
    transition: all 0.3s ease;
}



/* Hiệu ứng sọc vân giống container */
[class*="b-sslide-"] .slick-dots li.slick-active button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.15) 0px,
            rgba(255, 255, 255, 0.15) 2px,
            transparent 2px,
            transparent 6px
    );
    opacity: 0.6;
    pointer-events: none; /* không ảnh hưởng click */
}


/* END s-slide-9 */

/*Giới thiệu*/
.s-home-8 {
    padding: 40px 0; /* Bỏ padding gốc */
    background-color: #fff;
}

/* Flexbox/Grid cho bố cục 2 cột chính */
.transport-company-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 0;
    gap: 30px;
}

/* --- LEFT CONTENT (Thông tin và Mô tả) --- */
.transport-left-content {
    flex: 1 1 55%;
    padding: 0;
}

.about-company-label {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.s_title.transport-main-title {
    color: black;
    font-size: 35px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: none;
    text-align: left;
}

.s_title.transport-main-title::after {
    content: none;
}

.s_desc.transport-description {
    color: black;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: left;
    font-size: 16px;
}

/* Features/Bullet Points (Mô phỏng 4 điểm checklist) */
.transport-features {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    width: 50%;
    margin-bottom: 15px;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 10px;
}

.feature-text {
    font-weight: 600;
    color: black;
    margin: 0;
}

/* Discover More Button */
.discover-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.discover-btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
}

/* --- RIGHT CONTENT --- */
.transport-right-media {
    flex: 1 1 40%;
    position: relative;
    padding: 0;}

/* Experience Block */
.experience-block {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    background-color: var(--primary-color);
    color: #fff;
    width: 150px;
    padding: 20px 10px;
    text-align: center;
    line-height: 1.2;
    border-radius: 16px;
}

.experience-block-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    background-color: var(--primary-color);
    color: #fff;
    width: 180px;
    padding: 20px 10px;
    text-align: center;
    line-height: 1.2;
    border-radius: 16px;
}

.experience-years {
    font-size: 55px;
    font-weight: 900;
    margin: 0 0 5px 0;
}

.experience-text {
    font-size: 16px;
    margin: 0;
}

/* Image Placeholders */
.image-wrapper {
    overflow: hidden;
    margin-bottom: 20px;
}

.bottom-image-wrapper {
    width: 80%;
    /* margin-left: -50px; */
    margin-top: -100px;
    background-color: #FFE;
    margin-left: 50px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.transport-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.top-image, .bottom-image {
    background-image: none;
}

/* RESPONSIVE (Dưới 992px) */
@media screen and (max-width: 991px) {
    .transport-company-intro {
        flex-direction: column;
        padding: 40px 0;
    }
    .transport-left-content,
    .transport-right-media {
        flex-basis: 100%;
        width: 100%;
    }
    .s_title.transport-main-title {
        font-size: 35px;
    }
    .experience-block {
        margin-bottom: 20px;
        box-sizing: border-box;
    }
    .feature-item {
        width: 100%;
    }
    .bottom-image {
        width: 100%;
        margin-left: 0;
    }
    .experience-years{
        font-size: 26px;
    }
    .experience-text{
        font-size: 13px;
    }
}

.s_rbox {
    top: 0;
    z-index: auto;
}
.section-about {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

/*Dịch vụ nổi bật*/
.transport-slider {
    width: 90%;
    margin: 40px auto;
}

.slider-container {
    display: flex;
    align-items: center;
}

/* giữ nguyên phần khác; chỉ thay phần liên quan đến card */

.slide-item {
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

.slider-container .slick-dots li button {
    background-color: rgba(0,0,0,0.3);
}

.slider-container .slick-dots li.slick-active button {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

/* Hình ảnh */
.slide-image img {
    width: 80%;
    height: 260px; /* cố định chiều cao ảnh cho đồng đều */
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* CARD TRẮNG: height auto (JS sẽ set sau) */
.slide-box {
    background: rgba(255, 255, 255, 0.65);
    padding: 24px;
    width: 88%;
    margin: 100px auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    position: relative;
    height: auto;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.25s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.5); /* giảm opacity border cho nhẹ */
}


/* Hover nổi lên */
.slide-item:hover .slide-box {
    transform: translateY(-20px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

/* ICON */
.slide-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
    flex: 0 0 auto;
    border: 1px solid var(--primary-color);
}

/* TITLE: giới hạn 2 dòng */
.slide-box h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 50px;
}

/* DESCRIPTION: giới hạn 4 dòng, chiếm không gian co dãn */
.slide-box p {
    font-size: 14px;
    margin-bottom: 14px;
    color: #333;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 80px;
}

/* LINK luôn nằm dưới */
.slide-box .more {
    font-weight: 600;
    text-decoration: none;
    color: #0a3251;
    transition: margin-left .2s;
    flex: 0 0 auto;
}

.slide-box .more:hover {
    margin-left: 5px;
}


.slick-prev, .slick-next {
    background: var(--primary-color) !important;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    z-index: 5;
}
.slide-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.transport-slider {
    padding: 40px 0;
}

.sec_caption{
    text-align: center;
}

.sec_title {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.sec_title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    display: block;
    margin: 12px auto 0 auto;
    border-radius: 3px;
}

.sec_des {
    max-width: 650px;
    margin: 0 auto 40px;
    color: black;
    font-size: 16px;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .transport-slider {
        padding: 20px 0;
        margin: 10px auto;
    }

    .slide-image img {
        width: 100%;
    }
    .slide-box{
        width: 100%;
    }
}

/*Tại sao chọn chúng tôi*/
.contribute-section{
    padding: 40px 0;
    background-attachment: fixed;
}
.tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.con_caption {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 36px;
    padding: 18px 16px;
}

.con_title {
    font-size: 35px;
    line-height: 1.2;
    color: #fff;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: none;
    letter-spacing: 0.2px;
}

.con_title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, #0b84ff, var(--primary-color));
    margin: 12px auto 0;
    border-radius: 2px;
}

.con_des {
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    margin: 12px 0 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.feature-card {
    border-radius: 8px;
    background-color: white;
    padding: 20px;
    height: calc(100% - 20px);
    margin: 5px;
}

.card-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.card-header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color, #ff6600);
    margin-bottom: 10px;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon {
    font-size: 24px;
    color: var(--primary-color, #ff6600);
    font-weight: bold;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.card-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 64px;
    height: 3px;
    background-color: var(--primary-color, #ff6600);
}

.card-text {
    margin-top: 20px;
}

.feature-right{
    background-color: #fff;
    border-radius: 8px;
    height: calc(100% - 28px);
}

.feature-image-wrapper img{
    border-radius: 16px;
}

.ht-ratio--115::before {
    padding-bottom: 115%;
}

.feature-text-overlay {
    position: absolute;
    right: 24px;
    top: 80%;
    transform: translateY(-50%);
    padding: 22px;
    max-width: 340px;
    text-align: left;
    z-index: 5;
}

.overlay-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.2px;
    background-color: #fff;
}

.overlay-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
    background-color: #fff;
}

.template-section {
    padding: 40px 0;
}

.image-title:after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    display: block;
    border-radius: 3px;
}

.left-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 580px;
}

.left-gallery a {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    background: #000;
    aspect-ratio: 4 / 3;
}

.left-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.5s ease, opacity 0.4s ease;
}

.left-gallery a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 12px;
}
.left-gallery a::after {
    content: "\f065";
    font-family: "FontAwesome";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    font-size: 28px;
    color: #fff;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.left-gallery a:hover img {
    transform: scale(1.12);
    opacity: 0.85;
}
.left-gallery a:hover::before {
    opacity: 1;
}
.left-gallery a:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.left-gallery a:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.left-gallery a:nth-child(2),
.left-gallery a:nth-child(5) {
    transform: translateY(10px);
}
.left-gallery a:nth-child(3),
.left-gallery a:nth-child(6) {
    transform: translateY(-10px);
}

.stair-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
    max-width: 600px;
}

.stair-gallery a {
    position: relative;
    display: block;
    width: 45%;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    aspect-ratio: 4 / 3; /* ✅ Cố định tỷ lệ ảnh giống bên trái */
}

.stair-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s ease, opacity 0.4s ease;
}

.stair-gallery a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 14px;
}

.stair-gallery a::after {
    content: "\f065";
    font-family: "FontAwesome";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    font-size: 28px;
    color: #fff;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.stair-gallery a:hover img {
    transform: scale(1.12);
    opacity: 0.85;
}
.stair-gallery a:hover::before {
    opacity: 1;
}
.stair-gallery a:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.stair-gallery a:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.stair-gallery a:nth-child(odd) {
    transform: translateY(15px);
}
.stair-gallery a:nth-child(even) {
    transform: translateY(-15px);
}

@media screen and (min-width: 375px) and (max-width: 420px){
    /*.feature-text-overlay{*/
    /*    top: 73%;*/
    /*}*/

    .feature-text-overlay{
        background-color: #fff;
    }
}

/*@media screen and (min-width: 420px) and (max-width: 992px){*/
/*    .feature-text-overlay{*/
/*        top: 72%;*/
/*    }*/
/*}*/

@media screen and (min-width: 992px) and (max-width: 1260px){
   .feature-image-wrapper{
       top: 111px;
   }

    .feature-text-overlay{
        position: absolute;
        top: 75%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        width: 100%;
    }

}

@media (max-width: 992px) {
    .left-gallery {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    .stair-gallery {
        justify-content: center;
        margin-top: 40px;

    }
    .stair-gallery a {
        width: 47%;
    }
    .feature-text-overlay{
        position: absolute;
        top: 75%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        width: 100%;
    }


}

@media (max-width: 768px) {

    .left-gallery a,
    .stair-gallery a {
        transform: none !important;
    }
}

/*Hỏi đáp*/
.faq-section-split {
    padding: 40px 0;
    background: #fff;
}

.faq-image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* --- 5. Cột Nội dung FAQ (Phải) --- */
.faq-content-column {
    flex-basis: 60%;
    padding: 40px;
    box-sizing: border-box;
}


.faq-image-column {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.faq-image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Nội dung đè giữa hình */
.faq-title{
    color: #fff;
}
.faq-title:after{
    content: "";
    width: 60px;
    height: 3px;
    background: #fff;
    display: block;
    border-radius: 3px;
    margin: 12px auto 0 auto;
}
.faq-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 30px 20px;
    border-radius: 12px;
    width: 80%;
}

.faq-overlay .section-title {
    color: #fff;
    font-size: 32px;
    margin-bottom: 12px;
}

.faq-overlay p {
    color: #f2f2f2;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Ẩn overlay trên mobile */
@media (max-width: 768px) {
    .faq-image-column {
        display: none;
    }
}


/* --- 7. CSS của FAQ Item (Đã điều chỉnh) --- */
.faq-list {
    max-width: 100%;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.faq-question i {
    font-size: 16px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 24px;
    color: #333;
    line-height: 1.6;
    background: #fff;
    transition: all 0.4s ease;
}

/* Khi mở */
.faq-item.active .faq-answer {
    padding: 18px 24px 24px;
    opacity: 1;
    max-height: 300px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.faq-question:hover {
    background: #f8faff;
}

/* --- 8. Responsive (Cho thiết bị di động) --- */
@media (max-width: 768px) {

    .faq-image-column {
        display: none; /* Ẩn ảnh trên mobile */
    }
    .faq-content-column {
        flex-basis: 100%;
        padding: 30px 20px;
    }
}
/*Danh sách tin tức*/
/* BEGIN b-card-22 */
.b-card-22 {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 10px;
}

.b-card-22 .b_thumb {
    position: relative;
}

.b-card-22 .b_thumb img {
    width: 100%;
    height: auto;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/* Badge category nằm trên ảnh */
.b-card-22 .b_category {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 3px;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Overlay phần tiêu đề */
.b-card-22 .b_title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 20px 35px;
    color: #fff;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.68);
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.b-card-22 .b_title h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b-card-22 .b_title .b_desc {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 15px;
}

.b-card-22 .b_title span.c-btn-border--secondary {
    margin: 0 auto;
    color: #fff;
    border: 1px solid #fff;
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.b-card-22 .b_title span.c-btn-border--secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.b-card-22:hover .b_title {
    opacity: 1;
}

.b-card-22:hover .b_thumb img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

@media (max-width: 1259px) {
    .b-card-22 .b_title {
        opacity: 1;
        padding: 10px 8px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .b_desc.hidden {
        display: block;
    }
}

@media (max-width: 768px) {
    .b-card-22 .b_title h3{
        font-size: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: 30px;
    }

    .b_category{
        display: none;
    }
    .b-card-22 .b_title span.c-btn-border--secondary {
        display: none;
    }
}

/* END b-card-22 */


/* BEGIN s-home-11 */
.s-home-11 {
    padding: 35px;
    background-color: #f9f9f9;
    margin: 10px 0px 20px 0px;
}

.s-home-11 .s_right .b-card-22 {
    margin-bottom: 10px;
}

.s-home-11 .s_right .b-card-22 .b_title h3 {
    font-size: 1.143em;
    margin-bottom: 12px;
}

.s-home-11 .s_right .b-card-22 .b_title .b_desc {
    font-size: 13px;
}

.s-home-11 .s_right .b-card-22 .b_title span {
    font-size: 10px;
}

@media (max-width: 991px) {
    .s-home-11 .s_left .b-card-22 {
        padding: 10px;
        margin-bottom: 15px;
    }
}

/* END s-home-11 */
/*Đối tác*/

.client-section {
    padding:40px 0;
    text-align: center;
    background-color: #ffffff;
}

.client-title{
    color: var(--primary-color, #0b3b73);
}
.client-title:after{
    content: "";
    width: 60px;
    height: 3px;
    background: var(--primary-color, #0b3b73);
    display: block;
    border-radius: 3px;
    margin: 12px auto 0 auto;
}
.client-desc{
    margin-bottom: 30px;
}

/* Bố cục lưới chứa tất cả logo */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.client-logo-container {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 20px;
    height: 120px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #a0a0a0;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
}

.client-logo-container:hover {
    color: #000000;
    border-color: #cccccc;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    cursor: pointer;
}
.logo-name {
    margin: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
}


.client-logo-container:hover .logo-name {
    opacity: 1;
}


.logo-icon {
    max-width: 80%;
    max-height: 80px;
    height: auto;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(60%);
    transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
    position: absolute;
}

.logo-name {
    display: none;
}


/* Hiệu ứng HOVER cho icon */
.client-logo-container:hover .logo-icon {
    opacity: 1; /* Hiển thị rõ ràng */
    filter: grayscale(0%);
}

.client-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.client-logo-container:hover {
    color: #000000;
    border-color: #cccccc;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .clients-grid {
        /* Giảm xuống 4 cột */
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive: Chỉnh lại bố cục cho màn hình điện thoại */
@media (max-width: 768px) {
    .clients-grid {
        /* Giảm xuống 3 cột */
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .client-logo-container {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        /* Giảm xuống 2 cột */
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title {
        font-size: 30px;
    }
}