/* 自定义样式 */
.hero-gradient{background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(5, 150, 105, 0.8) 100%);}
.product-card:hover{transform: translateY(-10px);box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);}
.case-card:hover{transform: translateY(-5px);}
.testimonial-card:hover{box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);}
.news-card:hover{transform: translateY(-5px);}
.nav-link::after{content: '';position: absolute;bottom: -5px;left: 0;width: 0;height: 2px;background-color: #10B981;transition: width 0.3s ease;}
.nav-link:hover::after{width: 100%;}
.active-nav::after{width: 100%;}
/* 平滑滚动 */
html{scroll-behavior: smooth;}
/* 加载动画 */
.loader{border: 4px solid rgba(255, 255, 255, 0.3);border-radius: 50%;border-top: 4px solid #10B981;width: 40px;height: 40px;animation: spin 1s linear infinite;}
@keyframes spin{0%{transform: rotate(0deg);}100%{transform: rotate(360deg);}}
/* 修复移动端空白问题 */
*{box-sizing: border-box;}
html,body{overflow-x: hidden;width: 100%;margin: 0;padding: 0;}
.container{max-width: 100%;}
/* 案例轮播样式 */
.case-carousel{overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: none;}
.case-carousel::-webkit-scrollbar{display: none;}
.case-track{display: inline-flex;animation: scroll 30s linear infinite;}
@keyframes scroll{0%{transform: translateX(0);}100%{transform: translateX(-50%);}}
.case-track:hover{animation-play-state: paused;}
/* 新轮播样式 */
/* 导航栏默认状态 */
#main-header{background-color: rgba(0, 0, 0, 0.3);backdrop-filter: blur(8px);}
/* 导航栏滚动效果 */
#main-header.scrolled{background-color: rgba(255, 255, 255, 0.95);backdrop-filter: blur(10px);box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);}
#main-header.scrolled .nav-link{color: #1F2937 !important;}
#main-header.scrolled .nav-link.active-nav{color: #10B981 !important;}
#main-header.scrolled .nav-link:hover{color: #10B981 !important;}
#main-header.scrolled .text-white{color: #1F2937 !important;}
#main-header.scrolled .bg-white.text-primary{background-color: #10B981 !important;color: white !important;}
/* 全屏轮播图样式 */
.fullscreen-slider{position: relative;width: 100%;aspect-ratio: 21/11;min-height: 380px;overflow: hidden;}
.new-carousel{position: relative;width: 100%;height: 100%;overflow: hidden;}
.new-slide{position: absolute;top: 0;left: 0;width: 100%;height: 100%;transform: translateX(100%);transition: transform 0.6s ease;z-index: 1;}
.new-slide.active{transform: translateX(0);z-index: 10;}
.new-slide.slide-left{transform: translateX(-100%);z-index: 1;}
.new-slide.slide-right{transform: translateX(100%);z-index: 1;}
.slide-content{display: none;position: absolute;bottom: 40%;left: 10%;right: 5%;z-index: 20;color: white;}
.slide-content .company-name{font-size: 1.25rem;font-weight: 500;margin-bottom: 0.5rem;opacity: 0.9;}
.slide-content .product-title{font-size: 3rem;font-weight: bold;margin-bottom: 1rem;line-height: 1.2;}
.slide-content .product-desc{font-size: 1.125rem;line-height: 1.6;max-width: 600px;opacity: 0.95;}
.carousel-prev,.carousel-next{width: 50px;height: 50px;background-color: rgba(255, 255, 255, 0.2);border-radius: 50%;display: flex;align-items: center;justify-content: center;color: white;transition: all 0.3s ease;border: none;cursor: pointer;}
.carousel-prev:hover,.carousel-next:hover{background-color: rgba(255, 255, 255, 0.4);}
.dot{width: 12px;height: 12px;background-color: rgba(255, 255, 255, 0.5);border-radius: 50%;transition: all 0.3s ease;border: none;cursor: pointer;}
.dot.active-dot{width: 30px;border-radius: 6px;background-color: white;}
/* 移动端适配 */
@media (max-width: 768px){.slide-content{bottom: 8%;left: 5%;right: 5%;}.slide-content .company-name{font-size: 1rem;}.slide-content .product-title{font-size: 1.75rem;}.slide-content .product-desc{font-size: 0.9rem;max-width: 100%;}.carousel-prev,.carousel-next{width: 40px;height: 40px;}}
@media (max-width: 480px){.slide-content .product-title{font-size: 1.5rem;}}
/* 响应式调整 */
@media (max-width: 768px){.desktop-menu{display: none;}.mobile-menu{display: block;}}
@media (min-width: 769px){.desktop-menu{display: flex;}.mobile-menu{display: none;}}

/* 面包屑导航样式 */
.weizhi{display: flex;align-items: center;justify-content: flex-end;font-size: 0.75rem;color: #9CA3AF;}
.weizhi a{color: #9CA3AF;transition: color 0.3s ease;margin: 0 0.5rem;}
.weizhi a:hover{color: #10B981;}







/* 首页 */
.hero-gradient {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(5, 150, 105, 0.8) 100%);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.case-card:hover {
    transform: translateY(-5px);
}
.testimonial-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.news-card:hover {
    transform: translateY(-5px);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #10B981;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
.active-nav::after {
    width: 100%;
}
/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
/* Loading animation */
.loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #10B981;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fix mobile whitespace issue */
* {
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 100%;
}
/* Case carousel styles */
.case-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.case-carousel::-webkit-scrollbar {
    display: none;
}
.case-track {
    display: inline-flex;
    animation: scroll 30s linear infinite;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.case-track:hover {
    animation-play-state: paused;
}
/* New Carousel styles */
.new-slide {
    transition: transform 0.8s ease-in-out;
    transform: translateX(100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.new-slide.hidden {
    transform: translateX(100%);
    z-index: 0;
}
.new-slide.active {
    transform: translateX(0);
    z-index: 10;
}
.new-slide.prev {
    transform: translateX(-100%);
    z-index: 5;
}
.new-slide.next {
    transform: translateX(100%);
    z-index: 5;
}
.new-dot {
    transition: all 0.3s ease;
}
.new-dot.active {
    background-color: white;
    transform: scale(1.2);
}


/* 轮播图样式 */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

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

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

/* 响应式调整 */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
}

@media (min-width: 769px) {
    .desktop-menu {
        display: flex;
    }
    
    .mobile-menu {
        display: none;
    }
}





/* 产品中心s */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #10B981;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
.active-nav::after {
    width: 100%;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}


.weizhi{}
.weizhi a{padding:0 5px;}
.weizhi a:hover{color:#10b981;}



/*地图*/
.map-container {min-height: 550px;height: 100%;}


/*产品详情*/
.article-content p{line-height:1.8em;}
.article-content img{max-width:100%;height:auto;display:block;margin:1rem auto;border-radius:0.5rem;box-shadow:0 10px 25px -10px rgba(0,0,0,0.15)}
.article-content figure{margin:1rem 0;text-align:center}
.article-content figcaption{font-size:.875rem;color:#6b7280;margin-top:.5rem}
.article-content table{width:100%;border-collapse:collapse;margin:1rem 0;border:1px solid #e5e7eb;border-radius:.5rem;}
.article-content thead th{background:#f9fafb;font-weight:600}
.article-content th,.article-content td{padding:.75rem 1rem;border:1px solid #e5e7eb}
.article-content tbody tr:nth-child(even){background:#fafafa}
.article-content blockquote{border-left:4px solid #1a365d;background:#f8fafc;padding:1rem 1.25rem;margin:1rem 0;color:#374151;border-radius:.25rem}
.article-content hr{border:0;border-top:1px solid #e5e7eb;margin:1.5rem 0}
.news-sidebar{position:sticky;top:100px}
.article-content h1{
  font-size:1.75rem;
  line-height:1.3;
  font-weight:700;
  color:#1a365d;
  margin-bottom:1rem;
  letter-spacing:.5px
}
.article-content h1::after{
  content:"";
  display:block;
  width:72px;
  height:4px;
  background:linear-gradient(90deg,#f97316,#fb923c);
  border-radius:999px;
  margin-top:.5rem
}
.article-content h2{
  font-size:1.2rem;
  line-height:1.4;
  font-weight:700;
  color:#1a365d;
  margin:1.25rem 0 .75rem;
  position:relative;
  padding-left:1.25rem
}
.article-content h2::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:0.4em;
  height:0.4em;
  background:linear-gradient(135deg,#f97316,#fb923c);
  border-radius:50%;
  box-shadow:0 2px 6px rgba(0,0,0,0.12)
}
@media(min-width:768px){
  .article-content h1{font-size:2.5rem}
  .article-content h2{font-size:1.45rem}
}


  
/* 所有分样式 */
.pagination li{
    list-style:none;
}
.pagination li a{
    display:inline-block;
    padding:0.5rem 1rem;
    background:#ffffff;
    border:1px solid #d1d5db; 
    color:#374151;
    transition:all .2s;
}
.pagination li a:hover{
    background:#f9fafb;
}
.pagination li.active a{
    background:#10b981;
    border-color:#3dd3a2;
    color:#ffffff;
}
.pagination li:first-child a{
    border-radius:0.375rem 0 0 0.375rem;
}
.pagination li:last-child a{
    border-radius:0 0.375rem 0.375rem 0;
}
/* @所有分样式 */