/* 重置所有元素的边距和内边距 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 设置页面字体和背景 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    /* 在CSS文件中添加 */
    a {
        text-decoration: none;
    }
}

/* 设置导航栏 */
header {
    /* 使用弹性布局，使header内的元素水平排列 */
    display: flex;
    
    /* 子元素在主轴（水平方向）两端对齐 */
    justify-content: space-between;
    
    /* 子元素在交叉轴（垂直方向）居中对齐 */
    align-items: center;
    
    /* 内边距：上下10px，左右20px */
    padding: 10px 20px;
    
    /* 背景渐变：从白色到浅蓝色的三色渐变 */
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 50%, #bbdefb 100%);
    /*background: url('image/lab_image.jpg') no-repeat center center;8/
    /* 阴影效果：向右下角偏移，模糊15px，半透明黑色 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    
    /* 相对定位，为可能的子元素绝对定位提供参考 */
    /* position: relative;*/
    /* 关键修改：使用 sticky 定位 */
    position: sticky;
    top: 0; /* 距离顶部0px时开始固定 */
    /* 层叠顺序，确保header在其他内容之上 */
    z-index: 1000;
}

header .logo img {
    width: 200px;
    height: auto;
}

/* 主菜单容器 */

/* 导航栏样式 */
nav > ul {
    list-style: none;
    display: flex;
    gap: 15px;
    align-items: center;
}

nav ul li {
    position: relative;
}

/* 所有菜单链接的基础样式 */
nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 10px 15px;
    display: block;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* 主菜单项样式（首页、科研服务、关于我们、联系我们） */
nav > ul > li > a {
    background: transparent;
    color: #333;
    border-radius: 5px;
    font-weight: 500;
}

nav > ul > li > a:hover {
    background-color: #f5f5f5;
    color: #004d40;
}

/* 科研服务下的二级菜单标题（动物、植物、生信） */
nav > ul > li:nth-child(2) .submenu > li > a {
    background-color: #004d40;
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    position: relative;
}

nav > ul > li:nth-child(2) .submenu > li > a:hover {
    background-color: #00796b;
}

/* 关于我们 */
nav > ul > li:nth-child(3) .submenu > li > a {
    background-color: #004d40;
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    position: relative;
}

nav > ul > li:nth-child(3) .submenu > li > a:hover {
    background-color: #00796b;
}

/* 二级菜单容器样式 */
nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0;
    min-width: 220px;
    border-radius: 0 0 8px 8px;
    border-top: 3px solid #004d40;
    z-index: 1001;
}

/* 鼠标悬停时显示二级菜单 */
nav ul li:hover > .submenu {
    display: block;
}

/* 三级菜单容器样式 */
nav .submenu-items {
    display: block;
    padding: 8px;
}

nav .submenu-items li a {
    padding: 10px 15px 10px 25px;
    background-color: #f8f9fa;
    color: #555;
    font-size: 14px;
    border-radius: 4px;
    border-left: 3px solid transparent;
    margin: 2px 0;
    transition: all 0.2s ease;
}

/* 三级菜单项悬停效果 */
nav .submenu-items li a:hover {
    background-color: #e9ecef;
    color: #004d40;
    border-left-color: #004d40;
    transform: translateX(2px);
}

/* 英雄区域样式 */
.hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

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

.hero-text h1 {
    white-space: nowrap;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    overflow: visible;
    
    /* 添加安全限制 */
   /* max-width: 100vw;  限制不超过视口宽度 */
    /*box-sizing: border-box;*/
    /*padding: 0 10px;  添加内边距避免贴边 */
        /* 微信浏览器字体缩放修复 */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.hero-text p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 根据不同设备优化 */
/* 或者更强制性的方式 */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem !important;
        -webkit-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
        transform: scale(1) !important;
        -webkit-transform: scale(1);
    }
}

@media (max-width: 414px) {
    .hero-text h1 {
        font-size: 1.8rem; /* iPhone 12/13等 */
    }
}

@media (max-width: 375px) {
    .hero-text h1 {
        font-size: 1.5rem; /* 小屏手机 */
    }
}

@media (max-width: 320px) {
    .hero-text h1 {
        font-size: 1.3rem; /* 超小屏 */
        white-space: normal; /* 实在不行允许换行 */
    }
}


/* 内容区域样式 */
section {
            padding: 60px 20px;
            max-width: 1200px;
            /*width: 100%;  改为 100% 宽度，使它适应屏幕 */
            margin: 0 auto;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            margin-top: 30px;
        }

section h2 {
    font-size: 2.5rem;
    color: #004d40;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #00796b;
    margin: 15px auto;
    border-radius: 2px;
}

section h3 {
    font-size: 1.8rem;
    color: #00796b;
    margin: 30px 0 20px 0;
    border-left: 4px solid #004d40;
    padding-left: 15px;
}

section h4 {
    font-size: 1.2rem;
    color: #00796b;
    margin: 30px 0 20px 0;
    border-left: 4px solid #004d40;
    padding-left: 15px;
}
section h5 {
    font-size: 1rem;
    color: #00796b;
    margin: 30px 0 20px 0;
    /*border-left: 4px solid #004d40;*/
    padding-left: 15px;
}

section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

section ul {
    list-style: none;
    padding-left: 0;
}

section ul li {
    padding: 10px 0;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

section ul li::before {
    content: '•';
    color: #004d40;
    font-weight: bold;
    position: absolute;
    left: 0;
}

section ul li strong {
    color: #004d40;
}

/* 服务项目表格样式 */
table td:nth-child(1) {
      font-weight: bold;
      min-width: 100px;
      white-space: nowrap;  /*防止服务项目列内容换行 */
}
.service-table .col2 {
        font-weight: normal; /* 防止给第二列加粗 */
        white-space: normal;  /*防止给第二列内容不换行 */
    }
.service-table .col3 {
        font-weight: normal; /* 防止给第二列加粗 */
        white-space: normal;  /*防止给第二列内容不换行 */
    }
.service-table .col4 {
        font-weight: normal; /* 防止给第二列加粗 */
        white-space: normal;  /*防止给第二列内容不换行 */
    }
.service-table {
    width: 100%;
    table-layout: auto;  /*浏览器根据内容自动分配列宽*/
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid #004d40; /* 深色外边框 */
}

.service-table th {
    background-color: #004d40;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.service-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    border: 1px solid #ccc; /* 列有边框 */
}
.service-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.service-table tr:hover {
    background-color: #e9ecef;
}
/* 价格标签样式 */
.price-tag {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* 服务优势样式 */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.advantage-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #004d40;
}

.advantage-item h4 {
    color: #004d40;
    margin-bottom: 10px;
}

/* 关于我们部分的子菜单 */
#about .submenu-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

#about .submenu-items li a {
    padding: 15px 30px;
    background-color: #004d40;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

#about .submenu-items li a:hover {
    background-color: #00796b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 联系我们部分样式 */
#contact {
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 40px auto;
    padding: 40px;
    text-align: center;
}

#contact p {
    font-size: 1.2rem;
    color: #555;
    margin: 10px 0;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(45deg,  #004d40 0%, #00796b 50%, #00acc1 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: white;
    margin-top: 60px;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

/* 响应式设计 */
/* 微信浏览器适配 */
@media (max-width: 768px) {
    /* 针对微信浏览器的特殊适配 */
    body {
        padding-top: env(safe-area-inset-top);
    }
    
    header {
        padding-top: env(safe-area-inset-top);
        min-height: calc(60px + env(safe-area-inset-top));
    }
    
    /* 调整导航栏在微信中的显示 */
    nav > ul {
        gap: 8px;
    }
    
    nav ul li a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    /* 缩小logo在移动端的尺寸 */
    header .logo img {
        width: 300px;
        max-width: 80%;
    }
    section {
                padding: 40px 15px;
            }
            
    /* 设置section内所有图片的样式 */
    section img {
    max-width: 100% !important;  /* 使用!important覆盖内联样式 */
    height: auto !important;
    display: block;
    margin: 10px auto;
    }
    section h2 {
        font-size: 2rem;
    }
    .service-table {
        font-size: 14px;
        table-layout: auto; /* 关键：让浏览器根据内容自动分配宽度 */
    }
    
    .service-table th, 
    .service-table td {
        padding: 10px;
    }
    .service-table td:nth-child(1) {
         /*width: 120px !important; 固定宽度 */
        /*white-space: nowrap;  禁止换行 */
        min-width: 80px !important;
        max-width: none;
    /*    max-width: 80px; */
    }
            
}

@media (max-width: 480px) {

    
    section h2 {
        font-size: 1.8rem;
    }
    
    nav ul li a {
        padding: 8px 12px;
        font-size: 14px;
    }
    .service-table td:nth-child(1) {
        width: 80px !important;  /*固定宽度 */
        /*white-space: nowrap;  禁止换行 */
        min-width: 50px;
        max-width: none;
}
}
/* 滚动平滑效果 */
html {
    scroll-behavior: smooth;
}

/* 选中文本样式 */
::selection {
    background-color: #004d40;
    color: white;
}

/* 焦点样式 */
a:focus {
    outline: 2px solid #004d40;
    outline-offset: 2px;
}



/* 科研服务部分样式 */
#services {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff;
}
/* 服务图标容器 */
.services-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px; /* 缩小间距适应手机屏幕 */
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: nowrap; /* 强制不换行 */
    overflow-x: auto; /* 允许横向滚动 */
    padding: 60px 60px;
    -webkit-overflow-scrolling: touch; /*  iOS平滑滚动 */
}

/* 单个服务项优化 */
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    min-width: 150px; /* 缩小最小宽度 */
    flex-shrink: 0; /* 防止缩小 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 77, 64, 0.15);
    border-color: #004d40;
    background: white;
}

/* 服务图标图片 */
.service-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #e0e0e0;
    transition: all 0.3s ease;
}

.service-item:hover img {
    border-color: #004d40;
    transform: scale(1.1);
}

/* 服务标题 */
.service-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-item:hover h3 {
    color: #004d40;
}

/* 响应式设计 */
@media (max-width: 768px) {
    #services {
        padding: 40px 10px;
    }
    
    .services-icons {
        gap: 50px; /* 进一步缩小间距 */
        justify-content: center; /* 居中对齐 */
        padding: 15px 10px;
    }
    
    .service-item {
        min-width: 120px; /* 手机端更小宽度 */
        padding: 5px 25px;
    }
    
    .service-item img {
        width: 100px;
        height: 100px;
    }
    
    .service-item h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .services-icons {
        gap: 20px;
    }
    
    .service-item {
        min-width: 100px;
        padding: 4px 10px;
    }
    
    .service-item img {
        width: 60px;
        height: 60px;
    }
    
    .service-item h3 {
        font-size: 1rem;
    }
}

/* 隐藏滚动条但保持滚动功能 */
.services-icons::-webkit-scrollbar {
    display: none;
}

.services-icons {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 微信二维码样式 */
.wechat-qrcode {
    display: block; /* 块级元素 */
    margin: 20px 0 20px 0; /* 上右下左，左边距为0 */
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: fit-content; /* 内容宽度 */
}

.wechat-qrcode img {
    width: 150px;
    height: 150px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    display: block; /* 确保图片是块级元素 */
}

.wechat-qrcode p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wechat-qrcode {
        padding: 15px;
    }
    
    .wechat-qrcode img {
        width: 120px;
        height: 120px;
    }
}

/* 划过图片放大 */
.img-auto { display:block; overflow:hidden; }
.img-auto img {
    width: auto;
    height: auto;
    margin: 0px auto;
    transition: transform 600ms ease;
    transform-origin: center center; /* 从中心放大 */
}

.img-auto img:hover { -webkit-transform: scale(1.1);-moz-transform: scale(1.1);-ms-transform: scale(1.1);-o-transform: scale(1.1);transform: scale(1.1); }

/* 确保 .list-pic10 容器使用 Flexbox 布局 */
.list-pic10 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}
.col-sm-4 {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    box-sizing: border-box;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .col-sm-4 {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 767px) {
    .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* 每个图片项的样式 */
.list-pic20-item {
    text-align: center;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* 鼠标悬停效果：放大和阴影 */
.list-pic20-item:hover {
    transform: translateY(-10px); /* 向上移动 */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* 增加阴影 */
}

/* 图片样式 */
.list-pic20-item img {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* 图片悬停时放大效果 */
.list-pic20-item:hover img {
    transform: scale(1.05); /* 放大 */
}

/* 标题样式 */
.list-pic20-item p {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-top: 10px;
}
/* <!-- 尝试不同的根号变体 -->
√  <!-- 普通根号 -->
⎷  <!-- 另一种根号形式 -->
√<!-- 带有上方横线的根号 --> */
/* 根号容器 */
.sqrt-container {
    display: inline-flex;
    align-items: center;
    font-family: "Cambria Math", "Segoe UI Symbol", "Apple Symbols", serif;
    font-size: 1.1em;
}

/* 如果字体渲染失败，使用SVG备用 */
.sqrt-symbol {
    font-family: inherit;
}

.sqrt-symbol.fallback::before {
    content: "√";
    font-family: "Segoe UI Symbol", "Apple Symbols", sans-serif;
}

/* 或者使用数据属性提供多种备选 */
.sqrt-symbol[data-symbols]::before {
    content: "√"; /* 主符号 */
    font-family: "Cambria Math", "Segoe UI Symbol", "Apple Symbols";
}

@supports not (font-family: "Cambria Math") {
    .sqrt-symbol[data-symbols]::before {
        content: "√"; /* 备用符号 */
    }
}

/* 拆分表格样式 */

/* 关键：让所有嵌套表格容器高度同步 */
.service-table-container {
    width: 100%;
    overflow-x: auto;
}

.nested-container {
    padding: 0 !important;
    vertical-align: top;
    max-width: auto;
    overflow: hidden; /* 防止溢出 */
    height: 100%; /* 重要：继承父单元格高度 */
}

.nested-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* 关键：固定布局 */
    height: 100%; /* 重要：继承父单元格高度 */
}

.nested-table td {
     word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal !important; /* 强制换行 */
    padding: 8px;
    border: 1px solid #ddd;
    max-width: 300px; /* 设置合理的最大宽度 */
}
.nested-table tr {
    display: table-row;
}
/* 为长内容单元格添加特殊样式 */
.nested-table .long-text {
    min-width: 100px;
    max-width: 200px; /* 设置最大宽度 */
}
.nested-table tr:not(:last-child) td {
    border-bottom: 1px solid #ddd;
}

/* 移动端响应式样式 - 关键部分 */
@media (max-width: 768px) {
    .service-table-container {
        width: 100%;
        overflow-x: auto; /* 允许横向滚动 */
        -webkit-overflow-scrolling: touch; /*  iOS平滑滚动 */
        border: 1px solid #ddd;
        margin: 10px 0;
    }
    
    /* 嵌套表格在移动端的样式 */
    .nested-table {
        table-layout: auto; /* 小屏幕使用自动布局 */
        min-width: 600px; /* 设置最小宽度确保可读性 */
    }
    
    .nested-table td {
        max-width: none; /* 移除最大宽度限制 */
        font-size: 14px;
        padding: 6px;
    }
    
}
/* 微信浏览器特定优化 */
@media screen and (max-width: 768px) {
    .service-table-container {
        -webkit-overflow-scrolling: touch;
        overflow-x: scroll;
    }
    
    /* 隐藏滚动条但保持滚动功能 */
    .service-table-container::-webkit-scrollbar {
        display: none;
    }
    
    .service-table {
        -webkit-text-size-adjust: 100%;
    }
}
/* 植物样式 */
.process-con {
    font-size: 15px;
    padding: 20px 0;
}

.process-con .process {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.process-con .process .item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #6dbc62;
    padding: 13px 14px;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    cursor: pointer;
}
.process-con .process .item1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #6dbc62;
    padding: 13px 14px;
    color: #fff;
    border-radius: 8px; /* 改为圆角方形 */
    transition: all 0.3s ease;
    margin-bottom: 30px;
    width: 100px;
    height: 120px;
    flex-shrink: 0;
    cursor: pointer;
}
.process-con .process .item2 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #6dbc62;
    padding: 13px 14px;
    color: #fff;
    border-radius: 8px; /* 改为圆角方形 */
    transition: all 0.3s ease;
    margin-bottom: 30px;
    width: 40px;
    height: 120px;
    flex-shrink: 0;
    cursor: pointer;
}

/* 使用边框绘制纯箭头（无横线） */
.process-con .process .item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #6dbc62; /* 箭头颜色 */
    background: transparent;
    transition: all 0.3s ease;
}

.process-con .process .item1:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #6dbc62; /* 箭头颜色 */
    background: transparent;
    transition: all 0.3s ease;
}
.process-con .process .item2:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #6dbc62; /* 箭头颜色 */
    background: transparent;
    transition: all 0.3s ease;
}
/* 鼠标悬停时箭头变色 */
.process-con .process .item:hover:not(:last-child)::after {
    border-left-color: #1d5e5d;
}

.process-con .process .item:hover {
    background: #1d5e5d;
    transform: scale(1.05);
}

.process-con .process .item.active {
    background: #1d5e5d;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(29, 94, 93, 0.3);
    z-index: 1;
}

.process-con .process .item.active:hover {
    background: #154a4a;
    transform: scale(1.15);
}

.process-con .process .item.active:not(:last-child)::after {
    border-left-color: #1d5e5d;
}

.process-con .process .item span {
    display: inline-block;
    width: 100%;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .process-con .process {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .process-con .process .item {
        width: 60px;
        height: 60px;
    }
      .process-con .process .item1 {
        width: 60px;
        height: 60px;
    }
      .process-con .process .item2 {
        width: 60px;
        height: 60px;
    }
    
    /* 移动端箭头方向向下 */
    .process-con .process .item:not(:last-child)::after {
        left: 50%;
        top: calc(100% + 10px);
        transform: translateX(-50%) rotate(90deg);
    }
}
/* 图片在文字右侧 */
.flex-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.text-content {
    flex: 1;
    min-width: 0; /* 防止文字溢出 */
    text-indent: 2em; /* 2个字符宽度 */
}

.right-image {
    width: 480px; /* 固定宽度 */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* 鼠标悬停效果 */
.right-image:hover {
    transform: scale(1.02);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .right-image {
        width: 100%;
        max-width: 400px;
        align-self: center; /* 居中显示 */
    }
}


/* =========================
   七辰生物 - FAQ 样式优化
   ========================= */

.bioinfo-faq {
  background-color: #f8fbff; /* 淡蓝背景 */
  padding: 60px 20px;
  border-radius: 16px;
  margin-top: 40px;
}

.bioinfo-faq h2 {
  text-align: center;
  font-size: 2em;
  color: #004d99;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/* 问题部分 */
.faq-list dt {
  position: relative;
  font-weight: 600;
  color: #004d99;
  margin-top: 24px;
  padding-left: 40px;
  font-size: 1.1em;
  line-height: 1.5;
}

/* Q 的问号小图标 */
.faq-list dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #007bff;
  color: #fff;
  text-align: center;
  line-height: 28px;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
}

/* 答案部分 */
.faq-list dd {
  background-color: #e9f3ff;
  border-left: 4px solid #007bff;
  margin: 10px 0 20px 40px;
  padding: 14px 18px;
  border-radius: 6px;
  color: #333;
  line-height: 1.7;
  font-size: 1em;
  position: relative;
}

/* 答案前的 A 图标 */
.faq-list dd::before {
  content: "A";
  position: absolute;
  left: -30px;
  top: 10px;
  color: #007bff;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
}

/* 响应式优化 */
@media (max-width: 768px) {
  .faq-list dt, .faq-list dd {
    padding-left: 32px;
  }
  .faq-list dt::before {
    width: 24px;
    height: 24px;
    line-height: 24px;
  }
  .faq-list dd::before {
    left: -25px;
  }
}
