@charset "UTF-8";

/* ==========================================================================
   CSS Reset & Variables
   ========================================================================== */
:root {
    --primary-color: #1B4F8F;
    --primary-hover: #15417A;
    --primary-light: #E8F0FA;
    --secondary-color: #D4A84B;
    --secondary-hover: #BF9540;
    --text-dark: #2D3436;
    --text-body: #4A5568;
    --text-gray: #718096;
    --text-light: #A0AEC0;
    --bg-light: #F0F3F7;
    --bg-white: #FFFFFF;
    --white: #FFFFFF;
    --border-color: #E2E8F0;

    --font-main: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-body);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
}

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

a:hover {
    color: var(--primary-color);
}

ul, ol {
    list-style: none;
}

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

/* SEO */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================================================
   Common Layout & Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

.section-padding {
    padding: 90px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: #102A4A; }
.bg-gold { background-color: var(--secondary-color) !important; }

.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

/* ==========================================================================
   Typography & Titles
   ========================================================================== */
.section-title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.section-header.flex-between .section-subtitle {
    margin-left: 0;
    margin-right: 0;
}

.title-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 15px;
    border-radius: 2px;
}
.section-header.flex-between .title-line {
    margin: 0 0 45px 0;
}

.more-link {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 45px;
    display: inline-block;
    transition: var(--transition);
}
.more-link:hover {
    color: var(--secondary-color);
    transform: translateX(6px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

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

.btn-gold {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-gold:hover {
    background-color: var(--secondary-hover);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(212, 168, 75, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-outline.btn-light {
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline.btn-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-large {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: none;
}

.top-bar .top-right {
    display: flex;
    gap: 25px;
}

.top-bar .phone-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar strong {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 600;
}

.header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

.logo img {
    height: 70px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 60px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 10px 0;
    position: relative;
}

.nav-list li a:hover,
.nav-list li.active a {
    color: var(--primary-color);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list li a:hover::after,
.nav-list li.active a::after {
    width: 100%;
}

/* Dropdown Navigation */
.nav-list li.has-dropdown {
    position: relative;
}

.dropdown-icon {
    vertical-align: middle;
    margin-left: 4px;
    margin-top: -2px;
    transition: transform 0.3s ease;
}

.nav-list li.has-dropdown:hover > a .dropdown-icon,
.nav-list li.has-dropdown.open > a .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--white);
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
}

.nav-list li.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li {
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    color: var(--text-dark) !important;
    white-space: nowrap;
    text-align: center;
    transition: all 0.2s ease;
}

.dropdown-menu li a::after {
    display: none !important;
}

.dropdown-menu li a:hover {
    color: var(--primary-color) !important;
    background-color: rgba(0, 0, 0, 0.06); /* Darker hover background */
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #1A3355;
    color: #B8C9DC;
}

.footer-top {
    padding: 70px 0 70px;
    display: grid;
    grid-template-columns: 1fr 0.8fr 2.2fr 1fr;
    gap: clamp(30px, 4vw, 60px);
}

.footer-top > div {
    min-width: 0;
}

.footer-logo {
    height: auto;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-top h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-top h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    padding-left: 60px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
}

.footer-links li {
    width: 100%;
    margin-bottom: 12px;
}

.footer-links a {
    color: #B8C9DC;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.footer-contact .f-icon {
    flex-shrink: 0;
    margin-right: 10px;
    color: var(--secondary-color);
    margin-top: 3px;
}

.footer-contact .c-info {
    flex: 1;
    color: #B8C9DC;
}

.footer-contact .c-info strong {
    color: var(--white);
    display: inline-block;
    margin-bottom: 2px;
}

.contact-highlight .c-info {
    color: var(--white);
    font-size: 16px;
}

.footer-qrcode.multi-qr-footer {
    display: flex;
    gap: 15px;
    max-width: none;
    text-align: center;
}

.footer-qrcode.multi-qr-footer .qr-item {
    flex: 1;
}

.footer-qrcode.multi-qr-footer img {
    width: 100%;
    max-width: 110px;
    height: auto;
    margin: 0 auto 10px;
    border: 3px solid rgba(255,255,255,0.1);
}



.footer-bottom {
    background-color: #132844;
    padding: 22px 0;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom a {
    color: #B8C9DC;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ==========================================================================
   Float KF
   ========================================================================== */
.float-kf {
    position: fixed;
    right: 20px;
    bottom: 50px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kf-item {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.kf-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.kf-icon {
    display: flex;
}

.kf-text {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

.kf-qrcode {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    padding: 10px;
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    width: 140px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.kf-wechat:hover .kf-qrcode {
    opacity: 1;
    visibility: visible;
}

.kf-phones {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    padding: 15px 20px;
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    width: max-content;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.kf-phone:hover .kf-phones {
    opacity: 1;
    visibility: visible;
}

.phone-group {
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 10px;
}

.phone-group:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.phone-group span {
    display: block;
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 4px;
}

.phone-group a {
    display: block;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 3px;
}

.phone-group a:last-child {
    margin-bottom: 0;
}

.kf-qrcode {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    padding: 10px;
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    width: 140px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.kf-qrcode.multi-qr {
    width: 280px;
    display: flex;
    gap: 15px;
    padding: 15px;
}

.kf-qrcode.multi-qr .qr-box {
    flex: 1;
}

.kf-qrcode img {
    width: 100%;
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.kf-qrcode p {
    color: var(--text-dark);
    font-size: 12px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-links {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .logo img {
        height: 50px;
        max-width: 75vw;
    }

    .header.scrolled .logo img {
        height: 45px;
    }

    .main-nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--white);
        transition: var(--transition);
        overflow-y: auto;
    }

    .main-nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list li a {
        display: block;
        padding: 15px 0;
    }

        .nav-list li a::after {
        display: none;
    }

    /* Mobile Dropdown Overrides */
    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background-color: rgba(0,0,0,0.02);
        display: none;
        padding: 5px 0;
        margin-top: 5px;
        border-radius: 4px;
        width: 100%;
    }
    
    .nav-list li.has-dropdown.open > .dropdown-menu {
        display: block;
    }
    
    .nav-list li.has-dropdown:hover > .dropdown-menu {
        /* Disable hover on mobile */
    }

    .dropdown-menu li {
        border-bottom-color: rgba(0,0,0,0.04);
    }
    .dropdown-menu li a {
        padding: 10px 30px !important;
        text-align: left;
        font-size: 14px !important;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-qrcode {
        text-align: left;
        margin-top: 20px;
    }

    .footer-qrcode.multi-qr-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-qrcode img {
        margin: 0 0 10px 0;
    }

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

    .d-block-mobile {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .d-block-mobile {
        display: none !important;
    }
}
@media screen and (max-width: 768px) {
    .float-kf {
        display: none !important;
    }
}





