/* styles.css */
	:root{
		--bgColor:#076888;
		--bottomLine: #00000078;
	}


  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
  }

  html{
      font-size: 16px;
    }

  body {
    font-family: quicksand;
    color: #333;
    background-color: #f9f9f9;
  }

  body h1,body .aux-h1 {
      font-family: nunito
  }

  body h2,body .aux-h2 {
      font-family: nunito
  }

  body h3,body .aux-h3 {
      font-family: nunito
  }

  body h4,body .aux-h4 {
      font-family: nunito
  }

  body h5,body .aux-h5 {
      font-family: nunito
  }


   /* 顶部导航栏整体样式 */
  .top-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* 左中右对齐 */
    align-items: center; /* 垂直居中 */
    background-color: #fff;
    padding:25px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影提升层次 */
    position: relative;
  }


  .top-nav-show{
    position: sticky;
    top: 0px;
    z-index: 3;
  }


  /*移动端点击加载菜单按钮*/
  #jz_nav_menu_btn{
      height: 18px;
      position: relative;
      width: 21px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      position: absolute;
      top: 10%;
      left: 20px;
      opacity: 0;
  }



  #jz_nav_menu_btn div{
      background: #999;
      height: 2px;
      transition: .36s ease;
      width: 100%;
  }

  /* 添加的动画效果 */
  #jz_nav_menu_btn.active .top-line {
      transform: translateY(8px) rotate(45deg);
  }

  #jz_nav_menu_btn.active .center-line{
      opacity: 0;
  }

  #jz_nav_menu_btn.active .bottom-line {
      transform: translateY(-8px) rotate(-45deg);
  }


  /* logo 样式 */
  .logo {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
  }

  .logo,.logo a{
    display: flex;
  }

  .logo img{
    width: 200px;
  }

  /* 导航链接容器 */
  .nav-links {
    display: flex;
    gap: 30px; /* 链接间距 */
  } 

  .nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: color 0.3s ease; /* 鼠标悬停渐变 */
    height: 100%;
    font-weight: bold;
    border-bottom: 2px solid rgba(0,0,0,0);
  }

  .nav-links a:hover {
    color: var(--bottomLine); /* 悬停高亮色 */
     box-sizing: border-box;
    border-bottom: 2px solid var(--bgColor);
  }

  /* 搜索栏样式 */
  .search {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
  }

  .search .form-sec{
    display: flex;
    padding-top: 10px;
  }

  .search input[type=search]{
    width: 300px; /* 初始宽度，移动端适配 */
    padding: 5px;
    border: 1px solid rgba(0,0,0,.16);
    border-left: none;
    font-size: 12px;
    
    padding: 15px 10px;
  }
  .search input[type=search]:focus{
    border: 1px solid rgba(0,0,0,.16) !important;
    border-left:none !important;
    outline: none;
  }

  .search .type-sec{
    border-radius: 50px 0 0 50px;
    border: 1px solid rgba(0,0,0,.16) !important;
    border-right:1px solid rgba(0,0,0,.16) !important;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
  }

  .search .type-sec span{
    margin: 0 10px;
    font-weight: 600;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap:5px;
  }

  .search .type-sec span:first-child{
    margin-right: 0px;
  }

  .search .type-sec span>label,.search .type-sec span>input{
    cursor: pointer;
  }

  .search button {
    padding: 10px 30px;
    background-color: #076888;
    color: #fff;
    border: none;
    border-radius: 0 50px 50px 0;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,.16);
    border-left: none;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .search button:hover {
    background-color: #0056b3; /* 悬停高亮色 */
  }


/*语言选择框代码*/


  #lang_select{
    position:fixed;
    top:1px;
    right:1%;
    z-index:9999;
    border-radius:8px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    font-size:12px;
    display: flex;
    overflow: hidden;
  }

  #lang_select a{
    color:#333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-decoration:none;
    padding: 0.15rem;
    background: rgb(0, 0, 0, .2);
  }

  #lang_select a:last-child{
    padding-right: 0.3rem;
  }

  #lang_select a:first-child{
    padding-left: 0.3rem;
  }


  #lang_select a svg{
    display: flex;
    max-width: 40px;
    max-height: 30px;
  }

  #lang_select a:hover{
    color: white;
    background: rgb(0, 0, 0, .4);
  }



/* 响应式：小屏幕（如手机）适配 */

@media (max-width: 390px) {
  .search .type-sec{
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {

  .top-nav{
    flex-direction: column;
  }

  .logo img{
    width: 150px;
  }

  /*打开菜单按钮*/
  #jz_nav_menu_btn{
    opacity: 1;
  }

  .nav-links {
    gap: 0px; /* 缩小链接间距 */
    position: absolute;
    z-index: 4;
    width: 100%;
    top: 100%;
    padding: 0 10px;
    left: 0px;
    flex-direction: column;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
  }

  .nav-links.show{
    max-height:100vh;
    display: flex;
  }

  .nav-links a{
      color: #000;
      height: auto;
      font-size: 14px;
      box-sizing: border-box;
      line-height:40px;
      border: none;
      border-top: 1px solid rgba(0,0,0,.16);
  }

  .nav-links a:last-child{
     border-bottom: 1px solid rgba(0,0,0,.16);
  }

  .nav-links a:hover{
    border-bottom: none;
  }
  .nav-links a:last-child{
      border-bottom: 1px solid rgba(0,0,0,.16);
  }

  .search{
    width: 100%;
  }

  .search input {
    width: 80%; /* 缩小搜索框宽度 */
  }

  .search button {
    flex: 100px;
    padding: 0px;
  }
}


@media (max-width: 1024px) {
  .search{
    width: 100%;
    justify-content: center;
  }
  .search .form-sec input[type=search]{
    width: 80% !important; /* 缩小搜索框宽度 */
  }

  .search .form-sec button{
    min-width: 90px !important;
  }
}




  /* 头部绿色横幅 */
.green-banner {
  background: linear-gradient(to bottom, #008080, #00B0B0);
  background: var(--bgColor);
  color: #fff;
  padding: 20px 0;
}

.green-banner .content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 15px;
}

/* 二维码区域 */

.qr-code-list{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.qr-code {
  display: flex;
  flex-direction: column;
  align-items:center;
  max-width: 80px;
}

.qr-code .code{
  display: flex;
  border-radius: 10px;
  overflow: hidden;
}

.qr-code .code img {
  width: 100%;
  object-fit: cover;
}

.qr-code p{
  font-size: 12px;
  text-align: center;
  line-height: 20px;
}

/* 联系方式 */
.contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.contact p > a{
  text-decoration: none;
  color: #fff;
}

/* 导航栏 */
.nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
  justify-content: center;
  padding-top: 20px;
  flex-wrap: wrap;
}

.nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav a:hover {
  color: #00B0B0;
}

/* 响应式：移动端适配 */
@media (max-width: 768px) {
  .green-banner{
    padding-left: 10px;
    padding-right: 10px;
  }
   .green-banner .content {
    flex-direction: column;
    align-items: flex-start;
  }

  .qr-code {
      display: flex;
      width: 100px;
      height: auto;
      flex-direction: column;
      align-items: center;
  }

  .contact {
    margin-top: 20px;
  }

  .nav {
    gap: 10px;
  }
}

@media (max-width: 1024px) {
  html{
      font-size: 14px !important;
  }
}

@media (max-width: 992px) {
  html{
      font-size: 14px !important;
  }
}

@media (max-width: 768px) {
  html{
      font-size: 10px !important;
  }
}