/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #07142b;
}

body {
    margin: 0 !important;
    background: #07142b !important;

    font-family: Arial, Helvetica, sans-serif !important;

    color: #ffffff !important;

    line-height: 1.7;

    overflow-x: hidden;
}

/* =========================================================
   BIẾN CHUNG
========================================================= */

:root {
    --blue: #1E50A2;
    --blue-dark: #0b2454;
    --blue-deep: #061735;
    --blue-light: #2d68c7;

    --red: #ff5858;
    --red-dark: #d93636;
    --red-light: #ff7676;

    --white: #ffffff;
    --text: #ffffff;
    --text-soft: #dbe7ff;

    --border: rgba(255, 255, 255, 0.18);
    --border-red: rgba(255, 88, 88, 0.7);

    --shadow:
        0 0 25px rgba(255, 88, 88, 0.12);
}

/* =========================================================
   KHUNG WEBSITE
========================================================= */

.container {
    position: relative;
    z-index: 1;

    width: min(95%, 1000px);

    margin: 25px auto;
    padding: 12px;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.96),
            rgba(6, 23, 53, 0.98)
        );

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;

    color: #ffffff;

    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(30, 80, 162, 0.12);
}

/* =========================================================
   ẢNH NỀN / BANNER
========================================================= */

.image_background {
    width: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: var(--blue-dark);

    position: relative;
}

.image_background::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 4px;

    background: var(--red);

    box-shadow:
        0 0 10px var(--red),
        0 0 20px var(--red);
}

.image_background img {
    width: 100%;
    height: auto;

    display: block;

    border-radius: 12px;

    object-fit: cover;
}

/* =========================================================
   HEADER
========================================================= */

.header_info {
    display: flex !important;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin: 20px 0 25px;
    padding: 18px;

    flex-wrap: wrap;

    background:
        linear-gradient(
            135deg,
            rgba(11, 36, 84, 0.97),
            rgba(18, 57, 122, 0.88)
        );

    border: 1px solid rgba(255, 88, 88, 0.38) !important;
    border-radius: 14px;

    box-shadow:
        0 0 20px rgba(255, 88, 88, 0.08);

    position: relative;
}

.header_info::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 2px;

    background: var(--red);

    box-shadow:
        0 0 8px var(--red),
        0 0 18px var(--red);

    border-radius: 14px 14px 0 0;
}

/* =========================================================
   LEFT INFO
========================================================= */

.left_info {
    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 0;

    color: #ffffff !important;
}

.header_profile {
    width: 105px;
    height: 105px;

    padding: 0;
    margin: 0;

    border: 3px solid var(--red);

    border-radius: 50%;

    overflow: hidden;

    flex-shrink: 0;

    background: var(--blue-dark);

    box-shadow:
        0 0 12px rgba(255, 88, 88, 0.4);
}

.header_profile img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.left_info h1,
.header_info h1 {
    margin: 0;

    color: #ffffff !important;

    font-size: clamp(23px, 4vw, 36px);

    line-height: 1.25;

    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.12);
}

.left_info h1 strong {
    font-weight: 800;
}

/* =========================================================
   SOCIAL
========================================================= */

.right_info {
    display: flex !important;

    gap: 10px;

    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    margin-left: auto;
}

.right_info a {
    display: block;

    text-decoration: none !important;
}

.logo_social {
    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border: 1px solid rgba(255, 88, 88, 0.45);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.04);

    overflow: hidden;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.logo_social img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    opacity: 1;

    filter: none !important;
}

.right_info a:hover .logo_social {
    transform: translateY(-4px);

    background:
        rgba(255, 88, 88, 0.13);

    box-shadow:
        0 0 10px rgba(255, 88, 88, 0.45),
        0 0 18px rgba(255, 88, 88, 0.12);
}

/* =========================================================
   BIO BOX
========================================================= */

.bio_box {
    width: 100%;

    margin-top: 20px;
    padding: 0;

    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.95),
            rgba(7, 20, 43, 0.98)
        ) !important;

    border: 2px solid var(--red) !important;

    border-radius: 14px;

    box-shadow:
        0 0 25px rgba(255, 88, 88, 0.12),
        inset 0 0 25px rgba(0, 0, 0, 0.15);

    position: relative;

    overflow: hidden;
}

/* =========================================================
   THANH TRANG TRÍ
========================================================= */

.bio_box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background: var(--red);

    box-shadow:
        0 0 10px var(--red),
        0 0 22px var(--red);

    z-index: 2;
}

/* =========================================================
   TLG SHELL
========================================================= */

.tlg-future {
    width: 100%;

    color: #ffffff !important;

    background: transparent !important;

    position: relative;
}

.tlg-shell {
    width: 100%;

    padding: 25px;

    color: #ffffff !important;
}

/* =========================================================
   ÉP CHỮ TRẮNG
========================================================= */

.bio_box,
.bio_box *,
.tlg-future,
.tlg-future *,
.tlg-shell,
.tlg-shell * {
    color: #ffffff !important;
}

/* =========================================================
   HEADING H2
========================================================= */

.bio_box h2 {
    margin: 30px 0 18px;

    padding: 12px 16px;

    color: #ffffff !important;

    font-size: 25px;

    line-height: 1.4;

    font-weight: 800;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.01)
        );

    border-left: 5px solid var(--red);

    border-bottom:
        1px solid rgba(255, 88, 88, 0.35);

    border-radius: 6px;
}

.bio_box h2:first-child {
    margin-top: 0;
}

/* =========================================================
   HEADING H3
========================================================= */

.bio_box h3 {
    margin: 24px 0 12px;

    padding: 9px 13px;

    color: #ffffff !important;

    font-size: 20px;

    line-height: 1.4;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            rgba(18, 56, 117, 0.98),
            rgba(11, 36, 84, 0.98)
        );

    border-left: 4px solid var(--red);

    border-radius: 6px;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   PARAGRAPH
========================================================= */

.bio_box p {
    margin: 0 0 15px;

    color: #ffffff !important;

    font-size: 16px;

    line-height: 1.8;

    text-align: justify;
}

.bio_box p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   STRONG / BOLD
========================================================= */

.bio_box strong,
.bio_box b {
    color: #ffffff !important;

    font-weight: 700;
}

/* =========================================================
   EM
========================================================= */

.bio_box em {
    color: #ffffff !important;

    font-style: italic;

    opacity: 0.95;
}

/* =========================================================
   UL / OL
========================================================= */

.bio_box ul,
.bio_box ol {
    margin: 17px 0;

    padding: 17px 20px 17px 42px;

    color: #ffffff !important;

    background:
        rgba(255, 255, 255, 0.055);

    border:
        1px solid rgba(255, 255, 255, 0.15);

    border-radius: 10px;

    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, 0.08);
}

.bio_box li {
    margin-bottom: 8px;

    color: #ffffff !important;

    line-height: 1.7;
}

.bio_box li:last-child {
    margin-bottom: 0;
}

.bio_box li::marker {
    color: var(--red) !important;

    font-weight: 700;
}

/* =========================================================
   LINKS
========================================================= */

.bio_box a {
    color: #ffffff !important;

    font-weight: 700;

    text-decoration: underline;

    text-decoration-color: var(--red);

    text-decoration-thickness: 2px;

    text-underline-offset: 3px;

    transition:
        color 0.2s ease,
        text-shadow 0.2s ease;
}

.bio_box a:hover {
    color: #ffe1e1 !important;

    text-shadow:
        0 0 8px rgba(255, 88, 88, 0.45);
}

/* =========================================================
   HR
========================================================= */

.bio_box hr {
    height: 1px;

    border: 0;

    margin: 30px 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--red),
            transparent
        );

    box-shadow:
        0 0 8px rgba(255, 88, 88, 0.4);
}

/* =========================================================
   CONTACT BOX
========================================================= */

.contact_box {
    margin: 20px 0 25px;

    padding: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(18, 56, 117, 0.98),
            rgba(11, 36, 84, 0.98)
        );

    border: 1px solid rgba(255, 88, 88, 0.4);

    border-left: 5px solid var(--red);

    border-radius: 10px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.15);
}

.contact_box p {
    margin: 8px 0;

    text-align: left;
}

.contact_box p strong {
    color: #ffffff !important;
}

/* =========================================================
   THANH LOAN GO
========================================================= */

.thanh-loan-go {
    margin-top: 25px;

    padding: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(30, 80, 162, 0.78),
            rgba(11, 36, 84, 0.98)
        );

    border:
        1px solid rgba(255, 88, 88, 0.5);

    border-radius: 12px;

    box-shadow:
        0 0 20px rgba(255, 88, 88, 0.08);
}

.thanh-loan-go h2 {
    margin-top: 0;

    text-align: center;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent
        );

    border-left: 0;

    border-bottom:
        2px solid rgba(255, 88, 88, 0.5);

    border-radius: 0;
}

.thanh-loan-go p {
    text-align: left;
}

/* =========================================================
   BLOCKQUOTE
   Dùng khi HTML có FAQ dạng quote
========================================================= */

.bio_box blockquote {
    margin: 20px 0;

    padding: 16px 18px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #123875,
            #0b2454
        );

    border-left: 5px solid var(--red);

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    border-right:
        1px solid rgba(255, 255, 255, 0.12);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 8px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.18);
}

.bio_box blockquote p {
    margin: 0;

    color: #ffffff !important;
}

/* =========================================================
   TABLE
========================================================= */

.bio_box table {
    width: 100%;

    margin: 20px 0;

    border-collapse: collapse;

    background: #0b2454 !important;

    color: #ffffff !important;

    border: 2px solid var(--red);

    border-radius: 10px;

    overflow: hidden;
}

.bio_box th,
.bio_box td {
    padding: 12px;

    border:
        1px solid rgba(255, 255, 255, 0.18);

    color: #ffffff !important;

    background: #0b2454 !important;

    vertical-align: middle;
}

.bio_box th {
    background: #123875 !important;

    color: #ffffff !important;

    text-align: center;

    font-weight: 700;
}

.bio_box tbody tr:nth-child(even) td {
    background: #102e65 !important;
}

.bio_box tbody tr:hover td {
    background: #173d80 !important;
}

/* =========================================================
   ẢNH TRONG NỘI DUNG
========================================================= */

.bio_box img {
    display: block;

    max-width: 100%;

    height: auto;

    margin: 15px auto;

    border-radius: 10px;
}

/* =========================================================
   SỐ ĐIỆN THOẠI
========================================================= */

.bio_box a[href^="tel:"] {
    display: inline-block;

    color: #ffffff !important;

    font-size: 18px;

    font-weight: 800;
}

/* =========================================================
   TẠO HIỆU ỨNG NÚT ZALO
========================================================= */

.bio_box a[href*="zalo.me"] {
    display: inline-block;

    word-break: break-word;
}

/* =========================================================
   FAQ
========================================================= */

.bio_box h3 + p {
    position: relative;
}

/* =========================================================
   MOBILE TABLE
========================================================= */

@media (max-width: 768px) {

    .bio_box table {
        display: block;

        width: 100%;

        overflow-x: auto;

        white-space: nowrap;

        -webkit-overflow-scrolling: touch;
    }

    .bio_box table thead,
    .bio_box table tbody {
        display: table;

        width: 100%;
    }

}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .container {
        width: 95%;

        margin: 15px auto;

        padding: 8px;
    }

    .header_info {
        flex-direction: column;

        justify-content: center;

        text-align: center;

        padding: 15px;
    }

    .left_info {
        flex-direction: column;

        justify-content: center;

        width: 100%;
    }

    .right_info {
        justify-content: center;

        width: 100%;

        margin-left: 0;
    }

    .header_profile {
        width: 90px;
        height: 90px;
    }

    .logo_social {
        width: 45px;
        height: 45px;
    }

    .left_info h1,
    .header_info h1 {
        width: 100%;

        font-size: 26px;

        text-align: center;
    }

    .bio_box {
        border-radius: 11px;
    }

    .tlg-shell {
        padding: 20px;
    }

    .bio_box h2 {
        font-size: 22px;

        margin-top: 26px;

        padding: 11px 13px;
    }

    .bio_box h3 {
        font-size: 18px;

        padding: 9px 11px;
    }

    .bio_box p {
        font-size: 15px;

        line-height: 1.75;

        text-align: left;
    }

    .bio_box ul,
    .bio_box ol {
        padding:
            15px 16px 15px 32px;
    }

    .contact_box {
        padding: 16px;
    }

    .thanh-loan-go {
        padding: 16px;
    }
}

/* =========================================================
   MOBILE NHỎ
========================================================= */

@media (max-width: 480px) {

    html {
        font-size: 14px;
    }

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;

        margin: 8px auto;

        padding: 5px;

        border-radius: 10px;
    }

    .image_background {
        border-radius: 8px;
    }

    .image_background img {
        border-radius: 8px;
    }

    .header_info {
        gap: 12px;

        margin: 12px 0 16px;

        padding: 12px;

        border-radius: 10px;
    }

    .header_profile {
        width: 75px;
        height: 75px;
    }

    .left_info {
        gap: 10px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: 21px;

        line-height: 1.3;
    }

    .right_info {
        gap: 7px;
    }

    .logo_social {
        width: 37px;
        height: 37px;

        border-radius: 8px;
    }

    .bio_box {
        border-radius: 10px;
    }

    .tlg-shell {
        padding: 15px 12px;
    }

    .bio_box h2 {
        margin: 24px 0 13px;

        padding: 9px 10px;

        font-size: 19px;

        line-height: 1.4;
    }

    .bio_box h3 {
        margin: 20px 0 10px;

        padding: 8px 9px;

        font-size: 17px;

        line-height: 1.4;
    }

    .bio_box p {
        margin-bottom: 13px;

        font-size: 14px;

        line-height: 1.75;
    }

    .bio_box ul,
    .bio_box ol {
        margin: 13px 0;

        padding:
            13px 12px 13px 28px;

        border-radius: 8px;
    }

    .bio_box li {
        margin-bottom: 7px;

        font-size: 14px;

        line-height: 1.65;
    }

    .bio_box th,
    .bio_box td {
        padding: 9px;

        font-size: 13px;
    }

    .contact_box {
        margin: 18px 0;

        padding: 14px;

        border-radius: 8px;
    }

    .contact_box p {
        font-size: 14px;
    }

    .thanh-loan-go {
        margin-top: 18px;

        padding: 14px;

        border-radius: 9px;
    }

    .thanh-loan-go h2 {
        font-size: 18px;
    }

    .bio_box a[href^="tel:"] {
        font-size: 17px;
    }
}

/* =========================================================
   SIÊU NHỎ
========================================================= */

@media (max-width: 360px) {

    .container {
        width: 99%;

        padding: 4px;
    }

    .header_profile {
        width: 68px;
        height: 68px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: 19px;
    }

    .logo_social {
        width: 34px;
        height: 34px;
    }

    .tlg-shell {
        padding: 12px 9px;
    }

    .bio_box h2 {
        font-size: 18px;
    }

    .bio_box h3 {
        font-size: 16px;
    }

    .bio_box p,
    .bio_box li {
        font-size: 13.5px;
    }
}

/* =========================================================
   HỖ TRỢ ĐIỆN THOẠI NGANG
========================================================= */

@media (max-width: 768px) and (orientation: landscape) {

    .header_info {
        flex-direction: row;

        justify-content: space-between;

        text-align: left;
    }

    .left_info {
        flex-direction: row;

        width: auto;

        justify-content: flex-start;
    }

    .left_info h1 {
        text-align: left;
    }

    .right_info {
        width: auto;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

a:focus-visible {
    outline: 2px solid var(--red);

    outline-offset: 3px;

    border-radius: 4px;
}

/* =========================================================
   GIẢM CHUYỂN ĐỘNG
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;

        animation: none !important;
    }
}