* {
	margin: 0;
	padding: 0;
	/* 边际为0，即铺满整个页面 */
}

a {
	text-decoration: none !important;
	/* 所有的超链接a标签不带下划线，使用!important提高优先级 */
}

/* 导航栏 开始 */
.header {
    background: rgb(25, 56, 83);
    height: 60px;
    line-height: 60px;
    box-shadow: 2px 3px 5px #04133d;
}

.box {
    z-index: 1000;
    width: 100%;
    display: flex;
    position: fixed;
    background-color: rgb(25, 56, 83);
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.logo {
    height: 60px;
    line-height: 105px;
    margin-right: 10px;
    position: relative;
    left: -20px;
}

.nav ul, .nav li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav {
    display: flex;
    position: relative;
    left: -15px;
    height: 65px;
    margin: 0;
    flex-grow: 0;
    gap: 10px; /* 修改此处：原20px → 现10px（缩小50%） */
    justify-content: center; /* 新增：确保元素水平居中 */
}

.nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #fff;
    font-size: 18px;
    padding: 0 15px; /* 调整：原20px → 现15px（辅助间距控制） */
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 2px; /* 调整：原3px → 现2px（优化文字密度） */
}

.nav > .item {
    height: 100%;
    position: relative;
    transition: .4s;
}

.list {
    position: absolute;
    width: 114px;
    top: 65px;
    display: none;
    transition: .4s;
    background-color: #037dc4;
    left: 50%;
    transform: translateX(-50%);
}

.list a {
    position: relative;
    width: 100%;
    flex-wrap: wrap;
}

.itemTwo {
    height: 40px;
    transition: .4s;
}

.itemTwo a {
    text-decoration: none;
}

.nav > .item:hover {
    background-color: #037dc4;
}

.nav > .item:hover > .list {
    display: block;
    max-height: 500px;
    padding: 8px 10px;
    color: #fff;
}

.itemTwo:hover {
    background-color: rgba(255, 255, 255, .3);
}

.home-language {
    position: relative;
    left: -20px;
    display: flex;
    align-items: center;
    margin-left: 5px;
    margin-top: -15px;
    line-height: 20px;
    color: #69d0ff;
}

.home-language a {
    font-size: 16px;
    color: #fff;
    margin: 0 6px; /* 调整：原8px → 现6px（语言切换间距优化） */
    letter-spacing: 1px; /* 调整：原2px → 现1px（文字密度优化） */
}

.home-language a:hover {
    color: #6bd0ff;
}
/* 导航栏 结束 */


/* banner 开始 */
.tech-banner {
	display: flex;
}

.tech-banner img {
	display: block;
	margin: auto;
	width: 100%;
	height: 400px;
}


/* 沟槽设计 开始 */
.disign-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Maximum content width */
    margin: 0 auto;
    padding: 0 15px; /* Padding for small screens */
    box-sizing: border-box;
}

.home-friend-links {
    margin-left: 0; /* Remove fixed margin */
    text-align: center; /* Center align content */
    width: 100%;
}

.home-friend-text {
    padding: 20px 0; /* Adjusted padding */
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap */
    justify-content: center; /* Center buttons */
    gap: 15px; /* Space between buttons */
    width: 100%;
}

.home-friend-text > .home-friend-btn {
    height: 45px;
    border: solid 1px #dfdfdf;
    box-shadow: 0 3px 3px rgb(0 0 0 / 20%);
    color: #181818;
    font-size: 15px;
    line-height: 43px;
    margin-top: 15px; /* Reduced margin */
    padding: 0 15px; /* Adjusted padding */
    border-radius: 0;
    position: relative;
    min-width: 150px; /* Minimum width */
    max-width: 100%; /* Prevent overflow */
    white-space: normal; /* Allow text wrapping */
    word-break: break-word; /* Break long words */
    text-align: center;
    display: inline-flex; /* Changed to inline-flex */
    align-items: center;
    justify-content: center;
}

.home-friend-btn {
    margin: 10px; /* Reduced margin */
    text-decoration: none;
    position: relative;
    background-color: rgb(255, 255, 255);
    transition: all 0.3s ease; /* Smoother transition */
    color: #181818 !important; /* Ensure text color */
    flex-shrink: 0; /* Prevent shrinking */
}

.home-friend-btn::before,
.home-friend-btn::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: background-color 0.3s ease;
}

.home-friend-btn::before {
    left: -100%;
    background-color: rgb(255, 255, 255);
}

.home-friend-btn:hover {
    width: auto; /* Flexible width on hover */
    min-width: 180px; /* Minimum expanded width */
    background-color: rgb(68, 171, 255);
    color: white !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .home-friend-text {
        flex-direction: column; /* Stack buttons vertically on small screens */
        align-items: center;
    }
    
    .home-friend-text > .home-friend-btn {
        width: 80%; /* Full width buttons on small screens */
        max-width: 250px; /* Limit maximum width */
        margin-top: 10px;
    }
    
    .product-title a {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .product-title span {
        text-align: center;
    }
}

/* 新增专属悬停样式 - 针对IATF16949证书按钮 */
.home-friend-btn2.home-friend-btn:hover {
    min-width: 200px !important;
    background-color: rgb(68, 171, 255);
}





/* 新闻标题 开始*/
.product-title {
	display: flex;
	justify-content: center;
	align-items: center;
	/* 标签居中对齐 */

	/* text-align: center; */
	/* 对内部文本居中 */
}

.product-title a {
	text-decoration: none;
	/* 超链接去掉下划线 */
}


/* 新闻中心下的灰色横线 开始 */
.section-header {
	position: relative;
	max-width: 600px;
	margin: 0 auto -10px auto;
	padding-bottom: 25px;
}

.section-header h2 {
	color: #666666;
	font-size: 35px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 6px;
	text-align: center;
}

.section-header::after {
	content: '';
	position: absolute;
	display: inline-block;
	width: 100px;
	height: 5px;
	background: #cccccc;
	border-radius: 0 0 5px 5px;
	bottom: 0;
	left: calc(50% - 50px);
}

.section-header p {
	font-size: 22px;
	font-weight: 300;
	text-align: center;
	margin: 0;
}

/* 新闻中心下的灰色横线 结束 */







/* 新闻列表1-2 */

/* 技术参数列表容器 */
.product-content {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 0;
    padding: 20px;
    box-sizing: border-box;
}

/* 新闻列表容器 */
.news-news {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.news-news a {
    text-decoration: none;
}

/* 通用卡片样式 */
.new-new001, 
.new-new002 {
    cursor: pointer;
    min-width: 300px;
    width: 35%;
    max-width: 500px;
    min-height: 105px;
    padding: 10px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .5);
    display: flex;
    transition: all 0.5s ease;
    flex: 1 1 auto;
}

.new-new001:hover, 
.new-new002:hover {
    box-shadow: 0 3px 5px rgba(0, 0, 0, .5);
    transform: translateY(-2px);
}

/* 图片容器 */
.new-new01-img001, 
.new-new02-img002 {
    /* width: 100px; */
    height: 100px;
    margin-right: 10px;
    flex-shrink: 0;
}

.new-new01-img001 img, 
.new-new02-img002 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

/* 内容区域 */
.new-new01-content, 
.new-new02-content {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.new-new01-content p, 
.new-new02-content p {
    margin: 3px 0 3px 5%;
    line-height: 1.4;
}

/* 响应式调整 */
@media (max-width: 900px) {
    .new-new001, 
    .new-new002 {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .new-new001, 
    .new-new002 {
        width: 100%;
        max-width: 100%;
    }
    
    .news-news {
        flex-direction: column;
        gap: 15px;
    }
    
    .new-new01-img001, 
    .new-new02-img002 {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .new-new001, 
    .new-new002 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .new-new01-img001, 
    .new-new02-img002 {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .new-new01-content p, 
    .new-new02-content p {
        margin-left: 0;
    }
}
/* 新闻列表 结束 */


/* 新闻内容详情 */

.news-text001 {

	/* visibility: hidden; */
	display: none;
	/* 以下是几种常用的隐藏标签方法：
使用display: none;样式属性。
使用visibility: hidden;样式属性。
使用opacity: 0;样式属性。 */
}

.news-text001-img {
	display: flex;
	flex-direction: column;
	/* 标签内元素垂直排序 */
	align-items: center;
	/* 元素居中对齐 */
}

.news-text001-img img {
	width: 500px;
}

.news-text001-img p {
	width: 60%;
}

.news-text001-img h3,
.news-text001-img span {
	align-items: center;
}

.news-text001-img table {
	width: 70%;
	word-wrap: break-word;
	/* 自动换行 */
	text-align: center;
	border-collapse: separate;
	/* 使用分隔边框模型 */
	border-spacing: 1px;
	/* 设置单元格之间的距离 */
}

.news-text001-img table th,
td {
	border: 1px solid black;
	/* 设置单元格边框 */
	padding: 10px;
	/* 设置单元格内的填充 */
	/* white-space: nowrap;  */
	/* 防止内容换行 */
}


/*  指示箭头 开始 */
.new-arrow {
	width: 80%;
	margin: auto;
	display: flex;
	/* justify-content: center; */
}


.new-arrow-back {
	margin-left: 70px;
	height: 50px;
	transition: transform 0.3s ease;
}

.new-arrow-back:hover {
	transform: scale(1.05);
	/* 鼠标悬停时放大10% */
}


.new-arrow-last {
	margin-left: 550px;
	/* 距离上个元素的距离 */
	height: 60px;
	transition: transform 0.3s ease;
}

.new-arrow-last:hover {
	transform: translateX(-10px);
	/* 在激活状态下左（X，-10）移动，Y为上下移动 */
}


.new-arrow-next {
	transition: transform 0.3s ease;
	margin-left: 20px;
	height: 60px;
}

.new-arrow-next:hover {
	transform: translateX(10px);
	/* 在激活状态下向右（X,10）移动，Y为上下移动 */
}

/* 指示箭头 结束 */



/* 底部导航栏开始 */
.footer {
    width: 100%;
    padding: 30px 0;
    background-color: rgb(25, 56, 83);
    position: relative;
    z-index: 0;
}

.footer-info {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px; /* 减少整体间隙 */
    padding: 0 20px;
    box-sizing: border-box;
}

.addr {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: left;
    padding: 0 10px;
    white-space: nowrap; /* 防止文字换行 */
    overflow: hidden;
    text-overflow: ellipsis; /* 文字过长显示省略号 */
    transform: translateY(15px);
}

.addr img {
    width: 180px;
    margin-bottom: 10px;
    margin-left: 0;
    transform: translateX(30px);
}

.addr h3 {
    font-size: 20px;
    color: #ffffff;
    margin: 5px 0;
    white-space: nowrap;
}

.addr span, .addr p {
    font-size: 14px;
    color: #ffffff;
    margin: 8px 0;
    line-height: 1.5;
    white-space: nowrap;
}

.footer-links {
    flex: 2;
    min-width: 450px;
    display: flex;
    justify-content: space-between; /* 改为space-between使间距更均匀 */
    gap: 15px; /* 减少列间距 */
    margin: 0;
    padding: 0 10px;
}

.footer-links dl {
    text-align: center; /* 保持居中 */
    margin: 0;
    flex: 1;
    min-width: 0; /* 允许缩小 */
    position: relative;
}

.footer-links dl:nth-child(3){
    transform: translateY(10px);
} 

.footer-links dt {
    margin-bottom: 12px;
    font-size: 18px;
    color: #ffffff;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: center; /* 使下划线居中 */
}

.footer-links dt a {
    color: #ffffff;
    display: inline-block; /* 改为inline-block使下划线对齐 */
    padding: 0 10px; /* 添加内边距 */
}

.footer-links dt a:hover {
    color: #4db8ff;
}

.footer-links dd {
    padding: 6px 0; /* 调整链接间距 */
}

.footer-links dd a {
    font-size: 15px;
    color: #ffffff;
    display: block;
    transition: color 0.3s;
    padding: 2px 0; /* 添加垂直内边距 */
}

.footer-links dd a:hover {
    color: #4db8ff;
}

.footer-weixin {
    flex: 1;
    min-width: 150px;
    max-width: 180px;
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 上下高度一致 */
    height: 100%; /* 确保高度一致 */
    transform: translateY(40px);
}

.footer-weixin img {
    
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.footer-weixin p {
    color: #fff;
    font-size: 14px;
    margin-top: 8px;
    flex-shrink: 0; /* 防止压缩 */
}

.home-copyright {
    display: flex;
    height: 45px;
    background-color: rgb(13, 41, 65);
    position: relative;
    z-index: 0;
}

.home-copyright p {
    margin: auto;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.home-copyright p a img {
    margin: 5px 0px -10px 10px;
    width: 28px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .footer-info {
        gap: 15px;
    }
    
    .footer-links {
        gap: 10px;
        min-width: 400px;
    }
}

@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .addr, .footer-links, .footer-weixin {
        width: 100%;
        max-width: 500px;
        text-align: center;
        padding: 0;
    }
    
    .addr {
        white-space: normal; /* 小屏幕允许换行 */
        text-align: center;
    }
    
    .addr img {
        margin: 0 auto 15px;
    }
    
    .footer-links {
        flex-direction: column;
        min-width: unset;
        gap: 20px;
    }
    
    .footer-links dl {
        margin-bottom: 15px;
    }
    
    .footer-weixin {
        margin-top: 10px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .addr h3, .addr span, .addr p {
        white-space: normal; /* 超小屏幕允许换行 */
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .footer-links dt a {
        padding: 0 5px;
    }
}


/* 底部导航栏结束 */



