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

 a {
     -webkit-tap-highlight-color: transparent;text-decoration: none;
 }

 body {
     background: linear-gradient(180deg, #f8fafc, #e0e7ff);
     color: #1f2937;
     overflow-x: hidden;
     min-width: 320px;
 }
 .top a{color: red;font-size: 1.5rem;}
 .top{height: 3rem; display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 0 3rem;position: fixed; background-color: #fff;
     top: 0rem;z-index: 999;
     left: 0;}
 .top h2{font-size: 1.5rem; color: #5b71be;}

 /* 动画类 */
 .animate-on-scroll {
     opacity: 0;
     transform: translateY(30px);
     transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .animate-on-scroll.visible {
     opacity: 1;
     transform: translateY(0);
 }

 /* 导航栏 */
 .navbar {
     position: fixed;
      top: 3rem;
     left: 0;
     width: 100%;
     background: linear-gradient(135deg, #1e3a8a, #a5b4fc);
     padding: 1.5rem 3rem;
     display: flex;
     justify-content: space-between;
     align-items: center;
     z-index: 1000;
     box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
 }

 .logo {
     color: #fff;
     font-size: 1.8rem;
     font-weight: 700;
     text-decoration: none;
 }

 .nav-links {
     display: flex;
     list-style: none;
 }

 .nav-links li {
     margin-left: 2rem;
 }

 .nav-links a {
     color: #fff;
     text-decoration: none;
     font-size: 1rem;
     transition: opacity 0.3s;
 }

 .nav-links a:hover {
     opacity: 0.9;
 }

 .hamburger {
     display: none;
     font-size: 1.8rem;
     color: #fff;
     cursor: pointer;
 }

 .close-btn {
     display: none;
     position: absolute;
     top: 1.5rem;
     right: 1.5rem;
     font-size: 1.8rem;
     color: #fff;
     cursor: pointer;
 }


 /* 响应式 */
 @media (max-width: 768px) {
      .top{height: 2rem; display: flex;  padding: 0 1rem;position: fixed; 
     top: 0rem;z-index: 999;
     left: 0;}
 .top h2{font-size: 0.9rem;}
 .top a{color: red;font-size: 0.9rem;}
     .logo {
         font-size: 1.3rem;
     }

     /*.footer-section:nth-child(2) {*/
     /*    display: none;*/
     /*}*/

     body {
         overflow-x: hidden;
     }

     .navbar {
         padding: 1.2rem 1.5rem;
         height: 4.5rem;
         top: 2rem;
     }

     .nav-links {
         position: fixed;
         top: 2rem;
         right: -100%;
         height: 100vh;
         width: 18rem;
         background: #1e3a8a;
         flex-direction: column;
         justify-content: center;
         align-items: center;
         transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
     }

     .nav-links.active {
         right: 0;
     }

     .nav-links li {
         margin: 1.1rem 0;
     }

     .nav-links a {
         font-size: 1.1rem;
     }

     .hamburger {
         display: block;
     }

     .close-btn {
         display: block;
     }


     .footer {
         padding: 3rem 1.2rem;
     }

     .footer-content {
         display: grid;
         grid-template-columns: repeat(2, 1fr);
         gap: 0.9rem;
         max-width: calc(100% - 2rem);
     }

     .footer-section {
         min-width: unset;
     }

     .footer-section h3 {
         font-size: 1.2rem;
     }

     .footer-section p,
     .footer-section a {
         font-size: 0.9rem;
     }

     .footer-bottom {
         font-size: 0.9rem;
     }
 }


 /* 底部导航 */
 .footer {
     padding: 3rem 0rem;
     background: #1e3a8a;
     color: #fff;
     text-align: center;
     max-width: 100%;
 }

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

 .footer-content {
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 1.5rem;
     max-width: calc(100% - 6rem);
     margin: 0 auto;
     margin-bottom: 2.5rem;
 }

 .footer-section {
     flex: 1;
     min-width: 15rem;
 }

 .footer-section h3 {
     font-size: 1.5rem;
     margin-bottom: 1.5rem;
 }

 .footer-section p,
 .footer-section a {
     font-size: 0.9rem;
     color: #d1d5db;
     text-decoration: none;
     margin-bottom: 0.75rem;
     display: block;
 }

 .footer-section a:hover {
     color: #fff;
 }

 .footer-bottom {
     font-size: 0.9rem;
     margin-top: 2rem;
 }

 .hero {
     height: 285px;
     background: url('../images/hebg.jpg') center/cover no-repeat;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     color: #fff;
     position: relative;
     max-width: 100%;
     overflow-x: hidden;
     /*margin-top: 4.5rem !important;*/
 }

 /* 动画类 */
 .animate-on-scroll {
     opacity: 0;
     transform: translateY(30px);
     transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .animate-on-scroll.visible {
     opacity: 1;
     transform: translateY(0);
 }

 ::-webkit-scrollbar {
     width: 5px;
     /* 滚动条宽度 */
 }

 ::-webkit-scrollbar-track {
     background: #f1f1f1;
     border-radius: 1.5px;
 }

 ::-webkit-scrollbar-thumb {
     background: #a0b0f8;
     border-radius: 1.5px;
     transition: background 0.3s;
 }

 ::-webkit-scrollbar-thumb:hover {
     background: #879bf7;
 }

 /* 隐藏上下按钮 */
 ::-webkit-scrollbar-button {
     display: none;
 }
 .footer-section img{display: block; width: 10rem; margin: auto;}
 
 
 
 .pagespan{display: flex; justify-content: center; }
.pagespan span{background-color: #556bb8; color: #fff; padding: 2px 5px; margin: 0 3px;}
.pagespan a{background-color: #556bb8; color: #fff;  padding: 2px 5px; margin: 0 3px;}