
.site a::before {
  content: '' !important;
  width: 0 !important;
}
.header .top .share ul li a {
  text-align: center;
  line-height: 45px;
}
.header .top .share ul li a img {
  margin-right: 3px;
}
.header-container {
  position: relative;
}
@media (min-width: 1200px) {
.header .nav {
  position: absolute;
  right: 4%;
}
}
.last-a {
  padding-right: 0 !important;
}
@media (max-width: 1349px) {
.header .nav {
  right: 0;
}
}

/* 公司业务部分的显示/隐藏控制 */
.business-tabs-desktop {
  display: none !important;
}
.business-tabs-mobile {
  display: none !important;
}

@media (max-width: 767px) {
  .business-tabs-mobile {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .business-tabs-desktop {
    display: block !important;
  }
}

/* 手机端荣誉网格布局 - 一行两列 */
@media (max-width: 767px) {
  .honors-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  .honor-item {
    text-align: center !important;
    padding: 15px 10px !important;
    background: #f8f9fa !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease !important;
  }
  
  .honor-item:hover {
    transform: translateY(-5px) !important;
  }
  
  .honor-item i {
    font-size: 28px !important;
    color: #202a72 !important;
    margin-bottom: 10px !important;
    display: block !important;
  }
  
  .honor-item p {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    color: #333 !important;
  }
}

/* 移动端标签切换样式 */
@media (max-width: 767px) {
  .mobile-tab-nav {
    display: flex !important;
    justify-content: space-between;
    background: white;
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 3px 15px rgba(32, 42, 114, 0.08);
    margin-bottom: 20px;
  }
  
  .mobile-tab-btn {
    flex: 1;
    padding: 15px 10px !important;
    background: none !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #666 !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
  }
  
  .mobile-tab-btn i {
    font-size: 18px !important;
    margin-bottom: 5px !important;
  }
  
  .mobile-tab-btn.active {
    color: white !important;
    background: linear-gradient(135deg, #202a72, #3a4ab8) !important;
    box-shadow: 0 5px 15px rgba(32, 42, 114, 0.3) !important;
  }
  
  .mobile-tab-pane {
    display: none !important;
  }
  
  .mobile-tab-pane.active {
    display: block !important;
    animation: fadeIn 0.5s ease !important;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* 电脑端证书轮播图样式 */
@media (min-width: 768px) {
  .certificates-slider {
    position: relative;
    margin: 30px 0;
    padding: 0 40px;
  }
  
  .certificates-slider .slick-list {
    overflow: hidden;
    margin: 0 -10px;
  }
  
  .certificates-slider .slick-track {
    display: flex;
  }
  
  .certificate-slide {
    padding: 0 10px;
    height: 280px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  
  .certificate-slide img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .certificate-slide.slick-center img {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(32, 42, 114, 0.2);
  }

  .slick-dots li {
    margin: 0 5px;
  }
  
  .slick-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .slick-dots .slick-active button {
    background: #202a72;
    transform: scale(1.2);
  }
  
  /* 电脑端隐藏移动端证书容器 */
  .mobile-certificates-container {
    display: none !important;
  }
}

/* 移动端证书横向滚动样式 */
@media (max-width: 767px) {
  .mobile-certificates-container {
    position: relative;
    margin: 20px 0;
  }
  
  .certificates-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 10px 0 20px 0;
    cursor: grab;
  }
  
  .certificates-scroll::-webkit-scrollbar {
    display: none;
  }
  
  .certificates-scroll.active {
    cursor: grabbing;
  }
  
  .certificate-item {
    flex: 0 0 auto;
    width: 85%;
    max-width: 320px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .certificate-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }
  
  .scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }
  
  .scroll-hint i {
    margin-right: 8px;
    color: #202a72;
    animation: bounceRight 1.5s infinite;
  }
  
  /* 移动端隐藏电脑端证书轮播图 */
  .certificates-slider {
    display: none !important;
  }
}

@keyframes bounceRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* PC端荣誉网格布局 */
@media (min-width: 768px) {
  .honors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0 30px;
  }
  
  .honor-item {
    text-align: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
  }
  
  .honor-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(32, 42, 114, 0.1);
  }
  
  .honor-item i {
    font-size: 32px;
    color: #202a72;
    margin-bottom: 15px;
    display: block;
  }
  
  .honor-item p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #333;
    font-weight: 500;
  }
}
/* 一体化导航样式 */
.certificates-slider {
  position: relative;
  margin: 30px 0;
  padding: 0 40px;
  padding-bottom: 0; /* 移除底部内边距 */
}

/* 导航容器 - 放在轮播图外部 */
.slick-nav-container {
  position: static; /* 改为静态定位 */
  transform: none; /* 移除transform */
  margin: 20px auto 0; /* 添加外边距，水平居中 */
  width: fit-content; /* 宽度自适应内容 */
  left: 0; /* 移除left定位 */
  background: rgba(32, 42, 114, 0.85);
  border-radius: 30px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 20;
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 箭头按钮样式 */
.slick-nav-container .slick-arrow {
  position: static;
  top: auto;
  transform: none;
  width: 35px;
  height: 35px;
  font-size: 16px;
  background: white;
  color: #202a72;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slick-nav-container .slick-arrow:hover {
  background: #202a72;
  color: white;
  transform: scale(1.1);
}

/* 圆点导航样式 */
.slick-nav-dots {
  display: flex;
  gap: 8px;
  margin: 0 10px;
  flex-wrap: wrap; /* 允许换行 */
  justify-content: center;
  max-width: 400px; /* 限制最大宽度 */
}

.slick-nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0; /* 防止圆点被压缩 */
}

.slick-nav-dot:hover {
  background: white;
  transform: scale(1.2);
}

.slick-nav-dot.slick-active {
  background: white;
  transform: scale(1.3);
}

/* 移动端调整 */
@media (max-width: 767px) {
  .certificates-slider {
    padding: 0 10px;
  }
  
  .slick-nav-container {
    gap: 10px;
    padding: 8px 15px;
    bottom: 10px;
  }
  
  .slick-nav-container .slick-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .slick-nav-dots {
    gap: 6px;
    margin: 0 5px;
  }
  
  .slick-nav-dot {
    width: 6px;
    height: 6px;
  }
}
