/*
Theme Name: ThienMinh Express
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


/* GLOBAL STYLES */
@font-face {
    font-family: 'Lexend';
    src: url('./assets/fonts/Lexend-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./assets/fonts/Inter-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #25224b;
    --secondary-color: #f06728;
    --white-color: #ffffff;
    --black-color: #000000;
    --text-color: #374151;
    --card-bg: #f5f6f8;
    --border-color: #e5e7eb;

    --primary: #25224b;
    --secondary: #f06728;
    --white: #ffffff;
    --text: #374151;
    --card-bg: #f5f6f8;
    --border: #e5e7eb;
    --font: 'Lexend', sans-serif;

    /* FONT */
    --font-primary: 'Lexend', sans-serif;
    --font-menu: 'Inter', sans-serif;
}

/* RESET FONT GLOBAL */
html,
body {
    font-family: var(--font-primary) !important;
}

/* HEADING */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary) !important;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.3;
}

/* PARAGRAPH */
p {
    font-family: var(--font-primary);
    margin: 0 0 10px;
    line-height: 1.6;
}

/* LINK */
a {
    font-family: var(--font-primary);
    /* color: var(--primary-color); */
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* NAV (Flatsome hay override chỗ này) */
.nav>li.menu-item>a,
.nav-dropdown>li.menu-item>a {
    font-family: var(--font-menu) !important;
    font-size: 13px !important;
}

.nav li.menu-item {
    margin: 0 15px !important;
}

/* BUTTON */
button,
.button,
input,
textarea,
select {
    font-family: var(--font-primary) !important;
}


/* HEADER CONTENT */
.header-nav li.menu-item a i::before {
    /* content: "↗";
    margin-left: 5px;
    color: var(--secondary-color);
    font-size: 14px; */
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-phone .phone-icon {
    width: 35px;
    height: 35px;
    background: var(--secondary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.header-phone .phone-number {
    font-size: 14px;
    font-weight: bold;
}

header .button.secondary {
    color: var(--white-color) !important;
    padding: 5px 10px !important;
}

/* FORM HEADER */
.row-quotation-form {
    width: max-content;
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%);
}

/* Container form */
.quote-form {
    max-width: 380px;
    padding: 30px 25px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Title */
.quote-form h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
}

/* Form group */
.quote-form .form-group {
    margin-bottom: 15px;
}

/* Input + select */
.quote-form input,
.quote-form select {
    width: 100%;
    padding: 0 14px;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    height: 44px !important;
    line-height: 44px;
}

.quote-form select option {
    background: #2c2c3a;
    /* màu tối */
    color: #fff;
}

.quote-form select option:checked {
    background: #ff6a00;
    color: #fff;
}

/* Placeholder */
.quote-form input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

/* Focus effect */
.quote-form input:focus,
.quote-form select:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Select arrow fix */
.quote-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='white' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* Submit button */
.quote-form input[type="submit"] {
    background: #fff;
    color: #000;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-form input[type="submit"]:hover {
    background: #000;
    color: #fff;
}

/* =========================
   DESKTOP (>= 1200px)
========================= */
@media (min-width: 1200px) {
    .row-quotation-form {
        right: 150px;
        max-width: 400px;
    }
}

/* =========================
   TABLET (768px - 1199px)
========================= */
@media (max-width: 1199px) {
    .row-quotation-form {
        right: 50px;
        max-width: 340px;
    }

    .quote-form {
        padding: 25px 20px;
    }

    .quote-form h2 {
        font-size: 20px;
    }
}

/* =========================
   MOBILE (< 768px)
========================= */
@media (max-width: 767px) {
    .row-quotation-form {
        position: static;
        /* bỏ absolute */
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        padding: 30px 15px 0 15px;
        background-color: var(--primary-color) !important;
    }

    .quote-form {
        max-width: 100%;
        padding: 20px 15px;
        border-radius: 12px;
    }

    .quote-form h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .quote-form input,
    .quote-form select {
        height: 42px;
        font-size: 13px;
        background-color: rgba(255, 255, 255, 0.15) !important;
    }

    .quote-form input[type="submit"] {
        height: 45px;
        font-size: 14px;
    }
}

/* FIX iOS Safari input */
@supports (-webkit-touch-callout: none) {

    .quote-form input,
    .quote-form select {
        -webkit-appearance: none;
        appearance: none;
        background-color: rgba(255, 255, 255, 0.15) !important;
        background-clip: padding-box;
    }

    .quote-form input[type="submit"] {
        background-color: var(--white-color) !important;
    }

    .quote-form input[type="submit"]:hover {
        background-color: var(--black-color) !important;
        color: var(--white-color) !important;
    }
}

/* Routes Container */
.routes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Wrapper */
.routes-wrapper {
    margin: 40px 0;
}

/* Title */
.routes-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: var(--primary-color);
}


/* Card */
.route-card {
    /* background: var(--primary-color); */
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;

   
}

.route-card-1 {
    background: 
    linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.1)),
    url('/wp-content/uploads/2026/03/van-chuyen-japan2.webp') center / cover no-repeat;
}

.route-card-2 {
    background: 
    linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.1)),
    url('/wp-content/uploads/2026/03/banner-france4.webp') center / cover no-repeat;
}



/* Hover */
.route-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Code JP ⇄ VN */
.route-code {
    font-size: 14px;
    font-weight: 600;
    color: var(--white-color);
}

/* Title */
.route-card h3 {
    font-size: 18px;
    margin: 10px 0 8px;
    font-weight: 600;
    color: var(--white-color);
}

/* Description */
.route-desc {
    font-size: 14px;
    color: var(--white-color);
    margin-bottom: 12px;
}

/* List */
.route-card ul {
    padding-left: 18px;
    margin-bottom: 15px;
}

.route-card ul li {
    font-size: 14px;
    color: var(--white-color);
    margin-bottom: 6px;
}

/* Bullet custom */
.route-card ul li::marker {
    color: var(--white-color);
}

/* Link */
.route-link {
    font-size: 14px;
    font-weight: 650;
    color: var(--secondary-color);
    text-decoration: none;
}

.route-link:hover {
    text-decoration: underline;
}

/* Tablet */
@media (max-width: 1024px) {
    .routes {
        grid-template-columns: 1fr;
    }

    .routes-title {
        font-size: 22px;
    }

    .route-card {
        padding: 20px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .routes {
        gap: 15px;
    }

    .routes-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .route-card {
        padding: 18px;
        border-radius: 12px;
    }

    .route-card h3 {
        font-size: 16px;
    }

    .route-desc,
    .route-card ul li,
    .route-link {
        font-size: 13px;
    }
}


/* section_quytrinh */
.section_quytrinh {
    color: #fff;
    position: relative;
    overflow: hidden;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    text-align: center;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .section_quytrinh {
        margin-bottom: 40px;
    }
}

.section_quytrinh .item_null {
    margin-right: 0px !important;
}

.section_quytrinh .item_null .item_quy_trinh {
    aspect-ratio: 321/318;
    background: #FFF6F3;
    height: auto;
    padding: 0px;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .section_quytrinh .item_null .item_quy_trinh {
        margin-bottom: 14px;
    }
}

.section_quytrinh .title_quy_trinh {
    color: #062e39;
    font-size: 34px;
    margin-bottom: 10px;
    font-weight: 700;
}

@media (max-width: 992px) {
    .section_quytrinh .title_quy_trinh {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .section_quytrinh .title_quy_trinh {
        font-size: 26px;
    }
}

.section_quytrinh .content_quy_trinh {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    display: block;
    text-align: center;
    margin-bottom: 25px;
}

.section_quytrinh .list_quy_trinh {
    margin-top: 40px;
    gap: 15px;
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    padding: 0px;
}

@media (max-width: 992px) {
    .section_quytrinh .list_quy_trinh {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .section_quytrinh .list_quy_trinh {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.section_quytrinh .list_quy_trinh .item_quy_trinh img {
    width: 85px !important;
    height: 85px !important;
}

.section_quytrinh .list_quy_trinh .item_quy_trinh {
    position: relative;
}

.section_quytrinh .list_quy_trinh .item_quy_trinh:before {
    content: "";
    position: absolute;
    right: -70px;
    top: 70px;
    background-image: url(//bizweb.dktcdn.net/100/578/208/themes/1021406/assets/icon_temp.png?1758009951056);
    width: 136px;
    height: 40px;
    background-size: 100%;
}

@media (max-width: 1025px) {
    .section_quytrinh .list_quy_trinh .item_quy_trinh:before {
        width: 90px;
        height: 36px;
        right: -50px;
        top: 55px;
    }
}

@media (max-width: 767px) {
    .section_quytrinh .list_quy_trinh .item_quy_trinh:before {
        top: 30px;
    }
}

.section_quytrinh .list_quy_trinh .item_quy_trinh:last-child:before {
    content: none;
}

.section_quytrinh .list_quy_trinh .item_quy_trinh:nth-child(2):before {
    transform: rotateX(180deg);
    top: 80px;
}

@media (max-width: 1025px) {
    .section_quytrinh .list_quy_trinh .item_quy_trinh:nth-child(2):before {
        top: 65px;
    }
}

@media (max-width: 992px) {
    .section_quytrinh .list_quy_trinh .item_quy_trinh:nth-child(2):before {
        content: none;
    }
}

.section_quytrinh .list_quy_trinh .item_quy_trinh .icon_item {
    position: relative;
    width: 100px;
    height: 100px;
    z-index: 1;
    margin: 0 auto;
    margin-bottom: 15px;
}

@media (max-width: 1025px) {
    .section_quytrinh .list_quy_trinh .item_quy_trinh .icon_item {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 767px) {
    .section_quytrinh .list_quy_trinh .item_quy_trinh .icon_item {
        width: 80px;
        height: 80px;
    }
}

.section_quytrinh .list_quy_trinh .item_quy_trinh p {
    margin-bottom: 0px;
}

.section_quytrinh .list_quy_trinh .item_quy_trinh .title_item {
    color: #000;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .section_quytrinh .list_quy_trinh .item_quy_trinh .title_item {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

.section_quytrinh .list_quy_trinh .item_quy_trinh .content_item {
    color: #212529;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 16px;
}

@media (max-width: 767px) {
    .section_quytrinh .list_quy_trinh .item_quy_trinh .content_item {
        font-size: 14px;
    }
}


/* Left content side */
.hero-left {
    position: relative;
    z-index: 2;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #a3e4a3;
    font-size: 11px;
    font-weight: 500;
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
    width: fit-content;
    letter-spacing: 0.03em;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-h1 {
    font-size: 36px !important;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.accent {
    color: #f97316;
}

.hero-sub {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 380px;
}

.hero-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.hero-bullets li {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-bullets li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f97316;
    flex-shrink: 0;
}

.hero-ctas {
    display: flex;
    gap: 10px;
}

.btn-primary {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 13px !important;
    font-weight: 600;
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 22px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: #ea6c0a;
    transform: translateY(-1px);
}

.btn-secondary {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 13px !important;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 11px 22px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ══════════════════════════════════════════
   ROUTE CARD — Mạng lưới vận chuyển
   Responsive: Mobile / Tablet / Desktop
   ══════════════════════════════════════════ */

/* ── Wrapper position (absolute trên desktop) ── */
.row-routes-card {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    z-index: 10;
}

/* ── Card container ── */
.row-routes-card .hero-right .route-card,
.hero-right .route-card {
    background: rgba(60, 40, 30, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 28px 32px 24px;
    min-width: 380px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/* ── Label ── */
.hero-right .route-card-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-right .route-card-label::before {
    content: '✈';
    font-size: 13px;
    opacity: 0.7;
}

/* ── Route row ── */
.hero-right .route-map {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 22px;
}

/* ── Country node ── */
.hero-right .route-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ── Flag pill ── */
.hero-right .flag-pill {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.2s;
}

.hero-right .flag-pill:hover {
    transform: scale(1.07);
}

.hero-right .flag-pill.jp {
    background-image: url('/wp-content/themes/thienminhexpress/assets/images/ja.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* hoặc contain nếu muốn thấy full icon */

    border-color: rgba(210, 30, 30, 0.55);
}

.hero-right .flag-pill.vn {
    /* background: rgba(210, 30, 30, 0.35); */
    background-image: url('/wp-content/themes/thienminhexpress/assets/images/vi.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* hoặc contain nếu muốn thấy full icon */

    border-color: rgba(210, 30, 30, 0.7);
    box-shadow: 0 0 18px rgba(210, 30, 30, 0.3);
}

.hero-right .flag-pill.fr {
    /* background: rgba(37, 99, 235, 0.3); */
    background-image: url('/wp-content/themes/thienminhexpress/assets/images/fr.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* hoặc contain nếu muốn thấy full icon */
    border-color: rgba(37, 99, 235, 0.6);
}

/* ── Country name ── */
.hero-right .flag-name {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

/* ── Connector ── */
.hero-right .route-connector {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    margin-bottom: 22px;
    /* align with pill, not label */
    gap: 3px;
}

.hero-right .connector-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.35),
            rgba(255, 255, 255, 0.08));
}

.hero-right .connector-icon {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    padding: 3px 7px;
    line-height: 1.5;
    flex-shrink: 0;
}

/* ── Trust badges ── */
.hero-right .trust-badges {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
}

.hero-right .trust-badge {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 5px 11px;
    white-space: nowrap;
    letter-spacing: 0.01em;
}


/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

/* ── Tablet (max 1024px) ── */
@media (max-width: 1024px) {
    .row-routes-card {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .row-routes-card,
    .col-routes-card {
        padding: 0px !important;
        margin: 0px !important;
    }


    .hero-right .route-card {
        background-color: var(--primary-color) !important;
        border-radius: 0px !important;
        padding: 24px 24px 20px;

    }

    .hero-right .route-card {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        padding: 24px 24px 20px;
    }

    .hero-right .flag-pill {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }

    .hero-right .flag-name {
        font-size: 11px;
    }

    .hero-right .trust-badge {
        font-size: 10.5px;
    }
}

/* ── Mobile (max 640px) ── */
@media (max-width: 640px) {

    .row-routes-card,
    .col-routes-card {
        padding: 0px !important;
        margin: 0px !important;
    }


    .hero-right .route-card {
        background-color: var(--primary-color) !important;
        border-radius: 0px !important;
        padding: 30px 15px !important;

    }

    .hero-right .route-card-label {
        font-size: 10px;
        margin-bottom: 18px;
    }

    .hero-right .flag-pill {
        width: 44px;
        height: 44px;
        font-size: 11px;
    }

    .hero-right .flag-name {
        font-size: 10px;
    }

    .hero-right .connector-icon {
        font-size: 11px;
        padding: 2px 5px;
    }

    .hero-right .trust-badges {
        gap: 6px;
        padding-top: 14px;
    }

    .hero-right .trust-badge {
        font-size: 10px;
        padding: 4px 6px;
    }
}


/* CUSTOM QUICK QUOTE BAR */
.tm-quote-bar {
    background: 
    linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.1)),
    url('/wp-content/uploads/2026/03/bg-new.webp') center / cover no-repeat;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
}

.tm-quote-header h3 {
    font-size: 18px !important;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 15px !important;
}

.tm-quote-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.tm-field-group {
    flex: 1;
    min-width: 150px;
}

.tm-field-group label {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 5px;
    font-weight: 400;
}

/* Input & Select styling */
.tm-quote-bar select,
.tm-quote-bar input[type="number"],
.tm-quote-bar input[type="text"],
.tm-quote-bar input[type="tel"],
.tm-quote-bar input[type="email"] {
    width: 100%;
    height: 45px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    background-color: #f9fafb !important;
    padding: 0 12px !important;
    font-size: 15px !important;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.tm-quote-bar select:focus,
.tm-quote-bar input:focus {
    border-color: var(--secondary-color) !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(240, 103, 40, 0.1);
}

.tm-quote-bar .wpcf7-not-valid-tip, .tm-form-lead .wpcf7-not-valid-tip, .quote-widget .wpcf7-not-valid-tip  {
    position: absolute !important;
    color: #f87171 !important;
    font-size: 12px !important;
    margin-top: -5px !important;
    opacity: unset !important;
    z-index: 10 !important;
}

/* Submit Button */
.tm-submit-group {
    flex: 0 0 auto;
}

.tm-quote-bar input[type="submit"] {
    background-color: var(--secondary-color) !important;
    /* Màu xanh nhạt như ảnh */
    color: var(--white-color) !important;
    /* Chữ xanh đậm */
    border: none !important;
    height: 45px !important;
    padding: 0 25px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.tm-quote-bar input[type="submit"]:hover {
    background-color: var(--white-color) !important;
    color: var(--secondary-color) !important;
    transform: translateY(-1px);
}

.tm-quote-footer {
    margin-top: 12px;
}

.tm-quote-footer p {
    font-size: 13px;
    color: var(--white-color);
    font-style: italic;
    margin: 0;
}

/* Responsive cho Mobile */
@media (max-width: 767px) {
    .tm-quote-grid {
        flex-direction: column;
        gap: 5px;
    }

    .tm-field-group {
        width: 100%;
    }

    .tm-submit-group {
        width: 100%;
        margin-top: 10px;
    }

    .hidden-label {
        display: none !important;
    }

    .tm-quote-bar input[type="submit"] {
        width: 100%;
    }
}

/* ── BLOCK WRAPPER ── */
.pricing-block {
    width: 100%;
    max-width: 100%;
    background: 
    linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.1)),
    url('/wp-content/uploads/2026/03/bg-new.webp') center / cover no-repeat;
    padding: 24px 32px;
    box-shadow: 0 4px 24px rgba(37, 34, 75, 0.07);
    position: relative;
    overflow: hidden;
}

/* subtle bg accent */
.pricing-block::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 103, 40, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ── HEADER ROW ── */
.pb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.pb-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pb-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, #3d3878 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pb-icon svg {
    width: 20px;
    height: 20px;
}

.pb-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white-color);
    line-height: 1.2;
}

.pb-subtitle {
    font-size: 14px;
    color: var(--white-color);
    font-weight: 400;
    margin-top: 2px;
}

.pb-badge {
    font-size: 10px;
    font-weight: 600;
    background: rgba(240, 103, 40, 0.1);
    color: var(--white-color);
    border: 1px solid #FFF;
    border-radius: 20px;
    padding: 4px 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ── FORMULA CARD ── */
.formula-card {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.formula-step {
    display: flex;
    align-items: center;
    gap: 0;
}

.f-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.f-pill-label {
    font-size: 9px;
    font-weight: 500;
    color: var(--white-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.f-pill-box {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
    background: var(--white-color);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 16px;
    white-space: nowrap;
    line-height: 1.3;
    box-shadow: 0 1px 4px rgba(37, 34, 75, 0.06);
}

.f-op {
    font-size: 12px;
    color: var(--white-color);
    font-weight: 400;
    padding: 0 10px;
    margin-top: 18px;
    /* align with boxes */
    white-space: nowrap;
}

.f-operations {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.f-arrow {
    display: flex;
    align-items: center;
    padding: 0 6px;
    margin-top: 18px;
}

.f-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
}

/* Result pill - highlighted */
.f-pill-box.result {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e85a1e 100%);
    color: var(--white-color);
    border-color: var(--secondary-color);
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 3px 12px rgba(240, 103, 40, 0.3);
}

/* ── NOTE + LINK ── */
.pb-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pb-note {
    font-size: 11px;
    color: var(--white-color);
    font-style: italic;
    line-height: 1.6;
    flex: 1;
    min-width: 200px;
}

.pb-action {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pb-note span {
    color: var(--secondary-color);
    font-style: normal;
    font-weight: 500;
}

.pb-action {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.pb-link {
    width: 48%;
    text-align: center;
    align-content: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white-color);
    background: var(--secondary-color);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 16px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pb-link:hover {
    border-color: var(--white-color);
    color: var(--secondary-color);
    background: var(--white-color);
}

.pb-link svg {
    width: 13px;
    height: 13px;
    transition: transform 0.2s ease;
}

.pb-link:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .pb-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .pb-action {
        width: 100%;
        justify-content: flex-start;
    }

    .pb-link {
        width: 48%;
        justify-content: center;
    }
    
}


/* ── DIVIDER in formula ── */
.formula-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
    margin-top: 18px;
    gap: 2px;
}

.vs-line {
    width: 1px;
    height: 10px;
    background: var(--border-color);
}

.vs-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--border-color);
    border-radius: 4px;
    padding: 2px 6px;
    letter-spacing: 0.05em;
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
    .pricing-block {
        padding: 24px 20px;
    }

    .formula-card {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .formula-step {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .f-operations {
        width: 100%;
        justify-content: center;
    }


    .f-op,
    .f-arrow,
    .formula-vs {
        margin-top: 0;
        padding: 0;
    }

    .pb-header {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* CUSTOM FOOTER */
/* ===== Desktop / Tablet ===== */
ul li.tmexpres-none {
    border-bottom: none;
    list-style: none;
    margin: 0;
    padding: 7px 0 7px 5px;
    position: relative;
}
.footer-menu-tm {
    color: #fff;
}

.menu-tm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-tm-arrow {
    display: none; /* desktop KHÔNG hiện mũi tên */
}

.menu-tm-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.menu-tm-list li {
    font-size: 14px;
    padding: 6px 0;
}

/* ===== Mobile ===== */

@media (max-width: 576px) 
{
    .footer-img .box-image{
 width: 50% !important;
}
   
}
@media (max-width: 768px) {
    .menu-tm-header {
        cursor: pointer;
    }

    .menu-tm-arrow {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .menu-tm-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        margin-top: 0;
    }

    .footer-menu-tm.active .menu-tm-list {
        max-height: 300px;
        margin-top: 10px;
    }

    .footer-menu-tm.active .menu-tm-arrow {
        transform: rotate(180deg);
        
    }
}

/* CUTOM PADDING BOTTOM */
.custom-padding 
{
   padding-bottom: 15px !important;
}


/* QUICK QUOTE CARD */
/* --- BASE & DESKTOP (Default) --- */
.tm-wrap {
  padding: 40px; /* Spacing thoáng hơn cho Desktop */
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.1)),
    url('/wp-content/uploads/2026/03/bg-new.webp') center / cover no-repeat;
  border-radius: 16px;
  border: 0.5px solid #e5e7eb;
  width: 100%;
}

.tm-title {
  font-size: 24px; /* Đúng yêu cầu Desktop */
  font-weight: 600;
  color: var(--white-color);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tm-icon {
  width: 36px;
  height: 36px;
  background: var(--secondary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-input-row {
  display: flex;
  flex-direction: row; /* Layout ngang */
  gap: 12px;
  margin-bottom: 12px;
}

.tm-input {
  flex: 1;
  font-size: 16px; /* Desktop: 16px */
  padding: 0 16px;
  height: 52px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #f5f6f8;
  outline: none;
  transition: all 0.2s;
}

.tm-input:focus {
  border-color: #25224b;
  background: #fff;
}

.tm-btn {
  font-size: 16px; /* Desktop: 16px */
  font-weight: 500;
  padding: 0 30px;
  height: 52px;
  background: var(--secondary-color, #f06728);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}

.tm-btn:hover {
  background: var(--white-color);
  color: var(--secondary-color);
}

.tm-hint {
  font-size: 12px;
  color: var(--white-color);
  margin-bottom: 18px;
}

.tm-hint a {
  color: #f06728;
  cursor: pointer;
  text-decoration: none;
}

.tm-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 20px 0;
}

.tm-example {
  background: #f5f6f8;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
}

.tm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

.tm-dot-line {
  width: 1.5px;
  height: 40px;
  background: #e5e7eb;
}

.tm-status-text {
  font-size: 13px;
}

.tm-status-label {
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  color: #000000;
}

.tm-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.tm-step {
  font-size: 12px;
  color: #000000;
}

.tm-step.active {
  color: #000000;
  font-weight: 500;
}

.tm-step.done {
  color: #000000;
}

.tm-arrow {
  margin: 0 6px;
  color: #d1d5db;
}

/* --- 📲 TABLET (Max-width: 1024px) --- */
@media (max-width: 1024px) {
  .tm-wrap {
    padding: 32px;
  }

  .tm-title {
    font-size: 18px; /* Tablet: 18px */
  }

  .tm-input, .tm-btn {
    font-size: 15px; /* Tablet: 15px */
    height: 48px;
  }
}

/* --- 📱 MOBILE (Max-width: 640px) --- */
@media (max-width: 640px) {
  .tm-wrap {
    padding: 20px;
  }

  .tm-title {
    font-size: 16px; /* Mobile: 16px */
    margin-bottom: 16px;
  }

  .tm-icon {
    width: 30px;
    height: 30px;
  }

  .tm-input-row {
    flex-direction: column; /* Stack dọc */
    gap: 10px;
  }

  .tm-input {
    font-size: 14px; /* Mobile: 14px */
    width: 100%;
    height: 46px;
  }

  .tm-btn {
    width: 100%; /* Full width cho UX tốt hơn */
    font-size: 14px;
    height: 46px;
  }

  .tm-example {
    flex-direction: column;
    gap: 8px;
  }

  .tm-dot-line {
    display: none; /* Ẩn line dọc trên mobile để gọn hơn */
  }
}

/* --- CÁC PHẦN CÒN LẠI GIỮ NGUYÊN --- */
.tm-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, #3d3878 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tm-input:focus {
  border-color: #25224b;
  background: #fff;
}

.tm-btn:hover {
  background: var(--primary-color, #25224b);
}

.tm-hint {
  font-size: 12px;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.tm-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 20px 0;
}

.tm-example {
  background: rgb(255 255 255 / 40%);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
}

/* --- Khung bao ngoài --- */
.tm-wrap {
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tm-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-desc {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

/* ===== WRAP ===== */
.col-full-height .col-inner {
    height: 100%;
}
.tm-wrap {
    padding: 28px;
    background: 
    linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.1)),
    url('/wp-content/uploads/2026/04/blur_banner.webp') center / cover no-repeat;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    width: 100%;
    height: 100%;
}

/* ===== TITLE ===== */
.tm-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tm-desc {
    font-size: 14px;
    color: var(--white-color);
    margin-bottom: 20px;
}

/* ===== GRID ===== */
.tm-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-bottom: 24px;
}

/* ===== FIELD ===== */
.tm-field-group label {
    display: block;
    font-size: 13px;
    color: var(--white-color);
    margin-bottom: 6px;
}

.tm-field-group label.tm-label {
    color: #FFFFFF !important;
}

/* ===== INPUT ===== */
.tm-input {
    width: 100% !important;
    height: 48px !important;
    line-height: 48px;
    padding: 0 16px !important;
    font-size: 15px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important; /* 🔥 bo mềm hơn */
    background: #f9fafb !important;
    outline: none;
    transition: all 0.2s;
}

/* focus giống ảnh */
.tm-input:focus {
    border-color: var(--secondary-color) !important;
    background: #fff !important;
}

/* ===== FOOTER ===== */
.tm-footer {
    display: flex;
    justify-content: flex-end; /* 🔥 button nằm bên phải */
    align-items: center;
}

/* ===== BUTTON ===== */
.tm-action {
    width: 100%;
}
.tm-btn {
    background: var(--secondary-color) !important;
    color: var(--white-color) !important;
    border: none !important;
    padding: 0 28px !important;
    height: 48px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all 0.25s;
}

.tm-btn:hover {
    background: var(--white-color) !important;
    color: var(--secondary-color) !important;
}

/* ===== PRIVACY ===== */
.tm-privacy {
    font-size: 12px;
    color: var(--white-color);
    margin-top: 16px;
    border-top: 1px solid #f3f4f6;
    padding-top: 12px;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .tm-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 640px) {

    .tm-wrap {
        padding: 20px;
    }

    .tm-form-grid {
        grid-template-columns: 1fr; /* 🔥 stack */
    }

    .tm-footer {
        justify-content: stretch;
    }

    .tm-btn {
        width: 100% !important;
    }
}


.quote-widget {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    max-width: 100%;
}

/* Header */
.quote-widget__header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.quote-widget__header h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #ddd;
    margin-top: 6px;
}

/* Grid */
.quote-widget__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Field */
.quote-widget__field {
    width: 100%;
}

/* Input chung */
.quote-widget__input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #f06728 !important;
    border-radius: 6px !important;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
    background: #fff;
    transition: 0.2s;
    height: 40px;
}

.quote-widget__submit input {
    border-radius: 6px;
    background-color: #f06728 !important;
}

/* Focus */
.quote-widget__input:focus {
    outline: none;
    border-color: #f06728;
    box-shadow: 0 0 0 2px rgba(240, 103, 40, 0.15);
}

/* Placeholder */
.quote-widget__input::placeholder {
    color: #999;
}

/* Button */
.quote-widget__button {
    width: 100%;
    padding: 12px;
    background: #f06728;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.quote-widget__button:hover {
    background: #d8561f;
}

