/* 全局样式重置和变量定义 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

:root {
    /* 主色调 - 深蓝色调 */
    --primary: #1a4b8c;
    --primary-dark: #183883;
    --primary-light: #2a60b4;
    --secondary: #3498db;
    --accent: #2ecc71;
    --accent-alt: #f39c12;
    --danger: #e74c3c;
    --warning: #f1c40f;
    --success: #27ae60;
    --info: #3498db;
    
    /* 中性色 */
    --light: #f8f9fa;
    --light-alt: #eef2f7;
    --dark: #2c3e50;
    --dark-alt: #1a252f;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --gray-dark: #495057;
    
    /* 渐变效果 */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--primary-light));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--success));
    --gradient-light: linear-gradient(135deg, #ffffff, #f8f9fa);
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-alt));
    
    /* 阴影效果 */
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 2px 15px rgba(26, 75, 140, 0.1);
    --shadow-card-hover: 0 10px 30px rgba(26, 75, 140, 0.2);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

body {
    color: var(--dark);
    line-height: 1.7;
    font-size: 1rem;
    background: #ffffff;
    letter-spacing: 0.2px;
    overflow-x: hidden;
    width: 100%;
}

/* 基础排版样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 2.8rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: var(--gray-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    margin-bottom: 1.2rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

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

.main-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 75, 140, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 75, 140, 0.3);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 75, 140, 0.2);
}

/* 头部导航栏 */
.header {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

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

/* Logo美化 */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(26, 75, 140, 0.25);
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(26, 75, 140, 0.35);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 8px rgba(26, 75, 140, 0.1);
    letter-spacing: -0.5px;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

/* 移动端菜单切换按钮 - 默认隐藏 */
.mobile-menu-toggle {
    display: none;
}

.nav-link {
    font-weight: 600;
    color: var(--dark);
    padding: 10px 0;
    position: relative;
    font-size: 16px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--primary-light);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

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

.nav-link.active::after {
    width: 100%;
}

/* 面包屑导航 */
.breadcrumb {
    background: var(--light);
    padding: 10px 0;
    margin-top: 130px;
    font-size: 14px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    line-height: 40px;
    margin-bottom: 0;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--gray);
}

/* Banner区域样式 */
.banner {
    background: linear-gradient(135deg, rgba(24, 56, 131, 0.85), rgba(26, 75, 140, 0.75), rgba(52, 152, 219, 0.65));
    color: white;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px; /* 为固定的header留出空间 */
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/test-equipment.jpg') center/cover no-repeat;
    opacity: 0.3;
    animation: fadeIn 2s ease-in-out;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 56, 131, 0.7) 0%, rgba(26, 75, 140, 0.5) 50%, rgba(52, 152, 219, 0.3) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    animation: slideUp 1s ease-out;
}

.banner h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff, #f0f8ff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    animation: pulseText 3s ease-in-out infinite;
}

.banner p {
    font-size: 1.3rem;
    margin-bottom: 0;
    opacity: 0.95;
    font-weight: 500;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light), var(--secondary));
    color: white;
    padding: 140px 0 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-banner.jpg') center/cover no-repeat;
    opacity: 0.15;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.15; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(24, 56, 131, 0.85) 0%,
        rgba(26, 75, 140, 0.65) 50%,
        rgba(42, 96, 180, 0.45) 100%
    );
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 80px auto;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    animation: slideUp 1s ease-out;
}

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

.hero h1 {
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 28px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #f0f8ff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
    margin-top: 20px;
    animation: pulseText 3s ease-in-out infinite;
}

@keyframes pulseText {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 1;
    font-weight: 400;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.3px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.98);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-buttons .btn {
    padding: 14px 40px;
    font-size: 18px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(26, 75, 140, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(26, 75, 140, 0.45);
}

.hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.25);
}
}



/* 核心服务区域 */
.core-services {
    padding: 80px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-title p {
    color: var(--gray-dark);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 10px auto;
    line-height: 1.7;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

.service-grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.service-card-large {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    border: 1px solid rgba(26, 75, 140, 0.1);
    position: relative;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* 为不同卡片设置不同的动画延迟 */
.service-card-large:nth-child(1) { animation-delay: 0.1s; }
.service-card-large:nth-child(2) { animation-delay: 0.2s; }
.service-card-large:nth-child(3) { animation-delay: 0.3s; }
.service-card-large:nth-child(4) { animation-delay: 0.4s; }
.service-card-large:nth-child(5) { animation-delay: 0.5s; }
.service-card-large:nth-child(6) { animation-delay: 0.6s; }

.service-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.service-card-large:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-card-hover);
}

.service-card-large:hover .service-content-large h3 {
    color: var(--primary);
}

/* 淡入上移动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gray-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px auto;
    color: var(--primary-light);
    font-size: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-icon-large i {
    font-size: 2.8rem;
}

.service-card-large:hover .service-icon-large {
    transform: scale(1.1);
    background: var(--primary-light);
    color: white;
}

.service-content-large {
    padding: 5px 10px;
    text-align: center;
}

.service-content-large h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-content-large p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* 检测流程区域 */
.detection-process {
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
    animation: fadeInRight 0.6s ease forwards;
    opacity: 0;
}

/* 为不同步骤设置不同的动画延迟 */
.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

/* 调整步骤间连接线 */
.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(100% - 15px);
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    z-index: 1;
    opacity: 0.5;
}

.process-step:nth-child(4)::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(26, 75, 140, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(26, 75, 140, 0.4);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background: var(--gradient-primary);
    z-index: 1;
    opacity: 0.5;
}

.process-step:last-child::after {
    display: none;
}

.step-content {
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.step-content h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.process-step:hover .step-content h4 {
    color: var(--primary);
}

.step-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* 淡入右移动画 */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 文章展示区域 */
.articles-showcase {
    padding: 80px 0;
    background: var(--light);
}

.articles-grid-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.article-card-text {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--primary);
}

.article-card-text:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.article-meta-showcase {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray);
}

.article-meta-showcase .category {
    background: var(--primary-light);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.article-card-text h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-card-text p {
    color: var(--gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-text .read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.article-card-text .read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* 实验仪器展示区域 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* 资质展示区域 */
.certificates {
    padding: 80px 0;
    background: white;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 40px;
    justify-items: center;
}

.certificate-item {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.certificate-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/*.certificate-item img {
    width: 400px;
    height: 370px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
}*/

/* 新闻动态区域 */
.news {
    padding: 80px 0;
    background: var(--light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    width: 100%;
    height: 200px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 3rem;
    overflow: hidden;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray);
}

.news-content h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    color: var(--gray);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 文章列表页样式 */
.article-list {
    padding: 40px 0 10px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    padding: 8px 20px;
    background: var(--gray-light);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active {
    background: var(--primary);
    color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.article-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    isolation: isolate;
}

.article-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/test-equipment.jpg') center/cover no-repeat;
    opacity: 0.05;
    z-index: -1;
    filter: grayscale(80%);
}

.article-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.article-item.with-image {
    display: grid;
    grid-template-columns: 150px 1fr;
}

.article-image {
    width: 100%;
    height: 120px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.article-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0;
}

.page-link {
    padding: 8px 15px;
    border-radius: 4px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.page-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-link.prev, .page-link.next {
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-link.prev:hover, .page-link.next:hover {
    background: var(--primary);
    color: white;
}

/* 文章详情页样式 */

.article-header {
    margin-bottom: 10px;
}

.article-title {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta-large {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.article-featured-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 3rem;
}

.article-content-large {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.article-content-large p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-content-large h2, 
.article-content-large h3 {
    color: var(--primary-dark);
    margin: 30px 0 15px;
}

.article-content-large h2 {
    font-size: 1.4rem;
    position: relative;
    padding-left: 20px;
    margin: 30px 0 15px;
    color: #616264;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.article-content-large h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #060606;
    border-radius: 2px;
}

.consultation-prompt {
    background: var(--light);
    padding: 20px;
    margin: 10px 0;
    border-radius: 0 8px 8px 0;
}

.full-width-banner {
    width: 100%;
    overflow: hidden;
}

.full-width-banner .container {
    padding: 0;
    max-width: 100%;
}

.banner-image-container {
    width: 100%;
    position: relative;
}

.full-width-image {
    display: block;
    object-fit: cover;
    max-width:100%;
    margin:0 auto;
}

.recent-articles {
    margin-top: 10px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-light);
}

.recent-articles h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.recent-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.recent-item {
    padding: 15px;
    background: var(--light);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.recent-item:hover {
    background: var(--primary-light);
    color: white;
}

/* 底部样式 */
.footer {
    background: var(--dark) url('../images/scientific-bg.jpg') no-repeat center center;
    background-size: cover;
    background-blend-mode: overlay;
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 20, 30, 0.85);
    z-index: 0;
}

.footer > .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--secondary);
}

.contact-info {
    margin-top: 10px;
}

.contact-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color:#fff;
}

.contact-info p i {
    color: var(--gray-light);
    width: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

.footer-col:hover .contact-info p i {
    color: white;
}

/* 二维码展示区域样式 */
.qrcode-section {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.qrcode-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
}

.qrcode-item {
    text-align: center;
    width: 100%;
}

.qrcode-img {
    width: 80%;
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.qrcode-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .qrcode-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .qrcode-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .qrcode-section {
        padding: 20px 0;
    }
    
    .qrcode-img {
        max-width: 80px;
    }
    
    .qrcode-text {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 480px) {
    .qrcode-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.copyright {
    text-align: center;
    padding: 25px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 0 20px;
}
.copyright p {color:#fff;}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    /* 平板设备优化 */
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        width: calc(100% - 50px);
    }
    
    .article-card-large {
        flex-direction: column;
    }
    
    .article-card-image-large {
        width: 100%;
        height: 300px;
    }
    
    .article-content-large {
        width: 100%;
        padding: 0;
    }
}

/* 上下篇导航样式 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 10px 0;
    padding: 30px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    gap: 30px;
}

.article-navigation .prev-article,
.article-navigation .next-article {
    flex: 1;
    position: relative;
    text-align: center;
}

.article-navigation .nav-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-navigation .nav-link {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.5;
    transition: all 0.3s ease;
    position: relative;
}

.article-navigation .nav-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    /* 优化移动端文章项显示 */
    .article-item.with-image {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        height: 180px;
    }
    
    .article-content {
        padding: 15px;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 25px;
        padding: 20px 0;
        margin: 30px 0;
    }
    
    .article-navigation .prev-article,
    .article-navigation .next-article {
        width: 100%;
    }
    
    .article-navigation .nav-label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .article-navigation .nav-link {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .article-navigation .nav-link:hover {
        transform: translateX(3px);
    }
}

/* 悬浮咨询引导样式 - 仅PC端显示 */
@media (min-width: 769px) {
    .consultation-guide {
        position: fixed;
        right: 20px;
        top: 100px;
        width: 170px;
        height: 300px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        animation: showConsultation 0.5s ease 10s forwards;
    }

    @keyframes showConsultation {
        to {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }
    }

    /* The show class is kept for JavaScript control if needed */
    .consultation-guide.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        animation: none;
    }

    .consultation-content {
        background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 20px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        border: 1px solid #e0e0e0;
    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background: transparent;
        border: none;
        font-size: 16px;
        color: #999;
        cursor: pointer;
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .close-btn:hover {
        background: #f0f0f0;
        color: #666;
    }

    .consultation-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(45deg, var(--primary), var(--primary-light));
        margin-bottom: 15px;
        position: relative;
        overflow: hidden;
        animation: pulse 2s infinite;
    }

    /* 简单的头像动画效果 */
    @keyframes pulse {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(66, 153, 225, 0.7);
        }
        70% {
            transform: scale(1.05);
            box-shadow: 0 0 0 10px rgba(66, 153, 225, 0);
        }
        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(66, 153, 225, 0);
        }
    }

    /* 头像内部的简单图标 */
    .consultation-avatar::after {
        content: '👨‍🔬';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 30px;
    }

    .consultation-text h4 {
        margin: 0 0 10px 0;
        color: #333;
        font-size: 16px;
        font-weight: 600;
    }

    .consultation-text p {
        margin: 0 0 20px 0;
        color: #666;
        font-size: 14px;
    }

    .consultation-btn {
        background: var(--primary);
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(66, 153, 225, 0.3);
    }

    .consultation-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(66, 153, 225, 0.4);
    }
    

}

@media screen and (max-width: 768px) {
    /* 移动端优化 */
    html {
        font-size: 15px;
    }
    
    /* 移动端面包屑上边距调整 */
    .breadcrumb {
        margin-top: 80px;
    }
    
    /* 确保nav元素不影响菜单定位 */
    nav {
        position: relative;
    }
    
    /* 移动端完全隐藏悬浮咨询引导 */
    .consultation-guide {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateX(100%) !important;
    }
    
    /* 防止移动端横向滚动 */
    .container, .main-container {
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }
    
    /* 确保所有卡片和容器不会超出屏幕 */
    * {
        max-width: 100%;
    }
    
    /* 优化移动端文章网格布局 */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 1.2rem;
    }
    
    .service-card-large {
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    /* 移动端隐藏发布时间区域 */
    .article-meta-large {
        display: none !important;
    }
    
    /* 移动端调整article-header内部div间距 */
    .article-header > div {
        padding: 15px !important;
        margin: 0 !important;
        box-shadow: none !important;
    }
    
    /* 移动端资质优势区域样式 - 保留上下间距，去掉左右间距 */
    .article-header .certification-advantages {
        padding: 5px 0 !important;
        margin: 5px 0 0 !important;
    }
    
    /* 移动端3块在一行显示 - 去掉左右间距 */
    .certification-advantages > div {
        padding: 0 !important;
    }
    
    .certification-advantages > div > div {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        padding: 0 !important;
    }
    
    /* 隐藏第四个"专业团队"区块 */
    .certification-advantages .advantage-item:nth-child(4) {
        display: none !important;
    }
    
    .certification-advantages .advantage-item {
        padding: 10px !important;
        box-shadow: none !important;
        min-height: 0 !important;
        height: auto !important;
    }
    
    /* 覆盖内联样式，移动端移除300px高度 */
    .certification-advantages .advantage-item > div:first-child {
        height: auto !important;
        min-height: 0 !important;
        display: none !important;
    }
    
    .certification-advantages .advantage-item img {
        display: none !important;
    }
    
    /* 移除伪元素图标 */
    .certification-advantages .advantage-item::before {
        display: none !important;
    }
    
    /* 显示真实图片并设置居中显示 */
    .certification-advantages .advantage-item img {
        display: block !important;
        width: 45px !important;
        height: 45px !important;
        margin: 0 auto 5px !important;
        object-fit: contain;
        border-radius: 0 !important;
    }
    
    /* 恢复图片容器显示 */
    .certification-advantages .advantage-item > div:first-child {
        height: auto !important;
        min-height: 0 !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 5px 0 !important;
        overflow: visible !important;
    }
    
    .certification-advantages .advantage-item h4 {
        font-size: 0.85rem !important;
        margin-top: 5px !important;
        margin-bottom: 3px !important;
        text-align: center;
    }
    
    .certification-advantages .advantage-item p {
        font-size: 0.75rem !important;
        margin-bottom: 0 !important;
        text-align: center;
        display: none !important;
    }
    
    .certification-advantages .advantage-item > div:last-child {
        padding: 5px !important;
    }
    
    /* 移动端移除article-header底部间距 */
    .article-header {
        margin-bottom: 0 !important;
    }
    
    /* 确保移除article-header所有可能的底部间距 */
    .article-header {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-content-large {
        padding: 20px;
    }
    
    .service-content-large h3 {
        font-size: 1.5rem;
    }
    
    /* 移动端检测流程样式优化 */
    .detection-process {
        padding: 10px 0 10px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .process-step {
        margin-bottom: 40px;
        position: relative;
    }
    
    .process-step::after {
        display: none;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .step-content {
        padding: 15px 20px;
    }
    
    .step-content h4 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .article-card-large {
        flex-direction: column;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    .article-card-image-large {
        width: 100%;
        height: 220px;
    }
    
    .article-content-large {
        width: 100%;
        padding: 0;
    }
    
    .article-content-large h3 {
        font-size: 1.5rem;
    }
    
    /* 移动端导航栏布局优化 */
    .header-wrap {
        padding: 15px 0;
    }
    
    /* 移动端Logo样式优化 */
    .logo {
        gap: 10px;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    /* 移动端导航菜单 */
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 25px 20px;
        gap: 15px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0 0 12px 12px;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* 移动端菜单切换按钮 */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        color: var(--gray);
        cursor: pointer;
        padding: 10px;
        transition: color 0.3s ease;
    }
    
    
    
    .mobile-menu-toggle:hover {
        color: var(--primary-light);
    }
    
    /* 移动端导航链接样式 */
    .nav-menu li {
        margin: 0;
        width: 100%; /* 确保每个菜单项占满宽度 */
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 12px 20px; /* 增加左右内边距 */
        border-radius: 0;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        width: 100%; /* 确保链接占满菜单项宽度 */
        box-sizing: border-box; /* 确保内边距不影响总宽度 */
        text-align: left; /* 确保文字左对齐 */
        white-space: nowrap; /* 防止文字换行 */
        overflow: hidden; /* 隐藏溢出内容 */
        text-overflow: ellipsis; /* 使用省略号表示溢出文字 */
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--primary-light);
        color: white;
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }
    
    /* 移动端联系方式 */
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    /* 移动端导航栏调整 */
    .header-wrap {
        padding: 5px;
        margin:5px auto;
        justify-content: space-between;
    }
    
    /* 确保导航按钮和菜单都在右侧 */
    nav {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .nav-menu {
        /* 移动端菜单默认隐藏，绝对定位 */
        position: absolute;
        top: calc(100% + 10px);
        right: 15px;
        left: auto;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 10px 0;
        width: auto; /* 自动宽度，根据内容调整 */
        min-width: 280px; /* 设置最小宽度 */
        max-width: 350px; /* 设置最大宽度 */
        display: none;
        flex-direction: column;
        align-items: stretch; /* 确保菜单项占满宽度 */
        gap: 0;
        border: 1px solid var(--light-gray);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    /* 菜单滑入动画 */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* 移动端Banner调整 */
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        padding: 15px 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        padding: 12px 35px;
        font-size: 16px;
    }
    
    /* 移动端文章展示区域调整 */
    .articles-showcase {
        padding: 10px 0;
    }
    .news {padding: 10px 0;}
    
    /* 移动端服务卡片网格布局调整 */
    .service-grid-6 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card-large {
        width: 100%;
        margin: 0 auto;
    }
    
    .articles-grid-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-card-text {
        padding: 20px;
    }
    
    .article-card-text:hover {
        transform: translateY(-3px);
    }
    
    /* 移动端底部调整 */
    .copyright {
        margin: 0 10px;
        padding: 20px 15px;
        font-size: 0.85rem;
    }
    
    .contact-info p {
        font-size: 0.95rem;
    }
    
    .footer-col {
        width: 50%;
    }
    
    .footer-col:last-child {
        width: 100%;
        grid-column: 1 / -1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* 移动端资质展示 */
    .certificates {
        padding: 10px 0;
    }
    
    .certificate-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .certificate-item {
        margin-bottom: 0;
    }
    
    .certificate-item p {
        display: none;
    }
    
    .certificate-img {
        height: 180px;
    }
    
    /* 移动端设备展示 */
    .equipment-container {
        gap: 15px;
    }
    
    .equipment-item {
        flex-basis: calc(50% - 15px);
        margin-bottom: 0;
    }
    
    .equipment-item img {
        height: 150px;
    }
    
    /* 移动端检测流程 */
    .step-content p {
        font-size: 1.2rem;
    }
    
    /* 移动端页脚 */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px 10px;
    }
    
    /* 移动端按钮 */
    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    /* 移动端图标 */
    .service-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .service-icon-large i {
        font-size: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    

}

@media screen and (max-width: 480px) {
    /* 小屏手机优化 */
    html {
        font-size: 14px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .service-content-large h3 {
        font-size: 1.3rem;
    }
    
    .article-content-large h3 {
        font-size: 1.3rem;
    }
    
    .equipment-item {
        flex-basis: 100%;
    }
    
    .header-logo img {
        max-height: 45px;
    }
}

/* 懒加载图片样式 */
.lazy-image {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lazy-image.loaded {
    opacity: 1;
    transform: scale(1);
}

/* 装饰性背景图案 */
.core-services {
    background: var(--light-alt);
    position: relative;
    overflow: hidden;
}

.core-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(26, 75, 140, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* 文章卡片动画 */
.article-card-text {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.article-card-text:nth-child(odd) {
    animation-delay: 0.1s;
}

.article-card-text:nth-child(even) {
    animation-delay: 0.2s;
}

/* 资质卡片动画 */
.certificate-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.certificate-item:nth-child(1) { animation-delay: 0.1s; }
.certificate-item:nth-child(2) { animation-delay: 0.2s; }
.certificate-item:nth-child(3) { animation-delay: 0.3s; }
.certificate-item:nth-child(4) { animation-delay: 0.4s; }

/* 滚动触发动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 联系我们页面样式 */
.contact-page {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.contact-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-page .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.contact-page .section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-page .section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* 联系方式卡片 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 8px;
    font-size: 1rem;
}

/* 地图位置 */
.map-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    margin-bottom: 60px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* 送样指南 */
.sample-guide {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    margin-bottom: 60px;
}

.sample-guide h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.sample-guide p {
    color: var(--gray-dark);
    margin-bottom: 30px;
    line-height: 1.7;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.guide-step {
    background-color: var(--light-alt);
    padding: 25px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.guide-step:hover {
    transform: translateY(-3px);
}

.guide-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.guide-step h4 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.guide-step p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.consultation-prompt {
    text-align: center;
    background-color: var(--light-alt);
    padding: 30px;
    border-radius: 10px;
}

.consultation-prompt h4 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.consultation-prompt p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* 紧急联系 */
.emergency-contact {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(26, 75, 140, 0.2);
}

.emergency-contact h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.emergency-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.emergency-contact p:last-child {
    margin-bottom: 0;
}

