* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
  font-family: ‘microsoft yahei’;
}

/* 顶部导航栏 */
header {
  background: #ffffffcc;
  position: relative;
  width: 100%;
  height: 60px;
  opacity: 1;
  top: 0;
  z-index: 1000;
  display: flex;
}

.nav-container {
  display: flex;
  height: 3.75rem;
  align-items: center;
  margin: 0;
}

.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: 16px 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%;
}

/* 背景图 */
.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;
  /* display: block; */
}
.image-content {
  display: flex;
  flex-direction: column;
  margin-top: 0;
}
.content-wrapper img {
  width: 100%;
}
.content-wrapper {
  text-align: center;
  width: 100%;
  height: auto;
  opacity: 1;
  display: flex;
  margin-top: 39px;
}

/* 主体内容 */
.main-content {
  width: 100%;
  height: auto;
  opacity: 1;
  background: linear-gradient(180deg, #ecfaf9 0%, #d6f8f6 99%);
  background: #ffffff;
}
.text {
  width: 100%;
  height: 67px;
  opacity: 1;
  display: flex;
  justify-content: center;
  margin-top: 72px;
}
.text h2 {
  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";
  position: absolute;
  z-index: 1;
}

/* 下划线 */
.unline {
  width: 66px;
  height: 23px;
  opacity: 0.4000000059604645;
  background: linear-gradient(90deg, #5ce8cc 0%, #08d29b 100%);
  position: absolute;
  margin: 38px auto 4px;
}

/* 底部 */
footer {
  position: absolute;
  text-align: center;
  width: 100%;
  height: 102px;
  opacity: 1;
  background: #22c7a3;
  display: flex;
            align-items: center;
            justify-content: center;
}
footer p {
  width: auto;
  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;
  }

@media (max-width: 768px) {
  .section {
    flex-direction: column;
  }

  .section:nth-child(even) {
    flex-direction: column;
  }

  .ad-content ul {
    flex-wrap: wrap;
  }

  .ad-content li {
    white-space: normal;
    margin-bottom: 8px;
  }
}
/* 返回按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  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);
}

/* 悬停效果 */
.back-to-top:hover {
  background-color: #4a8aff;
  transform: translateY(-3px);
}

/* 窗口交互 */

#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;
}

#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-header p {
  margin-left: 10px;
}
#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;
  transition: border-color 0.2s ease; /* 添加过渡效果 */
}
#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;
}
p {
  margin-bottom: 0 !important;
}
button,
input,
optgroup,
select,
textarea {
  font-size: 0.75rem !important; /* 设置具体大小 */
  line-height: 0 !important; /* 设置具体行高 */
}
/* 断点媒体查询 */
@media screen and (max-width: 1440px) {
  #icon {
    position: fixed;
    bottom: 300px;
    right: 40px;
  }
  #chat-window {
    position: fixed;
    bottom: 300px;
    right: 40px;
  }
}
/* 响应式调整 */
@media (max-width: 1920px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
@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%;
    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: 60%;
    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;
  }

  .ad-content ul,
  .ad-content2 ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ad-content li,
  .ad-content2 li {
    white-space: normal;
    margin: 8px;
  }
  .tu {
    height: auto;
  }
}
/* 响应式调整 */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* 响应式导航栏样式 */
@media (max-width: 1379.98px) {
  .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;
    background-color: #ffffffcc;
  }

  .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;
  }
}
