@charset "UTF-8";

/* ==========================================================================
   CSS Variables & Design Tokens (Brand Color #0097e0)
   ========================================================================== */
:root {
    --color-primary: #0097e0; /* User Specified Primary Blue */
    --color-primary-dark: #00253D; /* Deep Navy Dark */
    --color-primary-light: #0084C7; /* Active Blue Tint */
    --color-secondary: #FF9F43; /* Warm Accent */
    --color-secondary-hover: #F39C12;
    
    --color-text-main: #1E293B;
    --color-text-muted: #475569;
    --color-bg-light: #F4F9FD;
    --color-bg-white: #FFFFFF;
    --color-border: #E2E8F0;
    
    --font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --wrapper-max-width: 1200px;
    --transition: all 0.25s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary-dark);
}

.page-wrapper {
    width: 100%;
    max-width: var(--wrapper-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header Topbar (.site-topbar) - Section 1 Background: Deep Dark Navy (#001E33)
   ========================================================================== */
.site-topbar {
    background-color: #001E33;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 9px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
}

.site-topbar .page-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left-zone, .topbar-right-zone {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-info-item svg {
    width: 15px;
    height: 15px;
    fill: var(--color-primary);
}

.contact-tel-num {
    color: inherit;
    font-weight: inherit;
}

.topbar-right-zone a.topbar-info-item {
    color: var(--color-primary);
    font-weight: 600;
    padding: 3px 14px;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    transition: var(--transition);
}

.topbar-right-zone a.topbar-info-item:hover {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

/* ==========================================================================
   Header & Navigation (.main-navbar) - Section 2 Background: Pure White (#FFFFFF)
   ========================================================================== */
.main-navbar {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.main-navbar.scrolled {
    box-shadow: 0 4px 15px rgba(0, 151, 224, 0.08);
}

.main-navbar .page-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.header-brand-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar-nav-links {
    display: flex;
    gap: 28px;
}

.nav-menu-item {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-main);
    padding: 8px 0;
    position: relative;
}

.nav-menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-menu-item:hover, .nav-menu-item.active {
    color: var(--color-primary);
}

.nav-menu-item:hover::after, .nav-menu-item.active::after {
    width: 100%;
}

.nav-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-toggle-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle-btn.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Footer (.site-footer) - Section 13 Background: Deep Midnight Blue (#001626)
   ========================================================================== */
.site-footer {
    background-color: #001626;
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 20px;
}

.footer-main-columns {
    display: grid;
    grid-template-columns: 3fr 2fr 5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about-col .footer-brand-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-about-col p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
}

.footer-head-title {
    color: #FFFFFF;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-head-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-nav-col li {
    margin-bottom: 12px;
}

.footer-nav-col a {
    font-size: 14px;
    transition: var(--transition);
}

.footer-nav-col a:hover {
    color: #FFFFFF;
}

.footer-info-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-info-flex ul {
    flex: 1;
}

.footer-info-col li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-info-col svg {
    width: 18px;
    height: 18px;
    fill: var(--color-primary);
    flex-shrink: 0;
}

.footer-qrcode-block {
    text-align: center;
    width: 110px;
    flex-shrink: 0;
}

.footer-qrcode-block .qrcode-holder-box {
    width: 110px;
    height: 110px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.footer-qrcode-block p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright-bar {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Buttons & Section Headings
   ========================================================================== */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.action-btn-main {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

.action-btn-main:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 151, 224, 0.3);
}

.action-btn-sub {
    background-color: transparent;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.action-btn-sub:hover {
    background-color: #FFFFFF;
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Module Section Title */
.mod-title-block {
    text-align: center;
    margin-bottom: 50px;
}

.mod-title-block h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.mod-title-block p {
    font-size: 15px;
    color: var(--color-text-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* ==========================================================================
   Floating Toolbar (.side-quick-tools)
   ========================================================================== */
.side-quick-tools {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-tool-btn {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 151, 224, 0.35);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.quick-tool-btn:hover {
    background-color: var(--color-primary-light);
    transform: scale(1.05);
}

.quick-tool-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.quick-tool-tooltip {
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #001E33;
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* QR Code Tooltip Popup matched to native image clarity */
.quick-tool-tooltip.qrcode-tooltip-box {
    padding: 10px 12px;
    text-align: center;
}

.quick-tool-tooltip.qrcode-tooltip-box .qrcode-image-wrapper {
    width: 130px !important;
    height: 130px !important;
    border-radius: 4px;
    margin: 0 auto 6px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.quick-tool-tooltip.qrcode-tooltip-box .qrcode-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    display: block;
}

.quick-tool-tooltip.qrcode-tooltip-box span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 2px;
}

.quick-tool-btn:hover .quick-tool-tooltip {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn {
    opacity: 0;
    visibility: hidden;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Responsive Updates (Mobile/Tablet)
   ========================================================================== */
@media (max-width: 992px) {
    .site-topbar {
        display: none; /* Hide topbar on mobile to save space */
    }

    .main-navbar .page-wrapper {
        height: 60px;
    }

    .header-brand-logo img {
        height: 32px;
    }

    .nav-toggle-btn {
        display: block;
    }

    .navbar-nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #FFFFFF;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
    }

    .navbar-nav-links.active {
        max-height: 500px;
        padding: 10px 0;
        border-top: 1px solid #E2E8F0;
    }

    .nav-menu-item {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        margin: 0;
    }

    .nav-menu-item::after {
        display: none;
    }

    /* Footer Responsive */
    .footer-main-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .floating-toolbar {
        bottom: 20px;
        right: 15px;
        transform: scale(0.9);
        transform-origin: bottom right;
    }
}

