@charset "UTF-8";
/* ==========================================================================
   HeveaBoard – Global styles
   Navbar, mobile menu, banner, footer, scroll-to-top and base styles.
   Shared by every page that uses the new [hb_header] / [hb_footer] layout.
   ========================================================================== */

/* ── 1. Fonts ──────────────────────────────────────────────────────────── */
@font-face {
    font-family: 'AlibabaPuHuiTi-2-45-Light';
    src: url('/2024/fonts/AlibabaPuHuiTi-2-45-Light.woff2') format('woff2'),
         url('/2024/fonts/AlibabaPuHuiTi-2-45-Light.woff') format('woff'),
         url('/2024/fonts/AlibabaPuHuiTi-2-45-Light.ttf') format('truetype');
    font-display: swap;
}

.brand {
    font-family: 'Bookman Old Style', Georgia, serif;
    font-weight: bold;
}


/* ── 2. Base ───────────────────────────────────────────────────────────── */
body, h1, h2, h3, h4, p, ul, li, button {
    margin: 0;
    padding: 0;
    font-family: 'AlibabaPuHuiTi-2-45-Light', sans-serif;
}
body {
    font: 1em/1.3 'AlibabaPuHuiTi-2-45-Light', sans-serif;
    color: #262626;
    -webkit-text-size-adjust: 100%;
}
button, select, h1, h2, h3, h4 {
    font-size: 1em;
    line-height: 1.3;
    font-family: 'AlibabaPuHuiTi-2-45-Light', sans-serif;
}
ul { list-style: none; }
a { color: #262626; text-decoration: none; }
a:hover { color: #e2bca4; }
img { max-width: 100%; border: 0; vertical-align: middle; }
footer, nav { display: block; }

.clearfix::after { content: ''; display: table; clear: both; }
.css3 { transition-duration: .5s; }
.cell_mid { display: table; width: 100%; height: 100%; }
.cell_h { display: table-cell; height: 100%; vertical-align: middle; }

.adv_mid { margin: 0 8.33333333%; }
.y_index_1_1 { text-align: center; font-size: 3em; margin-top: 7vw; }


/* ── 3. Navbar (desktop) ───────────────────────────────────────────────── */
.navbar, .custom-navbar {
    position: fixed;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 15px;
    background-color: transparent;
    transition: top .3s, background-color .3s, color .3s;
}
.navbar.scrolled, .custom-navbar.scrolled { background-color: #fff; color: #000; }
.navbar-logo { display: flex; align-items: center; margin-right: auto; }
.navbar img, .custom-navbar img { height: 50px; margin-right: auto; }

.desktop-menu { display: flex; justify-content: center; margin: 0; padding: 0; list-style: none; }
.desktop-menu > li { position: relative; margin: 0 6px; }
.desktop-menu > li > a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color .2s ease, color .2s ease;
}
.navbar.scrolled .desktop-menu > li > a { color: #000; }
.desktop-menu > li:hover > a,
.desktop-menu > li:focus-within > a { background-color: #fff; color: #000; }

/* ── Simple dropdown (About Us, Corporate Governance, …) ── */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 250px;
    margin: 0;
    padding: 14px 0 0;              /* invisible bridge so the mouse can travel down */
    list-style: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.submenu::before {
    content: '';
    position: absolute;
    inset: 14px 0 0;
    z-index: -1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}
.submenu li { margin: 0; }
.submenu li:first-child { padding-top: 8px; }
.submenu li:last-child  { padding-bottom: 8px; }
.submenu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #323232;
    white-space: nowrap;
    transition: background-color .15s, color .15s;
}
.submenu a:hover { background-color: #f3f3f3; color: #000; }

/* ── Mega menu (Product) ── */
.desktop-menu > li.has-mega { position: static; }
.mega {
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    z-index: 10;
    width: min(1120px, 94vw);
    padding-top: 14px;              /* invisible bridge */
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, 6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.mega-inner {
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
}

.desktop-menu > li:hover > .submenu,
.desktop-menu > li:focus-within > .submenu,
.desktop-menu > li:hover > .mega,
.desktop-menu > li:focus-within > .mega {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}
.desktop-menu > li:hover > .submenu,
.desktop-menu > li:focus-within > .submenu { transform: none; }
.desktop-menu > li:hover > .mega,
.desktop-menu > li:focus-within > .mega { transform: translate(-50%, 0); }

.mega-cols {
    display: grid;
    grid-template-columns: 1fr 3.2fr;
    padding: 28px 32px;
}
.mega-col + .mega-group { padding-left: 32px; margin-left: 32px; border-left: 1px solid #eee; }
.mega-group-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.custom-navbar .desktop-menu .mega a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: #555;
    background: none;
    border-radius: 0;
    transition: color .15s;
}
.custom-navbar .desktop-menu .mega a:hover { color: #000; }

.custom-navbar .desktop-menu .mega .mega-title {
    margin: 0 0 14px;
    padding: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #323232;
    border-bottom: 2px solid #323232;
}
.custom-navbar .desktop-menu .mega .mega-sub {
    margin: 0 0 6px;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #323232;
}
.custom-navbar .desktop-menu .mega a.mega-title:hover,
.custom-navbar .desktop-menu .mega a.mega-sub:hover { color: #000; }
.mega-sub small { display: block; margin-top: 2px; font-size: 12px; font-weight: normal; text-transform: none; letter-spacing: 0; color: #888; }
.mega ul { margin: 0; padding: 0; list-style: none; }
.mega li { margin: 0; }

.mega-foot { padding: 14px 32px; background: #f6f6f6; border-top: 1px solid #eee; }
.custom-navbar .desktop-menu .mega .mega-foot a { display: inline-block; font-weight: 600; color: #323232; }

.language-select {
    margin-left: auto;
    padding: 5px;
    font-size: 16px;
    color: #000;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    transition: background-color .3s, color .3s, border-color .3s;
}
.language-select:focus { border-color: #333; }

.custom-hamburger { display: none; }

@media (min-width: 1600px) {
    .desktop-menu > li > a, .language-select { font-size: 17px; }
    .desktop-menu > li > a { padding: 12px 16px; }
    .submenu a { font-size: 15px; padding: 12px 22px; }
    .custom-navbar .desktop-menu .mega a { font-size: 15px; }
    .navbar, .custom-navbar { padding: 12px 30px; }
}

@media (max-width: 1200px) and (min-width: 769px) {
    .desktop-menu > li { margin: 0 2px; }
    .desktop-menu > li > a { padding: 8px 8px; font-size: 13px; }
    .mega-cols { padding: 22px 24px; }
    .mega-col + .mega-group { padding-left: 24px; margin-left: 24px; }
    .mega-group-cols { gap: 20px; }
}


/* ── 3b. Minimal navbar (article pages: [hb_header menu="no"]) ── */
.navbar-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 16px;
    padding: 8px 16px;
    font-size: 14px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    transition: background-color .2s, color .2s, border-color .2s;
}
.navbar-back:hover { color: #000; background-color: #fff; border-color: #fff; }
.navbar.scrolled .navbar-back { color: #323232; border-color: #c8c8c8; }
.navbar-minimal .language-select { margin-left: 0; }
.navbar.scrolled .navbar-back:hover { color: #fff; background-color: #323232; border-color: #323232; }

@media (max-width: 768px) {
    .navbar-minimal { gap: 10px; }
    .navbar-minimal .navbar-back { order: 1; margin-right: 0; padding: 6px 12px; font-size: 13px; }
    .navbar-minimal .language-select { order: 2; }
}
@media (max-width: 480px) {
    .back-long { display: none; }
}


/* ── 4. Navbar (mobile) ────────────────────────────────────────────────── */
.custom-menu.custom-mobile-menu { display: none; }

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

    .custom-hamburger {
        display: flex;
        flex-direction: column;
        margin-left: 10px;
        cursor: pointer;
    }
    .custom-hamburger div {
        width: 20px;
        height: 2px;
        margin: 3px 0;
        background-color: #fff;
        transition: transform .3s, background-color .3s;
    }
    .custom-navbar.scrolled .custom-hamburger div { background-color: #000; }

    /* Logo left, language + hamburger right, with breathing room */
    .navbar, .custom-navbar { gap: 14px; padding: 10px 16px; }
    .navbar-logo { max-width: 58%; }
    .navbar img, .custom-navbar img { height: 34px; width: auto; max-width: 100%; }
    .language-select { order: 2; margin-left: 0; padding: 4px 6px; font-size: 14px; }
    .custom-hamburger { order: 3; margin-left: 0; padding: 8px 4px; }
    .custom-hamburger div { width: 24px; margin: 3px 0; }

    .custom-mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        padding-top: 60px;
        overflow: auto;
        color: #fff;
        background-color: #000;
    }
    .custom-menu.custom-mobile-menu.active { display: flex; }

    .custom-mobile-menu li { margin: 0; border-bottom: 1px solid #fff; }
    .custom-mobile-menu a {
        display: block;
        padding: 15px 0 15px 15px;
        font-size: 18px;
        text-align: left;
        color: #fff;
        transition: background-color .3s ease, color .3s ease;
    }
    .custom-mobile-menu li:hover > a { background-color: #555; color: #fff; }

    .custom-submenu, .custom-sub-submenu {
        display: none;
        position: relative;
        padding-left: 15px;
        background-color: #444;
    }
    .custom-sub-submenu { padding-left: 3px; }
    .custom-has-submenu.custom-active > .custom-submenu,
    .custom-has-sub-submenu.custom-active > .custom-sub-submenu { display: block; }

    .custom-mobile-menu li.custom-has-submenu > a::after,
    .custom-mobile-menu li.custom-has-sub-submenu > a::after {
        content: '+';
        float: right;
        margin: 0 15px 0 10px;
        font-size: 16px;
    }
    .custom-mobile-menu li.custom-active > a::after { content: '−'; }

    .custom-submenu li a, .custom-sub-submenu li a { padding: 10px 0 10px 3px; font-size: 15px; }
    .custom-sub-submenu li a::before { content: '•'; margin-right: 10px; font-size: 16px; }
    .custom-sub-submenu .custom-sub-submenu { padding-left: 18px; background-color: #555; }
    .custom-sub-submenu li.custom-has-sub-submenu > a::before { content: none; }
}

.non-link { cursor: default; }


/* ── 5. Banner ─────────────────────────────────────────────────────────── */
.indexbanner { position: fixed; top: 0; left: 0; width: 100%; }
.nybanner { position: relative; height: 100vh; }
.nybanner_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.shoujibannerimg { display: none; }

.nymainbody {
    position: relative;
    z-index: 10;
    margin-top: 100vh;
    overflow: hidden;
    background-color: #fff;
}



/* ── 5b. Hero with HTML caption (plain photo, text in HTML) ────────────
   Use: <div class="nybanner hero-plain"> + .nybanner_bg + .hero-caption  */
.hero-plain .nybanner_bg { background-image: url('/Rwebsiteimage/Banner_Image.jpeg'); }
.hero-plain .nybanner_bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(0,0,0,.70) 0%, rgba(0,0,0,.30) 45%, rgba(0,0,0,0) 75%);
}
.hero-caption {
    position: absolute;
    left: 8.33%;
    right: 8.33%;
    bottom: 14vh;
    z-index: 2;
    color: #fff;
    animation: heroIn .9s ease-out both;
}
.hero-eyebrow {
    display: block;
    margin-bottom: 14px;
    font-family: 'Bookman Old Style', Georgia, serif;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: .08em;
    opacity: .9;
}
.hero-title {
    position: relative;
    margin: 0;
    padding-bottom: 20px;
    font-family: 'AlibabaPuHuiTi-2-45-Light', sans-serif;
    font-weight: 400;
    font-size: clamp(30px, 5vw, 68px);
    line-height: 1.1;
    color: #fff;
}
.hero-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 3px;
    background: #fff;
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
    .nybanner.hero-plain { height: 55vh; min-height: 360px; }
    .hero-plain .nybanner_bg { display: block; }
    .hero-caption { left: 20px; right: 20px; bottom: 32px; }
    .hero-eyebrow { margin-bottom: 10px; font-size: 13px; }
    .hero-title { padding-bottom: 14px; }
    .hero-title::after { width: 48px; }
}


/* ── 11. Footer ────────────────────────────────────────────────────────── */
#footer {
    position: relative;
    z-index: 10;
    padding-top: 6vw;
    overflow: hidden;
    color: #fff;
    background-color: #323232;
}
.footer_mid { margin: 0 5.72916667%; }
.footer_y_1 { margin-bottom: 6vw; }
.footer_y_1_left { float: left; width: 27%; }
.footer_y_1_right { float: right; width: 73%; }
.footer_y_1_left_mid { padding-right: 1em; }
.footer-logo { width: 200px; height: auto; }
.footer_y_1_left_mid_2 { margin: 2em 0 1.5em; line-height: 1.7; }
.footer_y_1_left_mid_3 a {
    display: inline-block;
    padding-bottom: 5px;
    color: #fff;
    border-bottom: 1px solid #fff;
}
.footer_y_1_left_mid_3 a span {
    padding-right: 19px;
    background-image: url('/images/footer/img5.png');
    background-position: right center;
    background-repeat: no-repeat;
}
.footer_y_1_right_mid { border-left: 1px solid #4c4c4c; }

.footer_y_1_right_mid_1 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 0;
}
.footer_y_1_right_mid_1 ul li {
    position: relative;
    flex: 1 0 100px;
    margin: 0 5px;
    text-align: center;
}
.footer_y_1_right_mid_1 ul li p {
    padding-bottom: 5px;
    margin-bottom: 5px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

.footertest {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    padding: 6px;
    background-color: #fff;
}
.footertest p { margin: 0; color: #000; line-height: 1.2; text-align: center; }


/* ── 12. Scroll to top ─────────────────────────────────────────────────── */
#scrollToTopBtn {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 20px;
    z-index: 99;
    width: 50px;
    height: 50px;
    font-size: 30px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    background-color: #000;
    border: none;
    outline: none;
    cursor: pointer;
}
#scrollToTopBtn:hover { background-color: #555; }


/* ── 13. Responsive (shared) ───────────────────────────────────────────── */
@media (max-width: 1680px) {
    .y_index_1_1 { font-size: 2.5em; }
    .footer_mid { margin: 0 2.9%; }
}

@media (max-width: 1080px) {
    .adv_mid { margin: 0 2.60416667%; }
    .y_index_1_1 { font-size: 1.5em; }
}

@media (max-width: 850px) {
    .footer_y_1_left { width: 100%; }
    .footer_y_1_right { display: none; }
}

@media (max-width: 768px) {
    .indexbanner { position: relative; height: auto; }
    .nybanner { height: auto; }
    .nybanner_bg { display: none; }
    .shoujibannerimg { display: block; width: 100%; height: auto; }
    .nymainbody { margin-top: 0; }
}

@media (max-width: 640px) {
    .indexbanner { position: relative; height: auto; }
    .nybanner { height: auto; }
    .shoujibannerimg { display: block; width: 100%; }
    .nymainbody { margin-top: 0; }
    .footer_y_1_left_mid_1 img { width: 220px; }
    .footer_y_1_left_mid_2 { margin-top: 1em; }
}

@media (max-width: 480px) {
    .y_index_1_1 { font-size: 1.25em; }
}