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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
}
@font-face {
  font-family: 'MyFont'; /* 自定义字体名称 */
  src: url('SourceHanSerifSC-Heavy.otf') format('truetype');
  font-weight: 400;      /* 字体粗细 */
  font-style: normal;    /* 字体样式 */
  font-display: swap;    /* 字体加载策略 */
}
.gallery-item-image img{width:100%}
.course-text img{max-width:100%}
/* Header Styles */
.header {
  border-bottom: 1px solid #e5e5e5;
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
}
.gallery-item a{ text-decoration:none}
.search-pagination{ text-align:center;width:100%;}
.pagination {
   text-align:center;width:100%;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px; display:block!important }
.pagination > li {
    display: inline-block;    float: none;}
.pagination > li > a,
.pagination > li > span {
    position: relative;word-break: keep-all;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857;
    text-decoration: none;
    color: #21479f;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px; }
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px; }
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px; }
.pagination > li > a:hover, .pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eeeeee;
    border-color: #ddd; }
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #21479f;
    border-color: #21479f;
    cursor: default; }.factory1 ul li a{ display:block}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  height: 80%;
  width: auto;
}

.logo img {
  width: auto;
  height: 100%;
}

.desc {
  width: auto;
  color: #ccc;
  font-size: 12px;
  padding: 0 10px;
}


.search-container {
  flex: 1;
  max-width: 680px;
  margin: 0 0 0 60px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 8px 50px 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.search-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background: #005CFF;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn img {
  width: 30%;
}

.nav {
  display: flex;
  gap: 4%;
  justify-content: center;
  max-width: 1200px;
  margin: 10px auto 20px;
}

.nav a {
  font-family: 'MyFont';
  text-decoration: none;
  color: #000;
  font-weight: 400;
  transition: color 0.3s;
  position: relative;
  font-size: 18px;
}

.nav a.active {
  color: #005CFF;
  position: relative;
}

nav a.active::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 4px;
  background: #005CFF;
  left: 0;
  bottom: -20px;
}

.nav a:last-child {
  margin-left: 6%;
}

.nav a:hover {
  color: #005CFF;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section.gray {
  background: #f7f7f7;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: 'MyFont';
  font-size: 58px;
  font-weight: 400;
  margin-bottom: 16px;
  color: #111928;
}

.section-subtitle {
  font-size: 14px;
  color: #646464;
  margin-bottom: 48px;
  font-family: 'PingFang HK-Light';
}

/* Footer */
.footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 32px 0;
  text-align: center;
}

.footer-text {
  font-size: 14px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 16px 20px;
    gap: 16px;
  }

  .search-container {
    margin: 0;
    max-width: none;
  }

  .nav {
    gap: 16px;
    font-size: 14px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-member.large {
    grid-column: span 3;
    grid-row: span 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}