/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 添加平滑过渡效果 */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* 防止页面闪烁 */
body {
    overflow-x: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* 页面容器过渡 */
.container {
    transition: all 0.4s ease;
}

/* 主要内容区域过渡 */
main, section {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    transition: background-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), backdrop-filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-backdrop-filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo img {
    height: 67.5px; /* 原来45px的1.5倍 */
    width: auto;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0) invert(1); /* 白色版本 */
}

.navbar.scrolled .logo img {
    height: 60px; /* 原来40px的1.5倍 */
    filter: brightness(1) invert(0); /* 彩色版本 */
}

/* 确保在非scrolled状态下Logo保持白色 */
.navbar:not(.scrolled) .logo img {
    filter: brightness(0) invert(1); /* 白色版本 */
}

/* 公司名称样式 */
.logo a {
    display: flex;
    align-items: flex-end; /* 底端对齐 */
    text-decoration: none;
    height: 100%;
}

.company-name {
    margin-left: 12px;
    font-size: 2.1rem;
    font-weight: 600;
    font-style: normal; /* 取消斜体 */
    color: white; /* 默认白色 */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    line-height: 1.2;
    align-self: flex-end;
    transform: translateY(0.42rem) translateX(-0.5rem) !important; /* 保留原始定位调整，但移除skew倾斜效果，向上移动0.1rem */
    /* 艺术字体效果 */
    font-family: 'Malgun Gothic', 'Segoe UI', 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0;
    font-weight: bold;
    display: inline-flex;
    gap: 1px;
}

.company-name .letter {
    display: inline-block;
    font-family: 'Malgun Gothic', 'Segoe UI', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 2.1rem;
    letter-spacing: 0.1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled .company-name .letter {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.navbar.scrolled .company-name {
    color: #333; /* 滚动后深色 */
}

.navbar:not(.scrolled) .company-name {
    color: white; /* 非滚动时白色 */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: white; /* 默认白色 */
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-menu a {
    color: #333; /* 滚动后深色 */
}

.nav-menu a:hover {
    color: #007bff;
}

.navbar.scrolled .nav-menu a:hover {
    color: #007bff;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: #007bff;
}

.navbar.scrolled .nav-menu a.active {
    color: #007bff;
}

.nav-menu a.active::after {
    width: 100%;
    background-color: #007bff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white; /* 默认白色 */
    margin: 4px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}

.navbar.scrolled .bar {
    background-color: #333; /* 滚动后深色 */
}

/* 移动端菜单激活状态 */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 全屏抽屉式导航栏样式 - 屏幕宽度小于768px时激活 */
@media screen and (max-width: 768px) {
    .drawer-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: flex;
        flex-direction: column;
        padding: 20px;
        overflow-y: auto;
    }

    .drawer-nav.active {
        transform: translateX(0);
    }

    .drawer-header {
        display: flex;
        align-items: center;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    .drawer-logo {
        display: flex;
        align-items: center;
    }

    .drawer-logo img {
        height: 50px;
        width: auto;
        filter: brightness(1) invert(0); /* 确保在抽屉中显示彩色Logo */
    }

.drawer-company-name {
    margin-left: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: 0;
    display: inline-flex;
    gap: 1px;
}

    .drawer-nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        flex-grow: 1;
    }

    .drawer-nav-menu li {
        margin-bottom: 5px;
    }

    .drawer-nav-menu a {
        display: block;
        padding: 12px 15px;
        text-decoration: none;
        color: #333;
        font-size: 16px;
        font-weight: 500;
        border-radius: 5px;
        transition: all 0.3s ease;
        position: relative;
    }

    .drawer-nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background-color: transparent;
        transition: background-color 0.3s ease;
    }

    .drawer-nav-menu a:hover {
        background-color: rgba(173, 216, 230, 0.3); /* 淡蓝色背景 */
    }

    .drawer-nav-menu a:hover::before {
        background-color: #000; /* 黑色竖条 */
    }

    .drawer-nav-menu a.active {
        background-color: rgba(173, 216, 230, 0.5); /* 淡蓝色背景 */
        color: #007bff;
    }

    .drawer-nav-menu a.active::before {
        background-color: #000; /* 黑色竖条 */
    }

    .drawer-language-switcher {
        display: block;
        margin-top: 20px;
        padding: 10px;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 5px;
        color: #333 !important;
        text-decoration: none;
        font-size: 0.9rem;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
    }

    .overlay.active {
        display: block;
    }

    /* 在小屏幕（移动端）隐藏原有的侧边导航菜单，使用抽屉式导航 */
    .nav-menu {
        display: none !important;
    }
    
    /* 调整汉堡菜单位置 */
    .hamburger {
        position: relative;
        z-index: 1002;
    }
    
    /* 移动端语言切换按钮样式 */
    .mobile-language-switcher {
        background-color: rgba(255, 255, 255, 0.2);
        color: white !important;
        border-radius: 20px;
        padding: 8px 15px !important;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        text-align: center;
        line-height: 1.4;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-decoration: none;
        position: relative;
        z-index: 1001;
        margin-right: 15px; /* 与汉堡按钮之间留一点空间 */
        filter: none; /* 透明滤镜效果 */
        min-width: 80px; /* 确保按钮有最小宽度，防止过度压缩 */
        flex-shrink: 0; /* 防止在flex容器中被压缩 */
        white-space: nowrap; /* 防止文本换行导致按钮被分割 */
        overflow: hidden; /* 隐藏溢出内容 */
        box-sizing: border-box; /* 确保padding和border包含在元素宽高中 */
    }
    
    .mobile-language-switcher:hover {
        background-color: #007bff;
        color: white !important;
        transform: scale(1.05);
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.5);
    }
}

/* 小屏幕（移动端）：显示移动端语言切换按钮 */
@media screen and (max-width: 768px) {
    .mobile-language-switcher {
        display: inline-block;
        min-width: 80px; /* 确保在小屏幕上也有最小宽度 */
        white-space: nowrap; /* 防止文本换行导致按钮被分割 */
    }
}

/* 大屏幕（桌面端）：显示原版导航菜单，隐藏抽屉式导航和移动端语言切换按钮 */
@media screen and (max-width: 768px) {
    .mobile-language-switcher {
        display: inline-block;
        min-width: 80px; /* 确保在小屏幕上也有最小宽度 */
        white-space: nowrap; /* 防止文本换行导致按钮被分割 */
    }
}

/* 大屏幕（桌面端）：显示原版导航菜单，隐藏抽屉式导航和移动端语言切换按钮 */
@media screen and (min-width: 769px) {
    .mobile-language-switcher {
        display: none !important;
    }
}

/* 在非常小的屏幕上确保语言切换按钮保持可读 */
@media screen and (max-width: 480px) {
    .language-switcher,
    .mobile-language-switcher {
        min-width: 70px; /* 在极小屏幕上稍微减小最小宽度 */
        padding: 6px 12px !important; /* 适当减小内边距 */
        font-size: 0.8rem; /* 适当减小字体 */
        white-space: nowrap; /* 防止文本换行导致按钮被分割 */
        overflow: hidden; /* 隐藏溢出内容 */
    }
}

@media screen and (min-width: 769px) {
    .nav-menu {
        display: flex !important;
    }
    
    .drawer-nav {
        display: none;
    }
    
    .overlay {
        display: none;
    }
}

/* 下拉菜单样式 (如果需要) */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 15px;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* 语言切换按钮样式 */
.language-switcher {
    background-color: rgba(255, 255, 255, 0.2);
    color: white !important;
    border-radius: 20px;
    padding: 8px 15px !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    filter: none; /* 透明滤镜效果 */
    min-width: 80px; /* 确保按钮有最小宽度，防止过度压缩 */
    flex-shrink: 0; /* 防止在flex容器中被压缩 */
    white-space: nowrap; /* 防止文本换行导致按钮被分割 */
    overflow: hidden; /* 隐藏溢出内容 */
    box-sizing: border-box; /* 确保padding和border包含在元素宽高中 */
}

.language-switcher:hover {
    background-color: #007bff;
    color: white !important;
    transform: scale(1.05);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 滚动后导航栏中的语言切换按钮样式 */
.navbar.scrolled .language-switcher {
    color: #333 !important;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    filter: brightness(1) invert(0); /* 彩色版本 */
}

.navbar.scrolled .language-switcher:hover {
    color: white !important;
    background-color: #007bff;
}

/* 滚动后导航栏中的移动端语言切换按钮样式 */
.navbar.scrolled .language-switcher {
    color: #333 !important;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    filter: brightness(1) invert(0); /* 彩色版本 */
}

.navbar.scrolled .language-switcher:hover {
    color: white !important;
    background-color: #007bff;
}

/* 滚动后导航栏中的移动端语言切换按钮样式 */
.navbar.scrolled .mobile-language-switcher {
    color: #333 !important;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    filter: brightness(1) invert(0); /* 彩色版本 */
}

.navbar.scrolled .mobile-language-switcher:hover {
    color: white !important;
    background-color: #007bff;
}

/* 首页轮播图样式 */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1.0);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px; /* 调整宽度以获得更好的视觉效果 */
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左对齐以更好地控制位置 */
    justify-content: center;
    height: 100%;
    color: white;
    text-align: left; /* 左对齐 */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.85);
    margin-left: 100px; /* 增加左边距以获得更好的视觉平衡 */
}

.hero-content h1 {
    font-size: 3.5rem; /* 稍微减小标题字体 */
    margin-bottom: 25px;
    animation: fadeInDown 1s ease;
    line-height: 1.2; /* 改善行高 */
}

.hero-content p {
    font-size: 1.6rem; /* 稍微减小正文字体 */
    margin-bottom: 35px; /* 调整段落底部间距 */
    animation: fadeInUp 1s ease 0.3s both;
    line-height: 1.4; /* 改善行高 */
}

.cta-button {
    background-color: #fff;
    color: #007bff;
    border: none;
    padding: 14px 35px; /* 调整内边距 */
    font-size: 1.1rem; /* 稍微减小字体 */
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 600; /* 调整字重 */
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeIn 1s ease 0.6s both;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    align-self: flex-start; /* 与文字对齐 */
}

.cta-button:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(5px);
}

.slider-controls button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 动画定义 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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 slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 服务部分样式 */
.services {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    border-radius: 2px;
}

.services .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-item {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #007bff, #28a745);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-icon i {
    font-weight: 400; /* 确保使用线性图标风格 */
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #007bff;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item:hover h3 {
    color: #28a745;
}

.service-item p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

.service-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin: 0 auto 25px;
    display: block;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item:hover .service-image {
    transform: scale(1.1);
}

/* 公司简介预览样式 */
.about-preview {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #333;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #666;
    margin-bottom: 30px;
}

.learn-more {
    display: inline-block;
    background: linear-gradient(to right, #007bff, #28a745);
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.learn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 为首页about-preview部分的图片容器设置更大的尺寸 */
#about-us .about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* 修改为顶端对齐，使图片与标题文字对齐 */
}

#about-us .about-text {
    flex: 1;
    padding-right: 20px;
}

#about-us .about-image {
    flex: 1; /* 调整图片区域比例 */
    margin-top: 3em; /* 调整顶部间距 */
}

.about-image img:hover {
    transform: scale(1.03);
}

/* 关于我们页面图片轮播样式 */
.about-image-slider {
    position: relative;
    width: calc(100% + 100px); /* 减小宽度 */
    max-width: 1200px; /* 减小最大宽度 */
    height: 600px; /* 增加高度 */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    margin-left: calc(-50px + 5em); /* 调整负边距以匹配新的宽度 */
}

/* 响应式设计：在较小屏幕上调整轮播图样式 */
@media screen and (max-width: 1200px) {
    .about-image-slider {
        width: calc(100% + 50px); /* 在较小屏幕上进一步减少扩展量 */
        height: 500px; /* 调整高度 */
        margin-left: -25px;
    }
}

@media screen and (max-width: 768px) {
    .about-image-slider {
        width: 100%; /* 在小屏幕上恢复常规宽度 */
        height: 400px; /* 移动端高度调整 */
        margin-left: 0;
        max-width: 100%;
    }
    
    #about-us .about-content {
        flex-direction: column; /* 在小屏幕上改为垂直布局 */
        align-items: stretch; /* 拉伸子元素 */
    }
    
    #about-us .about-text {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.about-slide.active {
    opacity: 1;
}

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-prev-btn, .about-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.about-prev-btn:hover, .about-next-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.about-prev-btn {
    left: 20px;
}

.about-next-btn {
    right: 20px;
}

.about-slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.about-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-indicator.active {
    background: white;
    transform: scale(1.2);
}

.about-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 新闻预览样式 */
.news-preview {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.news-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
}

.news-preview h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    border-radius: 2px;
}

.news-preview .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.news-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.news-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item:hover img {
    transform: scale(1.05);
}

.news-item h3 {
    padding: 25px 20px 15px;
    font-size: 1.3rem;
    color: #333;
    margin: 0;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item:hover h3 {
    color: #007bff;
}

.news-item p {
    padding: 0 20px 25px;
    color: #999;
    margin: 0;
    font-size: 0.95rem;
}

.view-all-news {
    display: block;
    text-align: center;
    background: linear-gradient(to right, #007bff, #28a745);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    width: 220px;
    margin: 0 auto;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.view-all-news:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* 服务部分样式 */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-item {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* 公司简介预览样式 */
.about-preview {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.learn-more {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.learn-more:hover {
    background-color: #0056b3;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 新闻预览样式 */
.news-preview {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.news-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.news-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-item h3 {
    padding: 20px;
    font-size: 1.3rem;
    color: #333;
    margin: 0;
}

.news-item p {
    padding: 0 20px 20px;
    color: #999;
    margin: 0;
}

.view-all-news {
    display: block;
    text-align: center;
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    width: 200px;
    margin: 0 auto;
    transition: background-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.view-all-news:hover {
    background-color: #0056b3;
}

/* 页面头部样式 */
.page-header {
    height: 100vh;
    background: url('../images/lab.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

/* 新闻页面头部特殊样式 */
.news-page-header {
    background-image: url('../images/news-page.webp');
}

/* 研发页面头部特殊样式 */
.research-page-header {
    background-image: url('../images/research-page.webp');
}

/* 产品页面头部特殊样式 */
.product-page-header {
    background-image: url('../images/product-page.webp');
}

/* 联系页面头部特殊样式 */
.contact-page-header {
    background-image: url('../images/contact-page.webp');
}

/* 项目查询页面头部特殊样式 */
.progress-page-header {
    background-image: url('../images/progress-page.webp');
}

/* 检测服务页面头部特殊样式 */
.detection-page-header {
    background-image: url('../images/product-page.webp');
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0); /* 亮度改为1.0，即完全透明 */
    z-index: 0;
}

.page-header > * {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeInDown 1s ease;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.3s both;
}

/* 关于我们页面样式 */
.about-main {
    padding: 20px 0 80px;
}

.about-main .about-intro {
    margin-bottom: 80px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-main .about-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    display: inline-block;
}

.about-main .about-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    border-radius: 2px;
}

.about-main .about-intro p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.mission, .vision {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.mission::before, .vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #007bff, #28a745);
}

.mission:hover, .vision:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.mission h3, .vision h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #007bff;
    position: relative;
    z-index: 1;
}

.mission p, .vision p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.team-section {
    max-width: 1100px;
    margin: 0 auto 80px;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
}

/* 检测服务页面头部特殊样式 */
.detection-page-header {
    background-image: url('../images/detection.webp');
}

/* 表格响应式样式 */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.detection-service-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.detection-service-table th {
    background-color: #2c3e50;
    color: white;
    padding: 15px 20px;
    text-align: left;
}

.detection-service-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.detection-service-table tr:last-child td {
    border-bottom: none;
}

.detection-service-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.detection-service-table tr:hover {
    background-color: #e3f2fd;
}

@media (max-width: 768px) {
    .detection-service-table {
        font-size: 0.9em;
    }
    
    .detection-service-table th,
    .detection-service-table td {
        padding: 10px 12px;
    }
    
    .detection-page-header h1 {
        font-size: 2.5rem;
    }
    
    .detection-page-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .detection-service-table {
        font-size: 0.8em;
    }
    
    .detection-service-table th,
    .detection-service-table td {
        padding: 8px 10px;
    }
    
    .detection-page-header h1 {
        font-size: 2rem;
    }
    
    .detection-services {
        padding: 60px 0;
    }
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    border-radius: 2px;
}

.team-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
    background: white;
    padding: 40px 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 5px solid #f8f9fa;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-member:hover img {
    border-color: #007bff;
    transform: scale(1.05);
}

.team-member h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-member:hover h4 {
    color: #007bff;
}

.team-member p:nth-of-type(1) {
    font-weight: bold;
    color: #28a745;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.team-member p:nth-of-type(2) {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    text-align: left;
    padding-left: 10px;
    position: relative;
}

/* 为团队成员描述添加更好的排版 */
.team-member .member-description {
    text-align: left;
    line-height: 1.7;
    color: #555;
    font-size: 0.95rem;
    margin-top: 15px;
    white-space: normal; /* 允许正常的空白符处理 */
    word-wrap: break-word; /* 允许长单词换行 */
}

.team-member .member-description ul {
    padding-left: 20px;
    margin: 10px 0;
    list-style-type: circle; /* 使用空心圆圈作为项目符号 */
}

.team-member .member-description li {
    margin-bottom: 8px;
    list-style: circle;
    list-style-position: outside;
}

/* 产品页面样式 */
.products-main {
    padding: 20px 0 80px;
}

.product-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.category-item {
    padding: 12px 25px;
    background-color: #f8f9fa;
    color: #495057;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.category-item.active, .category-item:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-item:hover::before {
    transform: scaleX(1);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-item:hover .product-info h3 {
    color: #007bff;
}

.product-info p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.view-details {
    display: inline-block;
    background: linear-gradient(to right, #007bff, #28a745);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.view-details:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* 研发页面样式 */
.research-main {
    padding: 20px 0 80px;
}

.research-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.research-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    display: inline-block;
}

.research-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    border-radius: 2px;
}

.research-intro p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.platform-section, .innovation-section, .patents-section {
    margin-bottom: 100px;
}

.technology-platforms {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.platform-item {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.platform-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.platform-item:hover::before {
    transform: scaleX(1);
}

.platform-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.platform-icon i {
    font-weight: 400; /* 确保使用线性图标风格 */
}

.platform-item:hover .platform-icon {
    transform: scale(1.1);
}

.platform-item h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #007bff;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.platform-item:hover h3 {
    color: #28a745;
}

.platform-item p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

.innovation-highlights h2, .patents-publications h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
}

.innovation-highlights h2::after, .patents-publications h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.highlight-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.highlight-item h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #007bff;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.highlight-item:hover h3 {
    color: #28a745;
}

.highlight-item p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 15px;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-item:hover .stat-number {
    color: #28a745;
}

.stat-label {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

/* 新闻页面样式 */
.news-main {
    padding: 20px 0 80px;
}

.news-main .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.news-item-full {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr; /* 图片高度自适应，内容占剩余空间 */
    gap: 10px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    min-height: 220px; /* 减少最小高度以减少留白 */
}

/* 移除新闻项目链接的下划线 */
.news-item-full a {
    text-decoration: none;
}

.news-item-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item-full:hover::before {
    transform: scaleX(1);
}

.news-item-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: auto; /* 图片高度自适应 */
    overflow: hidden;
    border-radius: 8px;
    margin: 12px 15px 8px 15px; /* 减少边距以减少留白 */
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    margin: 0;
}

.news-item-full:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 8px 15px 15px; /* 减少内边距以减少留白 */
    overflow: hidden;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #666;
    align-items: center;
}

.date {
    color: #007bff;
    font-weight: 500;
}

.category {
    background: linear-gradient(to right, #007bff, #28a745);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.news-item-full h2 {
    font-size: 1.7rem;
    margin-bottom: 18px;
    color: #333;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item-full:hover h2 {
    color: #007bff;
}

.news-item-full p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.read-more:hover::after {
    transform: translateX(5px);
}

.read-more:hover {
    color: #0056b3;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sidebar-widget:hover {
    transform: translateY(-5px);
}

.sidebar-widget h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #007bff, #28a745);
}

.news-categories li, .popular-posts li {
    list-style: none;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
    transition: padding-left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-categories li:last-child, .popular-posts li:last-child {
    border-bottom: none;
}

.news-categories a, .popular-posts a {
    text-decoration: none;
    color: #666;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-categories a:hover, .popular-posts a:hover {
    color: #007bff;
}

.news-categories a.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #666;
    padding: 10px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.news-categories a.category-link:hover {
    color: #007bff;
    padding-left: 10px;
}

.news-categories a.category-link.active {
    color: #007bff;
    font-weight: bold;
}

.news-categories a.category-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, #007bff, #28a745);
    border-radius: 2px;
}

.news-categories a span {
    background-color: #e9ecef;
    color: #495057;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* 新闻详情页面样式 */
.news-detail-page {
    background: linear-gradient(to bottom, #003366, #ffffff); /* 深蓝色到白色的渐变背景 */
}

.news-detail {
    padding: 100px 0 80px;
    background-color: transparent; /* 使主内容区透明，让页面背景显示出来 */
}

/* 确保新闻内容卡片保持白色背景 */
.news-detail-page .news-content-detail {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-detail .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.news-content-detail {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-content-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #eee;
}

.news-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
    margin-bottom: 15px;
    font-family: 'Microsoft YaHei', 'Arial', sans-serif;
}

.news-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    color: #666;
    font-size: 0.95rem;
}

.news-meta .date,
.news-meta .category {
    position: relative;
    padding-left: 20px;
}

.news-meta .date::before,
.news-meta .category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #ccc;
}

.news-body {
    padding: 30px 40px 40px;
}

.news-image {
    margin-bottom: 30px;
    border-radius: 6px;
    overflow: hidden;
    height: 350px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-content-detail:hover .news-image img {
    transform: scale(1.05);
}

#detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

#detail-content p {
    margin-bottom: 20px;
    text-align: justify;
}

#detail-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

#detail-content ul {
    margin: 20px 0 30px;
    padding-left: 25px;
}

#detail-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 新闻详情侧边栏样式 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.related-news {
    list-style: none;
}

.related-news li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.related-news li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-news a {
    text-decoration: none;
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
    display: block;
    transition: color 0.3s ease;
}

.related-news a:hover {
    color: #007bff;
    transform: translateX(3px);
}

.popular-posts a::before {
    content: '•';
    color: #007bff;
    margin-right: 10px;
    font-size: 1.2rem;
    line-height: 1;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscribe-form p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.subscribe-form input {
    padding: 14px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.subscribe-form input:focus {
    outline: none;
    border-color: #007bff;
}

.subscribe-form button {
    background: linear-gradient(to right, #007bff, #28a745);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* 联系页面样式 */
.contact-main {
    padding: 20px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.contact-info h2, .contact-form h2 {
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: #333;
    position: relative;
}

.contact-info h2::after, .contact-form h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    border-radius: 2px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.info-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    color: #007bff;
    min-width: 40px;
}

.info-icon i {
    font-weight: 400; /* 确保使用线性图标风格 */
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.info-content p {
    color: #666;
    line-height: 1.7;
    margin: 5px 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    background-color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
}

.submit-btn {
    background: linear-gradient(to right, #007bff, #28a745);
    color: white;
    border: none;
    padding: 16px 35px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.map-section {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.map-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: #333;
    position: relative;
}

.map-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #28a745);
    border-radius: 2px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.amap-container {
    width: 100%;
    height: 100%;
}

.amap-info-title {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.amap-info-content {
    font-size: 13px;
    color: #666;
}
/* 页脚样式 */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #007bff;
}

.footer-section p, .footer-section li {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-section a:hover {
    color: #007bff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    border-top: 1px solid #555;
    padding-top: 20px;
    color: #aaa;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

/* 确保图片图标与原来的Font Awesome图标大小一致 */
.service-icon img,
.platform-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 3.5rem; /* 对应.service-icon的font-size */
    max-height: 3.5rem; /* 对应.service-icon的font-size */
}

.platform-icon img {
    max-width: 4rem; /* 对应.platform-icon的font-size */
    max-height: 4rem; /* 对应.platform-icon的font-size */
}

::-webkit-scrollbar-thumb:hover {
     background: #0056b3;
 }

/* Logo animation effects */
.logo img {
    opacity: 0;
    transform: translateX(-20px);
    animation: logoImageAppear 1.5s ease forwards;
    animation-delay: 1.5s; /* Start after text animation */
}

.company-name .letter {
    display: inline-block;
    opacity: 0;
    transform: translateX(-20px);
    animation: letterAppear 0.5s ease forwards;
}

.company-name .letter:nth-child(1) {
    animation-delay: 0.1s;
}
.company-name .letter:nth-child(2) {
    animation-delay: 0.2s;
}
.company-name .letter:nth-child(3) {
    animation-delay: 0.3s;
}
.company-name .letter:nth-child(4) {
    animation-delay: 0.4s;
}
.company-name .letter:nth-child(5) {
    animation-delay: 0.5s;
}
.company-name .letter:nth-child(6) {
    animation-delay: 0.6s;
}
.company-name .letter:nth-child(7) {
    animation-delay: 0.7s;
}
.company-name .letter:nth-child(8) {
    animation-delay: 0.8s;
}
.company-name .letter:nth-child(9) {
    animation-delay: 0.9s;
}

/* Drawer logo animations */
.drawer-logo img {
    opacity: 0;
    transform: translateX(-20px);
    animation: logoImageAppear 1.5s ease forwards;
    animation-delay: 1.5s; /* Start after text animation */
}

.drawer-company-name .letter {
    display: inline-block;
    opacity: 0;
    transform: translateX(-20px);
    animation: letterAppear 0.5s ease forwards;
}

.drawer-company-name .letter:nth-child(1) {
    animation-delay: 0.1s;
}
.drawer-company-name .letter:nth-child(2) {
    animation-delay: 0.2s;
}
.drawer-company-name .letter:nth-child(3) {
    animation-delay: 0.3s;
}
.drawer-company-name .letter:nth-child(4) {
    animation-delay: 0.4s;
}
.drawer-company-name .letter:nth-child(5) {
    animation-delay: 0.5s;
}
.drawer-company-name .letter:nth-child(6) {
    animation-delay: 0.6s;
}
.drawer-company-name .letter:nth-child(7) {
    animation-delay: 0.7s;
}
.drawer-company-name .letter:nth-child(8) {
    animation-delay: 0.8s;
}
.drawer-company-name .letter:nth-child(9) {
    animation-delay: 0.9s;
}

@keyframes letterAppear {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes logoImageAppear {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}