a {
            color: #62a8ea;
            text-decoration: none;
}
ul {
          list-style: none;
          padding-left: 0; /* 可选 */
}
ul li a {
            color: #848484;
            text-decoration: none;
}
body {
            background-color: #ffffff;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    
}
 

      
.nav-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

nav ul {
            display: flex;
            list-style: none;
}
        
nav ul li {
            position: relative;
            margin-left: 30px;
}
        
nav ul li a {
            font-size:12pt;
            text-decoration: none;
            color: #333;
            font-weight: 500;
            padding: 5px 10px;
            transition: all 0.3s ease;
}
        
nav ul li a:hover {
    
            color: #e74c3c;
 }
nav ul li:hover .submenu {
            opacity: 1;
            visibility: visible;
}       
.logo {
            font-size: 24px;
            font-weight: bold;
            color: #333;
}
        
.logo span {
            color: #e74c3c;
 }
 

.container {
            width: 80%;
            margin: 0 auto;
}

 /* Banner样式 */
 .banner {
    margin-top: 100px; /* 为固定导航栏留出空间 */
    width: 100%;
    height: 520px;
    position: relative;
    overflow: hidden;
 }
        
.banner-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
 }
        
.banner-slide.active {
      opacity: 1;
  }
  
  
  
.ellipsis-2-lines {
         display: -webkit-box;
         -webkit-box-orient: vertical;
         -webkit-line-clamp: 2;  /* 限制显示的行数 */
         overflow: hidden;
         text-overflow: ellipsis;
         line-height: 1.5;      /* 设置行高，确保计算正确 */
         max-height: 3em;        /* 可选：行高 × 行数，作为后备方案 */
}

        .gallery {
            display: flex;
            justify-content: center;
            gap: 50px;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }
        
        .gallery img {
            width: 300px;
            height: 200px;
            object-fit: cover;
            cursor: pointer;
            border: 3px solid #ddd;
            border-radius: 5px;
            transition: transform 0.3s;
        }
        
        .gallery img:hover {
            transform: scale(1.05);
            border-color: #4CAF50;
        }
        
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
        }
        
        .modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            max-width: 1200px;
        }
        
        .close {
            position: absolute;
            top: 15px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
        }
        
        video {
            width: 100%;
            outline: none;
        }
        
        .carousel-container {
          width: 100%;
          overflow: hidden;
          position: relative;
        }
        
        .carousel {
          display: flex;
          transition: transform 0.5s ease;
          align-items: center;
        }
        
        .carousel-item {
          flex: 0 0 calc(100% / 3);
          box-sizing: border-box;
          transition: all 0.5s ease;
        }
        
        .carousel-item img {
          width: 100%;
          height: auto;
          border-radius: 8px;
          transition: transform 0.5s ease;
        }
        
      
        
    .carousel-item.active {
            flex: 0 0 40%;
        }
        
    .carousel-item.active img {
            transform: scale(1.3);
        }
        
   .carousel-nav {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }
        
    .carousel-nav button {
            background: #333;
            color: white;
            border: none;
            padding: 8px 16px;
            margin: 0 5px;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.3s;
        }
        
   .carousel-nav button:hover {
            background: #555;
        }
        
   .carousel-dots {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }
        
  .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ccc;
            margin: 0 5px;
            cursor: pointer;
            transition: background 0.3s;
        }
        
  .carousel-dot.active {
            background: #333;
        }


     
        
 /* 内容区域样式 */
        .content {
            padding: 40px 0;
            background-color: #fff;
            margin-bottom: 30px;
            border-radius: 5px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        .content h2 {
            text-align: center;
            margin-bottom: 30px;
            color: #333;
        }
        
        .content p {
            line-height: 1.8;
            color: #666;
            padding: 0 20px;
        }
     
       .slider-container {
            position: relative;
            width: 80%;
            height: 400px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .slider {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }
        
        .slide {
            position: absolute;
            width: 25%;
            height: 80%;
            transition: all 0.5s ease;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .slide.prev {
            left: 15%;
            transform: translateX(-50%) scale(1);
            z-index: 1;
        }
        
    .slide.active {
            left: 50%;
            transform: translateX(-50%) scale(1.3);
            z-index: 2;
        }
        
    .slide.next {
            left: 85%;
            transform: translateX(-50%) scale(1);
            z-index: 1;
        }
              
    .btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 50%;
            border: none;
            font-size: 20px;
            cursor: pointer;
            z-index: 3;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        
    .btn:hover {
            background: rgba(255, 255, 255, 0.9);
        }
        
    .btn-prev {
            left: 10px;
        }
        
    .btn-next {
            right: 10px;
        }
        
        /*new*/
        .news-container {
            max-width: 1200px;
            margin: 30px auto;
            padding: 0 15px;
        }
        
        .news-title {
            text-align: center;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .news-title h2 {
            font-size: 28px;
            color: #333;
            margin-bottom: 10px;
        }
        
        .news-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(to right, #3498db, #2ecc71);
        }
        
        .news-row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }
        
        .news-item {
            width: calc(50% - 30px);
            margin: 15px;
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .news-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .news-image {
            height: 200px;
            overflow: hidden;
        }
        
        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .news-item:hover .news-image img {
            transform: scale(1.1);
        }
        
        .news-content {
            padding: 20px;
        }
        
        .news-date {
            font-size: 14px;
            color: #7f8c8d;
            margin-bottom: 10px;
        }
        
        .news-content h3 {
            font-size: 20px;
            margin-bottom: 15px;
            color: #333;
            transition: color 0.3s ease;
        }
        
        .news-item:hover .news-content h3 {
            color: #3498db;
        }
        
        .news-excerpt {
            color: #666;
            line-height: 1.6;
            margin-bottom: 15px;
        }
.public-list {
  background-color: #fff;
  padding-bottom: 90px;
}
.public-list .main-wrap {
  width: 93.4%;
  margin: 0 auto;
  position: relative;
}
.public-list .top-nav {
  padding-top: 60px;
}
.public-list .top-nav h3 {
  font-size: 26px;
  line-height: 42px;
  color: #333;
}
.public-list .top-nav .s-nav {
  margin-top: 22px;
  height: 36px;
  font-size: 14px;
  line-height: 34px;
}
.public-list .top-nav .s-nav .stt {
  display: inline-block;
  margin-right: 35px;
}
.public-list .top-nav .s-nav li {
  margin-right: 50px;
  border-bottom: 2px solid #fff;
}
.public-list .top-nav .s-nav li a {
  display: inline-block;
  color: #666;
  padding: 0 9px;
}
.public-list .top-nav .s-nav li:hover a {
  color: #888;
}
.public-list .top-nav .s-nav li.hover {
  border-bottom: 2px solid #000;
}
.public-list .top-nav .s-nav li.hover a {
  color: #333;
}
.f-cb li {
  float: left;
}

.f-cb ul:after {
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow: hidden;
  content: ".";
}

.i-wrap li {
  float: left;
}

.i-wrap ul:after {
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow: hidden;
  content: ".";
}

 .products-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.product {
  width: 30%; /* 留出间隙空间 */
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

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

.product img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 15px;
}

.product-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.product-price {
  color: #e63946;
  font-weight: bold;
} 
