.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') no-repeat center/cover;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto;
}



@media (max-width: 768px) {

.hero { height: 400px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.1rem; }
  .reach-out .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
}
.product-list{
	background: #FFFFFF;
	padding-top: 30px;
	padding-bottom: 30px;
}
.product-list h1 {
      text-align: center;
      font-size: 2rem;
      margin: 20px 0;
      color: #1a365d;
    }

    .product-list .description {
      font-size:1rem;
      color: #555;
      margin-bottom: 30px;
      line-height: 1.5;
    }

    /* 轮播容器 */
    .product-list .swiper-wrapper {
        align-items: center;
    }
    .product-list .swiper {
      width: 100%;
      padding: 20px 0;
      overflow: hidden;
    }

    .product-list .swiper-slide {
      display: flex;
      justify-content: center;
      transition: transform 0.3s ease;
    }

    .product-list .product-card {
      width: 500px;
      height: 300px;
      border-radius: 5px;
      overflow: hidden;
      background: white;
      border: 1px solid #e0e0e0;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      position: relative;
    }

    .product-list .product-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .product-list .product-title {
      font-weight: bold;
      font-size: 1rem;
      text-align: center;
      margin: 8px 0 4px;
      color: #1a365d;
      padding: 0 6px;
    }

    .product-list .product-desc {
      font-size: 0.75rem;
      color: #666;
      text-align: center;
      padding: 0 6px;
    }

    /* 悬停效果（PC） */
    .product-list .product-card:hover {
      border: none;
      box-shadow: 0 6px 16px rgba(0,0,0,0.2);
      z-index: 10;
    }

    /* ===== 移动端：中间突出 ===== */
    @media (max-width: 767px) {
      .product-list .product-card {
        width: 300px;
        height: 230px;
        opacity: 0.5;
      }
      .product-list .product-card img {
        height: 150px;
      }
      .product-list .swiper-slide.swiper-slide-active .product-card {
        width: 400px;
        height: 300px;
        opacity: 1;
      }
    }

    /* ===== PC 端 ===== */
    @media (min-width: 768px) {
      .product-list .product-card {
        opacity: 0.5;
      }
      .product-list .swiper-slide.swiper-slide-active .product-card {
        width: 600px;
        height: 400px;
        opacity: 1;
      }
      
    }

    /* 按钮：仅 PC 显示 */
    .product-list .carousel-buttons {
      display: none;
    }

    @media (min-width: 768px) {
      .product-list .carousel-buttons {
        display: flex;
        gap: 20px;
        justify-content: right;
        margin-top: 20px;
      }
      .product-list .carousel-button {
        width: 40px;
        height: 40px;
        border-radius: 10%;
        border: 1px solid #e74c3c;
        color: #e74c3c;
        font-weight: 600;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      }
      .product-list .carousel-button:hover {
        background: #c0392b;
        color: #FFFFFF;
      }
    }

    .product-type {
      padding-top:30px;
      padding-bottom:30px;
    }

    .product-type h2 {
      font-size: 1.8rem;
      margin-bottom: 15px;
      color: #1a365d;
      font-weight: 600;
    }

    .product-type .description {
      font-size: 0.95rem;
      color: #555;
      margin-bottom: 30px;
      line-height: 1.5;
    }

    /* 产品卡片容器 */
    .product-type .products-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-bottom: 40px;
    }

    /* 移动端：改为两列 */
    @media (max-width: 767px) {
      .product-type .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }
    }

    /* 卡片样式 */
    .product-type .product-card {
      background: white;
      border: 1px solid #e0e0e0;
      border-radius: 5px;
      overflow: hidden;
      transition: all 0.3s ease;
      text-align: center;
      padding-bottom:10px;
    }

    .product-type .product-card:hover {
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transform: translateY(-2px);
    }

    .product-type .product-img {
      width: 100%;
      height: 160px;
      object-fit: cover;
      display: block;
    }

    .product-type .product-title {
      font-weight: 600;
      font-size: 1rem;
      margin: 15px 0 8px;
      color: #1a365d;
      padding: 0 10px;
    }

    .product-type .product-desc {
       font-size: 0.85rem;
	    color: #666;
	    padding: 0 10px;
	    text-align: left;
	    line-height: 1.4;           /* 关键：固定行高 */
	    display: -webkit-box;
	    -webkit-line-clamp: 4;      /* 限制 4 行 */
	    -webkit-box-orient: vertical;
	    overflow: hidden;
	    text-overflow: ellipsis;
    }

    /* 响应式调整 */
    @media (max-width: 480px) {
      
      .product-type .product-title {
        font-size: 0.9rem;
      }
      .product-type .product-desc {
        font-size: 0.8rem;
      }
    }

    .newslist{
      padding-top:30px;
      padding-bottom:30px;
      background: #FFFFFF;
    }

    .newslist h2 {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 30px;
      color: #1a365d;
    }

    .newslist .carousel-wrapper {
      position: relative;
      overflow: visible;
      padding-bottom: 60px;
    }

    /* Swiper slide 由 Swiper 自动控制宽度 */
    .newslist .swiper-slide {
      display: flex;
      justify-content: center;
      /* spaceBetween 由 JS 控制，这里不设 margin */
    }

    /* 卡片宽度 = 100% of slide → 百分比效果 */
    .newslist .news-card {
      width: 100%;
      height: 320px;
      background: white;
      border-radius: 5px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
    }

    .newslist .news-card:hover {
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
      transform: translateY(-3px);
    }

    .newslist .news-img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }

    .newslist .news-title {
      font-weight: 600;
      font-size: 1rem;
      text-align: center;
      margin: 12px 0 8px;
      padding: 0 10px;
    }

    .newslist .news-desc {
      font-size: 0.85rem;
      color: #666;
      padding: 0 10px;
      text-align: center;
      line-height: 1.4;
      flex: 1;
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* 按钮：右下角 */
    .newslist .carousel-nav-buttons {
      position: absolute;
      bottom: 0px;
      right: 20px;
      display: flex;
      gap: 8px;
      z-index: 10;
    }

    .newslist .nav-btn {
      width: 40px;
      height: 40px;
      border-radius: 5px;
      border: 1px solid #e74c3c;
      color: #e74c3c;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-weight: bold;
      font-size: 16px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .newslist .nav-btn:hover {
      background: #c0392b;
      color: #FFFFFF;
    }

    /* 移动端：隐藏按钮 */
    @media (max-width: 767px) {
      .newslist .carousel-nav-buttons {
        display: none !important;
      }
      .newslist .news-card {
        height: 300px;
      }
      .newslist .news-img {
        height: 160px;
      }
    }

    .aboutus .module {
      display: flex;
      gap: 30px;
      margin-bottom: 60px;
      padding: 40px 0;
      border-bottom: 1px solid #e0e0e0;
    }


    .aboutus .module-text {
      flex: 1;
    }

    .aboutus .module-title {
      font-size: 1.8rem;
      font-weight: 600;
      color: #1a365d;
      margin-bottom: 15px;
    }

    .aboutus .module-desc {
      font-size: 0.95rem;
      color: #555;
      margin-bottom: 20px;
    }

    .aboutus .btn-primary {
      background-color: #d32f2f;
      color: white;
      padding: 10px 24px;
      border-radius: 4px;
      font-size: 0.9rem;
      text-decoration: none;
      display: inline-block;
      transition: background-color 0.2s;
    }

    .aboutus .btn-primary:hover {
      background-color: #b71c1c;
      color: white;
    }

    .aboutus .module-img {
      width: 300px;
      height: 200px;
      object-fit: cover;
      border-radius: 8px;
      flex-shrink: 0;
    }

    /* === Mobile: Vertical Stack (Title → Desc → Button → Image) === */
    @media (max-width: 767px) {
      .aboutus .module {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
      }

      .aboutus .module-text,
      .aboutus .module-img {
        width: 100%;
      }

      /* 图片始终在最后 */
      .aboutus .module-img {
        order: 2;
      }

      .aboutus .module-title {
        font-size: 1.5rem;
      }

      .aboutus .module-desc {
        font-size: 0.9rem;
      }
    }