@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon.eot?7kkyc2');
  src: url('../fonts/icomoon.eot?7kkyc2#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?7kkyc2') format('truetype'),
    url('../fonts/icomoon.woff?7kkyc2') format('woff'),
    url('../fonts/icomoon.svg?7kkyc2#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  background-color: #fff;
}

span {
  font-family: 'icomoon';
}

/* 导航栏开始 */
.dh {
  height: 80px;
  background-color: #f7f7f7;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 80px;
  width: 270px;
}

.logo .logo1 {
  width: 55px;
  height: 55px;
  margin-left: 0;
  vertical-align: middle;
}

.logo .QuietZone {
  margin-left: 20px;
  width: 130px;
  height: 25px;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-menu ul li {
  margin-right: 15px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.7s ease;
}

.nav-menu ul li a:hover {
  color: white;
  background-color: #0a9ce7;
  border-color: #0A9CE7;
}

.nav-menu ul li a.active {
  color: white;
  background-color: #0a9ce7;
  border-color: #0A9CE7;
}

.user-actions {
  display: flex;
  align-items: center;
  height: 80px;
}

.user-actions a {
  text-decoration: none;
  margin-left: 10px;
  padding: 8px 16px;
  border-radius: 4px;
}

.user-center {
  color: #929292;
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

.login-btn {
  width: 70px;
  text-align: center;
  background-color: #0a9ce7;
  color: #fff;
  font-weight: 500;
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

.user-actions span {
  font-size: 16px;
  vertical-align: middle;
  display: inline-block;
  line-height: 40px;
}

/* 移动端导航操作容器 */
.mobile-nav-actions {
  display: none;
  align-items: center;
}

/* 移动端登录按钮 */
.mobile-login {
  margin-right: 20px;
}

.mobile-login .login-btn {
  text-decoration: none;
}

/* 汉堡菜单 */
.hamburger {
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease;
  background-color: #333;
}

.hamburger-box {
  position: absolute;
  top: 80px;
  right: 15px;
  width: 200px;
  background-color: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 1000;
  display: none;
}

.hamburger-box.active {
  display: block;
}

.hamburger-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hamburger-box ul li {
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.hamburger-box ul li:last-child {
  border-bottom: none;
}

.hamburger-box ul li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  display: block;
  transition: all 0.3s ease;
}

.hamburger-box ul li:hover {
  background-color: #f0f0f0;
}

.hamburger-box ul li a:hover {
  color: #0a9ce7;
}

/* 导航栏模块结束 */
/* 轮播图模块 */
/* 轮播图模块，引用bootstrap的carousel类 */

.carousel-item {
  height: 600px;
}

.carousel-item img {
  height: 100%;
  width: 100%;
}

.carousel-item:first-child .carousel-caption h6,
.carousel-item:first-child .carousel-caption p {
  color: #929292;
}

.carousel-search {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 500px;
  z-index: 10;
}

.search-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 10px;
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 100;
  display: none;
  animation: fadeIn 0.3s ease;
}

.search-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-box ul li {
  padding: 12px 25px;
  border-bottom: 1px solid #f8f8f8;
  transition: all 0.3s ease;
}

.search-box ul li:last-child {
  border-bottom: none;
}

.search-box ul li a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 400;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 20px;
}

.search-box ul li a::before {
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  color: #0a9ce7;
}

.search-box ul li:hover {
  background-color: #f0f8ff;
  padding-left: 5px;
}

.search-box ul li:hover a {
  color: #0a9ce7;
  padding-left: 25px;
}

.search-box ul li:hover a::before {
  opacity: 1;
  left: 5px;
}

.search-input-group {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.search-input-group .form-control {
  border: none;
  border-radius: 30px 0 0 30px;
  padding: 12px 25px;
  font-size: 16px;
  flex: 1;
  background-color: transparent;
  outline: none;
}

.search-input-group .btn-primary {
  width: 90px;
  border: none;
  border-radius: 30px;
  margin-right: 20px;
  font-size: 16px;
  font-weight: 500;
  background-color: #0a9ce7;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}



/* 轮播图模块结束 */
/* 内容模块开始 */
.content {
  display: grid;
  grid-template-columns: 2.8fr 1fr 1fr;
  width: 85%;
  height: 500px;
  margin: 0 auto;
}

.c-l h2 {
  font-size: 32px;
  font-weight: 500;
  padding: 50px 0px 5px 0px;
}

.c-l h7 {
  color: #929292;
}

.c-l .sy-block {
  width: 90px;
  height: 10px;
  background-color: #FF0000;
  margin-top: 10px;
}

.c-l p {
  width: 720px;
  font-size: 16px;
  font-weight: 400;
  margin-top: 40px;
  color: #929292;
}

.content .picture1,
.content .picture2 {
  width: 280px;
  height: 200px;
  margin: 190px auto 0;
}

.picture1 img,
.picture2 img {
  width: 100%;
  height: 100%;
}

/* 内容模块结束 */
/* 底栏开始 */
.last {
  position: relative;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  height: 180px;
  margin: 0 auto;
  margin-top: 100px;
  padding: 20px;
  background-color: #0a9ce7;
  border: 3px solid #fff;
}

.last .logo-last {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 160px;
  height: auto;
}

.last .logo-last img {
  width: 100%;
  height: auto;
  display: block;
}



.last ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  min-width: 120px;
  text-align: center;
  margin-left: 50px;
}

.last h5 {
  font-weight: 500;
  color: #fff;
}

.last ul li {
  margin: 0;
}

.last p {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  padding: 0;
  text-align: right;
  max-width: 50%;
}

.last ul li a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  transition: color 0.3s ease;
}

.last ul li a:hover {
  color: #e0e0e0;
}

/* 底栏结束 */

/* 响应式布局 根据bootstrap的响应式尺寸 */
/* 超大屏 */
@media (max-width: 1199.98px) {

  .nav-menu ul li:nth-child(5),
  .nav-menu ul li:nth-child(6) {
    display: none;
  }
}

/* 大屏 (lg) */
@media (max-width: 991.98px) {
  .mobile-nav-actions {
    display: flex;
  }

  .hamburger-box {
    display: none;
  }

  .carousel-item {
    height: 500px;
  }

  .carousel-item img {
    height: 100%;
    object-fit: cover;
  }

  .nav-menu {
    display: none;
  }

  .content {
    grid-template-columns: 2fr;
    height: auto;
  }

  .content .picture1,
  .content .picture2 {
    margin-top: 20px;
  }

  .user-actions {
    display: none;
  }

  .last {
    flex-wrap: wrap;
    gap: 50px;
    height: auto;
    padding: 20px;
    padding-left: 180px;
  }

  .last ul {
    min-width: 100px;
    margin-left: 0;
  }

  .last p {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 30px;
    text-align: center;
    max-width: 100%;
  }
}

/* 中屏 (md) */
@media (max-width: 767.98px) {
  .logo {
    width: auto;
  }

  .logo .QuietZone {
    display: block;
    width: 100px;
    height: 20px;
  }

  .mobile-login .login-btn {
    width: 60px;
    padding: 6px 12px;
    font-size: 14px;
  }

  .carousel-item {
    height: 400px;
  }

  .carousel-item img {
    height: 100%;
    object-fit: cover;
  }

  .content {
    grid-template-columns: 1fr;
    height: auto;
  }

  .content .picture1,
  .content .picture2 {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
  }

  .c-l h2 {
    font-size: 22px;
    padding-top: 30px;
    margin-left: 15px;
  }

  .c-l h7 {
    margin-left: 15px;
  }

  .c-l .sy-block {
    margin-left: 15px;
  }

  .c-l p {
    width: 100%;
    font-size: 14px;
    margin-left: 15px;
  }

  .hamburger-box {
    width: 180px;
  }

  .last {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
  }

  .last .logo-last {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 20px;
  }

  .last ul {
    min-width: 100%;
    margin-left: 0;
  }

  .last p {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 30px;
    text-align: center;
    max-width: 100%;
  }
}

/* 小屏 (sm) */
@media (max-width: 575.98px) {
  .logo .logo1 {
    width: 45px;
    height: 45px;
  }

  .mobile-login .login-btn {
    width: 55px;
    font-size: 13px;
  }

  .carousel-item {
    height: 300px;
  }

  .carousel-item img {
    height: 100%;
    object-fit: cover;
  }

  .content {
    grid-template-columns: 1fr;
    height: auto;
  }

  .c-l h2 {
    font-size: 20px;
    padding-top: 30px;
    margin-left: 12px;
  }

  .c-l p {
    width: 100%;
    font-size: 12px;
    margin-left: 12px;
  }

  .c-l h7 {
    margin-left: 12px;
  }

  .c-l .sy-block {
    margin-left: 12px;
  }

  .content .picture1,
  .content .picture2 {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
  }

  .hamburger-box {
    width: 160px;
  }

  .hamburger-box ul li a {
    font-size: 13px;
  }

  .last {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 15px;
  }

  .last .logo-last {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 15px;
    width: 120px;
  }

  .last ul {
    min-width: 100%;
    margin-left: 0;
  }

  .last h5 {
    font-size: 14px;
  }

  .last ul li a {
    font-size: 12px;
  }

  .last p {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    text-align: center;
    max-width: 100%;
    font-size: 11px;
  }
}