/* 全局字体设置 */
/*
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}
*/
:root {
    --primary-color: #2C3E50;
    --secondary-color: #73D13D;
    --accent-color: #E74C3C;
    --text-color: #2C3E50;
    --light-gray: #ECF0F1;
    --dark-gray: #34495E;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}
/* ======= 以下样式已迁移至header-footer.css，现全部注释，避免冲�?======= */
/*
.top-bar {
    background-color: #343a40;
    padding: 8px 0;
}
.top-bar small {
    font-size: 0.875rem;
}
.language-selector a {
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.language-selector a:hover {
    opacity: 1;
}
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
}
.navbar-brand img {
    max-height: 50px;
}
.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
    color: #54cccc !important;
}
.footer {
  background: #23272b;
  color: #fff;
  padding: 40px 0 20px 0;
  font-size: 15px;
}
.footer h5 {
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.footer p, .footer a {
  color: #bbb;
  font-size: 0.98rem;
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
}
.social-links a {
  color: #bbb;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.2s;
}
.social-links a:hover {
  color: #fff;
}
.footer .list-unstyled {
  padding-left: 0;
}
.footer .list-unstyled li {
  margin-bottom: 8px;
}
.footer .list-unstyled a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer .list-unstyled a:hover {
  color: #fff;
}
@media (max-width: 991px) {
  .footer {
    text-align: center;
    padding: 32px 0 12px 0;
  }
  .footer h5 {
    margin-bottom: 12px;
  }
  .footer .list-unstyled li {
    margin-bottom: 6px;
  }
}
*/
/* ======= 迁移注释结束 ======= */
/* 页面标题样式 */
.page-header {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* 公司简介部�?*/
.about-section {
    padding: 40px 0;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-section .lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.about-section p {
    margin-bottom: 1.3rem;
    color: #666;
}

.company-stats {
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-item i {
    font-size: 2rem;
    color: #54cccc;
    margin-bottom: 0.5rem;
}

.stat-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: #333;
}

.stat-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
}

/* 认证展示部分 */
.certifications {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.certifications h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.certification-item {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-3px);
}

.certification-item img {
    max-height: 80px;
    margin-bottom: 1rem;
}

.certification-item h5 {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #333;
}

/* 生产环境部分 */
#environment.facility-section {
  padding-top: 56px;
  padding-bottom: 56px;
}
#environment .facility-item img {
  min-height: 320px;
  max-height: 360px;
  object-fit: cover;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(35,140,255,0.08);
}
#environment .facility-item {
  margin-bottom: 24px;
}
@media (max-width: 992px) {
  #environment .facility-item img {
    min-height: 200px;
    max-height: 220px;
  }
}

/* 响应式调�?*/
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .about-section h2,
    .certifications h2,
    .facility-section h2 {
        font-size: 1.75rem;
    }

    .stat-item {
        margin-bottom: 1rem;
    }

    .facility-item img {
        height: 150px;
    }

    .certification-item img {
        max-height: 60px;
    }
}

/* 动画效果 */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #54cccc;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #0056b3;
}

.back-to-top.show {
    display: flex;
}

/* 公司简介样�?*/
.company-intro {
    padding: 80px 0;
}

.company-intro img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.company-intro img:hover {
    transform: scale(1.02);
}

/* 优势卡片样式 */
.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-wrapper i {
    font-size: 30px;
    color: white;
}

/* 发展历程样式 */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    width: calc(50% - 30px);
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-year {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* 团队卡片样式 */
.team-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light-gray);
}

.team-card h4 {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.team-card .text-muted {
    margin-bottom: 15px;
}

/* 响应式调�?*/
@media (max-width: 991.98px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 60px 0;
    }

    .company-intro {
        padding: 40px 0;
    }

    .advantage-card,
    .team-card {
        margin-bottom: 30px;
    }
}

/* 社交链接样式 */
.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* 公司简介内容样�?*/
.company-intro {
  padding: 60px 0;
  background: #fff;
}

.company-title {
  font-size: 28px;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.service-note {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin-bottom: 40px;
  position: relative;
}

.service-note:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #ff6633;
}

.intro-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.greeting {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}

.description {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  text-align: justify;
}

/* 响应式调�?*/
@media (max-width: 768px) {
  .sub-nav ul {
      flex-wrap: wrap;
  }
  
  .sub-nav li {
      padding: 10px 15px;
  }
  
  .company-title {
      font-size: 24px;
  }
  
  .service-note {
      font-size: 14px;
  }
  
  .greeting {
      font-size: 16px;
  }
  
  .description {
      font-size: 14px;
      line-height: 1.6;
  }
}


/* 公司认证部分样式 */
.company-certifications {
  padding: 60px 0;
  background: #fff;
}
.company-certifications .container{
  width: 80%;
  margin: 0 auto;
}
.cert-content {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
}

.cert-left {
  padding-right: 30px;
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
  height: 600px;
}

.cert-title {
  margin-bottom: 40px;
}

.title-en {
  color: #ff6633;
  font-size: 24px;
  display: block;
  margin-bottom: 10px;
}

.title-cn {
  color: #333;
  font-size: 28px;
  font-weight: bold;
  display: block;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.cert-item {
  text-align: center;
}

.cert-item img {
  /* width: 120px;
  height: 120px; */
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

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

.cert-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.cert-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
}

.cert-right img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .cert-right img {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .cert-right img {
    max-width: 100%;
  }
}

.company-desc {
  color: #666;
  font-size: 16px;
  line-height: 1.8;
}

.company-desc p {
  margin-bottom: 15px;
  text-align: justify;
}

.company-image {
  margin-top: 20px;
}

.company-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 响应式调�?*/
@media (max-width: 1200px) {
  .cert-content {
      grid-template-columns: 1fr;
      gap: 40px;
  }

  .cert-left {
      padding-right: 0;
  }
}

@media (max-width: 768px) {
  .cert-grid {
      gap: 20px;
  }

  .cert-item img {
      width: 100px;
      height: 100px;
  }

  .company-desc {
      font-size: 14px;
      line-height: 1.6;
  }

  .title-en {
      font-size: 20px;
  }

  .title-cn {
      font-size: 24px;
  }
}
.right3 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.right3 img {
  width: calc((100% - 40px) / 3);
  /* height: 200px; */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

/* Handle last row with less than 3 images */
.right3 img:nth-child(3n+1):nth-last-child(-n+3),
.right3 img:nth-child(3n+1):nth-last-child(-n+3) ~ img {
  margin-right: auto;
}

.right3 img:hover {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .right3 img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .right3 img {
    width: calc((100% - 20px) / 2);
    height: 150px;
  }
}

@media (max-width: 480px) {
  .right3 img {
    width: 100%;
    height: 200px;
  }
}

/* 页脚国际化三栏样�?*/
.footer {
  background: #23272b;
  color: #fff;
  padding: 40px 0 20px 0;
  font-size: 15px;
}
.footer-brand {
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin-top: 8px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  display: inline-block;
  margin: 0 10px;
}
.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-social a {
  color: #bbb;
  margin: 0 6px;
  font-size: 1.2rem;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #fff;
}
.footer-contact a {
  color: #bbb;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-contact a:hover {
  color: #fff;
}
.footer img {
  max-width: 100px;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .footer .row > div {
    margin-bottom: 20px;
    text-align: center !important;
  }
  .footer img {
    margin: 0 auto 10px auto;
    display: block;
  }
  .footer-links li {
    display: block;
    margin: 8px 0;
  }
}

/* 子导航样�?*/
.sub-nav {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.sub-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sub-nav li {
    margin: 0 10px;
}

.sub-nav a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.sub-nav a:hover,
.sub-nav a.active {
    color: #54cccc;
}

.sub-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #54cccc;
}

/* 横幅图片 */
.bannerImg {
    width: 100%;
    /* height: 300px; */
    overflow: hidden;
}

.bannerImg img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}
.section-title .en-title {
  font-size: 1rem;
  color: #888;
  font-weight: 400;
  margin-left: 8px;
}

/* 时间线样�?*/
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline li {
  position: relative;
  padding-left: 2.2em;
  margin-bottom: 1.2em;
  color: #444;
  font-size: 1rem;
}
.timeline li span {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.7em;
  height: 1.7em;
  background: #54cccc;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 1.7em;
  font-weight: bold;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.2rem;
    margin-top: 32px !important;
    margin-bottom: 24px !important;
  }
  .section-title .en-title {
    font-size: 0.9rem;
  }
  .timeline li {
    font-size: 0.95rem;
  }
  .timeline li span {
    font-size: 0.95rem;
    width: 1.3em;
    height: 1.3em;
    line-height: 1.3em;
  }
}

.navbar .dropdown-menu {
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 8px 0;
  font-size: 1rem;
}
.navbar .dropdown-item {
  padding: 10px 24px;
  color: #222;
  transition: background 0.2s, color 0.2s;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: #f2f6fa;
  color: #54cccc;
}
.navbar .dropdown-menu {
  border: 1px solid #eee;
}

/* 证书展示模块等分4份，卡片自适应宽度且有间距 */
.cert-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
  margin-bottom: 2rem;
}
.cert-item {
  flex: 1 1 0;
  max-width: 100%;
  margin: 0 12px;
  background: #fff;
  border: 2px solid #54cccc;
  border-radius: 18px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 16px 6px 10px 6px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.cert-item img {
  height: 60px;
  width: auto;
  max-width: 100%;
  margin-bottom: 10px;
  object-fit: contain;
}
.cert-item .cert-title {
  font-weight: 800;
  font-size: 1rem;
  color: #54cccc;
  text-align: center;
  margin-bottom: 0.15rem;
}
.cert-item .cert-desc {
  font-size: 0.95rem;
  color: #444;
  text-align: center;
}
.cert-item:hover {
  box-shadow: 0 8px 32px rgba(35,140,255,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: #1766c2;
}
@media (max-width: 900px) {
  .cert-row {
    flex-wrap: wrap;
  }
  .cert-item {
    flex: 1 1 45%;
    min-width: 120px;
    height: 140px;
    margin: 8px 0.5rem;
    padding: 8px 2px 6px 2px;
  }
}
@media (max-width: 600px) {
  .cert-row {
    flex-direction: column;
    align-items: center;
  }
  .cert-item {
    flex: 1 1 90%;
    width: 90%;
    min-width: 60px;
    height: auto;
    margin: 6px 0;
    padding: 6px 1px 4px 1px;
  }
}
