body {
  font-family: 'Roboto-Light-10';
  overflow-x: hidden;
  color: var(--text-dark);
  line-height: 1.6;
}
:root {
  --primary-color: #004a98;
  --text-dark: #2d2a26;
  --text-light: #fff;
  --light-gray: #f1efec;
  --medium-gray: #adb5c1;
  --dark-gray: #625f5c;
  --error-color: #c33339;
  --success-color: #4CAF50;
  --transition-duration: 0.3s;
  --container-padding: 1rem;
  --section-padding: 2rem 0;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
body {
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  color: var(--text-dark);
  line-height: 1.6;
}
/* 响应式图片 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* 添加页面锚点偏移 */
[id]:target {
  scroll-margin-top: 120px;
}
/* 响应式基础样式*/
.container,
.navbar .container,
.banner .content,
.form .formArea,
.contact .contactArea {
  max-width: 1300px;
  width: 90%;
  margin: 0 auto;
  padding: var(--container-padding);
  box-sizing: border-box;
  /* 添加这个确保内边距包含在宽度内 */
}
/* 导航栏区域 */
.navbar {
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0 1rem;
  transition: transform 0.3s ease-in-out;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  padding: 0;
  /* 移动端汉堡导航栏 */
  /* 导航菜单栏 */
}
.navbar .container .logo {
  height: 3.5rem;
  width: 120px;
}
.navbar .container .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.navbar .container .mobile-menu-toggle {
  display: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s;
}
.navbar .container .mobile-menu-toggle:hover {
  color: #ff9800;
}
.navbar .container .nav-items {
  display: flex;
  list-style: none;
  transition: all var(--transition-duration);
  /* 下拉菜单样式 */
}
.navbar .container .nav-items .nav-item {
  position: relative;
  white-space: nowrap;
}
.navbar .container .nav-items .nav-item a {
  display: flex;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 0.8rem;
  transition: all 0.3s;
  align-items: center;
}
.navbar .container .nav-items .nav-item a p {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
}
.navbar .container .nav-items .nav-item a p span {
  margin-left: 5px;
}
.navbar .container .nav-items .dropdown .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  min-width: 12.5rem;
  transition: all var(--transition-duration);
  list-style: none;
  padding: 0.5rem 0;
}
.navbar .container .nav-items .dropdown .dropdown-menu li {
  padding: 0.5rem 1rem;
}
.navbar .container .nav-items .dropdown .dropdown-menu a {
  text-decoration: none;
  color: white;
  position: relative;
  padding: 0.5rem 1rem;
  display: block;
  font-size: 0.9rem;
}
.navbar .container .nav-items .dropdown .dropdown-menu a:hover {
  color: white;
  font-weight: 500;
}
.navbar .container .nav-items .dropdown .dropdown-menu a:before {
  content: "";
  position: absolute;
  width: 90%;
  height: 2px;
  bottom: -0.3125rem;
  left: 0;
  background: currentColor;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
}
.navbar .container .nav-items .dropdown .dropdown-menu a:hover:before {
  visibility: visible;
  transform: scaleX(1);
}
.navbar .container .nav-items .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: 100%;
}
.navbar.hidden {
  transform: translateY(-100%);
}
.elevator-nav.visible {
  top: 0;
}
/* Banner区域 */
.banner {
  height: 40vh;
  min-height: 500px;
  width: 100vw;
  position: relative;
  overflow: hidden;
}
.banner .background-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #004a98;
}
.banner .content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 2rem;
}
.banner .content .top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.banner .content .top div a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.banner .content .top div:nth-child(1) a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.banner .content .top div:nth-child(1) a span {
  margin-left: 0.9375rem;
}
.banner .content .top div:nth-child(1) a:hover {
  color: #fff;
}
.banner .content .top div:nth-child(1) a::before {
  content: "";
  position: absolute;
  width: 80%;
  /* 改为100%宽度 */
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  transform-origin: left center;
  /* 添加变换起点 */
  transform: scaleX(0);
  /* 初始状态 */
  transition: transform 0.3s ease-in-out;
}
.banner .content .top div:nth-child(1) a:hover:before {
  transform: scaleX(1);
  /* 结束状态 */
  transform-origin: left center;
  /* 可选反向动画 */
}
.banner .content .top div:nth-child(2) a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.banner .content .top div:nth-child(2) a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  /* 下划线高度 */
  background: #ffffff;
  /* 半透明下划线 */
  transform: scaleX(1);
  /* 控制下划线长度 (0-1) */
  transform-origin: center;
  transition: transform 0.3s ease;
}
.banner .content .bottom {
  margin-bottom: 2rem;
}
.banner .content .bottom h3 {
  font-size: clamp(2rem, 8vw, 6.375rem);
  font-weight: 400;
  line-height: 1.2;
}
.banner .content .bottom p {
  margin-top: 1.75rem;
  color: #f6f5f2;
  font-size: 1.625rem;
  font-weight: 400;
}
.banner .content .btn {
  margin-left: 40px;
  height: 64px;
  width: 212px;
}
.banner .content .btn a {
  height: 64px;
  width: 212px;
  /* 给按钮添加交互效果 */
}
.banner .content .btn a .contact-link {
  background: #fff;
  font-weight: 500;
  line-height: 64px;
  color: #000;
  font-size: 20px;
  padding: 0 20px;
  height: 64px;
  width: 212px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}
.banner .content .btn a .contact-link .iconfont {
  margin-left: 1.25rem;
  color: #000;
  font-size: 20px;
  transition: color 0.3s ease;
}
.banner .content .btn a .contact-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #004a98;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  /* 关键修复：添加相同的圆角 */
}
.banner .content .btn a .contact-link:hover {
  color: #fff;
}
.banner .content .btn a .contact-link:hover::before {
  transform: translateX(100%);
}
.banner .content .btn a .contact-link:hover span {
  color: #fff;
}
/* 咨询表单展示区域 */
.form {
  width: 100%;
  background-color: #fff;
  padding: 80px 0;
}
.form .formArea {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.form .formArea .left {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}
.form .formArea .left h3 {
  color: var(--text-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.2;
}
.form .formArea .left p {
  color: var(--dark-gray);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 20px;
  line-height: 1.5;
}
.form .formArea .right {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* 输入框错误状态 */
  /* 添加验证成功时的输入框样式 */
  /* 输入框聚焦效果 */
  /* 输入框聚焦时隐藏placeholder */
}
.form .formArea .right .inputBox {
  position: relative;
  margin-bottom: 1rem;
  /* 错误提示样式 */
}
.form .formArea .right .inputBox .text {
  position: absolute;
  height: 20px;
  width: auto;
  font-size: 14px;
  color: var(--text-dark);
  left: 20px;
  top: -10px;
  line-height: 20px;
  z-index: 99;
  background-color: #fff;
  padding: 0 12px;
}
.form .formArea .right .inputBox input {
  width: 100%;
  height: 62px;
  border: 1px solid var(--medium-gray);
  padding: 10px 20px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dark);
  background-color: white;
}
.form .formArea .right .inputBox ::-webkit-input-placeholder {
  color: #adb5c1;
  font-size: 24px;
}
.form .formArea .right .inputBox select {
  width: 100%;
  height: 62px;
  border: 1px solid var(--medium-gray);
  padding: 10px 20px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dark);
  background-color: white;
  appearance: none;
  background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23625f5c'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") no-repeat right 10px center / 15px 15px;
  padding-right: 35px !important;
  /* 下拉菜单选项样式 */
}
.form .formArea .right .inputBox select option {
  font-size: 18px;
  padding: 10px;
  color: #2d2a26;
}
.form .formArea .right .inputBox .error-message {
  position: absolute;
  bottom: -25px;
  left: 20px;
  color: var(--error-color);
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.form .formArea .right .inputBox.error input,
.form .formArea .right .inputBox.error select,
.form .formArea .right .textBox.error textarea {
  border-color: #c33339 !important;
}
.form .formArea .right .inputBox.valid input,
.form .formArea .right .inputBox.valid select,
.form .formArea .right .textBox.valid textarea {
  border-color: #4CAF50 !important;
}
.form .formArea .right .inputBox input:focus,
.form .formArea .right .inputBox select:focus,
.form .formArea .right .textBox textarea:focus {
  border: 3px solid #1799d6 !important;
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.form .formArea .right .inputBox input:focus::-webkit-input-placeholder,
.form .formArea .right .textBox textarea:focus::-webkit-input-placeholder {
  color: transparent;
}
.form .formArea .right .inputBox input:focus::-moz-placeholder,
.form .formArea .right .textBox textarea:focus::-moz-placeholder {
  color: transparent;
}
.form .formArea .right .inputBox input:focus:-ms-input-placeholder,
.form .formArea .right .textBox textarea:focus:-ms-input-placeholder {
  color: transparent;
}
.form .formArea .right .inputBox input:focus::placeholder,
.form .formArea .right .textBox textarea:focus::placeholder {
  color: transparent;
}
.form .formArea .right .label {
  height: auto;
  width: 618px;
  margin-bottom: 30px;
}
.form .formArea .right .label h3 {
  font-weight: 400;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-dark);
  margin-bottom: 10px;
}
.form .formArea .right .textBox {
  position: relative;
  /* 错误提示样式 */
}
.form .formArea .right .textBox .text {
  position: absolute;
  height: 20px;
  width: auto;
  font-size: 14px;
  color: var(--text-dark);
  left: 20px;
  top: -10px;
  line-height: 20px;
  z-index: 99;
  background-color: #fff;
  padding: 0 12px;
}
.form .formArea .right .textBox textarea {
  width: 100%;
  height: 158px;
  border: 1px solid var(--medium-gray);
  padding: 20px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dark);
  resize: vertical;
}
.form .formArea .right .textBox textarea::-webkit-input-placeholder {
  color: #adb5c1;
  font-size: 24px;
}
.form .formArea .right .textBox .error-message {
  position: absolute;
  bottom: -25px;
  left: 20px;
  color: var(--error-color);
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.form .formArea .right .checkBox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form .formArea .right .checkBox input[type="checkBox"] {
  margin-top: 5px;
}
.form .formArea .right .checkBox span {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--dark-gray);
  font-weight: 500;
  line-height: 1.5;
}
.form .formArea .right .submit {
  /* 创建背景填充层 */
}
.form .formArea .right .submit button {
  width: 100%;
  height: 64px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #fff;
  background-color: var(--primary-color);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: var(--border-radius);
}
.form .formArea .right .submit button:hover {
  background-color: #003872;
}
/* 联系方式区域 */
.contact {
  width: 100%;
  background-color: var(--light-gray);
  padding: 60px 0;
}
.contact .contactArea {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}
.contact .contactArea .contain {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}
.contact .contactArea .contain .pic {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.contact .contactArea .contain .pic img {
  font-size: 2rem;
  color: white;
}
.contact .contactArea .contain h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  margin-bottom: 15px;
  font-weight: 500;
}
.contact .contactArea .contain p {
  color: var(--primary-color);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
}
.contact .contactArea .contain:hover {
  transform: translateY(-5px);
}
/* 底部区 */
footer {
  background-color: #2d2a26;
}
footer .container .logoArea {
  max-width: 10rem;
  height: 120px;
  width: 160px;
  margin-bottom: 1.25rem;
}
footer .container .logoArea a img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
footer .container .bottomNav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
}
footer .container .bottomNav .list {
  flex: 1;
  min-width: 200px;
}
footer .container .bottomNav .list h2 {
  height: 52px;
  width: 180px;
  font-size: 19px;
  color: #fff;
  font-weight: 400;
  margin-bottom: 24px;
}
footer .container .bottomNav .list h2 a {
  color: #fff;
  position: relative;
  /* 确保伪元素定位基准 */
  display: inline-block;
  /* 保持下划线宽度正确 */
  text-decoration: none;
}
footer .container .bottomNav .list h2 a::before {
  content: "";
  position: absolute;
  width: 100%;
  /* 改为100%宽度 */
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  transform-origin: center;
  /* 添加变换起点 */
  transform: scaleX(0);
  /* 初始状态 */
  transition: transform 0.3s ease-in-out;
}
footer .container .bottomNav .list h2 a:hover::before {
  transform: scaleX(1);
  /* 结束状态 */
  transform-origin: center;
  /* 可选反向动画 */
}
footer .container .bottomNav .list ul li {
  margin-bottom: 15px;
}
footer .container .bottomNav .list ul li a {
  color: #e8e5df;
  font-size: 14px;
  font-weight: 400;
  position: relative;
  /* 确保伪元素定位基准 */
  display: inline-block;
  /* 保持下划线宽度正确 */
  text-decoration: none;
}
footer .container .bottomNav .list ul li a::before {
  content: "";
  position: absolute;
  width: 100%;
  /* 改为100%宽度 */
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #e8e5df;
  transform-origin: center;
  /* 添加变换起点 */
  transform: scaleX(0);
  /* 初始状态 */
  transition: transform 0.3s ease-in-out;
}
footer .container .bottomNav .list ul li a:hover::before {
  transform: scaleX(1);
  /* 结束状态 */
  transform-origin: center;
  /* 可选反向动画 */
}
footer .container .copyright {
  height: auto;
  text-align: center;
  line-height: 24px;
}
footer .container .copyright p {
  color: #e8e5df;
  font-size: 20px;
}
/* 响应式媒体查询 */
@media (max-width: 992px) {
  /* 汉堡菜单样式 */
  .navbar {
    width: 100vw;
  }
  .navbar .container {
    width: 90%;
    padding: 0 15px;
    box-sizing: border-box;
    /* 确保内边距包含在宽度内 */
    /* 增加选择器权重 */
  }
  .navbar .container .logo {
    max-width: 100px;
    /* 限制Logo宽度 */
  }
  .navbar .container .mobile-menu-toggle {
    display: block !important;
    right: 15px;
    /* 确保汉堡按钮在可视区域内 */
  }
  .navbar .container .nav-items {
    position: fixed;
    top: 3.75rem;
    left: -100%;
    width: 80%;
    height: calc(100vh);
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 2rem 1rem;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }
  .navbar .container .nav-items .nav-item {
    margin: 0.5rem 0;
    width: 100%;
  }
  .navbar .container .nav-items.active {
    left: 0 !important;
  }
  .dropdown-menu {
    position: static !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    min-width: auto !important;
    padding: 0 !important;
    margin-top: 0.5rem;
    display: none;
  }
  .dropdown-menu.active {
    display: block !important;
  }
  .dropdown-menu li {
    padding: 0.5rem 0 !important;
  }
  .dropdown-menu a {
    padding-left: 1.5rem !important;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
    transform: none;
    top: auto;
  }
  .banner {
    min-height: 500px;
  }
  .banner .content {
    padding: 1rem 0.9375rem;
  }
  .banner .top div:nth-child(2) {
    margin-left: 0;
  }
  .banner .content .bottom p {
    font-size: 1rem;
  }
  .banner .content .top {
    margin-top: 3.125rem;
  }
  /* 咨询表单区域样式 */
  .form .formArea .right .label {
    width: 90%;
    padding: 16px;
  }
  .form .formArea .right .label h3 {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .banner,
  .contactArea,
  footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* 导航栏样式 */
  .navbar .container {
    padding: 0 10px;
  }
  .navbar .mobile-menu-toggle {
    display: block;
    right: 10px;
  }
  /* 咨询表单样式 */
  .form {
    padding: 50px 0;
  }
  .form .formArea .left {
    min-width: 100%;
  }
  .form .formArea .right {
    min-width: 100%;
  }
  .form .formArea .right .inputBox input,
  .form .formArea .right .inputBox select,
  .form .formArea .right .textBox textarea {
    font-size: 1rem;
  }
  /* 联系区域样式 */
  .contact .contactArea .contain {
    min-width: 100%;
  }
  body {
    padding: 0;
  }
  .banner,
  .contactArea,
  footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .banner .content {
    padding: 1rem;
  }
  .banner .top {
    flex-direction: column;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  /* 导航栏区域样式 */
  .navbar .container {
    height: 4rem;
  }
  .navbar .logo {
    height: 2.5rem;
  }
  /* 咨询表单区域 */
  .form {
    padding: 40px 0;
  }
  .banner {
    min-height: 400px;
  }
  .banner .bottom h3 {
    font-size: 2.5rem;
  }
}
