:root {
    --heroFade: 0;
    --fadeDistance: 700;
    --pageBg: #fcf2d8;
    --navFade: 0;
    --headerH: 110px;
    --text-color: #333;
    --bg-color: #fff;
    --link-color: #127a3a;
    --link-hover: #0a5227;
    --header-bg: #ddf6bf;
    --dropdown-bg: #ffffff;
    --dropdown-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    --dropdown-border: 1px solid #e8f4d8;
    --footer-bg: #ddf6bf;
}

body {
    background: var(--pageBg);
    color: var(--text-color);
    overflow-x: hidden;
    padding-top: var(--headerH);
    transition: background-color 0.3s ease;
    margin: 0;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.safety-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 0;
    margin-top: calc(-1 * var(--headerH));
    top: var(--headerH);
}

.safety-hero .hero-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.safety-hero .title-wrap {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: start center;
    padding-top: 8%;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
    text-align: center;
}

.safety-hero .title-inner {
    position: relative;
    display: inline-block;
}

.safety-hero::before,
.safety-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.safety-hero::before {
    background: rgba(255, 255, 255, calc(.25 + .55 * var(--heroFade)));
    transition: background .15s;
}

.safety-hero::after {
    background: linear-gradient(to bottom,
            rgba(250, 238, 204, 0) 0%,
            rgba(250, 238, 204, 0) 50%,
            rgba(250, 238, 204, .45) 72%,
            var(--pageBg) 100%);
}

.safety-hero h1 {
    font-family: "Impact", "Montserrat", "Arial Black", system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: 8px;
    font-size: clamp(64px, 12vw, 168px);
    color: rgba(18, 122, 58, 0.8);
    margin: 0;
    text-shadow: 0 2px 2px rgba(0, 0, 0, .12), 0 10px 28px rgba(0, 0, 0, .2);
}

.safety-hero .reflect {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) scaleY(-1);
    color: rgba(18, 122, 58, 0.35);
    filter: blur(1px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 80%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 80%);
    white-space: nowrap;
    pointer-events: none;
}

.logo-fixed {
    position: fixed;
    top: 10px;
    left: 16px;
    z-index: 4000;
    display: block;
    opacity: var(--navFade);
    transition: opacity .2s linear;
}

.logo-fixed img {
    max-width: 100px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-fixed img:hover {
    transform: scale(1.1);
}

/* 头部导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: var(--header-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: opacity .18s linear, transform .18s linear, box-shadow .18s linear, background .18s linear;
    opacity: calc(1 - var(--navFade));
    transform: translateY(calc(-10px * var(--navFade)));
    height: var(--headerH);
}

.header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 100%;
}

.navbar-brand img {
    max-width: 95px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item .nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 24px;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-item .nav-link:hover {
    color: var(--link-color);
}

.nav-item.active .nav-link {
    color: var(--link-color);
    font-weight: 700;
}

.navbar-toggler {
    display: none !important;
}

/* 下拉菜单样式 - 优化设计 */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-toggle {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 24px;
    transition: color 0.3s ease;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item.dropdown .dropdown-toggle::after {
    content: "▼";
    font-size: 14px;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-item.dropdown .dropdown-toggle:hover {
    color: var(--link-color);
}

.nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dropdown-bg);
    min-width: 220px;
    box-shadow: var(--dropdown-shadow);
    z-index: 1000;
    margin: 6px 0 0;
    padding: 12px 0;
    list-style: none;
    border-radius: 12px;
    border: var(--dropdown-border);
    transform-origin: top center;
    transform: scaleY(0.9);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    transform: scaleY(1);
    opacity: 1;
}

.nav-item.dropdown .dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 17px;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-item.dropdown .dropdown-menu .dropdown-item i {
    margin-right: 10px;
    opacity: 0.7;
    width: 16px;
    text-align: center;
}

.nav-item.dropdown .dropdown-menu .dropdown-item:hover {
    color: var(--link-hover);
    background-color: #f0f7ea;
    padding-left: 22px;
}

.nav-item.dropdown .dropdown-menu .dropdown-item:hover i {
    opacity: 1;
}

.dropdown-item .menu-icon {
    margin-right: 10px;
    width: 18px;
    display: inline-block;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.dropdown-item:hover .menu-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* 响应式调整 */
@media(max-width: 991px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 0;
    }

    .header {
        height: auto;
    }

    body {
        padding-top: 0;
    }

    .safety-hero {
        margin-top: 0;
        top: 0;
    }

    .nav-item.dropdown .dropdown-menu {
        min-width: 180px;
    }

    .nav-item .nav-link,
    .nav-item.dropdown .dropdown-toggle {
        font-size: 20px;
    }
}
/*main-content
.main-content-container {
    max-width: 1100px;
    margin: 24px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    padding: 34px 30px;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.section {
    padding: 18px 0 6px;
}

.container-narrow {
    max-width: 980px;
    margin: 0 auto;
}

.h-title {
    font-weight: 800;
    letter-spacing: .5px;
    font-size: clamp(28px, 3.2vw, 36px);
    margin-bottom: 14px;
}

.h-sub {
    color: #666;
    margin-bottom: 22px;
}

.section-line span {
    display: block;
    width: 54px;
    height: 3px;
    background: #0a6a2f;
    margin: 10px 0 16px;
    border-radius: 3px;
}

.attribution-note {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-style: italic;
}*/

/* Quick Navigation Overlay */
.quick-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    background: radial-gradient(700px 500px at 50% 35%,
            rgba(252, 242, 216, 0.85) 0%,
            rgba(221, 246, 191, 0.7) 60%,
            rgba(252, 225, 233, 0.65) 100%);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.quick-nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

.quick-close {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: transparent;
    color: #6b5b45;
    border: 2px solid rgba(107, 91, 69, 0.75);
    font-size: 22px;
    line-height: 42px;
    cursor: pointer;
    box-shadow: 0 2px 18px rgba(0, 0, 0, .15);
}

.quick-close:hover {
    background: rgba(255, 255, 255, .15);
}

.quick-nav.ring-ui {
    width: min(700px, 90vw);
    height: min(500px, 70vh);
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.quick-dim {
    position: absolute;
    inset: 0;
}

.bg-shards {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shards span {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 18px solid rgba(255, 255, 255, .12);
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .15));
    opacity: .75;
    animation: shardDrift var(--dur, 28s) linear infinite,
        shardSpin var(--spin, 22s) linear infinite;
}

.bg-shards span:nth-child(1) {
    --x: 12%;
    --y: 18%;
    --rot: 14deg;
    --dur: 30s;
    --spin: 26s
}

.bg-shards span:nth-child(2) {
    --x: 26%;
    --y: 8%;
    --rot: -12deg;
    --dur: 38s
}

.bg-shards span:nth-child(3) {
    --x: 44%;
    --y: 16%;
    --rot: 6deg;
    --dur: 36s
}

.bg-shards span:nth-child(4) {
    --x: 66%;
    --y: 10%;
    --rot: 18deg;
    --dur: 40s
}

.bg-shards span:nth-child(5) {
    --x: 82%;
    --y: 22%;
    --rot: -20deg;
    --dur: 34s
}

.bg-shards span:nth-child(6) {
    --x: 16%;
    --y: 66%;
    --rot: 10deg;
    --dur: 33s
}

@keyframes shardDrift {
    0% {
        transform: translate(calc(var(--x)), calc(var(--y))) rotate(var(--rot));
        opacity: .0;
    }

    10% {
        opacity: .75;
    }

    90% {
        opacity: .75;
    }

    100% {
        transform: translate(calc(var(--x) + 10vw), calc(var(--y) - 12vh)) rotate(var(--rot));
        opacity: 0;
    }
}

@keyframes shardSpin {
    to {
        filter: hue-rotate(10deg);
    }
}

.ring {
    --R: 200px;
    --labelGap: 34px;
    --ringColor: rgba(255, 255, 255, .5);
    position: absolute;
    inset: 0;
    margin: auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    display: grid;
    place-items: center;
}

.ring::after {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--ringColor);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 2px 30px rgba(0, 0, 0, .15) inset;
    animation: ringBreathe 7s ease-in-out infinite;
}

@keyframes ringBreathe {

    0%,
    100% {
        box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 2px 30px rgba(0, 0, 0, .15) inset;
    }

    50% {
        box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 2px 40px rgba(0, 0, 0, .2) inset;
    }
}

.ring__core {
    position: relative;
    text-align: center;
    transform: translateY(-4px);
}

.ring__logo {
    width: 170px;
    height: 170px;
    object-fit: contain;
    background-image: url('https: //static.igem.wiki/teams/5726/1/home-page/begin/2.webp');
}

.ring__title {
    margin-top: 14px;
    font-weight: 800;
    letter-spacing: .3px;
    color: #127a3a;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
}

.ring__sub {
    margin-top: 6px;
    font-size: 22px;
    color: #6b5b45;
    opacity: .9;
}

.ring-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--R));
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e04f86;
    box-shadow: 0 0 0 2px rgba(224, 79, 134, .3);
}

.ring-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--a)) translate(calc(var(--R) + var(--labelGap))) rotate(calc(-1 * var(--a)));
    color: #5a4a35;
    text-decoration: none;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: .2px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .1);
    transition: transform .15s ease, color .15s ease;
    opacity: 0;
    animation: linkIn .55s var(--d, .1s) cubic-bezier(.2, .8, .2, 1) forwards;
}

.ring-link:hover,
.ring-link:focus {
    color: #127a3a;
    transform: translate(-50%, -50%) rotate(var(--a)) translate(calc(var(--R) + var(--labelGap) + 4px)) rotate(calc(-1 * var(--a)));
}

@keyframes linkIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .ring {
        width: 85vw;
        height: 85vw;
        --R: calc(42vw - 42px);
    }

    .ring__logo {
        width: 140px;
        height: 140px;
    }

    .ring-link {
        font-size: 15px;
    }
}

/* Accessibility Panel */
.a11y-toggle {
    position: fixed;
    left: 14px;
    bottom: 18px;
    z-index: 5200;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid #0b6a30;
    background: #0b6a30;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    font-size: 0;
}

.a11y-toggle img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.a11y-toggle:hover {
    transform: scale(1.1);
}

.a11y-panel {
    position: fixed;
    left: 14px;
    top: 14px;
    bottom: 14px;
    width: 340px;
    z-index: 5201;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    transform: translateX(-120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: auto;
    border: 1px solid #e0e0e0;
}

.a11y-panel.show {
    transform: translateX(0);
}

.a11y-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #0b6a30;
    color: #fff;
    border-radius: 16px 16px 0 0;
    font-weight: 800;
    font-size: 18px;
}

.a11y-panel .a11y-body {
    padding: 20px;
}

.a11y-group {
    border: 1px solid #eef0ea;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    background: #f9f9f9;
}

.a11y-group h5 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #333;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.a11y-group h5 i {
    margin-right: 8px;
    color: #0b6a30;
}

.a11y-options {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.a11y-btn {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    background: #ffffff;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 80px;
}

.a11y-btn:hover {
    border-color: #0b6a30;
    background: #f0f7ea;
}

.a11y-btn[aria-pressed="true"] {
    outline: none;
    border-color: #0b6a30;
    background: #e6f4d8;
    box-shadow: 0 0 0 3px rgba(11, 106, 48, 0.2);
}

.a11y-description {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    padding-left: 4px;
    line-height: 1.4;
}

.a11y-separator {
    height: 1px;
    background: #e0e0e0;
    margin: 18px 0;
}

.a11y-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.a11y-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

#a11yReset {
    width: 100%;
    padding: 12px;
    background: #fff3f3;
    border: 2px solid #ffd6d6;
    color: #d32f2f;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

#a11yReset:hover {
    background: #ffebee;
}

/* Dyslexia-friendly styles */
body.a11y-font-dys {
    --text-color: #1a1a1a;
    --bg-color: #ffffff;
    --link-color: #0055cc;
}

body.a11y-font-dys .main-content-container {
    font-family: 'Open Dyslexic', sans-serif;
    letter-spacing: 0.03em;
    line-height: 1.8 !important;
    word-spacing: 0.1em;
}

body.a11y-font-dys .main-content-container p,
body.a11y-font-dys .main-content-container li {
    font-weight: 500;
    text-rendering: optimizeLegibility;
}

body.a11y-font-dys .main-content-container h1,
body.a11y-font-dys .main-content-container h2,
body.a11y-font-dys .main-content-container h3,
body.a11y-font-dys .main-content-container h4 {
    font-family: 'Open Dyslexic', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.8em;
}

body.a11y-font-dys .main-content-container a {
    color: var(--link-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

/* Low vision optimized styles */
body.a11y-font-low {
    --text-color: #000000;
    --bg-color: #fffff0;
}

body.a11y-font-low .main-content-container {
    font-family: 'Lexend', 'Arial Rounded MT Bold', sans-serif;
    letter-spacing: 0.02em;
    background-color: var(--bg-color);
}

body.a11y-font-low .main-content-container p,
body.a11y-font-low .main-content-container li {
    font-weight: 600;
    color: var(--text-color);
}

body.a11y-font-low .main-content-container h1,
body.a11y-font-low .main-content-container h2,
body.a11y-font-low .main-content-container h3,
body.a11y-font-low .main-content-container h4 {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    color: #000000;
}

/* Text size adjustments */
body.a11y-text-sm .main-content-container {
    font-size: 1em;
}

body.a11y-text-md .main-content-container {
    font-size: 1.15em;
}

body.a11y-text-lg .main-content-container {
    font-size: 1.35em;
}

body.a11y-text-xl .main-content-container {
    font-size: 1.6em;
}

/* Line height adjustments */
body.a11y-lh-sm .main-content-container p,
body.a11y-lh-sm .main-content-container li {
    line-height: 1.6;
}

body.a11y-lh-md .main-content-container p,
body.a11y-lh-md .main-content-container li {
    line-height: 1.8;
}

body.a11y-lh-lg .main-content-container p,
body.a11y-lh-lg .main-content-container li {
    line-height: 2.1;
}

/* Letter spacing adjustments */
body.a11y-ls-sm .main-content-container {
    letter-spacing: 0;
}

body.a11y-ls-md .main-content-container {
    letter-spacing: 0.03em;
}

body.a11y-ls-lg .main-content-container {
    letter-spacing: 0.06em;
}

@media (max-width: 768px) {
    .a11y-panel {
        width: 90vw;
    }
}

/* ===== Footer (按截图还原) ===== */
.site-footer {
    background: var(--header-bg);
    color: #1f1f1f;
    padding: 38px 0 24px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.site-footer .footer__container {
    width: min(1230px, 92%);
    margin: 0 auto;
}

/* 顶部行：左标志 + 右联系 */
.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.footer__brand img {
    height: 92px;
    /* 视觉与截图接近，可按需微调 */
    width: auto;
    display: block;
}

.footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 18px;
    line-height: 1.6;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__contact .ico {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #222;
}

.footer__contact a {
    color: #1f5fbf;
    text-decoration: none;
}

.footer__contact a:hover {
    text-decoration: underline;
}

/* 中部标语 + 分割线 */
.footer__tagline {
    margin: 18px 0 10px;
    font-size: 20px;
    line-height: 1.6;
}

.footer__line {
    height: 1px;
    background: rgba(0, 0, 0, .08);
    margin: 12px 0 22px;
}

/* 三枚 LOGO */
.footer__logos {
    display: flex;
    align-items: center;
    gap: 30px;
    /* 按截图靠左排布；若需居中可改为 center */
    justify-content: flex-start;
}

.footer__logos img {
    height: 78px;
    /* 三标高度一致，跟截图接近 */
    width: auto;
    object-fit: contain;
    display: block;
    filter: none;
}

/* 底部版权 */
.footer__meta {
    text-align: center;
    margin-top: 18px;
}

.footer__meta p {
    margin: 0;
    font-size: 14px;
    color: #4b4b4b;
    line-height: 1.6;
}

.footer__meta a {
    color: #1f5fbf;
    text-decoration: none;
}

.footer__meta a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 900px) {
    .footer__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__contact {
        width: 100%;
    }

    .footer__logos {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer__brand img {
        height: 84px;
    }
}

@media (max-width: 520px) {
    .footer__brand img {
        height: 76px;
    }

    .footer__logos img {
        height: 64px;
    }

        .footer__contact {
            font-size: 16px;
        }
    
        .footer__tagline {
            font-size: 18px;
        }
    }
        

         /* 顶部四个LOGO */
         .footer__logos-top {
             display: flex;
             align-items: center;
             justify-content: center;
             gap: 40px;
             /* LOGO间距 */
             flex-wrap: wrap;
             /* 小屏幕换行 */
             margin-bottom: 20px;
             padding: 0 10px;
         }
    
         .footer-logo {
             height: 80px;
             /* 统一高度 */
             width: auto;
             object-fit: contain;
             transition: transform 0.3s ease;
         }
    
         .footer-logo:hover {
             transform: scale(1.05);
             /* 悬浮微放大 */
         }
    
         /* 分割线 */
         .footer__line {
             height: 1px;
             background: rgba(0, 0, 0, .1);
             margin: 0 0 20px;
             /* 与上下内容的间距 */
         }
    
         /* 底部内容容器 */
         .footer__bottom {
             display: flex;
             flex-direction: column;
             gap: 12px;
             /* 社交文本与版权的间距 */
         }
    
         /* 社交媒体纯文本 */
         .footer__social-text {
             text-align: center;
             font-size: 15px;
             color: #333;
             line-height: 1.6;
             padding: 0 10px;
             /* 避免边缘溢出 */
             word-wrap: break-word;
             /* 长文本自动换行 */
         }
    
         .footer__social-text a {
             color: #1f5fbf;
             text-decoration: none;
         }
    
         .footer__social-text a:hover {
             text-decoration: underline;
         }
    
         /* 版权文字 */
         .footer__meta {
             text-align: center;
         }
    
         .footer__meta p {
             margin: 0;
             font-size: 14px;
             color: #4b4b4b;
             line-height: 1.6;
         }
    
         .footer__meta a {
             color: #1f5fbf;
             text-decoration: none;
         }
    
         .footer__meta a:hover {
             text-decoration: underline;
         }
    
         /* 响应式调整 */
         @media (max-width: 768px) {
             .footer__logos-top {
                 gap: 20px;
                 /* 小屏幕LOGO间距缩小 */
             }
    
             .footer-logo {
                 height: 65px;
                 /* 小屏幕LOGO缩小 */
             }
    
             .footer__social-text {
                 font-size: 14px;
                 /* 小屏幕文字缩小 */
             }
         }
    
         @media (max-width: 480px) {
             .footer__social-text {
                 font-size: 13px;
                 line-height: 1.8;
                 /* 增加行高避免拥挤 */
             }
    
             .footer__meta p {
                 font-size: 13px;
             }
         }


/* Left Navigation - Updated to formal font */


.left-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    min-height: 380px;
    max-height: 480px;
    background: #f9fceb;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(255, 180, 200, .2);
    padding: 30px 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Formal font for international competition */
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}
.left-nav.show,
.left-nav.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1.02);
}

.left-nav.show,
.left-nav.is-visible {
    opacity: 1;
    /* 不透明 */
    visibility: visible;
    /* 视觉可见 */
    transform: translateY(-50%) scale(1.02);
}



.left-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.left-nav li {
    margin: 12px 0;
    cursor: pointer;
    color: #333;
    padding-left: 10px;
    border-left: 3px solid transparent;
    transition: all .3s;
}

.left-nav li.active,
.left-nav li:hover {
    color: #54a01a;
    border-left-color: #54a01a;
    transform: translateX(6px);
}



/* Footer */
.client-log-area {
    padding: 40px 0;
    background-color: #fcf2d8;
    margin-top: 60px;
}

.client-logo-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.client-logo-single img {
    max-height: 80px;
    opacity: .7;
    transition: opacity .3s ease;
}

.client-logo-single img:hover {
    opacity: 1;
}

.footer-area {
    background-color: #ddf6bf;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 160px;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.call-us {
    font-weight: 600;
}

.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    margin-bottom: 10px;
}

.link-list a {
    color: #e0f2e9;
    text-decoration: none;
    transition: color .2s ease;
}

.link-list a:hover {
    color: #ffffff;
}

.instagram-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.instagram-list li {
    flex: 0 0 calc(33.333% - 10px);
}

.instagram-list img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.back-to-top {
    text-align: center;
    margin-top: 20px;
}

.back-to-top span {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #127a3a;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color .2s ease;
}

.back-to-top span:hover {
    background-color: #e0f2e9;
}


/* === Dropdown：更顺滑 & 可配合 JS 延迟 === */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    /* 视觉间距，用 top 而不是 margin 避免抖动 */
    left: 0;
    margin: 0;

    /* 改为用可见性控制，绝对定位不会撑布局 */
    display: block;
    visibility: hidden;
    opacity: 0;
    transform-origin: top center;
    transform: scaleY(.95);
    pointer-events: none;

    /* 你原来的圆角/阴影/边框都保留，下面仅是过渡 */
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
}

/* 在按钮与菜单之间“搭一座桥”，鼠标穿越不会丢 hover */
.nav-item.dropdown .dropdown-menu::before {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: -12px;
    height: 12px;
}

/* 正常悬停或被 JS 标记为 open 时显示 */
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown .dropdown-menu.open {
    visibility: visible;
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
    transition: transform .25s ease, opacity .25s ease, visibility 0s;
}

                /* Back to Top Button */
                .back-to-top {
                    position: fixed;
                    bottom: 30px;
                    right: 30px;
                    width: 70px;
                    height: 70px;
                    border-radius: 50%;
                    background-color: rgb(255, 255, 255);
                    /* 匹配图标底色 */
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    cursor: pointer;
                    opacity: 0;
                    visibility: hidden;
                    transition: opacity 0.3s ease, visibility 0.3s ease;
                    z-index: 1000;
                    /* 确保在最上层 */
                    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
                }
        
                .back-to-top img {
                    width: 60px;
                    height: 60px;
                    object-fit: contain;
                    /* 保持图标比例 */
                }
        
                .back-to-top.visible {
                    opacity: 1;
                    visibility: visible;
                }


                .main-content-container p {
  text-align: justify;         
  text-justify: inter-ideograph;
  hyphens: none;               
  word-break: break-word;       
}

.main-content-container li {
                                                                    text-align: justify;
                                                                    text-justify: inter-ideograph;
                                                                    hyphens: none;
                                                                    word-break: break-word;
                                                                }