/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none;    /* 去掉下划线 */
  border: none;            /* 去掉边框 */
  outline: none;          /* 去掉焦点轮廓（注意可访问性） */
  cursor: pointer;        /* 保持指针样式 */
}
body {
    font-family: Arial, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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



/* Hero Slider */
.hero-slider {
    position: relative;
    height: 740rem;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: #fff;
}

/* About Section - 蓝色渐变背景 */
.about-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.about-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    /* background: linear-gradient(to right, #1e5fa8 0%, #165291 100%); */
    padding: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    padding-left: 100rem;
}

.about-wrapper::before {
    content: '';
    position: absolute;
    right: -50rem;
    top: -50rem;
    width: 200rem;
    height: 200rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 0 100%;
}

.about-content {
    width:50%;
    color: #fff;
    padding: 60rem 140rem 130rem 50rem;
    background-color: rgba(19, 84, 138, 1);
}

.about-content h2 {
    font-size: 42rem;
    margin-bottom: 25rem;
    color: #fff;
    font-weight: 600;
}

.about-content p {
    margin-bottom: 15rem;
    line-height: 1.8;
    font-size: 16rem;
    opacity: 0.95;
}

.about-image {
    width: 600rem;
    background-color: #fff;
    margin: 0 0 0 -100rem;
    border-radius: 8rem;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    display: block;
    height: auto;
    border-radius: 8rem;
}

/* Advantages Section - 深蓝色渐变 */
.advantages-section {
    padding: 70rem 0 130rem;
    background: rgba(19, 84, 138, 1);
    color: #fff;
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 15px;
    margin-bottom: 8px;
    opacity: 0.95;
    font-weight: 400;
}

.advantages-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 140px;
    margin-left: auto;
    margin-right: auto;
}

.advantage-card {
    /* width: 210rem; */
    width: 16%;
    background-color: #fff;
    height: 204rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-8px);
}
.advantage-card:nth-child(2n){
    margin-top: -60rem;
}
.icon-box {
    width: 80rem;
    height: 80rem;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 0;
}

.icon-box img {
    width: 80rem;
    height: 80rem;
}

.advantage-card h3 {
    font-size: 15px;
    color: #333;
    font-weight: 400;
    margin-top: 15px;
}

/* Hot Products Section */
.hot-products-section {
    padding: 70px 0;
    background-color: #fff;
}

.hot-products-section .section-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 44px;
}

.section-description {
    text-align: center;
    margin: 0 auto 20px;
    line-height: 1.8;
    font-size: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #fff;
    border: 1px solid rgba(19, 84, 138, 1);
    border-radius: 0px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.product-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e5e5e5;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    position: relative;
    padding: 10rem;
    background: rgba(19, 84, 138, 1);
    color: #fff;
    min-height: 200rem;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 15rem;
    text-align: left;
    white-space: nowrap;      /* 禁止换行 */
    overflow: hidden;         /* 隐藏溢出内容 */
    text-overflow: ellipsis;
}

.product-info p {
    color: rgba(255, 255, 255, 0.5);
    display: -webkit-box;           /* 使用弹性盒子模型 */
    -webkit-box-orient: vertical;   /* 垂直排列 */
    -webkit-line-clamp: 3;          /* 显示的行数 */
    overflow: hidden;               /* 隐藏溢出内容 */
    text-overflow: ellipsis;
    text-align: left;
    height: 80px;
    margin-bottom: 30px;
}

.read-more {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

.read-more i {
    font-size: 11px;
}
.rightIcon{
    margin-left: 10rem;
}
.load-more-btn {
    text-align: center;
    margin-top: 40px;
}

/* Application Section */
.application-section {
    padding: 10rem 0;
}

.application-section .section-title {
    text-align: center;
    font-size: 42px;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.application-item {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 84, 144, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 30px;
    /* 关键：初始状态在底部外面 */
    transform: translateY(100%);
    
    /* 过渡动画 */
    transition: transform 0.4s ease;
}
.overlay-content .title{
    font-size: 24px;
    color: #fff;
    white-space: nowrap;      /* 禁止换行 */
    overflow: hidden;         /* 隐藏溢出内容 */
    text-overflow: ellipsis;
}
.voerlayDetail{
    font-size: 16px;
    color: #fff;
    line-height: 24px;
    display: -webkit-box;           /* 使用弹性盒子模型 */
  -webkit-box-orient: vertical;   /* 垂直排列 */
  -webkit-line-clamp: 3;          /* 显示的行数 */
  overflow: hidden;               /* 隐藏溢出内容 */
  text-overflow: ellipsis;  
}
/* 鼠标悬停时蒙层上移覆盖整个盒子 */
.application-item:hover .overlay {
    transform: translateY(0);
}

.application-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.application-item:hover img {
    transform: scale(1.08);
}

/* News Section */
.news-section {
    padding: 70px 0;
    background-color: #fff;
}

.news-section .section-title {
    text-align: center;
    color: #333;
    font-size: 38px;
}

.newTop{
    display: flex;
    height: 247rem;
}
.newTopLeft{
    display: flex;
    width: 495rem;
    height: 247rem;
    overflow: hidden;
}
.newTopImg{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.newTopLeft:hover .newTopImg{
    transform: scale(1.1);
}
.newTopRight{
    display: block;
    flex:1;
    padding: 15rem;
    background-color: rgba(246, 246, 248, 1)!important;
}
.topRightTitle{
    display: -webkit-box;
    font-size: 24px;
    -webkit-line-clamp: 2;
    font-family: Poppins-Regular;
    line-height: 55px;
    color: #000;
}
.topRightTime{
    color: rgba(19, 84, 138, 1);
    display: block;
    font-size: 16px;
    font-family: Poppins-Regular;
    line-height: 40px;
    margin-bottom: 15rem;
}

.newsContent{
    color: rgba(158, 158, 158, 1);
    display: -webkit-box;
    font-size: 16px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Poppins-Regular;
    line-height: 22px;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.news-card {
    background-color: rgba(246, 246, 248, 1)!important;
    overflow: hidden;
    transition: all 0.3s;
    height: 212px;
}

.news-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
    white-space: nowrap;      /* 禁止换行 */
    overflow: hidden;         /* 隐藏溢出内容 */
    text-overflow: ellipsis;
    margin-bottom: 12rem;
}

.news-date {
    color: #999;
    font-size: 12px;
    display: block;
    margin-bottom: 12px;
}

.news-content p {
    height: 85px;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 15px;
}

/* Buttons */
.btn-primary1 {
    display: inline-block;
    background-color: #fff;
    margin: 20rem 0;
    color: #1e5fa8;
    padding: 10rem 60rem;
    border-radius: 0;
    height: 50rem;
    border: none;
    font-size: 16rem;
    font-style: italic;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary1:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(29, 117, 189, 1);
    color: #fff;
    padding: 15rem 100rem;
    border: none;
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #4688c7;
}

/* Float Buttons */
.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.float-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    font-size: 20px;
}
.hoverText{
    margin: 0 calc(100% + 10px);
    left: auto;
    right: 0;
    width: max-content;
    background-color: #464646;
    border-radius: 5px;
    color: #fff;
    display: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    padding: 5px;
    position: absolute;
    white-space: nowrap;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.float-btn:hover .hoverText{
    display: block;
}
.float-btn.messenger { background-color: #0084ff; }
.float-btn.email { background-color: #dd4b39; }
.float-btn.whatsapp { background-color: #25d366; }
.float-btn.skype { background-color: #00aff0; }

/* Responsive Design */
@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container{
        padding: 0;
    }
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .about-section{
        padding: 0;
    }
    .about-wrapper {
        display: block;
    }
    .about-content {
        width: 100%;
        padding: 20px;
    }
    .about-content h2 {
        font-size: 30px;
    }
    .about-content p{
        font-size: 16px;
        line-height: 1.5;
    }
    .btn-primary1 {
        display: block;
        background-color: #fff;
        margin: 20px 0;
        text-align: center;
        color: #1e5fa8;
        padding: 10px 60px;
        border-radius: 0;
        height: 50px;
        border: none;
        font-size: 16px;
        font-style: italic;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
    }
    .about-image {
        width: 100%;
        margin: 0 auto;
    }
    
    .advantages-grid {
        flex-wrap: wrap;
        justify-content: space-around;
        margin-top: 10px;
    }
    .advantage-card{
        width: 30%;
        height: 120px;
        margin-bottom: 20px;
        padding-top: 20px;
        justify-content: flex-start;
    }
    .advantage-card:nth-child(2n){
        margin-top: 0;
    } 
    .icon-box{
        width: 40px;
        height: 40px;
        margin-bottom: 0px;
    }
    .icon-box img{
        width: 40px;
        height: 40px;
    }
    .advantage-card h3{
        font-size: 12px;
    }
    .hot-products-section{
        padding: 30px 0;
    }
    .hot-products-section .section-title{
        font-size: 24px;
    }
    .section-description{
        display: none;
    }
    .products-grid {
        padding: 0 15px;
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 0;
    }
    .product-card{
        background-color: rgba(19, 84, 138, 1);
        padding: 5px;
    }
    .product-image{
        height: 150px;
    }
    .product-info {
        min-height: 80px;
    }
    .product-info p{
        font-size: 14px;
        -webkit-line-clamp: 1;
    }
    .read-more{
        font-size: 16px;
    }
    .load-more-btn{
        padding: 15px;
        margin-top: 0;
    }
    .btn-secondary {
        display: block;
        padding: 10px;
    }
    .application-section .section-title{
        font-size: 24px;
    }
    .application-grid{
        margin-top: 0;
        padding: 0 15px;
        grid-template-columns: repeat(2, 1fr);
    }
    .application-item{
        height: auto;
    }
    .overlay{
        display: none;
    }
    .news-section{
        padding: 40px 15px;
    }
    .news-section .section-title{
        font-size: 24px;
    }
    .newTop{
        height: 150px;
        margin-bottom: 20px;
    } 
    .newTopLeft{
        align-items: center;
        height:150px;
    } 
    .topRightTitle{
        font-size: 18px;
        line-height: 30px;
        height: 60px;
    }
    .topRightTime {
        line-height: 24px;
    }
    .newTopRight{
        padding: 10px 15px;
    }
 
    .newsContent {
        color: rgba(158, 158, 158, 1);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        font-family: Poppins-Regular;
        line-height: 18px;
    }
    .news-grid {
        margin-top: 0;
        grid-template-columns: repeat(1, 1fr);
    }
    .news-content{
        padding: 15px 25px 25px;
    }
    .news-card{
        height: auto;
    }
    .read-more{
        left:25px;
    }
}
.newsMore{
    color: #333;
}