/* Minification failed. Returning unminified contents.
(37,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(38,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(39,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(40,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(79,21): run-time error CSS1039: Token not allowed after unary operator: '-teal'
(97,17): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(102,48): run-time error CSS1039: Token not allowed after unary operator: '-teal'
(102,61): run-time error CSS1039: Token not allowed after unary operator: '-teal'
(182,25): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(202,22): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(545,33): run-time error CSS1039: Token not allowed after unary operator: '-teal'
(549,25): run-time error CSS1039: Token not allowed after unary operator: '-teal'
(555,21): run-time error CSS1039: Token not allowed after unary operator: '-teal'
(584,17): run-time error CSS1039: Token not allowed after unary operator: '-teal'
(716,25): run-time error CSS1039: Token not allowed after unary operator: '-teal'
(839,25): run-time error CSS1039: Token not allowed after unary operator: '-teal'
 */
/* =====================================================
   BASE
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Be Vietnam Pro', Arial, sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


/* =====================================================
   COLOR VARIABLES
===================================================== */
:root {
    --primary: #f7931e;
    --teal: #00667f;
    --teal-dark: #07545f;
    --gray-bg: #f5f5f5;
}
/* =====================================================
   Common
===================================================== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* =====================================================
   HEADER
===================================================== */
.site-header {
    width: 100%;
}

/* ---------- TOP BAR ---------- */
.top-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
}

.company-name {
    font-size: 14px;
    line-height: 1.2;
}

    .company-name strong {
        color: var(--teal);
    }

.top-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-links a {
    font-size: 14px;
    margin: 0 6px;
    color: #555;
}

.hotline {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* ---------- MAIN NAV ---------- */
.main-nav {
    background: linear-gradient(to right, var(--teal), var(--teal));
    display: flex;
}

    .main-nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.menu {
    display: flex;
    margin-left: 5px;
}

    .menu > li > a {
        display: block;
        padding: 14px 10px;
        color: #fff;
        font-weight: 500;
    }

ul li::before {
    content: "";
    position: absolute;
    right: 0; /* nằm ở cuối li */
    top: 50%;
    width: 1px; /* độ dày line */
    height: 15px; /* chiều cao line */
    opacity: 0.5;
}

.menu > li > a:hover {
    background: rgba(255,255,255,0.15);
}

.menu-toggle {
    display: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

/* =====================================================
   BANNER
===================================================== */
.banner {
    /*background: url('/Content/frontend-final/Assets//images/slider1.jpg') center/cover no-repeat;*/
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 480px;
    position: relative;
    display: flex;
    align-items: center;
}

    .banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.45);
    }

.banner-content {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 600px;
    color: #fff;
}

    .banner-content h1 {
        font-size: 38px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

        .banner-content h1 span {
            color: var(--primary);
        }

    .banner-content p {
        font-size: 18px;
        margin-bottom: 25px;
    }

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

/* =====================================================
   BUTTON
===================================================== */
.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 22px;
    font-weight: 500;
}

/* ===== SERVICES ===== */
.services {
    background: #f8f9fb;
    padding: 50px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-box {
    background: #fff;
    border-radius: 6px;
    padding: 24px 20px 26px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .service-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

.service-icon {
    margin-bottom: 14px;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: center; /* icon + text nằm giữa box */
    gap: 10px;
    margin-bottom: 12px;
}

.service-icon img {
    height: 36px; /* icon nhỏ gọn như demo */
    width: auto;
}

.service-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0a6f7e;
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap; /* không xuống dòng */
}

.service-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 18px;
    height: 58px;
}

.btn-more {
    display: inline-block;
    padding: 8px 18px;
    background: #f7931e;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background .25s;
}

    .btn-more:hover {
        background: #d97706;
    }

/* ===== SERVICES - MOBILE ===== */
@media (max-width: 768px) {

    .services {
        padding: 40px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-box {
        padding: 20px 16px 22px;
        text-align: center;
    }

    /* header icon + title */
    .service-header {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }

    .service-icon img {
        height: 40px;
    }

    .service-box h3 {
        font-size: 15px;
        line-height: 1.4;
        white-space: normal;
    }

    .service-box p {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .btn-more {
        padding: 7px 16px;
        font-size: 13px;
    }
}

/* ===== PROJECT GALLERY ===== */
.project-gallery {
    padding: 30px 0;
    background: #fff;
    background: linear-gradient( to right, #fde3c2, /* cam pastel rất nhạt */
    #cfe9ef /* teal pastel rất nhạt */
    );
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 36px;
    color: #222;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

    .gallery-item img[this] {
        width: 100%;
        height: 245px;
        object-fit: cover;
    }

    .gallery-item img {
        width: 100%;
        height: 245px;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

/* overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 111, 126, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
}

    .gallery-overlay span {
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        padding: 0 14px;
        line-height: 1.4;
    }

/* hover effect */
.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* button */
.gallery-more {
    text-align: center;
    margin-top: 26px;
}

/* ====== gallery-des hiển thị gọn trên ảnh ====== */
.gallery-des {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    background: linear-gradient( to top, rgba(0,0,0,0.75), rgba(0,0,0,0.0) );
    color: #fff;
    z-index: 2;
}

    .gallery-des .title {
        font-size: 16px;
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
    }

    .gallery-des .date {
        font-size: 13px;
        opacity: 0.85;
    }

/* 📱 Mobile tối ưu */
@media (max-width: 768px) {
    .gallery-des {
        /* display: none; */
    }

        .gallery-des .title {
            font-size: 14px;
        }

        .gallery-des .date {
            font-size: 12px;
        }
}

.shimmer-text {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-weight: 600;
    overflow: hidden;
}

    /* vệt sáng */
    .shimmer-text::after {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 120%;
        height: 100%;
        background: linear-gradient( 120deg, transparent 0%, rgba(255,255,255,0.2) 40%, rgba(255,255,255,0.6) 50%, rgba(105, 243, 26, 0.2) 60%, transparent 100% );
        transform: skewX(-20deg);
        opacity: 0;
    }

/* hover vào cả card */
.gallery-item:hover .shimmer-text::after {
    animation: shimmer 1.2s ease-in-out forwards;
    opacity: 1;
}

@keyframes shimmer {
    from {
        left: -120%;
    }

    to {
        left: 120%;
    }
}

/*=== NOI THAT VH====*/
/* ===== ABOUT VIET HAN ===== */
.viet-han {
    padding: 10px 0;
}

.viet-han-inner {
    display: grid;
    grid-template-columns: 55% 42%;
    gap: 40px;
    align-items: center;
}

.viet-han-image img {
    width: 100%;
    height: 100%;
    max-height: 395px;
    object-fit: cover;
    border-radius: 16px;
    transition: opacity 0.3s ease;
}

.sub-title {
    color: #7a7a7a;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.viet-han-content h2 {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 30px;
}

.viet-han-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.viet-han-item {
    padding-left: 20px;
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .viet-han-item h3 {
        font-size: 18px;
        margin-bottom: 6px;
        transition: color 0.3s;
    }

    .viet-han-item p {
        font-size: 14px;
        color: #666;
    }

    .viet-han-item.active {
        border-left-color: var(--teal);
    }

        .viet-han-item.active h3 {
            color: var(--teal);
        }

/* Hover desktop */
@media (hover: hover) {
    .viet-han-item:hover h3 {
        color: var(--teal);
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .viet-han-inner {
        grid-template-columns: 1fr;
    }

    .viet-han-content h2 {
        font-size: 22px;
    }

    .viet-han-image img {
        max-height: 300px;
    }
}

/* =====================================================
   HOUSE SAMPLE
===================================================== */
.beautiful-house {
    padding: 10px 0;
    background: #fff;
}

.section-title {
    font-size: 28px;
    color: var(--teal);
    margin-bottom: 30px;
}

/* GRID */
.house-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ITEM */
.house-item {
    text-decoration: none;
    color: inherit;
}

.house-thumb {
    overflow: hidden;
    border-radius: 16px;
}

    .house-thumb img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

/* ZOOM HOVER */
.house-item:hover img {
    transform: scale(1.08);
}

.house-title {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
    color: #333;
}

/* TABLET */
@media (max-width: 1024px) {
    .house-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .house-thumb img {
        height: 220px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .house-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .house-thumb img {
        height: 200px;
    }

    .house-title {
        font-size: 13px;
    }
}

/* ===== WHY CHOOSE ===== */
.why-choose {
    position: relative;
    background: url('/Content/frontend-final/Assets/images/why-bg.png') center right / cover no-repeat;
    padding: 20px 0;
    color: #fff;
    overflow: hidden;
}

/* overlay xanh bên trái */
.why-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(9, 86, 102, 0.92) 0%, rgba(9, 86, 102, 0.85) 45%, rgba(9, 86, 102, 0.3) 70%, rgba(9, 86, 102, 0) 100% );
    z-index: 1;
}

.why-content {
    position: relative;
    z-index: 2;
}

.why-left {
}

    /* title */
    .why-left h2 {
        font-size: 30px;
        font-weight: 800;
        margin-bottom: 22px;
    }

        .why-left h2 span {
            color: #f7931e;
        }

/* list */
.why-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

    .why-list li {
        position: relative;
        padding-left: 32px;
        margin-bottom: 12px;
        font-size: 15px;
        line-height: 1.6;
    }

        .why-list li::before {
            content: "✔";
            position: absolute;
            left: 0;
            top: 0.2em;
            width: 22px;
            height: 22px;
            background: #ffffff;
            color: var(--teal);
            font-weight: 700;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

/* button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f7931e;
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s;
}

    .btn-cta:hover {
        background: #d97706;
    }


/* ===== FOOTER INFO ===== */
.footer-info {
    background: #f6f7f9;
    padding: 22px 0;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #444;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-icon img {
    height: 25px;
    margin-top: 2px;
}

.footer-text strong {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.footer-text p {
    margin: 0;
    line-height: 1.5;
    color: #555;
}


/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 991px) {

    .top-bar-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .banner-content,
    .why-content {
        margin-left: 20px;
        margin-right: 20px;
    }

    .services,
    .house-grid,
    .project-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SUB MENU ===== */
.menu li {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 999;
}

    .sub-menu li a {
        display: block;
        padding: 10px 14px;
        font-size: 14px;
        color: #333;
        white-space: nowrap;
    }

        .sub-menu li a:hover {
            background: #f5f5f5;
            color: var(--teal);
        }

/* ===== HOVER DESKTOP ===== */
.menu > li:hover > .sub-menu {
    display: block;
}

/* ===== MENU CẤP 3 ===== */
.sub-menu li.has-child > .sub-menu {
    top: 0;
    left: 100%;
}

.sub-menu li.has-child:hover > .sub-menu {
    display: block;
}


/*LOGO customize*/
/* ===== LOGO OVERLAP TOP-BAR & NAV ===== */
/* ===== LOGO OVERLAP (DESKTOP) ===== */
.top-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.company-name {
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
}

/* ===== LOGO OVERLAP (DESKTOP) ===== */
.top-bar {
    position: relative;
    height: 70px;
}


/* ===== LOGO AREA WITH SHAPE BACKGROUND ===== */
.logo-area {
    width: 112px; /* kiểm soát kích thước */
    height: 91px;
    /* background: url('/Content/frontend-final/Assets//images/logo_bg.png') no-repeat center; */
    background-size: contain; /* QUAN TRỌNG */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 9999;
    background-color: #ffffff;
    top: 26px;
    border-bottom-left-radius: 5px;
}

    /* Logo thật */
    .logo-area img {
        width: 100px; /* chỉnh theo logo thực tế */
        height: auto;
        position: relative;
        left: -4px;
        padding-bottom: 4px;
    }

@media (max-width: 991px) {

    .menu li.active > .sub-menu {
        display: block;
    }

    .sub-menu {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
    }

        .sub-menu li a {
            color: #fff;
            padding-left: 30px;
        }

    .logo-area {
        background: none; /* ẩn hình nền */
    }
}
/* Custom CSS Mobile */
/* @media (max-width: 549px) {
  .company-name {
    font-size: 13px !important;
}
} */
/* =========================
   MOBILE HEADER (<= 991px)
========================= */
@media (max-width: 991px) {

    /* ----- TOP BAR ----- */
    .top-bar {
        background: #f7931e;
        background: linear-gradient(to right, #f3b76b, #5ad1ed);
    }

    .top-bar-inner {
        flex-direction: column;
        align-items: center;
        padding: 6px 10px;
    }

    .company-name {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: #fff;
        text-align: center;
        line-height: 1.4;
    }

    .top-links,
    .hotline {
        display: none;
    }
    /* ----- MAIN NAV ----- */
    .main-nav {
        background: #fff;
        border-bottom: 1px solid #eee;
    }

        .main-nav .container {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 60px;
            flex: 1 1 0;
            z-index: 999;
        }

    /* Logo center */
    .logo-area {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

        .logo-area img {
            height: 55px !important;
            top: -7px;
            width: auto;
        }
    /* ----- MENU MOBILE ----- */

    .menu.active {
        display: flex;
    }

    .menu > li > a {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255,255,255,.2);
        color: #fff;
    }

    /* Sub menu */
    .sub-menu {
        display: none;
        position: static;
        background: rgba(255,255,255,0.08);
    }

    .has-child.active > .sub-menu {
        display: block;
    }

    .sub-menu li a {
        padding-left: 30px;
        font-size: 14px;
        color: #fff;
    }

    .sub-menu .sub-menu li a {
        padding-left: 45px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {

    .main-nav {
        position: relative;
    }

    .menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100vw;
        margin: 0;
        padding: 0;
        background: #0a6f7e;
        flex-direction: column;
        display: none;
        z-index: 999;
    }

        .menu.active {
            display: flex;
        }

        .menu > li {
            width: 100%;
        }

            .menu > li > a {
                display: block;
                padding: 14px 16px;
            }
}

@media (max-width: 991px) {
    .top-bar {
        height: 35px;
    }

    .has-child > a {
        position: relative;
        padding-right: 40px;
    }

        .has-child > a::after {
            content: "▾";
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 14px;
        }

    .has-child.active > a::after {
        content: "▴";
    }

    .sub-menu {
        display: none;
        background: rgba(255,255,255,0.08);
    }

    .has-child.active > .sub-menu {
        display: block;
    }

    .service-box p {
        height: auto;
    }
}

.menu-toggle {
    width: 26px;
    height: 20px;
    cursor: pointer;
    position: relative;
}

.section-divider {
    position: relative;
    width: 100%;
    height: 2px;
    margin: 20px 0;
    background: rgba(0,0,0,0.08);
    overflow: hidden;
}

    /* vệt sáng chạy */
    .section-divider::after {
        content: "";
        position: absolute;
        top: 0;
        left: -30%;
        width: 30%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,0.6), transparent );
        animation: divider-light 4s ease-in-out infinite;
    }

@keyframes divider-light {
    0% {
        left: -30%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        left: 100%;
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f7931e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(247, 147, 30, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

    /* Khi hiện */
    .back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-to-top:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 26px rgba(247, 147, 30, 0.45);
    }
/* =========================
   STICKY MAIN NAV
========================= */

.main-nav {
    position: relative;
    z-index: 999;
}

    /* Khi sticky */
    .main-nav.is-sticky {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        animation: slideDown .25s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,.12);
    }

/* Đổ bóng nhẹ */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

body.has-sticky {
    padding-top: 60px; /* chiều cao main-nav */
}

/* desktop có thể cao hơn */
@media (min-width: 992px) {
    body.has-sticky {
        padding-top: 64px;
    }
}

.viet-han-content {
    text-align: justify;
}

.logo-sticky {
    width: 50px;
    height: auto;
    background-color: #fff;
    border-radius: 4px;
    padding: 1px;
}

/* Logo ẩn mặc định */
.main-nav .logo-sticky {
    display: none;
    height: 40px;
    /* logo nhỏ */
}

/* Khi nav sticky thì hiện logo */
.main-nav.is-sticky .logo-sticky {
    display: block;
}

/* Căn chỉnh cho đẹp */
.main-nav .container {
    display: flex;
    align-items: center;
}

.main-nav.is-sticky .menu {
    margin-left: 20px;
}

.has-sticky .logo-area {
    display: none;
}

@media (max-width: 991px) {
    .main-nav.is-sticky .menu {
        margin-left: 0px;
    }
}

@media (max-width: 991px) {

    .menu {
        display: none;
        flex-direction: column;
        background: #0b6770;
        width: 100%;
    }

        .menu.active {
            display: flex;
        }

        .menu li {
            position: relative;
        }

        .menu .sub-menu {
            max-height: 0;
            overflow: hidden;
            transition: max-height .3s ease;
            background: #0e7a84;
        }

        .menu li.open > .sub-menu {
            max-height: 500px;
        }

        .menu li.has-child > a::after {
            content: "▾";
            float: right;
            transition: transform .3s ease;
        }

        .menu li.open > a::after {
            transform: rotate(180deg);
        }

    /* ===== HAMBURGER ===== */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 19px;
        cursor: pointer;
    }

        .menu-toggle span {
            display: block;
            width: 100%;
            height: 3px;
            background: #110101;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        /* Active → X */
        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }
}

.category-layout {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 24px;
    margin-top: 20px;
    align-items: start;
}

.card-box {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
}

.card-header {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #d71920;
    position: relative;
    text-transform: uppercase;
}

    .card-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -13px;
        width: 60px;
        height: 2px;
        background: #f7901e;
    }

    .card-title img {
        width: 26px;
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 18px;
}

.category-card a {
    display: block;
    color: #333;
}

.category-card .thumb {
    border-radius: 6px;
    overflow: hidden;
}

.category-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    transition: .4s;
}

.category-card a:hover img {
    transform: scale(1.08);
}

.category-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0a5c7a;
    margin: 10px 0 5px;
}

.category-card .date {
    font-size: 13px;
    color: #999;
}

.category-card p {
    font-size: 14px;
    color: #666;
    margin-top: 6px;
}
.right-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sidebar-group {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.sidebar-tag {
    display: inline-block;
    background: #d71920;
    color: #fff;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #d78115, #065763);
}

.sidebar-item-cat,
.sidebar-item {
    display: flex;
    gap: 10px;
}
    .sidebar-item-cat img,
    .sidebar-item img {
        min-width: 80px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
    }
    .sidebar-item-cat a,
    .sidebar-item a {
        font-size: 14px;
        font-weight: 600;
        color: #0a5c7a;
    }
    .sidebar-item-cat .date,
    .sidebar-item .date {
        display: block;
        font-size: 11px;
        color: #999;
    }

@media (max-width: 991px) {
    .category-layout {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

/*====CAT===*/
.cat-list-title {
    min-height: 60px;
}
/*====SIDE BAR====*/
.sidebar-item a {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
    background: linear-gradient(to right, #e3b883, #99e2ed);
    border-radius: 3px;
    padding: 4px 10px;
    color: #065561;
}

.sidebar-item .num-cat,
.sidebar-item .date {
    display: block;
    font-size: 11px;
    color: #999;
}

.sidebar-item img {
    width: auto;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    min-width: 85px;
}
.sidebar-item:hover a {
    color: #fff;
    background: linear-gradient(135deg, #b88a4a, #4fb9c8);
}

/*====NAV-PAGINATION=======*/
.nav-pagination > nav > ul {
    margin: 5px 0;
    font-size: .90em;
    text-align: center;
}

    .nav-pagination > nav > ul > li {
        margin: 0 .4em;
        display: inline-block;
    }

        .nav-pagination > nav > ul > li > a {
            font-size: 1.1em;
            display: block;
            height: 2.25em;
            line-height: 2em;
            text-align: center;
            width: auto;
            min-width: 2.25em;
            padding: 0 7px;
            font-weight: bolder;
            border-radius: 99px;
            border: 2px solid #446084;
            transition: all .3s;
            vertical-align: top;
            color: #446084
        }

            .nav-pagination > nav > ul > li > a:hover {
                font-size: 1.1em;
                display: block;
                height: 2.25em;
                line-height: 2em;
                text-align: center;
                width: auto;
                min-width: 2.25em;
                padding: 0 7px;
                font-weight: bolder;
                border-radius: 99px;
                border: 2px solid #f8901f;
                transition: all .3s;
                vertical-align: top;
                color: #fff;
                background-color: #f8901f;
            }

        .nav-pagination > nav > ul > li.active > a {
            font-size: 1.1em;
            display: block;
            height: 2.25em;
            line-height: 2em;
            text-align: center;
            width: auto;
            min-width: 2.25em;
            padding: 0 7px;
            font-weight: bolder;
            border-radius: 99px;
            border: 2px solid #f8901f;
            transition: all .3s;
            vertical-align: top;
            color: #fff;
            background-color: #f8901f;
        }

/*===DETAIL===*/
.entry-content.single-page {
    text-align: justify;
    padding: 10px 20px;
}
.entry-content.single-page a {
    color: #f87858;
}
    .entry-content.single-page p {
        margin-bottom: 1em;
    }

    /*====GIOIHIEU====*/
.category-grid.category-grid-about,
.category-layout.about-cus-main {
    grid-template-columns: 10fr;
}
.category-grid.cat-services {
    grid-template-columns: repeat(4, 1fr);
}

.single-page table {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    table-layout: fixed;
}

.single-page col {
    width: auto !important;
}

.single-page td {
    word-break: break-word;
}

/* anh trong CKEditor */
.single-page img {
    max-width: 100% !important;
    height: auto !important;
}
.contact-page {
  padding: 40px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-title {
  font-size: 26px;
  color: #e53935;
  margin-bottom: 12px;
}

.contact-desc {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  line-height: 1.6;
  color: #333;
}

.contact-list strong {
  display: block;
}
.icon {
  width: 28px;
  height: 28px;
  background: #ff5722;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
}

.icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: #fff;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.icon.location::after {
  mask-image: url("icons/location.svg");
}

.icon.phone::after {
  mask-image: url("icons/phone.svg");
}

.icon.mail::after {
  mask-image: url("icons/mail.svg");
}
.contact-form {
  background: #fffaf3;
  border: 1px dashed #ffa726;
  padding: 25px;
  border-radius: 8px;
}

.form-title {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffa726;
  outline: none;
}

.btn-submit {
  background: #ff9800;
  color: #000;
  border: none;
  padding: 10px 26px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
}

.btn-submit:hover {
  background: #fb8c00;
}
@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
span.field-validation-error {
    color: red;
    font-size: 12px;
}
.about-section.v2 {
    padding: 15px;
    background: linear-gradient(180deg, #fafafa, #fff);
}

.about-card {
    max-width: 920px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .06);
}

.about-quote {
    font-size: 20px;
    font-weight: 600;
    color: #b23b2d;
    padding-left: 20px;
    border-left: 4px solid #b23b2d;
    margin-bottom: 24px;
}

.about-content p {
    line-height: 1.9;
    margin-bottom: 16px;
    color: #555;
}

.mission-section.v2 {
    padding: 70px 20px;
    background: #f8f8f8;
}

.mission-track {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.mission-track::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
}

.mission-box {
    background: #fff;
    padding: 32px 24px;
    border-radius: 14px;
    text-align: center;
    position: relative;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

.step {
    display: inline-block;
    background: #b23b2d;
    color: #fff;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

@media (max-width: 991px) {
    .mission-track {
        grid-template-columns: 1fr;
    }

    .mission-track::before {
        display: none;
    }
    .about-card {
        padding: 15px;
    }
    .category-grid.cat-services {
        grid-template-columns: 1fr;
    }
}
.hide{
    display: none !important;
}

@media only screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 1366px) and (orientation: portrait) {

    /* CSS cho iPad Pro 12.9 doc */
    .logo-area{
        height: 90px !important;
    }
    .menu > li > a {
        padding: 14px 5px !important;
        font-size: 12px !important
    }
}

