/*.rbt-banner-area *, .custom-stats-bar * {
    font-family: 'Google Sans', sans-serif !important;
}*/
.rbt-banner-area {
    position: relative;
    z-index: 10;
    overflow: visible !important;
}
.rbt-header .rbt-header-wrapper.rbt-sticky {
    z-index: 9999;
}
/* Banner Tổng thể */
.custom-hero-banner {
    background-color: #f3f6fa;
    padding-top: 80px;
}

/* Phần nội dung bên trái */
.custom-subtitle {
    font-family: 'Google Sans', sans-serif !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0px;
    opacity: 1;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

    .custom-subtitle::before {
        content: "";
        display: inline-block;
        width: 40px;
        height: 1.5px;
        background-color: #333;
        margin-right: 15px;
    }

.custom-title-wrapper {
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: nowrap;
}

.img-10k {
    height: 100px;
    width: auto;
    display: inline-block;
    vertical-align: baseline;
    object-fit: contain;
}

.custom-title-wrapper .title {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.custom-title-wrapper .text-part {
    font-family: 'Google Sans', sans-serif !important;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: capitalize;
    background: linear-gradient(270deg, #3431C6 0%, #000021 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    vertical-align: baseline;
}

.custom-desc {
    padding-right: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    max-width: 80% !important;
    font-family: 'Google Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    line-height: 28px !important;
    color: #070a0e !important;
    margin-bottom: 30px;
    text-align: justify;
}

.custom-btn-explore {
    background: #2e30bf !important;
    border-radius: 6px;
    border: none;
}

.custom-image-wrapper {
    position: relative;
    width: 626px;
    height: 506px;
    display: flex;
    gap: 20px;
    opacity: 1;
}

    .custom-image-wrapper .img-back {
        width: 303px;
        height: 506px;
        object-fit: cover;
        border-radius: 10px;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
    }

    .custom-image-wrapper .img-front {
        position: absolute;
        width: 303px;
        height: 506px;
        left: 323px;
        top: 140px;
        object-fit: cover;
        border-radius: 8px;
        z-index: 2;
        box-shadow: -10px 10px 30px rgba(0,0,0,0.1);
        opacity: 1;
    }

.slider-btn .btn-text{
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

rbt-btn btn-gradient {
    background-color: #3431C6 !important;
}
/* Thanh thống kê màu xanh bên dưới */
.custom-stats-bar {
    position: relative;
    z-index: 0 !important;
    background-color: #3431C6;
    color: #fff;
    padding: 30px 15px;
    width: 100%;
}

.custom-stats-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-left: 30px;
    gap: 70px;
}

.custom-stats-bar .stat-item {
    display: flex;
    flex-direction: column;
}
.stat-item .stat-text {
    font-family: 'Google Sans', sans-serif !important; 
}
.custom-stats-bar .scroll-down-btn {
    margin-left: 10px;
}

.custom-stats-bar .stat-num {
    color: #fff;
    font-family: 'Google Sans', sans-serif !important;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.custom-stats-bar .stat-text {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
    color: #fff;
}

.custom-stats-bar .scroll-down-btn {
    align-items: center;
    color: #fff;
    cursor: pointer;
    margin-left: 20px;
    transition: opacity 0.3s ease;
}

    .custom-stats-bar .scroll-down-btn:hover {
        opacity: 0.7;
    }

    .custom-stats-bar .scroll-down-btn .icon-down {
        font-size: 24px;
        margin-bottom: 4px;
    }

.custom-image-wrapper .img-front {
    right: 0;
}

.stat-item {
    position: relative;
}

.stat-skeleton {
    display: block;
    width: 96px;
    height: 34px;
    margin: 0 auto 8px;
    border-radius: 8px;
    background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.2s linear infinite;
}

.real-stat {
    display: none;
}

.banner-loaded .stat-skeleton {
    display: none;
}

.banner-loaded .real-stat {
    display: block;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* =============================================
   RESPONSIVE BREAKPOINTS - BANNER
   ============================================= */

/* Large Desktop (≤ 1200px) */
@media (max-width: 1200px) {
    .custom-image-wrapper {
        width: 100%;
        height: 420px;
    }

    .custom-image-wrapper .img-back {
        width: 48%;
        height: 420px;
    }

    .custom-image-wrapper .img-front {
        width: 48%;
        height: 380px;
        left: auto;
        right: 0;
        top: 80px;
    }

    .custom-title-wrapper .text-part {
        font-size: 38px;
    }

    .custom-stats-wrapper {
        gap: 40px;
    }
}

/* Tablet landscape (≤ 992px) */
@media (max-width: 992px) {
    .rbt-banner-area.height-750 {
        min-height: auto !important;
        padding: 60px 0 40px !important;
    }

    .rbt-banner-area .col-lg-6:first-child {
        text-align: center;
    }

    .custom-subtitle {
        justify-content: center;
    }

    .custom-title-wrapper {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .custom-title-wrapper .text-part {
        font-size: 34px;
        text-align: center;
    }

    .img-10k {
        height: 75px;
    }

    .custom-desc {
        max-width: 100% !important;
        font-size: 16px !important;
        text-align: center !important;
    }

    .slider-btn {
        text-align: center;
    }

    /* Image wrapper becomes single stacked image */
    .custom-image-wrapper {
        width: 100%;
        height: 340px;
        margin-top: 30px;
        justify-content: center;
    }

    .custom-image-wrapper .img-back {
        width: 55%;
        height: 340px;
    }

    .custom-image-wrapper .img-front {
        width: 45%;
        height: 280px;
        left: auto;
        right: 0;
        top: 60px;
    }

    /* Stats bar */
    .custom-stats-wrapper {
        gap: 24px;
        padding-left: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom-stats-bar .stat-num {
        font-size: 32px;
    }

    .custom-stats-bar .stat-text {
        font-size: 13px;
    }
}

/* Tablet portrait (≤ 768px) */
@media (max-width: 768px) {
    .rbt-banner-area .col-lg-6:last-child {
        display: none; /* hide image column on small tablets */
    }

    .custom-title-wrapper .text-part {
        font-size: 30px;
    }

    .img-10k {
        height: 60px;
    }

    .custom-desc {
        font-size: 15px !important;
    }

    .custom-stats-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
        padding: 0 16px;
        justify-items: center;
    }

    .custom-stats-bar .stat-num {
        font-size: 28px;
    }

    .custom-stats-bar {
        padding: 24px 12px;
    }

    .custom-stats-bar .scroll-down-btn {
        grid-column: 1 / -1;
        margin-left: 0;
    }
}

/* Mobile (≤ 576px) */
@media (max-width: 576px) {
    .custom-subtitle {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .custom-subtitle::before {
        width: 24px;
        margin-right: 8px;
    }

    .custom-title-wrapper {
        gap: 8px;
    }

    .custom-title-wrapper .text-part {
        font-size: 26px;
        line-height: 1.2;
    }

    .img-10k {
        height: 50px;
    }

    .custom-desc {
        font-size: 14px !important;
        line-height: 22px !important;
        margin-bottom: 20px;
    }

    .custom-stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }

    .custom-stats-bar .stat-num {
        font-size: 24px;
    }

    .custom-stats-bar .stat-text {
        font-size: 12px;
    }
}
