


/* 幻灯片样式 */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease, transform 1s ease;
    z-index: 1;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero {
    padding: 0;
   /* margin-top: 70px; */
    height: 600px;
    position: relative;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 幻灯片导航 */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    margin: 0 15px;
    transition: background 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* 幻灯片动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为每个幻灯片添加暗色叠加层，使文字更清晰 */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.slide .container {
    position: relative;
    z-index: 2;
}
/* 产品区域 */
.products {
    background-color: var(--white);
}

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

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 2,1fr;
    }
    .hero {
        height: 400px;
    }
    .slider-nav {
        display: none;

    }
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

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


.product-card h3, .product-card p {
    padding: 0 20px;
}

.product-card h3 {
    margin-top: 20px;
    color: #000;
}

.product-card p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.product-card a {
    display: inline-block;
    margin-bottom: 20px;
}
@media (max-width: 576px) {
    .product-card img {
    width: 100%;
    height: 110px;
    object-fit: scale-down;
    }
    .product-card h3 {
        margin-top: 10px;
    }
    .product-card h3, .product-card p, .product-card a {
        padding: 0 15px;
    }
}
/* 使命板块样式 */
.mission {
    padding: 100px 0;
    background-color: #000000;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 1;
    z-index: 1;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.2;
    z-index: 0;
    background-color: #000;
}

.mission-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission h2 {
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
}

.mission-divider {
    width: 80px;
    height: 3px;
    background-color: #4a90e2;
    margin: 0 auto 30px;
}

.mission p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 30px;
}

.mission .btn {
    margin-top: 20px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.mission .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .mission::before {
        background-attachment: scroll; /* 在移动设备上使用滚动背景 */
    }
    .mission {
        padding: 70px 0;
    }
    
    
    .mission p {
        font-size: 1rem;
    }
}
/* By the Numbers */
.by-the-numbers {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
    overflow: hidden;
  }
  .numbers-scroller {
    width: 100%;
    overflow: hidden;
  }
  .numbers-grid {
    display: flex;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
  }
  .number-item {
    flex: 0 0 auto;
    min-width: 150px;
    margin-right: 40px;
    text-align: center;
  }
  .number-item i {
    font-size: 30px;
    color: #0056d2;
    margin-bottom: 10px;
    display: block;
  }
  .number {
    font-size: 48px;
    font-weight: bold;
    color: #0056d2;
    display: block;
  }
  .number-item p {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
  }
  .cta-link {
    display: block;
    margin-top: 10px;
    color: #0056d2;
    text-decoration: none;
    font-size: 14px;
  }
  .cta-link:hover {
    text-decoration: underline;
  }
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* Why Choose Us */
  .why-us{
    background: linear-gradient(180deg, #c0cae1, #eceff6);
    color: #1c2a4d;
  }
  .why-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1d2a4d;
}

.why-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #ddd;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.why-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.why-feature {

    border-radius: 12px;
    padding: 25px 14px 20px 14px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.why-feature:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

.why-feature-icon {
    font-size: 2.5rem;

    margin-bottom: 18px;
}

.why-feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;

}

.why-feature p {

    font-size: 1rem;
    line-height: 1.7;
}

.customer-feedback {
  padding: 80px 0;
  background: #f9f9f9;
  text-align: center;
}
.feedback-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.feedback-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 350px;
  padding: 32px 20px 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feedback-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  transform: translateY(-4px) scale(1.03);
}
.feedback-avatar img {
    width: 140px;
    height: 130px;
    object-fit: cover;
    /* border-radius: 50%; */
    margin-bottom: 18px;
    /* border: 1px solid #e0e7ff; */
}

.feedback-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.feedback-content {
  margin-bottom: 18px;
}
.feedback-quote {
  font-size: 1.08rem;
  color: #333;
  margin-bottom: 12px;
  font-style: italic;
  line-height: 1.7;
}
.client-name {
  font-size: 0.98rem;
  color: #4a90e2;
  font-weight: 600;
}
.feedback-project img {
  width: 100%;
  max-width: 220px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
@media (max-width: 1100px) {
  .feedback-grid {
    gap: 18px;
  }
  .feedback-card {
    width: 90vw;
    max-width: 340px;
  }
}
@media (max-width: 700px) {
  .feedback-grid {
    flex-direction: column;
    align-items: center;
  }
}



  /* 分隔线 */
  .separator {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 0 auto;
    width: 80%;
  }
/* 为什么选择我们 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 项目案例 */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.project-item:hover .project-overlay {
    transform: translateY(0);
}


.sustainability-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 博客文章 */
/* 最新动态板块美化 */
.latest-updates-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.latest-updates-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: #222;
}

.latest-updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 0 auto;
}

.latest-updates-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.latest-updates-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

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

.latest-updates-card-content {
    padding: 28px 22px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.latest-updates-card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}

.latest-updates-card-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.latest-updates-card-content button {
    background: none;
    border: none;
    color: #4a90e2;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.latest-updates-card-content button:hover {
    color: #2366a8;
}

.latest-updates-card-content i {
    margin-left: 6px;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .latest-updates-section {
        padding: 50px 0;
    }
    .latest-updates-title {
        font-size: 1.6rem;
    }
    .latest-updates-card img {
        height: 150px;
    }
    .latest-updates-card-content {
        padding: 18px 8px 12px 8px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    

    
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    

    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .product-grid, .stats-grid, .features-grid, .project-grid, .sustainability-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 40px;
    }
}
/* 合作伙伴Logo展示板块美化 */
.partners-section {
    background: #f8f9fa;
    padding: 70px 0 60px 0;
}

.partners-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 44px;
    color: #222;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    max-width: 1500px;
    margin: 0 auto;
}

.partner-logo-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.partner-logo-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    transform: translateY(-4px) scale(1.03);
}

.partner-logo-card img {
    max-width: 70%;
    object-fit: contain;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .partners-section {
        padding: 40px 0 30px 0;
    }
    .partners-title {
        font-size: 1.4rem;
        margin-bottom: 24px;
    }
    .partners-grid {
        gap: 16px;
    }
    .partner-logo-card {
        height: 70px;
        padding: 8px;
    }
    .partner-logo-card img {
        max-height: 32px;
    }
}