/* ===== 全局修复版CSS ===== */
:root {
  --primary: #0067b8;
  --primary-hover: #005aa3;
  --secondary: #00a0e9;
  --dark: #333333;
  --gray: #666666;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;
  --footer-bg: #1a1a1a;
  --header-height: 70px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft YaHei", sans-serif;
  color: var(--dark);
  line-height: 1.5;
  font-size: 15px;
  background: var(--white);
  padding-top: var(--header-height);
  /* 补偿固定头部空间 */
  overflow-x: hidden;
  /* 隐藏X轴滚动条 */
  width: 100%;
  /* 确保宽度不溢出 */
}

.picbox {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}


.flex-two .pic {
  width: 48% !important;
}

.picbox .pic {
  width: 400px;
  height: 550px;
  margin-bottom: 20px;
}

.picbox .pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width:960px) {
  .picbox {
    flex-wrap: wrap;
  }

  .picbox .pic {
    width: 48%;
    height: auto;
  }
}


/* ===== 头部导航修复 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 40px;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: var(--dark);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding: 5px 0;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a.current {
  color: var(--primary);
}

.nav-menu a.current::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

/* ===== Banner区域修复 ===== */
.banner {
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('../images/banner.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.banner-content {
  max-width: 600px;
  padding: 0 15px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--white);
}

.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ===== 主内容区 ===== */
.main-content {
  min-height: calc(100vh - var(--header-height) - 300px);
  /* 补偿页脚高度 */
  padding: 50px 0;
}

/* ===== 底部全面修复 ===== */
.footer {
  background-color: var(--footer-bg);
  color: #aaa;
  padding-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #aaa;
  font-size: 14px;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  color: var(--secondary);
  margin-right: 10px;
  font-size: 16px;
  margin-top: 4px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #aaa;
  font-size: 20px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

/* ===== 响应式修复 ===== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 15px;
  }

  .banner h1 {
    font-size: 2rem;
  }

  .banner p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .nav-menu {
    display: none;
    /* 移动端需要响应式菜单 */
  }

  .mobile-menu-btn {
    display: block !important;
    /* 需要添加移动端菜单按钮 */
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .banner {
    min-height: 400px;
  }
}


body {
  font-family: 'Noto Sans SC', sans-serif;
  padding-top: 56px;
}

.gradient-bg {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.8), rgba(59, 130, 246, 0.6));
}

.hero-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.nav-link {
  white-space: nowrap;
}



.product-card,
.news-card {
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: scale(1.03);
}

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

.product-image {
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.text-primary-custom {
  color: #10b981;
}

.bg-primary-custom {
  background: linear-gradient(90deg, #10b981, #3b82f6);
  /* 精准色值 */
  color: white;
}

.bg-secondary-custom {
  background-color: #3b82f6;
}

.gradient-text {
  background: linear-gradient(135deg, #10b981, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== 渐变按钮样式 ===== */
.btn-gradient {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #00c853, #0077b6);
  /* 绿到蓝渐变 */
  color: white;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  /* 小圆角 */
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-bgcolor {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #00c853, #0077b6);
  /* 绿到蓝渐变 */
  color: white;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  /* 小圆角 */
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-bgcolor:hover {
  background: linear-gradient(90deg, #00e676, #0091ea);
  /* 更亮的渐变 */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.btn-gradient:hover {
  background: linear-gradient(90deg, #00e676, #0091ea);
  /* 更亮的渐变 */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.btn-gradient:active {
  transform: translateY(0);
}


.btn-outline-primary-custom {
  color: #10b981;
  border-color: #10b981;
}

.btn-outline-primary-custom:hover {
  background-color: #10b981;
  color: white;
}

.dropdown-menu {
  min-width: 200px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
  border: none;
}

.siti-logo {
  width: 110px;
  height: auto;
}

#tab-color {
  color: #10b981;
}

/* 视频背景样式 */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.section-heading {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.section-heading:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, #10b981, #3b82f6);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .hero-bg h1 {
    font-size: 1.8rem !important;
    line-height: 2.2rem !important;
  }

  .hero-bg h2 {
    font-size: 1.3rem !important;
    line-height: 1.6rem !important;
  }

  .hero-bg p {
    font-size: 0.9rem !important;
    line-height: 1.4rem !important;
  }

  .section-heading h2 {
    font-size: 1.5rem !important;
  }

  .about-section h3 {
    font-size: 1.3rem !important;
  }

  .about-section p,
  .product-card p,
  .advantage-item p,
  .news-card p {
    font-size: 0.9rem !important;
    line-height: 1.4rem !important;
  }

  .product-card h3,
  .news-card h3 {
    font-size: 1rem !important;
  }

  .advantage-item h3 {
    font-size: 1.1rem !important;
  }

  footer .text-sm {
    font-size: 0.8rem !important;
  }

  .btn {
    font-size: 0.9rem !important;
    padding: 0.5rem 0.75rem !important;
  }

  .nav-link {
    font-size: 0.9rem !important;
  }
}

.foot-dark {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

.foot-muted {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.index-light {
  background: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}

.text-mb4 {
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
  font-size: 15px;
}

.bg-gray {
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

/* ===== 统一所有.btn为直角圆角渐变按钮 ===== */

.btn-simple-green {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  /* 上下 0.75rem */
  background: transparent;
  /* 透明背景 */
  color: #10b981;
  /* 绿色文字（与边框同色） */
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #10b981;
  /* 绿色边框 */
  border-radius: 6px;
  /* 圆角 */
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
}

/* 可选：悬停时加深颜色 */
.btn-simple-green:hover {
  color: #fff;
  background-color: #0e9d6e;

}

.btn-simple-green2 {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  /* 上下 0.75rem */
  background: transparent;
  /* 透明背景 */
  color: #fff;
  /* 绿色文字（与边框同色） */
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #10b981;
  /* 绿色边框 */
  border-radius: 6px;
  /* 圆角 */
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
  color: #fff;
  background-color: #0e9d6e;
}

/* 可选：悬停时加深颜色 */
.btn-simple-green2:hover {
  color: #fff;
  background-color: #0e9d6e;

}

.text-primary-custom2 {
  color: #fff;
}

/* Hero Section 样式 */
.hero-section {
  min-height: 100vh;
  padding-top: 70px;
  /* 给导航栏留出空间 */
}

.video-container {
  top: 0;
  left: 0;
  z-index: 1;
}

.video-background {
  object-fit: cover;
}

.video-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 2rem;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
  .hero-content {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-content {
    padding: 1.5rem;
  }

  h1.display-4 {
    font-size: 2.5rem;
  }

  h2.display-5 {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-content {
    text-align: center;
  }

  .d-flex.flex-column.flex-sm-row {
    justify-content: center;
  }
}

/* 修改gradient-text-white类，不影响文字颜色 */
/* 文字渐变核心样式 */
.gradient-text {
  background: linear-gradient(90deg, #00c853, #0077b6);
  ;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* 关键：必须设为透明 */
  display: inline-block;
  padding: 0.1em 0;
  /* 解决梯度截断问题 */
}

/* 覆盖视频背景下的视觉优化 */
.hero-bg .gradient-text {
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.2);
  /* 增强可读性 */
}

.gr-c {
  color: #000;
}

#backToTop {
  bottom: 20px;
  right: 20px;
  display: none;
  background: #10b981;
  color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .gradient-text {
    color: #fff;
  }

  .gap-2 {
    margin-bottom: 2rem;
  }

  .bt-2r {
    margin-bottom: 2rem;
  }

  .mr-b {
    margin-bottom: 3rem;
  }

  #backToTop {
    bottom: 100px;
    right: 20px;
    display: none;
    background: #10b981;
    color: #fff;
  }
}

body {
  overflow-x: hidden;
  /* 隐藏水平滚动条 */

}

/* 防止长文本/邮箱地址换行导致的溢出 */
footer .col-lg-5 span {
  word-break: break-all;
  /* 强制换行长文本 */
  display: inline-block;
  max-width: 100%;
}

.banner-container {
  position: relative;
  overflow: hidden;

}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 80%;
}

.banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-img {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .banner-title {
    font-size: 1.8rem;
  }

  .banner-subtitle {
    font-size: 1rem;
  }

  .btn-lg {
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
  }
}


.culture-section {
  background: url('../images/cur.png') repeat
}

.bg-mosha {
  --tw-bg-opacity: 1;
  border-right: 1px #fff dashed;

}

.color-w {
  color: #fff;
}

.certificates-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.certificate-slide {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  transition: transform 0.5s ease;
}

.certificate-item {
  text-align: center;
  margin-bottom: 20px;
}

/* 默认电脑端布局 - 5列 */
.certificate-item {
  width: 18%;
}

.certificate-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 10px;
}

.certificate-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.certificate-desc {
  color: #666;
  font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.3);
}

.carousel-control-prev {
  left: -20px;
}

.carousel-control-next {
  right: -20px;
}

/* 平板端布局 - 3列 */
@media (max-width: 992px) {
  .certificate-item {
    width: 30%;
  }
}

/* 手机端布局 - 2列 */
@media (max-width: 768px) {
  .certificate-item {
    width: 48%;
  }

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

  .carousel-control-prev {
    left: -10px;
  }

  .carousel-control-next {
    right: -10px;
  }
}

/* 超小手机端 - 1列 */
@media (max-width: 480px) {
  .certificate-item {
    width: 100%;
  }
}

/* 响应式调整 */
.culture-card {
  border-radius: 8px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 移动端调整 */
@media (max-width: 576px) {
  .culture-section {
    padding: 2rem 0;
  }

  .culture-card {
    margin-bottom: 1rem;
  }

  .row.g-3>[class^="col-"] {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

.bg-f9 {
  background: #f9fafb;
  padding: 25px 15px;
  border: none;
}

.text-primary {
  color: #0e9d6e;
}

.card-body2 {
  border-left: 6px #00c853 solid;
  padding: 10px;
}


/* 新闻卡片布局样式 */
.news-container {
  display: flex;
  gap: 20px;
}

.news-date {
  min-width: 80px;
  text-align: center;
  padding-right: 20px;
  border-right: 1px solid #e5e7eb;
}

.news-content {
  flex: 1;
}

/* 阅读更多按钮样式 */
.read-more {
  color: #10b981;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #0e9f6e;
  transform: translateX(3px);
}

/* 卡片悬停效果 */
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

/* 标题装饰线 */
.section-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #10b981, #3b82f6);
  margin: 12px auto;
}

/* 响应式调整 */
@media (max-width: 640px) {
  .news-container {
    flex-direction: column;
  }

  .news-date {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding-right: 0;
    padding-bottom: 10px;
    margin-bottom: 10px;
    text-align: left;
  }
}

.news-title {
  font-size: 1.25rem;
}

.news-card {
  padding: 30px;
  margin-bottom: 30px;
}

.transition-colors {
  color: #0e9d6e;
}


.metadata {
  padding: 20px 0px;
}

.news {
  padding: 40px 0px;
}

/* 新闻导航 - 并排布局 */
.news-navigation {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-navigation a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  max-width: 45%;
}

.news-navigation a:hover {
  color: #10b981;
}

.news-navigation .prev {
  justify-content: flex-start;
}

.news-navigation .next {
  justify-content: flex-end;
  margin-left: auto;
  text-align: right;
}

.news-navigation i {
  font-size: 14px;
  margin: 0 5px;
}