body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    /* background-image: url('img/背景图1.jpg'); */
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: top center;
    background-size: cover;
    overflow-x: hidden;
    color: #50525f;
}

header {
    background: #ffffff;
    color: #1708f1;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000; /* 确保导航栏在内容上方 */
    /* padding: 1rem 0; */
}
nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 80px;
}
nav ul {
    padding: 0;
    list-style: none;
    text-align: center;
    /* width: 70%; */
    float: right;
    height: 70px;
    line-height: 70px;
    margin: 5px auto;
}
nav img {
    width: 10%;
    float: right;
    height: 30px;
    margin: auto auto ;
}
nav ul li {
    display: block;
    float: left;
    margin: 0 15px;
    padding: 0px  5px;
    /* height: 100px; */
    font-family: 'Raleway', sans-serif;
    /* text-shadow: rgba(0, 0, 0, .01) 0 0 1px; */

}
nav ul li:hover{
    background-color: #053881;
}
nav ul li:hover a{
    color: #ffff;
}
nav ul li a {
    color: #0616fc;
    text-decoration: none;
}

main {
    height: auto; /* 高度自适应 */
    padding: 80px 0px 0px; /* 为 header 和 footer 留出空间 */
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #333;
    color: #fff;
    position: static; /* 修改为 static 定位 */
    width: 100%;
    height: auto;
}
/* 图片轮播样式 */

.mySlides {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.text {
    color: #f2f2f2;
    font-size: 60px;
    padding: 8px 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0.2); /* 添加半透明背景作为阴影 */
}
main .slideshow-container {
    width: 100%;
    height: calc(100vh - 100px); /* 与 main 高度保持一致 */
    position: relative;
    margin: auto;
}
main .mySlides {
    display: none;
    height: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .dot:hover {
    background-color: #717171;
  }
  
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }
main .company{
    width: 100%;
    height: calc(100vh - 160px); /* 与 main 高度保持一致 */
    position: relative;
    margin: auto;
    background-color: #ffffff;
}
.company .title{
    font-size: 45px;
    width: 100%;
    height: 100px;
    line-height: 100px;
    text-align: center;
    font-weight: 800;
}
.company .content{
    width: 50%;
    margin: 50px auto;
    font-weight: 400;
    text-align: center;
}
.content a{
    color: #BE5E29;
}
.company .row{
    width: 80%;
    margin: auto;
}
.row .column{
    width: 25%;
    float: left;
    margin-left: 5%;
    margin-top: 30px;
    height: 100px;
}
.column .icon{
    width: 20%;
    float: left;
    height: 100px;
}
.icon img{
    width: 60%;
    /* height: 50%; */
    margin-left: 15px;
}
.column.info{
    width: 80%;
    float: left;
    height: 100px;
}
.info .info_title{
    font-size: 20px;
    font-weight: 800;
}
.info .info_content{
    font-size: 14px;
    font-weight: 400;
}
.img-overlay-solid{
    background-color: rgba(0, 0, 0, 0.5); /* 添加半透明背景作为阴影 */
    background-image: url('img/背景图1.jpg'); /* 请替换为实际的背景图路径 */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
    background-size: cover;
    width: 100%;
    height: auto;
    /* height: calc(100vh - 160px); */
}
.img-overlay-solid .Shadow{
    background-color: rgba(0, 0, 0, 0.5); /* 添加半透明背景作为阴影 */
    width: 100%;
    height:auto;
}
.Shadow .container{
    width: 80%;
    margin: auto;
    height: 400px;
}
.container .img-overlay{
    width: 25%;
    float: left;
    height: 200px;
    margin: 100px 0px;
}
.img-overlay .title{
    width: 100px;
    height: 50%;
    margin: 0 auto;
    border-radius: 500px;
    background-color: rgba(255,255,255,0.3);
}
.img-overlay .content{
    width: 100%;
    height: 50%;
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
}
.img-overlay-solid .Glory{
    width: 100%;
    height: 400px;
    background-color: #ffffff;
}
.Glory .content {
    display: flex;
    overflow: hidden;
    gap: 10px;
    width: 80%;
    margin: 0 15% 5%;
    /* height: 400px; */
    /* 隐藏滚动条 */
}
.content img {
    /* flex: 0 0 calc(20% - 10px);
    max-width: calc(25% - 10px); */
    width: 15%;
    margin: auto;
    height: auto;
    background-size: cover;
    margin: 50px 2%;
    /* 隐藏滚动条 */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.Glory .content::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
.content span{
    font-size: 50px;
    font-weight: 800;
}
.title img{
    width: 50px;
    height: auto;
    background-size: cover;
    margin: 25px 25px;
}
main .product,.news{
    width: 100%;
    height: auto; /* 与 main 高度保持一致 */
    margin-top: 10px;
    /* position: relative; */
}
.product .title,.news .title{
    font-size: 45px;
    width: 100%;
    height: 100px;
    text-align: center;
    font-weight: 800;
}
.product .content{
    width: 100%;
    height: 500px;
    /* margin: auto; */
}
.product .column{
    width: 25%;
    float: left;
    height: 250px;
    position: relative;
    /* background-color: aqua; */
}
.product .column img{
    width: 100%;
    height: 100%;
    background-size: cover;
    margin: auto;
    position:absolute;
    object-fit: cover; /* 保持图片比例，覆盖整个容器，可能会裁剪部分图片 */
    object-position: center; /* 图片居中显示 */
    top: 0;
    left: 0;
    z-index: 1;
}
.product .column .info{
    position: absolute;
    /* top: 20%; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0,0,0,0.4);
    display: none;
    box-shadow: 0 0 2% 1% rgba(0, 0, 0, 0.2);
}
.product  .info .info_title{
    margin-top: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}
.product .info .info_content{
    width: 30%;
    margin: 20px auto;
    text-align: center;
    font-size: 14px;
    border: #ffffff 2px solid;
    color: #ffffff;
    height: 30px;
    line-height: 30px;
    font-weight: 600;
    float: left;
    margin-left: 35%;
}
.product .info .info_content a{
    color: #ffffff;
}

.product .info .info_content:hover {
    background-color: #ffffff;
    color: #BE5E29;
}
.product .info .info_content:hover a{
    color: #BE5E29;
}
.product .info .info_open{
    width: 30px;
    height: 30px;
    margin: 20px 10px;
    float: left;
    background-image: url('img/icon/kuoda.png');
    background-size: cover;
    border: #ffffff 2px solid;
}
.product .column img.enlarged {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    height: auto;
    z-index: 1001;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    object-fit: cover; /* 保持图片比例，覆盖整个容器，可能会裁剪部分图片 */
    object-position: center; /* 图片居中显示 */
}
.news .content{
    width: 80%;
    margin: 50px auto;
    height: auto;
    overflow: auto;
    /* background-color: aqua; */
}
.news .content .row{
    width: 40%;
    float: left;
    height: auto;
    margin: 10px 5%;
    border-bottom: #717171 1px solid;
}
.news .content .row .row-img{
    width: 50%;
    float: left;
    height: 200px;
    /* background-color: #BE5E29; */
}
.news .content .row .row-img img{
    width: 100%;
    height: auto;
    max-height: 200px;
    margin: inherit;
}
.news .content .row .row-info{
    width: 48%;
    float: left;
    height: 200px;
    margin-left: 2%;
}
.news .content .row .row-info .row-info-title{
    font-size: 16px;
    font-weight: 800;
    color: #50525f;
}
.news .content .row .row-info .row-info-content{
    font-size: 12px;
    color: #50525f;
    margin-top: 10px;
}
main .relation{
    width: 100%;
    height: auto; /* 与 main 高度保持一致 */
    margin-top: 10px;
}
.relation .title{
    /* margin-top: 50px; */
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #50525f;
}
.relation form{
    width: 80%; /* 使用百分比宽度 */
    max-width: 800px; /* 设置最大宽度 */
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    display: flex;
    flex-direction: column; /* 垂直排列表单元素 */
    align-items: stretch;
}

form .form-group {
    margin: 15px auto;
    width: 50%; /* 让表单组宽度自适应 */
    height: auto; /* 高度自适应 */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.relation label {
    flex: 0 0 20%; /* 标签占据 30% 的宽度 */
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
    font-size: 16px;
    margin-right: 0;
    padding-right: 10px;
    box-sizing: border-box;
}

.relation input[type="text"],
.relation input[type="email"],
.relation textarea {
    flex: 1; /* 输入框和文本域占据剩余宽度 */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    
}

.relation textarea {
    height: auto;
    /* resize: vertical; */
}

.relation form button {
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center; /* 按钮居中 */
    margin: 0;
}

.relation form button:hover {
    background-color: #0056b3;
}
footer {
    text-align: center;
    padding: 2rem 0; /* 增加内边距 */
    background: #3c3e47; /* 调整背景颜色 */
    color: #ffffff; /* 调整文字颜色 */
    position: static;
    width: 100%;
    height: auto;
    display: flex; /* 使用 flex 布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    flex-wrap: wrap; /* 允许换行 */
}

footer .footer-left {
    width: 50%; /* 让左侧内容占满宽度 */
    display: flex; /* 使用 flex 布局 */
    justify-content: center; /* 水平居中 */
    flex-wrap: wrap; /* 允许换行 */
}

.footer-left .footer-item{
    width: 25%; /* 调整每个项目的宽度 */
    height: auto;
    padding: 1rem; /* 增加内边距 */
    box-sizing: border-box; /* 包含内边距和边框 */
}

.footer-item p {
    margin: 0; /* 移除段落的外边距 */
    font-size: 0.9rem; /* 调整字体大小 */
    line-height: 1.5; /* 调整行高 */
}

.footer-item h4 {
    margin-bottom: 0.5rem; /* 调整标题的底部外边距 */
    font-size: 1.1rem; /* 调整标题的字体大小 */
}

footer a {
    color: #ffffff; /* 调整链接颜色 */
    text-decoration: none; /* 移除链接下划线 */
    transition: color 0.3s ease; /* 添加颜色过渡效果 */
}

footer a:hover {
    color: #007BFF; /* 鼠标悬停时的链接颜色 */
}
footer .footer-right {
    width: 49%; /* 让右侧内容占满宽度 */
    border-left: #ffffff 1px solid; /* 添加左侧边框 */;
}
.footer-right .footer-item {
    width: 40%; /* 调整每个项目的宽度 */
    height: auto;
    padding: 1rem; /* 增加内边距 */
    box-sizing: border-box; /* 包含内边距和边框 */
    float: left; /* 使项目水平排列 */;
}
#footerImg{
    width: 100px; /* 调整图片的宽度 */
    height: 100px; /* 保持图片的高度比例 */
}
.active {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1.5px;
    background-color: #053881;
    border: 0;
    border-radius: 0;
    /* height: 75px; */
    margin: 0;
    color: #fff;
}
.active a{
    color: #fff;
}
#address_map{
    width:300px;
    height: 200px;
}
