﻿:root {
    --primary-blue: #2d52c6;
    --primary-blue-dark: #062d79;
    --primary-blue-medium: #193f98;
    --page-background: #e7edf5;
    --surface: #ffffff;
    --text-primary: #151c2e;
    --text-secondary: #5f6a80;
    --border: #cdd5e1;
    --gridline: #d9dfe8;
    --desktop-gutter: clamp(34px, 3.2vw, 54px);
    --shadow: 0 8px 18px rgba(23, 39, 69, 0.13);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text-primary);
    background: var(--page-background);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

    body.navigation-open {
        overflow: hidden;
    }

button,
input,
select {
    font: inherit;
}

button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.page-shell {
    width: 100%;
    min-height: 100vh;
    background: var(--page-background);
}

.site-main {
    width: 100%;
    min-height: 610px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    color: #ffffff;
    background: #052f5f;
    border-bottom: 5px solid #c4c9d1;
}

.site-header__content {
    display: grid;
    grid-template-columns: minmax(70px, 1fr) auto minmax(70px, 1fr);
    width: 100%;
    min-height: 50px;
    padding-inline: var(--desktop-gutter);
    align-items: center;
}

.site-logo {
    grid-column: 1;
    justify-self: start;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 50%;
    background: #ffffff;
    text-decoration: none;
}

    .site-logo img {
        width: 58px;
        height: 58px;
        object-fit: cover;
        border-radius: 50%;
    }

.primary-nav {
    grid-column: 2;
    display: flex;
    min-width: 0;
    align-items: stretch;
    justify-content: center;
    justify-self: center;
    gap: clamp(34px, 4vw, 72px);
}

.primary-nav__link {
    position: relative;
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.96);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

    .primary-nav__link::after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 4px;
        content: "";
        background: #ffffff;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.18s ease;
    }

    .primary-nav__link:hover::after,
    .primary-nav__link:focus-visible::after,
    .primary-nav__link--active::after {
        transform: scaleX(1);
    }

.primary-nav__link--active {
    font-weight: 700;
}

.menu-toggle {
    grid-column: 3;
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    justify-self: end;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        margin: 5px 0;
        background: #ffffff;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

.header-separator {
    width: 100%;
    height: 49px;
    background: #dfe5ed;
}

/* Hero version badge */
.hero-version-badge {
    display: inline-flex;
    min-height: 32px;
    margin-bottom: 34px;
    padding: 5px 16px;
    align-items: center;
    gap: 8px;
    color: #38445a;
    background: #ffffff;
    border: 1px solid #c9d1de;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
    white-space: nowrap;
}

.hero-version-badge__icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    color: #17459c;
}

    .hero-version-badge__icon svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* Hero */
.hero-section {
    width: 100%;
    background: var(--surface);
}

.hero-section__content {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    width: 100%;
    min-height: 505px;
    padding: var(--desktop-gutter);
    align-items: center;
    gap: clamp(44px, 5vw, 78px);
}

.hero-copy {
    /*max-width: 565px;*/
}

    .hero-copy h1 {
        margin: 0 0 38px;
        color: var(--text-primary);
        font-size: clamp(31px, 2.4vw, 42px);
        font-weight: 760;
        line-height: 1.35;
        letter-spacing: -0.025em;
    }

    .hero-copy p {
        /*max-width: 560px;*/
        margin: 0;
        color: #4f596c;
        font-size: clamp(14px, 1.2vw, 17px);
        line-height: 1.65;
    }

.hero-image {
    margin: 0;
}

    .hero-image img {
        width: 100%;
        aspect-ratio: 500 / 305;
        object-fit: cover;
        border: 1px solid #cbd3df;
        box-shadow: 0 4px 0 rgba(20, 35, 62, 0.18);
    }

/* Feature and statistics background */
.dashboard-background {
    width: 100%;
    background: var(--page-background);
}

.dashboard-background__content {
    width: 100%;
    padding: 28px 20px 20px;
}

.feature-grid {
    display: grid;
    width: calc(100% - 44px);
    margin: 0 auto 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.feature-card {
    display: flex;
    min-height: 120px;
    padding: 14px;
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
    justify-content: flex-start;
    background: #ffffff;
    border: 1px solid #c6cfdd;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(26, 42, 69, 0.03);
}

.feature-card__icon {
    display: flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #173f99;
    border-radius: 3px;
}

    .feature-card__icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.feature-card__icon--filled svg {
    fill: currentColor;
    stroke: none;
}

.feature-card__body {
    width: 100%;
    padding-top: 0;
}

    .feature-card__body h2 {
        margin: 0 0 5px;
        color: #20283a;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
    }

    .feature-card__body p {
        margin: 0;
        color: #647086;
        font-size: 12px;
        line-height: 1.45;
    }

        .feature-card__body p:last-child {
            margin-bottom: 0;
        }

    .feature-card__body strong {
        color: #4b5870;
        font-weight: 700;
    }

/* Statistics card */
.statistics-card {
    width: calc(100% - 8px);
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border-radius: 19px;
    box-shadow: var(--shadow);
}

.statistics-tabs {
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: stretch;
    border-bottom: 1px solid #e0e5ec;
    overflow-x: auto;
    scrollbar-width: thin;
}

.statistics-tab {
    display: inline-flex;
    min-width: 0;
    padding: 0 28px;
    align-items: center;
    gap: 12px;
    color: #5c6578;
    background: #ffffff;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
}

    .statistics-tab:first-child {
        min-width: 380px;
    }

    .statistics-tab svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.statistics-tab--active {
    color: #ffffff;
    background: #07357f;
}

.statistics-card__body {
    padding: 22px 40px 40px;
}

.statistics-heading h2 {
    margin: 0;
    color: #192133;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.statistics-heading p {
    margin: 2px 0 14px;
    color: #657086;
    font-size: 13px;
}

.statistics-filter {
    display: grid;
    margin-top: 22px;
    grid-template-columns: minmax(280px, 1fr) minmax(410px, 1.45fr) minmax(190px, 0.55fr) auto;
    gap: 26px;
    align-items: end;
}

.chart-type-filter {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 10px 18px;
    border: 0;
}

    .chart-type-filter legend,
    .filter-field > label {
        display: block;
        width: 100%;
        margin-bottom: 8px;
        color: #38445a;
        font-size: 12px;
        font-weight: 600;
    }

    .chart-type-filter label {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #616d82;
        font-size: 13px;
        cursor: pointer;
    }

    .chart-type-filter input {
        width: 16px;
        height: 16px;
        margin: 0;
        accent-color: #244ca7;
    }

.filter-field {
    min-width: 0;
}

.date-range {
    display: grid;
    min-height: 43px;
    padding: 0 12px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 24px;
    align-items: center;
    gap: 8px;
    border: 1px solid #ccd4e0;
    border-radius: 5px;
    background: #ffffff;
}

    .date-range input {
        width: 100%;
        min-width: 0;
        height: 39px;
        padding: 0;
        color: #3c465b;
        background: transparent;
        border: 0;
        outline: 0;
        font-size: 13px;
    }

    .date-range > span {
        color: #7d8799;
    }

    .date-range svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #718097;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.filter-field select {
    width: 100%;
    height: 43px;
    padding: 0 38px 0 13px;
    color: #4a5569;
    background: #ffffff;
    border: 1px solid #ccd4e0;
    border-radius: 5px;
    outline: none;
    font-size: 13px;
}

    .filter-field select:focus,
    .date-range:focus-within {
        border-color: #3159bd;
        box-shadow: 0 0 0 3px rgba(49, 89, 189, 0.13);
    }

.search-button {
    min-width: 112px;
    height: 43px;
    padding: 0 20px;
    color: #ffffff;
    background: #244597;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.18s ease, transform 0.18s ease;
}

    .search-button:hover,
    .search-button:focus-visible {
        background: #17387f;
    }

    .search-button:active {
        transform: translateY(1px);
    }

/* CSS bar chart */
.chart-scroll {
    width: 100%;
    margin-top: 14px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.bar-chart {
    display: grid;
    width: 100%;
    min-width: 900px;
    height: 650px;
    grid-template-columns: 38px minmax(0, 1fr);
}

.bar-chart__axis {
    position: relative;
    height: calc(100% - 40px);
}

    .bar-chart__axis span {
        position: absolute;
        top: var(--axis-position);
        right: 10px;
        color: #6d778a;
        font-size: 12px;
        transform: translateY(-50%);
    }

.bar-chart__plot {
    position: relative;
    height: 100%;
    min-width: 0;
}

.bar-chart__gridline {
    position: absolute;
    top: var(--line-position);
    right: 0;
    left: 0;
    height: 1px;
    border-top: 1px dashed var(--gridline);
}

.bar-chart__gridline--baseline {
    border-top-style: solid;
    border-top-color: #98a2b2;
}

.bar-chart__bars {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(42px, 1fr));
    gap: clamp(14px, 1.6vw, 28px);
}

.bar-chart__item {
    display: grid;
    min-width: 0;
    height: 100%;
    grid-template-rows: minmax(0, 1fr) 40px;
}

.bar-chart__bar-area {
    display: flex;
    min-height: 0;
    align-items: flex-end;
    justify-content: center;
}

.bar-chart__stack {
    position: relative;
    width: min(52px, 68%);
    height: var(--bar-height);
    min-height: 2px;
}

.bar-chart__value {
    position: absolute;
    right: 50%;
    bottom: calc(100% + 8px);
    color: #101010;
    font-size: 14px;
    font-weight: 700;
    transform: translateX(50%);
}

.bar-chart__bar {
    width: 100%;
    height: 100%;
    background: #062b76;
    border-radius: 2px 2px 0 0;
}

.bar-chart__label {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #283246;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
}

/* Footer */
.site-footer {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #d2d9e3;
}

.site-footer__content {
    display: flex;
    min-height: 74px;
    padding-inline: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-footer p {
    margin: 0;
    color: #202a3c;
    font-size: 13px;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

    .footer-nav a {
        color: #445169;
        font-size: 11px;
        text-decoration: none;
    }

        .footer-nav a:hover,
        .footer-nav a:focus-visible {
            color: #1746a5;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

/* Secondary pages */
.content-page {
    min-height: 640px;
    padding: 60px var(--desktop-gutter);
    background: var(--page-background);
}

.content-page__card {
    min-height: 380px;
    padding: 48px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

    .content-page__card h1 {
        margin: 0 0 16px;
    }

    .content-page__card p {
        color: var(--text-secondary);
    }

    .content-page__card a {
        display: inline-flex;
        margin-top: 20px;
        color: #214aab;
        font-weight: 650;
        text-underline-offset: 4px;
    }

/* Desktop and large tablet */
@media (max-width: 1199.98px) {
    :root {
        --desktop-gutter: 32px;
    }

    .site-header__content {
        grid-template-columns: minmax(58px, 1fr) auto minmax(58px, 1fr);
    }

    .primary-nav {
        gap: 28px;
    }

    .primary-nav__link {
        font-size: 13px;
    }

    .hero-section__content {
        min-height: 430px;
        gap: 36px;
    }

    .hero-copy h1 {
        font-size: 31px;
    }

    .hero-copy p {
        font-size: 14px;
    }

    .dashboard-background__content {
        padding-top: 64px;
    }

    .feature-grid {
        width: calc(100% - 26px);
        gap: 16px;
    }

    .feature-card {
        min-height: 120px;
        padding: 14px;
        gap: 9px;
    }

    .feature-card__icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .feature-card__body h2 {
        font-size: 14px;
    }

    .feature-card__body p {
        font-size: 12px;
    }

    .statistics-filter {
        grid-template-columns: minmax(230px, 1fr) minmax(310px, 1.3fr) minmax(165px, 0.7fr) auto;
        gap: 14px;
    }

    .statistics-card__body {
        padding-inline: 28px;
    }

    .bar-chart {
        height: 570px;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .primary-nav {
        gap: 18px;
    }

    .primary-nav__link {
        font-size: 11px;
    }

    .site-logo,
    .site-logo img {
        width: 50px;
        height: 50px;
    }

    .hero-section__content {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        min-height: 380px;
        padding-block: 34px 46px;
        gap: 28px;
    }

    .hero-version-badge {
        margin-bottom: 24px;
    }

    .hero-copy h1 {
        margin-bottom: 24px;
        font-size: 26px;
    }

    .hero-copy p {
        font-size: 13px;
    }

    .dashboard-background__content {
        padding-top: 48px;
    }

    .feature-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-card__icon {
        margin-bottom: 0;
    }

    .statistics-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-button {
        width: 100%;
    }

    .bar-chart {
        min-width: 840px;
        height: 520px;
    }
}

/* Small tablet and mobile */
@media (max-width: 767.98px) {
    :root {
        --desktop-gutter: 18px;
    }

    .site-header {
        border-bottom-width: 4px;
    }

    .site-header__content {
        min-height: 68px;
        grid-template-columns: 1fr auto;
    }

    .site-logo {
        grid-column: 1;
    }

        .site-logo,
        .site-logo img {
            width: 46px;
            height: 46px;
        }

    .menu-toggle {
        position: relative;
        z-index: 130;
        grid-column: 2;
        display: block;
    }

    .primary-nav {
        position: fixed;
        z-index: 120;
        top: 72px;
        right: 0;
        bottom: 0;
        left: auto;
        /* Ghi đè các thuộc tính Grid của desktop để menu mobile
           không bị co lại theo chiều rộng nội dung. */
        grid-column: auto;
        justify-self: auto;
        display: flex;
        width: min(340px, 86vw);
        min-width: 280px;
        max-width: 100vw;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        overflow-x: hidden;
        overflow-y: auto;
        background: #2149b3;
        box-shadow: -10px 0 24px rgba(15, 31, 69, 0.22);
        /* Ẩn hoàn toàn khi menu đóng. */
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translate3d(110%, 0, 0);
        transition: transform 0.24s ease, opacity 0.18s ease, visibility 0s linear 0.24s;
    }

    .primary-nav--open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
        transition: transform 0.24s ease, opacity 0.18s ease, visibility 0s linear 0s;
    }

    .site-header::after {
        position: fixed;
        z-index: 110;
        top: 72px;
        right: 0;
        bottom: 0;
        left: 0;
        content: "";
        background: rgba(12, 24, 52, 0.38);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    }

    body.navigation-open .site-header::after {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 0.2s ease, visibility 0s linear 0s;
    }

    .primary-nav__link {
        min-height: 58px;
        padding-inline: 12px;
        justify-content: flex-start;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        font-size: 15px;
        white-space: normal;
    }

        .primary-nav__link::after {
            right: auto;
            width: 68px;
        }

    .header-separator {
        height: 24px;
    }

    .hero-section__content {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-block: 34px 42px;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-version-badge {
        min-height: 30px;
        margin-bottom: 22px;
        padding-inline: 13px;
        font-size: 11px;
    }

    .hero-copy h1 {
        font-size: clamp(25px, 7vw, 35px);
    }

    .hero-copy p {
        max-width: none;
        font-size: 14px;
    }

    .dashboard-background__content {
        padding: 36px 12px 14px;
    }

    .feature-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .feature-card {
        display: flex;
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-card__icon {
        margin-bottom: 0;
    }

    .statistics-card {
        width: 100%;
    }

    .statistics-tab {
        min-width: 270px;
        padding-inline: 18px;
        font-size: 11px;
    }

        .statistics-tab:first-child {
            min-width: 300px;
        }

    .statistics-card__body {
        padding: 27px 16px 28px;
    }

    .statistics-heading h2 {
        font-size: 19px;
    }

    .statistics-filter {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .chart-type-filter {
        gap: 10px 16px;
    }

    .bar-chart {
        min-width: 800px;
        height: 460px;
    }

    .site-footer__content {
        padding: 20px 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 14px 22px;
    }

    .content-page {
        padding: 28px 16px;
    }

    .content-page__card {
        min-height: 280px;
        padding: 30px 22px;
    }
}

@media (max-width: 479.98px) {
    .hero-copy h1 br {
        display: none;
    }

    .date-range {
        padding-block: 8px;
        grid-template-columns: 1fr;
    }

        .date-range > span,
        .date-range > svg {
            display: none;
        }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   FEATURE CARDS – COMPACT VERTICAL LAYOUT
   Luôn giữ icon phía trên và nội dung phía dưới ở mọi màn hình.
   ========================================================= */
.feature-grid .feature-card {
    display: flex;
    min-height: 120px;
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 9px;
}

.feature-grid .feature-card__icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin: 0;
}

    .feature-grid .feature-card__icon svg {
        width: 18px;
        height: 18px;
    }

.feature-grid .feature-card__body {
    width: 100%;
    padding: 0;
}

    .feature-grid .feature-card__body h2 {
        margin: 0 0 5px;
        font-size: 14px;
        line-height: 1.35;
    }

    .feature-grid .feature-card__body p {
        margin: 0;
        font-size: 12px;
        line-height: 1.45;
    }

@media (max-width: 767.98px) {
    .feature-grid .feature-card {
        min-height: 120px;
    }
}
header a:hover {
    color: inherit !important;
    text-decoration: none;
}

/*MENU*/

.header {
    width: 100%;
    position: relative;
    background-color: transparent;
    z-index: 50;
    height: 136px;
    padding-left: 0px;
}

.header-top {
    background: url(/images/bg-header-top-new.png) center right / 100% 100% no-repeat #115eab;
    padding: 12px 0;
}

.header-top-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top-main-logo {
    display: flex;
    align-items: center;
}

    .header-top-main-logo img {
        width: 112px;
        height: 112px;
    }

    .header-top-main-logo h3 {
        font-style: normal;
        font-weight: 800;
        font-size: 16px;
        line-height: 19px;
        color: #fff;
        margin: 0 0 8px 8px;
    }

    .header-top-main-logo h3, .news-detail-header, .news-other-header, .question, banner .accordion-button {
        font-family: SarabunBold;
    }

    .cta-button, .header-top-main-logo h3, .logo-right b, .logo-right > label {
        text-transform: uppercase;
    }

        .breadcrumb-section > .hr-contact:last-child, .header-top-main-logo h3:last-child, p {
            margin-bottom: 0;
        }



/* =========================================================
   FEATURE CARDS - INFORMATION SECTION
   ========================================================= */

.feature-grid {
    display: grid;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

    /* Card */
    .feature-grid .feature-card {
        position: relative;
        display: flex;
        width: 100%;
        min-width: 0;
        min-height: 376px;
        padding: 25px 24px 18px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        overflow: hidden;
        background: #ffffff;
        border: 1px solid #c8d0de;
        border-radius: 7px;
        box-shadow: 0 1px 3px rgba(27, 43, 70, 0.05);
        transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

        /* Hover viền xanh */
        .feature-grid .feature-card:hover,
        .feature-grid .feature-card:focus-within {
            border-color: #17469f;
            box-shadow: 0 0 0 2px rgba(23, 70, 159, 0.18), 0 8px 18px rgba(27, 43, 70, 0.08);
            transform: translateY(-2px);
        }

    /* Icon */
    .feature-grid .feature-card__icon {
        display: inline-flex;
        width: 38px;
        height: 38px;
        margin: 0 0 18px;
        flex: 0 0 38px;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        background: #214494;
        border-radius: 3px;
    }

        .feature-grid .feature-card__icon i {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            line-height: 1;
        }

    /* Nội dung chính */
    .feature-grid .feature-card__content {
        display: flex;
        width: 100%;
        min-width: 0;
        flex: 1 1 auto;
        flex-direction: column;
    }

    /* Dòng tiêu đề nhỏ màu xanh */
    .feature-grid .feature-card__category {
        display: block;
        margin-bottom: 13px;
        color: #163e8f;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.35;
        letter-spacing: 0.01em;
        text-transform: uppercase;
    }

    /* Tiêu đề chính */
    .feature-grid .feature-card h2 {
        margin: 0 0 14px;
        color: #171c27;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -0.015em;
    }

    /* Phần mô tả */
    .feature-grid .feature-card__description {
        color: #5b606a;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.55;
    }

        .feature-grid .feature-card__description p {
            margin: 0 0 16px;
        }

            .feature-grid .feature-card__description p:last-child {
                margin-bottom: 0;
            }

        .feature-grid .feature-card__description strong {
            color: #262b35;
            font-weight: 700;
        }

    /* Footer luôn nằm dưới cùng */
    .feature-grid .feature-card__footer {
        display: flex;
        width: 100%;
        min-height: 37px;
        margin-top: auto;
        padding-top: 18px;
        align-items: flex-end;
    }

    /* Đường kẻ dưới card */
    .feature-grid .feature-card__divider {
        display: block;
        width: 100%;
        height: 1px;
        background: #d3d9e3;
    }

    /* Nút truy cập */
    .feature-grid .feature-card__button {
        display: inline-flex;
        width: 100%;
        min-height: 36px;
        padding: 8px 16px;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: #ffffff;
        background: #062f7f;
        border: 1px solid #062f7f;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

        .feature-grid .feature-card__button i {
            font-size: 17px;
            line-height: 1;
        }

        .feature-grid .feature-card__button:hover,
        .feature-grid .feature-card__button:focus-visible {
            color: #ffffff;
            background: #174da9;
            border-color: #174da9;
            text-decoration: none;
            box-shadow: 0 4px 10px rgba(6, 47, 127, 0.22);
        }

        .feature-grid .feature-card__button:active {
            transform: translateY(1px);
        }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet: 2 cột */
@media (max-width: 991.98px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

        .feature-grid .feature-card {
            min-height: 360px;
        }
}

/* Mobile: 1 cột */
@media (max-width: 767.98px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

        .feature-grid .feature-card {
            min-height: 0;
            padding: 22px 20px 18px;
        }

            .feature-grid .feature-card h2 {
                font-size: 19px;
            }

        .feature-grid .feature-card__footer {
            margin-top: 25px;
        }
}

/* Điện thoại nhỏ */
@media (max-width: 479.98px) {
    .feature-grid .feature-card {
        padding: 20px 17px 16px;
    }

    .feature-grid .feature-card__icon {
        width: 36px;
        height: 36px;
        margin-bottom: 16px;
        flex-basis: 36px;
    }

    .feature-grid .feature-card__category {
        font-size: 11px;
    }

    .feature-grid .feature-card h2 {
        font-size: 18px;
    }

    .feature-grid .feature-card__description {
        font-size: 13px;
    }
}

/* Khung chứa biểu đồ */
.chart-card-body {
    padding: 20px 24px;
}

.chart-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 420px;
    margin: 0 auto;
}

    /* Canvas chiếm đúng kích thước khung cha */
    .chart-container canvas {
        display: block;
        width: 100% !important;
        height: 100% !important;
    }

/* Tablet */
@media (max-width: 991.98px) {
    .chart-container {
        height: 360px;
    }
}

/* Điện thoại */
@media (max-width: 767.98px) {
    .chart-card-body {
        padding: 16px 10px;
    }

    .chart-container {
        height: 320px;
    }
}

/* Điện thoại nhỏ */
@media (max-width: 479.98px) {
    .chart-container {
        height: 280px;
    }
}


/* Khối chứa biểu đồ nhà cung cấp CA */
.chart-card-body {
    padding: 20px 24px 24px;
}

.chart-container--provider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 400px;
    margin: 0 auto;
}

    
    /*
 Không ép width/height trực tiếp cho canvas bằng CSS.
 Chart.js sẽ tự xử lý kích thước và độ nét.
*/
    .chart-container--provider canvas {
        display: block;
    }

/* Tablet */
@media (max-width: 991.98px) {
    .chart-container--provider {
        height: 360px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .chart-card-body {
        padding: 16px 10px;
    }

    .chart-container--provider {
        height: 320px;
    }
}

/* Điện thoại nhỏ */
@media (max-width: 479.98px) {
    .chart-container--provider {
        height: 285px;
    }
}


/* 2. Màn hình nhỏ - Small (Điện thoại ngang: từ 576px trở lên) */
@media (min-width: 576px) {
    .hero-copy h1 {
        font-size: clamp(28px, 2.1vw, 42px);
    }
}

/* 3. Màn hình trung bình - Medium (Máy tính bảng: từ 768px trở lên) */
@media (min-width: 768px) {
    .hero-copy h1 {
        font-size: clamp(16px, 2.1vw, 24px);
    }
}

/* 4. Màn hình lớn - Large (Máy tính xách tay: từ 992px trở lên) */
@media (min-width: 992px) {
    .hero-copy h1 {
        font-size: clamp(20px, 2.1vw, 29px);
    }
}

/* 5. Màn hình rất lớn - Extra Large (Máy tính để bàn: từ 1200px trở lên) */
@media (min-width: 1200px) {
    .hero-copy h1 {
        font-size: clamp(24px, 2.0vw, 42px);
    }
}

/* 6. Màn hình cực lớn - Extra Extra Large (Màn hình PC lớn: từ 1400px trở lên) */
@media (min-width: 1400px) {
    .hero-copy h1 {
        font-size: clamp(28px, 2.0vw, 42px);
    }
}






