/* 引入现代字体 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* 创意加载动画样式 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 1;
    visibility: visible;
}

/* 加载完成后隐藏加载动画 */
.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 40px;
}

/* 品牌名称动画 */
.loader-logo {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(-50px) scale(0.8);
    animation: loaderLogoAnim 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
    position: relative;
}

/* 品牌名称装饰效果 */
.loader-logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
    opacity: 0;
    animation: loaderLogoUnderline 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards;
}

/* 加载进度条 */
.loader-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 30px 0;
    opacity: 0;
    animation: loaderFadeIn 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.8s forwards;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.6));
    border-radius: 2px;
    width: 0;
    animation: loaderProgress 1.5s cubic-bezier(0.23, 1, 0.32, 1) 1s forwards;
    position: relative;
    overflow: hidden;
}

/* 进度条光泽效果 */
.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: loaderBarShine 0.8s infinite linear;
}

/* 加载文本 */
.loader-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: loaderFadeInUp 0.5s cubic-bezier(0.23, 1, 0.32, 1) 1.2s forwards;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 加载动画关键帧 */
@keyframes loaderLogoAnim {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes loaderProgress {
    0% {
        width: 0;
    }
    90% {
        width: 90%;
    }
    100% {
        width: 100%;
    }
}

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

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

@keyframes loaderBarShine {
    to {
        left: 100%;
    }
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 防止页面水平溢出 */
body {
    overflow-x: hidden;
    position: relative;
}

/* 确保所有section元素不会导致水平溢出 */
section {
    overflow: hidden;
    position: relative;
}

/* 图片加载动画和过渡效果 */
img {
    transition: all 0.6s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* 图片加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 延迟动画效果，为不同位置的图片设置不同的动画延迟 */
.project-image img:nth-child(1),
.about-image img:nth-child(1),
.environmental-image img:nth-child(1) {
    animation-delay: 0.2s;
}

.project-image img:nth-child(2),
.about-image img:nth-child(2),
.environmental-image img:nth-child(2) {
    animation-delay: 0.4s;
}

.project-image img:nth-child(3),
.about-image img:nth-child(3),
.environmental-image img:nth-child(3) {
    animation-delay: 0.6s;
}

/* 响应式调整 */
@media (max-width: 768px) {
    img {
        animation: fadeIn 0.6s ease forwards;
    }
}

/* 颜色变量定义 */
:root {
    /* 主色调 */
    --primary-color: #667eea;
    --primary-hover: #764ba2;
    --secondary-color: #f093fb;
    --accent-color: #4facfe;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    /* 文本颜色 */
    --text-primary: #1a202c;
    --text-secondary: #2d3748;
    --text-muted: #718096;
    --text-light: #a0aec0;
    
    /* 背景颜色 */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f7fafc;
    --bg-gradient: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    
    /* 边框颜色 */
    --border-light: rgba(102, 126, 234, 0.1);
    --border-muted: rgba(0, 0, 0, 0.1);
    
    /* 阴影颜色 */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px -2px rgba(102, 126, 234, 0.1);
    --shadow-lg: 0 20px 40px -3px rgba(102, 126, 234, 0.15);
    --shadow-xl: 0 25px 50px -5px rgba(102, 126, 234, 0.2);
}

/* 排版基础样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 标题样式 - 使用优雅的衬线字体 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* 标题大小层次 */
h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
}

h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h4 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h5 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h6 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

/* 正文样式 */
p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

/* 增强的section-title样式 */
.section-title {
    margin-bottom: 10px; /* 减少标题下方间距，使与内容更紧凑 */
    color: var(--text-primary);
    position: relative;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
    padding-bottom: 8px; /* 减少标题下方内边距 */
}

/* 默认标题样式 - 居中显示 */
.section-title {
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 8px auto 0; /* 减少下划线与标题之间的间距 */
    border-radius: 2px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before {
    content: '';
    display: none;
}

/* 产品分类区域标题样式 */
.product-categories .section-title {
    text-align: left;
    position: relative;
    display: inline-block;
}

.product-categories .section-title::after {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 15px 0 0;
    left: 0;
    transform: none;
}

.product-categories .section-title::before {
    content: '✨';
    display: inline-block;
    width: auto;
    height: auto;
    background: none;
    font-size: 1.5rem;
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    animation: float 3s ease-in-out infinite;
}

/* 环保理念标题样式保持不变 */
.environmental .section-title {
    text-align: right;
}

.environmental .section-title::after {
    margin-left: auto;
    left: auto;
    transform: none;
}

/* 合作加盟标题样式 - 保持原有样式 */
.cooperation .section-title {
    text-align: left;
    padding-left: 30px;
}

.cooperation .section-title::after {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 15px 0 0;
    left: 30px;
    transform: none;
}

.cooperation .section-title::before {
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    display: block;
}

/* 居中但有创意的标题样式 */
.about-us .section-title {
    text-align: center;
}

.about-us .section-title::after {
    width: 80px;
    margin: 15px auto 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-us .section-title::before {
    display: none;
}

/* 产品供应标题样式 - 统一效果 */
.product-supply .section-title,
.business-sections .section-title,
.product-categories .section-title,
.projects .section-title {
    text-align: left;
    position: relative;
    display: inline-block;
}

.product-supply .section-title::after,
.business-sections .section-title::after,
.product-categories .section-title::after,
.projects .section-title::after {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 15px 0 0;
    left: 0;
    transform: none;
}

.product-supply .section-title::before,
.business-sections .section-title::before,
.product-categories .section-title::before,
.projects .section-title::before {
    content: '✨';
    display: inline-block;
    width: auto;
    height: auto;
    background: none;
    font-size: 1.5rem;
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateX(0px);
    }
    50% {
        transform: translateY(-50%) translateX(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* 容器样式 */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background-color: #555;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    border: 2px solid #333;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-secondary:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

/* 标题样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #333;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 头部导航样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.logo p {
    font-size: 0.9rem;
    color: #666;
}

/* 桌面导航菜单 */
.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop ul li {
    margin-left: 20px;
    position: relative;
}

.nav-desktop ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}

.nav-desktop ul li a:hover {
    color: #667eea;
}

.nav-desktop ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: #667eea;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.nav-desktop ul li a:hover::after {
    width: 100%;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 800px;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.dropdown-column {
    flex: 1;
    min-width: 200px;
    margin-right: 30px;
    margin-bottom: 20px;
}

.dropdown-column:last-child {
    margin-right: 0;
}

.dropdown-column h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.dropdown-column ul {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

.dropdown-column ul li {
    margin: 0;
    margin-left: 0;
    margin-bottom: 6px;
    position: relative;
}

/* 桌面端二级下拉菜单样式 - 直接在下方撑开 */
.sub-dropdown {
    position: relative;
}

.sub-dropdown-menu {
    position: relative;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    min-width: 200px;
    padding: 0 0 0 20px;
}

/* 只有鼠标悬停在链接文字上时才显示子菜单 */
.sub-dropdown > a:hover + .sub-dropdown-menu,
.sub-dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    height: auto;
    padding: 10px 0 0 20px;
}

/* 调整子菜单容器，确保鼠标可以平滑过渡 */
.sub-dropdown-menu {
    margin-top: -5px;
    padding-top: 15px;
}

.sub-dropdown-menu ul {
    margin: 0;
    padding: 0;
}

.sub-dropdown-menu ul li {
    margin-bottom: 4px;
    padding-left: 10px;
    border-left: 1px dashed #e0e0e0;
}

.sub-dropdown-menu ul li:last-child {
    margin-bottom: 0;
}

.sub-dropdown-menu ul li a {
    text-decoration: none;
    color: #666;
    font-weight: normal;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
}

.sub-dropdown-menu ul li a:hover {
    color: #667eea;
    padding-left: 8px;
}

/* 桌面端一级菜单项样式 */
.dropdown-column ul li a {
    text-decoration: none;
    color: #666;
    font-weight: normal;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 3px 0;
    position: relative;
    max-width: 100%;
}

.dropdown-column ul li a:hover {
    color: #667eea;
    padding-left: 10px;
}

/* 二级下拉菜单项样式调整 */
.sub-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dropdown-column ul li a::after {
    display: none;
}

/* 下拉箭头样式 */
.nav-desktop ul li a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover a i {
    transform: rotate(180deg);
}

/* 移动端导航按钮 */
.nav-mobile-btn {
    display: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* 移动端导航菜单 */
.nav-mobile {
    display: none;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
}

.nav-mobile.active {
    display: block;
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile ul li {
    border-bottom: 1px solid #eee;
}

.nav-mobile ul li:last-child {
    border-bottom: none;
}

.nav-mobile ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.nav-mobile ul li a:hover {
    background-color: #f5f5f5;
}

/* 移动端下拉菜单样式 */
.mobile-dropdown-menu {
    display: none;
    background-color: #f9f9f9;
    padding: 0;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu h4 {
    padding: 15px 20px 10px;
    margin: 0;
    color: #333;
    font-size: 1.1rem;
    background-color: #f0f0f0;
}

.mobile-dropdown-menu ul {
    padding: 0;
    margin: 0;
}

.mobile-dropdown-menu ul li {
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
}

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

/* 移动端二级下拉菜单样式 */
.mobile-sub-dropdown {
    position: relative;
}

.mobile-sub-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
}

.mobile-sub-menu {
    display: none;
    background-color: #e9e9e9;
    padding-left: 20px;
}

.mobile-sub-dropdown.active .mobile-sub-menu {
    display: block;
}

.mobile-sub-menu ul {
    margin: 0;
    padding: 0;
}

.mobile-sub-menu ul li {
    border-bottom: 1px solid #d0d0d0;
}

.mobile-sub-menu ul li a {
    padding: 8px 40px;
    font-size: 0.9rem;
    color: #555;
}

.mobile-sub-menu ul li a:hover {
    background-color: #d9d9d9;
    padding-left: 45px;
    color: #667eea;
}

/* 一级菜单项样式 */
.mobile-dropdown-menu ul li a {
    padding: 10px 30px;
    font-weight: normal;
    color: #666;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.mobile-dropdown-menu ul li a:hover {
    background-color: #e9e9e9;
    padding-left: 40px;
    color: #667eea;
}

/* 移动端下拉箭头样式 */
.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

/* 轮播图样式 */
.slider {
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* 视差滚动元素 */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.parallax-content {
    position: relative;
    z-index: 2;
    transform: translateZ(20px) scale(0.9);
    transition: transform 0.3s ease;
}

/* 视差背景装饰 */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: translateZ(-50px) scale(1.2);
    transition: transform 0.3s ease;
    opacity: 0.1;
    pointer-events: none;
}

/* 滚动时的视差效果 */
.scrolled .parallax-bg {
    transform: translateZ(-50px) scale(1.2) translateY(5%);
}

.scrolled .parallax-content {
    transform: translateZ(20px) scale(0.9) translateY(-2%);
}

.slider-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.slider-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transform: scale(1);
}

/* 轮播图背景图 */
.slider-item:nth-child(1) {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../images/slider/slider1.jpg');
}

.slider-item:nth-child(2) {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../images/slider/slider2.jpg');
}

.slider-item:nth-child(3) {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../images/slider/slider3.jpg');
}

.slider-item:nth-child(4) {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../images/slider/slider4.jpg');
}

.slider-item:nth-child(5) {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../images/slider/slider5.jpg');
}

.slider-item:nth-child(6) {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../images/slider/slider6.jpg');
}

/* 滑块装饰元素 */
.slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.slider-text {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.slider-text h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
    animation: sliderFadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slider-text p {
    font-size: clamp(0.9rem, 1.8vw, 1.3rem);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: sliderFadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
    opacity: 0.9;
}

.slider-text .btn {
    animation: sliderFadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.4s both;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.slider-text .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

/* 轮播图控制样式 */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 20px;
    margin: 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid transparent;
    position: relative;
}

.slider-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.slider-dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

.slider-dot.active::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
}

.slider-dot:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
}

.slider-prev, .slider-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slider-prev::before, .slider-next::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;
}

.slider-prev:hover::before, .slider-next:hover::before {
    left: 100%;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 滚动鼠标提示 */
.mouse-tips {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 0.8rem;
    animation: sliderBounce 2s infinite;
    z-index: 10;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.mouse-tips i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    animation: sliderMouseScroll 1.5s infinite ease-in-out;
}

/* 滑块动画效果 */
@keyframes sliderFadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sliderBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-25px);
    }
    60% {
        transform: translateX(-50%) translateY(-15px);
    }
}

@keyframes sliderMouseScroll {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* 业务板块样式 */
.business-sections {
    padding: 40px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* 业务板块背景装饰 */
.business-sections::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 20%);
    pointer-events: none;
    z-index: 0;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    position: relative;
    z-index: 1;
    margin-top: 15px; /* 减少业务网格与标题之间的间距 */
}

.section-card {
    background: #fff;
    padding: 35px 25px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transform: translateY(0);
}

/* 为每个业务板块添加独特的背景装饰 */
.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #8e44ad);
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: left;
}

.section-card:nth-child(1)::before {
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.section-card:nth-child(2)::before {
    background: linear-gradient(90deg, #e74c3c, #f39c12);
}

.section-card:nth-child(3)::before {
    background: linear-gradient(90deg, #9b59b6, #3498db);
}

/* 卡片内部装饰元素 */
.section-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.section-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.section-card:hover::before {
    transform: scaleX(1);
}

.section-card:hover::after {
    width: 300px;
    height: 300px;
}

.section-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 5px 15px rgba(102, 126, 234, 0.1));
}

.section-card:hover .section-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 10px 25px rgba(102, 126, 234, 0.2));
}

.section-card h3 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    color: #2d3748;
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: color 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-card:hover h3 {
    color: #667eea;
}

.section-card p {
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.75;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-card:hover p {
    color: #4a5568;
}

.section-card .btn-secondary {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    padding: 14px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.section-card .btn-secondary::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;
}

.section-card .btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.section-card .btn-secondary:hover::before {
    left: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .business-sections {
        padding: 40px 0;
    }
    
    .sections-grid {
        gap: 25px;
    }
    
    .section-card {
        padding: 35px 25px;
    }
    
    .section-icon {
        font-size: 3.5rem;
    }
    
    .section-card h3 {
        font-size: 1.7rem;
    }
}

/* 板块动画效果 */
/* 基础动画类 */
section[id] {
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 默认出场状态 */
section[id].animate-out {
    opacity: 0;
}

/* 入场动画效果 */
/* 产品供应板块 - 淡入 + 上移 */
.product-supply.animate-out {
    transform: translateY(50px);
}

.product-supply.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 业务板块 - 淡入 + 缩放 */
.business-sections.animate-out {
    transform: scale(0.98);
}

.business-sections.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* 产品分类板块 - 淡入 + 缩放 */
.product-categories.animate-out {
    transform: scale(0.95);
}

.product-categories.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* 经典项目板块 - 淡入 + 左移 */
.projects.animate-out {
    transform: translateX(-30px);
}

.projects.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* 关于我们板块 - 淡入 + 3D旋转 */
.about-us.animate-out {
    transform: perspective(1000px) rotateX(10deg) translateY(20px);
}

.about-us.animate-in {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) translateY(0);
}

/* 环保理念板块 - 淡入 + 斜向移动 */
.environmental.animate-out {
    transform: translateX(50px) translateY(30px);
}

.environmental.animate-in {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* 合作加盟板块 - 淡入 + 弹跳 */
.cooperation.animate-out {
    transform: translateY(50px) scale(0.9);
}

.cooperation.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceIn {
    0% {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }
    60% {
        transform: translateY(-20px) scale(1.02);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* 一站式产品供应样式 */
.product-supply {
    padding: 40px 0;
    background-color: #fafafa;
    position: relative;
    overflow: hidden;
}

.product-supply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.product-supply .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 20px;
}

/* 产品供应标题竖排样式 */
.product-supply .section-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0;
    padding: 20px 0;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
}

/* 调整竖排标题的装饰 */
.product-supply .section-title::before {
    right: auto;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
}

/* 调整蓝色竖线位置到标题右侧 */
.product-supply .section-title::after {
    width: 2px;
    height: 60px;
    margin: 20px 0;
    left: auto;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

/* 横向滚动容器 */
.scroll-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    left: 0;
    right: 0;
    margin-top: 0;
    margin-left: 60px;
    max-width: 85%;
}

.scroll-wrapper::before,
.scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px; /* 减少遮罩宽度，增加可见区域 */
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fafafa, transparent);
}

.scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fafafa, transparent);
}

.scroll-content {
    display: flex;
    gap: 20px; /* 适当减少项间距 */
    animation: scrollLeft 40s linear infinite;
    width: max-content;
    padding: 10px 0;
}

.scroll-content:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% + 50px));
    }
}

/* 滚动项样式 */
.scroll-item {
    flex-shrink: 0;
    width: 220px; /* 适当缩小宽度 */
    transition: all 0.3s ease;
}

.scroll-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.scroll-img {
    width: 220px; /* 适当缩小宽度 */
    height: 165px; /* 按比例缩小高度 */
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.scroll-item:hover .scroll-img {
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.scroll-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scroll-item:hover .scroll-img img {
    transform: scale(1.05);
}

.scroll-title {
    font-size: 1.1rem;
    color: #333;
    text-align: center;
    font-weight: 600;
    transition: color 0.3s ease;
}

.scroll-item:hover .scroll-title {
    color: #667eea;
}

/* 更多产品样式 */
.scroll-item.more .scroll-img {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-more {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-more span {
    font-size: 3rem;
    color: #fff;
    font-weight: 300;
}

.scroll-item.more:hover .scroll-img {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-supply {
        padding: 40px 0;
    }
    
    /* 在移动设备上恢复水平布局 */
    .product-supply .container {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    /* 移动设备上标题恢复水平显示 */
    .product-supply .section-title {
        writing-mode: horizontal-tb;
        text-orientation: initial;
        margin-bottom: 20px;
    }
    
    .product-supply .section-title::before {
        right: -30px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .product-supply .section-title::after {
        width: 60px;
        height: 2px;
        margin: 15px 0 0;
        left: 0;
        transform: none;
    }
    
    .scroll-item {
        width: 160px;
    }
    
    .scroll-img {
        width: 160px;
        height: 120px;
    }
    
    .scroll-title {
        font-size: 1rem;
    }
}

/* 产品分类样式 */
.product-categories {
    padding: 40px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.product-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    position: relative;
    z-index: 1;
    margin-top: 15px; /* 减少分类网格与标题之间的间距 */
}

.category-item {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transform: translateY(0);
}

/* 分类项背景装饰 */
.category-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
}

.category-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
}

.category-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.category-item:hover::before {
    width: 200px;
    height: 200px;
}

.category-item:hover::after {
    opacity: 1;
}

.category-item i {
    font-size: 4rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 5px 15px rgba(102, 126, 234, 0.1));
}

.category-item:hover i {
    transform: scale(1.2) rotate(8deg);
    filter: drop-shadow(0 10px 25px rgba(102, 126, 234, 0.2));
}

.category-item h3 {
    font-size: 1.3rem;
    color: #2d3748;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    margin-bottom: 0;
}

.category-item:hover h3 {
    color: #667eea;
    transform: translateY(-5px);
}

/* 为每个分类添加独特的图标渐变颜色 */
.category-item:nth-child(1) i {
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-item:nth-child(2) i {
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-item:nth-child(3) i {
    background: linear-gradient(135deg, #9b59b6 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-item:nth-child(4) i {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-item:nth-child(5) i {
    background: linear-gradient(135deg, #2ecc71 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-item:nth-child(6) i {
    background: linear-gradient(135deg, #3498db 0%, #9b59b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-item:nth-child(7) i {
    background: linear-gradient(135deg, #e74c3c 0%, #9b59b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-item:nth-child(8) i {
    background: linear-gradient(135deg, #f39c12 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-item:nth-child(9) i {
    background: linear-gradient(135deg, #3498db 0%, #1abc9c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-item:nth-child(10) i {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-categories {
        padding: 60px 0;
    }
    
    .categories-grid {
        gap: 20px;
    }
    
    .category-item {
        padding: 30px 20px;
    }
    
    .category-item i {
        font-size: 3.5rem;
    }
    
    .category-item h3 {
        font-size: 1.2rem;
    }
}

/* 经典项目样式 */
.projects {
    padding: 40px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 40%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 60%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
    margin-top: 15px; /* 减少项目网格与标题之间的间距 */
}

.project-item {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transform: translateY(0);
}

.project-item:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-item:hover .project-image img {
    transform: scale(1.15);
}

/* 图片叠加效果 - 多层次渐变 */
.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    mix-blend-mode: overlay;
}

.project-item:hover .project-image::before,
.project-item:hover .project-image::after {
    opacity: 1;
}

/* 创意项目信息覆盖层 */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
    color: white;
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

/* 项目标签 */
.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
}

.project-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-item:hover .project-tags {
    opacity: 1;
    transform: translateY(0);
}

/* 项目标题 - 创意动画效果 */
.project-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-item:hover .project-overlay h3 {
    opacity: 1;
    transform: translateY(0);
}

/* 图片悬停时显示的查看按钮 - 创意设计 */
.project-image .view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.4s;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.project-item:hover .view-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.view-btn:hover {
    transform: translate(-50%, -50%) scale(1.1) !important;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* 项目基本信息 */
.project-info {
    padding: 25px 30px;
    position: relative;
    z-index: 2;
    background: white;
}

.project-info h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #2d3748;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: inline-block;
}

.project-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-item:hover .project-info h3 {
    color: #667eea;
}

.project-item:hover .project-info h3::after {
    width: 100%;
}

.project-info p {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-item:hover .project-info p {
    color: #4a5568;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .projects {
        padding: 40px 0;
    }
    
    .projects-grid {
        gap: 25px;
    }
    
    .project-item {
        border-radius: 15px;
    }
    
    .project-image {
        height: 240px;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .project-info h3 {
        font-size: 1.5rem;
    }
    
    .project-overlay {
        padding: 20px;
    }
    
    .project-overlay h3 {
        font-size: 1.6rem;
    }
}

/* 关于我们样式 */
.about-us {
    padding: 25px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text h2::after {
    margin-left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* 环保理念样式 */
.environmental {
    padding: 25px 0;
    background-color: #f5f5f5;
    background-image: linear-gradient(135deg, #f5f5f5 0%, #e8f4f8 100%);
}

.environmental-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.environmental-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.environmental-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

.environmental-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.environmental-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.environmental-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.6s ease;
}

.environmental-image:hover img {
    transform: scale(1.05);
}

/* 为关于我们和环保理念的按钮添加渐变效果 */
.about-text .btn,
.environmental-text .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 35px;
    font-size: 1.1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.about-text .btn:hover,
.environmental-text .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* 合作加盟样式 */
.cooperation {
    padding: 25px 0;
    background-color: #f5f5f5;
    background-image: linear-gradient(135deg, #f5f5f5 0%, #e9e9e9 100%);
}

.cooperation-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.cooperation-item {
    background-color: #fff;
    padding: 35px 25px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* 为每个合作加盟项添加独特的背景渐变 */
.cooperation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.cooperation-item:hover::before {
    opacity: 1;
}

.cooperation-item:nth-child(1)::before {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(46, 204, 113, 0.05) 100%);
}

.cooperation-item:nth-child(2)::before {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(243, 156, 18, 0.05) 100%);
}

.cooperation-item:nth-child(3)::before {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.05) 0%, rgba(52, 152, 219, 0.05) 100%);
}

.cooperation-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cooperation-item i {
    font-size: 4rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.cooperation-item:nth-child(1) i {
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cooperation-item:nth-child(2) i {
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cooperation-item:nth-child(3) i {
    background: linear-gradient(135deg, #9b59b6 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cooperation-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.cooperation-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.cooperation-item:hover h3 {
    color: #667eea;
}

.cooperation-item p {
    color: #666;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

/* 添加合作加盟项的装饰元素 */
.cooperation-item::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.cooperation-item:hover::after {
    opacity: 1;
    bottom: -30px;
    right: -30px;
}

.cooperation-item:nth-child(1)::after {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
}

.cooperation-item:nth-child(2)::after {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
}

.cooperation-item:nth-child(3)::after {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
}

/* 页脚样式 */
.footer {
    background: #1a202c;
    color: #e2e8f0;
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}

/* 页脚背景装饰 */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* 页脚Logo和描述 */
.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-logo h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-logo p {
    color: #a0aec0;
    line-height: 1.4;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

/* 页脚标题 */
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #f7fafc;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}

/* 页脚链接 */
.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-links ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 0.8rem;
    display: inline-block;
    position: relative;
    padding-left: 12px;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 0.7rem;
}

.footer-links ul li a:hover {
    color: #667eea;
    transform: translateX(8px);
}

.footer-links ul li a:hover::before {
    opacity: 1;
    left: -4px;
}

/* 页脚联系方式 */
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact ul li {
    color: #a0aec0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.75rem;
    line-height: 1.3;
}

.footer-contact ul li i {
    color: #667eea;
    font-size: 0.8rem;
    margin-top: 1px;
    width: 15px;
    text-align: left;
    flex-shrink: 0;
}

/* 社交图标 */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    color: #667eea;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

/* 社交图标悬停效果 */
.social-icons a::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;
}

.social-icons a:hover::before {
    left: 100%;
}

.social-icons a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-8px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

/* 二维码容器样式 */
.qrcode-container {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

/* 二维码样式 */
.qrcode {
    padding: 5px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode img {
    width: 50px;
    height: 50px;
    display: block;
    border: 0;
}

/* 客服二维码样式 */
.kefu {
    padding: 5px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kefu img {
    width: 50px;
    height: 50px;
    display: block;
    border: 0;
}

/* 二维码标签样式 */
.qrcode-label {
    font-size: 0.6rem;
    color: #a0aec0;
    margin-top: 4px;
    text-align: center;
    white-space: nowrap;
}

/* 页脚底部 */
.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    position: relative;
    z-index: 1;
    font-size: 0.75rem;
    line-height: 1.3;
}

.footer-bottom p {
    margin-bottom: 0;
    color: #a0aec0;
    padding: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 25px;
    }
    
    .footer-content {
        gap: 35px;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
    
    .footer-links ul li a {
        padding-left: 0;
        text-align: center;
    }
    
    .footer-links ul li a::before {
        display: none;
    }
    
    .footer-links ul li a:hover {
        transform: translateY(-5px);
    }
}

/* 底部向下滑动提示样式 */
.scroll-down-arrow {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-down-arrow.visible {
    opacity: 0.5;
    visibility: visible;
}

.scroll-down-arrow.visible:hover {
    opacity: 0.8;
}

/* 弹跳动画 */
@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* 滑动文字样式 */
.scroll-down-arrow span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .scroll-down-arrow {
        bottom: 15px;
    }
    
    .scroll-down-arrow svg {
        width: 40px;
        height: 40px;
    }
    
    .scroll-down-arrow span {
        font-size: 12px;
    }
}

/* 浮动工具栏样式 */
.fixed-tools {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

/* 原始工具栏默认隐藏 */
.original-tools {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.original-tools.active {
    opacity: 1;
    visibility: visible;
}

/* 二级工具栏样式 */
.secondary-tools {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.secondary-tools.hidden {
    opacity: 0;
    visibility: hidden;
}

/* 展开的服务平台菜单 */
.service-platforms.expanded {
    opacity: 1;
    visibility: visible;
    transform: none;
    position: relative;
    right: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.fixed-tools ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: transparent;
}

.tool-item {
    position: relative;
    background: transparent;
}

.tool-item:last-child {
    background: transparent;
}

.tool-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    overflow: visible;
}

.tool-link i {
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
}

.tool-text {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px) scale(0.8);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    margin-right: 15px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

/* 卡片箭头装饰 */
.tool-text::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid #764ba2;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.tool-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.tool-link:hover i {
    transform: scale(1.2);
}

.tool-link:hover .tool-text {
    opacity: 1;
    visibility: visible;
    right: 100%;
    transform: translateY(-50%) translateX(0) scale(1);
}

/* 客服聊天平台选项样式 */
.service-dropdown {
    position: relative;
}

.service-platforms {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    margin-right: 20px;
    z-index: 10001;
    min-width: auto;
    width: auto;
    border: none;
}

/* 移除客服聊天平台选项箭头装饰 */
.service-platforms::after {
    content: none;
}

/* 鼠标悬停时显示聊天平台选项 */
.service-dropdown:hover .service-platforms {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* 单个聊天平台样式 */
.service-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
    width: 45px;
    height: 45px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-platform:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.service-platform i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.service-platform span {
    display: none;
}

/* 平台按钮容器样式 */
.platform-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px; /* 足够容纳所有平台按钮 */
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 收起/展开按钮样式 */
.service-toggle {
    cursor: pointer;
    border: none;
    outline: none;
    background-color: rgba(102, 126, 234, 0.95);
    color: white;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-toggle:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* MiChat 在线客服样式 - 确保正确显示 */
.michat-container,
.michat-float-button,
.michat-button,
#michat_button,
.michat-launcher {
    z-index: 9999 !important;
    bottom: 20px !important;
    right: 20px !important;
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 1001;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    padding: 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
    border-radius: 10px 10px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.modal-close {
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 模态框遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .about-content,
    .environmental-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-text h2,
    .environmental-text h3 {
        text-align: center;
    }
    
    .about-text h2::after {
        margin: 20px auto 0;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile-btn {
        display: block;
    }
    
    .slider-text h2 {
        font-size: 2.2rem;
    }
    
    .slider-text p {
        font-size: 1rem;
    }
    
    .sections-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .cooperation-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* 浮动工具栏响应式 */
    .fixed-tools {
        right: 15px;
    }
    
    .tool-link {
        padding: 12px 15px;
        width: 45px;
        height: 45px;
    }
    
    .tool-link i {
        font-size: 1rem;
    }
    
    .tool-text {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* 模态框响应式 */
    .modal {
        width: 95%;
        margin: 0 10px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 80vh;
    }
    
    .slider-text h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-card,
    .category-item,
    .project-item,
    .cooperation-item {
        padding: 25px 20px;
    }
    
    /* 浮动工具栏响应式 */
    .fixed-tools {
        right: 10px;
    }
    
    .tool-link {
        padding: 10px;
        width: 40px;
        height: 40px;
    }
    
    /* 隐藏文字提示在最小屏幕上 */
    .tool-text {
        display: none;
    }
}

/* Google Translate 样式 */
#google_translate_element {
    margin-right: 20px;
    display: inline-block;
}

/* 隐藏翻译横幅 */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* 调整翻译下拉框样式 */
.goog-te-combo {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    color: #333;
    cursor: pointer;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #google_translate_element {
        margin-right: 10px;
    }
    
    .goog-te-combo {
        padding: 6px 10px;
        font-size: 12px;
    }
}