* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
  line-height: 1.6;
  font-size: 1rem;
}

/* 顶部导航栏 */
header {
  background: #ffffffcc;
  position: fixed;
  width: 100%;
  height: 60px;
  opacity: 1;
  top: 0;
  z-index: 1000;
  display: flex;
}

.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 3.75rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 28px;
  height: 28px;
  margin-left: 295px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.logo-img {
  position: absolute;
  height: 28px;
  width: 28px;
}



.navbar {
  margin: 10px 0;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0px 0 0 51px;
}

nav ul li {
  margin: 0 32px;
  position: relative;
  width: 80px;
  height: 27px;
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  font-family: "Microsoft YaHei UI";
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #0eb28e;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}
/* 激活状态的样式 */
.navbar ul li a.active {
  color: #0EB28E; /* 设置为绿色 */
}

/* 背景图 */
.banner1 {
  top: 20px;
  height: 100%;
  object-fit: cover;
  width: 100%;
  display: block;
  margin-top: 0; /* 确保图片顶部与导航栏底部相接 */
}
.banner-content {
  margin-top: 0;
}
.banner-content img {
  width: 100%;
  height: auto;
}
.image-content {
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

/* 主体内容 */
.main-content {
  margin-top: 72px;
  height: auto;
  opacity: 1;
  background: linear-gradient(180deg, #ecfaf9 0%, #d6f8f6 99%);
  background: #ffffff;
}
.text {
  height: 67px;
  opacity: 1;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.text h2 {
  color: #132621;
  text-align: center;
  font-size: clamp(3rem, 1.5vw, 3rem);
  font-weight: 700;
  font-family: "Alibaba PuHuiTi 2.0";

  z-index: 1;
}

/* 下划线 */
.unline {
  width: 66px;
  height: 23px;
  opacity: 0.4000000059604645;
  background: linear-gradient(90deg, #5ce8cc 0%, #08d29b 100%);
  position: absolute;
  margin: 36px 100px 4px;
}
.unline1 {
  width: 66px;
  height: 23px;
  opacity: 0.4000000059604645;
  background: linear-gradient(90deg, #5ce8cc 0%, #08d29b 100%);
  position: absolute;
  margin: 48px 187px 4px;
}

/* 鑫元人 */
.section {
  display: flex;
  width: 100%;
  height: 400px;
  opacity: 1;

}

.section:nth-child(even) {
  flex-direction: row-reverse;
}

.section-text {
  width: 70%;
    height: 400px;
    padding-top:30px ;
}
.section-image {
  /* text-align: center; */
  height:auto;
  width: 56%;

}
.section-text h2 {
  margin: 55px 32px 18px;
  width: 330px;
  height: 39px;
  opacity: 1;
  color: #132621;
  text-align: left;
  font-size: 26px;
  font-weight: 700;
  font-family: "Alibaba PuHuiTi 2.0";
}

.section-text p {
  margin: 0px 0px 49px 32px;
  width: 39.3125rem;
  height: auto;
  opacity: 1;
  color: #383e3b;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  font-family: "Microsoft YaHei UI";
}

.section-image img {
  max-width: 100%;
  width: 610px;
  height: auto;
  margin-top: 3.4375rem;
  object-fit: contain;
}
.ad-content {
  /* 按钮  */
  margin: 40px 0 48px;
}

.ad-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.ad-content ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 -8px;
  flex-wrap: wrap;
}

.ad-content li {
  margin: 0 36px;
  padding-left: 25px;
  position: relative;
  white-space: nowrap;
  width: 80px;
  height: 21px;
  opacity: 1;
  color: #383e3b;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
}

.ad-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 100px;
  opacity: 1;
  border: 1.3px solid #c1c8c6;
  margin: 2px 0 0 0;
}

/* 对勾图标 */
.ad-content li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 5px;
  width: 8.5px;
  height: 5.5px;
  transform: rotate(-45deg);
  opacity: 1;
  border: 1.5px solid #0eb28e;
  border-top: none;
  border-right: none;
  margin: 2px 0 0 0;
}


.learn-more-btn {
  position: absolute;
  padding: 10px 20px;
  margin-left: 30px;
  background-color: #22c7a3; /* 保持原有背景色 */
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  display: inline-block; /* 确保内联元素正确应用尺寸 */
  overflow: hidden; /* 隐藏遮罩溢出部分 */
  position: relative; /* 为遮罩提供定位参考 */
  z-index: 1; /* 设置层级 */
  transition: transform 0.3s ease; /* 保留原有的transform过渡 */
}

.learn-more-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1); /* 5%透明度的#03050D */
  opacity: 0; /* 默认隐藏遮罩 */
  transition: opacity 0.3s ease;
  pointer-events: none; /* 允许点击穿透遮罩 */
}

.learn-more-btn:hover {
  transform: translateY(-2px); /* 保留原有悬浮效果 */
}

.learn-more-btn:hover::after {
  opacity: 1; /* 悬浮时显示遮罩 */
}
/* 第二部分 */
.section2 {
  display: flex;
  align-items: center;
  height: 400px;
  opacity: 1;
  background: linear-gradient(180deg, #f9fbff 0%, #f4f9fe 98%);
}

.section2:nth-child(even) {
  flex-direction: row-reverse;
}

.section-text2 {
  flex: 1;
  margin: 0px;
  width: 100%;
  height: 400px;
  padding: 45px 0;

}

.section-image2 {
  text-align: center;
  width: 653px;
  height: auto;
  margin: auto; 
}

.section-text2 h2 {
  width: 300px;
  height: 39px;
  opacity: 1;
  color: #132621;
  text-align: left;
  font-size: 24px;
  font-weight: 700;
  font-family: "Alibaba PuHuiTi 2.0";
}

.section-text2 p {
  width: 753px;
  height: 72px;
  opacity: 1;
  color: #383e3b;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  font-family: "Microsoft YaHei UI";
  line-height: 24px;
}

.section-image2 img {
  max-width: 100%;
  width: 35rem;
  height: 21.3125rem;
  object-fit: contain;
}

@media screen and (max-width: 1920px) {
  .section-image2 {
    margin-left:  10rem;
  }
  .section-text {
    margin-left: 10rem;
  }
  .section-text2 {
    margin-left: 5rem;
  }
}

@media screen and (max-width: 1440px) {
  .section-image2 {
    margin-left:  0;
  }
  .section-text {
    margin-left: 1.25rem;
  }
  .section-text2 {
    margin-left: 1rem;
  }
}
@media screen and (min-width: 1921px) {
  .section-image2 {
    margin-left:  10rem;
  }
  .section-text {
    margin-left: 10rem;
  }
  .section-text2 {
    margin-left: 5rem;
  }
}

.ad-content2 {
  /* 按钮  */
  margin: 40px 0 48px;
}

.ad-content2 h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.ad-content2 ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 -8px;
  flex-wrap: wrap;
}

.ad-content2 li {
  margin-right: 64px;
  padding-left: 25px;
  position: relative;
  white-space: nowrap;
  width: 122px;
  height: 21px;
  opacity: 1;
  color: #383e3b;
  text-align: left;
  font-size: clamp(0.75rem, 1.5vw,1rem);
  font-weight: 400;
}

.ad-content2 li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 100px;
  opacity: 1;
  border: 1.3px solid #c1c8c6;
  margin: 2px 0 0 0;
}

/* 对勾图标 */
.ad-content2 li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 5px;
  width: 8.5px;
  height: 5.5px;
  transform: rotate(-45deg);
  opacity: 1;
  border: 1.5px solid #0eb28e;
  border-top: none;
  border-right: none;
  margin: 2px 0 0 0;
}

.learn-more-btn2 {
  position: absolute;
  margin: 0;
  padding: 10px 20px;
  background-color: #22c7a3; /* 保持原有背景色 */
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  display: inline-block; /* 确保内联元素正确应用尺寸 */
  overflow: hidden; /* 隐藏遮罩溢出部分 */
  position: relative; /* 为遮罩提供定位参考 */
  z-index: 1; /* 设置层级 */
  transition: transform 0.3s ease; /* 保留原有的transform过渡 */
}

.learn-more-btn2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1); /* 5%透明度的#03050D */
  opacity: 0; /* 默认隐藏遮罩 */
  transition: opacity 0.3s ease;
  pointer-events: none; /* 允许点击穿透遮罩 */
}

.learn-more-btn2:hover {
  transform: translateY(-2px); /* 保留原有悬浮效果 */
}

.learn-more-btn2:hover::after {
  opacity: 1; /* 悬浮时显示遮罩 */
}
/* 第五部分 */

.h2 {
  font-size: clamp(3rem, 1.5vw, 3rem);
  font-weight: 700;
  text-align: center;
  z-index: 1;
  position: relative;
}
.data-title {
  font-size: 32px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.data-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5px;
  height: 3px;
  background: #4caf50;
}
.tu {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  width: 100%;
  height: 890px;
}
.tu1 {
  height: 622px;
}
.tu2 {
  width: 83%;
  height: 471px;
  margin:40px auto 0;
}
.tup1 {
  max-width: 100%;
  max-height: 100%;
}
.tup2 {
  width: 100%;
  height: auto;
  opacity: 1;
  margin-top: 2.8125rem;
}
.tup3 {
  width: 100%;
  height: auto;
}
.content-wrapper {
  text-align: center; /* 水平居中容器 */
  width: 100%;
  height: auto;
  opacity: 1;
  background: linear-gradient(180deg, #e4fef9 0%, #e1fcf6 99%);
  background: #ffffff;
  box-sizing: border-box;
  margin-top: 4.5rem;
}
.custom-underline a {
  color: #333;
  text-decoration: none;

}

.custom-underline a:hover {
  color: #000;
}
.box {
  height: 50rem;
  opacity: 1;
  background: #f9fbff;
  text-align: center;
  padding-top: 4.5rem;
}
.box1 {
  height: 45rem;
  opacity: 1;
  text-align: center;
  background: #ffffff;
  margin-top: 4.5rem;
}

.c1 {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 67px;
  opacity: 1;
  color: #132621;
  text-align: left;
  font-size: clamp(3rem, 1.5vw, 3rem);
  font-weight: 700;
  font-family: "Alibaba PuHuiTi 2.0";
  text-decoration: none;
}
.little-box a {
  transition: all 0.3s ease;
}

.little-box a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  transition: width 0.3s ease;
}

.little-box a:hover {
  color: #22c7a3;
}

.little-box a:hover::after {
  width: 100%;
}

.custom-underline {
  position: relative;
  display: flex;
      align-items: center;
      justify-content: center;
  width: 100%;
  height: 67px;
  opacity: 1;
  color: #132621;
  text-align: center;
  font-size: clamp(3rem, 1.5vw, 3rem);
  font-weight: 700;
  font-family: "Alibaba PuHuiTi 2.0";

}
.custom-underline1 {
  position: relative;
  display: inline-block;
  width: 440px;
  height: 67px;
  opacity: 1;
  color: #132621;
  text-align: center;
  font-size: clamp(3rem, 1.5vw, 3rem);
  font-weight: 700;
  font-family: "Alibaba PuHuiTi 2.0";
  margin: 72px 0 0;
}

/* 底部 */
footer {
  position: absolute;
  text-align: center;
  width: 100%;
  height: 102px;
display: flex;
align-items: center;
justify-content: center;
  background: #22c7a3;
}
footer p {
  width: 480px;
  height: 48px;
  opacity: 1;
  color: #f8fffd;
  text-align: center;
  font-size: clamp(0.75rem, 1.5vw,1rem);
  font-weight: 400;
  font-family: "Microsoft YaHei UI";
  line-height: 24px;
}
.foot{
display: flex;
align-items: center;
justify-content: center;
}


/* 返回按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 68px;
  width: 50px;
  height: 50px;
  background-color: #22c7a3;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* 箭头图标 */
.arrow-up {
  width: 20px;
  height: 20px;
  border: solid white;
  border-width: 0 8px 8px 0;
  transform: rotate(-135deg);
}

/* 窗口交互 */
#icon {
  position: fixed;
  bottom: 120px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  height: 110px;
  transition: transform 0.3s ease;
}

#chat-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}
#chat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#icon-p {
  color: white;
  font-family: Arial, sans-serif;
  width: 98px;
  height: 30px;
  border-radius: 194px;
  opacity: 1;
  border: 2px solid #ffffff;
  background: linear-gradient(90deg, #0ed3ac 0%, #00c590 97%);
  box-shadow: 0 -4px 10px 0 #00352a33;
  margin-top: -18px;
}
#icon-p p {
  height: 20px;
  opacity: 1;
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  font-family: "Alimama ShuHeiTi";
  letter-spacing: 1.92px;
}
#icon:hover #chat-icon {
  transform: scale(1.1);
  cursor: pointer;
}
p{
  margin-bottom: 0 !important;
}
button,
input,
optgroup,
select,
textarea {
  font-size: .75rem !important; /* 设置具体大小 */
  line-height: 0 !important; /* 设置具体行高 */
}

#icon:hover #icon-p {
  transform: translateY(-2px);
  background-color: #059669;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#chat-window {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  height: 400px;
  background-color: white;
  border: 1px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
}
#chat-window.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
#chat-header {
  padding: 10px 15px;
  background-color: #22c7a3;
  color: white;
  font-weight: bold;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#chat-window img {
  width: 30px;
  height: 30px;
}

#chat-messages {
  flex: 1;
  min-height: 200px;
  max-height: 450px;
  overflow-y: auto;
  padding: 10px;
  background-color: #f9f9f9;
}
#chat-input {
  display: flex;
  position: absolute;
  width: 300px;
  padding: 20px 20px;
  border-top: 1px solid #ebedf5;
  bottom: 1px;
}
#message-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ebedf5;
  border-radius: 4px;
  margin-right: 10px;
}
#message-input:focus {
  outline: none; /* 移除默认的聚焦轮廓 */
  border: 1px solid #22c7a3;
}
#send-button {
  padding: 8px 15px;
  background-color: #22c7a3;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#send-button:hover {
  background-color: #0056b3;
}
.user-message,
.bot-message {
  margin: 8px 0;
  padding: 10px;
  border-radius: 6px;
  max-width: 85%;
}
.user-message {
  background-color: #f8fffd;
  margin-left: auto;
  border: 1px solid #ebedf5;
}
.bot-message {
  background-color: #ffffff;
  border: 1px solid #ebedf5;
}
.content {
  padding: 20px;
}

/* 悬停效果 */
.back-to-top:hover {
  background-color: #4a8aff;
  transform: translateY(-3px);
}
/* 断电媒体查询 */
@media (max-width: 768px) {
  .section, .section2 {
    flex-direction: column;
    width: 100%;
    margin: 32px 0;
    height: auto;
  }

  .section:nth-child(even), .section2:nth-child(even) {
    flex-direction: column;
  }

  .section-text, .section-text2 {
    width: 100%;
    height: auto;
    padding: 20px;
  }
  .section-text2{
    margin-left: 0;
  }
  .section-image, .section-image2 {
    width: 100%;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section-image img, .section-image2 img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .section-image,.section-image2{
    height: unset;
  }

  .section-text p,.section-text2 p {
    width: 100%;
    margin: 10px 0;
    padding: 0 10px;
    height: auto;
  }

  .ad-content ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .ad-content2 li{
    flex-wrap: wrap;
    justify-content: center;
  }
  .ad-content2 li{
    white-space: normal;
    margin: 8px;
    height: auto;
  }
  .ad-content li {
    white-space: normal;
    margin: 8px;
    height: auto;
  }
  .tu,.tu2{
    height: auto;
  }
  .h2,.text h2{
    font-size: 2.5rem;
    width: auto;
  }
  .unline{
  width: 52px;
  height: 22px;
  margin: 34px 0 0;
  }
  .unline1{
    width: 52px;
  height: 22px;
  margin: 3.125rem 8rem 0;
  }
  header{
    width: 100% ;
  }
  footer p{
    width: 100% ;
    margin:auto;
  }
  .box,.box1{
    height: 30rem;
  }
  .custom-underline1{
    width: auto;
  }

}
/* 响应式调整 */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

}

/* 响应式导航栏样式 */
@media (max-width: 1380px) {
  .navbar {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #ffffffcc;
    padding: 1rem;
    display: none;
  }

  .navbar.show {
    display: block;
  }

  nav ul {
    flex-direction: column;
    margin: 0 !important;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0 !important;
    width: auto !important;
  }

  .navbar-toggler {
    display: block;
    border: none;
    padding: 1.5rem;
  }

  .navbar-toggler:focus {
    outline: none;
  }

  .navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(19, 38, 33, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
  }
}

@media (min-width: 1380px) {
  .navbar {
    display: block !important;
  }

  .navbar-toggler {
    display: none;
  }

  nav ul {
    margin: 0px 0 4px 51px !important;
  }

  nav ul li {
    margin: 0 32px !important;
  }
 }
