

.home {
  margin: 85px 0 0;
  padding: 0;
}

.seo-hidden-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-swiper {
  width: 100%;
  height: calc(100vh - 85px);
  position: relative;
}

/* 第一张 swiper slide */
.hero-slide {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hero-slide-1{
  background-image: url('/img/banner/banner_01.webp;');
}

.hero-slide-2{
  background-image: url('/img/banner/banner_02_01.webp;');
}

.hero-slide-3{
  background-image: url('/img/banner/banner_03.webp;');
}

/*.hero-slide:nth-child(1) {*/
/*  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);*/
/*}*/

/*.hero-slide:nth-child(2) {*/
/*  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);*/
/*}*/

/* 遮罩层，让文字更清晰 */
.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* 轮播内容容器 */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 1400px;
}

.hero-content h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 42px;
  margin: 0;
  position:  relative;
  padding-bottom:20px;
}

.hero-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 180px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}


.hero-content p {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #fff;
}

.hero-content.hero-content-right h2,
.hero-content.hero-content-right p {
  text-align: right !important;
}

.hero-content.hero-content-right h2{
  position: relative;
}

.hero-content.hero-content-right h2::after {
  content: '';
  position: absolute;
  left: auto;
  right: 0;
  bottom: 0;
  width: 180px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}


.hero-content.hero-content-right .hero-cta {
  justify-content: end !important;
}

/* CTA 按钮容器 */
.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: start;
  flex-wrap: wrap;
}

/* 按钮通用样式 */
.hero-btn {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

/* 主按钮 - 蓝色背景 */
.hero-btn--primary {
  background-color: var(--primary);
  color: #fff;
}

.hero-btn--primary:hover {
  background-color: var(--accent);
}

/* 次按钮 - 白色边框 */
.hero-btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.hero-btn--secondary:hover {
  background-color: #fff;
  color: var(--primary);
}

/* ==================== Swiper 自定义导航和分页 ==================== */
/* 控件容器 - 限制在1400px内容区内 */
.hero-swiper {
  position: relative;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-pagination {
  position: absolute;
  z-index: 10;
}

/* 左右箭头按钮 - 透明菱形设计，定位到内容区右下角 */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: #fff;
  width: 60px;
  height: 60px;
  background: transparent;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #fff;
  transform: rotate(45deg);
  top: auto;
  bottom: 30px;
  left: 50%;
  right: auto;
  margin: 0;
}


.hero-swiper .swiper-button-prev {
  transform: translateX(calc(700px - 100% - 100px)) rotate(45deg);
  margin-right: 10px !important;
}

.hero-swiper .swiper-button-next {
  transform: translateX(calc(700px - 100% - 20px)) rotate(45deg);
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: var(--primary);
  border-color: #2a5f94;
  color: #fff;
}

.hero-swiper .swiper-button-next:hover {
  transform: translateX(calc(700px - 100% - 20px)) rotate(45deg);
}

.hero-swiper .swiper-button-prev:hover {
  transform: translateX(calc(700px - 100% - 100px)) rotate(45deg);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
  transform: rotate(-45deg);
  display: inline-block;
}

/* 分页器 dots - 细线样式，定位到内容区左下角 */
.hero-swiper .swiper-pagination {
  text-align: left;
  left: 50%;
  right: auto;
  bottom: 40px;
  width: auto;
  transform: translateX(-700px);
}

.swiper-pagination-bullet {
  width: 48px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary);
  opacity: 1;
}

/* ==================== 透明 Header 效果 ==================== */
/* 默认透明状态 */
.site-header.transparent .header-main {
  background-color: transparent;
  border-bottom: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
}

/* Logo 在透明状态下的颜色调整（可选） */
.site-header.transparent .header-main .nav-menu a {
  color: #fff;
}

/* Logo 保持原色，不做颜色变换 */
/* .site-header.transparent .header-main .logo img {
  filter: brightness(0) invert(1);
} */

.site-header.transparent .header-main .mobile-menu-btn {
  color: #fff;
}

/* 下滑后变为不透明 */
.site-header.scrolled .header-main {
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .header-main .nav-menu a {
  color: #222;
}

/* Logo 始终保持原色，不需要在滚动后重置 */

.site-header.scrolled .header-main .mobile-menu-btn {
  color: #222;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 46px;
  }

  .hero-content p {
    font-size: 20px;
  }

  .hero-btn {
    padding: 14px 32px;
    font-size: 15px;
  }
}

@media (max-width: 786px) {
  .hero-swiper {
    height: 80vh; /* 移动端降低高度 */
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .hero-cta {
    gap: 15px;
  }

  .hero-btn {
    padding: 12px 28px;
    font-size: 14px;
  }

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    bottom: 20px;
  }

  .hero-swiper .swiper-button-prev {
    right: 80px;
  }

  .hero-swiper .swiper-button-next {
    right: 15px;
  }

  .hero-swiper .swiper-button-next::after,
  .hero-swiper .swiper-button-prev::after {
    font-size: 20px;
  }

  .hero-swiper .swiper-pagination {
    left: 15px;
    bottom: 30px;
  }

  .swiper-pagination-bullet {
    width: 35px;
    height: 2.5px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btn {
    padding: 12px 24px;
    width: 100%;
    text-align: center;
  }

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    display: none; /* 小屏幕隐藏箭头 */
  }

  .hero-swiper .swiper-pagination {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }

  .swiper-pagination-bullet {
    width: 30px;
    height: 2px;
  }
}

/* ==================== About Us 公司简介 - 白色卡片布局 ==================== */
.about-section-new {
  padding: 80px 0 100px;
  background-size: cover;
  background-blend-mode: multiply;
  background: rgba(0, 0, 0, 0.5) url(/img/banner/about-us-bg.webp) no-repeat center center;
}

.about-section-new  p a,
.about-section-new  ul a {
  color: #1e6ffa;
  text-decoration: none;
}

.about-section-new  p a:hover,
.about-section-new  ul a:hover{
  text-decoration: underline;
}

.about-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 0px;
  overflow: hidden;
  margin-top: 40px;
  z-index: 88;
  align-items: stretch;
}

.about-card-image {
  width: 100%;
  height: 100%;
  padding:20px;
}

.about-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-card-image video{
  width: 100%;
  height: 100%;
}


.about-card__content {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-card__text {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

.btn-more-green {
  display: inline-block;
  align-self: flex-start;
  margin-top: 16px;
  padding: 12px 32px;
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn-more-green:hover {
  background-color: var(--accent);
}

/* ==================== Product Center 产品中心 - 新布局 ==================== */
.product-tabs {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  flex-wrap: wrap;
}

.product-tab {
  flex: 1;
  padding: 12px 32px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-tab:not(:last-of-type) {
  border-right: none;
}

.product-tab:hover {
  background-color: var(--primary);
  color: #fff;
}

.product-tab.active {
  background-color: var(--primary);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 40px;
}

.product-item {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-item__image {
  width: 100%;
  height: 200px !important;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.product-item__image img {
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-item:hover .product-item__image img {
  transform: scale(1.1);
}

.pt-20{
  padding-top: 20px;
}

/* Product Badges */
.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-badge.hot {
  background: linear-gradient(135deg, #ff6b6b, #ff4757);
}

.product-badge.featured {
  background: linear-gradient(135deg, #feca57, #ff9ff3);
  color: #222;
}

.product-badge.popular {
  background: linear-gradient(135deg, #48dbfb, #0abde3);
}

.product-item-title {
  padding: 20px 15px 15px;
  font-size: 16px;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.4;
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.product-item-title:hover {
  color: var(--primary);
}

.view-all-products {
  text-align: center;
  margin-top: 40px;
}

.btn-view-all {
  display: inline-block;
  padding: 14px 40px;
  background-color: transparent;
  border: 2px solid #27ae60;
  color: #27ae60;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background-color: #27ae60;
  color: #fff;
  transform: translateY(-2px);
}

/* ==================== Product Carousel 产品轮播 ==================== */
.product-carousel-container {
  position: relative;
  margin-top: 20px;
}

.product-carousel {
  position: relative;
}

/* Products Swiper */
.products-swiper-systems,
.products-swiper-components {
  padding: 20px 0 30px;
  overflow: visible;
}

.products-swiper-systems .swiper-slide,
.products-swiper-components .swiper-slide {
  height: auto;
  display: flex;
}

/* Product Item in Swiper */
.product-carousel .product-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* Products Navigation Buttons */
.products-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  pointer-events: auto;
}

.products-button-prev,
.products-button-next {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: static;
}

.products-button-prev:hover,
.products-button-next:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.products-button-prev.swiper-button-disabled,
.products-button-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #ccc;
}

.products-button-prev.swiper-button-disabled:hover,
.products-button-next.swiper-button-disabled:hover {
  background: #ccc;
  transform: scale(1);
}


.btn-view-all:hover {
  background-color: #27ae60;
  color: #fff;
  transform: translateY(-2px);
}

/* ==================== Four Core Advantages 核心优势 - 新布局 ==================== */
.advantages-section {
  /* 不再需要补偿 about-card 溢出 */
}

.advantages-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.advantages-left,
.advantages-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.advantage-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.advantage-item-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

.advantage-item__content h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.advantage-item__content p {
  line-height: 1.8;
}

.advantages-center {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
}

.advantages-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== Project Cases 案例轮播 ==================== */

/* Cases Header - 标题在左，按钮在右 */
.case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 10px;
}

.case-header-left {
  flex: 1;
}

.case-header-left h2 {
  margin-bottom: 8px;
}

.case-header-left .section-subtitle {
  margin: 0;
}

.case-header .hero-btn {
  flex-shrink: 0;
  align-self: center;
}

.cases-swiper-wrapper {
  position: relative;
  margin-top: 40px;
}

.cases-swiper {
  width: 100%;
  overflow: visible;
  padding: 20px 0 60px;
}

.case-card {
  display: block;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.case-card:hover {
}

.case-card-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .case-card-image img {
  transform: scale(1.1);
}

.case-card-title {
  padding: 10px 15px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  text-align: center;
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: center;
}

/* Cases Navigation Buttons */
.cases-navigation {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.cases-button-prev,
.cases-button-next {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.cases-button-prev:hover,
.cases-button-next:hover {
  background: var(--accent);
}

/* Cases Navigation Buttons - Disabled State */
.cases-button-prev.swiper-button-disabled,
.cases-button-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #ccc;
}

.cases-button-prev.swiper-button-disabled:hover,
.cases-button-next.swiper-button-disabled:hover {
  background: #ccc;
  transform: none;
}

/* ==================== Solutions Grid 解决方案网格 - Magazine Style ==================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

/* Magazine Style Grid Layout */
.solutions-grid-magazine {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 280px);
  gap: 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Large Card - Takes 2x2 grid space */
.solution-grid-card--featured {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

/* Last two cards - Each takes 2 columns (50% width) */
.solution-grid-card:nth-child(6) {
  grid-column: 1 / 3;
}

.solution-grid-card--wide {
  grid-column: 3 / 5;
}

.solution-grid-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.solution-grid-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.solution-grid-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(*/
  /*        to bottom,*/
  /*        rgba(0, 0, 0, 0),*/
  /*        rgba(0, 0, 0, 0.7)*/
  /*);*/
  z-index: 1;
  transition: background 0.4s ease;
}

/* Right arrow icon */
.solution-grid-card::after {
  content: "\f35d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  font-size: 20px;
  color: #fff;
  opacity: 0;
  transform: translate(10px, -10px);
  transition: all 0.4s ease;
}

.solution-grid-card__content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  transition: all 0.4s ease;
}

/* Featured card has larger text */
.solution-grid-card--featured .solution-grid-card__content {
  padding: 40px;
  background: rgba(0,0,0,0.1);
}

.solution-grid-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: all 0.4s ease;
}

/* Featured card larger title */
.solution-grid-card--featured .solution-grid-card__title {
  font-size: 28px;
  margin-bottom: 12px;
}

.solution-grid-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

/* Featured card shows description by default */
.solution-grid-card--featured .solution-grid-card__desc {
  font-size: 15px;
  opacity: 1;
  max-height: 100px;
  transform: translateY(0);
}

/* Hover effects */
.solution-grid-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}

.solution-grid-card:hover .solution-grid-card__bg {
  transform: scale(1.08);
}

.seawater-desalination-bg{
  background: rgba(0, 0, 0, 0.35) url('/img/solution/seawater-desalination-equipment.webp') center center / cover no-repeat;
  background-image: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%),;
}

.electronics-bg{
  background: rgba(0, 0, 0, 0.35) url('/img/solution/electronic-factory-ultra-pure-water-equipment.webp') center center / cover no-repeat;
  background-image: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%),;
}

.pharmaceutical-biotechnology-bg {
  background: rgba(0, 0, 0, 0.35) url('/img/solution/pharmaceutical-grade-purified-water-equipment.webp') center center / cover no-repeat;
  background-image: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%),;
}

.food-beverage-bg {
  background: rgba(0, 0, 0, 0.35) url('/img/solution/food-and-beverage-factory-sewage-treatment-equipment.webp') center center / cover no-repeat;
  background-image: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%),;
}

.industrial-boiler-hvac-bg {
  background: rgba(0, 0, 0, 0.35) url('/img/solution/power-plant-demineralized-water-equipment.webp') center center / cover no-repeat;
  background-image: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%),;
}

.new-energy-battery-bg {
  background: rgba(0, 0, 0, 0.35) url('/img/solution/new-energy-ultra-pure-water-equipment.webp') center center / cover no-repeat;
  background-image: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%),;
}

.electroplating-metal-surface-bg {
  background: rgba(0, 0, 0, 0.35) url('/img/solution/electroplating-industry-ultra-pure-water-equipment.webp') center center / cover no-repeat;
  background-image: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%),;
}

.solution-grid-card:hover::before {
  background: linear-gradient(
          to bottom,
          rgba(66, 74, 210, 0.75),
          rgba(66, 74, 210, 0.9)
  );
}

.solution-grid-card:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

.solution-grid-card:hover .solution-grid-card__title {
  transform: translateY(-6px);
}

.solution-grid-card:hover .solution-grid-card__desc {
  opacity: 1;
  max-height: 100px;
  transform: translateY(0);
}

/* Featured card hover - description remains visible */
.solution-grid-card--featured:hover .solution-grid-card__title {
  transform: translateY(-4px);
}

.news-tab {
  padding: 10px 24px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.news-tab.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ==================== Certifications 资质证书 ==================== */
.certification-section{
  /*background: url(/img/map-bg.webp) no-repeat center center;*/
  background-size: cover;
  background: var(--primary);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 40px;
}

/* Custom Grid Layout - 第一行4个（第一个占2列），第二行5个 */
.certifications-grid-custom {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* 第一个证书卡片占2列 */
.certificate-card--featured {
  grid-column: 1 / 3;
}

.certificate-card {
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 5px;
}

.certificate-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.certificate-card__image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 10px;
}

/* Featured卡片更高 */
.certificate-card--featured .certificate-card__image {
  height: 400px;
}

.certificate-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-card__image img {
  transform: scale(1.05);
}

/* Placeholder证书卡片 */
.certificate-card--placeholder {
  border: 2px dashed #ddd;
  background: #fafafa;
}

.certificate-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
  text-align: center;
}

.certificate-placeholder-content i {
  font-size: 60px;
  margin-bottom: 15px;
  color: #ccc;
}

.certificate-placeholder-content p {
  font-size: 15px;
  margin: 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.news-featured {
  display: flex;
  gap: 24px;
}

.news-card-large {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-card-large:hover {
  background-color: var(--primary);
  color: #fff !important;
}

.news-card-large-content .card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.news-card-large-content p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.news-card-large:hover .news-card-large-content .card-title,
.news-card-large:hover .news-card-large-content p,
.news-card-large:hover .news-card-large-meta {
  color: #fff;
}

.news-card-large__image {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.news-card-large__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card-large:hover .news-card-large__image img {
  transform: scale(1.05);
}

.news-card-large__category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
}

.news-card-large-content {
  padding: 24px;
}

.news-card-large-content .card-title {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.news-card-large-content p {
  margin: 10px 0;
}

.news-card-large-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #999;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-date::before {
  content: "\f017";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-list-item {
  display: flex;
  gap: 20px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-list-item:hover {
  background-color: var(--primary);
  color: #fff;
}
.news-list-item:hover p,
.news-list-item:hover .news-list-item__date {
  color: #fff;
}

.news-list-item-content .news-list-item-title{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.news-list-item-content .news-list-item-description {
  margin: 8px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-list-item__date {
  font-size: 12px;
  color: #999;
}

/* ==================== CTA Section 联系我们 ==================== */
.cta-section {
  color: #fff;
  background: rgba(61, 133, 198, 0.5) url(/img/banner/banner-5.webp) no-repeat center
  center;
  background-size: cover;
  background-blend-mode: multiply;
}

.cta-content {
  text-align: center;
  padding: 20px 0;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  margin-bottom: 32px;
  color: #fff;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-btn--white {
  background-color: #fff;
  color: var(--accent);
}

.cta-btn--white:hover {
  background-color: var(--accent);
}

.cta-btn--outline {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.cta-btn--outline:hover {
  background-color: var(--accent);
}

/* ==================== 响应式设计 - 新增模块 ==================== */
@media (max-width: 1024px) {


  .about-card__content {
    padding: 50px 40px;
  }

  .advantages-section{
    /* 不需要补偿 */
  }

  .advantages-layout {
    gap: 40px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  /* Hero Swiper - 平板端控件定位调整 */
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    left: auto;
    right: 0;
    transform: rotate(45deg);
  }

  .hero-swiper .swiper-button-prev {
    right: 80px;
  }

  .hero-swiper .swiper-button-next {
    right: 15px;
  }

  .hero-swiper .swiper-button-next:hover {
    transform: rotate(45deg);
  }

  .hero-swiper .swiper-button-prev:hover {
    transform: rotate(45deg);
  }

  .hero-swiper .swiper-pagination {
    left: 15px;
    transform: none;
  }

  /* Product Carousel - Tablet 响应式 */
  .products-button-prev,
  .products-button-next {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .products-nav-buttons {
    margin-top: 30px;
    gap: 15px;
  }

  /* Solutions Grid - Tablet */
  .solutions-grid-magazine {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 18px;
  }

  .solution-grid-card--featured {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 320px;
  }

  .solution-grid-card:nth-child(6),
  .solution-grid-card--wide {
    grid-column: 1 / 3;
  }

  .solution-grid-card {
    min-height: 260px;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* Custom Grid - 平板端调整 */
  .certifications-grid-custom {
    grid-template-columns: repeat(3, 1fr);
  }

  .certificate-card--featured {
    grid-column: 1 / 3;
  }

  .certificate-card__image {
    height: 280px;
  }

  .certificate-card--featured .certificate-card__image {
    height: 280px;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .hero-swiper{
    height: 50vh;
  }

  .hero-content{
    padding: 15px;
  }

  .hero-content h2 {
    font-size: 32px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 18px;
    margin: 30px 0;

  }

  /* About Section */
  .about-section-new {
    padding: 60px 0 80px;
  }

  .about-card {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .about-card-image {
    height: 250px;
  }

  .about-card__content {
    padding: 30px 25px;
  }

  .about-card__text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
  }

  .btn-more-green {
    padding: 10px 28px;
    font-size: 14px;
    margin-top: 12px;
  }

  .advantages-section{
    /* 不需要补偿 */
  }

  /* Advantages Section */
  .advantages-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
  }

  .advantages-center {
    order: -1;
    height: 320px;
  }

  .advantage-item {
    gap: 15px;
  }

  .advantage-item-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 20px;
  }

  .advantage-item__content h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .advantage-item__content p {
    font-size: 13px;
    line-height: 1.7;
  }

  /* Product Section */
  .product-tabs {
    gap: 10px;
    margin: 30px 0;
  }

  .product-tab {
    padding: 10px 16px;
    font-size: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
  }

  .product-item__image {
    height: 180px;
  }

  .product-item-title {
    padding: 15px 12px 12px;
    font-size: 15px;
    min-height: 70px;
  }

  /* Product Carousel - Mobile 响应式 */
  .product-carousel-container {
    margin-top: 30px;
  }

  .products-button-prev,
  .products-button-next {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .products-nav-buttons {
    margin-top: 25px;
    gap: 12px;
  }

  /* Solutions Grid - Mobile */
  .solutions-grid-magazine {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
    margin-top: 30px;
  }

  .solution-grid-card--featured {
    grid-column: 1;
    grid-row: auto;
    min-height: 350px;
  }

  .solution-grid-card:nth-child(6),
  .solution-grid-card--wide {
    grid-column: 1;
  }

  .solution-grid-card {
    min-height: 240px;
  }

  .solution-grid-card--featured .solution-grid-card__title {
    font-size: 24px;
  }

  .solution-grid-card__title {
    font-size: 17px;
  }

  .solution-grid-card--featured .solution-grid-card__desc {
    font-size: 14px;
  }

  .solution-grid-card__content {
    padding: 24px;
  }

  .solution-grid-card--featured .solution-grid-card__content {
    padding: 32px;
  }

  .view-all-products {
    margin-top: 35px;
  }

  .btn-view-all {
    padding: 12px 35px;
    font-size: 14px;
  }

  /* Cases Section */
  .case-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .case-header .hero-btn {
    align-self: flex-start;
  }

  .cases-swiper-wrapper {
    margin-top: 35px;
  }

  .cases-swiper {
    padding: 15px 0 50px;
  }

  .case-card-image {
    height: 240px;
  }

  .case-card-title {
    padding: 20px 15px;
    font-size: 16px;
    min-height: 90px;
  }

  /* Solutions Section */
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 35px;
  }

  .solution-grid-card {
    height: 240px;
  }

  .solution-grid-card__content {
    padding: 24px 18px;
  }

  .solution-grid-card__title {
    font-size: 18px;
  }

  /* Certifications Section */
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 35px;
  }

  /* Custom Grid - 移动端调整为2列 */
  .certifications-grid-custom {
    grid-template-columns: repeat(2, 1fr);
  }

  .certificate-card--featured {
    grid-column: 1 / 3;
  }

  .certificate-card__image {
    height: 300px;
    padding: 15px;
  }

  .certificate-card--featured .certificate-card__image {
    height: 320px;
  }

  .certificate-placeholder-content i {
    font-size: 50px;
  }

  .certificate-placeholder-content p {
    font-size: 14px;
  }

  /* News Section */
  .news-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-featured{
    flex-direction: column;
  }

  .news-card-large__image {
    height: 220px;
  }

  .news-card-large-content {
    padding: 20px 18px;
  }

  .news-card-large-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .news-card-large-content p {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .news-list-item {
    padding: 12px;
    gap: 15px;
  }

  .news-list-item-content h4 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .news-list-item-content p {
    font-size: 14px;
  }

  /* CTA Section */
  .cta-content h2 {
    font-size: 24px;
    margin-bottom: 12px;
    text-align: left !important;
  }

  .cta-content p {
    font-size: 15px;
    margin-bottom: 24px;
    text-align: left !important;

  }

  .cta-buttons {
    gap: 15px;
  }

  .cta-btn {
    padding: 10px 24px;
    font-size: 15px;
  }

  .section-subtitle {
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 35px;
  }
}

@media (max-width: 480px) {
  /* Hero Section */
  .hero-content h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 16px;
    margin: 20px 0;
  }

  .hero-cta {
    gap: 12px;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* About Section */
  .about-section-new {
    padding: 50px 0 70px;
  }

  .about-card {
    margin-top: 20px;
  }

  .about-card-image {
    height: 220px;
  }

  .about-card__content {
    padding: 25px 20px;
  }

  .about-card__text {
    font-size: 13px;
    line-height: 1.7;
  }

  .btn-more-green {
    padding: 10px 24px;
    font-size: 13px;
    border-radius: 20px;
  }

  .advantages-section{
    /* 不需要补偿 */
  }

  /* Advantages Section */
  .advantages-layout {
    gap: 25px;
    margin-top: 30px;
  }

  .advantages-left,
  .advantages-right {
    gap: 25px;
  }

  .advantages-center {
    height: 280px;
  }

  .advantage-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .advantage-item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 18px;
    margin: 0 auto;
  }

  .advantage-item__content h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .advantage-item__content p {
    font-size: 12px;
  }

  /* Product Section */
  .product-tabs {
    flex-direction: column;
    gap: 0;
    margin: 25px 0;
  }

  .product-tab {
    width: 100%;
    padding: 12px 20px;
    font-size: 13px;
    border-right: 1px solid #e0e0e0;
  }

  .product-tab:not(:last-of-type) {
    border-bottom: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
  }

  .product-item__image {
    height: 200px;
  }

  .product-item-title {
    padding: 15px 10px 12px;
    font-size: 14px;
  }

  .view-all-products {
    margin-top: 30px;
  }

  .btn-view-all {
    padding: 11px 30px;
    font-size: 13px;
  }

  /* Cases Section */
  .cases-swiper-wrapper {
    margin-top: 30px;
  }

  .cases-swiper {
    padding: 10px 0 50px;
  }

  .case-card-image {
    height: 200px;
  }

  .case-card-title {
    padding: 18px 12px;
    font-size: 15px;
    min-height: 85px;
  }

  .cases-navigation {
    right: 50%;
    transform: translateX(50%);
    gap: 10px;
  }

  .cases-button-prev,
  .cases-button-next {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  /* Solutions Section */
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .solution-grid-card {
    height: 220px;
  }

  .solution-grid-card::after {
    top: 15px;
    right: 15px;
    font-size: 18px;
  }

  .solution-grid-card__content {
    padding: 20px 15px;
  }

  .solution-grid-card__title {
    font-size: 16px;
  }

  .solution-grid-card__desc {
    font-size: 13px;
  }

  /* Certifications Section */
  .certifications-grid {
    /*grid-template-columns: 1fr;*/
    gap: 15px;
    margin-top: 30px;
  }

  .certificate-card__image {
    height: 280px;
    padding: 15px;
  }

  /* News Section */
  .news-layout {
    gap: 25px;
  }

  .news-featured {
    gap: 15px;
  }

  .news-card-large__image {
    height: 200px;
  }

  .news-card-large__category {
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    font-size: 11px;
  }

  .news-card-large-content {
    padding: 18px 15px;
  }

  .news-card-large-content h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .news-card-large-content p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .news-card-large-meta {
    font-size: 12px;
  }

  .news-list {
    gap: 15px;
  }

  .news-list-item {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
  }

  .news-list-item__number {
    font-size: 22px;
    min-width: auto;
  }

  .news-list-item-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .news-list-item-content p {
    font-size: 11px;
    line-height: 1.5;
  }

  .news-list-item__date {
    font-size: 11px;
  }

  /* CTA Section */
  .cta-content {
    padding: 15px 0;
  }

  .cta-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .cta-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .cta-btn {
    width: 100%;
    padding: 11px 20px;
    font-size: 14px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 30px;
  }
}

/* ==================== Section Subtitle 通用副标题 ==================== */
.section-subtitle {
  font-size: 16px;
  margin-top: 12px;
  margin-bottom: 40px;
}
