/* 全局變量 */
:root {
    --primary-color: #1f9968;
    /* 绿色主题 */
    --secondary-color: #ffffff;
    /* 纯白色背景 */
    --accent-color: #1f9968;
    /* 中等绿色 - 用于悬停和强调 */
    --text-color: #333333;
    /* 主要文字颜色 */
    --light-text: #757a80;
    /* 浅灰色 - 次要文字 */
    --border-color: #ecf0f1;
    /* 浅灰色边框 */
    --transition: all 0.3s ease-in-out;
    --shadow: 0 2px 4px rgba(45, 90, 61, 0.1);
    /* 绿色阴影 */

    --family-font: 'Roboto', Helvetica, Arial, sans-serif;
}

/* 字體 */
@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto-VariableFont_wdth\,wght.ttf') format('truetype');
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto-Italic-VariableFont_wdth\,wght.ttf') format('truetype');
    font-style: italic;
    font-display: swap;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* 基礎樣式 */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--family-font);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

ul {
    padding-left: 0;
    margin: 0;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid #e7e7e7;
    box-shadow: 0 2px 10px rgba(31, 153, 104, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 20px rgba(31, 153, 104, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    width: 220px;
    height: auto;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.7;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-navigation {
    height: 100%;
}

.main-navigation>ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.main-navigation>ul>li {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-navigation>ul>li>a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.main-navigation>ul>li>a>.layui-icon {
    font-size: 13px;
    padding-top: 3px;
    margin-left: 5px;
}

.main-navigation>ul>li>a:hover {
    color: var(--primary-color);
}

.main-navigation>ul>li>a.active {
    color: var(--primary-color);
}

.header-utils {
    display: flex;
    align-items: center;
    gap: 25px;
}



.mobile-menu-btn {
    display: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--primary-color);
    /* padding: 10px; */
    /* border-radius: 8px; */
    transition: all 0.3s ease;
    /* width: 44px;
    height: 44px; */
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}



/* 子菜单样式 */
.mega-dropdown {
    position: relative;
    margin: 0 15px;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.dropdown-trigger:hover {
    color: var(--primary-color);
}

.arrow {
    margin-left: 8px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 巨型菜单容器 */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    background: #ffffff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 26px;
}

/* 
.mega-menu::after{
    content: '';
    width: 150px;
    height: 150px;
    background: url('/assets/images/menu-trangle.webp') left bottom no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 50%;
    left: 30px;
} */


.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
}

/* 菜单列样式 */
.menu-column {
    flex: 1;
}

.column-title {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.column-title .layui-icon {
    display: inline-block;
    transform: rotate(180deg) translateX(5px);
    transition: all 0.3s ease;
    font-size: 13px;
    padding-top: 3px;
    padding-right: 10px;
}

.column-title:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.column-title.active {
    color: var(--primary-color);
    text-decoration: none;
}

.column-title:hover .layui-icon {
    animation: turnIcon 1s ease-in-out infinite;
}

@keyframes turnIcon {

    0%,
    100% {
        transform: rotate(180deg) translateX(5px);
    }

    50% {
        transform: rotate(180deg) translateX(0);
    }
}

.column-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.column-title:hover::after {
    width: 100%;
}

/* 子菜单项高级效果 */
.menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-column ul li {
    margin-bottom: 12px;
    position: relative;
}

.menu-column ul li a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
}

.menu-column ul li a:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.menu-column ul li a.active {
    color: var(--primary-color);
    text-decoration: none;
}

.menu-icon {
    font-size: 20px;
    margin-right: 12px;
    opacity: 0.7;
}

.menu-text {
    flex-grow: 1;
    color: inherit;
    font-size: 14px;
    font-weight: 400;
}

.hover-line {
    position: absolute;
    left: 0;
    bottom: 50%;
    width: 5px;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.menu-trangle {
    width: 100px;
    height: 100px;
    margin-top: 50px;
}

.menu-trangle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 特色卡片设计 */
.feature-card {
    background: white;
    border-radius: 12px;
    /* padding: 15px 10px; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s ease;
}

.feature-card ul>li{
    margin: 0;
}

/* .feature-card:hover {
    transform: translateY(-5px);
} */

.feature-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #16a34a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: white;
    font-size: 24px;
    border-radius: 12px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.card-icon .layui-icon {
    font-size: 35px;
    /* color: var(--primary-color); */
}

.feature-card h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;

}

.card-link {
    color: var(--primary-color);
    font-size: 14px;
    display: inline-block;
    position: relative;
    text-decoration: none;
    margin-top: 10px;
}

.card-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.card-link:hover::after {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .mega-menu {
        width: 700px;
        flex-wrap: wrap;
    }

    .menu-column {
        flex: 0 0 48%;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        padding: 20px 0;
    }

    .mega-dropdown:hover .mega-menu {
        display: flex;
        transform: none;
    }
}


.language-switch {
    display: flex;
    gap: 20px;
    position: relative;
}

.language-switch::after {
    content: '';
    width: 1px;
    height: 80%;
    background: #bebebe;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 45%;
}

.language-link {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.language-link:hover {
    color: var(--primary-color);
}

.language-link.active {
    color: var(--primary-color);
}















/* Footer Styles */
.footer {
    background-color: #fff;
    color: var(--primary-color);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    /* box-shadow: 0 0 10px rgba(31, 153, 104, 0.1); */
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    text-align: left;
    letter-spacing: 0.5px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 2px;
}

.footer-section p,
.footer-section a {
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1.8;
    margin-bottom: 8px;
    display: block;
    transition: var(--transition);
    font-size: 15px;
}

/* 左侧：公司品牌区域 */
.footer-left {
    flex: 1;
    max-width: 350px;
}

.company-brand {
    margin-bottom: 25px;
}

.brand-logo {
    /* width: 300px; */
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-brand h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.company-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--primary-color);
    margin: 0;
    font-weight: 400;
}

/* 社交媒体链接样式 */
.social-links {
    display: flex;
    gap: 12px;
    transition: all 0.3s ease;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    color: #fff;
    border: 1px solid var(--primary-color);
}

.social-link:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-link i {
    font-size: 16px;
}

.footer-section a:hover {
    color: var(--accent-color);
}

/* 中间：快速链接和服务区域 */
.footer-center {
    display: flex;
    gap: 50px;
}

.footer-nav,
.footer-services {
    min-width: 150px;
}

.footer-nav h4,
.footer-services h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 25px 0;
    letter-spacing: 0.5px;
    position: relative;
}

.footer-nav h4::after,
.footer-services h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.footer-nav ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-services li {
    margin-bottom: 8px;
    position: relative;
}

.footer-nav a,
.footer-services a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    padding: 4px 0;
    position: relative;
}


.footer-nav a::after,
.footer-services a::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -10px;
    width: 5px;
    height: 1px;
    background: var(--primary-color);
    display: none;
}

.footer-nav a:hover,
.footer-services a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-nav a:hover::after,
.footer-services a:hover::after {
    display: block;
}

/* 右侧：联系信息区域 */
.footer-right {
    flex: 1;
    max-width: 300px;
}

.contact-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 25px 0;
    letter-spacing: 0.5px;
    position: relative;
}

.contact-info h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.contact-item-location {
    align-items: flex-start;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.contact-item span,
.contact-item a {
    color: var(--primary-color);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 联系按钮 */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.contact-btn:hover i {
    transform: translateX(3px);
}

.footer-section ul {
    padding-left: 20px;
}

.footer-section ul li {
    position: relative;
}

.footer-section ul li::before {
    content: '';
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
}

.footer-logo {
    width: 100%;
    height: auto;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-section.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section.contact-info i {
    color: rgba(255, 255, 255, 0.8);
    width: 16px;
}

/* 联系信息区域样式 */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details p,
.contact-details a {
    font-size: 14px;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
}

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

/* CTA按钮样式 */
.footer-cta {
    margin-top: 25px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2d5a3d 100%);
    color: var(--primary-color);
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.footer-input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    box-sizing: border-box;
}

.footer-button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
    margin-bottom: 0;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.logo-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-list a {
    width: 70%;
    height: auto;
    object-fit: cover;
}

.logo-list a:hover {
    opacity: 0.7;
}

.logo-list a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    backdrop-filter: blur(10px);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--primary-color);
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    /* gap: 20px; */
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 10px;
}

.footer-links a:first-child {
    padding-left: 0;
}

.footer-links a:last-child::after {
    display: none;
}


.footer-links a::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 1px;
    height: 50%;
    background: var(--primary-color);
}

.footer-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.powered-by {
    color: var(--primary-color);
    font-size: 13px;
}

.copyright a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.back-to-top {
    background: var(--primary-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}


.main-page {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 400px);
}

@media screen and (max-width: 1260px) {
    .main-navigation ul{
        display: none;
    }
    .mobile-menu-btn{
        display: flex;
    }
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }

    .main-navigation ul {
        gap: 30px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .slide-text h1 {
        font-size: 60px;
        letter-spacing: 6px;
    }

    .slide-text h2 {
        font-size: 48px;
        letter-spacing: 3px;
    }

    .slide-text p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    html {
        overflow-x: hidden;
        width: 100%;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .main-page {
        margin-top: 70px;
        min-height: calc(100vh - 70px - 400px);
        width: 100%;
        overflow-x: hidden;
    }

    .header-container {
        height: 70px;
        padding: 5px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 37, 24, 0.1);
        padding: 20px 0;
    }

    .main-navigation ul.active {
        display: flex;
    }

    .main-navigation ul li a {
        padding: 15px 30px;
        border-bottom: 1px solid rgba(0, 37, 24, 0.1);
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-utils {
        gap: 15px;
    }


    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        max-width: none;
    }

    .footer-center {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-left {
        justify-content: center;
    }

    .footer-section p,
    .footer-section a {
        text-align: center;
    }

    .footer-section h3 {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-section.contact-info p {
        justify-content: center;
    }

    .logo {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    html {
        overflow-x: hidden;
        width: 100%;
    }

    body {
        overflow-x: hidden;
        width: 100%;
    }

    .header-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }


    .header-utils {
        gap: 10px;
    }


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

    .footer-bottom-left {
        gap: 20px;
    }


}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes footerFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes socialIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Footer动画效果 */
.footer-left,
.footer-center,
.footer-right {
    animation: footerFadeInUp 0.6s ease forwards;
    opacity: 0;
}

.footer-left {
    animation-delay: 0.1s;
}

.footer-center {
    animation-delay: 0.2s;
}

.footer-right {
    animation-delay: 0.3s;
}








/* Layui 分頁樣式 */
#pagination {
    padding: 40px 50px;
    /* background: #f8f9fa; */
    border-top: 1px solid #e9ecef;
    text-align: center;
}

/* 自定義layui分頁樣式 */
.layui-laypage a,
.layui-laypage span {
    background-color: white;
    color: var(--text-color);
    border: 1px solid #e9ecef;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.layui-laypage a:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 37, 24, 0.3);
}

.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.layui-laypage .layui-laypage-curr em {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.layui-laypage .layui-laypage-limits {
    color: var(--text-color);
}

.layui-laypage .layui-laypage-limits select {
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 4px 8px;
    color: var(--text-color);
}

.layui-laypage .layui-laypage-limits select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.layui-laypage .layui-laypage-skip input {
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 4px 8px;
    color: var(--text-color);
    width: 50px;
}

.layui-laypage .layui-laypage-skip input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.layui-laypage .layui-laypage-skip button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.layui-laypage .layui-laypage-skip button:hover {
    background-color: #1a4a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 37, 24, 0.3);
}

/* 響應式分頁 */
@media (max-width: 768px) {
    #pagination {
        padding: 30px 20px;
    }

    .layui-laypage a,
    .layui-laypage span {
        margin: 0 1px;
        font-size: 14px;
        padding: 8px 12px;
    }

    .layui-laypage .layui-laypage-limits,
    .layui-laypage .layui-laypage-skip {
        display: none;
    }
}

@media (max-width: 480px) {
    #pagination {
        padding: 25px 15px;
    }

    .layui-laypage a,
    .layui-laypage span {
        margin: 0 1px;
        font-size: 12px;
        padding: 0px 10px;
    }

    .layui-laypage .layui-laypage-limits,
    .layui-laypage .layui-laypage-skip {
        display: none;
    }
}

/* 回到顶部按钮 */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 37, 24, 0.3);
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top-btn.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 199, 88, 0.4);
}

.back-to-top-btn svg {
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover svg {
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .layui-laypage a:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}


/* 標題 */
.title-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.title-header h2 {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title-header p {
    font-size: 16px;
    color: var(--light-text);
    margin: 20px 0;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 1px;
}

.decoration-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(31, 153, 104, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}



@media screen and (max-width:768px) {
    .footer {
        padding: 40px 0 0;
    }

    .brand-logo {
        width: 300px;
        margin: 0 auto 30px;
    }

    .footer-center {
        width: 100%;
    }

    .footer-nav h4::after,
    .footer-services h4::after,
    .contact-info h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-right {
        width: 100%;
    }

    .contact-item-location,
    .contact-item {
        justify-content: center;
    }
}

/* 回到顶部按钮样式 */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(31, 153, 104, 0.3);
    z-index: 9999;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 153, 104, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.back-to-top-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(31, 153, 104, 0.3);
}

.back-to-top-btn.clicked {
    box-shadow: 0 2px 10px rgba(31, 153, 104, 0.2);
}

.back-to-top-btn.scrolling {
    pointer-events: none;
}

.back-to-top-btn svg {
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
}

.back-to-top-btn:hover svg {
    transform: translateY(-2px);
}

/* 添加脉冲动画效果 */
.back-to-top-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: pulse 2s infinite;
}

.back-to-top-btn:hover::before {
    opacity: 0.3;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.1;
    }

    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .back-to-top-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ===== 移动端侧边导航栏样式 ===== */

/* 侧边栏打开时的body样式 */
body.sidebar-open {
    overflow: hidden;
    /* 移除 position: fixed，避免页面回到顶部 */
    /* position: fixed; */
    width: 100%;
}

/* 侧边栏遮罩层 */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(31, 153, 104, 0.2);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.sidebar-overlay.active {
    opacity: 1;
    left: 0;
    visibility: visible;
}

/* 移动端侧边导航栏 */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 80%;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 1002;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

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

/* 侧边栏头部 */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 25px;
    /* border-bottom: 1px solid #f0f0f0; */
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 200px;
}

.sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.sidebar-close-btn {
    background: #f5f5f5;
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.sidebar-close-btn .layui-icon {
    font-weight: 600;
}

.sidebar-close-btn:hover {
    background: #f8f9fa;
    transform: scale(1.1) rotate(90deg);
}

/* 侧边栏导航 */
.sidebar-navigation {
    flex: 1;
    padding: 0 0 50px 0;
}

.sidebar-navigation>ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.menu-item:last-child {
    margin-bottom: 0;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    color: #333;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

/* .menu-link:hover {
    transform: translateX(5px);
} */

.menu-link i:first-child {
    font-size: 18px;
    width: 24px;
    text-align: center;
    opacity: 0.8;
}

.menu-link span {
    flex: 1;
}

.menu-link.active {
    background: var(--primary-color);
    color: #ffffff;
}

.menu-link.active .submenu-arrow {
    color: #fff;
}

/* 子菜单样式 */
.has-submenu .submenu-trigger {
    cursor: pointer;
}

.submenu-arrow {
    font-size: 14px;
    color: #999;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.has-submenu.active .submenu-arrow {
    transform: rotate(180deg);
}

.has-submenu>ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border-radius: 8px;
    margin: 0 20px 0 40px;
}

.sub-menu-a.active {
    color: var(--primary-color);
}

.has-submenu.active>ul {
    max-height: 1000px;
}

.submenu-item {
    border-bottom: 1px solid #f0f0f0;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 8px;
    overflow: hidden;
}

.submenu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0px;
    color: #555;
    font-weight: 400;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    flex: 1;
}

.submenu-link:hover {
    transform: translateX(3px);
}

.submenu-link i:first-child {
    font-size: 14px;
    width: 20px;
    text-align: center;
    opacity: 0.7;
}

.submenu-link span {
    flex: 1;
}

.expand-btn {
    background: none;
    border: none;
    padding: 14px 16px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #f0f0f0;
}

.expand-btn:hover {
    background: rgba(31, 153, 104, 0.1);
    color: var(--primary-color);
}

.expand-btn.active {
    color: var(--primary-color);
}

.expand-btn.active i {
    transform: rotate(180deg);
}

.expand-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* 没有子子菜单的项目样式 */
/* .submenu-item:last-child .submenu-link {
    color: var(--primary-color);
}

.submenu-item:last-child .submenu-link:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateX(3px);
    box-shadow: 0 3px 10px rgba(31, 153, 104, 0.3);
} */

.submenu-item>ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.submenu-item>ul.expanded {
    max-height: 280px;
}

.submenu-item>ul li {
    border-bottom: 1px solid #f0f0f0;
    margin: 0 20px;
}

.submenu-item>ul li:last-child {
    border-bottom: none;
}

.submenu-item>ul li a {
    display: block;
    padding: 15px 0;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 2px 8px;
    border-radius: 6px;
}

.submenu-item>ul li a:hover {
    color: var(--primary-color);
    background: rgba(31, 153, 104, 0.05);
    transform: translateX(3px);
}

.submenu-item>ul li a.active {
    color: var(--primary-color);
    text-decoration: none;
}

/* 移动端服务组样式 */
.mobile-service-group {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.mobile-service-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mobile-service-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 30px 15px 50px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    background: rgba(31, 153, 104, 0.05);
    border-left: 3px solid var(--primary-color);
    margin: 0 0 0 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-service-title:hover {
    background: rgba(31, 153, 104, 0.08);
    color: var(--primary-color);
}

.mobile-service-title .layui-icon {
    font-size: 14px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.mobile-service-title:hover .layui-icon {
    transform: translateX(3px);
}

.mobile-service-group.submenu-active .mobile-service-title .layui-icon {
    transform: rotate(90deg);
}

.mobile-service-group.submenu-active .mobile-service-title {
    background: rgba(31, 153, 104, 0.1);
    border-left-width: 4px;
}

.mobile-service-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fafbfc;
    display: none;
    transition: all 0.3s ease;
}

.mobile-service-group.submenu-active .mobile-service-submenu {
    display: block;
}

.mobile-service-submenu li a {
    display: block;
    padding: 15px 30px 15px 70px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    position: relative;
    text-decoration: none;
    background: #f8f9fa;
    margin: 2px 0;
    border-radius: 4px;
}

.mobile-service-submenu li a:hover {
    color: var(--primary-color);
    background: rgba(31, 153, 104, 0.05);
    border-left-color: var(--primary-color);
    padding-left: 75px;
}

.mobile-service-submenu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-service-submenu li a:hover::before {
    opacity: 1;
}

/* 移动端普通下拉菜单项样式 */
.mobile-dropdown-menu li:not(.mobile-service-group) a {
    display: block;
    padding: 15px 30px 15px 50px;
    color: #666;
    font-size: 15px;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    position: relative;
    text-decoration: none;
}

.mobile-dropdown-menu li:not(.mobile-service-group) a:hover {
    color: var(--primary-color);
    background: rgba(31, 153, 104, 0.05);
    border-left-color: var(--primary-color);
    padding-left: 55px;
}

.mobile-dropdown-menu li:not(.mobile-service-group) a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-dropdown-menu li:not(.mobile-service-group) a:hover::before {
    opacity: 1;
}

.submenu-link.active {
    color: var(--primary-color);
}

/* 侧边栏底部 */
.sidebar-footer {
    padding: 30px;
    /* border-top: 1px solid #f0f0f0; */
    background: #fafbfc;
    margin-top: auto;
}

.language-switch-sidebar {
    padding: 30px 20px;
}



.language-switch-sidebar {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.language-switch-sidebar .language-link {
    border-radius: 25px;
    color: #666;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: #ffffff;
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 10px;
}

.language-switch-sidebar .language-link::after {
    content: '';
    width: 1px;
    height: 50%;
    background: var(--primary-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    transition: transform 0.3s ease-in-out;
}

.language-switch-sidebar .language-link:last-child {
    padding-right: 0;
}

.language-switch-sidebar .language-link:last-child::after {
    display: none;
}


.language-switch-sidebar .language-link.active,
.language-switch-sidebar .language-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {

    .language-switch {
        display: none;
    }

    .mobile-sidebar {
        width: 100%;
        left: -100%;
    }

    .sidebar-header {
        padding: 30px 15px;
    }


    .logo-main {
        font-size: 20px;
    }

    .logo-sub {
        font-size: 12px;
    }

    .sidebar-navigation>ul>li>a {
        font-size: 15px;
    }

    .mobile-service-title {
        padding: 16px 25px 14px 40px;
        font-size: 15px;
    }

    .mobile-service-submenu li a {
        padding: 12px 25px 12px 60px;
        font-size: 13px;
    }

    .mobile-dropdown-menu li:not(.mobile-service-group) a {
        padding: 14px 25px 14px 45px;
        font-size: 14px;
    }

    .sidebar-footer {
        padding: 25px 25px 60px 25px;
    }


}

/* 动画效果 */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

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

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.mobile-sidebar.active {
    animation: slideInLeft 0.4s ease forwards;
}

.mobile-sidebar:not(.active) {
    animation: slideOutLeft 0.4s ease forwards;
}




@media screen and (max-width: 768px) {
    .title-header h2 {
        text-align: center;
        font-size: 30px;
    }

    .title-decoration {
        justify-content: center;
    }

    .decoration-line {
        width: 40px;
    }

    .decoration-dot {
        width: 10px;
        height: 10px;
    }

    .title-header {
        margin-bottom: 20px;
    }

    .title-header p {
        font-size: 15px;
    }

    .contact-item-content {
        text-align: left;
    }
}