/**
 * HIEC Teal Theme - Custom CSS Override
 * Trường Cao đẳng Nghề TP.HCM
 * Bảng màu: Xanh Navy Đậm (#162265) + Xanh Cyan Tươi (#008fd1) + Đỏ Điểm Nhấn (#da251d)
 */

/* ============================================
   Google Font Import
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   Global Overrides
   ============================================ */
body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: #333333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #162265;
    transition: color 0.3s ease;
}

a:hover {
    color: #008fd1;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: #162265;
}

/* ============================================
   Top Header Bar & Main Header Containers
   ============================================ */
.section-header-bar {
    background: #162265 !important;
    background-image: none !important;
    border-bottom: 3px solid #008fd1 !important;
}

.section-header-bar .header-nav-inner {
    color: #fff;
}

.section-header-bar a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.section-header-bar a:hover {
    color: #38bdf8 !important;
}

/* Container alignment for header elements */
.section-header-bar .wraper,
.section-header .wraper {
    width: 1170px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ============================================
   Top Bar Buttons Styling (Social, Login)
   ============================================ */
.header-nav a.button,
.personalArea a.button,
.personalArea a.button.user,
.socialList li a {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 143, 209, 0.4) !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-nav a.button:hover,
.header-nav a.button.active,
.personalArea a.button:hover,
.personalArea a.button.user:hover,
.socialList li a:hover,
.socialList li a[href*='facebook']:hover,
.socialList li a[href*='google']:hover,
.socialList li a[href*='youtube']:hover,
.socialList li a[href*='twitter']:hover,
.socialList li a[href*='feeds']:hover {
    background-color: #008fd1 !important; /* Xanh Cyan */
    color: #ffffff !important;            /* Trắng */
    border-color: #008fd1 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Contact Default Text Info (Phone, Email, Skype, Viber)
   ============================================ */
.contactList {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}

.contactList li {
    display: inline-block;
    margin-right: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
}

.contactList li a {
    color: #ffffff !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    transform: none !important;
    transition: color 0.25s ease !important;
}

.contactList li a:hover {
    color: #38bdf8 !important;
    background: transparent !important;
}

.contactList li .fa,
.contactList li [class^='icon-'] {
    color: #38bdf8;
    margin-right: 4px;
}

/* ============================================
   Inline Main Header (Sticky Navbar on Scroll)
   ============================================ */
.section-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

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

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.header-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Navbar styling inside header-menu (Clean White Background with Dark Bold Text) */
#menusite .navbar-default {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    min-height: auto;
}

#menusite .navbar-default .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

#menusite .navbar-default .navbar-nav {
    margin: 0;
}

#menusite .navbar-default .navbar-nav > li {
    position: relative;
}

#menusite .navbar-default .navbar-nav > li > a {
    color: #222222 !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 18px 16px;
    transition: all 0.25s ease;
    background: transparent !important;
    line-height: 1.4;
}

#menusite .navbar-default .navbar-nav > li > a:hover,
#menusite .navbar-default .navbar-nav > li > a:focus,
#menusite .navbar-default .navbar-nav > .active > a,
#menusite .navbar-default .navbar-nav > .active > a:hover,
#menusite .navbar-default .navbar-nav > .active > a:focus,
#menusite .navbar-default .navbar-nav > .open > a,
#menusite .navbar-default .navbar-nav > .open > a:hover,
#menusite .navbar-default .navbar-nav > .open > a:focus {
    color: #008fd1 !important;
    background: transparent !important;
    box-shadow: inset 0 -3px 0 #008fd1 !important;
}

/* Caret Arrow Styling */
#menusite .navbar-default .navbar-nav > li > a .caret {
    border-top-color: #555555;
    border-bottom-color: #555555;
    margin-left: 4px;
    transition: border-color 0.25s ease;
}

#menusite .navbar-default .navbar-nav > li:hover > a .caret,
#menusite .navbar-default .navbar-nav > .active > a .caret {
    border-top-color: #162265;
    border-bottom-color: #162265;
}

/* ============================================
   Dropdown Submenu Styles & Desktop Hover
   ============================================ */
@media (min-width: 992px) {
    .section-header,
    .section-header .wraper,
    .header-main-row,
    .header-menu,
    #menusite,
    #menusite .navbar-collapse {
        overflow: visible !important;
    }

    /* Open dropdown on hover for desktop */
    #menusite .navbar-nav > li:hover > .dropdown-menu,
    #menusite .navbar-nav > li.open > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 0;
        animation: navDropdownFade 0.25s ease-out;
    }

    /* Submenu 2nd level hover opening */
    #menusite .dropdown-menu > li.dropdown-submenu {
        position: relative;
    }

    #menusite .dropdown-menu > li.dropdown-submenu:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        top: 0;
        left: 100%;
        margin-top: -6px;
    }
}

@keyframes navDropdownFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Menu Box Design */
#menusite .dropdown-menu {
    background-color: #ffffff !important;
    border: none !important;
    border-top: 3px solid #008fd1 !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    padding: 8px 0;
    min-width: 210px;
}

#menusite .dropdown-menu > li > a {
    color: #333333 !important;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.2s ease;
    text-transform: none;
}

#menusite .dropdown-menu > li > a:hover,
#menusite .dropdown-menu > li > a:focus {
    background-color: rgba(0, 109, 91, 0.08) !important;
    color: #008fd1 !important;
    padding-left: 24px;
}

/* ============================================
   Mobile Header & Hamburger Toggle Menu Fixes
   ============================================ */
@media (max-width: 991px) {
    .section-header-bar .wraper,
    .section-header .wraper {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Single Row Flex: Logo Left, Hamburger Button Right */
    .header-main-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
        width: 100% !important;
    }

    .header-logo {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .header-logo img {
        max-height: 48px !important;
        width: auto !important;
    }

    .header-menu {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    #menusite {
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #menusite .navbar {
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        min-height: auto !important;
    }

    #menusite .navbar-header {
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        display: block !important;
    }

    /* Mobile Green Hamburger Button */
    #menusite .navbar-default .navbar-toggle {
        display: block !important;
        float: none !important;
        margin: 0 !important;
        padding: 8px 12px !important;
        background-color: #008fd1 !important;
        border: 1px solid #005546 !important;
        border-radius: 4px !important;
        cursor: pointer !important;
        position: relative !important;
    }

    #menusite .navbar-default .navbar-toggle .icon-bar {
        display: block !important;
        width: 22px !important;
        height: 3px !important;
        background-color: #ffffff !important;
        border-radius: 1px !important;
        margin-top: 4px !important;
    }

    #menusite .navbar-default .navbar-toggle .icon-bar:first-child {
        margin-top: 0 !important;
    }

    #menusite .navbar-default .navbar-toggle:hover,
    #menusite .navbar-default .navbar-toggle:focus {
        background-color: #1e2c7a !important;
    }

    /* Mobile Expandable Floating Collapse Box */
    #menusite .navbar-default .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: auto !important;
        right: 0 !important;
        width: 280px !important;
        max-width: 90vw !important;
        background: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
        border-top: 3px solid #008fd1 !important;
        border-radius: 0 0 8px 8px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
        z-index: 99999 !important;
        margin-top: 8px !important;
        padding: 0 !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }

    #menusite .navbar-default .navbar-collapse.collapse {
        display: none !important;
    }

    #menusite .navbar-default .navbar-collapse.collapse.in {
        display: block !important;
    }

    #menusite .navbar-default .navbar-nav {
        margin: 0 !important;
        padding: 6px 0 !important;
    }

    #menusite .navbar-default .navbar-nav > li {
        width: 100% !important;
        float: none !important;
        display: block !important;
    }

    #menusite .navbar-default .navbar-nav > li > a {
        padding: 12px 20px !important;
        color: #222222 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-bottom: 1px solid #f0f0f0 !important;
        box-shadow: none !important;
        display: block !important;
        background: transparent !important;
    }

    #menusite .navbar-default .navbar-nav > li > a:hover,
    #menusite .navbar-default .navbar-nav > li > a:focus {
        color: #008fd1 !important;
        background-color: rgba(0, 109, 91, 0.06) !important;
    }

    #menusite .navbar-nav > li.dropdown > a .caret {
        float: right !important;
        margin-top: 6px !important;
        border-top-color: #008fd1 !important;
        border-bottom-color: #008fd1 !important;
        transition: transform 0.25s ease !important;
    }

    #menusite .navbar-nav > li.dropdown.open > a .caret {
        transform: rotate(180deg) !important;
    }

    /* Submenus on Mobile - Hidden by default, open on click (.open) */
    #menusite .dropdown-menu {
        display: none !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        background-color: #f8f9fa !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #menusite .navbar-nav > li.open > .dropdown-menu,
    #menusite .dropdown.open > .dropdown-menu {
        display: block !important;
    }

    #menusite .dropdown-menu > li > a {
        padding: 10px 15px 10px 35px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #444444 !important;
        border-bottom: 1px solid #eeeeee !important;
        text-transform: none !important;
    }

    #menusite .dropdown-menu > li > a:hover {
        color: #008fd1 !important;
        background-color: #f0f0f0 !important;
    }
}

/* ============================================
   Fullsize Landing Page Layout Overrides (Full-Bleed 100%)
   ============================================ */
.nv-mod-landingpage .section-body,
.nv-mod-landingpage .section-body > .wraper,
.nv-mod-landingpage .section-body > .wraper > section,
.nv-mod-landingpage .section-body #body.container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Hide breadcrumbs & time/search bar on landing page top */
.nv-mod-landingpage .third-nav {
    display: none !important;
}

/* Ensure landing page row has no horizontal scroll */
.nv-mod-landingpage .row {
    margin-left: 0;
    margin-right: 0;
}

/* ============================================
   Breadcrumbs & Search (for non-landing pages)
   ============================================ */
.third-nav .bg {
    background: #F5F5F5;
    border-bottom: 1px solid #e8e8e8;
}

.headerSearch .btn-info {
    background-color: #162265;
    border-color: #005546;
}

.headerSearch .btn-info:hover {
    background-color: #008fd1;
}

/* ============================================
   Panel Overrides
   ============================================ */
.panel-default > .panel-heading {
    background: linear-gradient(135deg, #006D5B, #005546);
    color: #fff;
    border-color: #005546;
}

.panel-default {
    border-color: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ============================================
   MetisMenu / Global Block Category Styling (HIEC Teal Brand)
   ============================================ */
.metismenu {
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
}

.metismenu .sidebar-nav {
    background: #162265 !important; /* Brand Teal */
    border-left: 4px solid #008fd1 !important; /* Vạch Cyan cạnh trái */
    border-top: 1px solid #1e2c7a !important;
    border-right: 1px solid #1e2c7a !important;
    border-bottom: 1px solid #1e2c7a !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background-image: none !important;
}

.metismenu .sidebar-nav ul a {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
    background-image: none !important;
}

.metismenu .sidebar-nav ul li:first-child > a {
    border-top: none !important;
}

.metismenu .sidebar-nav ul a:hover,
.metismenu .sidebar-nav ul a:focus,
.metismenu .sidebar-nav ul a:active,
.metismenu .sidebar-nav ul li.active > a {
    background-color: #1a2775 !important;
    background-image: none !important;
    color: #ffffff !important; /* Giữ chữ trắng sạch sẽ */
    padding-left: 24px !important;
}

.metismenu .sidebar-nav ul ul a {
    background-color: #1e2c7a !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
    padding-left: 32px !important;
    background-image: none !important;
}

.metismenu .sidebar-nav ul ul a:hover,
.metismenu .sidebar-nav ul ul li.active > a {
    background-color: #0f1844 !important;
    color: #ffffff !important;
}

.metismenu .arrow {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ============================================
   Footer & Bottom Footer Overrides
/* ============================================
   HIEC 3-Column Footer Design (Exact Match)
   ============================================ */
.section-footer-top.hiec-footer-3cols {
    background: linear-gradient(180deg, #131d53 0%, #0c1439 100%) !important;
    border-top: 3px solid #008fd1 !important;
    padding: 42px 0 35px 0 !important;
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
}

.section-footer-top.hiec-footer-3cols::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
}

.hiec-footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

@media (min-width: 992px) {
    .hiec-footer-col {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        padding-right: 28px;
        padding-left: 28px;
    }
    
    .hiec-footer-col-1 {
        padding-left: 0;
    }
    
    .hiec-footer-col-3 {
        border-right: none;
        padding-right: 0;
    }
}

/* Column 1: Brand & Contacts */
.hiec-footer-brand-box {
    color: #ffffff;
}

.hiec-footer-brand-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hiec-footer-brand-head p {
    margin: 0 !important;
    padding: 0 !important;
}

.hiec-footer-logo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
    flex: 0 0 68px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    padding: 3px !important;
    box-shadow: 0 4px 16px rgba(0, 143, 209, 0.35) !important;
    transition: transform 0.3s ease !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    line-height: 0 !important;
    font-size: 0 !important;
    text-decoration: none !important;
}

.hiec-footer-logo-link:hover {
    transform: scale(1.08) rotate(3deg);
}

.hiec-footer-logo-img,
.hiec-footer-logo-link img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: none !important;
}

.hiec-footer-brand-name {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    line-height: 1.35;
    margin: 0 0 4px 0 !important;
    letter-spacing: 0.3px;
}

.hiec-footer-brand-desc {
    color: #38bdf8;
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
    font-weight: 500;
}

.hiec-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hiec-footer-contact-list li {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hiec-footer-contact-list li i.fa {
    color: #38bdf8;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.hiec-footer-tel {
    margin-top: 2px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.hiec-footer-tel a, .hiec-footer-contact-list a {
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hiec-footer-tel a:hover, .hiec-footer-contact-list a:hover {
    color: #38bdf8 !important;
    text-decoration: underline;
}

.hiec-footer-highlight-item {
    background: rgba(0, 143, 209, 0.15);
    border: 1px dashed rgba(56, 189, 248, 0.5);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 10px 0 !important;
}

.hiec-hotline-val {
    color: #fbbf24 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
}

/* Titles */
.hiec-footer-section-title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(56, 189, 248, 0.4);
}

.hiec-footer-section-title i {
    color: #38bdf8;
    font-size: 15px;
}

/* Column 2: Quick Links & Social */
.hiec-footer-quick-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.hiec-footer-quick-menu li {
    margin-bottom: 8px;
}

.hiec-footer-quick-menu a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13.5px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    padding: 3px 0;
}

.hiec-footer-quick-menu a i {
    color: #38bdf8;
    font-size: 11px;
    transition: transform 0.25s ease;
}

.hiec-footer-quick-menu a:hover {
    color: #38bdf8 !important;
    transform: translateX(4px);
}

.hiec-footer-quick-menu a:hover i {
    transform: translateX(3px);
}

.hiec-footer-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.hiec-social-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.hiec-social-facebook {
    background: #1877f2;
}

.hiec-social-zalo {
    background: #0068ff;
}

.hiec-social-email {
    background: #ea4335;
}

.hiec-social-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    filter: brightness(1.1);
}

.zalo-text {
    background: #ffffff;
    color: #0068ff;
    padding: 1px 4px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 900;
}

/* Column 3: Map */
.hiec-footer-map-container {
    width: 100%;
}

.hiec-footer-map-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #ffffff;
}

.hiec-footer-map-btn-wrap {
    margin-top: 10px;
    text-align: center;
}

.hiec-map-guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #008fd1 0%, #0284c7 100%);
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    padding: 7px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 143, 209, 0.4);
    transition: all 0.3s ease;
}

.hiec-map-guide-btn:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #008fd1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.5);
    color: #ffffff !important;
}

.section-footer-bottom {
    background: #0d153e !important; /* Dark Navy Bottom Bar */
    border-top: 1px solid rgba(255, 215, 0, 0.25) !important;
    padding: 12px 0 !important;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Back to top button styling */
.bttop {
    margin-left: auto;
}

.bttop a {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #38bdf8 !important;
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 143, 209, 0.4) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease !important;
}

.bttop a:hover {
    background: #008fd1 !important;
    color: #ffffff !important;
    border-color: #008fd1 !important;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

.bttop a i {
    font-size: 14px;
}

@media (max-width: 767px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .bttop {
        margin: 10px auto 0;
    }
}

/* ============================================
   Buttons Override
   ============================================ */
.btn-primary {
    background-color: #162265;
    border-color: #660000;
}

.btn-primary:hover {
    background-color: #a33333;
    border-color: #162265;
}

.btn-info {
    background-color: #162265;
    border-color: #005546;
}

.btn-info:hover {
    background-color: #008fd1;
    border-color: #162265;
}

/* ============================================
   Pagination
   ============================================ */
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background-color: #162265;
    border-color: #005546;
}

.pagination > li > a,
.pagination > li > span {
    color: #162265;
}

.pagination > li > a:hover {
    color: #005546;
    background-color: #A8E6CF;
}

/* ============================================
   HIEC Brand Clean & Simple Breadcrumbs Styling
   ============================================ */
.third-nav {
    margin-top: 14px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
}

.third-nav .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: none !important;
}

.third-nav .bg {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #008fd1 !important; /* Brand Cyan Accent */
    border-radius: 8px !important;
    padding: 8px 18px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
}

.third-nav .clearfix {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 !important;
}

.third-nav .col-sm-18 {
    display: flex !important;
    align-items: center !important;
    padding-left: 0 !important;
}

.third-nav .col-sm-6 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-right: 0 !important;
}

.breadcrumbs-wrap {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
}

.breadcrumbs-wrap::-webkit-scrollbar {
    display: none !important;
}

.breadcrumbs-wrap .display {
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

/* Hide old polygon pseudoelements */
.breadcrumbs a:before,
.breadcrumbs a:after,
.show-subs-breadcrumbs,
.show-subs-breadcrumbs:after {
    display: none !important;
}

.breadcrumbs {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    gap: 2px !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}

.breadcrumbs li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Standard Clean Text Breadcrumb Node */
.breadcrumbs li a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 3px 6px !important;
    background: transparent !important;
    color: #475569 !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
    clip-path: none !important;
    white-space: nowrap !important;
}

.breadcrumbs li a span {
    display: inline-block !important;
    color: inherit !important;
    white-space: nowrap !important;
}

/* Chevron > separator icon between items */
.breadcrumbs li:not(:last-child)::after {
    content: "\f105" !important;
    font-family: 'FontAwesome' !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
    margin: 0 4px !important;
    font-weight: 400 !important;
}

/* Hover effect */
.breadcrumbs li a:hover {
    background: #f1f5f9 !important;
    color: #162265 !important; /* Maroon hover */
}

/* Active / Last Breadcrumb Node (HIEC Teal Green) */
.breadcrumbs li:last-child a {
    color: #008fd1 !important; /* HIEC Teal */
    font-weight: 700 !important;
    background: transparent !important;
    pointer-events: none !important;
}

/* Expanding Search Bar (Co giãn khi click kính lúp) */
.headerSearch {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.headerSearch .input-group {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    position: relative !important;
}

.headerSearch .form-control {
    height: 32px !important;
    border-radius: 6px 0 0 6px !important;
    font-size: 12px !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.headerSearch .form-control:focus {
    background: #ffffff !important;
    border-color: #008fd1 !important;
}

.headerSearch .btn-info {
    height: 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    background: #162265 !important;
    border-color: #008fd1 !important;
    border-radius: 6px !important;
    padding: 0 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.headerSearch.active .form-control,
.headerSearch:focus-within .form-control {
    width: 150px !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-right: none !important;
}

.headerSearch.active .btn-info,
.headerSearch:focus-within .btn-info {
    border-radius: 0 6px 6px 0 !important;
    background: #da251d !important;
    border-color: #162265 !important;
}

@media (max-width: 767px) {
    .headerSearch.active .form-control,
    .headerSearch:focus-within .form-control {
        width: 110px !important;
    }
}

/* ============================================
   Category Panel Header & Subcategory Navigation Bar
   (Chuẩn Nhận diện Thương hiệu HIEC: Xanh Ngọc Lục #006D5B + Vàng Ánh Kim #FFD700 + Đỏ Đô #800000)
   ============================================ */

.news_column .panel,
.panel.panel-default {
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    margin-bottom: 25px !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
}

.news_column .panel:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

.news_column .panel-heading,
.panel.panel-default > .panel-heading {
    background: linear-gradient(135deg, #0f1844 0%, #162265 100%) !important;
    border-bottom: 3px solid #008fd1 !important;
    padding: 12px 20px !important;
    color: #ffffff !important;
    border-top-left-radius: 11px !important;
    border-top-right-radius: 11px !important;
}

/* Category Title Link (Cat.Title) */
.sub-list-icon {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sub-list-icon > li {
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.sub-list-icon h4 {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

/* Main Category Title (First Item) */
.sub-list-icon > li:first-child h4 a,
.sub-list-icon > li:first-child h4 a span {
    color: #38bdf8 !important;
    font-weight: 800 !important;
    font-size: 16.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    transition: color 0.3s ease !important;
}

.sub-list-icon > li:first-child h4 a:hover,
.sub-list-icon > li:first-child h4 a:hover span {
    color: #ffe44d !important;
    text-decoration: none !important;
}

.sub-list-icon > li:first-child > *:before {
    content: '\f07b' !important; /* Folder Open Icon */
    font-family: 'FontAwesome' !important;
    color: #38bdf8 !important;
    font-size: 15px !important;
    margin-right: 8px !important;
}

/* Arrow separator for subcategories */
.sub-list-icon > li:first-child + li > *:before {
    content: '\f105' !important; /* Right Arrow */
    font-family: 'FontAwesome' !important;
    color: rgba(255, 215, 0, 0.85) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-right: 10px !important;
}

/* Circle bullet for subsequent subcategories */
.sub-list-icon > li + li + li > *:before {
    content: '\f111' !important; /* Circle Dot */
    font-family: 'FontAwesome' !important;
    color: #38bdf8 !important;
    font-size: 5px !important;
    vertical-align: middle !important;
    margin-right: 10px !important;
}

/* Subcategory Links (Subcat.Title) */
.sub-list-icon > li + li h4 a,
.sub-list-icon > li + li h4 a.dimgray {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.sub-list-icon > li + li h4 a:hover,
.sub-list-icon > li + li h4 a.dimgray:hover {
    color: #38bdf8 !important;
    text-decoration: none !important;
}

/* More/Exit Link (Right side) */
.panel-heading .pull-right.hidden-xs a,
.panel-heading a.dimgray.pull-right {
    color: #38bdf8 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    margin-top: -2px !important;
    text-decoration: none !important;
}

.panel-heading .pull-right.hidden-xs a:hover,
.panel-heading a.dimgray.pull-right:hover {
    background: #008fd1 !important;
    color: #162265 !important;
    transform: translateX(3px) !important;
}

.panel-heading .pull-right.hidden-xs a em,
.panel-heading a.dimgray.pull-right em {
    margin: 0 !important;
}

/* Article List Body inside Category View */
.news_column .panel-body {
    padding: 22px !important;
}

.news_column .panel-body h3,
.news_column .panel-body h3 a {
    color: #162265 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    transition: color 0.3s ease !important;
    margin-top: 0 !important;
}

.news_column .panel-body h3 a:hover {
    color: #008fd1 !important;
    text-decoration: none !important;
}

.news_column .panel-body .imghome {
    border-radius: 8px !important;
    border: 1px solid #edf2f7 !important;
    padding: 3px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease !important;
}

.news_column .panel-body .imghome:hover {
    transform: scale(1.03) !important;
}

.news_column .panel-body .text-muted {
    color: #64748b !important;
    font-size: 13px !important;
    margin: 6px 0 12px 0 !important;
}

.news_column .panel-body .text-muted em {
    color: #008fd1 !important;
    margin-right: 4px !important;
}
