@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #027639;
    --primary-yellow: #ffc107;
    --accent-green: #027639;
    --light-bg: #f8f9fa;
}
body
{
    font-family: 'Mulish',sans-serif;
    font-size: 16px;
    overflow-x:hidden;
}
ul
{

}
a
{
    text-decoration: none;
}
a:hover, a:focus 
{
    text-decoration: none;
    outline: none;
}
img {
    max-width: 100%;
}

:root {
    --primary-color: #027639;
    --accent-color: #FEC803;
    --white-color: #ffffff;
    --dark-color: #1a1a1a;
    --light-bg: #f8f9fa;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Top Bar & Language Switcher */
.top-bar {
    background-color: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.88rem;
}

.top-bar a {
    color: var(--white-color);
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent-color);
}

.btn-lang {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white-color);
    padding: 3px 12px;
    font-size: 0.82rem;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-lang:hover, 
.btn-lang:focus, 
.show > .btn-lang {
    background: var(--accent-color);
    color: var(--dark-color);
    border-color: var(--accent-color);
}

.btn-lang .fi {
    border-radius: 2px;
    font-size: 0.95rem;
}

.lang-dropdown {
    min-width: 160px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-top: 3px solid var(--accent-color);
    border-radius: 0 0 8px 8px;
    padding: 6px 0;
}

.lang-dropdown .dropdown-item {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    color: var(--dark-color);
    transition: var(--transition);
}

.lang-dropdown .dropdown-item:hover {
    background-color: rgba(2, 118, 57, 0.08);
    color: var(--primary-color);
}

.lang-dropdown .dropdown-item.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Main Header */
.main-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding-top: 2px;
    padding-bottom: 2px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.brand-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.brand-text .highlight {
    color: var(--dark-color);
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: bold;
    padding: 12px 15px !important;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
}
.navbar-nav .nav-link {font-size: 17px;}
/*.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    background-color: var(--accent-color);
    transition: var(--transition);
    border-radius: 2px;
}*/

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 70%;
}

.dropdown-menu.animated-dropdown {
    border: none;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    margin-top: 10px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu.animated-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

.btn-pccc {
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-pccc:hover {
    background: var(--accent-color);
    color: var(--dark-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 200, 3, 0.4);
}

/* Hero Slider co giãn chuẩn theo ảnh */
.hero-slide-item {
    width: 100%;
    /* Bạn chọn 1 trong các tỉ lệ dưới đây cho phù hợp với ảnh thực tế của bạn */
/*    aspect-ratio: 16 / 9; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Tùy chỉnh responsive cho màn hình điện thoại */
@media (max-width: 768px) {
    .hero-slide-item {
        aspect-ratio: 4 / 3; /* Tỉ lệ vuông hơn trên mobile để ảnh dễ nhìn */
    }
}


.hero-slide-item {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slide-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Lớp phủ màu tối phủ lên ảnh */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

.badge-accent {
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 700;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-accent:hover {
    background-color: #e5b400;
    color: var(--dark-color);
    transform: translateY(-2px);
}

.hero-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--white-color) !important;
    border-radius: 50% !important;
    font-size: 1.2rem !important;
    backdrop-filter: blur(5px);
    transition: var(--transition) !important;
}

.hero-slider .owl-nav button:hover {
    background: var(--accent-color) !important;
    color: var(--dark-color) !important;
}

.hero-slider .owl-nav .owl-prev {
    left: 30px;
}

.hero-slider .owl-nav .owl-next {
    right: 30px;
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.hero-slider .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.hero-slider .owl-dots .owl-dot.active span {
    background: var(--accent-color);
    width: 30px;
}



/* ===================================================
   SECTION ABOUT US (PCCC STYLE)
=================================================== */
.about-section {
    background-color: var(--white-color);
}

.about-img-wrapper {
    position: relative;
}

.main-about-img {
    width: 100%;
    object-fit: cover;
    border-left: 5px solid var(--primary-color);
    height: 600px;
}

/* Badge số năm kinh nghiệm đè lên ảnh */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 15px 25px;
/*    border-radius: 12px;*/
    box-shadow: 0 10px 20px rgba(2, 118, 57, 0.3);
    border-bottom: 4px solid var(--accent-color);
}

.exp-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Content Styling */
.sub-title {
    color: var(--primary-color);
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}

.main-title {
    color: var(--dark-color);
    font-size: 2rem;
    line-height: 1.3;
}

.description {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Card Tầm Nhìn & Sứ Mệnh */
.vision-mission-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.vision-mission-card:hover {
    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-left-color: var(--primary-color);
    transform: translateY(-3px);
}

.card-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(2, 118, 57, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.vision-mission-card:hover .card-icon {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Nút bấm */
.btn-pccc-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 0px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-pccc-primary:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(254, 200, 3, 0.4);
}

.btn-pccc-outline {
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 0px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-pccc-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Responsive */
@media (max-width: 991px) {
    .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 15px;
        display: inline-flex;
    }
}




/* ===================================================
   FIELD CAROUSEL - RED THEME & CUSTOM NAV
=================================================== */

.fields-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 90px 0;
}

.z-index-2 {
    z-index: 2;
}

/* Tiêu đề phụ chuyển sang tông Đỏ/Vàng cam */
.sub-title-accent {
    color: #fec803;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}

.main-title-light {
    color: #ffffff;
    font-size: 2.2rem;
}

.description-light {
    color: #e2e8f0;
    font-size: 0.95rem;
}

/* Base Card Style */
.field-card {
    position: relative;
    overflow: hidden;
    background: #000;
    transition: all 0.4s ease;
    height: 380px;
}

.field-img-wrapper {
    width: 100%;
    height: 100%;
}

.field-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Khối Overlay nội dung tông màu Đỏ Chuyên Nghiệp */
.field-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgb(186 159 64) 0%, rgb(254 200 3) 100%);
    padding: 20px 15px;
    text-align: center;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.field-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    line-height: 1.3;
}
.field-title a
{
    color: #fff;
}

.field-desc {
    font-size:16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Nút bấm TÌM HIỂU THÊM dạng hộp màu tối */
/*.btn-pccc-more {
    display: inline-block;
    background: #0b1329;
    color: #ffffff;
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-pccc-more:hover {
    background: #ffffff;
    color: #000000;
}*/

/* Button "Xem Tất Cả" Đỏ đồng bộ */
.btn-all-solutions {
    background-color: #027639;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 4px;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-all-solutions:hover {
    background-color: var(--primary-yellow);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.5);
}

/* ===================================================
   CẤU HÌNH MŨI TÊN ĐIỀU HƯỚNG (NAV BUTTONS)
=================================================== */

#fields-carousel .owl-nav button.owl-prev,
#fields-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgb(2 118 57) !important; /* Nền đỏ nổi bật */
    color: #ffffff !important;
    border-radius: 50% !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    z-index: 20;
}

/* Vị trí 2 nút sang hẳn 2 bên viền */
#fields-carousel .owl-nav button.owl-prev {
    left: -20px;
}

#fields-carousel .owl-nav button.owl-next {
    right: -20px;
}

/* Hover chuyển sang màu tối hơn + Phóng to nhẹ */
#fields-carousel .owl-nav button:hover {
    background: #991b1b !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.6);
}

/* ===================================================
   HIỆU ỨNG FOCUS ITEM GIỮA (.owl-item.active.center)
=================================================== */

@media (min-width: 992px) {
    #fields-carousel .owl-item {
        opacity: 0.7;
        transition: opacity 0.4s ease;
    }

    #fields-carousel .owl-item.active.center {
        opacity: 1;
    }

    #fields-carousel .owl-item.active.center .field-info-overlay {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}





/* ===================================================
   PROJECTS SECTION (CONTAINER-FLUID & NAVY THEME)
=================================================== */

.bg-dark-navy {
    background-color: #fff; /* Nền xanh đen sâu sang trọng */
}

/* Tiêu đề phụ dùng tông màu Vàng Kim / Cam Nhẹ làm điểm nhấn */
.sub-title-accent {
    color: #f59e0b;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.main-title-light {
    color: #ffffff;
    font-size: 2.2rem;
}
.main-title-light1
{   
    color: #027639;
    font-size: 2.2rem;
}
.description-light {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Card tổng */
.project-card {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

/* Khung ảnh làm nền toàn bộ Card */
.project-img-wrapper {
    position: relative;
    display: block;
/*    height: 420px;  Chiều cao cố định đủ chỗ chứa thông tin đè lên */
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08); /* Zoom ảnh nhẹ khi hover */
}

/* Badge loại dự án nằm góc trên trái */
/*.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    background: rgba(15, 23, 42, 0.75);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}*/

/* ===================================================
   KHỐI THÔNG TIN MỜ ĐÈ NẰM Ở ĐÁY ÁNH
=================================================== */
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    /* Dùng Gradient tối + Hiệu ứng kính mờ glassmorphism */
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(11, 19, 41, 0.88) 100%);
    backdrop-filter: blur(8px); /* Làm mờ phần ảnh phía sau */
    -webkit-backdrop-filter: blur(8px);
/*    border-top: 1px solid rgba(255, 255, 255, 0.1);*/
    transition: all 0.4s ease;
}

/* Hiệu ứng nâng độ mờ đậm hơn khi rê chuột vào Card */
.project-card:hover .project-info {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(11, 19, 41, 0.95) 100%);
    backdrop-filter: blur(12px);
}

/* Font chữ & Đường link */
.project-meta {
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
    display: block;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.project-title a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: var(--primary-yellow);
}

.project-desc {
    font-size: 0.83rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-project-link {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-project-link i {
    transition: transform 0.3s ease;
}

.btn-project-link:hover {
    color:var(--primary-yellow);
}

.btn-project-link:hover i {
    transform: translateX(5px);
}
.khung_project_card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
}




/* ===================================================
   PROFILE CTA SECTION - UNIFIED BRAND COLOR THEME
=================================================== */

.profile-cta-section {
    /* Nền tối sâu phối cùng hiệu ứng ống PCCC đặc trưng */
   
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.z-index-2 {
    z-index: 2;
}

/* Subtitle & Dấu chấm đỏ chủ đạo */
.sub-title-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sub-title-dot {
    width: 8px;
    height: 8px;
    background-color:  var(--primary-blue); /* Đỏ chủ đạo */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--primary-blue);
}

.sub-title-text {
    color: var(--primary-blue); /* Đỏ sáng nổi bật trên nền tối */
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* Tiêu đề chính */
.cta-title {
    font-size: 2.3rem;
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: #ffffff;
}

/* Dòng chữ nhấn mạnh - Gradient Đỏ PCCC Chuyên Nghiệp */
.text-highlight {
    background: linear-gradient(90deg, #fdc803 0%, #027639 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Mô tả ngắn */
.cta-desc {
    font-size: 0.95rem;
    color: #e2e8f0;
    max-width: 650px;
    line-height: 1.6;
}

/* Nút bấm Xem Profile chính (Tông Đỏ Cam Đậm Chất PCCC) */
.btn-profile-primary {
    background: linear-gradient(90deg, #fdc803 0%, #027639 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 14px 28px;
    border-radius: 0px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.btn-profile-primary:hover {
/*    background: linear-gradient(90deg, #b91c1c 0%, #ea580c 100%);*/
    background: linear-gradient(90deg, #027639 0%, #fdc803 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.6);
}

.btn-profile-primary i {
    transition: transform 0.3s ease;
}

.btn-profile-primary:hover i {
    transform: translateX(4px);
}

/* Chữ HOẶC phân tách */
.cta-or-text {
    font-size: 0.85rem;
    color: #94a3b8;
    letter-spacing: 1px;
}

/* Khối Hotline nhanh góc phải */
.quick-contact-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 18px 6px 6px;
    border-radius: 50px;
    border: 1px solid rgba(220, 38, 38, 0.3); /* Viền màu đỏ nhẹ đồng bộ */
    backdrop-filter: blur(5px);
    transition: border-color 0.3s ease;
}

.quick-contact-box:hover {
    border-color: #dc2626;
}

.icon-circle {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #dc2626, #f97316);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.4);
}

.fs-7 {
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    color: #cbd5e1;
}

/* SĐT hotline đổi màu đỏ sáng */
.phone-number {
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #f97316 !important;
}

/* Responsive cho thiết bị di động */
@media (max-width: 576px) {
    .cta-title {
        font-size: 1.6rem;
    }
    
    .cta-buttons-wrapper {
        flex-direction: column;
    }
}



/* ===================================================
   NEWS & BLOG SECTION - UNIFIED RED BRAND THEME
=================================================== */




.section-main-title {
    font-size: 2rem;
    line-height: 1.25;
    color: #0f172a;
}

.section-desc {
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Card bài viết */
.news-card {
    background: transparent;
    transition: all 0.3s ease;
    padding: 5px;
}

/* Khung ảnh giữ nguyên hiệu ứng cắt góc */
.news-img-wrapper {
    position: relative;
    display: block;
    height: 310px;
    width: 100%;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.08);
}

/* Tiêu đề bài viết khi Hover chuyển màu Đỏ chủ đạo */
.news-title {
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 12px;
}

.news-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-title a {
    color: var(--primary-blue); /* Đỏ chủ đạo khi rê chuột */
}

/* Nút Read More chuyển hẳn sang Đỏ chủ đạo */
.btn-read-more {
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.news-card:hover .btn-read-more {
    color: var(--primary-yellow); /* Đỏ đậm hơn khi hover */
}

.news-card:hover .btn-read-more i {
    transform: translateX(5px);
}

/* Nút điều hướng Owl Carousel tone Đỏ */
#news-carousel .owl-nav button.owl-prev,
#news-carousel .owl-nav button.owl-next {
    position: absolute;
    top: -100px;
    width: 38px;
    height: 38px;
    background: #f8fafc !important;
    color:var(--primary-blue) !important;
    border-radius: 50% !important;
    border: 1px solid var(--primary-blue) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

#news-carousel .owl-nav button.owl-prev { right: 50px; }
#news-carousel .owl-nav button.owl-next { right: 0; }

#news-carousel .owl-nav button:hover {
    background: var(--primary-blue) !important;
    color: #ffffff !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 4px 12px rgb(2 118 57 / 68%);
}

@media (max-width: 767px) {
    #news-carousel .owl-nav {
        display: none;
    }
}



/* ===================================================
   GET A QUOTE SECTION - UNIFIED RED THEME
=================================================== */

.quote-section {
    background-color: #f8fafc;
}



.quote-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Feature Icons */
.feature-icon {
    color:var(--primary-color);
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 2px;
}

.feature-title {
    font-size: 0.98rem;
    color: #0f172a;
}

.fs-7 {
    font-size: 0.8rem;
}

/* Form Card Styling */
.quote-form-card {
    background: #ffffff;
/*    border-radius: 12px;*/
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--primary-color); /* Viền đỏ điểm nhấn ở đỉnh form */
}

.form-card-title {
    color: #0f172a;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}

/* Form Inputs & Selects */
.pccc-input {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: #0f172a;
    transition: all 0.3s ease;
}

.pccc-input:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(220, 38, 38, 0.15);
    outline: none;
}

.pccc-input::placeholder {
    color: #94a3b8;
}

/* Submit Button Đỏ Chủ Đạo */
.btn-submit-quote {
    background: linear-gradient(90deg,var(--primary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    padding: 14px 28px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
/*    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);*/
}

.btn-submit-quote:hover {
    background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-yellow) 100%);
    color: #ffffff;
    transform: translateY(-2px);
/*    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);*/
}




/* ===================================================
   PARTNERS SECTION - UNIFIED RED BRAND THEME
=================================================== */

/* Khung hiển thị Logo Đối Tác */
.partner-item {
    padding: 10px 5px;
}

.partner-logo-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0;
/*    padding: 15px 20px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.4s ease;
}

.partner-logo-box img {
    max-height: 100px;
    width: auto !important;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

/* Hiệu ứng khi Hover: Hiện màu gốc logo + viền đỏ nhẹ */
.partner-logo-box:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px #02763912;
    transform: translateY(-4px);
}

.partner-logo-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Dots của Owl Carousel theo tone Đỏ */
#partners-carousel .owl-dots {
    margin-top: 25px;
    text-align: center;
}

#partners-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: #cbd5e1 !important;
    margin: 0 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#partners-carousel .owl-dot.active span {
    background: var(--primary-color) !important;
    width: 28px;
    border-radius: 10px;
}



/* Nền Mesh Gradient kết hợp Pattern */
.quote-section {
    background-color: #0b132900 !important;
    background-image: radial-gradient(at 0% 0%, rgb(2 118 57 / 12%) 0px, #00000000 50%), radial-gradient(at 100% 100%, rgb(254 200 3 / 18%) 0px, #00000000 50%), radial-gradient(rgba(255, 255, 255, 0.1) 1px, #00000012 1px) !important;
    background-size: 100% 100%, 100% 100%, 24px 24px !important;
}


/* ===================================================
   OUTLINED TEXT MARQUEE (GIỐNG HỆT MẪU HÌNH ẢNH)
=================================================== */

.company-marquee-section {
/*    background:var(--primary-color);*/
/*    border-top: 1px solid rgba(255, 255, 255, 0.08);*/
/*    border-bottom: 1px solid rgba(255, 255, 255, 0.08);*/
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: companyMarqueeScroll 100s linear infinite;
    will-change: transform;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-shrink: 0;
}

/* Style chữ viền rỗng theo ảnh mẫu */
.company-item {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    white-space: nowrap;
/*    -webkit-text-stroke: 2px #80808024;*/
    transition: all 0.3s ease;
    color: #e8e8e8;
/*    font-family: Rajdhani;*/
}

/* Hiệu ứng khi rê chuột: Tô màu chữ rỗng thành màu đỏ */
.company-item:hover {
    color: var(--primary-yellow);
/*    -webkit-text-stroke: 2px #ef4444;*/
/*    text-shadow: 0 0 15px rgba(239, 68, 68, 0.6);*/
}

/* Icon phân cách bông hoa/ngôi sao rỗng giống trong ảnh */
.marquee-divider {
    color: #00000029;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
    font-size: 1.8rem;
}

/* Keyframe cuộn vô tận */
@keyframes companyMarqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}




/* ===================================================
   FOOTER STYLE - BLUE, YELLOW & WHITE THEME
=================================================== */

.site-footer {
    background-color: var(--primary-color); /* Nền xanh đêm cao cấp */
    color: #ffffff;
    font-size: 0.95rem;
    position: relative;
    border-top: 3px solid var(--primary-yellow); /* Viền vàng điểm nhấn trên cùng */
}



.footer-desc {
    color: #fff;
    line-height: 1.6;
}

/* Social Buttons */
.social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: #eab308; /* Hover chuyển vàng */
    color: #0c1a30;
    transform: translateY(-3px);
}

/* Title Headings */
.footer-title {
    color: #f8fafc;
    font-size: 1.15rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #eab308; /* Đường gạch chân màu vàng */
}

/* Navigation Links */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a i {
    font-size: 0.75rem;
    color:  var(--primary-yellow);  /* Mũi tên màu vàng */
}

.footer-links a:hover {
    color: var(--primary-yellow); /* Text hover màu vàng */
    transform: translateX(4px);
}

/* Contact List */
.contact-icon {
    color: var(--primary-yellow);  /* Icon liên hệ màu vàng */
    font-size: 1.1rem;
}

.footer-contact span {
    color: #fff;
}

/* Divider & Copyright */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: #f9f9f9;
}

.copyright-text strong {
    color: #ffffff;
}

.bottom-links a {
    color: #f9f9f9;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: #eab308;
}

.dot-sep {
    color: #eab308;
    margin: 0 8px;
}











/* ===================================================
   BACK TO TOP BUTTON - FLOATING STYLE
=================================================== */

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 18px;
    width: 48px;
    height: 48px;
    background-color: #0c1a30; /* Nền xanh đêm đồng bộ footer */
    color: #eab308; /* Icon màu vàng accent */
    border: 2px solid #eab308; /* Viền vàng */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    z-index: 999;
    
    /* Ẩn mặc định */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    
    /* Hiệu ứng chuyển động */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(12, 26, 48, 0.4);
}

/* Hiển thị khi cuộn xuống quá 300px (Kích hoạt bởi Class .show trong JS) */
.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover Effect */
.back-to-top-btn:hover {
    background-color: #eab308; /* Nền chuyển vàng */
    color: #0c1a30; /* Icon chuyển xanh */
    border-color: #eab308;
    transform: translateY(-5px); /* Nẩy nhẹ lên */
    box-shadow: 0 12px 25px rgba(234, 179, 8, 0.4);
}

/* Active State khi click */
.back-to-top-btn:active {
    transform: translateY(-2px);
}


.social-links img {
    height: 28px;
}
.logo_navs img {
    height: 100px;
}

.footer-brand a
{
    color: #fff;
}
.footer-brand p {
    margin-bottom: 10px;
}
.gg_maps iframe {
    width: 100%;
    height: 195px;
}

.breadcrumb-item a
{
    color: var(--primary-color);
}







/*Chi tiết trang giới thiệu*/
/* ===================================================
   LONG-FORM SCROLL ABOUT STYLE (LIỀN MẠCH)
=================================================== */


.gt-bc-strip {
    background-color: #f8fafc;
}

.gt-pill-badge {
    background: rgba(2, 118, 57, 0.1);
    color: var(--primary-blue);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
}

.gt-main-title {
    color: var(--primary-blue);
}

/* Thẻ Khối Section riêng biệt cách nhau */
.gt-block-section {
    background: var(--bg-card);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

.gt-block-section:hover {
    box-shadow: 0 15px 35px rgba(2, 118, 57, 0.08);
}

.gt-section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: #f1f5f9;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-yellow);
}

.gt-content-body {
    color: #334155;
    line-height: 1.7;
}

/* Sơ đồ tổ chức */
.gt-flow-node {
    padding: 14px 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.gt-node-bod {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.gt-node-dir {
    background-color: var(--primary-yellow);
    color: #000;
}

.gt-node-sub {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.gt-flow-node:hover {
    transform: translateY(-3px);
}
/* ===================================================
   TREE ORGANIZATIONAL CHART STYLES
=================================================== */
.gt-org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: auto;
    padding: 20px 0px;
}

/* Các nhóm và nhánh trong cây */
.gt-tree-group {
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 20px;
}

/* Đường nối ngang phía trên các nhánh */
.gt-tree-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: #2e7d32; /* Màu xanh lá đường kẻ */
}

.gt-tree-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 5px;
}

/* Đường dọc nối từ thanh ngang xuống từng node */
.gt-tree-group > .gt-tree-branch::before {
    content: '';
    position: absolute;
    top: 0;
    width: 2px;
    height: 20px;
    background-color: #2e7d32;
}

/* Đường dọc trung gian nối giữa các cấp */
.gt-line-v {
    width: 2px;
    height: 25px;
    background-color: #2e7d32;
    margin: 0 auto;
}

/* Kiểu dáng Thẻ Node chung */
.gt-tree-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    min-width: 130px;
}

/* Icon Avatar hình vòm phía trên */
.gt-avatar-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -22px;
    z-index: 2;
    font-size: 1.1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Khung chữ bên dưới Icon */
.gt-node-box {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 28px 12px 10px 12px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.gt-node-title {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    display: block;
}

/* ---------------------------------------------------
   TÙY CHỈNH MÀU SẮC CHO TỪNG CẤP (Tím, Cam, Xanh)
--------------------------------------------------- */

/* Cấp 1 & 2: Màu Tím */
.gt-node-purple .gt-avatar-badge {
    border: 3px solid #6b21a8;
    color: #6b21a8;
}
.gt-node-purple .gt-node-box {
    border-left: 4px solid #6b21a8;
    border-right: 4px solid #6b21a8;
}
.gt-node-purple .gt-node-title {
    color: #027639; /* Màu chữ xanh tím */
}

/* Cấp 3: Màu Cam */
.gt-node-orange .gt-avatar-badge {
    border: 3px solid #ea580c;
    color: #ea580c;
}
.gt-node-orange .gt-node-box {
    border-left: 4px solid #ea580c;
    border-right: 4px solid #ea580c;
}
.gt-node-orange .gt-node-title {
    color: #ea580c;
}

/* Cấp 4: Màu Xanh Dương */
.gt-node-blue .gt-avatar-badge {
    border: 3px solid #0284c7;
    color: #0284c7;
}
.gt-node-blue .gt-node-box {
    border-left: 4px solid #0284c7;
    border-right: 4px solid #0284c7;
}
.gt-node-blue .gt-node-title {
    color: #0284c7;
}

/* Tự động cuộn ngang trên thiết bị di động nhỏ */
@media (max-width: 992px) {
    .gt-org-tree {
        align-items: flex-start;
    }
}

.gt-tree-org {
    margin-top: 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    padding-top: 3rem;
    padding-bottom: 2rem;
}

/*Chi tiết trang giới thiệu*/


/*Banner*/
.nenmuc img {
    width: 100%;
    max-width: 100%;
}
/*Banner*/


/*trang linh vuc*/
.gt-services-section .field-info-overlay .field-desc
{
    margin-bottom:0;
}
.gt-services-section .field-info-overlay
{
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
}
.gt-services-section .field-card:hover .field-info-overlay {
    opacity: 1;
    visibility: visible;
    transform: none;
}



/* ===================================================
   TRANG CHI TIẾT LĨNH VỰC - NAM THANH (NT-D PREFIX)
=================================================== */
:root {
  --nt-primary-green: #027639;
  --nt-primary-yellow: #ffc107;
  --nt-bg-slate: #f8fafc;
}

/* Breadcrumb Strip */
.nt-d-bc-strip {
  background-color: var(--nt-bg-slate);
}

/* Badge Tag */
.nt-d-badge-tag {
  background: rgba(2, 118, 57, 0.1);
  color: var(--nt-primary-green);
  padding: 5px 14px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-block;
}

/* Tiêu đề & Sapo */
.nt-d-main-title {
  font-size: 1.8rem;
  line-height: 1.35;
}

.nt-d-sapo-box {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Nội dung bài viết từ CKEditor */
.nt-d-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.nt-d-article-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  margin: 15px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.nt-d-article-body h2, 
.nt-d-article-body h3 {
  color: var(--nt-primary-green);
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 15px;
}

.nt-d-article-body table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 20px 0;
}

.nt-d-article-body table td, 
.nt-d-article-body table th {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
}

/* Sidebar Item */
.nt-d-nav-item {
  background-color: var(--nt-bg-slate);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.nt-d-nav-item:hover {
  background-color: var(--nt-primary-green);
  color: #ffffff !important;
  border-color: var(--nt-primary-green);
  transform: translateX(4px);
}

.nt-d-nav-item:hover i {
  color: var(--nt-primary-yellow) !important;
}

/* Sidebar CTA Box */
.nt-d-cta-box {
  background: linear-gradient(135deg, #027639 0%, #014722 100%);
  box-shadow: 0 10px 25px rgba(2, 118, 57, 0.25);
}

/*trang linh vuc*/

/*trang chi tiet du an*/
/* ===================================================
   TRANG CHI TIẾT DỰ ÁN - SLIDER & FANCYBOX
=================================================== */
:root {
  --nt-primary-green: #027639;
  --nt-primary-yellow: #ffc107;
  --nt-bg-slate: #f8fafc;
}

/* Khung Slider Ảnh Lớn */
.nt-pj-img-box {
  position: relative;
  height: 500px;
  background-color: #fafafa;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.nt-pj-img-box img {
  width: 100%;
  height: 100%;
/*  object-fit: cover;*/
  object-fit: scale-down;
  transition: transform 0.4s ease;
}

.nt-pj-img-box:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Icon Zoom Phóng To */
.nt-pj-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 50px;
  height: 50px;
  background: rgba(2, 118, 57, 0.85);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.nt-pj-img-box:hover .nt-pj-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Slider Thumbnail */
.nt-pj-thumb-item {
  height: 85px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.nt-pj-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active Thumbnail Class do Slick cấp */
.slick-current .nt-pj-thumb-item {
  border-color: var(--nt-primary-green);
  opacity: 1;
}

/* Tùy chỉnh đường phân cách */
.nt-pj-divider {
  height: 2px;
  background: linear-gradient(to right, var(--nt-primary-green), transparent);
}

/* Responsive */
@media (max-width: 768px) {
  .nt-pj-img-box {
    height: 280px;
  }
  .nt-pj-thumb-item {
    height: 65px;
  }
}


/* ===================================================
   STYLE NÂNG CẤP KHỐI BÀI VIẾT & DỰ ÁN KHÁC (NT-PJ)
=================================================== */
:root {
  --nt-primary-green: #027639;
  --nt-primary-yellow: #ffc107;
  --nt-bg-slate: #f8fafc;
}

/* Khung bọc Card chính */
.nt-pj-detail-card {
    border-radius: 16px;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

/* Custom Card Dự Án Khác */
.nt-pj-card {
  border: 1px solid #e2e8f0 !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nt-pj-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 118, 57, 0.3) !important;
  box-shadow: 0 12px 25px rgba(2, 118, 57, 0.12) !important;
}

/* Khung hình ảnh Thumbnail */
.nt-pj-card-thumb {
  height: 280px;
  background-color: #f1f5f9;
}

.nt-pj-card-thumb img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nt-pj-card:hover .nt-pj-card-thumb img {
  transform: scale(1.08);
}

/* Tag nhãn nhỏ trên ảnh */
.nt-pj-card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(2, 118, 57, 0.9);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Tiêu đề Dự án khác cắt tối đa 2 dòng */
.nt-pj-card-title a {
  font-size: 0.95rem;
  line-height: 1.45;
  transition: color 0.3s ease;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nt-pj-card:hover .nt-pj-card-title a {
  color: var(--nt-primary-green) !important;
}

/* Nút bấm xem chi tiết dự án con */
.nt-pj-btn-sm {
  background-color: var(--nt-bg-slate);
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 0.825rem;
  transition: all 0.3s ease;
}

.nt-pj-card:hover .nt-pj-btn-sm {
  background-color: var(--nt-primary-green);
  color: #ffffff;
  border-color: var(--nt-primary-green);
}

.nt-pj-btn-sm i {
  transition: transform 0.3s ease;
}

.nt-pj-card:hover .nt-pj-btn-sm i {
  transform: translateX(4px);
}

/*trang chi tiet du an*/

/* ===================================================
   TRANG CHI TIẾT TIN TỨC (NEWS DETAIL MODERN STYLE)
=================================================== */

/* Nền tổng của trang tin tức */
.news-detail-bg {
/*    background-color: #f8fafc;*/
}

/* Thẻ bọc toàn bộ bài viết chính */
.news-detail-wrapper {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    border-color: #e2e8f0 !important;
    border-radius: 12px;
}

/* 1. Header & Meta */
.news-detail-header {
    border-bottom-color: #f1f5f9 !important;
}

.news-detail-title {
    font-size: 2rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #0f172a !important;
}

/* Đoạn mô tả ngắn (Sapo) */
.news-detail-summary {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    background-color: #f1f5f9 !important;
    font-style: italic;
    border-left-width: 4px !important;
}

/* 2. Nội dung chính bài viết (Typography & Editor Style) */
.news-detail-content {
    font-size: 1.075rem;
    line-height: 1.8;
    color: #334155;
}

.news-detail-content p {
    margin-bottom: 1.25rem;
}

.news-detail-content h2, 
.news-detail-content h3, 
.news-detail-content h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Tự động tối ưu hình ảnh trong nội dung bài viết */
.news-detail-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Table trong bài viết (nếu có) */
.news-detail-content table {
    width: 100% !important;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.news-detail-content table td, 
.news-detail-content table th {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
}

/* 3. Footer Bài Viết & Nút Chia Sẻ */
.news-detail-footer {
    border-top-color: #f1f5f9 !important;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.fb-share {
    background-color: #e7f0ff;
    color: #1877f2;
}

.share-btn.fb-share:hover {
    background-color: #1877f2;
    color: #ffffff;
    transform: translateY(-2px);
}

.share-btn.zalo-share {
    background-color: #e6f3ff;
    color: #0068ff;
    width: auto;
    padding: 0 12px;
    border-radius: 20px;
    height: 36px;
}

.share-btn.zalo-share:hover {
    background-color: #0068ff;
    color: #ffffff;
    transform: translateY(-2px);
}

.fs-7 {
    font-size: 0.825rem;
}

.x-small {
    font-size: 0.775rem;
}

/* 4. Khối Bài Viết Liên Quan */
.news-detail-related {
    border-top-color: #f1f5f9 !important;
}

.news-detail-related-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-color: #e2e8f0 !important;
    background-color: #ffffff !important;
}

.news-detail-related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color) !important;
}

/* Khung ảnh bài viết liên quan */
.news-detail-related-thumb {
    width: 90px;
    height: 70px;
}

.news-detail-related-thumb img {
    transition: transform 0.4s ease;
}

.news-detail-related-item:hover .news-detail-related-thumb img {
    transform: scale(1.1);
}

/* Cắt 2 dòng cho tiêu đề bài viết liên quan */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-detail-related-title a {
    color: #1e293b !important;
    transition: color 0.2s ease;
}

.news-detail-related-item:hover .news-detail-related-title a {
    color: var(--primary-yellow) !important;
}

/* Responsive cho điện thoại */
@media (max-width: 768px) {
    .news-detail-title {
        font-size: 1.5rem;
    }
    
    .news-detail-wrapper {
        padding: 1.25rem !important;
    }
    
    .news-detail-related-thumb {
        width: 75px;
        height: 60px;
    }
}

/*Liên hệ*/
/* ===================================================
   TRANG LIÊN HỆ (CONTACT PAGE MODERN STYLE)
=================================================== */

/* Hero Breadcrumb Banner */
.about-hero-breadcrumb {
    background: linear-gradient(135deg, #027639 0%, #014722 100%);
    padding: 40px 0;
    color: #ffffff;
}

.about-hero-breadcrumb .page-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.custom-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #ffc107;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}

/* Background trang */
.contact-page-bg {
    background-color: #f8fafc;
}

.max-w-700 {
    max-width: 700px;
}

/* Header Section */
.contact-page-subtitle {
    color: #027639;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

.contact-page-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.8rem;
}

.contact-page-separator {
    width: 60px;
    height: 3px;
    background-color: #027639;
    border-radius: 2px;
    margin-top: 12px;
}

/* Card Wrapper */
.contact-page-wrapper {
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

/* Đường gạch giữa 2 cột ở màn hình lớn */
@media (min-width: 992px) {
    .border-start-lg {
        border-left: 1px solid #f1f5f9;
    }
}

/* Input Form Styling */
.contact-page-input {
    border-color: #cbd5e1;
    padding: 10px 14px;
    font-size: 0.95rem;
    border-radius: 0 8px 8px 0 !important;
}

textarea.contact-page-input {
    border-radius: 8px !important;
}

.contact-page-input:focus {
    border-color: #027639;
    box-shadow: 0 0 0 0.25rem rgba(2, 118, 57, 0.15);
}

.input-group-text {
    border-color: #cbd5e1;
    border-radius: 8px 0 0 8px !important;
}

/* Nút Submit & Reset */
.contact-page-btn-submit {
    background-color: #027639;
    border-color: #027639;
    transition: all 0.3s ease;
}

.contact-page-btn-submit:hover {
    background-color: #015729;
    border-color: #015729;
    transform: translateY(-2px);
}

/* Captcha Styling */
.captcha-box {
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 10px;
    border-radius: 8px;
}

.btn-reload-captcha {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-reload-captcha:hover {
    transform: rotate(180deg);
}

/* Google Map Iframe */
.contact-page-map-embed iframe {
    width: 100% !important;
    height: 400px !important;
    border: 0;
}


/*Liên hệ*/

.contact-page-form-wrapper input#txtcapcha {
    width: auto;
}

.btn-reload-captcha
{
    z-index: 9;
}


/* ===================================================
   TRANG PROFILE FLIPBOOK (ONLINE PDF READER - 85% DEFAULT)
=================================================== */

/* Nền tổng thể trang profile */
.profile-page-bg {
    background-color: #f1f5f9;
    min-height: 85vh;
}

/* Thanh công cụ điều khiển */
.flipbook-toolbar {
    border: 1px solid #e2e8f0;
}

.flipbook-toolbar input[type="number"]::-webkit-inner-spin-button,
.flipbook-toolbar input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Khung chứa bao quanh sách - Cho phép cuộn khi Zoom */
.flipbook-viewport {
    width: 100%;
    min-height: 70vh;
    padding: 20px 10px 40px 10px;
    overflow: auto; /* Tự hiện thanh cuộn nếu nội dung vượt khung */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Neo trên cùng để không bị mất đầu khi zoom */
}

/* Thẻ chứa cuốn sách 3D */
#flipbook {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    margin: 10px auto 30px auto;
    /* Mặc định Scale 85% và neo gốc phóng to ở giữa-trên */
    transform: scale(0.85);
    transform-origin: center top;
    transition: transform 0.25s ease-in-out;
}

/* Định dạng từng trang sách */
.page-node {
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
}

.page-node img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

/* ===================================================
   HIỆU ỨNG GÁY SÁCH & BÓNG MỜ NẰM GIỮA 2 TRANG
=================================================== */

/* Bóng gáy sách cho Trang BÊN TRÁI */
.page-node.--left::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Bóng gáy sách cho Trang BÊN PHẢI */
.page-node.--right::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Responsive cho thiết bị di động */
@media (max-width: 768px) {
    .flipbook-toolbar {
        justify-content: center !important;
    }
    
    #flipbook {
        /* Trên di động thu nhỏ thêm một chút để vừa màn hình */
        transform: scale(0.75);
    }
}


/*chungchi*/
/* ===================================================
   SLIDE CHỨNG CHỈ & HIỆU ỨNG HOVER FANCYBOX
=================================================== */
.certificates-carousel .item {
    padding: 10px;
}

.cert-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lớp phủ mờ khi Hover */
.cert-overlay {
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-card:hover .cert-overlay {
    opacity: 1;
}

/* Nút Icon Kính Lúp */
.btn-zoom {
    width: 48px;
    height: 48px;
    background-color: #198754; /* Màu xanh lá nhãn hàng */
    transition: transform 0.3s ease, background-color 0.3s ease;
    transform: scale(0.7);
    text-decoration: none;
}

.cert-card:hover .btn-zoom {
    transform: scale(1);
}

.btn-zoom:hover {
    background-color: #146c43;
    color: #ffffff;
}


/* ===================================================
   TÙY CHỈNH NÚT NAV (MŨI TÊN) & DOTS CHO OWL CAROUSEL
=================================================== */

/* --- 1. NÚT ĐIỀU HƯỚNG (NAV - MŨI TÊN) --- */
.certificates-carousel {
    position: relative;
}

/* Định dạng chung cho 2 nút bấm */
.certificates-carousel .owl-nav button.owl-prev,
.certificates-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff !important;
    color: #198754 !important; /* Màu xanh lá chủ đạo */
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
    z-index: 10;
}

/* Vị trí nút Trái (Prev) và Phải (Next) đẩy sát ra mép ngoài */
.certificates-carousel .owl-nav button.owl-prev {
    left: -20px;
}

.certificates-carousel .owl-nav button.owl-next {
    right: -20px;
}

/* Hiệu ứng Hover nút Nav */
.certificates-carousel .owl-nav button.owl-prev:hover,
.certificates-carousel .owl-nav button.owl-next:hover {
    background-color: #198754 !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.1);
}

/* Ẩn bớt mép dư trên màn hình nhỏ di động */
@media (max-width: 768px) {
    .certificates-carousel .owl-nav button.owl-prev {
        left: 5px;
    }
    .certificates-carousel .owl-nav button.owl-next {
        right: 5px;
    }
}


/* --- 2. HÀNG CHẤM TRÒN (DOTS) --- */
.certificates-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

/* Định dạng từng chấm tròn */
.certificates-carousel .owl-dots .owl-dot {
    display: inline-block;
}

.certificates-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #cbd5e1 !important; /* Màu xám chưa active */
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

/* Khi chấm tròn được Active (Trang hiện tại) */
.certificates-carousel .owl-dots .owl-dot.active span,
.certificates-carousel .owl-dots .owl-dot:hover span {
    background-color: #198754 !important; /* Màu xanh active */
    width: 28px; /* Dãn dài dạng viên thuốc hiện đại */
    border-radius: 10px;
}
/*chungchi*/