/* Main CSS Styles */
:root {
    --primary-red: rgba(155, 0, 18, 1);
    --dark-red: #cc0010;
    --white: #ffffff;
    --black: #000000;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --yellow: #F6C532;
    --transition: all 0.3s ease;
    --txt-dark: #330004;
    --txt-gray: #665C5D;
    --txt-dark-gray: #998A8B;
    --primary-pink: #FFA6AC;
    --btn-blue: #0B85E6;
    --btn-blue-hover: #0099FF;
    --primary-blue: #0B85E6;
    --txt-black: #001C33;
    --header-h: 130px; /* 定义header高度变量 */
}

/* 1440px-1920px 范围优化 */
@media (min-width: 1441px) and (max-width: 1920px) {
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px; /* 增加左右内边距，避免内容贴边 */
  }
  
  /* 确保banner和其他全宽元素正确显示 */
  .banner-section,
  .banner-swiper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  
  /* 防止flex布局在大屏幕下过度拉伸 */
  .advantage-grid,
  .product-grid {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  /* 确保flexbox布局不会过度拉伸 */
  .flex-container,
  .intro-content,
  .contact-content {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  /* 防止文字区域过度拉伸 */
  .section-title,
  .text-content,
  .description {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* 确保图片网格布局居中 */
  .image-grid,
  .gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
  }
  
  /* Banner文字区域在1400-1920px下的优化 */
  .container-banner-text {
    width: 695px !important;
    max-width: none !important;
    margin-top: 180px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
  }
  
  .container-banner-text .banner-title {
    width: 764px !important;
    max-width: none !important;
    font-size: 72px !important;
    line-height: 72px !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    word-wrap: normal !important;
    word-break: keep-all !important;
  }
  
  .container-banner-text .banner-subtitle {
    width: 663px !important;
    max-width: none !important;
    height: auto !important;
    min-height: 72px !important;
    font-size: 26px !important;
    line-height: 39px !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    word-wrap: normal !important;
    word-break: keep-all !important;
  }
  
  /* 确保banner内容在容器内正确对齐 */
  .slide-content {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    height: 100% !important;
  }
}

@media (min-width: 1921px) {
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc((100vw - 1400px) / 2);
  }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body { 
  /* 移除 scroll-behavior: smooth，避免滚动异常 */
  /* scroll-behavior: smooth; */
  overscroll-behavior-y: contain; 
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

body.has-fixed-header { 
  padding-top: 130px;       /* 等于 header 高度 */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 130px;
    background-color: rgba(11,133,230,0); 
    transition: transform .25s ease, background-color .25s ease;
    will-change: transform, background-color;
}

/* 统一的header-common样式 */
.header-common {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background-color: #0B85E6 !important;
    transform: translate3d(0,0,0);
    transition: transform .25s ease-out; /* 更快的动画，避免白色闪烁 */
    will-change: transform;
    backface-visibility: hidden;
    contain: layout paint;
    /* 确保在所有状态下都有蓝色背景 */
    background: #0B85E6 !important;
    /* 添加顶部边框，避免闪白 */
    border-top: 1px solid #0B85E6;
}


.header-common--hidden{
  transform: translate3d(0, calc(-100% - 1px), 0);
}

/* 首页专用header样式 - 恢复透明背景 */
.header-home {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background-color: transparent !important;  /* 强制透明 */
    transform: translate3d(0,0,0);
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), background-color .3s ease;
    will-change: transform, background-color;
    backface-visibility: hidden;
    contain: layout paint;
}

.header-home--hidden{
    transform: translate3d(0, calc(-100% - 1px), 0);
}

.header-home.header--solid {
    background-color: #0B85E6 !important;
}

.header-home.header--solid .header-top,
.header-home.header--solid .header-main {
    background-color: #0B85E6 !important;
}

.header-home .header-top,
.header-home .header-main {
    background-color: transparent !important;  /* 默认透明 */
}

.header-home.header--scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-common.header--scrolled{
      box-shadow: none;
  /* 保持背景色一致，只改变阴影 */
  background-color: #0B85E6 !important;
}

.header--hidden{
  transform: translateY(-100%);
}

.header--solid{
  background-color: #0B85E6;
      box-shadow: none;
}

.header-top {
    color: var(--white);
    font-size: 12px;
    height: 47px;
    background-color: #0B85E6 !important; /* 确保顶部区域也是蓝色 */
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-text span {
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 25px;
    text-align: left;
    opacity: 0.8;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon img {
    width: 32px;
    height: 32px;
    transition: var(--transition);
}

.contact-icons {
    display: flex;
    gap: 15px;
}

.contact-icon {
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.contact-icon:hover {
    color: var(--yellow);
}

.header-main {
    background-color: #0B85E6 !important; /* 确保主体区域也是蓝色 */
    padding-top: 12px;
    height: 88px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 18px;
}

.logo-img {
    height: 50px;
    width: 329px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 0;
    position: relative;
    font-family:'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 17px;
}

.nav-link:not(.active):hover {
    color: #FFD700;
}

.nav-link:not(.active):hover::after {
    width: 100%;
    background-color: #FFD700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: none;
}

/* Active state - white underline */
.nav-link.active {
    color: var(--white) !important;
}

.nav-link.active::after {
    width: 100% !important;
    background-color: var(--white) !important;
    opacity: 1 !important;
    visibility: visible !important;
}



/* Ensure hover effects work properly */
.nav-link:not(.active):hover {
    color: #FFD700;
}

.nav-link:not(.active):hover::after {
    background-color: #FFD700;
}

/* Header scroll effects */
.header-hidden {
    transform: translateY(-100%);
}

.header-fixed {
    position: fixed;
    box-shadow: none;
}


/*about img-section*/
.hidden-content {
    background: transparent;
    height: 130px  ;
}

.swiper-banner {
  /* 关键的三件套 */
  background-size: cover;          /* 等比放大直至铺满 */
  background-position: center;     /* 居中对齐 */
  background-repeat: no-repeat;
}


/* banner section */
.img-section {
    color: var(--white);
    position: relative;
    z-index: 1; /* 确保banner在正确的层级 */
    margin-top: 0; /* 初始状态下不留空 */
    padding-top: var(--header-h); /* 为固定header留出空间 */
    overflow: hidden;
}

.img-section img {
    width: 100%;
    height: 250px;
    object-fit: cover;  /* 保证图片填充并且保持比例 */
    display: block;  /* 去除图片底部间隙 */
    position: relative;
    z-index: 1;  /* 确保图片在正确的层级 */
}


/* Banner Section */
.banner-section {
    color: var(--white);
    position: relative;
}

.banner-swiper {
    width: 100%;
    height: 80vh; /* 使用视口高度，更灵活 */
    min-height: 500px; /* 最小高度 */
    max-height: 800px; /* 最大高度 */
}

.banner-swiper .swiper-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* 大屏幕正常显示 */

/* 移除遮罩层 */

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左对齐 */
}

/* 按钮正常显示 */

.container-banner {
    width: 233px;
    height: 52px;
    margin-top: 50px;
    border-radius: 26px;
/*    margin-bottom: -200px;*/
    margin-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-radius: 26px;
    border: 2px solid #FFFFFF;
}

/* 让容器变黄、边框跟着变色 */
.container-banner:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

/* 让文字变黑 */
.container-banner:hover .header-learn-more {
  color: #000;
}

/* 箭头换成黑色图 */
.container-banner:hover .learn-more-img .icon-default { opacity: 0; }
.container-banner:hover .learn-more-img .icon-hover   { opacity: 1; }

.container-banner-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 695px;
    margin-top: 150px;
}

.container-banner-text .banner-title{
    width: 764px;
    color: var(--white);
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 72px;
    line-height: 72px;
    text-align: left;
}

.container-banner-text .banner-subtitle {
    width: 663px;
    height: 72px;
    padding-top: 30px;
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 26px;
    color: #FFFFFF;
    line-height: 39px;
    text-align: left;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .banner-swiper .swiper-slide {
        background-size: cover;
        background-position: center center;
    }
    
    /* 1200px以下banner文字优化 */
    .container-banner-text {
        width: 100% !important;
        max-width: 600px !important;
        margin-top: 150px !important;
    }
    
    .container-banner-text .banner-title {
        width: 100% !important;
        max-width: 600px !important;
        font-size: 60px !important;
        line-height: 60px !important;
    }
    
    .container-banner-text .banner-subtitle {
        width: 100% !important;
        max-width: 550px !important;
        font-size: 22px !important;
        line-height: 33px !important;
    }
}

@media (max-width: 768px) {
    .banner-swiper {
        height: 400px; /* 移动端降低高度 */
    }
    
    .banner-swiper .swiper-slide {
        background-size: cover;
        background-position: center center;
    }
    
    /* 768px以下banner文字优化 */
    .container-banner-text {
        width: 100% !important;
        max-width: 500px !important;
        margin-top: 120px !important;
        padding: 0 20px !important;
    }
    
    .container-banner-text .banner-title {
        width: 100% !important;
        max-width: 500px !important;
        font-size: 48px !important;
        line-height: 48px !important;
    }
    
    .container-banner-text .banner-subtitle {
        width: 100% !important;
        max-width: 450px !important;
        font-size: 18px !important;
        line-height: 27px !important;
        height: auto !important;
        min-height: 54px !important;
    }
    
    .container-banner {
        width: 200px; /* 移动端减小按钮宽度 */
        height: 45px;
        margin-bottom: -200px; /* 调整垂直位置 */
    }
    
    .header-learn-more {
        font-size: 16px; /* 移动端减小字体 */
    }
}

@media (max-width: 480px) {
    .banner-swiper {
        height: 300px;
    }
    
    .banner-swiper .swiper-slide {
        background-size: cover;
        background-position: center center;
    }
    
    /* 480px以下banner文字优化 */
    .container-banner-text {
        width: 100% !important;
        max-width: 400px !important;
        margin-top: 80px !important;
        padding: 0 15px !important;
    }
    
    .container-banner-text .banner-title {
        width: 100% !important;
        max-width: 400px !important;
        font-size: 36px !important;
        line-height: 36px !important;
    }
    
    .container-banner-text .banner-subtitle {
        width: 100% !important;
        max-width: 350px !important;
        font-size: 16px !important;
        line-height: 24px !important;
        height: auto !important;
        min-height: 48px !important;
    }
    
    .container-banner {
        width: 180px;
        height: 40px;
        margin-bottom: -150px;
    }
    
    .header-learn-more {
        font-size: 14px;
    }
}

.header-learn-more {
    font-family:'Poppins', sans-serif;
    font-weight:500;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.learn-more-img { margin-left:11px; position:relative; width:15.41px; height:15.32px; display:inline-block; }
.learn-more-img img{ position:absolute; inset:0; width:100%; height:100%; display:block; transition: opacity .15s ease; }
.learn-more-img .icon-hover{ opacity:0; }
.learn-more-img .icon-default{ opacity:1; }


/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: Poppins, Poppins;
    font-weight: bold;
    font-size: 44px;
    color: #001C33;
    line-height: 65px;
    text-align: center;
    font-style: normal;
    text-transform: uppercase;
    z-index: 2;
}

/*.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 15px;
    background-color: #A6D7FF;
    z-index: 1;
}*/

.section-title .subtitle {
    font-size: 18px;
    color: var(--dark-gray);
    font-weight: 500;
    margin-top: 10px;
}

.section-title p:not(.subtitle) {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 18px;
    color: #5C6266;
    line-height: 27px;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 10px;
}

/* Product Center Section */
.product-center-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--light-gray);
}

.product-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    height: 770px;
}

.product-left {
    background-color: var(--white);
    border-radius: 20px;
    flex: 1;
    width: 760px;
    height: 770px;
}

.product-subtitle {
    margin: 22px 0;
    display: flex;
    justify-content: center;
}

.product-subtitle h3 {
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 30px;
    color: var(--txt-dark);
    text-align: left;
    margin: 0;
}

.product-grid-left {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 16px;
}

.product-grid-left .product-item {
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    height: 324px;
    width: 324px;
}

.product-grid-left .product-image {
    height: 324px;
    overflow: hidden;
    transition: transform .4s ease;
}

.product-grid-left .product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s ease;  /* 过渡要写在 img 上 */
  transform-origin: center center;
  will-change: transform;
}

/* 用父级的 :hover 触发，兼容有遮罩/链接包裹的情况 */
.product-grid-left .product-item:hover .product-image img {
  transform: scale(1.15);
}


.product-right {
    background-color: var(--light-gray);
    flex: 1;
}

.product-grid-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background-color: var(--light-gray);
}

.product-right .product-item {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    height: 375px;
    width: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.product-right .product-image {
    height: 315px;
    width: 315px;
    padding: 15px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transform: scale(1);
    opacity: 1;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-image img:hover {
    transform: scale(1.1);
}

.product-info {
    margin-bottom: 20px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-info p{
    font-family:'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
}

/* Advantage Section */
.advantage-section {
    padding: 100px 0;
    background-color: var(--white);
}

.advantage-section .section-title {
    margin-bottom: 10px;
}

.advantage-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.advantage-subtitle {
    text-align: center;
    max-width: 800px;
}


.advantage-subtitle p {
    ffont-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 18px;
    color: #5C6266;
    line-height: 1.6;
    margin: 0;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.advantage-item {
    text-align: center;
    background-color: var(--light-gray);
    border-radius: 15px;
    transition: none;
    height: 243px;
    width: 685px;
    display: flex;
}


.advantage-icon {
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon .advan-img1 {
    width: 80px;
    height: 70px;
}


.advantage-icon .advan-img2 {
    width: 71px;
    height: 80px;
}

.advantage-icon .advan-img3 {
    width: 80px;
    height: 79px;
}


.advantage-icon .advan-img4 {
    width: 79px;
    height: 80px;
}


.advantage-cont {
    display: flex;
    flex-direction: column;
    width: 465px;
    padding-top: 30px;
}

.advantage-cont h4 {
    ont-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 30px;
    color: var(--txt-dark);
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}

.advantage-cont p {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 16px;
    color: #5C6266;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.advantage-no {
    height: 90px;
    width: 90px;
    background: url(../img/advan-no.png);
    background-repeat: no-repeat;       /* 不平铺 */
      background-position: center;        /* 居中 */
      background-size: 100% 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 6px;
    font-size: 32px;
    color: var(--white);
}

/* Company Introduction Section */
.company-intro-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-image {
    flex: 1;
    padding-top: 10px;
    width: 686px;
    height: 512px;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transform: scale(1);
    opacity: 1;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.intro-text .intro-con1 {
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 30px;
    color: var(--txt-dark);
    margin-bottom: 20px;
    line-height: 38px;
}

.intro-text .intro-con2 {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 14px;
    color: #5C6266;
    margin-bottom: 20px;
    line-height: 24px;
}

.intro-text .intro-con3 {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 16px;
    color: var(--txt-dark);
    margin-bottom: 20px;
    line-height: 26px;
}

.read_more {
    background-color: var(--btn-blue);
    border-radius: 26px;
    width: 233px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top:27px;
}

.read_more:hover {
    background-color: var(--btn-blue-hover);
}

.learn-more {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 20px;
    color: var(--white);
    text-decoration: none;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-red);
}

.stat-label {
    font-size: 14px;
    color: var(--dark-gray);
}

/* Certificate Section */
.certificate-section {
    padding: 100px 0;
    background-color: var(--white);
}

.certificate-section .certificate-slider {
    position: relative;
}

.certificate-section .certificate-swiper {
    padding: 20px 20px;
}

.certificate-section .certificate-swiper .swiper-slide { 
  width: 264px;
  flex: 0 0 auto !important;
}

/* 让分页器始终清晰可见，并放到容器底部居中 */
.certificate-section .swiper-pagination {
  position: static;        /* 不绝对定位也行，更稳定 */
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.certificate-section .certificate-item {
    text-align: center;
    transition: var(--transition);
    width: 100%;
    height: 364px;
}

/*Product Feedback section*/
/* Certificate Section */
.product-certificate-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    background: url(../img/feedback-bg.png);
}


.product-certificate-section .section-title h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--white);
    position: relative;
}


.product-certificate-section .section-title p:not(.subtitle) {
    font-size: 16px;
    color: var(--txt-dark-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    margin-top: 10px;
}

.product-certificate-slider {
    position: relative;
}

.product-certificate-swiper {
    padding: 20px 0;
}


/* 用 spaceBetween 做间距，移除 slide 内边距 */
.product-certificate-swiper .swiper-slide {
  width: 447px;
  padding: 0;              /* ← 删除原来的 0 30px */
  box-sizing: border-box;
}

/* 让分页器始终清晰可见，并放到容器底部居中 */
.product-certificate-section .swiper-pagination {
  position: static;        /* 不绝对定位也行，更稳定 */
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.product-certificate-section .certificate-item {
    text-align: center;
    transition: none;
    width: 100%;
    height: 427px;
}


.certificate-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 20px;
    cursor: pointer;
}


.certificate-item span {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-red);
}

/* Contact Section */
.contact-section {
    padding-top: 100px;
    background-color: var(--light-gray);
}

.contact-section .section-title{
    margin-bottom: 30px;
}

.contact-content {
    display: flex;
    align-items: center;
}

.contact-left {
    padding: 30px 32px 0 0;
    width: 900px;
    padding-bottom: 100px;
}

.contact-form {
    border-radius: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative; 
    flex: 1;
    margin-bottom: 20px;
}


.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    padding-left: 22px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--btn-blue-hover);
    background-color: var(--white);
    box-shadow: none;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
    font-family: inherit;
}

/* 红色 * 叠在输入框里左侧 */
.form-group.required::before{
  content: "*";
  position: absolute;
  left: 10px;                 /* 与输入框左边距对齐 */
  top: 12px;                  /* 左上对齐，与输入框顶部内边距对齐 */
  transform: none;            /* 取消垂直居中 */
  color: #e53935;             /* 红色 */
  font-weight: 700;
  pointer-events: none;
  line-height: 1;             /* 避免字体行高造成偏差 */
}

/* placeholder 仍是灰色 */
.form-group input::placeholder,
.form-group textarea::placeholder{
  color: #b8b8b8;
}

/* 只有在“空且显示 placeholder”时才显示 * （可选）*/
.form-group:has(input:required:placeholder-shown)::before,
.form-group:has(textarea:required:placeholder-shown)::before{
  opacity: 1;
}
.form-group:has(input:required:not(:placeholder-shown))::before,
.form-group:has(textarea:required:not(:placeholder-shown))::before{
  opacity: 0;
}

/* textarea 的 * 也使用相同的左上对齐位置 */
.form-group.required:has(textarea)::before{
  top: 12px;          /* 与普通输入框保持一致 */
  transform: none;    /* 取消垂直居中 */
  line-height: 1;     /* 避免字体行高造成微偏差 */
}

.contact-right {
    width: 468px;
    height: 516px;
    display: flex;
    align-self: flex-end;
    justify-content: flex-start; 
}


.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    object-position: left bottom; /* 关键：贴左下 */
    display: block;               /* 去掉默认行内间隙 */
}

.contact-section .btn-primary {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 14px 18px;
    font-size: 18px; font-weight: 700;
    color: #fff; 
    background-color: var(--btn-blue);
    border-radius: 999px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.contact-section .btn-primary:hover{ 
  background-color: var(--btn-blue-hover);
}



/* Footer Styles */
.footer {
    background-color: var(--black);
    color: var(--white);
}

.footer-main {
    padding: 60px 0;
}

.footer-content {
    display: flex;
    align-items: left;
    gap: 50px;
}


.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-circle {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.company-info {
    padding-top: 20px;
}

.company-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.company-info p {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 20px;
    color: #8A9299;
    line-height: 28px;
}


.footer-col0 {
    width: 424px;
}


.footer-col1 {
    width: 229px;
}


.footer-col2 {
    width: 288px;
}

.footer-col3 {
    width: 242px;
}


.footer-col h3 {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 20px;
    color: #FFFFFF;
    line-height: 30px;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 16px;
    color: #ACB7BF;
    line-height: 32px;
    text-align: left;
    margin-bottom: 5px;
    line-height: 32px;
}

.footer-col ul li a {
    color: #ACB7BF;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--yellow);
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--primary-red);
}


.footer-line {
    width: 100%;
    height: 1px;
    background: #2F3134;
}


.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.copyright p {
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 14px;
    color: #5C6266;
    line-height: 21px;
    text-align: center;
}

/* Footer Social Icons */
.footer .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 27px;
}

.footer .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer .social-icon img {
    width: 32px;
    height: 32px;
    transition: var(--transition);
    /* filter: brightness(0) invert(1); 将图片转为白色 */
}


/* Floating Buttons */
/*.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.floating-btn {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: none;
}*/

.contact-btn {
    width: 56px;
    height: 56px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background: url(../img/inquiry.png);
}

.contact-btn:hover {
    width: 56px;
    height: 56px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background: url(../img/inquiry-hover.png);
}

.back-to-top-btn {
    background-color: var(--white);
    color: var(--primary-red);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top-btn:hover {
    background-color: var(--light-gray);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .intro-content,
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .product-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .product-left,
    .product-right {
        width: 100%;
    }
    
    .advantage-content {
        gap: 40px;
    }
    
    .advantage-subtitle {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .contact-left,
    .contact-right {
        width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .nav-menu ul {
        gap: 20px;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .advantage-item {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .floating-buttons {
        right: 20px;
        bottom: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
    
    .product-grid-left,
    .product-grid-right {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-subtitle h3 {
        text-align: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-image {
        height: 250px;
    }
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background-color: var(--txt-gray);
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background-color: var(--btn-blue);
    transform: none;
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white) !important;
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--btn-blue);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
}



/* --- Disable hover + image animations ONLY in OUR ADVANTAGE --- */
.advantage-section .advantage-item,
.advantage-section .advantage-icon,
.advantage-section .advantage-icon img {
  transition: none !important;        /* 关闭过渡 */
  animation: none !important;          /* 关闭任何动画 */
}

/* 覆盖 hover 效果（不位移、不投影、不变色、不放大） */
.advantage-section .advantage-item:hover {
  transform: none !important;
  box-shadow: none !important;
}
.advantage-section .advantage-item:hover .advantage-icon {
  background-color: transparent !important; /* 或者 inherit */
  transform: none !important;
}

/* 确保该模块里所有图片都是静态显示（无淡入、无缩放） */
.advantage-section img {
  opacity: 1 !important;
  transform: none !important;
}

/*about-page*/
.contact-us-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.contact-us-section .section-title {
    margin-bottom: 30px;
}


.about-page .img-section{ margin-top: 0 !important; }

.img-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.about-page .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.about-page .banner-overlay h2 {
    width: 394px;
    height: 101px;
    font-family: Poppins, Poppins;
    font-weight: bold;
    font-size: 72px;
    color: #FFFFFF;
    line-height: 108px;
    text-align: left;
    font-style: normal;
    margin-bottom: 5px;
}

.breadcrumb {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 27px;
    text-align: left;
    opacity: 0.8;
}

.breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    margin: 0 5px;
}

.breadcrumb span:first-child {
    margin-left: 0;
}

/* 动态占位符 - 透明，优化动画 */
/* about页面不再需要header-spacer */

/* header 收起时，占位=0，内容自然上移填充 */
.about-page.header-collapsed .header-spacer{
  height: 0;
}

.contact-us-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-us-subtitle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1020px;
} 

.contact-us-subtitle h3 {
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 30px;
    color: var(--btn-blue);
    line-height: 46px;
}

.contact-us-subtitle p {
    padding-top: 5px;
    font-family: Poppins, Poppins;
    font-weight: 400;
    font-size: 18px;
    color: #5C6266;
    text-align: center;
}

.contact-us-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
    gap: 28px;
}

.contact-us-item {
    background-color: var(--white);
    width: 448px;
    height: 258px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 20px;
}

.contact-us-icon {
    height: 80px;
    width: 80px;
    margin-bottom: 20px;
}

.contact-us-icon img{
    height: 100%;
    width: 100%;
}

.contact-us-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact-us-cont h4 {
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 30px;
    color: #001C33;
    line-height: 46px;
    text-align: center;
}

.contact-us-cont p {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 18px;
    margin-top: 10px;
    color: #5C6266;
    line-height: 27px;
    text-align: center;
}

.questions-section {
    padding: 100px;
    background-color: var(--white);
}


.questions-grid {
    display: flex;
    justify-content: left;
    flex-direction: column;
    gap: 20px;
}

.questions-item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    height: 137px;
    background: #F7F7F7;
    border-radius: 20px;
    padding-left: 30px;
}

.questions-item h4 {
    font-family: Poppins, Poppins;
    font-weight: 600;
    font-size: 30px;
    color: #001C33;
    line-height: 46px;
    text-align: left;
}

.questions-item p {
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 16px;
    color: #5C6266;
    line-height: 24px;
    text-align: left;
}

.title-underline{
  /* 你的字体样式 */
  font-family:'Poppins',sans-serif;
  font-weight:700;
  font-size:44px;
  color:#051A2C;                 /* 你项目里的 --txt-dark 也行 */
  text-align:center;

  /* 可调参数 */
  --bar-w: 180px;                /* 蓝条宽度 */
  --bar-h: 16px;                 /* 蓝条高度 */
  --bar-gap: 10px;                /* 距离底部上移量 */

  /* 画一块居中的“背景条” */
  background:
    linear-gradient(#A6D7FF,#A6D7FF)
    center calc(100% - var(--bar-gap)) / var(--bar-w) var(--bar-h) no-repeat;

  /* 为了让条宽只跟文字走，包一层 inline-block 可选 */
  display:inline-block;
}

.title-underline1 {
    background:
    linear-gradient(#40A9FF,#40A9FF)
    center calc(100% - var(--bar-gap)) / var(--bar-w) var(--bar-h) no-repeat;
}

/* Toast弹框 - 无蒙层设计 */
.toast-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: transparent !important;
    z-index: 1000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.toast-overlay.show {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 强制Flexbox居中 */
.toast-overlay::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 1px !important;
    height: 1px !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

body .toast-notification,
html .toast-notification,
.toast-notification {
    /* 重置所有定位属性 */
    position: static !important;
    top: unset !important;
    left: unset !important;
    right: unset !important;
    bottom: unset !important;
    transform: scale(0.8) !important;
    
    /* 基础样式 */
    width: 620px !important;
    height: 425px !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    margin: 0 !important;
    padding: 50px 40px 40px !important;
    box-sizing: border-box !important;
    
    /* 视觉样式 */
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.12),
        0 16px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(20px) !important;
    
    /* 布局 */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: center !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    
    /* 动画 */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1000001 !important;
}

body .toast-notification.show,
html .toast-notification.show,
.toast-notification.show {
    transform: scale(1) !important;
}

/* Toast图标样式 */
.toast-icon {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 60px !important;
    font-weight: 300 !important;
    color: white !important;
    flex-shrink: 0 !important;
    position: relative !important;
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
}

.toast-icon::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent, rgba(0,0,0,0.1)) !important;
    z-index: -1 !important;
}

.toast-notification.toast-success .toast-icon {
    background: linear-gradient(135deg, #52c41a, #73d13d) !important;
}

.toast-notification.toast-error .toast-icon {
    background: linear-gradient(135deg, #ff4d4f, #ff7875) !important;
}

.toast-notification.toast-info .toast-icon {
    background: linear-gradient(135deg, #1890ff, #40a9ff) !important;
}

/* Toast标题 */
.toast-title {
    font-size: 28px !important;
    font-weight: bold !important;
    color: #333 !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
    flex-shrink: 0 !important;
}

.toast-notification.toast-success .toast-title {
    color: #52c41a !important;
}

.toast-notification.toast-error .toast-title {
    color: #ff4d4f !important;
}

/* Toast消息内容 */
.toast-message {
    color: #666 !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    margin-bottom: 35px !important;
    text-align: center !important;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 40px !important;
}

/* Toast OK按钮 */
.toast-ok-btn {
    background: #4A90E2 !important;
    color: white !important;
    border: none !important;
    padding: 15px 50px !important;
    border-radius: 30px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    min-width: 160px !important;
    margin: 0 auto 30px auto !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.toast-ok-btn:hover {
    background: #357ABD !important;
    transform: translateY(-1px) !important;
}

/* 移除旧的样式 */
.toast-content {
    display: block !important;
    padding: 0 !important;
}

.toast-close {
    display: none !important;
}

/* 响应式toast */
@media (max-width: 768px) {
    body .toast-notification,
    html .toast-notification,
    .toast-notification {
        width: 95vw !important;
        height: auto !important;
        max-width: 500px !important;
        max-height: 90vh !important;
        padding: 30px 20px !important;
        min-height: 350px !important;
    }
    
    .toast-icon {
        width: 70px !important;
        height: 70px !important;
        font-size: 35px !important;
        margin-bottom: 20px !important;
    }
    
    .toast-title {
        font-size: 22px !important;
        margin-bottom: 15px !important;
    }
    
    .toast-message {
        font-size: 16px !important;
        margin-bottom: 25px !important;
        padding: 0 20px !important;
    }
    
    .toast-ok-btn {
        padding: 12px 40px !important;
        font-size: 16px !important;
        min-width: 140px !important;
        margin-bottom: 20px !important;
    }
}

/* 确保toast在所有情况下都能正确显示 */
.toast-notification,
.toast-notification * {
    box-sizing: border-box !important;
}

/* 防止其他CSS规则覆盖toast样式 */
.toast-notification {
    isolation: isolate !important;
    contain: layout style paint !important;
}


