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

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

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

body {
    margin: 0 !important;
    padding: 0;

    background: #07142b !important;

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

    color: #ffffff !important;

    font-size: 16px;
    line-height: 1.75;

    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: #ff7777;

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

    --border: rgba(255, 255, 255, 0.16);
    --border-light: rgba(255, 255, 255, 0.10);
    --border-red: rgba(255, 88, 88, 0.65);

    --shadow:
        0 0 30px rgba(0, 0, 0, 0.35);

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

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

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

    width: min(95%, 1100px);

    margin: 25px auto;
    padding: 12px;

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

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

    color: #ffffff;

    box-shadow:
        0 0 35px rgba(0, 0, 0, 0.40),
        0 0 25px rgba(30, 80, 162, 0.12);
}

/* =========================================================
   ẢNH ĐẦU TRANG
========================================================= */

.image_background {
    width: 100%;

    overflow: hidden;

    border-radius: 13px;

    background: var(--blue-dark);

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

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25);
}

.image_background img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;

    border-radius: 13px;

    transition:
        transform 0.4s ease;
}

.image_background:hover img {
    transform: scale(1.015);
}

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

.header_info {
    display: flex !important;

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

    gap: 20px;

    margin: 20px 0;

    padding: 18px;

    flex-wrap: wrap;

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

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

    border-radius: 14px;

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

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

.left_info {
    display: flex;

    align-items: center;

    gap: 16px;

    flex: 1 1 500px;

    min-width: 0;
}

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

    flex-shrink: 0;

    overflow: hidden;

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

    border-radius: 50%;

    background: var(--blue-dark);

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

.header_profile img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.left_info h1 {
    margin: 0;

    color: #ffffff !important;

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

    line-height: 1.25;

    font-weight: 700;

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

.left_info h1 strong {
    color: #ffffff !important;
}

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

.right_info {
    display: flex !important;

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

    gap: 12px;

    flex: 0 0 auto;

    flex-wrap: wrap;

    margin-left: auto;
}

.right_info a {
    display: block;

    text-decoration: none;

    border: 0;
}

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

    display: grid;

    place-items: center;

    overflow: hidden;

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

    border-radius: 10px;

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

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

    transition:
        transform 0.20s ease,
        background 0.20s ease,
        border-color 0.20s ease,
        box-shadow 0.20s ease;
}

.logo_social img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    opacity: 1;

    filter: none !important;
}

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

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

    border-color: var(--red);

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

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

.bio_box {
    width: 100%;

    margin-top: 18px;

    color: #ffffff !important;

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

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

    border-radius: 14px;

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

    overflow: hidden;

    position: relative;
}

.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 20px var(--red);

    z-index: 2;
}

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

.tlg-future {
    width: 100%;

    color: #ffffff !important;

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

.tlg-future::before {
    content: "THANH LOAN GO • XE GHÉP HÀ NỘI - HÀ NAM";

    display: block;

    padding: 9px 16px;

    color: #ffffff !important;

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

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

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

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

.tlg-shell {
    padding: 28px;

    color: #ffffff !important;

    overflow-wrap: anywhere;
}

/* ÉP MÀU CHỮ */

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

/* =========================================================
   H1
========================================================= */

.tlg-shell h1 {
    margin: 0 0 25px;

    padding-bottom: 15px;

    color: #ffffff !important;

    font-size: 32px;

    line-height: 1.35;

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

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

.tlg-shell h2 {
    position: relative;

    margin: 35px 0 16px;

    padding: 13px 17px;

    color: #ffffff !important;

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

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

    border-radius: 6px;

    font-size: 25px;

    line-height: 1.4;

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

.tlg-shell h2::after {
    content: "";

    position: absolute;

    left: 17px;
    right: auto;
    bottom: -6px;

    width: 60px;
    height: 2px;

    background: var(--red);

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

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

.tlg-shell h3 {
    margin: 25px 0 12px;

    padding: 10px 14px;

    color: #ffffff !important;

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

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

    border-radius: 6px;

    font-size: 20px;

    line-height: 1.45;

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

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

.tlg-shell p {
    margin: 0 0 16px;

    color: #ffffff !important;

    line-height: 1.8;

    text-align: justify;
}

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

.tlg-shell strong,
.tlg-shell b {
    color: #ffffff !important;

    font-weight: 700;
}

/* =========================================================
   DANH SÁCH
========================================================= */

.tlg-shell ul,
.tlg-shell ol {
    margin: 17px 0;

    padding: 17px 22px 17px 42px;

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

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

    border-radius: 10px;

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

.tlg-shell li {
    margin: 7px 0;

    padding-left: 3px;

    color: #ffffff !important;
}

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

    font-weight: 700;
}

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

.tlg-shell a {
    color: #ffffff !important;

    font-weight: 700;

    text-decoration-line: underline;

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

    text-decoration-thickness: 2px;

    text-underline-offset: 3px;

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

.tlg-shell a:hover {
    color: #ffdede !important;

    text-decoration-color: #ffffff;
}

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

.table-responsive {
    width: 100%;

    margin: 22px 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),
        0 5px 18px rgba(0, 0, 0, 0.18);
}

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

.table-responsive table {
    width: 100%;

    min-width: 720px;

    border-collapse: collapse;

    background: #0b2454 !important;

    color: #ffffff !important;
}

.table-responsive th {
    padding: 14px 12px;

    color: #ffffff !important;

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

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

    font-size: 15px;

    font-weight: 700;

    text-align: center;

    vertical-align: middle;
}

.table-responsive td {
    padding: 13px 12px;

    color: #ffffff !important;

    background: #0b2454 !important;

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

    font-size: 15px;

    vertical-align: middle;
}

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

.table-responsive tbody tr:hover td {
    background:
        #173d80 !important;

    transition:
        background 0.2s ease;
}

.table-responsive td:first-child {
    text-align: left;
}

.table-responsive td:nth-child(2),
.table-responsive td:nth-child(3),
.table-responsive td:nth-child(4) {
    text-align: center;
}

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

.table-responsive strong,
.table-responsive b {
    color: #ffffff !important;

    font-weight: 700;
}

/* =========================================================
   CONTACT BOOKING
========================================================= */

.contact-booking {
    position: relative;

    margin: 35px 0 25px;

    padding: 25px;

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

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

    border-radius: 14px;

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

.contact-booking::before {
    content: "";

    position: absolute;

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

    height: 3px;

    background: var(--red);

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

.contact-booking h2 {
    margin-top: 0 !important;

    text-align: center;

    border-left: 0 !important;

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

    background: transparent !important;

    font-size: 25px;
}

.contact-booking h2::after {
    display: none;
}

.contact-booking ul {
    margin-bottom: 0;

    background:
        rgba(0, 0, 0, 0.12);

    border:
        1px solid rgba(255, 255, 255, 0.14);
}

.contact-booking li {
    margin-bottom: 9px;
}

/* =========================================================
   CONTACT INFO
========================================================= */

.contact-info {
    margin-top: 25px;

    padding: 25px;

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

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

    border-radius: 12px;

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

.contact-info h2 {
    margin-top: 0 !important;

    text-align: center;

    font-size: 26px;
}

.contact-info p {
    margin-bottom: 10px;

    text-align: left;
}

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

.contact-info a {
    word-break: break-word;
}

/* =========================================================
   SỐ HOTLINE
========================================================= */

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

    padding: 7px 15px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            var(--red-dark),
            var(--red)
        );

    border-radius: 7px;

    text-decoration: none !important;

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

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

.contact-info a[href^="tel:"]:hover {
    transform: translateY(-2px);

    color: #ffffff !important;

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

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

.tlg-shell img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 20px auto;

    border-radius: 10px;

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

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

.tlg-shell hr {
    margin: 25px 0;

    height: 1px;

    border: 0;

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

/* =========================================================
   SELECTION
========================================================= */

::selection {
    background: var(--red);

    color: #ffffff;
}

/* =========================================================
   SCROLLBAR
========================================================= */

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

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

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

    border-radius: 20px;
}

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

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

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 96%;

        margin: 15px auto;

        padding: 8px;

        border-radius: 12px;
    }

    /* HEADER */

    .header_info {
        flex-direction: column;

        padding: 15px;

        margin: 15px 0;
    }

    .left_info {
        width: 100%;

        flex-direction: column;

        flex-basis: auto;

        justify-content: center;

        text-align: center;
    }

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

    .left_info h1 {
        width: 100%;

        font-size: 26px;

        line-height: 1.35;
    }

    .right_info {
        width: 100%;

        justify-content: center;

        margin-left: 0;
    }

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

    /* CONTENT */

    .tlg-shell {
        padding: 20px 17px;
    }

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

        font-size: 10px;

        letter-spacing: 0.05em;
    }

    .tlg-shell h1 {
        font-size: 27px;
    }

    .tlg-shell h2 {
        margin-top: 28px;

        padding: 11px 14px;

        font-size: 22px;
    }

    .tlg-shell h3 {
        padding: 9px 11px;

        font-size: 18px;
    }

    .tlg-shell p {
        text-align: left;
    }

    /* TABLE */

    .table-responsive {
        margin: 18px 0;
    }

    .table-responsive table {
        min-width: 680px;
    }

    .table-responsive th,
    .table-responsive td {
        padding: 10px;

        font-size: 14px;
    }

    /* CONTACT */

    .contact-booking,
    .contact-info {
        padding: 18px;
    }

    .contact-booking h2,
    .contact-info h2 {
        font-size: 21px;
    }
}

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

@media (max-width: 480px) {

    body {
        font-size: 14px;

        line-height: 1.65;
    }

    .container {
        width: 98%;

        margin: 8px auto;

        padding: 5px;

        border-radius: 10px;
    }

    .image_background {
        border-radius: 9px;
    }

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

    /* HEADER */

    .header_info {
        gap: 14px;

        padding: 12px;

        border-radius: 11px;
    }

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

        border-width: 2px;
    }

    .left_info {
        gap: 10px;
    }

    .left_info h1 {
        font-size: 21px;

        line-height: 1.35;
    }

    .right_info {
        gap: 8px;
    }

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

        border-radius: 8px;
    }

    /* BIO */

    .bio_box {
        margin-top: 12px;

        border-radius: 10px;
    }

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

    .tlg-future::before {
        padding: 7px 9px;

        font-size: 9px;
    }

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

    .tlg-shell h1 {
        margin-bottom: 18px;

        font-size: 23px;
    }

    .tlg-shell h2 {
        margin: 24px 0 12px;

        padding: 9px 11px;

        font-size: 19px;

        border-left-width: 4px;
    }

    .tlg-shell h3 {
        margin: 20px 0 9px;

        padding: 8px 10px;

        font-size: 17px;

        border-left-width: 3px;
    }

    .tlg-shell p {
        margin-bottom: 13px;

        line-height: 1.7;
    }

    .tlg-shell ul,
    .tlg-shell ol {
        margin: 13px 0;

        padding: 13px 12px 13px 30px;

        border-radius: 8px;
    }

    .tlg-shell li {
        margin: 5px 0;
    }

    /* TABLE */

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

    .table-responsive table {
        min-width: 650px;
    }

    .table-responsive th,
    .table-responsive td {
        padding: 9px 8px;

        font-size: 13px;
    }

    /* CONTACT */

    .contact-booking,
    .contact-info {
        margin-top: 20px;

        padding: 15px;

        border-radius: 9px;
    }

    .contact-booking h2,
    .contact-info h2 {
        font-size: 19px;

        line-height: 1.4;
    }

    .contact-booking ul {
        padding-left: 28px;
    }

    .contact-info p {
        text-align: left;
    }

    .contact-info a[href^="tel:"] {
        padding: 6px 12px;
    }
}

/* =========================================================
   MOBILE RẤT NHỎ
========================================================= */

@media (max-width: 360px) {

    .container {
        width: 99%;

        padding: 4px;
    }

    .header_info {
        padding: 10px;
    }

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

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

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

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

    .tlg-shell h2 {
        font-size: 18px;
    }

    .tlg-shell h3 {
        font-size: 16px;
    }

    .table-responsive table {
        min-width: 620px;
    }
}

/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================= */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }
}