ul li {
  list-style: none;
}
ul {
  padding: 0;
}
p {
  margin: 0;
  padding: 0;
}
/* 顶部 */
.top {
  height: 70px;
  display: flex;
}
.top .top-item:nth-child(1) {
  background-image: url('../images/index/top_01.png');
  background-repeat: no-repeat;
  background-size: contain;
  min-width: 200px;
}

.top .top-item:nth-child(2) {
  background-image: url('../images/index/top_02.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: right;
  flex: 1;
}

.top .top-item:nth-child(2) ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 100px;
}
.top .top-item:nth-child(2) ul li {
  list-style: none;
  margin: 40px 10px 0;
  font-size: 20px;
}
.top .top-item:nth-child(2) ul li img {
  height: 14px;
  margin-right: 4px;
}
.top .top-item:nth-child(2) ul li a {
  color: #000;
  text-decoration: none;
}
.top .top-item:nth-child(2) ul li {
  display: flex;
  align-items: center;
}

/* 导航 */
.navbar {
  background-color: #45b0fa;
}
.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.nav-item {
  padding: 0 20px;
}
.nav-item a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #45b0fa;
  font-size: 20px;
}
.nav-item a:focus {
  color: #fff;
}
.nav-item a:hover {
  color: #fff;
  border-bottom: 2px solid #fff;
}
.navbar .active {
  color: #fff;
  border-bottom: 2px solid #fff;
}

/* 汉堡菜单样式 */
.navbar-toggle {
  display: none;
  cursor: pointer;
  padding: 15px;
}

.toggle-icon {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* 移动端导航菜单 */
.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: #45b0fa;
  z-index: 1000;
}

.mobile-menu ul {
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  display: block;
}

.mobile-menu ul li.active a {
  font-weight: bold;
  border-bottom: 2px solid #fff;
}

/* banner */
.banner {
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
}
.banner img {
  width: 100%;
}
.banner .banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}
.banner .banner-text h3 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 30px;
}
.banner .banner-text h3:nth-child(2) {
  color: #f7a55c;
}
.banner .banner-text p {
  font-size: 16px;
  margin-top: 20px;
}
.banner .banner-text p span {
  padding: 10px 20px;
  border: 2px solid #fff;
  border-radius: 10px;
}
.pc-img {
  display: block;
}
.mobile-img {
  display: none;
}

.video-box {
  position: relative;
}
.video-box video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
@media (max-width: 768px) {
  .pc-img {
    display: none;
  }
  .mobile-img {
    display: block;
  }
}

.form-page {
  background-image: url('../images/index/form-page_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 50px 30px;
}

.form-page .form-box {
  display: flex;
  margin-top: 20px;
}

.form-page .form-box .input-box {
  display: flex;
  align-items: center;
  border: 1px solid #fff;
  padding: 5px 8px;
}

.form-page .form-box .input-box img {
  width: 10px;
  margin-right: 5px;
}

.form-page .form-box .input-box span {
  display: inline-block;
  width: 120px;
}

.form-page .form-box .input-box input {
  background-color: transparent;
  border: none;
  outline: none;
  color: #fff;
  line-height: 30px;
  width: 100%;
  font-size: 16px;
}

.form-page .form-box .btn-submit {
  display: inline-block;
  border: 1px solid #fff;
  padding: 8px 18px;
  margin-left: 10px;
}
.form-page a {
  text-decoration: none;
  display: inline-block;
}

.form-page .link-us {
  display: inline-block;
  text-align: center;
  width: 293px;
  background-color: #fff;
  padding: 8px 0;
  color: #77b715;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-page .link-us img {
  width: 20px;
  margin-right: 4px;
}

.form-page .link-us span {
  margin-top: 1px;
}

.footer {
  color: #5f5f5f;
  background-color: #222222;
  padding: 40px 0;
}

.footer a {
  color: #5f5f5f;
  text-decoration: none;
}

.footer h5 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  position: relative;
}

.footer h5::after {
  display: inline-block;
  content: '';
  width: 60px;
  height: 4px;
  background-color: #7db916;
  position: absolute;
  bottom: -10px;
  left: 0;
}

.footer li:nth-child(1) img {
  width: 200px;
}

.footer li:nth-child(2) {
  font-size: 20px;
}

.footer li:nth-child(2) img {
  height: 18px;
  padding-right: 2px;
  position: relative;
  top: -3px;
}

.footer li:nth-child(3) {
  font-size: 20px;
}

.footer li:nth-child(3) p a {
  line-height: 30px;
  display: flex;
  align-items: center;
}

.footer li:nth-child(3) img {
  height: 16px;
  padding-right: 4px;
}

/* 媒体查询 - 响应式设计 */
/* 平板设备 (小于 992px) */
@media (max-width: 991.98px) {
  /* 顶部栏调整 */
  .top {
    height: auto;
    flex-direction: column;
    align-items: center;
    padding: 5px 0;
  }
  .top .top-item:nth-child(1) {
    min-width: 150px;
    height: 50px;
    margin-bottom: 10px;
  }
  .top .top-item:nth-child(2) {
    background-position-x: center;
    width: 100%;
    text-align: center;
  }
  .top .top-item:nth-child(2) ul {
    justify-content: space-around;
    padding-right: 0;
    margin-bottom: 0;
  }
  .top .top-item:nth-child(2) ul li {
    margin: 10px 5px 0;
    font-size: 14px;
  }

  /* 导航栏调整 */
  .navbar-nav {
    display: none;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }

  /* Banner调整 */
  .banner .banner-text h3 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .banner .banner-text p {
    font-size: 14px;
    margin-top: 15px;
  }

  .banner .banner-text p span {
    padding: 8px 15px;
  }

  /* form-page调整 */
  .form-page {
    padding: 30px 20px;
  }

  .form-page h3 {
    font-size: 20px;
  }

  .form-page .form-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-page .form-box .input-box {
    width: 100%;
    margin-bottom: 10px;
  }

  .form-page .form-box .btn-submit {
    margin-left: 0;
  }

  .form-page .link-us {
    width: 250px;
    padding: 6px 0;
  }

  /* footer调整 */
  .footer {
    padding: 30px 0;
  }

  .footer h5 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .footer li:nth-child(1) img {
    width: 150px;
  }

  .footer li:nth-child(2) {
    font-size: 16px;
  }

  .footer li:nth-child(3) {
    font-size: 16px;
  }
}

/* 小平板/大屏手机 (小于 768px) */
@media (max-width: 767.98px) {
  /* 顶部栏调整 */
  .top .top-item:nth-child(1) {
    min-width: 120px;
    height: 40px;
  }
  .top .top-item:nth-child(2) ul {
    flex-wrap: wrap;
  }
  .top .top-item:nth-child(2) ul li {
    margin: 5px;
    font-size: 14px;
  }
  .top .top-item:nth-child(2) ul li a {
    font-size: 14px;
  }

  /* Banner调整 */
  .banner .banner-text {
    width: 100%;
  }
  .banner .banner-text h3 {
    font-size: 26px;
    margin-bottom: 15px;
    line-height: 36px;
  }

  /* form-page调整 */
  .form-page {
    padding: 20px 15px;
  }

  .form-page h3 {
    font-size: 18px;
  }

  .form-page .link-us {
    width: 200px;
    padding: 5px 0;
  }

  .form-page .form-box .input-box input {
    font-size: 14px;
  }

  /* footer调整 */
  .footer {
    padding: 20px 0;
  }

  .footer h5 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .footer li:nth-child(1) img {
    width: 120px;
  }

  .footer li:nth-child(2) {
    font-size: 14px;
  }

  .footer li:nth-child(3) {
    font-size: 14px;
  }
}

/* 手机设备 (小于 576px) */
@media (max-width: 575.98px) {
  /* 顶部栏调整 */
  .top .top-item:nth-child(1) {
    min-width: 100px;
    height: 35px;
    display: none;
  }
  .top .top-item:nth-child(2) ul li {
    font-size: 12px;
    margin: 3px;
  }
  .top .top-item:nth-child(2) ul li a {
    font-size: 12px;
  }
  .top .top-item:nth-child(2) ul li img {
    height: 12px;
  }

  /* Banner调整 */
  .banner .banner-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: left;
  }

  .banner .banner-text p {
    font-size: 15px;
    margin-top: 8px;
    text-align: left;
  }

  .banner .banner-text p span {
    padding: 4px 10px;
  }

  .banner .banner-text {
    padding: 0 10px;
  }

  /* form-page调整 */
  .form-page {
    padding: 15px 10px;
  }

  .form-page h3 {
    font-size: 16px;
  }

  .form-page .link-us {
    width: 180px;
    padding: 8px 10px;
    font-size: 16px;
  }

  .form-page .form-box .input-box input {
    font-size: 12px;
  }

  .form-page .form-box .btn-submit {
    padding: 6px 22px;
    font-size: 16px;
  }

  /* footer调整 */
  .footer {
    padding: 15px 0;
  }

  .footer li {
    margin-top: 10px;
  }

  .footer h5 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .footer li:nth-child(1) {
    text-align: center;
  }

  .footer li:nth-child(1) img {
    width: 100px;
  }

  .footer li:nth-child(2) {
    font-size: 12px;
  }

  .footer li:nth-child(3) {
    font-size: 12px;
  }
}

/* 超小屏幕 (小于 400px) */
@media (max-width: 399.98px) {
  /* 顶部栏调整 */
  .top .top-item:nth-child(2) ul {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 0;
  }
  .top .top-item:nth-child(2) ul li {
    margin: 2px 0;
  }

  /* Banner调整 */
  .banner .banner-text h3 {
    font-size: 16px;
    margin-bottom: 3%;
    text-align: left;
  }

  .banner .banner-text p span {
    padding: 3px 8px;
  }
}
