@charset "UTF-8";

/* 页面2-产品服务 start */
 .hero-section {
    height: 328px;
    /*background: linear-gradient(135deg, #437FC7, #6DAFFE);*/
    background: #6DAFFE;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index:2;
    overflow: hidden;
}
    .hero-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #437FC7; /* 左侧背景色 */
      /* 创建多边形路径：左上(0,0) 右上(75%,0) 右下(25%,100%) 左下(0,100%) */
      clip-path: polygon(0 0, 75% 0, 25% 100%, 0 100%);
    }
.hero-content {
    position: relative;
    width:85%;
    max-width: 1200px;
    text-align: left;
}
.hero-bg-overlay {
    position: absolute;
    z-index:1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}
.category-links {
    width:100%;
    background: white;
    padding: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index:10;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.category-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    transition: all 0.3s;
}
.category-item:hover {
    background: #e9f0ff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(67, 127, 199, 0.15);
}
.section-container {
    padding: 80px 0;
    position: relative;
}
.section-container:nth-child(even) {
    background: #f9fbfd;
}
.section-nav {
    position: sticky;
    top: 0px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    line-height: 68px;
    z-index: 100;
    transition: all 0.3s ease;
}
.section-nav.show{
    top: 92px;
}
.section-nav .nav-item{
    margin:0 10px;
}
.section-nav .nav-link {
    font-weight: 500;
    border-bottom: 4px solid transparent;
    margin: 0;
    padding: 0;
    height:68px;
    white-space: nowrap;
}
.section-nav .nav-link.active, .section-nav .nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--bs-orange);  
}
#section3 .section-content, #section5 .section-content{
    flex-direction: row-reverse; 
}
.section-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.section-text {
    flex: 1;
}
.section-image {
    flex: 1;
    text-align: center;
}
.section-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.section-links {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}
.link-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.link-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.link-item:hover {
    background: #e9f0ff;
    transform: translateY(-3px);
}





    /* 新增样式 - 体外诊断 */
    .main-banner {
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../file/ivd-banner.png') no-repeat center center;
      background-size: cover;
      padding: 100px 0;
      color: white;
      text-align: center;
    }
    
    .advantage-card {
      text-align: center;
      padding: 30px 15px;
      transition: transform 0.3s ease;
    }
    
    .advantage-card:hover {
      transform: translateY(-10px);
    }
    
    .advantage-img {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      margin: 0 auto 20px;
      border: 5px solid #f0f8ff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .advantage-title {
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 15px;
    }
    
    .tab-content {
      padding: 30px;
      border: 1px solid #dee2e6;
      
      border-radius: 0 0 5px 5px;
    }
    
    .tab-image {
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .tab-link {
      color: var(--primary);
      font-weight: 600;
      padding: 5px 15px;
      border: 1px solid var(--primary);
      border-radius: 30px;
      margin-right: 10px;
      display: inline-block;
      margin-top: 15px;
      transition: all 0.3s ease;
    }
    
    .tab-link:hover {
      background-color: var(--primary);
      color: white;
    }
    
    .mobile-dropdown-tabs {
      display: none;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
@media (max-width: 992px) {
    .nav{
        flex-wrap: nowrap;
    }
    .section-nav {
        top:67px !important;
    }
    .section-nav .nav-item{
        margin:0 5px;
    }
    .section-content {
        flex-direction: column !important;
        gap: 30px;
    }
    .catitem-more{
        display:none;
    }
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .link-grid {
        grid-template-columns: repeat(3, 1fr)
    }
    
        /* 体外诊断 、 移动端选项卡样式 */
        .desktop-tabs {
          display: none;
        }
        
        .mobile-dropdown-tabs {
          display: block;
        }
}
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .link-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}
