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

 body {
  background: #fff;
   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
   min-height: 100vh;
   overflow-x: hidden;
   position: relative;
 }

 /* 边框流动 */
/* .flow-border {
  position: relative;
  height: 100%;
  background: #f5f5f5;
  overflow: hidden;
}

.flow-border::before {
  content: "";
  position: absolute;
  top: 2px;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3498db, transparent);
  animation: flow 3s linear infinite;
  -webkit-animation: flow 3s linear infinite;
}

@keyframes flow {
  0% { left: -100%; }
  100% { left: 100%; }
}
.flow-border::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3498db, transparent);
  animation: flow1 3s linear infinite;
  -webkit-animation: flow1 3s linear infinite;
}
@keyframes flow1 {
  0% { left: 100%; }
  100% { left: -100%; }
}
.flow-border span:before{
  content: '';
  width: 10px;
  height: 5px;
  background: #fff;
  position: absolute;
  left: 0;
  top: 0;
} */
 /* Navigation */
 .navbar {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 0.25rem 0.6rem;
   position: relative;
   z-index: 100;
 }

 .logo {
   width: 0.9rem;
   margin-right: 0.9rem;
 }

 .nav-left {
   display: flex;
   align-items: center;
   justify-content: flex-start;
 }
 .nav-left .logo:hover{
  opacity: .8;
 }
 .nav-center {
   display: flex;
   gap: 0.45rem;
   list-style: none;
   margin-top: .02rem;
 }
  .item-nav {
    position: relative;
    font-size: 0.16rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0.08rem;
  }
  .item-nav img {
    opacity: 0;
    width: 100%;
  }
  .item-nav.active a{
    font-weight: bold;
  }
  .item-nav.active:after {
    content: '';
    width: .7rem;
    height: 0.2rem;
    background: url(./images/focus2.png) no-repeat;
    background-position: left center; /* 垂直居中，避免偏移 */
    background-size: auto 100%; /* 高度充满容器（固定），宽度按比例自适应 */
    position: absolute;
    bottom: -.1rem;
    left: 50%;
    margin-left: -.3rem;
    border-radius: 50%;
    animation: navChange .3s linear infinite;
    animation-iteration-count: 1;
  }
  @keyframes navChange {
    0% {
      width: 0;
    }
    100% {
      width: .7rem;
    }
  }

 .nav-center a {
   color: rgba(30, 42, 74, 1);
   text-decoration: none;
   font-size: 0.16rem;
   font-weight: 400;
   transition: opacity 0.3s ease;
   cursor: pointer;
   position: relative;
   -webkit-transition: opacity 0.3s ease;
   -moz-transition: opacity 0.3s ease;
   -ms-transition: opacity 0.3s ease;
   -o-transition: opacity 0.3s ease;
}

 .nav-center a:hover {
   opacity: 0.5;
 }
 .item-nav:hover img{
    opacity: 1;
 }
 /* .nav-center a:hover::after,
 .nav-center a.active::after {
   display: block;
   content: "";
   position: absolute;
   bottom: -0.06rem;
   width: 100%;
   height: 0.02rem;
   opacity: 1;
   border-radius: 0.10rem;
   background: linear-gradient(90deg, rgba(97, 124, 232, 1) 0%, rgba(167, 191, 232, 1) 100%);
   filter: blur(0.5px);
   -webkit-border-radius: 0.10rem;
   -moz-border-radius: 0.10rem;
   -ms-border-radius: 0.10rem;
   -o-border-radius: 0.10rem;
} */

 .nav-right {
   display: flex;
   align-items: center;
   gap: 0.25rem;
 }

 .language-selector {
   color: rgba(30, 42, 74, 1);
   font-size: 0.16rem;
   cursor: pointer;
   transition: opacity 0.3s ease;
   display: flex;
   align-items: center;
   border-radius: 0.3rem;
   background: rgba(255, 255, 255, 0);
   padding: 0.12rem 0.24rem;
   -webkit-border-radius: 0.3rem;
   -moz-border-radius: 0.3rem;
   -ms-border-radius: 0.3rem;
   -o-border-radius: 0.3rem;
   font-weight: bold;
}
 .language-selector:hover {
   background: rgba(0, 0, 0, 0.1);
 }
@media (max-width: 768px) {
  .nav-center a {
    font-size: 0.34rem;
  }
  .language-selector {
    font-size: 0.34rem;
  }
  .item-nav {
    width: 2rem;
  }
}
.resume-button {
    width: 110px;
    height: 45px;
    line-height: 45px;
    font-size: 0.14rem;
    text-align: center;
    border-radius: 0.3rem;
    position: relative;
  }
 .resume-button span {
   display: inline-block;
   width: 100%;
   height: 100%;
   position: relative;
   background: rgba(30, 42, 74, 1);
   border: none;
   padding: 0 0.24rem;
   cursor: pointer;
   transition: background 0.5s;
   font-weight: 400;
   color: #fff;
   -webkit-border-radius: 0.3rem;
   -moz-border-radius: 0.3rem;
   -ms-border-radius: 0.3rem;
   -o-border-radius: 0.3rem;

}
.resume-button::before {
  content: '';
  position: absolute;
  top: -.5px;
  left: -.5px;
  right: -.5px;
  bottom: -.5px;
  z-index: -1;
  background: linear-gradient(45deg,
      #fff, #002bff, #fff, #002bff);
  background-size: 200%;
  border-radius: 0.2rem;
  transition: 0.5s;
  animation: animate 20s linear infinite;
  width: calc(100% + 1px);
  height: calc(100% + 1px);
  border-radius: 0.2rem;
  opacity: 0;
}

.resume-button:hover,
.resume-button:hover .news-content{
  background: #fff;
}
.resume-button:hover::before {
  opacity: 1;
  filter: blur(1px);
}

@keyframes animate {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 300% 0;
  }

  100% {
    background-position: 0 0;
  }
}
.resume-button2 {
  font-size: 0.14rem;
  /* border-radius: 0.3rem; */
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  -ms-border-radius: 40px;
  -o-border-radius: 40px;
  width: 110px;
  height: 45px;
  line-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: white;
  position: relative;
  cursor: pointer;
  font-weight: 700;
  transition-duration: .2s;
  background-color: rgba(30, 42, 74, 1);
}

.resume-button2:before, .resume-button2:after {
  content: '';
  position: absolute;
  left: -2px;
  top: -2px;
  border-radius: 42px;
  -webkit-border-radius: 42px;
  -moz-border-radius: 42px;
  -ms-border-radius: 42px;
  -o-border-radius: 42px;
  background: linear-gradient(45deg, 
    #2E5DED, #6d90fc,
    #83a0f7, #e1e1e1, #83a0f7, 
    #6d90fc, #2E5DED,#2E5DED);
  background-size: 400%;
  -webkit-background-size: 400%;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: -1;
  animation: steam 20s linear infinite;
  -webkit-animation: steam 20s linear infinite;
  opacity: 0;
}
.resume-button2:hover:before,
.resume-button2:hover:after{
  opacity: 1;
}
@keyframes steam {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.resume-button2:after {
  filter: blur(10px);
}




 /* .resume-button:hover span {
   background: rgba(73, 106, 156, 1);
   ;
 } */


 /* Footer */
 .footer {
   /* position: absolute; */
   bottom: 0;
   left: 0;
   right: 0;
   padding: 0.4rem 0.6rem;
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
   background: #fff;
   height: 2.2rem;
   z-index: 99;
 }

 .footer-left {
   color: #6c757d;
 }

 .footer-brand {
   font-size: 0.28rem;
   font-weight: 600;
   margin-bottom: 0.08rem;
   color: #1E2A4A;
   display: flex;
   align-items: baseline;
 }
 .footer-brand .text{
  font-size: 0.2rem;
  margin-left: .1rem;
 }
 .footer-info {
   font-size: 0.13rem;
   opacity: 0.8;
   line-height: 1.4;
 }

 .footer-right {
   display: flex;
   align-items: center;
   gap: 0.2rem;
 }

 .social-icons {
   display: flex;
   align-items: center;
   justify-content: space-between;
 }

 .social-icon {
   width: 0.34rem;
   margin-right: 0.2rem;
 }
 .social-icon.hover {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
 }

 .dy:hover .social-icon.hover {
  z-index: 99;
 }
 .dy {
   position: relative;
   cursor: pointer;
   font-size: 0.16rem;
 }

 .dy .qr-icon {
   position: absolute;
   top: -200%;
   left: -20%;
   display: none;
 }