/* Minification failed. Returning unminified contents.
(1130,34): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(1131,33): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(2422,32): run-time error CSS1039: Token not allowed after unary operator: '-mobile-slide-image-0'
(2425,32): run-time error CSS1039: Token not allowed after unary operator: '-mobile-slide-image-1'
(2428,32): run-time error CSS1039: Token not allowed after unary operator: '-mobile-slide-image-2'
(2431,32): run-time error CSS1039: Token not allowed after unary operator: '-mobile-slide-image-3'
(2434,32): run-time error CSS1039: Token not allowed after unary operator: '-mobile-slide-image-4'
(2437,32): run-time error CSS1039: Token not allowed after unary operator: '-mobile-slide-image-5'
(3777,30): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(3778,29): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(3873,36): run-time error CSS1046: Expect comma, found '0'
(3873,40): run-time error CSS1046: Expect comma, found '/'
(5026,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5027,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6931,26): run-time error CSS1039: Token not allowed after unary operator: '-bs-link-color-rgb'
(6931,52): run-time error CSS1039: Token not allowed after unary operator: '-bs-link-opacity'
(7009,42): run-time error CSS1046: Expect comma, found '0'
(7009,46): run-time error CSS1046: Expect comma, found '/'
(7009,75): run-time error CSS1046: Expect comma, found '0'
(7009,79): run-time error CSS1046: Expect comma, found '/'
(7604,50): run-time error CSS1039: Token not allowed after unary operator: '-progress-percent'
 */
/*@import url(/Content/Content_stb/css/_base.css);
@import url(/Content/Content_stb/css/_layout.css);
@import url(/Content/Content_stb/css/_hero.css);
@import url(/Content/Content_stb/css/_introduction.css);
@import url(/Content/Content_stb/css/_mission.css);
@import url(/Content/Content_stb/css/_companion.css);
@import url(/Content/Content_stb/css/_vision.css);
@import url(/Content/Content_stb/css/_partners.css);
@import url(/Content/Content_stb/css/_courses.css);
@import url(/Content/Content_stb/css/_events.css);
@import url(/Content/Content_stb/css/_banner.css);
@import url(/Content/Content_stb/css/_testimonial.css);
@import url(/Content/Content_stb/css/_cta.css);
@import url(/Content/Content_stb/css/_footer.css);
@import url(/Content/Content_stb/css/_offcanvas.css);
@import url(/Content/Content_stb/css/_rewards.css);
@import url(/Content/Content_stb/css/_header.css);
@import url(/Content/Content_stb/css/_hero_home.css);
@import url(/Content/Content_stb/css/_game-banner.css);
@import url(/Content/Content_stb/css/_user-stats.css);
@import url(/Content/Content_stb/css/_courses-user.css);
@import url(/Content/Content_stb/css/_chung-chi.css);
@import url(/Content/Content_stb/css/_course-detail.css);
@import url(/Content/Content_stb/css/_social-share.css);
@import url(/Content/Content_stb/css/_comments.css);
@import url(/Content/Content_stb/css/_actions.css);
@import url(/Content/Content_stb/css/_test-info.css);
@import url(/Content/Content_stb/css/_test.css);
@import url(/Content/Content_stb/css/_test-mobile.css);
@import url(/Content/Content_stb/css/_blog-details.css);
@import url(/Content/Content_stb/css/_search-modal.css);
@import url(/Content/Content_stb/css/_popup.css);
@import url(/Content/Content_stb/css/_ket-qua-thi.css);
@import url(/Content/Content_stb/css/_search.css);
@import url(/Content/Content_stb/css/_search-mobile.css);
@import url(/Content/Content_stb/css/_tool-tip.css);
@import url(/Content/Content_stb/css/_privacy-policy-modal.css);
@import url(/Content/Content_stb/css/_animations.css);
*/
/* Offcanvas Menu */
.offcanvas-body .btn-login {
    background: linear-gradient(180deg, #277dff 0%, #0045b6 100%);
    border: none;
    font-weight: 700;
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
}

.offcanvas-body .navbar-nav .nav-item {
    border-bottom: 1px solid #e9ecef;
}

.offcanvas-body .navbar-nav .nav-link {
    padding: 12px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
}

    .offcanvas-body .navbar-nav .nav-link img {
        width: 24px;
        height: 24px;
    }

    .offcanvas-body .navbar-nav .nav-link.active {
        color: #0052cc;
    }

.user-profile-mobile h5 {
    font-weight: 700;
    font-size: 16px;
    color: #0B0F19;
}

.user-profile-mobile small {
    font-size: 14px;
    color: #6C757D;
}

.offcanvas-body hr {
    margin: 1rem 0;
}
/* End Offcanvas Menu */

/*--------------------------------------------------------------
# Partners
--------------------------------------------------------------*/

/* Custom User Dropdown */
.user-menu-container {
    position: relative;
}

.user-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0px 0px 12px 0px rgba(0, 32, 77, 0.12);
    border-radius: 8px;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin-top: 8px;
}

    .user-menu.show {
        display: block;
    }

.user-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    text-align: center;
}

    .user-menu-header .user-info .user-name {
        font-size: 16px;
        font-weight: 500;
        color: #000000;
        margin: 0;
    }

    .user-menu-header .user-info .user-email {
        font-size: 14px;
        color: #555;
    }

.user-menu li a {
    display: block;
    padding: 12px 16px;
    color: #1A1A1A;
    text-decoration: none;
    transition: background-color 0.2s;
    border-radius: 8px;
    font-size: 14px;
}

    .user-menu li a:hover {
        background-color: #f2f5f8;
    }

.user-menu .menu-divider {
    height: 1px;
    background-color: #EBEFF5;
}

.user-menu .logout-link {
    color: #E14337;
}
@font-face {
    font-family: 'Inter';
    src: url(/Content/Content_stb/font/Inter/Inter-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url(/Content/Content_stb/font/Inter/Inter-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url(/Content/Content_stb/font/Inter/Inter-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url(/Content/Content_stb/font/Inter/Inter-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url(/Content/Content_stb/font/Inter/Inter-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url(/Content/Content_stb/font/Inter/Inter-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url(/Content/Content_stb/font/Inter/Inter-Italic-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 900;
    font-style: italic;
}


/*Manrope*/
@font-face {
    font-family: 'Manrope';
    src: url(/Content/Content_stb/font/Inter/Inter-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url(/Content/Content_stb/font/Manrope/Manrope-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url(/Content/Content_stb/font/Manrope/Manrope-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url(/Content/Content_stb/font/Manrope/Manrope-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url(/Content/Content_stb/font/Manrope/Manrope-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url(/Content/Content_stb/font/Manrope/Manrope-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url(/Content/Content_stb/font/Manrope/Manrope-Italic-VariableFont_opsz,wght.ttf) format('truetype');
    font-weight: 900;
    font-style: italic;
}

body {
    font-family: 'Inter', sans-serif !important;
}

a {
    text-decoration: none;
}

.floating-buttons {
    background-color: #ffffff;
    padding: 8px;
    border-radius: 100px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

    .floating-buttons .btn-float {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background-color: white;
        color: #0076C6;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

        .floating-buttons .btn-float:nth-child(1) {
            background: linear-gradient(to right, #0098EE, #005EB0);
            color: white;
        }

            .floating-buttons .btn-float:nth-child(1) .icon {
                filter: brightness(0) invert(1);
            }

        .floating-buttons .btn-float:nth-child(2) {
            background: linear-gradient(to bottom, #FFAD52, #F0A81D);
            color: #090033;
        }

        .floating-buttons .btn-float:nth-child(3) {
            background-color: #F8FAFC;
        }

            .floating-buttons .btn-float:nth-child(3) .icon {
                filter: invert(32%) sepia(51%) saturate(2850%) hue-rotate(185deg) brightness(90%) contrast(92%);
            }

.btn-float:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.section-title {
    font-size: 64px;
    font-weight: bold;
    color: #0968D2;
    margin-bottom: 40px;
    margin-top: 85px;
}

    .section-title .text-primary {
        color: #1368BC !important;
    }

.btn-action-orange {
    cursor: pointer;
    background: linear-gradient(90deg, #f3b456 0%, #f1ac44 48.08%, #F39F21 100%); /* Subtle gradient */
    color: #090033; /* Darker, warmer text color */
    border: none;
    padding: 16px 120px;
    font-weight: 600;
    font-size: 20px;
    border-radius: 50px;
    align-self: flex-start; /* Align button to the left */
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

    .btn-action-orange:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    }

/* Responsive Styles for Mobile */
@media (max-width: 767.98px) {
    .section-title {
        font-size: 20px; /* Reduced font size for mobile */
        margin: 16px 0;
    }

    .btn-action-orange {
        padding: 8px 12px; /* Reduced padding for mobile */
        font-size: 14px; /* Reduced font size for mobile */
        width: 100%;
        text-align: center;
    }

    .floating-buttons {
        display: none;
    }

    .btn-bottom-card {
        margin-top: 0px !important;
        padding-bottom: 16px;
    }

    .mt-5 {
        margin: 0 !important;
    }
}

.dropdown-toggle:active {
    border-color: #2383e3 !important;
    background-color: #2383e3 !important;
}

/*Thẻ a phủ toàn bộ card*/
.stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    text-indent: -9999px;
}

/* Custom Container Width */
@media (min-width: 1650px) {
    .container,
    .container-fluid { /* Also apply to container-fluid for consistency */
        max-width: 1600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 1405px) and (min-width: 991.98px) {
    .section-header {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
        margin-bottom: 24px;
    }

    .courses-section .section-header {
        gap: 0px;
    }
}

/* Page-specific backgrounds */
main.page-homepage {
    background: linear-gradient(180deg, #D9ECFF 0%, #ffffff 100%);
}

main.page-kienthuc {
    background-color: #fdfdfd;
}

main.page-hoc-detail {
    background-color: #ffffff;
}

/*main.page-khong-gian-thi {
    margin-top: 75px;
}*/

/* Pills tab filter */
.section-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    margin-top: 85px;
}

    .section-header .section-title {
        margin: 0;
    }

.section-header-icon {
    display: flex;
    justify-content: start;
    gap: 16px;
}

.section-title-m {
    font-size: 38px;
    font-weight: 700;
    color: #0968D2;
    margin-bottom: 30px;
    margin-top: 60px;
}

.section-title-l {
    font-size: 52px;
    font-weight: 700;
    color: #0968D2;
    margin-bottom: 30px;
    margin-top: 60px;
}

.course-description-justified {
    text-align: justify;
}

@media screen and (max-width: 768px) {
    .section-title-m {
        font-size: 28px;
        margin-bottom: 20px;
        margin-top: 40px;
    }

    .section-title-l {
        font-size: 20px;
        margin-bottom: 0px;
        margin-top: 0px;
    }

    .mobile-break {
        display: block !important;
    }
}

.pills-tab {
    display: flex;
    gap: 8px;
    background-color: #EEF5FC;
    border-radius: 33px;
    padding: 5px;
    margin-top: 1.5rem;
    width: fit-content;
    margin-left: auto;
}

    .pills-tab .nav-link {
        cursor: pointer;
        background-color: transparent;
        color: #455073;
        border-radius: 100px;
        padding: 10px 20px;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

        .pills-tab .nav-link:hover {
            background: #0076C6;
            border-color: #0076C6;
            color: white;
        }

        .pills-tab .nav-link.active {
            background: #0076C6;
            border-color: #0076C6;
            color: white;
        }

/* Responsive styles for section header */
@media (max-width: 991.98px) {
    .section-header {
        flex-direction: column;
        gap: 10px;
        margin-top: 48px;
        margin-bottom: 16px;
    }

        .section-header .dropdown {
            width: 100%;
        }

        .section-header .dropdown-toggle {
            width: 100%;
            background-color: #fff;
            color: #1368BC;
            border: 1px solid #1368BC;
            border-radius: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
        }

            .section-header .dropdown-toggle::after {
                color: #1368BC;
            }

        .section-header .dropdown-menu {
            width: 100%;
        }

    .course-description-justified {
        font-size: 12px;
    }
}

.hero-section {
    background-color: #fff;
}

.hero-section-figma {
    padding-top: 300px; /* Increased padding to offset fixed header */
    padding-bottom: 120px;
    background:url(/Content/Content_stb/img/hero-bg-1.png) no-repeat center center;
    background-size: cover; 
}

.hero-title-figma {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 88px;
    line-height: 1;
    color: #0968D2;
    margin-bottom: 16px;
}

.hero-subtitle-figma {
    display:inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    line-height: 1.28;
    color: #090033;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-title-figma {
        font-size: 60px;
    }
    .hero-subtitle-figma {
        font-size: 22px;
    }
}

@media (max-width: 767.98px) {
    .hero-section-figma {
        padding-top: 115px; /* Adjust padding for mobile */
        padding-bottom: 20px;
    }
    .hero-title-figma {
        font-size: 30px;
    }

    .hero-subtitle-figma {
        display: block;
        font-size: 14px;
        margin: 0 auto;
    }
}
.introduction-hero {
    position: relative;
    padding-top: 280px;
    padding-bottom: 0;
    color: #fff;
    overflow: hidden;
}

.line-block {
    display: block;
    white-space: nowrap;
}

.img-fluid-intro {
    height: auto !important;
}

.introduction-hero .container {
    position: relative;
    z-index: 2;
}

.introduction-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 70px;
    line-height: 0.85;
    text-align: center;
    margin-bottom: 24px;
}

.introduction-hero-subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.55;
    text-align: center;
    opacity: 0.8;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.introduction-slider-wrapper {
    position: relative;
    margin-top: 45px;
    background: #fff;
    padding-top: 150px;
}

    .introduction-slider-wrapper .row {
        position: relative;
        top: -200px;
        margin-bottom: -220px;
    }

.slider-img {
    border-radius: 18px;
}

.slider-img-center {
    position: relative;
    z-index: 10;
    border-radius: 18px;
}

#introduction-slider-container {
    position: relative;
    height: 550px;
}

    #introduction-slider-container > div {
        position: absolute;
        transition: all 1.5s ease-in-out;
    }

.slide-pos-left {
    left: 13%;
    transform: translateX(-50%);
    z-index: 1;
}

.slide-pos-center {
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.slide-pos-right {
    left: 87%;
    transform: translateX(-50%);
    z-index: 1;
}

.introduction-slider-wrapper .row {
    position: relative;
    z-index: 10;
    border-radius: 18px;
}
/* Responsive */
@media (min-width: 992px) and (max-width: 1100px) {
    .companion-content {
        width: 47.333333%;
    }

    .companion-image {
        width: 51.666667%;
    }
}

@media (max-width: 991.98px) {
    .introduction-hero {
        padding-top: 200px;
        padding-bottom: 0;
    }

    .introduction-hero-title {
        font-size: 60px;
    }

    .introduction-hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .introduction-hero {
        padding-top: 110px;
        padding-bottom: 0;
    }

    .introduction-hero-title {
        font-size: 30px;
        font-weight: 500;
    }

    .introduction-hero-subtitle {
        font-size: 14px;
    }

    #introduction-slider-container {
        height: 270px;
    }

    .introduction-slider-wrapper .row {
        top: -200px;
        margin-bottom: -200px;
    }

    .introduction-slider-wrapper {
        margin-top: 0px;
        padding-top: 0px;
        border-top-left-radius: 100% 40px;
        border-top-right-radius: 100% 40px;
    }

        .introduction-slider-wrapper .row {
            top: -57px;
            margin-bottom: -100px;
        }

    .slider-img-center {
        transform: scale(1);
    }

    .introduction-hero-texture {
        margin-top: 72px;
        height: 59% !important;
    }
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .mission-section::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 120%;
        height: 150px;
        background: linear-gradient(90deg, rgba(255, 209, 139, 0.2) 0%, rgba(243, 159, 33, 0.5) 30%, rgba(17, 255, 4, 0.5) 72%, rgba(243, 159, 33, 0.5) 100%);
        filter: blur(75px);
        transform: translate(-50%, -50%) rotate(-5deg);
        opacity: 0.5;
        z-index: -1;
    }

.mission-header {
    margin-bottom: 60px;
}

.mission-tag {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #AEDEF9;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 2.5rem;
    font-weight: 600;
    color: #1368BC;
    margin-bottom: 30px;
}

.mission-header .lead {
    font-family: 'Manrope', sans-serif;
    font-size: 1.125rem;
    color: #333;
    max-width: 900px;
    margin: 0 auto 30px;
}

.mission-header .sub-heading {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1368BC;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.mission-item {
    padding: 0 20px;
    text-align: center;
    border-right: 1px solid #E6EAF0;
    display: flex;
    flex-direction: column;
}

    .mission-item:last-child {
        border-right: none;
    }

.mission-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #BFBFBF;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    flex-shrink: 0;
}

    .mission-icon img {
        width: 40px;
        height: 40px;
    }

.mission-item h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #12141D;
    margin-bottom: 15px;
}

.mission-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

/* Responsive */
@media (max-width: 1200px) {
    .mission-grid {
        gap: 15px;
    }

    .mission-item {
        padding: 0 15px;
    }

        .mission-item h3 {
            font-size: 1.75rem;
        }

        .mission-item p {
            font-size: 1rem;
        }
}

@media (max-width: 992px) {
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .mission-item {
        border-right: none;
        margin-bottom: 30px;
    }

        .mission-item p {
        }

    .mission-tag {
        font-size: 2rem;
    }

    .mission-header .sub-heading {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mission-section {
        padding: 0;
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-tag {
        font-size: 1.5rem;
        padding: 10px 10px;
    }

    .mission-item h3 {
        margin-bottom: 10px;
    }

    .mission-header .lead {
        font-size: 14px;
    }

    .mission-header .sub-heading {
        font-size: 1rem;
    }

    .mission-section::before {
        background: none;
    }

    .mission-item h3 {
        font-size: 1.25rem;
    }

    .mission-grid {
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-item {
        padding-bottom: 30px;
        margin-bottom: 0px;
        border-bottom: 1px solid #E6EAF0;
    }

        .mission-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

    .mission-tag {
        font-size: 1.25rem;
    }

    .mission-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 8px;
    }

        .mission-icon img {
            width: 24px;
            height: 24px;
        }

    .mission-header {
        margin-bottom: 45px;
        margin-top: 10px;
    }
}

/* Companion Banner Section */
.companion-banner {
    background: linear-gradient(50deg, #0B83F5 0%, #308FFF 25%, #1EC8FD 50%, #095AFD 77%, #37A0FA 100%);
    border-radius: 32px;
    padding: 0;
    overflow: hidden;
    /*margin-top: 80px;*/
}

.companion-content {
    padding: 60px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .companion-content .description {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 20px;
        line-height: 28px;
        text-align: justify;
        margin-bottom: 40px;
    }

.companion-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0px;
}

    .companion-actions h2 {
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 2.375rem;
        line-height: 1.2;
        margin: 0;
        max-width: 450px;
    }

    .companion-actions .btn-discover {
        background-color: #F8FAFC;
        color: #212121;
        font-weight: 500;
        font-size: 18px;
        padding: 12px 18px;
        border-radius: 50px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

        .companion-actions .btn-discover:hover {
            background-color: #e2e8f0;
        }

.companion-image {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .companion-image img {
        border-radius: 32px;
        width: 100%;
        height: 100%;
        /*object-fit: cover;*/
    }

/* Responsive */
@media (max-width: 1400.98px) {
    .companion-content {
        padding: 45px;
    }
}

@media (max-width: 1200px) {
    .companion-content {
        padding: 40px;
    }

    .companion-actions h2 {
        font-size: 24px;
    }
}

@media (max-width: 992px) {
    .companion-banner {
        margin-top: 60px;
    }

    .companion-content {
        justify-content: flex-start;
        text-align: left;
    }

        .companion-content .description {
            font-family: 'Manrope', sans-serif;
            font-size: 14px;
            text-align: justify;
            margin-bottom: 30px;
        }

    .companion-actions {
        padding: 0px;
        flex-direction: row;
        align-items: flex-end;
    }

        .companion-actions h2 {
            font-size: 16px;
            margin-left: 0;
            margin-right: 0;
        }

    .companion-image {
        display: block;
        margin-top: 30px;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
    }
}

@media (max-width: 768px) {
    .companion-actions {
        gap: 0px;
    }

    .companion-content {
        padding: 30px 30px 0px 30px;
    }

    .companion-banner {
        margin-top: 25px;
    }

    .companion-actions h2 {
        font-size: 16px;
    }

    .companion-actions .btn-discover {
        font-size: 12px;
        padding: 8px;
        font-weight: 600;
    }
}

/*--------------------------------------------------------------
# Vision Section
--------------------------------------------------------------*/
.vision-section {
    padding: 80px 0;
}

    .vision-section.is-first {
        border-bottom: 1px solid #AEDEF9;
    }

    .vision-section .vision-content {
        margin-right: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .vision-section .vision-title {
        font-size: 46px;
        font-weight: 600;
        color: #1368BC;
        margin-bottom: 32px;
    }

    .vision-section .vision-description {
        font-size: 18px;
        line-height: 1.5;
        color: #333333;
        margin-bottom: 46px;
        text-align: justify;
    }

    .vision-section .vision-items-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 70px;
    }

    .vision-section .vision-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: justify;
        gap: 32px;
        margin-bottom: 0;
        max-width: 100%;
        width: 100%;
    }

        .vision-section .vision-item:last-child {
            margin-bottom: 0;
        }

    .vision-section .vision-item-icon {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: #FFFFFF;
        border: 1px solid #BFBFBF;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .vision-section .vision-item-icon img {
            width: 40px;
            height: 40px;
            filter: invert(55%) sepia(98%) saturate(3471%) hue-rotate(14deg) brightness(102%) contrast(101%);
        }

    /*.vision-item-content {
    width: 350px;
}*/

    .vision-section .vision-item-content h3 {
        font-size: 38px;
        font-weight: 600;
        color: #12141D;
        margin-bottom: 20px;
    }

    .vision-section .vision-item-content p {
        font-size: 18px;
        color: #333333;
        margin: 0;
    }

    .vision-section .vision-image img {
        min-height: 620px;
        /*min-width: 695px;*/
        width: 100%;
        border-radius: 32px;
        object-fit: cover;
    }

/* Responsive */
@media (max-width: 991.98px) {
    .vision-section .vision-image {
        margin-top: 50px;
    }

    .vision-section .vision-title {
        font-size: 38px;
    }

    .vision-section .vision-item-content h3 {
        font-size: 32px;
    }
}

@media (max-width: 767.98px) {
    .vision-section {
        padding: 45px 5px 0px 5px;
    }

        .vision-section .vision-title {
            margin-bottom: 20px;
        }

        .vision-section .vision-content {
            margin-right: 0;
        }

        .vision-section .vision-items-wrapper {
            /*align-items: center;*/
            gap: 10px;
        }

        .vision-section .vision-title {
            font-size: 20px;
        }

        .vision-section .vision-description {
            font-size: 14px;
            margin-bottom: 0px;
        }

        .vision-section .vision-item {
            text-align: start;
            gap: 20px;
        }

        .vision-section .vision-item-icon {
            width: 40px;
            height: 40px;
        }

            .vision-section .vision-item-icon img {
                width: 24px;
                height: 24px;
            }

    .vision-item-content {
        width: auto;
    }

    .vision-section .vision-item-content h3 {
        font-size: 20px;
    }

    .vision-section .vision-item-content p {
        font-size: 14px;
    }

    .vision-section .vision-image img {
        min-height: 369px;
    }

    .companion-content .companion-actions .col-7 {
        width: 61.333333%;
    }

    .vision-section.is-first {
        border-bottom: none;
    }

        .vision-section.is-first::after {
            content: "";
            display: block;
            width: 98%;
            margin: 0 auto;
            border-bottom: 1px solid #AEDEF9;
            margin-top: 30px;
        }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 0 !important;
    }
}

.col-lg-4 {
    margin-bottom: 5px;
}

.partners-section {
    padding: 40px 0;
}

    .partners-section .row {
        align-items: stretch;
        justify-content: center;
    }

.partner-card {
    background: #fff;
    border: none;
    border-radius: 25px;
    padding: 24px;
    backdrop-filter: blur(10px);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

    .partner-card h3 {
        color: #455073;
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 0;
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
    }


.logo-container {
    border-radius: 12px;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .logo-container img {
        max-width: 100%;
        max-height: 100%;
        height: auto;
        width: auto;
    }

/* Tablet styles */
@media (max-width: 991.98px) {
    .partner-card h3 {
        font-size: 20px;
    }
}

/* Responsive styles for mobile */
@media (max-width: 767.98px) {
    .partners-section {
        padding: 16px 0;
    }

        .partners-section .section-title {
            margin-top: 35px;
            margin-bottom: 25px !important;
        }

        .partners-section .row {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            gap: 12px;
            padding: 4px 16px;
        }

            .partners-section .row::-webkit-scrollbar {
                display: none;
            }

        .partners-section .col-md-4 {
            flex: 0 0 115px;
            max-width: 115px;
            padding: 0;
        }

    .partner-card {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 16px 8px 16px 8px;
        gap: 16px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
        height: 100%;
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 25px;
    }

        .partner-card h3 {
            font-size: 14px;
            text-align: center;
            font-weight: 600;
            min-height: 42px;
            line-height: 1.5;
            margin-bottom: 0;
            color: #000;
            flex-direction: column;
        }
    .logo-container {
        height: 100%;
    }
    .partner-card span {
        display: block;
    }
}

.course-tabs {
    margin-bottom: 40px !important;
    display: flex;
    justify-content: start;
    width: max-content;
    gap: 8px;
    background-color: #EEF5FC;
    border-radius: 100px;
    padding: 5px;
    padding-bottom: 5px; /* Overwrite original */
}

    .course-tabs .nav-item .nav-link {
        font-size: 18px;
        font-weight: 300;
        color: #455073;
        background-color: transparent;
        border: none;
        transition: all 0.3s ease;
        padding: 10px 20px;
        margin-right: 0;
        border-radius: 100px;
        white-space: nowrap;
    }

        .course-tabs .nav-item .nav-link.active,
        .course-tabs .nav-item .nav-link:hover {
            color: white;
            background: #0076C6;
            border-bottom-color: transparent;
        }

.course-card {
    cursor: pointer;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 0 12px 0 rgba(0, 32, 77, 0.12);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Ensures the zoomed image doesn't bleed out */
}

.course-thumb {
    position: relative;
    overflow: hidden; /* Hide the parts of the image that go outside the container */
}

.course-thumb img.img-fluid {
    border-radius: 16px 16px 0 0;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-thumb img.img-resize {
    height: 215px;
}

.course-card:hover .course-thumb img.img-fluid {
    transform: scale(0.90);
    margin-top: 10px;
    border-radius: 16px;
}

.course-card:hover .course-tag {
    transform: transform 0.4s ease;
    top: 28px;
    left: 28px;
}

.course-card:hover .course-body {
    padding-top: 6px;
}

.course-card:hover {
    background-color: #449CE4;
}

    .course-card:hover .course-title,
    .course-card:hover .course-description,
    .course-card:hover .event-description,
    .course-card:hover .course-meta,
    .course-card:hover .progress-label {
        color: #fff;
    }

        .course-card:hover .course-meta .icon {
            filter: brightness(0) invert(1);
        }

        .course-card:hover .course-meta .meta-divider {
            background-color: #fff;
        }

.course-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #EEF5FC;
    color: #0076C6;
    padding: 6px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .course-tag.tag-success {
        background-color: #F1FBF8;
        color: #32C997;
    }

    .course-tag img {
        width: 12px;
        height: 12px;
    }

.course-students {
    position: absolute;
    /*top: 189px; */ /* Adjust to overlap image and body */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background-color: #fff;
    border-radius: 100px;
    padding: 8px 16px 8px 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: inline-flex;
    align-items: center;
}

    .course-students img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 2px solid #fff;
        margin-left: -12px;
        object-fit: cover;
    }

        .course-students img:first-child {
            margin-left: 0;
        }

    .course-students .student-count {
        font-size: 14px;
        color: #242A3D;
        font-weight: 500;
        margin-left: 16px;
        white-space: nowrap;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

.course-body {
    padding: 1rem; /* More top padding to account for avatars */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #455073;
    font-size: 14px;
    margin-bottom: 16px;
}

    .course-meta .icon {
        width: 16px;
        height: 16px;
    }

    .course-meta .meta-divider {
        width: 1px;
        height: 12px;
        background-color: #BCCCDC;
    }

.course-title {
    font-size: 20px;
    font-weight: bold;
    color: #090033;
    line-height: 1.5;
    margin-bottom: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-description {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #455073;
    line-height: 1.5;
    height: 63px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: auto;
    margin-bottom:0px;
}

.btn-all-courses {
    border: none;
    background: linear-gradient(90deg, #0098EE 0%, #0076D9 48.08%, #005EB0 100%);
    color: white;
    font-size: 20px;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 1000px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

    .btn-all-courses:hover {
        color: white;
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    }

    .btn-all-courses .icon {
        width: 24px;
        height: 24px;
        transition: transform 0.3s ease;
    }

    .btn-all-courses:hover .icon {
        transform: translateX(5px);
    }

/* Zoom 125% - viewport nhỏ hơn */
@media (max-width: 1599px) and (min-width: 1200px) {
    .course-thumb img.img-resize {
        height: 170px;
    }
    /*.course-students {
        top: 123px;
    }*/
}

/* Zoom 150% */
@media (max-width: 1199px) and (min-width: 992px) {
    .course-thumb img.img-resize {
        height: 130px;
    }
    /*.course-students {
        top: 103px;
    }*/
}

@media (max-width: 767.98px) {
    .course-tabs {
        justify-content: center;
        gap: 1;
        background-color: transparent;
        border-radius: 0;
        padding: 0;
        margin-bottom: 0 !important;
    }

    .course-tabs .nav-item .nav-link {
        font-size: 12px;
        margin-right: 8px;
        background-color: transparent;
        color: #455073;
        border: none;
        border-bottom: 2px solid transparent;
        padding: 8px 0px;
        border-radius: 0;
        font-weight: 300;
    }

            .course-tabs .nav-item .nav-link.active,
            .course-tabs .nav-item .nav-link:hover {
                background-color: transparent;
                color: #0076C6;
                border-bottom-color: #0076C6;
            }

    .btn-all-courses {
        font-size: 14px;
        padding: 8px 16px;
        background: #1368BC;
    }

        .btn-all-courses .icon {
            width: 18px !important;
            height: 18px !important;
        }

    .courses-section .row {
        padding-bottom: 16px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }

        .courses-section .row::-webkit-scrollbar {
            display: none; /*
        Chrome, Safari, and Opera */
        }

        .courses-section .row > .col-md-6 {
            flex: 0 0 90%;
            max-width: 90%;
        }

    .course-thumb img.img-resize {
        height: 196px;
    }

    /*.course-students {
        top: 176px;*/ /* Adjusted for new image height */
    /*}*/

        .course-students img {
            width: 28px;
            height: 28px;
        }

        .course-students .student-count {
            font-size: 12px;
            margin-left: 12px;
        }

    .course-body {
        padding: 1rem;
    }

    .course-card:hover {
        background-color: #fff;
    }

        .course-card:hover .course-thumb img.img-fluid {
            transform: none;
            margin-top: 0;
            border-radius: 16px 16px 0 0;
        }

        .course-card:hover .course-tag {
            transform: none;
            top: 16px;
            left: 16px;
        }

        .course-card:hover .course-body {
            padding-top: 16px;
        }

        .course-card:hover .course-title {
            color: #090033;
        }

        .course-card:hover .course-description,
        .course-card:hover .course-meta {
            color: #455073;
        }

            .course-card:hover .course-meta .icon {
                filter: none;
            }

            .course-card:hover .course-meta .meta-divider {
                background-color: #BCCCDC;
            }
}

/* Courses Slider */
.courses-slider-wrapper {
    position: relative;
}

.courses-slider {
    overflow: hidden;
}

.courses-slider-inner {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
    margin-left: -12px;
    margin-right: -12px;
}

.course-slide-item {
    padding: 0 12px;
    flex-shrink: 0;
}

.courses-slider-control-prev,
.courses-slider-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #EEF5FC;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    opacity: 1;
    border: none;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .courses-slider-control-prev:hover,
    .courses-slider-control-next:hover {
        opacity: 0.8;
    }

    .courses-slider-control-prev:disabled,
    .courses-slider-control-next:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

.courses-slider-control-prev {
    left: -22px;
}

.courses-slider-control-next {
    right: -22px;
}

.courses-slider-control-prev-icon,
.courses-slider-control-next-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
}

.courses-slider-control-prev-icon {
    background-image: url(/Content/Content_stb/img/arrow-left-testimonial.svg);
}

.courses-slider-control-next-icon {
    background-image: url(/Content/Content_stb/img/arrow-right-testimonial.svg);
}

@media (min-width: 992px) {
    .courses-slider-inner {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        margin: 0;
    }

    .course-slide-item {
        padding: 0;
        width: 100% !important;
    }
}

@media (max-width: 991.98px) {
    .courses-slider-wrapper {
        padding: 0;
        margin: 0 -16px; /* Bleed into container padding */
    }

    .courses-slider {
        padding: 0 16px;
    }
}

@media (max-width: 767.98px) {
    .courses-slider-control-prev {
        left: 0px;
    }

    .courses-slider-control-next {
        right: 0px;
    }
}


.event-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 0 12px 0 rgba(0, 32, 77, 0.12);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover .event-tag {
    transform: transform 0.4s ease;
    top: 28px;
    left: 28px;
}

.event-card:hover {
    background-color: #449CE4;
}

.event-card:hover .event-title,
.event-card:hover .event-description,
.event-card:hover .event-meta {
    color: #fff;
}

.event-card:hover .event-meta .icon {
    filter: brightness(0) invert(1);
}

.event-card:hover .event-meta .meta-divider {
    background-color: #fff;
}

.event-thumb {
    position: relative;
    overflow: hidden;
}

.event-thumb img {
    margin-top: 10px;
    scale: 0.87;
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    transition: transform 0.4s ease;
}

.event-body {
    padding: 24px;
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #455073;
    font-size: 14px;
    margin-bottom: 12px;
}

.event-meta .icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.event-meta .meta-divider {
    width: 1px;
    height: 12px;
    background-color: #BCCCDC;
}

.event-title {
    font-size: 20px;
    font-weight: 600;
    color: #090033;
    line-height: 1.4;
    margin-bottom: 8px;
    flex-grow: 1;
    overflow: hidden;
}

.event-description {
    font-size: 14px;
    color: #455073;
    line-height: 1.5;
    height: 63px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: auto;
}

.btn-all-events {
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #0098EE 0%, #0076D9 48.08%, #005EB0 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 1000px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-all-events:hover {
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-all-events .icon {
    width: 24px;
    height: 24px;
}

.btn-all-events:hover .icon {
    transform: translateX(5px);
}

@media (max-width: 767.98px) {
    .btn-all-events {
        font-size: 14px;
        padding: 8px 16px;
        background: #1368BC;
    }

    .btn-all-events .icon {
        width: 18px !important;
        height: 18px !important;
    }
    .event-title {
        font-size: 18px;
    }

    .event-card:hover {
        background-color: #fff;
    }

    .event-card:hover .event-title,
    .event-card:hover .event-description,
    .event-card:hover .event-meta {
        color: initial;
    }

    .event-card:hover .event-title {
        color: #090033;
    }
    
    .event-card:hover .event-description,
    .event-card:hover .event-meta {
        color: #455073;
    }

    .event-card:hover .event-meta .icon {
        filter: none;
    }

    .event-card:hover .event-meta .meta-divider {
        background-color: #BCCCDC;
    }
}

.events-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #EEF5FC;
    color: #0076C6;
    padding: 6px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.events-tag img {
    width: 12px;
    height: 12px;
}
.cta-section .btn-cta {
    font-size: 20px;
    padding: 16px 80px;
    box-shadow: 0px 20px 32px -8px rgba(52, 66, 217, 0.3);
}

.banner-section {
    padding: 40px 0 80px;
}

#bannerCarousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border: none;
}

#bannerCarousel .carousel-inner {
    border-radius: 16px;
    overflow: hidden;
}

.banner-slide {
    height: 630px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 80px;
}

.banner-content {
    color: white;
    max-width: 465px;
    font-family: 'Inter', sans-serif;
}

.banner-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.27;
    margin-bottom: 32px;
}

.banner-content .btn {
    font-family: 'Inter', sans-serif;
    background-color: #F8FAFC;
    color: #212121;
    font-size: 20px;
    font-weight: 500;
    padding: 13px 24px;
    min-width: 256px;
    border-radius: 1000px;
    border: none;
}

#bannerCarousel .carousel-control-prev,
#bannerCarousel .carousel-control-next {
    width: 44px;
    height: 44px;
    background-color: #EEF5FC;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: background-color 0.15s ease;
}

#bannerCarousel .carousel-control-prev:hover,
#bannerCarousel .carousel-control-next:hover {
    background-color: #E2E8F0; /* Darker grey on hover */
}

#bannerCarousel .carousel-control-prev {
    left: -100px; /* Position half-out */
}

#bannerCarousel .carousel-control-next {
    right: -100px; /* Position half-out */
}

#bannerCarousel .carousel-control-prev-icon,
#bannerCarousel .carousel-control-next-icon {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1rem 1rem;
    width: 1.5rem; /* Ensure icon has size */
    height: 1.5rem; /* Ensure icon has size */
}

#bannerCarousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpolyline points='10 2 4 8 10 14' fill='none' stroke='%230076C6' stroke-width='1.5'/%3e%3c/svg%3e");
}

#bannerCarousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpolyline points='6 2 12 8 6 14' fill='none' stroke='%230076C6' stroke-width='1.5'/%3e%3c/svg%3e");
}

/* Remove old indicator styles and add new ones */
#bannerCarousel .carousel-indicators {
    height: 14px;
    position: absolute;
    right: 0;
    bottom: -60px; /* Position below banner */
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0 15%;
    list-style: none;
}

#bannerCarousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    background-color: #E5F4FE; /* Inactive dot color */
    border-radius: 50%;
    margin: 0 5px;
    opacity: 1;
    transition: all 0.3s ease;
    border: none;
    padding: 0; /* Bootstrap adds padding sometimes */
    cursor: pointer;
}

#bannerCarousel .carousel-indicators .active {
    width: 12px;
    height: 12px;
    background-color: #AEDEF9; /* Active dot color */
    transform: translateY(-2px); /* Align larger dot */
}

@media (max-width: 1400px) {
    #bannerCarousel .carousel-control-prev {
        left: -60px;
    }
    #bannerCarousel .carousel-control-next {
        right: -60px;
    }
    .banner-slide {
        height: 500px;
    }
    #bannerCarousel {
        max-width: 800px;
    }
}

@media (max-width: 991.98px) {
    .banner-section {
        padding: 16px 52px;
    }
    #bannerCarousel {
        padding-bottom: 12px;
        position: relative;
    }
    #bannerCarousel .carousel-inner {
        height: 150px; /* Height from Figma */
        border-radius: 16px; /* Rounded corners for the banner */
        overflow: hidden; /* This crops the slides and fixes the overflow */
    }
    .banner-slide {
        /*background-image:url(/Content/Content_stb/img/banner-mobile-bg.png) !important;*/
        height: 100%;
        padding: 16px;
        align-items: flex-start;
        /* Revert to cover to fill the banner, and center the image */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .banner-content {
        height: 110px;
        text-align: left;
        max-width: 165px;
        padding: 0;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .carousel-item {
        height: 100%;
    }

    .banner-content h1 {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.57;
        margin-bottom: 0;
    }
    .banner-content .btn {
        color: #666;
        margin: 0 -5px;
        font-size: 12px;
        min-width: auto;
        padding: 2px 8px;
    }

    /* --- Re-style Controls for Mobile --- */
    #bannerCarousel .carousel-control-prev,
    #bannerCarousel .carousel-control-next {
        display: flex;
        width: 32px;
        height: 32px;
        background-color: #F2F5F8;
        opacity: 1;
        top: 50%;
        transform: translateY(-50%);
    }
    #bannerCarousel .carousel-control-prev {
        left: -40px;
    }
    #bannerCarousel .carousel-control-next {
        right: -40px;
    }
    #bannerCarousel .carousel-control-prev-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpolyline points='10 2 4 8 10 14' fill='none' stroke='%230076C6' stroke-width='1.5'/%3e%3c/svg%3e");
    }
    #bannerCarousel .carousel-control-next-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpolyline points='6 2 12 8 6 14' fill='none' stroke='%230076C6' stroke-width='1.5'/%3e%3c/svg%3e");
    }

    /* --- Re-style Indicators for Mobile --- */
    #bannerCarousel .carousel-indicators {
        display: flex;
        position: absolute;
        bottom: -25px; /* Position below the carousel-inner */
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
    #bannerCarousel .carousel-indicators [data-bs-target] {
        width: 4px;
        height: 4px;
        background-color: #E5F4FE;
    }
     #bannerCarousel .carousel-indicators .active {
        width: 8px;
        height: 8px;
        background-color: #AEDEF9;
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .banner-content {
        text-align: left;
        max-width: 133px; /* Width from Figma */
        padding: 0;
        margin-left: 0;
    }
     .banner-content h1 {
        font-size: 14px; /* Font size from Figma */
    }
    .banner-slide.banner-slide-0 {
        background-image: var(--mobile-slide-image-0) !important;
    }
    .banner-slide.banner-slide-1 {
        background-image: var(--mobile-slide-image-1) !important;
    }
    .banner-slide.banner-slide-2 {
        background-image: var(--mobile-slide-image-2) !important;
    }
    .banner-slide.banner-slide-3 {
        background-image: var(--mobile-slide-image-3) !important;
    }
    .banner-slide.banner-slide-4 {
        background-image: var(--mobile-slide-image-4) !important;
    }
    .banner-slide.banner-slide-5 {
        background-image: var(--mobile-slide-image-5) !important;
    }
}

/* --- End Banner Section --- */ 
.testimonial-section {
    padding: 16px 0;
    position: relative;
    background-image: url(/Content/Content_stb/img/testimonial-overlay.png), url(/Content/Content_stb/img/testimonial-bg.png);
    background-size: auto, cover;
    background-position: center;
    background-repeat: no-repeat, no-repeat;
}

.testimonial-section .testimonial-title {
    color: #0968D2;
    font-size: 44px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 56px;
}

.testimonial-card {
    cursor: pointer;
    background-color: #fff;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0px 4px 35px 0px rgba(121, 102, 234, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.testimonial-card:hover {
    background-color: #449CE4;
    box-shadow: 0 25px 80px rgba(38, 45, 118, 0.2);
}

.testimonial-card:hover .testimonial-author h5,
.testimonial-card:hover .testimonial-author p,
.testimonial-card:hover .testimonial-text {
    color: #fff;
}

.testimonial-author {
    min-height: 66px;
    display: flex;
    align-items: start;
    gap: 24px;
    margin-bottom: 24px;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    font-size: 20px;
    font-weight: 700;
    color: #090033;
    margin: 0;
}

.testimonial-author p {
    font-size: 14px;
    color: #455073;
    margin: 0;
}

.testimonial-text {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.33;
    color: #455073;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    background-color: #EEF5FC;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    opacity: 1;
    top: 40%;
}

#testimonialCarousel .carousel-control-prev {
    left: -5%;
}

#testimonialCarousel .carousel-control-next {
    right: -5%;
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-image: none; /* Remove default Bootstrap icon */
}

#testimonialCarousel .carousel-control-prev-icon::before {
    content: '';
    display: block;
    width: 1rem;
    height: 1rem;
    -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpolyline points='10 2 4 8 10 14' fill='none' stroke='%230076C6' stroke-width='1.5'/%3e%3c/svg%3e");
    mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpolyline points='10 2 4 8 10 14' fill='none' stroke='%230076C6' stroke-width='1.5'/%3e%3c/svg%3e");
    background-color: #0076C6;
    -webkit-mask-size: 100%;
    mask-size: 100%;
}

#testimonialCarousel .carousel-control-next-icon::before {
    content: '';
    display: block;
    width: 1rem;
    height: 1rem;
    -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpolyline points='6 2 12 8 6 14' fill='none' stroke='%230076C6' stroke-width='1.5'/%3e%3c/svg%3e");
    mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpolyline points='6 2 12 8 6 14' fill='none' stroke='%230076C6' stroke-width='1.5'/%3e%3c/svg%3e");
    background-color: #0076C6;
    -webkit-mask-size: 100%;
    mask-size: 100%;
}

.custom-slider-wrapper {
    position: relative;
}

.custom-slider {
    position: relative;
}

.custom-slider-inner {
    overflow: hidden;
}

.custom-slider .row {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
}

.custom-slider-item {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 12px;
}

.custom-slider-control-prev,
.custom-slider-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #EEF5FC;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    opacity: 1;
    border: none;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.custom-slider-control-prev:hover,
.custom-slider-control-next:hover {
    opacity: 0.8;
}

.custom-slider-control-prev:disabled,
.custom-slider-control-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.custom-slider-control-prev {
    left: -80px;
}

.custom-slider-control-next {
    right: -80px;
}

.custom-slider-control-prev-icon,
.custom-slider-control-next-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #0076C6;
    -webkit-mask-size: 100%;
    mask-size: 100%;
}


.custom-slider-control-prev-icon {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBvbHlsaW5lIHBvaW50cz0iMTAgMiA0IDggMTAgMTQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwNzZDNCIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48L3N2Zz4=");
}

.custom-slider-control-next-icon {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBvbHlsaW5lIHBvaW50cz0iNiAyIDEyIDggNiAxNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDA3NkM2IiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==");
}

.cta-image-container img {
    margin-top: -150px;
    width: 100%;
}

.custom-slider-control-prev-icon,
.custom-slider-control-next-icon {
    -webkit-mask-image: none;
    mask-image: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1rem 1rem;
    width: 1.5rem; /* Ensure icon has size */
    height: 1.5rem; /* Ensure icon has size */
}

@media (max-width: 1320px) {
    .custom-slider-control-prev {
        left: 15px;
    }
    .custom-slider-control-next {
        right: 15px;
    }
}

@media (max-width: 1536px) {
    .testimonial-author {
        min-height: 84px;
    }
    .testimonial-author h5 {
        font-size: 16px;
    }

    .testimonial-text {
        font-family: 'Manrope', sans-serif;
        font-size: 14px;
    }

}

    @media (max-width: 991.98px) {
        /* --- Testimonial Section Overrides for Tablet & Mobile --- */

        .testimonial-section .testimonial-title {
            color: #1368BC;
            font-size: 20px;
            line-height: 1.4;
            margin-bottom: 16px;
        }

        .custom-slider-wrapper {
            padding: 0 16px;
            position: relative; /* Needed for button positioning */
        }

        /* Show 2 items on tablet */
        .custom-slider-item {
            flex: 0 0 50%;
            max-width: 50%;
            padding: 0 8px;
        }

        .testimonial-card {
            padding: 16px;
            border-radius: 16px;
            box-shadow: 0 10px 60px rgba(38, 45, 118, 0.08);
            gap: 16px;
            margin-bottom: 0;
        }

        .testimonial-author {
            min-height: 70px;
            gap: 8px;
            margin-bottom: 0;
        }

            .testimonial-author img {
                width: 40px;
                height: 40px;
            }

            .testimonial-author h5 {
                font-family: 'Inter', sans-serif;
                font-size: 14px;
                font-weight: 600;
                color: #1A1A1A;
                line-height: 1.5;
            }

            .testimonial-author p {
                font-family: 'Manrope', sans-serif;
                font-size: 14px;
                color: #455073;
                line-height: 1.5;
            }

        .testimonial-text {
            margin: 0 !important;
            font-size: 14px;
            line-height: 1.57;
            color: #666666;
        }

        /* Nav buttons for tablet/mobile */
        .custom-slider-control-prev,
        .custom-slider-control-next {
            display: flex;
            justify-content: center;
            align-items: center;
            top: 40%;
            bottom: -60px; /* Position below the cards */
            transform: translateY(-50%);
            background-color: #EEF5FC;
            width: 32px;
            height: 32px;
            z-index: 20;
        }

        .custom-slider-control-prev {
            left: 2%;
            transform: translateX(-110%);
        }

        .custom-slider-control-next {
            right: -3%;
            transform: translateX(10%);
        }

        .custom-slider-control-prev-icon {
            background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBvbHlsaW5lIHBvaW50cz0iMTAgMiA0IDggMTAgMTQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwNzZDNCIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48L3N2Zz4=");
        }

        .custom-slider-control-next-icon {
            background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBvbHlsaW5lIHBvaW50cz0iNiAyIDEyIDggNiAxNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDA3NkM2IiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==");
        }

        .testimonial-card:hover {
            transform: none;
            background-color: #fff;
            box-shadow: 0px 1px 6px 0px rgba(45, 50, 57, 0.06);
        }

            .testimonial-card:hover .testimonial-author h5 {
                color: #090033;
            }

            .testimonial-card:hover .testimonial-author p,
            .testimonial-card:hover .testimonial-text {
                color: #455073;
            }
    }

    @media (max-width: 767.98px) {
        /* On mobile, show only 1 item */
        .custom-slider-item {
            flex: 0 0 100%;
            max-width: 100%;
        }

        .custom-slider-control-prev {
            left: 8%;
        }

        .custom-slider-control-next {
            right: 0%;
        }

        .testimonial-title-item {
            display: block;
        }
        .testimonial-author {
            align-items: center;
            min-height: auto;
            gap: 8px;
            margin-bottom: 0;
        }
    } 
/* --- CTA Banner Section (Final & Clean Version) --- */
.cta-banner-section {
    position: relative;
    width: 100%;
    min-height: 1068px;
    border-radius: 32px;
    margin: 80px 0;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.cta-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(175deg, #9BD9F6 0%, #1A92DC 100%);
    left: 50%;
    transform: translateX(-50%);
}

.cta-shape-1 {
    width: 1090px;
    height: 1085px;
    top: 0px;
    opacity: 0.1;
}

.cta-shape-2 {
    width: 982px;
    height: 976px;
    top: 150px;
    opacity: 0.4;
}

.cta-shape-3 {
    width: 872px;
    height: 867px;
    top: 300px;
    opacity: 0.8;
}

.cta-banner-section .container {
    padding-top: 80px;
    z-index: 10;
    width: 100%;
}

.cta-content-wrapper {
    text-align: center;
    position: relative;
    z-index: 20;
}

.cta-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.4;
    color: #0076C6;
    text-transform: capitalize;
    letter-spacing: 0.01em;
    margin-bottom: 48px;
}

.btn-cta-register {
    background: linear-gradient(90deg, #0098EE 0%, #0076D9 48.08%, #005EB0 100%);
    box-shadow: 0px 20px 32px -8px rgba(52, 66, 217, 0.3);
    border-radius: 1000px;
    color: white;
    font-size: 20px;
    font-weight: 500;
    padding: 13px 24px;
    min-width: 320px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

    .btn-cta-register:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0px 22px 35px -8px rgba(52, 66, 217, 0.4);
    }

.cta-image-wrapper {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 580px;
    height: 580px;
    z-index: 5;
}

.cta-main-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
    .cta-title {
        font-size: 44px;
    }

    .cta-image-wrapper {
        width: 255px;
        height: 255px;
        bottom: -185px;
    }
}

@media (max-width: 991.98px) {
    /* --- CTA Banner Section --- */
    .cta-banner-section {
        margin: 20px 0;
        flex-direction: column;
        align-items: center;
        background-color: transparent;
        border-radius: 0;
        min-height: 0;
        padding-bottom: 0;
        overflow: visible;
    }

        .cta-banner-section .container {
            padding-top: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

            .cta-banner-section .container::before {
                content: '';
                display: block;
                width: 100%;
                max-width: 320px;
                height: 336px;
                background-image: url(/Content/assets/cta-mobile-bg.png);
                background-size: contain;
                background-position: center;
                background-repeat: no-repeat;
                display: none;
            }

    .cta-content-wrapper {
        position: relative;
        border-radius: 16px;
        padding: 16px;
        width: 100%;
        margin-bottom: 150px;
        z-index: 20;
    }

    .cta-title {
        font-size: 30px;
        font-weight: 600;
        line-height: 1.26;
        color: #1368BC;
        margin-bottom: 16px;
    }

    .btn-cta-register {
        font-size: 14px;
        font-weight: 500;
        padding: 10px 16px;
        min-width: auto;
        width: 130px;
        background: #1368BC;
        box-shadow: none;
        border-radius: 24px;
    }

    .cta-shape-1 {
        width: 450px;
        height: 450px;
        top: 28px;
        opacity: 0.1;
    }

    .cta-shape-2 {
        width: 400px;
        height: 400px;
        top: 85px;
        opacity: 0.4;
    }

    .cta-shape-3 {
        width: 350px;
        height: 350px;
        top: 145px;
        opacity: 0.8;
    }
}


@media (max-width: 768px) {
    .cta-banner-section .container {
        margin-bottom: 20px;
    }

    .cta-title {
        margin-bottom: 20px;
    }

    .cta-image-wrapper {
        width: 160px;
        height: 160px;
        bottom: -120%;
    }

    .cta-shape-1 {
        width: 330px;
        height: 330px;
        top: 5px;
        opacity: 0.1;
    }

    .cta-shape-2 {
        width: 285px;
        height: 285px;
        top: 60px;
        opacity: 0.4;
    }

    .cta-shape-3 {
        width: 235px;
        height: 235px;
        top: 120px;
        opacity: 0.8;
    }

    .cta-content-wrapper {
        height: 124px;
        margin-bottom: 0px !important;
        padding: 0px;
    }
}

/* --- Footer --- */
.site-footer {
    position: relative;
    overflow: visible; /* Allow ::before to be visible */
    margin-top: -100px; /* Adjust margin to pull the footer up */
    z-index: 10;
}

    .site-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 140px; /* Taller curve */
        background-color: #E7F5FF;
        /* Create a smoother curve using clip-path */
        clip-path: ellipse(55% 100% at 50% 100%);
        transform: translateY(-85%);
        z-index: -1;
    }

.footer-top {
    padding-bottom: 4px;
    background-color: #E7F5FF;
}

.footer-logo-widget {
    /* Background màu trắng 20% opacity */
    background-color: rgba(255, 255, 255, 0.2);
    /* Viền 1px solid trắng */
    border: 1px solid rgba(255, 255, 255, 1);
    /* Hiệu ứng mờ nền phía sau (background blur = 16px) */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 275px;
    margin: 0 auto;
}

.footer-logo-img {
    width: 85px;
    height: 85px;
    border-radius: 16px; /* Match design */
    object-fit: cover;
}

.footer-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #242A3D;
    margin: 0;
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 36px;
    color: #1368BC;
}

.footer-menu,
.footer-menu-social,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-menu li,
    .footer-menu-social li,
    .footer-contact-list li {
        margin-bottom: 16px;
    }

    .footer-contact-list span {
        font-weight: 500;
    }

    .footer-menu a,
    .footer-menu-social a {
        color: #242A3D;
        text-decoration: underline;
        transition: color 0.3s;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
    }

        .footer-menu a:hover {
            color: #0968D2;
            text-decoration: underline;
        }

    .footer-menu-social img {
        width: 20px;
    }

    .footer-contact-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 16px;
        line-height: 1.5;
        color: #242A3D;
    }

    .footer-contact-list a {
        color: #242A3D;
    }

    .footer-contact-list img {
        margin-top: 5px;
        width: 16px;
    }

.footer-bottom {
    padding: 26px 16px 16px 16px;
    background-color: #FFFFFF;
}


.footer-sponsors-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 40px;
    flex-wrap: wrap;
}

.sponsor-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-sponsor-title {
    line-height: 3.7;
    font-size: 18px;
    font-weight: 600;
    color: #090033;
}

.footer-sponsor-logo {
    display: block;
    padding: 0;
    border: 1px solid #BCCCDC;
    border-radius: 16px;
    background: white;
}

    .footer-sponsor-logo img {
        width: 128px;
        height: 64px;
        display: block;
    }

.footer-hotline {
    color: #090033;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .footer-hotline img {
        width: 20px;
    }

.footer-link {
    text-decoration: underline;
    color: #666;
}

    .footer-link img {
        margin-top: -3px;
        margin-right: 6px;
    }

.footer-copyright-wrapper p {
    display: inline-block;
    font-family: 'Inter', 'sans-serif';
    color: #000;
    font-weight: 400;
}

.footer-copyright-wrapper a {
    font-family: 'Inter', 'sans-serif';
    color: #000;
    font-weight: 400;
    text-decoration: underline;
}

.ps-10 {
    padding-left: 100px;
}

.ps-12 {
    padding-left: 120px;
}

.ps-8 {
    padding-left: 80px;
}

@media (max-width: 1025.98px) {
    .ps-8 {
        padding-left: 15px;
    }
}

@media (max-width: 991.98px) {
    .site-footer {
        padding-top: 50px;
        margin-top: 0;
    }

        .site-footer::before {
            display: none; /* Hide curve on mobile for simplicity */
        }

    .footer-top {
        background-color: #F9FAFB;
        padding-top: 40px;
    }

    .footer-contact-list a {
        color: #666;
    }
}

@media (max-width: 767.98px) {
    .footer-sponsors-wrapper {
        justify-content: center;
        gap: 20px;
    }
}

.footer-sponsors-wrapper-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    text-align: center;
}

.sponsor-item-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background-color: #fff;
    padding: 12px 8px;
    border-radius: 12px;
}

.sponsor-item-header {
    font-size: 12px;
    color: #666;
}

.sponsor-item-mobile .sponsor-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.sponsor-item-mobile img {
    height: 36px; /* Reduced logo height */
    max-width: 100%;
    object-fit: contain;
}

.sponsor-item-mobile .hotline {
    font-size: 12px;
    color: #666;
    font-weight: 400;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    /* --- Footer --- */
    .footer-bottom .container {
        padding: 0;
    }

    .footer-top .container {
        padding: 0;
    }

    .site-footer {
        background-color: #F5F7FA;
        padding-top: 0;
        margin-top: 144px;
    }

        .site-footer::before {
            display: none;
        }

    .footer-top {
        padding: 16px 16px 0 16px;
        border-bottom: 1px solid #EBEFF5;
    }

        .footer-top .row > * {
            padding-left: 12px;
            padding-right: 12px;
        }

    .footer-widget-title {
        font-size: 16px;
        margin-bottom: 16px; /* Increased space */
        color: #000;
        font-weight: 600;
    }

    .footer-menu, .footer-menu-social, .footer-contact-list {
        list-style: none;
        padding-left: 0;
        margin-bottom: 24px; /* Increased space */
    }

        .footer-menu:last-child, .footer-menu-social:last-child, .footer-contact-list:last-child {
            margin-bottom: 0;
        }

        .footer-menu li, .footer-menu-social li, .footer-contact-list li {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-contact-list li {
            align-items: flex-start;
        }

        .footer-menu a, .footer-menu-social a, .footer-contact-list li {
            font-size: 12px;
            color: #666;
            text-decoration: none;
            line-height: 1.5;
        }

        .footer-contact-list img, .footer-menu-social img {
            margin-top: 0px;
            width: 16px;
            height: 16px;
        }

    /* Hide desktop-specific columns */
    .footer-logo-widget,
    .footer-top .row .col-lg-2:nth-child(2),
    .footer-top .row .col-lg-2:nth-child(3) {
        display: none;
    }

    .footer-top .row .col-lg-4,
    .footer-top .row .col-lg-2 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-top .row .col-lg-4 {
        margin-bottom: 0px;
    }

    .footer-bottom {
        padding: 16px;
        padding-top: 0;
        background-color: #F9FAFB;
    }

    .footer-sponsors-wrapper-mobile {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        text-align: center;
    }

    .sponsor-item-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        background-color: transparent;
        padding: 2px 8px;
        border-radius: 8px;
        border: 1px solid #CCE4F4;
    }

    .sponsor-item-header {
        font-size: 12px;
        color: #666;
    }

    .sponsor-item-mobile .sponsor-item-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-top: 4px;
    }

    .sponsor-item-mobile img {
        height: 36px; /* Reduced logo height */
        max-width: 100%;
        object-fit: contain;
    }

    .sponsor-item-mobile .hotline {
        font-size: 12px;
        color: #666;
        font-weight: 600;
        text-decoration: none;
    }

    .footer-copyright-wrapper p {
        font-size: 14px;
    }

    .footer-copyright-wrapper a {
        font-size: 14px;
    }

    .footer-sponsor-title {
        font-size: 12px;
        color: #455073;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
    }

    .mobile-widget .footer-logo-widget {
        align-items: center;
        justify-content: flex-start;
        flex-direction: row;
        display: flex;
        background-color: transparent;
        box-shadow: none;
        margin: 0;
        padding: 12px 0;
        text-align: start;
        max-width: 100%;
        gap: 12px;
        border: none;
    }

    .footer-logo-img {
        width: 40px;
        height: 40px;
    }

    .footer-widget-title {
        display: none;
    }

    .footer-logo-text {
        color: #090033;
    }
}

.fix-width-label {
    min-width: 58px;
}

@media (max-width: 767.98px) {
    .footer-copyright-wrapper p {
        display: block;
    }

    .fix-width-label {
        min-width: 43px;
    }
}

/* =================================================================== */
/* =================== MOBILE OFFCANVAS STYLES ======================= */
/* =================================================================== */
@media (max-width: 991.98px) {
    
    /* Hide the default collapsing menu on mobile to use offcanvas instead */
    .navbar-collapse.collapse {
        display: none !important;
    }

    /* Style the hamburger icon color */
    .navbar-toggler {
        border: none;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* Offcanvas container */
    .offcanvas.offcanvas-start {
        width: 100%;
    }

    .offcanvas-header {
        justify-content: space-between;
        padding: 15px 15px;
        border-bottom: 1px solid #CCD7E6;
    }

    .offcanvas-header .btn-icon img {
        filter: invert(32%) sepia(51%) saturate(2850%) hue-rotate(185deg) brightness(90%) contrast(92%);
        width: 20px;
        height: 20px;
    }
    .btn-close {
        font-size: 13px;
        opacity: 1;
        filter: invert(32%) sepia(51%) saturate(2850%) hue-rotate(185deg) brightness(90%) contrast(92%);
    }

    /* Offcanvas body content */
    .offcanvas-body {
        padding: 1rem;
        display: flex;
        flex-direction: column;
    }
    .offcanvas-body .btn-primary {
        background-color: #1368BC;
        border-color: #1368BC;
        border-radius: 24px;
        font-size: 16px;
        font-weight: 600;
        height: 48px;
    }
    .offcanvas-body .navbar-nav {
        margin-top: 24px;
    }
    .offcanvas-body .nav-item {
        margin-bottom: 16px;
    }
    .offcanvas-body .nav-link {
        display: flex;
        align-items: center;
        font-size: 16px;
        font-weight: 500;
        color: #666666;
    }
    .offcanvas-body .nav-link.active {
        color: #1368BC;
    }
    .offcanvas-body .nav-link img {
        width: 20px;
        height: 20px;
    }

    /* User Profile in Offcanvas */
    .user-profile-mobile {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        background-color: #E5F4FE;
        border-radius: 16px;
    }
    .user-profile-mobile .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }
    .user-profile-mobile .user-info {
        flex-grow: 1;
    }
    .user-profile-mobile .user-name {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.57;
        color: #1A1A1A;
        margin: 0;
    }
    .user-profile-mobile .user-email {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 12px;
        line-height: 1.33;
        color: #666666;
    }
    .user-profile-mobile .profile-arrow {
        width: 20px;
        height: 20px;
    }

    .offcanvas-body hr {
        margin: 1rem 0;
        border-color: #dee2e6;
    }

    .offcanvas-body .navbar-nav .nav-item {
        margin-bottom: 0; /* Reset margin */
        border-bottom: 1px solid #e9ecef;
    }

    .offcanvas-body .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .offcanvas-body .navbar-nav .nav-link {
        padding: 1rem 0; /* Consistent padding */
    }
} 
.rewards-section {
    margin-bottom: 32px;
    margin-top: 85px;
}

.rewards-banner-container {
    position: relative;
    border-radius: 40px; /* Rounded corners for the banner */
    overflow: hidden; /* Ensures the images inside also have rounded corners */
    line-height: 0; /* Removes extra space below images */
}

.rewards-bg-img {
    width: 100%;
    height: auto;
}

.rewards-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 2% 15%; /* Use percentage for responsive padding */
    color: white;
}

.rewards-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 44px;
    line-height: 1.27;
    margin-bottom: 16px;
}

.rewards-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.6;
    background: linear-gradient(90deg, #FFC686 0%, #FDE5B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 40px;
}

.btn-rewards {
    border: none;
    display: inline-block;
    background: linear-gradient(90deg, #0098EE 0%, #0076D9 48.08%, #005EB0 100%);
    box-shadow: 0px 20px 32px -8px rgba(52, 66, 217, 0.3);
    border-radius: 1000px;
    color: white;
    padding: 14px 24px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    min-width: 320px;
}

.prize-card {
    position: absolute;
    width: 20%;
    max-width: 320px;
    height: auto;
}

.prize-card-1 {
    top: 34%;
    left: 50%;
    transform: translateX(-50%);
}

.prize-card-2 {
    top: 43%;
    left: 13%;
}

.prize-card-3 {
    top: 43%;
    right: 13%;
}

.rewards-section .container {
    padding-right: calc(var(--bs-gutter-x) * .2);
    padding-left: calc(var(--bs-gutter-x) * .2);
}
/* Responsive adjustments */
@media (max-width: 1200px) {
    .rewards-title {
        font-size: 3vw;
    }

    .rewards-subtitle {
        font-size: 1.8vw;
        margin-bottom: 3vw;
    }

    .btn-rewards {
        padding: 1.2vw 2vw;
        font-size: 1.5vw;
        min-width: 25vw;
    }
}

@media (max-width: 992px) {
    .rewards-content {
        padding-top: 2%;
    }

    .rewards-title {
        font-size: 26px;
        margin-bottom: 3px;
    }

    .rewards-subtitle {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .btn-rewards {
        font-size: 12px;
        min-width: 16vw;
        padding: 6px 16px;
    }
}

@media (max-width: 768px) {
    .rewards-banner-container {
        border-radius: 20px;
    }

    .rewards-content {
        padding-top: 2%;
    }

    .rewards-title {
        font-size: 12px;
        line-height: 2;
        font-weight: 500;
    }

    .rewards-subtitle {
        font-size: 10px;
        margin-bottom: 3vw;
    }

    .btn-rewards {
        padding: 3px 36px;
        font-size: 10px;
        min-width: 20px;
    }

    .rewards-section {
        margin: 16px 0;
    }

    .rewards-bg-img {
        width: 100%;
        height: 268.65px;
    }
}


.navbar {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1600px;
    height: 128px;
    background: linear-gradient( 131deg, rgba(255, 255, 255, 0.12) 0%, rgba(223, 242, 253, 0.12) 100% );
    border-radius: 32px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-radius: 100px;
    box-shadow: 0px 0px 50px rgb(0 0 0 / 10%);
    will-change: height, background, backdrop-filter, box-shadow, border-radius;
    transition: height 0.3s cubic-bezier(0.215, 0.610, 0.355, 1),
                background 0.3s cubic-bezier(0.215, 0.610, 0.355, 1),
                backdrop-filter 0.3s cubic-bezier(0.215, 0.610, 0.355, 1),
                box-shadow 0.3s cubic-bezier(0.215, 0.610, 0.355, 1),
                border-radius 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
}

    .navbar .navbar-brand img {
        transition: height 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
        height: 100px;
        transform: translateZ(0); /* Force GPU Layer */
    }

    .navbar .nav-link {
        font-size: 24px;
        font-weight: 600;
        color: #000000;
        margin: 0 15px;
        padding: 8px 16px;
        border-radius: 1000px;
        will-change: transform, color, background-color;
        transform: translateZ(0); /* Force GPU Layer */
        transition: color 0.25s ease,
                    background-color 0.25s ease,
                    transform 0.25s cubic-bezier(0.215, 0.610, 0.355, 1),
                    font-size 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
    }

        .navbar .nav-link:hover, .navbar .nav-link.active {
            color: #0076C6;
        }

    .navbar .btn-login {
        background: linear-gradient(to right, #0098EE, #005EB0);
        color: #ffffff;
        border: none;
        border-radius: 1000px;
        padding: 12px 39px;
        font-weight: 500;
        font-size: 16px;
    }

    .navbar .btn-icon {
        background: transparent;
        width: 56px;
        height: 56px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .navbar .btn-icon img {
        filter: invert(32%) sepia(51%) saturate(2850%) hue-rotate(185deg) brightness(90%) contrast(92%);
        transition: filter 0.3s ease;
    }

@media (max-width: 1024.98px) {
    .navbar {
        width: 98%;
        padding: 0px;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 60px !important;
    }

    /* Style the search icon color on mobile */
    .d-lg-none .btn-icon .icon {
        /* This filter converts black to a shade of blue: #1368BC */
        filter: invert(32%) sepia(51%) saturate(2850%) hue-rotate(185deg) brightness(90%) contrast(92%);
    }

    /* Remove border from toggler */
    .navbar-toggler {
        border: none;
        padding: 0;
    }

        .navbar-toggler:focus {
            box-shadow: none;
        }

    /* Change hamburger icon color to blue */
    .navbar-toggler-icon {
        width:20px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(19, 104, 188, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    /* Style the collapsed menu when it opens */
    .navbar-collapse.show, .navbar-collapse.collapsing {
        background-color: white;
        padding: 1.5rem;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    /* Adjust navbar for mobile */
    .navbar {
        background-color: #ffffff !important;
        height: auto;
        padding: 8px 15px;
        top: 0px;
        width: 100%;
        border-radius: 0px;
        box-shadow: none;
        position: fixed;
    }

    /* Change mobile search icon color to blue */
    .mobile-search-icon {
        filter: invert(32%) sepia(51%) saturate(2850%) hue-rotate(185deg) brightness(90%) contrast(92%);
    }

    .container-fluid {
        padding: 0;
    }
}

/* Add styles for laptops and larger tablets */
@media (max-width: 1700px) and (min-width: 992px) {
    .navbar .nav-link {
        font-size: 18px;
        margin: 0 10px;
        padding: 8px 12px;
    }
    .navbar .btn-login {
        padding: 12px 30px;
    }
}

@media (max-width: 1445px) and (min-width: 992px) {
    .navbar .nav-link {
        font-size: 16px;
        margin: 0 5px;
        padding: 8px 10px;
    }

    .navbar .navbar-brand img {
        height: 60px !important;
    }
    .navbar {
        height: 100px !important;
    }
}

@media (max-width: 1250px) and (min-width: 992px) {
    .navbar .nav-link {
        font-size: 14px;
        margin: 0 5px;
        padding: 8px 10px;
    }

    .navbar .navbar-brand img {
        height: 60px !important;
    }
    .navbar .btn-login {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 1135px) and (min-width: 992px) {
    .navbar .nav-link {
        font-size: 13px;
        margin: 0 5px;
        padding: 8px 10px;
    }

    .navbar .navbar-brand img {
        height: 50px !important;
    }
    .navbar .btn-login {
        font-size: 12px;
        padding: 12px 13px;
    }
}


/* --- Scrolled State --- */
.navbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    height: 72px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

    .navbar.scrolled .navbar-brand img {
        height: 60px;
    }

    .navbar.scrolled .nav-link {
        color: #343a40; /* Dark text for scrolled state */
        font-size: 18px;
    }

        .navbar.scrolled .nav-link:hover,
        .navbar.scrolled .nav-link.active {
            color: #0076C6;
        }

    .navbar.scrolled .btn-icon img {
        /* Re-apply the blue filter from mobile view */
        filter: invert(32%) sepia(51%) saturate(2850%) hue-rotate(185deg) brightness(90%) contrast(92%);
    }

.hero-section {
    /* background-image:url(/Content/Content_stb/img/Section.png); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    align-items: center;
    color: white;
    position: relative;
    cursor: pointer;
}

.hero-content {
    cursor: auto;
}
    /* 
.navbar {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1600px;
    height: 128px;
    background: linear-gradient(
        131deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(223, 242, 253, 0.12) 100%
      );
    border-radius: 32px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-radius: 100px;
}

.navbar .navbar-brand img {
    height: 100px;
}

.navbar .nav-link {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 15px;
    padding: 8px 16px;
    border-radius: 1000px;
    transition: background-color 0.3s;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: #ffffff;
}

.navbar .btn-login {
    background: linear-gradient(to right, #0098EE, #005EB0);
    color: #ffffff;
    border: none;
    border-radius: 1000px;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 18px;
}

.navbar .btn-icon {
    background: transparent;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar .btn-icon img {
    filter: brightness(0) invert(1);
} */

    .hero-content h1 {
        font-size: 80px;
        /*font-size: 70px;*/
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 30px;
    }

.hero-buttons .btn {
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 500;
    margin-right: 20px;
}

.hero-buttons .btn-cta {
    background: linear-gradient(to right, #0098EE, #005EB0);
    color: white;
    border: none;
}

    .hero-buttons .btn-cta img {
        max-width: 30px;
        color: #ffffff;
    }

.hero-buttons .btn-secondary {
    background-color: #F8FAFC;
    color: #212121;
    border: none;
}

/* Style for the duplicated buttons on mobile */
.hero-buttons.mobile-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 16px; /* Add some space above the buttons */
}

/* Hero Slider Styles */
.hero-slider-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.hero-slider-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.hero-slide-item {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: white;
    cursor: auto;
    padding-top: 80px;
    /* Background properties moved from .hero-section */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 51;
}

    .hero-pagination .dot {
        width: 8px;
        height: 8px;
        background-color: #ffffff;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .hero-pagination .dot.active {
            background-color: #3ac1ff;
            width: 14px;
            height: 14px;
            margin: -4px 0px;
        }

/* Clickable side navigation areas */
.hero-slider-nav-prev,
.hero-slider-nav-next {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%; /* Clickable area width */
    z-index: 50; /* Make sure it's on top */
    cursor: pointer;
}

.hero-slider-nav-prev {
    left: 0;
}

.hero-slider-nav-next {
    right: 0;
}

.hero-image {
    max-width: 550px;
}

    .hero-image img {
        display: none;
    }

/* Laptop nhỏ */
@media (min-width: 992px) and (max-width: 1199px) {
}

/* Laptop vừa */
@media (min-width: 1200px) and (max-width: 1399px) {
}

/* Desktop trung bình */
@media (min-width: 1400px) and (max-width: 1599px) {
    .hero-section {
        height: 843px; /* 78vh */
    }

    .hero-content h1 {
        font-size: 60px;
    }
}

/* Desktop lớn */
@media (min-width: 1600px) and (max-width: 1700px) {
    .hero-section {
        height: 918px; /* 85vh */
    }
}

/* Màn hình siêu rộng (1920px trở lên) */
@media (min-width: 1920px) {
    .hero-section {
        height: 100vh; /* 100vh */
    }
}

@media (max-width: 1366.98px) {
    .hero-content h1 {
        font-size: 58px;
    }

    .hero-section {
        height: 650px; /* 75vh */
    }
}

@media (max-width: 1024.98px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .hero-section {
        height: 600px; /* 65vh */
    }
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: auto !important;
        width: 88px;
    }

    /* Style the search icon color on mobile */
    .d-lg-none .btn-icon .icon {
        width: 20px;
        /* This filter converts black to a shade of blue: #1368BC */
        filter: invert(32%) sepia(51%) saturate(2850%) hue-rotate(185deg) brightness(90%) contrast(92%);
    }

    .hero-section {
        height: auto;
        text-align: center;
    }

    .hero-slide-item {
        align-items: flex-start; /* Align to top */
        padding: 10px 15px 37px 15px;
    }

    .hero-section .row {
        flex-direction: column; /* Put text below image */
    }

    .hero-content {
        margin-top: 40px;
    }

        .hero-content h1 {
            margin-top: 10px;
            font-size: 48px;
        }

        .hero-content p {
            margin-bottom: 0px;
            font-size: 16px;
            max-width: 100%;
        }

    .hero-image {
        text-align: center;
    }

        .hero-image .img-fluid {
            max-width: 80%;
        }

    /* Change mobile search icon color to blue */
    .mobile-search-icon {
        filter: invert(32%) sepia(51%) saturate(2850%) hue-rotate(185deg) brightness(90%) contrast(92%);
    }

    .hero-pagination {
        bottom: 15px;
    }

    .hero-buttons .btn-cta img {
        max-width: 15px;
    }

    /* Hide side navigation on smaller screens, use dots instead */
    .hero-slider-nav-prev,
    .hero-slider-nav-next {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 40px !important;
        width: 88px;
    }

    .hero-section .row {
        height: 377px;
        justify-content: space-between;
        flex-direction: column; /* Text on top of image */
    }
    .hero-section {
        margin-top:0px;
    }

    .hero-image {
        order: 2; /* Image comes after content */
        margin-bottom: 0; /* Remove margin if any */
    }

    .hero-image .img-fluid {
        max-width: 200px; /* Smaller image for mobile */
        margin: 0 auto; /* Center the image */
    }

    .hero-content {
        order: 1; /* Content comes first */
        margin-top: 0;
    }

        .hero-content h1 {
            margin-bottom: 14px;
            font-size: 30px; /* Font size from Figma */
            font-weight: 600;
        }

        .hero-content p {
            font-size: 14px; /* Font size from Figma */
        }

    .hero-buttons {
        order: 3; /* Buttons come last */
        display: flex;
        align-items: center; /* Center them */
        gap: 16px; /* Space between buttons */
    }

        .hero-buttons .btn {
            margin-right: 0; /* Remove right margin */
            width: 100%; /* Make buttons wider */
            max-width: 300px;
            font-size: 14px;
            padding: 6px 10px;
        }
}

/* Game Banner Section */
.game-banner-section {
    padding: 60px 0;
    margin-bottom: 240px;
}

    .game-banner-section .container {
        border-radius: 24px;
        padding: 0;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

.game-banner-content {
    position: relative;
    display: flex;
    justify-content: flex-start;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center; /* hoặc center center */
    padding: 45px 40px;
    min-height: 352px;
    color: #ffffff;
}

    .game-banner-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

.game-banner-text {
    position: relative;
    z-index: 2;
    padding: 0;
}

    .game-banner-text h2 {
        font-size: 40px;
        font-weight: 700;
        color: #ffffff; /* White text */
        margin-bottom: 16px;
    }

    .game-banner-text p {
        font-size: 22px;
        color: #ffffff;
        margin-bottom: 32px;
        line-height: 1.6;
        opacity: 0.9; /* Slightly de-emphasize paragraph */
        max-width: 600px;
        margin-right: auto;
    }

.game-banner-image {
    flex: 1;
    text-align: right;
}

    .game-banner-image img {
        max-width: 100%;
        height: auto;
        display: block;
    }

/* Responsive */
@media (max-width: 1138px) {
    .game-banner-content {
        min-height: 150px;
        background-position: center;
    }
}

@media (max-width: 991.98px) {
    .game-banner-content {
        padding: 60px 30px;
    }
}

@media (max-width: 767.98px) {
    .game-banner-section {
        padding: 16px;
        margin-bottom: -144px;
    }

    .game-banner-content {
        background-size: cover;
        background-position: bottom center;
        padding: 26px 24px;
        min-height: 470px;
    }

    .game-banner-text h2 {
        font-size: 24px;
        font-weight: 600;
        line-height: 1.5;
        margin-bottom: 8px;
    }

    .game-banner-text p {
        font-size: 12px;
        margin-bottom: 24px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .game-banner-text .btn-action-orange {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* User Stats Section */
.user-stats-section {
    padding: 0px 15px 0 15px;
}

.stat-item {
    background-color: #FFF7E6;
    border-radius: 50%;
    width: 100%;
    max-width: 230px;
    height: auto;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.3;
    color: #090033;
    margin: 0;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
    color: #090033;
    margin: 0;
}

@media (min-width: 1200px) {
    .user-stats-section {
        padding: 0px 25% 0 25%;
    }
}

@media (max-width: 991.98px) {
    .user-stats-section {
        padding: 0 15px 0 15px;
    }
    .stat-item {
        max-width: 200px;
        padding: 15px;
    }
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    .stat-number {
        font-size: 28px;
    }
    .stat-label {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .user-stats-section {
        padding: 16px 16px 0 16px;
        margin-bottom: -20px;
    }
    .stat-item {
        justify-content: space-around;
        max-width: none;
        padding: 10%;
        gap: 0;
    }
    .stat-icon {
        width: 30%;
        height: auto;
        margin-bottom: 2px;
    }
    .stat-number {
        font-weight: 600;
        font-size: 16px;
    }
    .stat-label {
        font-size: 12px;
        line-height: 1.2;
    }
} 
/* User Course Card */
.course-card-user {
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0px 10px 60px rgba(38, 45, 118, 0.08);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .course-card-user:hover {
        transform: translateY(-5px);
        box-shadow: 0px 15px 70px rgba(38, 45, 118, 0.12);
    }

    .course-card-user .course-thumb-user img {
        width: 100%;
        height: 216px;
        object-fit: cover;
    }

    .course-card-user .course-body-user {
        padding: 32px 24px 16px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .course-card-user .course-title-user {
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 20px;
        line-height: 1.4;
        color: #090033;
        margin-bottom: 16px;
        min-height: 56px; /* 2 lines */
    }

    .course-card-user .course-meta-user {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 16px;
        color: #455073;
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 500;
    }

.course-meta-user .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-meta-user .meta-divider {
    height: 12px;
    width: 1px;
    background-color: #BCCCDC;
}

.course-meta-user .icon {
    width: 16px;
    height: 16px;
}

.course-card-user .course-progress-user {
    margin-top: auto;
}

.progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress {
    flex-grow: 1;
    height: 6px;
    background-color: #E6EAF0;
    border-radius: 100px;
}

.progress-bar {
    background-color: #1368BC;
    height: 100%;
    border-radius: 100px;
}

.progress-bar-success {
    background-color: #39AC6D;
}

.progress-label {
    font-size: 14px;
    color: #1A1A1A;
    font-weight: 400;
    white-space: nowrap;
}

/* Certificate Section */
.certificate-section {
    padding: 24px 0;
}

.certificate-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
}

.certificate-header {
    margin-bottom: 24px;
}

.certificate-title {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
}

/* Certificate Table */
.certificate-table-wrapper {
    overflow-x: auto;
}

.certificate-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.certificate-table th,
.certificate-table td {
    padding: 16px;
    border-bottom: 1px solid #EBEFF5;
    vertical-align: middle;
    font-size: 14px;
    color: #4D4D4D;
}

.certificate-table th {
    font-weight: 600;
    color: #1A1A1A;
    text-align: left;
}

.certificate-table tbody tr:last-child td {
    border-bottom: none;
}

.certificate-thumb {
    width: 117px;
    height: 88px;
    object-fit: cover;
    border-radius: 8px;
}

.btn-view-cert {
    background-color: #1368BC;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 24px;
    border: none;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.btn-view-cert:hover {
    background-color: #105a9e;
}

/* Hide mobile list on desktop */
.certificate-list-mobile {
    display: none;
}

@media (max-width: 991.98px) {
    .certificate-section .container .certificate-card:hover {
        transform: none;
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05); /* Revert to non-hover shadow */
    }

    .certificate-card {
        padding: 16px;
        box-shadow: none;
        border-radius: 0;
        background-color: transparent;
    }
    .certificate-header {
        margin-bottom: 16px;
    }
    .certificate-title {
        font-size: 18px; /* Smaller title on mobile */
    }

    /* Hide desktop table on mobile */
    .certificate-table-wrapper {
        display: none;
    }

    /* Show and style mobile list */
    .certificate-list-mobile {
        display: block;
    }

    .certificate-item-mobile {
        background-color: #fff;
        border: 1px solid #EBEFF5;
        border-radius: 8px;
        padding: 16px;
        margin-bottom: 16px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .cert-mobile-header {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .cert-mobile-thumb {
        width: 95px;
        height: 60px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .cert-mobile-title {
        font-size: 14px;
        font-weight: 600;
        color: #1A1A1A;
        margin: 0;
    }

    .cert-mobile-meta {
        margin-bottom: 0;
        font-size: 12px;
        color: #666666;
    }
    
    .cert-mobile-body .meta-item {
        font-size: 14px;
        color: #333333;
        margin-bottom: 4px;
    }
    
    .cert-mobile-body .meta-item:last-child {
        margin-bottom: 0;
    }

    .cert-mobile-body .meta-item strong {
        color: #666666;
        font-weight: 400; /* As per Figma, label is normal weight */
    }


    .cert-mobile-action {
        margin-top: 8px;
        text-align: right;
    }
}


.certificate-modal__actions {
    display: flex;
    align-items: center;
}

    .certificate-modal__actions .btn-icon {
        background: none;
        border: none;
        padding: 0;
        margin-right: 1rem;
    }

        .certificate-modal__actions .btn-icon img {
            width: 24px;
            height: 24px;
        }

.certificate-modal__download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 14px;
    color: #344054;
    background-color: #FFFFFF;
    margin-right: 1rem;
    transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

    .certificate-modal__download-btn svg path {
        stroke: #344054;
        transition: stroke 0.15s ease-in-out;
    }

    .certificate-modal__download-btn:hover {
        color: #1368BC;
        border-color: #1368BC;
    }

    .certificate-modal__download-btn:hover svg path {
        stroke: #1368BC;
    }



#myVideo {
    max-width: 100%;
    min-height: 586px;
}
/* No content needed, just creating the file */ 

.course-detail-section {
    margin-bottom: 300px;
    padding: 24px 0;
}

/* Breadcrumb */
.course-breadcrumb {
    --bs-breadcrumb-divider: '>'; 
    --bs-breadcrumb-font-size: 12px;
}

.course-breadcrumb .breadcrumb-item a {
    color: #666666;
    text-decoration: none;
}
.course-breadcrumb .breadcrumb-item a:hover {
    color: #1368BC;
}
.course-breadcrumb .breadcrumb-item.active {
    color: #1368BC;
    font-weight: 500;
}
.course-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.875 2.875L7.125 6L4.875 9.125' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    padding: 0 8px;
    color: #666666;
    vertical-align: middle;
    line-height: 1.7;
}

/* --- Left Column --- */
.course-main-content > div {
    border-radius: 8px;
}

.course-main-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Curriculum Accordion */
.course-curriculum-card .accordion-item {
    background-color: #F9FAFB;
    border: 1px solid #EBEFF5;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.course-curriculum-card .accordion-header {
    cursor: pointer;
    padding: 10px 20px;
}

.course-curriculum-card .accordion-button {
    font-weight: 600;
    font-size: 16px;
    color: #000000;
    background-color: transparent;
    box-shadow: none;
    padding: 0.5rem 0;
}

.course-curriculum-card .accordion-button::after {
    content: '';
    background-image: url(/Content/Content_stb/img/icon-down-arrow.svg);
    background-size: 16px;
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease-in-out;
}
.course-curriculum-card .accordion-button:not(.collapsed)::after {
   transform: rotate(-180deg);
}

.course-curriculum-card .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.course-curriculum-card .accordion-body {
    padding: 0px 0px 24px;
}

.course-curriculum-card .lesson-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.course-curriculum-card .lesson-list li {
    margin-bottom: 0;
    padding: 0;
}

.course-curriculum-card .lesson-list .active {
    margin: 0 6px;
    border-radius: 10px;
    background-color: #E5F4FE;
}
.course-curriculum-card .lesson-list .active a {
    margin: 0 -6px;
}

.course-curriculum-card .lesson-list li a {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding: 8px 20px;
    text-decoration: none;
    color: #1A1A1A;
    font-size: 14px;
}

.course-curriculum-card .lesson-list li a:hover {
    color: #1368BC;
}

.course-curriculum-card .lesson-list .lesson-title-wrapper {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-right: 8px;
}

.course-curriculum-card .lesson-list .lesson-icon {
    margin-top:4px;
    width: 15px;
    height: 15px;
}

.course-curriculum-card .lesson-list .lesson-duration {
    font-weight: 500;
    font-size: 14px;
    color: #1368BC;
}

    .course-curriculum-card .lesson-list .lesson-required {
        color: #E14337;
        font-size: 14px;
        padding: 0px 40px;
        display: block;
        padding-bottom: 8px;
    }

.course-stats-cards {
    margin-bottom: 16px;
}

/* Comments Section */
.comment-input-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-input-box .form-control {
    flex-grow: 1;
    border-radius: 24px;
    padding-left: 20px;
}

.btn-send-comment {
    background: none;
    border: none;
    padding: 0;
}

.comment-list .comment-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 4px;
}

.comment-author {
    font-weight: 600;
    color: #1368BC;
}

.comment-date {
    font-size: 12px;
    color: #666;
}

.comment-text {
    margin: 0;
    font-size: 14px;
}

/* --- Right Column --- */
.course-sidebar-card {
    position: sticky;
    top: 100px; /* Adjust based on header height */
    background-color: #fff;
    border-radius: 16px;
    border: 1px solid #EBEFF5;
    overflow: hidden; /* To keep border-radius on image */
}

.course-sidebar-card .course-thumbnail {
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid #EBEFF5;
}

.sidebar-card-body {
    padding: 24px;
}

.course-title-sidebar {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.course-duration-sidebar {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.course-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    font-family: 'Inter', sans-serif;
}

.course-info-list li {
    background-color: #FFF7E6;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #090033;
    margin-bottom: 12px;
}

.course-info-list li:last-child {
    margin-bottom: 0;
}

.course-info-list li img {
    margin-right: 12px;
    width: 24px;
    height: 24px;
}

/* Course Video Section */
.course-video-section {
  margin-bottom: 2rem;
}

.video-player-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

.video-player-container .img-fluid {
    width:100%;
  border-radius: 24px;
}

.video-player-container .btn-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background-color 0.3s ease;
}

.video-player-container .btn-play-icon:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.video-player-container .btn-play-icon img {
  width: 40px;
  height: 40px;
}


.course-main-title {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.course-description-card .course-main-title {
  margin-top: 0;
  margin-bottom: 25px;
}


#course-intro-wrapper {
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

    #course-intro-wrapper.collapsed {
        /* The max-height will be set by JS */
    }

.btn-read-more {
    padding: 0;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    color: #1368BC;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 16px;
}

.btn-read-more:hover {
    color: #0f5291;
    text-decoration: underline;
}

.course-duration {
  font-size: 14px;
  color: #333333;
  margin-bottom: 16px;
}

.course-stats-cards .stat-card {
  background-color: #FFF7E6;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.course-stats-cards .stat-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

.course-stats-cards .stat-text {
  font-size: 14px;
  font-weight: 400;
  color: #090033;
}

.btn-enroll {
    background-color: #1368BC !important;
    border-color: #1368BC !important;
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 24px !important; 
}
.btn-enroll:hover, .btn-enroll:active, .btn-enroll:focus {
    background-color: #0f549c !important; 
    border-color: #0f549c !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

.course-detail-content {
    border: 1px solid #EBEFF5;
    border-radius: 16px;
    padding: 16px;
    margin-top: -16px;
}

.bg-no-slide {
    margin-top: -190px;
}

.btn-course-complete {
    background-color: #1368BC;
    color: #FFFFFF;
    border-radius: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.2s ease-in-out;
}

.btn-course-complete:hover {
    background-color: #FFFFFF;
    border: 1px solid #1368BC;
    color: #1368BC;
}

.btn-course-complete:hover img{
    filter: invert(32%) sepia(84%) saturate(1539%) hue-rotate(187deg) brightness(80%) contrast(92%);
}

.btn-course-complete img {
    width: 14px;
    height: 14px;
}

.video-player-container iframe {
    border-radius: 24px;
    min-height: 700px;
    width: 100%;
}
/* Responsive */
@media (max-width: 991.98px) {
    .course-sidebar-card {
        position: static; /* Remove sticky on mobile */
        margin-top: 32px;
    }

    .course-detail-section {
        margin-bottom: -100px;
    }

    .bg-no-slide {
        margin-top: -325px;
    }

    .course-description-card .course-main-title {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .btn-enroll {
        padding: 10px 16px;
        font-size: 14px;
    }

    .course-detail-section {
        margin-bottom: -100px;
    }

    .bg-no-slide {
        margin-top: -50px;
    }

    .course-main-title {
        font-size: 20px;
    }

    .course-description-card .course-main-title {
        font-size: 20px;
    }

    .course-curriculum-card h3 {
        font-size: 16px;
    }

    .course-main-content h3{
        font-size: 16px;
    }

    .course-curriculum-card p {
        font-size: 13px;
    }

    /*.course-breadcrumb {
        overflow-x: auto;
        -ms-overflow-style: none;*/  /* IE and Edge */
        /*scrollbar-width: none;*/  /* Firefox */
    /*}

    .course-breadcrumb::-webkit-scrollbar {
        display: none;*/ /* Chrome, Safari, and Opera */
    /*}*/

    .course-breadcrumb .breadcrumb {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .course-breadcrumb .breadcrumb-item {
        white-space: nowrap;
        /*flex-shrink: 0;*/
    }
    .course-breadcrumb .breadcrumb-item.active {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .course-breadcrumb .breadcrumb-item.breadcrumb-hidden {
        width:200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .course-breadcrumb .breadcrumb-item.breadcrumb-none {
        display:none;
    }

        .course-breadcrumb .breadcrumb-item.breadcrumb-hidden::before {
            display: none;
        }

    #myVideo {
        max-width: 100%;
        min-height: 214px;
    }
    .video-player-container iframe {
        border-radius: 24px;
        min-height: 400px;
        width: 100%;
    }
}



/* Social Share Section */
.social-share-section {
    padding-top: 24px;
    margin-top: 24px;
}

.social-share-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-share-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #F8FAFC;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-share-icons .social-icon:hover {
    cursor:pointer;
    background-color: #e9ecef;
}

.social-share-icons .social-icon img {
    width: 24px;
    height: 24px;
}

#share-mobile {
    display: none;
}

#share-pc {
    display: block;
}
@media (max-width: 767.98px) {
    #share-mobile {
        display: block !important;
    }

    #share-pc {
        display: none !important;
    }
    .social-share-section {
        padding-top: 0px;
        margin-top: 0px;
    }
}
.comments-container {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px;
    max-height: 756px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.comments-title {
    font-size: 20px;
    font-weight: 600;
    color: #152945;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E7EB;
}

.comments-list {
    flex-grow: 1;
    overflow-y: auto;
    margin-right: -15px;
    padding-right: 15px;
}

/* Custom scrollbar for comments list */
.comments-list::-webkit-scrollbar {
    width: 6px;
}

.comments-list::-webkit-scrollbar-track {
    background: transparent;
}

.comments-list::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 3px;
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background: #D1D5DB;
}


.comment-item {
    align-items: flex-start;
}

.comment-item .comment-content {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 0 12px 12px 12px;
    flex-grow: 1;
}

.comment-author-time {
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.comment-author {
    font-weight: 600;
    color: #1368BC;
    font-size: 14px;
}

.comment-time {
    font-size: 12px;
    color: #666666;
}

.comment-text {
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
}

.comment-input-form {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}

.comment-input-form .form-control {
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 20px !important;
    background-color: #F3F4F6;
    border: 1px solid #F3F4F6;
    padding-left: 20px;
    padding-right: 50px;
    font-size: 14px;
}

.comment-input-form .form-control:focus {
    box-shadow: none;
    border-color: #1368BC;
    background-color: #fff;
}

.comment-input-form .form-control::placeholder {
    color: #999999;
}

.comment-input-form .input-group {
    position: relative;
}

.comment-input-form .btn-send {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    border: none;
    background-color: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-input-form .btn-send img {
    margin-right: 6px;
    width: 20px;
    height: 20px;
}

@media (max-width: 991.98px) {
    .comments-container {
        max-height: 400px;
        margin-top: 16px;
    }
}

@media (min-width: 992px) {
    .comments-container {
        top: 100px; 
    }
}

.comments-container .comment-item {
    position: relative;
}

.comments-container .comment-actions {
    font-size: 0.875rem;
}

.comments-container .reply-btn,
.comments-container .cancel-reply-btn {
    color: #6c757d;
    text-decoration: none;
}

    .comments-container .reply-btn:hover,
    .comments-container .cancel-reply-btn:hover {
        text-decoration: underline;
    }

.comments-container .replies {
    border-left: 2px solid #e9ecef;
}

/* New styles for action icons and dividers */
.comment-actions .action-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    /* Adding a filter to make icons match the text color */
    filter: invert(42%) sepia(11%) saturate(317%) hue-rotate(170deg) brightness(95%) contrast(84%);
}

.comment-actions .btn:hover .action-icon {
    filter: invert(8%) sepia(8%) saturate(38%) hue-rotate(320deg) brightness(97%) contrast(92%);
}


.comment-actions .btn {
    color: #6c757d;
    font-weight: 500;
}

    .comment-actions .btn:hover {
        color: #212529;
    }

.action-divider {
    color: #e9ecef;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Custom Confirmation Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1055; /* Higher than other elements */
}

.modal-dialog-custom {
    width: 100%;
    max-width: 400px;
    margin: 1.75rem;
}

.modal-content-custom {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    display: flex;
    flex-direction: column;
    animation: modal-fade-in 0.3s ease-out;
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-title-custom {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.btn-close-custom {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.5;
}

    .btn-close-custom:hover {
        opacity: 1;
    }

.modal-body-custom {
    padding: 1rem 1.5rem;
}

.modal-footer-custom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    gap: 0.5rem;
}
.course-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    top: 120px;
}

.btn-action {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 1px 2px 0px #1018280D;
    transition: all 0.2s ease-in-out;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 6px -1px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
}

.btn-action img {
    width: 100%;
    height: 100%;
}

.video-controls {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    align-items: center;
}

.btn-lesson-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: 1px solid #1368BC;
    color: #1368BC;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 24px;
    transition: all 0.2s ease-in-out;
}

.btn-lesson-nav:hover {
    background-color: #1368BC;
    color: #FFFFFF;
}

.btn-lesson-nav:hover img {
    filter: brightness(0) invert(1);
} 

.btn-lesson-nav img {
    width: 14px;
    height: 14px;
}

@media (max-width: 767.98px) { 
    .video-controls {
        justify-content : space-between;
    }

    .btn-lesson-nav {
        padding-left: 25px;
        padding-right: 25px;
    }

    .course-actions {
        flex-direction : row;
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) { 

    .course-actions {
        flex-direction : row;
        justify-content: flex-start;
    }
}

/* Test Info Section Styles */
.test-info-container {
    border: 1px solid #EBEFF5;
    border-radius: 8px;
    padding: 24px;
    background-color: white;
    margin-bottom: 16px;
}

.test-info-section {
    margin-bottom: 24px;
}

.test-info-section:last-child {
    margin-bottom: 0;
}

.test-info-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1A1A1A;
}

.test-info-subtitle {
    font-size: 16px;
    color: #1368BC;
    margin-bottom: 16px;
    font-weight: 500;
}

.test-info-divider {
    border-top: 1px solid #EBEFF5;
    margin: 24px 0;
}

.btn-start-test {
    background-color: #1368BC;
    color: #FFFFFF;
    border-radius: 24px;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border: none;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-start-test:hover {
    background-color: #0f569b;
    color: #FFFFFF;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .test-info-grid {
        display: grid;
        grid-template-columns: 33.33% 66.67%; /* col-md-4, col-md-8 */
        gap: 8px 16px;
    }
}

@media (min-width: 992px) {
    .test-info-grid {
        grid-template-columns: 25% 75%; /* col-lg-3, col-lg-9 */
    }
}

.test-info-label {
    font-size: 14px;
    color: #1A1A1A;
    font-weight: 500;
}

.test-info-value {
    font-size: 14px;
    color: #333333;
}


/* Mobile Styles */
@media (max-width: 767.98px) {
    .test-info-container {
        padding: 16px;
        border: 1px solid #EBEFF5;
        border-radius: 8px;
    }

    .test-info-title {
        font-size: 16px;
        font-weight: 500;
    }

    .test-info-subtitle {
        font-size: 12px;
        margin-bottom: 24px;
    }

    .test-info-grid {
        display: grid;
        grid-template-columns: 45% auto;
        gap: 8px 24px;
    }

    .test-info-label,
    .test-info-value {
        font-size: 14px;
        padding-bottom: 8px;
    }

    .test-info-divider {
        margin: 16px 0;
    }
    
    .test-info-section .test-info-grid {
        padding: 0;
    }
    
    .justify-content-end.mt-3 {
        padding: 0;
    }
} 
    .test-layout {
        background: linear-gradient(to bottom, #D9ECFF 0%, rgba(240, 243, 255, 0) 100%);
        padding: 2rem;
        min-height: 100vh;
    }

    .test-layout .container {
        max-width: 1200px !important;
        margin: 0 auto;
    }

    .test-content .test-question-list {
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        padding-right: 15px;
        background-color: #F9FAFB;
        border: 1px solid #EBEFF5;
        border-radius: 8px;
        margin-top: 34px;
    }

    .test-question-item.card {
        margin-bottom: 1rem;
        padding: 1rem;
        border: none;
        background-color: transparent;
    }

    .test-question-item .card-body {
        padding: 0;
    }

    .test-question-item .fw-bold {
        font-size: 16px;
        color: #000000;
    }

    .test-question-item div:not(.fw-bold) {
        font-size: 14px;
        color: #1A1A1A;
    }

    .test-question-item .form-check {
        margin-bottom: 0.75rem;
    }

    .test-question-item .form-check-label {
        font-size: 14px;
        color: #1A1A1A;
    }

    .test-sidebar .card {
        border-radius: 16px;
        border: none;
        color: #1A1A1A;
    }

    .test-timer.card {
        background-color: #FC6B03;
        /*background: linear-gradient(to right, #0058A0 0%, #1368BC 42.21%, #3f8cda 100%);*/
        color: white;
    }

    .test-timer .timer-text {
        font-size: 30px;
        font-weight: 600;
    }

    .test-timer .timer-icon {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }

    .test-navigation .question-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
        gap: 8px;
    }

    .test-navigation .question-number {
        width: 32px;
        height: 32px;
        padding: 0;
        border-radius: 50%;
        font-weight: 600;
    }

    .test-navigation .btn-primary {
        background-color: #1368BC;
        border-color: #1368BC;
    }

    .test-navigation .btn-secondary {
        background-color: #F2F5F8;
        border-color: #F2F5F8;
        color: #666666;
    }

    .test-navigation .btn-warning {
        background-color: #FC6B03;
        border-color: #FC6B03;
        color: white;
    }

    .test-legend {
        font-size: 14px;
        color: #1A1A1A;
    }

    .legend-color-box {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 12px;
    }

    .legend-color-box.answered {
        background-color: #1368BC;
    }

    .legend-color-box.considering {
        background-color: #FC6B03;
    }

    .legend-color-box.unanswered {
        background-color: #E6EAF0;
    }

    .btn-finish-test {
        background-color: #1368BC;
        color: white;
        font-weight: 600;
        font-size: 16px;
        border-radius: 24px;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: none;
    }

    .btn-finish-test:hover {
        background-color: #0f549c;
        color: #FFFFFF;
    }

    .btn-finish-test img {
        height: 16.67px; /* Match figma height */
        width: auto;
        margin-left: 0;
    }

    /* Scrollbar styling */
    .test-content .test-question-list::-webkit-scrollbar {
        width: 6px;
    }

    .test-content .test-question-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .test-content .test-question-list::-webkit-scrollbar-thumb {
        background: #E6EAF0;
        border-radius: 100px;
    }

    .form-check {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-left: 0;
    }

    .form-check .form-check-input {
        margin: 0;
        float: none;
    }

    .test-question-item .question-title-container {
        margin-bottom: 16px;
    }

    .test-question-item .question-title-container .form-check-label {
        font-weight: 600;
        font-size: 16px;
        color: #000000;
    }

    .test-question-item .question-title-container .form-check-input {
        width: 20px;
        height: 20px;
        border-radius: 4px;
        border: 1px solid #CCD7E6;
    }

    .test-question-item .question-content-container p {
        font-size: 14px;
        color: #1A1A1A;
        margin-bottom: 16px;
    }

    .test-question-item .answer-options-container {
        padding-left: 40px;
    }

    .test-question-item .answer-options-container .form-check {
         margin-bottom: 12px;
    }

    .test-question-item .answer-options-container .form-check-label {
        font-size: 14px;
        color: #1A1A1A;
    }

    .test-question-item .answer-options-container .form-check-label p{
        margin : 0 !important;
    }

    .test-question-item .answer-options-container .form-check-input {
        min-width: 16px;
        min-height: 16px;
    }

    .test-question-item .answer-options-container .form-check-input[type="radio"] {
        min-width: 16px;
        min-height: 16px;
        border: 1px solid #CCD7E6;
    }

    .test-sidebar {
        position: sticky;
        top: 2rem;
        margin-top: 34px;
    }

    .btn-save-question {
        background-color: #1368BC;
        color: #FFFFFF;
        border-radius: 24px;
        padding: 8px 16px;
        border: none;
        font-size: 14px;
        font-weight: 500;
    }

    .btn-save-question:hover {
        background-color: #0f549c;
        color: #FFFFFF;
    }


    .border-rd-16 {
        border-radius: 16px;
    }

    #ms_timer {
        font-size: 30px;
        font-weight: 600;
    }


/*--------------------------------------------------------------
# Test Mobile Layout
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
  /*body {
    background-color: #F9FAFB;
  }*/

  .test-layout {
    background: none;
    padding: 1rem;
    padding-bottom: 90px;
    box-sizing: border-box;
    /* JS will set padding-top. Add transition for smoothness. */
    transition: padding-top 0.2s ease-out;
  }
  
  .test-content .test-question-list {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    background-color: transparent;
    margin: 0;
  }
  
  .mobile-test-header {
    position: fixed;
    /* top: 0; */
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #fff;
  }
  
  .mobile-test-header .card {
    border: 0;
    border-radius: 0;
    background-color: transparent;
  }
  
  .mobile-test-header .card-body {
    padding: 0.75rem 1rem;
  }

  .mobile-test-title {
    font-size: 1rem;
    font-weight: 500;
  }

  .btn-collapse-questions {
    border: 1px solid #0D6EFD;
    color: #0D6EFD;
    background-color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
  }

  .btn-collapse-questions:hover { 
    border: 1px solid #0D6EFD;
    color: #0D6EFD;
    background-color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
  }

  .btn-collapse-questions .arrow-icon {
    margin: 3px 0 0 4px;
    transition: transform 0.3s ease;
    width: 9px;
  }
  
  .btn-collapse-questions[aria-expanded="true"] .arrow-icon {
    transform: rotate(180deg);
  }

  /* Handle button text display */
  .btn-collapse-questions .text-collapsed {
    display: none;
  }
  .btn-collapse-questions[aria-expanded="false"] .text-expanded {
    display: none;
  }
  .btn-collapse-questions[aria-expanded="false"] .text-collapsed {
    display: inline;
  }

  /* --- Collapse/Expand Question List Logic --- */

  /* When EXPANDED, question grid is a grid */
  #questionNavCollapse .question-grid {
    display: grid;
  }
  
  /* When COLLAPSED, question grid becomes a flex row */
  #questionNavCollapse.collapse:not(.show) .question-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  #questionNavCollapse.collapse:not(.show) .question-grid::-webkit-scrollbar {
    display: none;
  }

  #questionNavCollapse.collapse:not(.show) .question-grid .question-number {
    flex-shrink: 0;
  }

  /* When COLLAPSED, the legend is hidden */
  #questionNavCollapse.collapse:not(.show) .test-legend {
    display: none;
  }

  /* The JS for Bootstrap's collapse adds an inline style of 'height: 0px'
     during transition. We need to override this for our case where the
     content is still visible but in a different layout. */
  #questionNavCollapse.collapsing {
    height: auto !important;
    transition: none !important;
  }

  /* Override the default 'display: none' that .collapse adds when collapsed */
  #questionNavCollapse.collapse:not(.show) {
    display: block !important;
  }
  
  .mobile-test-header .test-navigation .question-grid {
    grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
    gap: 8px;
  }

  .mobile-test-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #fff;
    padding: 0.75rem 1rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

.mobile-test-footer .test-timer {
    background-color: #FC6B03;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
}

  .test-timer .timer-text {
    font-size: 17px;
    font-weight: 500;
  }

  .mobile-test-footer .test-timer .timer-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    filter: brightness(0) invert(1);
  }
  
  .mobile-test-footer .btn-finish-test {
    background-color: #0056B3;
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
  }

  .mobile-test-footer .btn-finish-test img {
    margin-left: 0.5rem;
  }
  
  .legend-color-box {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      margin-right: 8px;
      display: inline-block;
  }
  .legend-color-box.answered {
      background-color: #0D6EFD;
  }
  .legend-color-box.considering {
      background-color: #F05A28;
  }
  .legend-color-box.unanswered {
      background-color: #E0E0E0;
      border: 1px solid #bdbdbd;
  }

  .test-question-item .card-body {
    padding: 0;
  }

  .test-navigation .question-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
    gap: 8px;
  }
  .col-lg-9 { 
    padding: 0;
  }

  .navbar  { 
    display: flex !important;
  }
}

body.mobile-test-active {
    background-color: #f9fafb;
    overflow: hidden; /* Prevent scrolling of the body behind fixed elements */
}

.mobile-test-top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 1rem;
    z-index: 1040;
    border-bottom: 1px solid #dee2e6;
}

.mobile-test-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0;
}

.test-layout-mobile {
    /* Adjust top padding to match header height, and bottom for the footer */
    padding-top: 70px; 
    padding-bottom: 180px;
    height: 100vh;
    overflow-y: auto;
}

.mobile-test-bottom-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 1040;
    box-shadow: 0px -4px 12px rgba(0, 0, 0, 0.05);
}

.mobile-test-controls {
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.mobile-test-controls .test-timer {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.mobile-test-controls .test-timer .timer-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.mobile-test-controls .btn-finish-test {
    background-color: #0052cc;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    font-size: 14px;
}
.mobile-test-controls .btn-finish-test img {
    width: 20px;
    margin-left: 4px;
}

.mobile-question-nav-container {
    padding: 0.75rem 1rem;
    background-color: #F8F9FA;
}

.mobile-question-nav-header {
    cursor: pointer;
}

.mobile-question-nav-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.btn-expand-collapse {
    background: none;
    border: none;
    color: #0052cc;
    font-weight: 500;
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
}

.btn-expand-collapse .collapse-text {
    display: none;
}

.btn-expand-collapse .arrow-icon {
    transition: transform 0.3s ease;
    width: 16px;
    margin-left: 4px;
}

.mobile-question-nav-header[aria-expanded="true"] .expand-text {
    display: none;
}

.mobile-question-nav-header[aria-expanded="true"] .collapse-text {
    display: inline;
}

.mobile-question-nav-header[aria-expanded="true"] .arrow-icon {
    transform: rotate(180deg);
}

.mobile-question-nav-content {
    padding-top: 1rem;
}

.question-grid-container-mobile .question-grid-short,
.question-grid-container-mobile .question-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 8px;
}

.question-grid-container-mobile .question-number {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    font-weight: 600;
}

/* Initially hide the full grid and legend */
.question-grid-full {
    display: none;
}
.mobile-question-nav-content .test-legend {
    display: none;
}

/* Styles when expanded */
#questionNavCollapseMobile.show .question-grid-short {
    display: none;
}

#questionNavCollapseMobile.show .question-grid-full {
    display: grid;
}

#questionNavCollapseMobile.show .question-number {
    background-color: white;
    color: #495057;
    border: 1px solid #dee2e6;
}

#questionNavCollapseMobile.show .question-number.active,
#questionNavCollapseMobile.show .question-number.btn-primary {
    border-color: #0052cc;
    color: #0052cc;
    background-color: #e7f0ff;
}

#questionNavCollapseMobile.show .question-number.btn-warning {
    border-color: #ffc107;
    color: #664d03;
    background-color: #fff3cd;
}

#questionNavCollapseMobile.show .test-legend {
    display: block;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 1rem;
} 

/* Blog Details Page Specific Styles */
.blog-content-wrapper {
    padding: 40px 0;
}

.tags-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #0968D2;
}

    .tags-label .icon {
        border-radius: 0px;
        width: 16px !important;
        height: 16px !important;
    }

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-link {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 16px;
    background-color: #fff;
    color: #344054;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    transition: background-color 0.2s;
}

    .tag-link:hover {
        background-color: #f9fafb;
        color: #0968D2;
    }


.article-main {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.blog-breadcrumb .breadcrumb {
    margin-bottom: 16px;
}

.blog-breadcrumb .breadcrumb-item a {
    text-decoration: none;
    color: #666666;
    font-size: 12px;
}

    .blog-breadcrumb .breadcrumb-item a:hover {
        text-decoration: underline;
    }

.blog-breadcrumb .breadcrumb-item.active {
    color: #1368BC;
    font-size: 12px;
}

.blog-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    padding-right: .5rem;
    color: #6c757d;
    content: ">";
}

.article-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #090033;
    margin-bottom: 16px;
    line-height: 1.77;
    color: #242A3D;
    text-align: justify;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    font-size: 14px;
    color: #242A3D;
}

.meta-tags-group,
.meta-items-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-tag {
    background-color: #EEF5FC;
    color: #0076C6;
    padding: 8px;
    border-radius: 1000px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

    .meta-tag img {
        width: 12px;
    }

.meta-divider {
    width: 1px;
    height: 12px;
    background-color: #BCCCDC;
}

.article-body,
.article-body * {
    font-family: 'Manrope', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.77 !important;
    color: #242A3D !important;
}

    .article-body p img {
        width: 100% !important;
        height: auto !important;
    }

    .article-body a {
        color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1)) !important;
        text-decoration: underline !important;
    }

    .article-body img {
        width: 100% !important;
        height: auto !important;
    }

    .article-body h2 {
        font-family: 'Manrope', sans-serif;
        font-size: 24px;
        font-weight: 700;
        margin-top: 2em;
        margin-bottom: 1em;
    }

    .article-body .article-image {
        width: 100%;
        border-radius: 12px;
        margin: 32px 0 0 0;
    }

    .article-body table {
        max-width: 820px;
        width: 100% !important;
        table-layout: fixed;
        word-break: break-word;
        border-collapse: collapse;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    .article-body th,
    .article-body td {
        width: auto !important;
        border: 1px solid black;
        padding-left: 1% !important;
        padding-right: 1% !important;
    }

    .article-body th {
        text-align: center;
    }

.article-conclusion {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.77;
    color: #242A3D;
}

.social-share-container {
    position: absolute;
    left: -100px; /* Adjust this to control distance from article */
    top: 10px; /* Align with the H1 title */
    width: 56px;
    z-index: 10;
}

.social-share-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 120px; /* Adjust this value based on your header's height */
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .social-share-sticky .btn-social {
        background-color: #F8FAFC;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        transition: all 0.3s ease;
    }

        .social-share-sticky .btn-social:hover {
            transform: scale(1.1);
            background-color: #ffffff;
        }

        .social-share-sticky .btn-social img {
            height: 24px;
            width: 24px;
        }

.social-share-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #E2E8F0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

    .social-share-mobile .btn-social {
        background-color: #F8FAFC;
        border: 1px solid #E2E8F0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .social-share-mobile .btn-social img {
            height: 22px;
            width: 22px;
        }

/* Responsive */
@media (max-width: 1200px) {
    .social-share-container {
        left: -80px;
    }
}

@media (max-width: 992px) {
    .article-main {
        padding: 60px 15px 0 15px;
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 24px;
    }

    .article-meta {
        gap: 12px;
    }

    .blog-content-wrapper {
        padding-bottom: 0px; /* Space for mobile social bar */
    }
}

@media (min-width: 769px) {
    .article-main {
        margin-top: 210px;
        max-width: 820px;
        margin-right: auto;
        margin-left: auto;
    }
}


.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eaecf0;
}

.article-body img {
    border-radius: 12px;
}

@media (max-width: 767.98px) {
    .article-tags {
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 12px;
    }

        .article-meta .meta-tag ~ .meta-divider {
            width: 100%;
            height: 0;
            margin: -8px 0;
            visibility: hidden;
        }
}

/* CSS for Search Modal */
.search-modal .modal-dialog {
    max-width: 788px;
    margin: 1.75rem auto;
}

@media (min-width: 576px) {
    .search-modal .modal-dialog {
        max-width: 500px;
    }
}

@media (min-width: 768px) {
    .search-modal .modal-dialog {
        max-width: 788px;
    }
}

.search-modal .modal-content {
    border-radius: 24px !important;
    background-color: #F8FAFC;
    border: none;
    padding: 16px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.1);
}

.search-modal .modal-header {
    border-bottom: none;
    padding: 1rem 1rem 0;
    position: relative;
    justify-content: center;
    align-items: center;
}

.search-modal .modal-title {
    font-size: 36px;
    font-weight: 700;
    color: #0076C6;
    text-align: center;
    width: 100%;
}

.search-modal .btn-close {
    position: absolute;
    right: 32px;
    top: 32px;
    background-size: 1em;
    z-index: 10;
}


.search-modal .modal-body {
    padding: 11px;
}

.search-form-container {
    position: relative;
    background-color: #F2F5F8;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

    .search-form-container .form-control {
        background-color: transparent;
        border: none;
        height: 48px;
        padding-left: 12px;
        font-size: 14px;
        color: #333;
        flex: 1;
    }

        .search-form-container .form-control::placeholder {
            color: #999999;
        }

        .search-form-container .form-control:focus {
            box-shadow: none;
            background-color: transparent;
        }

    .search-form-container .search-icon {
        width: 16px;
        height: 16px;
        filter: invert(58%) sepia(0%) saturate(1%) hue-rotate(149deg) brightness(96%) contrast(89%);
    }

.popular-searches h6 {
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 16px;
}

.popular-searches .list-group-item {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    border: none;
    background: transparent;
    padding: 6px 0;
    cursor: pointer;
    text-decoration: none;
}

    .popular-searches .list-group-item:hover {
        color: #0076C6;
    }

/* Responsive adjustments */
@media (max-width: 767.98px) {
    body.search-modal-open .modal-backdrop {
        display: none;
    }

    .search-modal {
        padding: 0 !important;
    }

        .search-modal .modal-dialog {
            margin: 0;
            max-width: 100%;
            width: 100%;
            height: 100%;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }

        .search-modal .modal-content {
            height: 100%;
            border-radius: 0 !important;
            padding: 8px;
            box-shadow: none;
            background-color: #fff;
            position: absolute;
            top: 72px;
            left: 0;
            right: 0;
            bottom: 0;
            overflow-y: auto;
        }

    .search-modal .modal-title {
        font-size: 24px;
    }

    .search-modal .modal-header {
        padding: 1rem;
    }

    .search-modal .btn-close {
        right: 16px;
        top: 20px;
    }

    .popular-searches .list-group-item {
        font-size: 16px;
    }
}

.search-history {
    margin-bottom: 24px;
}

    .search-history h6 {
        font-size: 14px;
        font-weight: 400;
        color: #333333;
        margin-bottom: 16px;
    }

    .search-history .list-group-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 20px;
        font-weight: 500;
        color: #000000;
        border: none;
        background: transparent;
        padding: 8px 0;
        cursor: pointer;
    }

        .search-history .list-group-item:hover {
            color: #0076C6;
        }

    .search-history .history-item-content {
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .search-history .history-item-content .icon {
            width: 20px;
            height: 20px;
        }

    .search-history .btn-delete {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

        .search-history .btn-delete .icon {
            width: 20px;
            height: 20px;
            filter: invert(39%) sepia(8%) saturate(0%) hue-rotate(181deg) brightness(96%) contrast(84%);
        }

@media (max-width: 767.98px) {
    .search-history .list-group-item {
        font-size: 18px;
    }
}

/* ============================================= */
/* Pop-up Modal Styles (Figma Aligned)           */
/* ============================================= */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content.popup {
    border-radius: 8px;
    border: none;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup__icon-container {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #EDF2FD; /* Light blue background from Figma */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

    .popup__icon-container img {
        width: 45px;
        height: 45px;
    }

.popup__body {
    padding: 0;
}

.popup__title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: #000000;
    margin-top: 0;
    margin-bottom: 8px;
}

.popup__message {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.57;
    color: #333333;
    margin-bottom: 0;
}

.popup__input {
    margin-top: 16px;
    height: 44px;
    border-radius: 8px;
}

.popup__footer {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin-top: 24px;
    width: 100%;
}

.popup__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    max-width: 180px;
    height: 40px;
    padding: 0 24px;
    border-radius: 24px;
    background-color: #1368BC;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.57;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.popup__button-default {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    max-width: 180px;
    height: 40px;
    padding: 0 24px;
    border-radius: 24px;
    background-color: #F2F5F8;
    color: #666666;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.57;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.popup__button-dangger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    max-width: 180px;
    height: 40px;
    padding: 0 24px;
    border-radius: 24px;
    background-color: #E14337;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.57;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.popup__button-success {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    max-width: 180px;
    height: 40px;
    padding: 0 24px;
    border-radius: 24px;
    background-color: #39AC6D;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.57;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.popup__button-warning {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    max-width: 180px;
    height: 40px;
    padding: 0 24px;
    border-radius: 24px;
    background-color: #FC6B03;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.57;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}


    .popup__button:hover {
        background-color: #0f5496;
        color: #FFFFFF;
        text-decoration: none;
    }

.popup__button-default:hover {
    background-color: #dfdfdf;
    color: #666666;
    text-decoration: none;
}

.popup__button-dangger:hover {
    background-color: #c12f2a;
    color: #FFFFFF;
    text-decoration: none;
}

.popup__button-success:hover {
    background-color: #2f8e5a;
    color: #FFFFFF;
    text-decoration: none;
}

.popup__button-warning:hover {
    background-color: #e05b00;
    color: #FFFFFF;
    text-decoration: none;
}

.popup__button--secondary {
    background-color: #F2F5F8;
    color: #666666;
    border-color: #E0E0E0;
}

    .popup__button--secondary:hover {
        background-color: #e0e5e9;
        color: #333333;
    }

/* Test Results Page */
.page-ketquathi {
    background-color: #F9FAFB;
}

.test-result-container {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
}

.test-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1.5rem;
}

.progress-circle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.progress-circle {
    position: relative;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(#39AC6D calc(var(--progress-percent, 0) * 1%), #E6EAF0 0% 100%);
    transition: background 0.5s ease-in-out;
}

    .progress-circle::before {
        content: '';
        position: absolute;
        width: calc(100% - 24px);
        height: calc(100% - 24px);
        background: #FFFFFF;
        border-radius: 50%;
    }

.progress-circle-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.progress-circle-label {
    font-size: 16px;
    color: #000000;
}

.progress-circle-value {
    font-size: 30px;
    font-weight: 600;
    color: #333333;
}

.test-title {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 1.5rem;
}

.user-info-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 4rem; /* row-gap column-gap */
}

.user-info-labels .info-label,
.user-info-values .info-value {
    margin-bottom: 0.5rem;
}

.user-info-labels {
    font-weight: 500;
    color: #1A1A1A;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.user-info-values {
    font-weight: 400;
    color: #333333;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.test-details-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

    .test-details-table thead th {
        background-color: #F9FAFB;
        border-bottom: 1px solid #EBEFF5;
        border-top: 1px solid #EBEFF5;
        padding: 1rem 1.5rem;
        font-weight: 600;
        color: #666666;
        font-size: 12px;
        text-align: left;
    }

        .test-details-table thead th:first-child {
            border-left: 1px solid #EBEFF5;
            border-top-left-radius: 8px;
        }

        .test-details-table thead th:last-child {
            border-right: 1px solid #EBEFF5;
            border-top-right-radius: 8px;
        }

    .test-details-table tbody td {
        border-bottom: 1px solid #EBEFF5;
        padding: 1rem 1.5rem;
        vertical-align: middle;
        color: #333333;
        font-size: 14px;
        border-left: 1px solid #EBEFF5;
        border-right: 1px solid #EBEFF5;
    }

    .test-details-table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 8px;
    }

    .test-details-table tbody tr:last-child td:last-child {
        border-bottom-right-radius: 8px;
    }

    .test-details-table tbody td:not(:first-child) {
        border-left: 0;
    }

    .test-details-table tbody td:not(:last-child) {
        border-right: 0;
    }

    .test-details-table tbody tr td:last-of-type {
        border-right: 1px solid #ebeff5;
    }

.btn-view-result {
    background-color: #1368BC;
    border-color: #1368BC;
    border-radius: 24px;
    padding: 0.5rem 1rem;
    font-size: 14px;
    font-weight: 500;
}

.test-details-card {
    margin-bottom: 400px;
}

@media (max-width: 991.98px) {
    .test-card-title {
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 1rem;
    }

    .test-result-mobile-card {
        border: 1px solid #EBEFF5;
        border-radius: 8px;
        padding: 1rem;
        margin-top: 16px;
    }

    .mobile-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .mobile-card-title {
        font-size: 14px;
        font-weight: 600;
        color: #000000;
    }

    .mobile-card-status {
        font-size: 12px;
        color: #666666;
    }

    .mobile-card-score {
        font-size: 14px;
        color: #1368BC;
        background-color: #E5F4FE;
        padding: 0.5rem 0.75rem;
        border-radius: 100px;
    }

    .mobile-card-body .mobile-card-label {
        font-size: 16px;
        font-weight: 600;
        color: #000000;
        margin-bottom: 0.5rem;
    }

    .mobile-card-body .mobile-card-time {
        font-size: 14px;
        color: #333333;
    }

    .test-title {
        font-size: 14px;
        padding: 0 50px;
    }
    .test-details-card {
        margin-bottom: -150px;
    }
}

/* Search Page Specific Styles */
.search-page-content {
    padding-top: 250px; /* Adjust based on header height */
    padding-bottom: 60px;
    background: linear-gradient(180deg, #F0F3FF 0%, #D9ECFF 100%);
}

.search-bar-container {
    margin-bottom: 20px;
}

.search-form {
    position: relative;
    margin: 0 auto;
    background-color: #F9FAFB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

    .search-form .search-icon {
        width: 20px;
        height: 20px;
    }

    .search-form .form-control {
        background-color: transparent;
        border: none;
        height: 56px;
        padding-left: 12px;
        font-size: 16px;
        color: #333;
        flex: 1;
    }

        .search-form .form-control::placeholder {
            color: #999999;
        }

        .search-form .form-control:focus {
            box-shadow: none;
            background-color: transparent;
        }

    .search-form .btn-clear-search {
        background: none;
        border: none;
        padding: 0;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
    }

.search-filters {
    background: #fff;
    padding: 24px 24px 80px 24px;
    border-radius: 8px;
    box-shadow: 0px 10px 60px 0px rgba(38, 45, 118, 0.08);
}


    .search-filters .filter-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 24px;
        color: #090033;
    }

    .search-filters .filter-group .form-check {
        margin-bottom: 20px;
    }

    .search-filters .filter-group .form-check-label {
        margin-bottom: 0;
        font-size: 16px;
        color: #455073;
    }

    .search-filters .form-check-input:checked {
        background-color: #0076C6;
        border-color: #0076C6;
    }


.results-header {
    margin-bottom: 24px;
}

    .results-header p {
        font-size: 18px;
        color: #455073;
    }

.pagination {
    margin-top: 40px;
}

    .pagination .page-item .page-link {
        border-radius: 50% !important;
        margin: 0 5px;
        width: 44px;
        height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #455073;
        border: 1px solid #E9ECEF;
        background-color: #fff;
        font-weight: 500;
    }

    .pagination .page-item.active .page-link {
        background: #80BAE2;
        border-color: #80BAE2;
        color: #fff;
    }

    .pagination .page-item.disabled .page-link {
        color: #ADB5BD;
        background-color: #F8FAFC;
        border-color: #E9ECEF;
    }

    .pagination .page-item .page-link:hover {
        background-color: #E9ECEF;
        border-color: #DEE2E6;
    }

    .pagination .page-item.active .page-link:hover {
        background: #80BAE2;
        border-color: #80BAE2;
    }

.search-history {
    margin-bottom: 24px;
}

    .search-history h6 {
        font-size: 14px;
        font-weight: 400;
        color: #333333;
        margin-bottom: 16px;
    }

    .search-history .list-group-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 20px;
        font-weight: 500;
        color: #000000;
        border: none;
        background: transparent;
        padding: 6px 0;
        cursor: pointer;
    }

        .search-history .list-group-item:hover {
            color: #0076C6;
        }

    .search-history .history-item-content {
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .search-history .history-item-content .icon {
            width: 20px;
            height: 20px;
        }

    .search-history .btn-delete {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

        .search-history .btn-delete .icon {
            width: 20px;
            height: 20px;
            filter: invert(39%) sepia(8%) saturate(0%) hue-rotate(181deg) brightness(96%) contrast(84%);
        }

@media (max-width: 767.98px) {
    .search-history .list-group-item {
        font-size: 16px;
    }

    .search-page-content {
        padding-top: 120px;
    }

    .no-results-container .no-results-title {
        font-size: 20px !important;
    }

    .no-results-container .no-results-description {
        font-size: 14px !important;
    }

    .no-results-container .btn-back-home {
        font-weight: 400 !important;
        padding: 8px 16px !important;
        font-size: 14px !important;
    }

    .no-results-container {
        padding: 20px !important;
    }
}

/* Filter Tags */
.filter-tags-container {
    padding-bottom: 24px;
    border-bottom: 1px solid #EBEFF5;
    min-height: 50px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    background-color: #F0F8FF;
    border: 1px solid #1368BC;
    border-radius: 10px;
    padding: 4px 10px;
    font-size: 14px;
    color: #005AAB;
    font-weight: 600;
}

    .filter-tag .btn-remove-tag {
        background: none;
        border: none;
        padding: 0 0 0 8px;
        margin-left: 4px;
        color: #005AAB;
        opacity: 0.7;
        font-size: 20px;
        line-height: 1;
    }

        .filter-tag .btn-remove-tag:hover {
            opacity: 1;
        }

.btn-clear-all {
    background: none;
    border: none;
    color: #D92D20;
    font-weight: 600;
    font-size: 14px;
    padding: 0;
}

    .btn-clear-all:hover {
        color: #b92418;
    }

/* No Results Found Styles */
.no-results-container {
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    padding: 150px 0px;
}

    .no-results-container img {
        max-width: 220px;
        margin-bottom: 24px;
    }

    .no-results-container .no-results-title {
        font-size: 24px;
        font-weight: 600;
        color: #1A1A1A;
        margin-bottom: 8px;
    }

    .no-results-container .no-results-description {
        font-family: 'Manrope', sans-serif;
        font-size: 16px;
        color: #333333;
        max-width: 450px;
        margin: 0 auto 24px;
    }

    .no-results-container .btn-back-home {
        background-color: #1368BC;
        color: white;
        font-weight: 500;
        border-radius: 24px;
        padding: 10px 24px;
    }

/* Mobile-specific search styles */
.mobile-search-filter-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 0 0 16px;
}

    .mobile-search-filter-bar .search-form {
        flex-grow: 1;
        position: relative;
    }

    .mobile-search-filter-bar .form-control {
        padding-left: 40px;
        height: 48px;
        border-radius: 8px;
        color: #999999;
    }

    .mobile-search-filter-bar .search-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
    }

.btn-filter {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 1px solid #EBEFF5;
    border-radius: 8px;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-filter.active {
        background-color: #1368BC;
        border-color: #1368BC;
    }

        .btn-filter.active img {
            filter: brightness(0) invert(1);
        }

.mobile-search-filter-bar .search-form .btn-clear-search {
    background: none;
    border: none;
    padding: 0;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Bottom Sheet Modal for Filters */
.filter-modal.modal.fade .modal-dialog {
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.filter-modal.modal.show .modal-dialog {
    transform: translateY(0);
}

.filter-modal .modal-dialog {
    position: absolute;
    bottom: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.filter-modal .modal-content {
    border-radius: 16px 16px 0 0;
}

.modal-header .btn-close {
    position: absolute;
    right: 20px;
    top: 24px;
    font-size: 14px;
}

/* Contact Tooltip */
.contact-tooltip-container {
    position: fixed;
    bottom: 110px;
    right: 110px;
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, bottom 0.3s ease;
    transform: translateY(10px);
}

    .contact-tooltip-container.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.contact-tooltip {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 32, 77, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: max-content;
}

.contact-tooltip-item {
    display: flex;
    align-items: center;
    padding: 16px;
    text-decoration: none;
    color: #1A1A1A;
    transition: background-color 0.2s ease;
}

    .contact-tooltip-item:not(:last-child) {
        border-bottom: 1px solid #EBEFF5;
    }

    .contact-tooltip-item:hover {
        background-color: #f8f9fa;
    }

.contact-tooltip-icon {
    width: 70px;
    height: 40px;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-tooltip-text {
    font-size: 14px;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {

    .contact-tooltip-container {
        bottom: 85px; /* Adjust based on new button position */
        right: 15px;
        left: 15px;
        width: auto;
        display: flex;
        justify-content: flex-end;
    }

    .contact-tooltip {
        width: 100%;
        max-width: 300px;
    }
}

/* Privacy Policy Modal */
.privacy-policy-modal .modal-dialog {
    max-width: 1024px;
}

.privacy-policy-modal .modal-content {
    border-radius: 24px;
    border: none;
    padding: 24px;
}

.privacy-policy-modal .modal-header {
    border-bottom: none;
    padding: 0;
    justify-content: center;
}

.privacy-policy-modal .modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: #000000;
}

.privacy-policy-modal .modal-body {
    padding: 0;
    margin-bottom: 24px;
}

.privacy-policy-modal .privacy-policy-content {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    white-space: pre-line;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.privacy-policy-modal .modal-footer {
    border-top: none;
    padding: 0;
    justify-content: center;
}

.privacy-policy-modal .close-button-wrapper {
    width: 256px;
}

.privacy-policy-modal .btn-close-policy {
    background-color: #F2F5F8;
    color: #666666;
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    padding: 12px 24px;
    border: none;
    width: 100%;
}

    .privacy-policy-modal .btn-close-policy:hover {
        opacity: 0.9;
    }

/* Custom scrollbar for policy content */
.privacy-policy-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-policy-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.privacy-policy-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

    .privacy-policy-content::-webkit-scrollbar-thumb:hover {
        background: #aaa;
    }

.privacy-policy-modal .modal-dialog-scrollable .modal-content {
    margin-left: 5%;
    margin-right: 5%;
}


/*RESPONSIVE*/
@media (max-width: 768px) {
    .privacy-policy-modal .privacy-policy-content {
        font-size: 14px;
    }

    .privacy-policy-modal .modal-title {
        font-size: 16px;
    }

    .privacy-policy-modal .close-button-wrapper {
        width: 100%;
    }

    .privacy-policy-modal .btn-close-policy {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 568px) {
    .privacy-policy-modal .modal-dialog-scrollable .modal-content {
        margin-left: 2%;
        margin-right: 2%;
    }
}

/* 
    Initial state for elements that will be animated on scroll.
    They start off transparent, slightly scaled down, and moved down.
*/
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    /* 
    Final state when the element becomes visible.
    The element fades in, scales up, and moves up to its original position.
*/
    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

/* Hero Slider Animations - More "Cinematic" Version */

/* Add a container for the h1 to create a "reveal" effect */
/*.hero-content .h1-container {
    overflow: hidden;
}*/

/* Initial state for animatable elements within ANY slide */
.hero-slide-item .hero-content h1,
.hero-slide-item .hero-content p,
.hero-slide-item .hero-buttons .btn,
.hero-slide-item .hero-image {
    opacity: 0;
    will-change: transform, opacity; /* Performance hint */
    transform: translateY(100%); /* Default transform for reveal effect */
}

/* Specific initial transforms */
.hero-slide-item .hero-content p {
    transform: translateY(40px);
}

.hero-slide-item .hero-image {
    transform: scale(1.05); /* Start slightly zoomed in */
}

.hero-slide-item .hero-buttons .btn {
    transform: translateY(20px) scale(0.9);
}

/* Transition settings for all elements */
.hero-slide-item.active .hero-content h1,
.hero-slide-item.active .hero-content p,
.hero-slide-item.active .hero-buttons .btn,
.hero-slide-item.active .hero-image {
    opacity: 1;
    transform: none; /* Resets to neutral state */
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Staggered delay for hero content when slide is active */
.hero-slide-item.active .hero-image {
    transition-delay: 0.1s;
}

.hero-slide-item.active .hero-content h1 {
    transition-delay: 0.25s;
}

.hero-slide-item.active .hero-content p {
    transition-delay: 0.4s;
}

.hero-slide-item.active .hero-buttons .btn:nth-child(1) {
    transition-delay: 0.55s;
}

.hero-slide-item.active .hero-buttons .btn:nth-child(2) {
    transition-delay: 0.65s;
}

/* Instantly set testimonial cards to visible state after first interaction */
.testimonial-section.interacted .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
}


/* --- Reusable Animation Classes --- */
/* Text Reveal Animation */
.animate-text-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Button Pop Animation */
.animate-button-pop {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-text-reveal.is-visible,
.animate-button-pop.is-visible {
    opacity: 1;
    transform: none;
} 
