/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 10px;
}

.section-header h2 {
  font-size: 28px;
  color: #1a5276;
  position: relative;
  padding-left: 15px;
}

.section-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  height: 80%;
  width: 5px;
  background-color: #e74c3c;
}

.view-more {
  color: #1a5276;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.view-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.view-more:hover i {
  transform: translateX(5px);
}

/* 顶部信息栏 */
.top-bar {
  background-color: #1a5276;
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info span {
  margin-right: 20px;
}

.contact-info i {
  margin-right: 5px;
}

.social-links a {
  color: #fff;
  margin-left: 15px;
  font-size: 16px;
}

.social-links a:hover {
  color: #f39c12;
}

/* 导航栏 */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 15px;
}

.logo-text h1 {
  font-size: 24px;
  color: #1a5276;
  margin: 0;
}

.logo-text p {
  font-size: 14px;
  color: #7f8c8d;
  margin: 0;
}

.main-nav {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #1a5276;
  cursor: pointer;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: 5px;
}

.nav-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
}

.nav-menu li a:hover,
.nav-menu li.active a {
  color: #e74c3c;
  background-color: #f8f9fa;
}

/* 底部 */
.footer {
  background-color: #1a5276;
  color: #fff;
  padding: 50px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3,
.footer-qrcode h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-about h3::after,
.footer-links h3::after,
.footer-contact h3::after,
.footer-qrcode h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #e74c3c;
}

.footer-about p {
  line-height: 1.8;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a:hover {
  color: #f39c12;
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  width: 20px;
}

.qrcode-container {
  display: flex;
  gap: 15px;
}

.qrcode {
  text-align: center;
}

.qrcode img {
  width: 100px;
  height: 100px;
  margin-bottom: 5px;
  background-color: #fff;
  padding: 5px;
}

.qrcode p {
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.pagination {
  margin-top: 30px;
  text-align: center;
}

.pagination a {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 5px;
  background-color: #f8f9fa;
  color: #333;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.pagination a.active,
.pagination a:hover {
  background-color: #1a5276;
  color: #fff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0;
  }

  .nav-menu li a {
    padding: 15px;
    border-bottom: 1px solid #f1f1f1;
  }
}

@media (max-width: 576px) {
  .top-bar .container {
    flex-direction: column;
    gap: 5px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .qrcode-container {
    justify-content: center;
  }
}

