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

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

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

body {
    margin: 0 !important;
    padding: 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;

    --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 !important;

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

/* =========================================================
   ẢNH BANNER
========================================================= */

.image_background {
    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border-radius: 12px;

    background: var(--blue-dark);
}

.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 30px;
    padding: 18px;

    flex-wrap: wrap;

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

    border: 1px solid rgba(255, 88, 88, 0.35) !important;

    border-radius: 14px;

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

.left_info {
    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 0;

    color: #ffffff !important;
}

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

    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.45);
}

.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(
        24px,
        4vw,
        38px
    );

    line-height: 1.25;

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

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

.right_info {
    display: flex !important;

    gap: 15px;

    align-items: center;

    justify-content: flex-end;

    flex-wrap: wrap;

    margin-left: auto;
}

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

    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 {
    text-decoration: none !important;
}

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

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

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

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

.bio_box {
    width: 100%;

    margin-top: 20px;

    padding: 25px;

    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;
}

.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: 1;
}

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

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

/* =========================================================
   TLG FUTURE
========================================================= */

.tlg-future {
    width: 100%;

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

    border: 2px solid rgba(255, 88, 88, 0.60);

    border-radius: 12px;

    overflow: hidden;

    position: relative;
}

.tlg-future::before {
    content: "THANH LOAN GO // XE GHÉP";

    display: block;

    padding: 10px 16px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--red-dark),
            #0b2050
        );

    border-bottom: 1px solid var(--red);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

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

.tlg-shell {
    position: relative;

    width: 100%;

    padding: 25px;

    color: #ffffff !important;
}

.service-content {
    width: 100%;

    max-width: 100%;

    margin: 0 auto;

    color: #ffffff !important;
}

/* =========================================================
   TIÊU ĐỀ
========================================================= */

.bio_box h1 {
    color: #ffffff !important;

    font-size: 32px;

    margin-bottom: 20px;

    line-height: 1.4;

    padding-bottom: 10px;

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

.bio_box h2,
.service-content h2 {
    color: #ffffff !important;

    font-size: 24px;

    line-height: 1.35;

    margin: 30px 0 15px;

    padding: 12px 16px;

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

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

    border-radius: 6px;

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

.bio_box h2:first-child,
.service-content h2:first-child {
    margin-top: 5px;
}

.bio_box h3,
.service-content h3 {
    color: #ffffff !important;

    font-size: 20px;

    line-height: 1.4;

    margin: 25px 0 10px;

    padding: 9px 13px;

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

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

    border-radius: 6px;
}

/* =========================================================
   ĐOẠN VĂN
========================================================= */

.bio_box p,
.service-content p {
    margin-bottom: 15px;

    color: #ffffff !important;

    line-height: 1.75;
}

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

    font-weight: 700;
}

.service-content em {
    color: #ffffff !important;

    font-style: italic;
}

/* =========================================================
   LINK
========================================================= */

.bio_box a,
.service-content a {
    color: #ffffff !important;

    text-decoration: underline;

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

    text-decoration-thickness: 2px;

    text-underline-offset: 3px;

    font-weight: 700;

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

.bio_box a:hover,
.service-content a:hover {
    color: #ffe1e1 !important;

    text-decoration-color: #ffffff;
}

/* =========================================================
   DANH SÁCH UL / OL
========================================================= */

.bio_box ul,
.bio_box ol,
.service-content ul,
.service-content ol {
    padding: 16px 20px 16px 42px;

    margin: 15px 0;

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

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

    border-radius: 10px;
}

.bio_box li,
.service-content li {
    margin-bottom: 9px;

    color: #ffffff !important;

    line-height: 1.7;
}

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

.bio_box li::marker,
.service-content li::marker {
    color: var(--red);

    font-weight: 700;
}

/* =========================================================
   BẢNG RESPONSIVE
========================================================= */

.table-responsive {
    width: 100%;

    margin: 20px 0;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

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

    border-radius: 12px;

    background: #0b2454;

    box-shadow:
        0 0 18px rgba(255, 88, 88, 0.10);
}

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

.bio_box table,
.service-content table {
    width: 100%;

    min-width: 700px;

    border-collapse: collapse;

    border-spacing: 0;

    background: #0b2454 !important;

    color: #ffffff !important;
}

.bio_box th,
.bio_box td,
.service-content th,
.service-content td {
    padding: 13px 12px;

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

    color: #ffffff !important;

    background: #0b2454 !important;

    vertical-align: top;

    line-height: 1.6;
}

.bio_box th,
.service-content th {
    background: #123875 !important;

    color: #ffffff !important;

    text-align: center;

    font-weight: 700;
}

.bio_box td:first-child,
.service-content td:first-child {
    width: 32%;
}

.bio_box td:nth-child(2),
.service-content td:nth-child(2) {
    width: 26%;

    text-align: center;
}

.bio_box td:nth-child(3),
.service-content td:nth-child(3) {
    width: 42%;
}

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

    color: #ffffff !important;
}

.bio_box tbody tr:hover td,
.service-content tbody tr:hover td {
    background: #173d80 !important;

    color: #ffffff !important;
}

.bio_box table strong,
.service-content table strong {
    color: #ffffff !important;
}

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

.faq {
    width: 100%;

    margin: 20px 0;
}

.faq-item {
    margin-bottom: 15px;

    padding: 18px 20px;

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

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

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

    border-radius: 10px;

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

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    margin: 0 0 10px;

    padding: 0;

    color: #ffffff !important;

    background: transparent;

    border: 0;

    font-size: 18px;
}

.faq-item p {
    margin: 0;

    color: #ffffff !important;
}

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

.contact-box {
    margin: 22px 0;

    padding: 20px;

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

    border:
        2px solid rgba(255, 88, 88, 0.65);

    border-radius: 12px;

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

.contact-box p {
    margin: 8px 0;

    padding: 8px 10px;

    color: #ffffff !important;

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

    border-radius: 7px;
}

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

/* =========================================================
   CTA BOOKING
========================================================= */

.cta-booking {
    margin-top: 30px;

    padding: 25px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #123875,
            #1E50A2
        );

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

    border-radius: 14px;

    box-shadow:
        0 0 20px rgba(255, 88, 88, 0.20),
        inset 0 0 20px rgba(0, 0, 0, 0.12);
}

.cta-booking h2 {
    margin: 0 0 12px;

    padding: 0;

    background: transparent;

    border: 0;

    font-size: 23px;

    color: #ffffff !important;
}

.cta-booking p {
    margin: 8px 0;

    color: #ffffff !important;
}

.booking-phone {
    display: inline-block;

    margin-top: 8px;

    padding: 11px 25px;

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

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

    border-radius: 9px;

    color: #ffffff !important;

    font-size: 23px;

    font-weight: 700;

    text-decoration: none !important;

    box-shadow:
        0 0 15px rgba(255, 88, 88, 0.25);

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

.booking-phone:hover {
    transform: translateY(-2px);

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #173d80,
            #123875
        );

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

.cta-booking a:not(.booking-phone) {
    display: inline-block;

    padding: 8px 15px;

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

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

    border-radius: 7px;
}

/* =========================================================
   ẢNH TRONG CONTENT
========================================================= */

.bio_box img,
.service-content img,
.tlg-shell img {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;

    border-radius: 8px;
}

/* =========================================================
   BLOCKQUOTE
========================================================= */

.bio_box blockquote,
.service-content 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);
}

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

.bio_box hr,
.service-content hr {
    border: 0;

    height: 1px;

    margin: 25px 0;

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

/* =========================================================
   CODE
========================================================= */

.bio_box code,
.service-content code {
    padding: 2px 6px;

    background: #061735;

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

    border-radius: 5px;

    color: #ffffff !important;
}

/* =========================================================
   PHONE / CTA LINK
========================================================= */

.service-content a[href^="tel:"] {
    white-space: nowrap;
}

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

@media (max-width: 768px) {

    .container {
        width: 95%;

        margin: 15px auto;

        padding: 8px;
    }

    .header_info {
        flex-direction: column;

        text-align: center;

        padding: 15px;
    }

    .left_info {
        flex-direction: column;

        justify-content: center;

        width: 100%;
    }

    .left_info h1 {
        width: 100%;
    }

    .right_info {
        justify-content: center;

        margin-left: 0;

        width: 100%;
    }

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

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

    .bio_box {
        padding: 18px;
    }

    .tlg-shell {
        padding: 18px;
    }

    .bio_box h1 {
        font-size: 27px;
    }

    .bio_box h2,
    .service-content h2 {
        font-size: 22px;

        padding: 11px 14px;
    }

    .bio_box h3,
    .service-content h3 {
        font-size: 18px;
    }

    .bio_box ul,
    .bio_box ol,
    .service-content ul,
    .service-content ol {
        padding-left: 32px;
    }

    .table-responsive {
        border-radius: 9px;
    }

    .bio_box table,
    .service-content table {
        min-width: 700px;
    }

    .contact-box {
        padding: 15px;
    }

    .cta-booking {
        padding: 20px 15px;
    }

    .cta-booking h2 {
        font-size: 21px;
    }

    .booking-phone {
        font-size: 21px;
    }
}

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

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;

        margin: 10px auto;

        padding: 6px;

        border-radius: 10px;
    }

    .image_background {
        border-radius: 9px;
    }

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

    .header_info {
        gap: 14px;

        margin: 14px 0 20px;

        padding: 12px;

        border-radius: 11px;
    }

    .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: 8px;
    }

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

        border-radius: 8px;
    }

    .bio_box {
        padding: 12px;

        border-radius: 10px;
    }

    .tlg-future {
        border-radius: 9px;
    }

    .tlg-future::before {
        padding: 8px 10px;

        font-size: 9px;

        letter-spacing: 0.08em;
    }

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

    .bio_box h1 {
        font-size: 22px;

        line-height: 1.3;
    }

    .bio_box h2,
    .service-content h2 {
        font-size: 19px;

        line-height: 1.35;

        padding: 9px 11px;

        margin-top: 23px;
    }

    .bio_box h3,
    .service-content h3 {
        font-size: 17px;

        line-height: 1.4;

        padding: 8px 10px;
    }

    .bio_box p,
    .service-content p {
        line-height: 1.65;
    }

    .bio_box ul,
    .bio_box ol,
    .service-content ul,
    .service-content ol {
        padding: 13px 13px 13px 28px;

        border-radius: 8px;
    }

    .bio_box li,
    .service-content li {
        margin-bottom: 7px;

        line-height: 1.65;
    }

    /* ---------------------------
       TABLE MOBILE
    ---------------------------- */

    .table-responsive {
        margin: 15px 0;

        border-width: 1px;

        border-radius: 8px;
    }

    .bio_box table,
    .service-content table {
        min-width: 680px;

        font-size: 13px;
    }

    .bio_box th,
    .bio_box td,
    .service-content th,
    .service-content td {
        padding: 9px 8px;

        line-height: 1.5;
    }

    /* ---------------------------
       FAQ
    ---------------------------- */

    .faq-item {
        padding: 13px 12px;

        margin-bottom: 12px;

        border-left-width: 4px;

        border-radius: 8px;
    }

    .faq-item h3 {
        font-size: 16px;

        line-height: 1.45;
    }

    /* ---------------------------
       CONTACT
    ---------------------------- */

    .contact-box {
        padding: 12px;

        margin-top: 18px;

        border-radius: 9px;
    }

    .contact-box p {
        padding: 7px 8px;

        line-height: 1.55;
    }

    /* ---------------------------
       CTA
    ---------------------------- */

    .cta-booking {
        margin-top: 22px;

        padding: 17px 11px;

        border-radius: 10px;
    }

    .cta-booking h2 {
        font-size: 19px;

        line-height: 1.4;
    }

    .booking-phone {
        display: block;

        width: 100%;

        padding: 10px 12px;

        font-size: 19px;
    }

    .cta-booking a:not(.booking-phone) {
        width: 100%;
    }
}

/* =========================================================
   MOBILE 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;
    }

    .bio_box {
        padding: 9px;
    }

    .tlg-shell {
        padding: 10px 8px;
    }

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

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

    .bio_box table,
    .service-content table {
        min-width: 650px;

        font-size: 12.5px;
    }

    .booking-phone {
        font-size: 18px;
    }
}

/* =========================================================
   KHẢ NĂNG CUỘN NGANG TABLE
========================================================= */

.table-responsive::-webkit-scrollbar {
    height: 7px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #061735;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--red);

    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark);
}

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

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

    outline-offset: 3px;
}

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

    outline-offset: 3px;
}

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

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

    html {
        scroll-behavior: auto;
    }

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

        animation: none !important;
    }
}