
:root {
    --header-navy: #003594;
    --header-navy-dark: #003594;
    --header-top-bg: #003594;
    --header-red: #b10454;
    --header-red-hover: #b10454;
    --header-text-dark: #003594;
    --header-text-gray: #475569;
    --header-border: #e2e8f0;
    --header-shadow: 0 4px 20px rgba(14, 56, 122, 0.08);
    --header-sticky-shadow: 0 6px 24px rgba(14, 56, 122, 0.12);
    --header-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    overflow-x: hidden;
}

.mobile-only {
    display: none !important;
}

.desktop-only {
    display: flex !important;
}

.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: var(--header-transition);
}

/* ==========================================================================
   HEADER TOP INFO BAR (Phone, Email & Social Media)
   ========================================================================== */
.header-top-info {
    background-color: var(--header-top-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12.5px;
    transition: var(--header-transition);
}

.header-top-info-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
}

/* Left Contact Items */
.top-info-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.top-info-item:hover {
    color: #ffffff;
}

.top-info-icon {
    flex-shrink: 0;
}

/* Right Social Media Items */
.top-info-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-social-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.top-social-item:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.top-social-item svg,
.social-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Main Header Navigation Layout */
.header-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    transition: var(--header-transition);
    width: 100%;
}

/* 1. Left: Brand Logo & Title */
.header-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    /* background: #ffffff; */
    /* padding: 8px 18px; */
    position: relative;
    z-index: 20;
}


.brand-logo {
    display: flex;
    align-items: center;
    background: #FFF;
    border-radius: 12px;
    padding: 0px 0px;
}

.brand-logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: var(--header-transition);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.company-name-line1 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--header-navy);
    line-height: 1.25;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.company-name-line2 {
    font-size: 13.5px;
    font-weight: 900;
    color: var(--header-navy);
    line-height: 1.25;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

/* 2. Center: Desktop Navigation Menu */
.header-nav.desktop-only {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    height: 100%;
    width: 100%;
    justify-content: space-between;
}

.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.menu-link {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding: 0 2px;
    transition: color 0.25s ease;
}

.dropdown-chevron-svg {
    transition: transform 0.25s ease;
    opacity: 0.85;
}

.menu-item.has-dropdown:hover>.menu-link .dropdown-chevron-svg {
    transform: rotate(180deg);
}

/* Active & Hover state for Menu Items */
.menu-link:hover,
.menu-item.active>.menu-link {
    color: #ffffff;
}

/* Active Underline Indicator - Positioned at bottom edge of header */
.menu-item.active>.menu-link::after,
.menu-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px 2px 0 0;
    animation: fadeInLine 0.25s ease forwards;
}

@keyframes fadeInLine {
    from {
        opacity: 0;
        transform: scaleX(0.4);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* 3. Submenu Dropdown Level 2 */
.submenu.level-2 {
    position: absolute;
    top: 100%;
    left: 0;
    /* min-width: 240px; */
    width: max-content;
    background-color: #ffffff;
    box-shadow: 0 12px 30px rgba(14, 56, 122, 0.12);
    border-radius: 8px;
    border-top: 3px solid var(--header-red);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1050;
}

.menu-item.has-dropdown:hover>.submenu.level-2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-item {
    position: relative;
    width: 100%;
}

.submenu-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

.submenu-item a:hover {
    background-color: #f8fafc;
    color: var(--header-red);
    /* padding-left: 24px; */
}

.flyout-chevron-svg {
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.submenu-item.has-dropdown-level-3:hover>a .flyout-chevron-svg {
    transform: translateX(3px);
    opacity: 1;
}

/* 4. Submenu Dropdown Level 3 */
.submenu.level-3 {
    position: absolute;
    top: 0;
    left: 100%;
    /* min-width: 220px; */
    width: max-content;
    background-color: #ffffff;
    box-shadow: 0 12px 30px rgba(14, 56, 122, 0.12);
    border-radius: 8px;
    border-top: 3px solid var(--header-red);
    padding: 8px 0;
    margin-left: 2px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1060;
}

.submenu-item.has-dropdown-level-3:hover>.submenu.level-3 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 5. Right: CTA Button (ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡NG KÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â HÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢C) */
.btn-register {
    background: linear-gradient(135deg, var(--header-red) 0%, var(--header-red-hover) 100%);
    color: #ffffff !important;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--header-transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-register:hover {
    transform: translateY(-2px);
    background: var(--header-navy);
}

/* 6. Sticky Header Animation */
.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    /* backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); */
    box-shadow: var(--header-sticky-shadow);
    animation: stickySlideDown 0.38s ease-out;
}

/* Hide Header Top Info Bar when header is sticky */
.site-header.is-sticky .header-top-info {
    display: none;
}
.site-header.is-sticky .header_inin {
    display: none;
}
/*
.site-header.is-sticky .header-inner {
    height: 64px;
} */

/* .site-header.is-sticky .brand-link {
    margin-top: 0;
    margin-bottom: 0;
    padding: 4px 10px;
    box-shadow: none;
    background: transparent;
    transform: none;
} */

.site-header.is-sticky .brand-logo img {
    height: 65px;
}

@keyframes stickySlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 7. Mobile Layout Elements */
.mobile-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    /* padding: 8px; */
    color: var(--header-navy);
    z-index: 1010;
    align-items: center;
    justify-content: center;
}

.mobile-toggle-btn:hover {
    color: var(--header-red);
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Drawer Navigation */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background-color: #ffffff;
    z-index: 1999;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: left 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-drawer.active {
    left: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--header-border);
}

.mobile-brand-title {
    font-size: 16px;
    font-weight: 900;
    color: var(--header-navy);
}

.mobile-drawer-close {
    background: transparent;
    border: none;
    color: var(--header-text-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.mobile-drawer-close:hover {
    color: var(--header-red);
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 20px;
}

.mobile-menu-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--header-navy);
    text-decoration: none;
    text-transform: uppercase;
    flex: 1;
}

.mobile-menu-item.active>.mobile-menu-link,
.mobile-menu-item.active>.mobile-menu-link-wrapper>.mobile-menu-link {
    color: var(--header-red);
}

.mobile-submenu-toggle {
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    color: var(--header-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-submenu-toggle.expanded {
    background-color: var(--header-red);
    color: #ffffff;
}

.mobile-submenu-toggle .line-v {
    transition: opacity 0.2s ease;
}

.mobile-submenu-toggle.expanded .line-v {
    opacity: 0;
}

/* Mobile Accordion Submenus */
.mobile-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 24px;
}

.mobile-submenu li {
    list-style: disc;
}

.mobile-submenu.level-2 .mobile-submenu-item a,
.mobile-submenu.level-2>li>a {
    display: block;
    padding: 10px 0px 10px 0px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
}

.mobile-submenu.level-3 li a {
    padding-left: 50px !important;
}

.mobile-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--header-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-contact-item {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--header-navy);
    text-decoration: none;
    text-align: center;
}

.btn-register-mobile {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--header-red) 0%, var(--header-red-hover) 100%);
    color: #ffffff !important;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
}

.overflow-hidden {
    overflow: hidden !important;
}
.title_left {
    font-size: 14px;
    color: #fff;
}
.modal-register {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-register-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: inherit;
}

.modal-register-close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-register-close:hover,
.modal-register-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-register-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: bold;
    color: #001594;
    text-transform: uppercase;
}

.modal-register-content .form-group.mb-3 {
    margin-bottom: 15px;
}

.modal-register-content .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    background: #fff;
    color: #747474;
}

.modal-register-content .form-control:focus {
    /* border-color: var(--primary-color, #e31b23); */
    outline: none;
}

.btn-submit-register {
    background:linear-gradient(135deg, var(--header-red) 0%, var(--header-red-hover) 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 10px;
}

.btn-submit-register:hover {
    background: var(--header-red);
}
.main-header {
    background-color: white;
    padding: 15px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-header .search-section {
    flex: 1;
    max-width: 515px;
    margin: 0 0px;
    display: flex;
    position: relative;
    background: rgb(250, 250, 250);
    border-radius: 3px;
    width: 515px;
}
.main-header .search-input {
    flex: 1;
    padding: 13px 13px;
    outline: none;
    font-size: 14px;
    background: #e9e9e9;
    border-radius: 5px 0 0 5px;
}
.main-header .search-btn {
    padding: 10px 14px;
    background-color: var(--header-top-bg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 5px 5px 0;
    margin-left: 0;
    color: #fff;
}
.main-header .search-btn svg {
    width: 20px;
    height: 20px;
}
.main-header .contact-section {
    display: flex;
    align-items: center;
    gap: 20px;
}
.main-header .hotline {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
}
.main-header .hotline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.main-header .hotline div {
    font-size: 16px;
    font-weight:400;
}
.main-header .hotline div span {
    font-size: 20px;
    font-weight: 600;
}
.main-header .hotline-icon svg {
    width: 40px;
    height: 40px;
}
.main-header .hotline-icon img {
    width: 26px;
}
.header_menu {
    background: linear-gradient(135deg, var(--header-red) 0%, var(--header-red-hover) 100%);
}
.header-inner .header-brand {
    display: none;
}
.quick-contact {
    display: none;
}




@media (max-width: 375px) {
    .modal-register-content {
        padding: 30px 20px;
    }
}
@media (max-width: 1280px) {
    .brand-text {
        display: none;
    }
}

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

@media (max-width: 1200px) {
    .nav-menu {
        gap: 16px;
    }

    .company-name-line1,
    .company-name-line2 {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .brand-text {
        display: block;
        transform: translateY(3px);
    }

    .brand-logo {
        padding: 0;
    }

    .brand-link {
        gap: 10px;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .header-inner {
        height: 80px;
    }


    .brand-logo img {
        height: 75px;quick-contact
    }
}

@media (max-width: 768px) {
    .header-top-info {
        display: none;
        /* Hide top bar on mobile screens */
    }
    .header-inner .header-brand {
        display: block;
    }
    .main-header {
        display: none;
    }
    .header_menu {
        background: #fff;
    }

    .brand-logo img {
        height: 65px !important;
    }
    
    .mobile-toggle-btn svg {
        padding: 5px;
        width: 42px;
        height: 42px;
        background: linear-gradient(135deg, var(--header-red) 0%, var(--header-red-hover) 100%);
        border-radius: 5px;
        color: #fff;
    }
    .mobile-brand img {
        min-height: auto;
        width: 180px;
    }
    .mobile-drawer-header {
        padding-bottom: 8px;
    }
    .quick-contact {
        background: linear-gradient(135deg, var(--header-red) 0%, var(--header-red-hover) 100%);
        color: white;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .quick-contact .contact-section {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: white;
    }
    .quick-contact .desktop-only {
        display: block !important;
    }
    .quick-contact .hotline-mobile {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: white;
    }
    .quick-contact .appointment-btn-mobile {
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        padding: 8px 12px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 15px;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        display: flex;
        align-items: center;
    }
    .quick-contact .hotline-icon-mobile {
        margin-right: 5px;
    }
    .search_mb {
        background: #fff;
        border-radius: 5px;
        padding: 7px 10px;
    }
    .search_mb input {
        height: 25px;
        font-size: 14px;
        background: #fff;
    }
    .search_mb button svg {
        height: auto;
        width: 18px;
        position: relative;
        top: 5px;
    }

}

@media (max-width: 480px) {


    .header-container {
        padding: 0 15px;
    }
}


@media (max-width: 375px) {

    .company-name-line1,
    .company-name-line2 {
        font-size: 11px;
    }
}
