/* 首页 */
.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;
}
/* @所有分样式 */