body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f0f4f8;
}

header {
  background-color: #003366;
  padding: 10px 20px;
  color: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.search-bar input {
  padding: 6px 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
}

.page-title {
  text-align: center;
  margin-top: 20px;
  color: #003366;
}

.cert-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.cert-card {
  width: 280px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cert-card:hover {
  transform: scale(1.03);
}

.cert-card h3 {
  color: #003366;
  margin-bottom: 10px;
}

/* 弹窗样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
  color: #666;
}
.ad-card {
  width: 280px;
  background: #fffbe6;
  border: 2px solid #ead532;
  border-radius: 8px;
  padding: 15px;
  box-sizing: border-box;
  color: #b37400;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.ad-card:hover {
  background-color: #fff1b8;
}

.ad-card img {
  max-width: 100%;
  border-radius: 6px;
}

.ad-card a {
  color: #b37400;
  text-decoration: underline;
}


.bannerfix.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.bannerfix.slides li {
    min-width: 100%;
    box-sizing: border-box;
}

.bannerfix.slides img {
    width: 100%;
    height: auto;
}

.bamnline {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.bamnline span {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.bamnline span.active {
    background-color: black;
}

/* 网站底部样式 */
.footer {
    background-color: #003366;
    color: white;
    padding: 20px 0;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.footer-section {
    flex: 1;
    margin: 0 10px;
}

.footer-section h2 {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #fff;
    margin-top: 20px;
}