/* 全局样式 */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f4f7fa;
}

/* 顶部导航栏 */
header {
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar {
  display: flex;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-right: 30px;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-links li a {
  color: white;
  text-decoration: none;
}

.nav-links li a:hover {
  text-decoration: underline;
}


/* 下拉筛选区域 */
.filters {
  display: flex;
  gap: 10px;
  padding: 20px;
  justify-content: center;
  background-color: #e9eff5;
}

/* 下拉菜单样式 */
select {
  padding: 8px 40px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: white;
  font-size: 16px;
  color: #333;
  outline: none;
  transition: border-color 0.3s ease;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='%23333'%20d='M2%205L0%200h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 10px;
}

/* 证书卡片区域 */
.cert-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  justify-content: center;
}

.cert-card {
  background: white;
  padding: 15px;
  border: 1px solid #ccc;
  width: 260px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.cert-card:hover {
  transform: scale(1.02);
  border-color: #004a99;
}

/* 弹窗背景 */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* 弹窗内容 */
.modal-content {
  background: white;
  padding: 25px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* 关闭按钮 */
.close-button {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.close-button:hover {
  color: red;
}

/* 去除ul的默认边框和内边距 */
.bannerfix.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    list-style: none; /* 去除列表样式 */
    padding: 0; /* 去除内边距 */
    margin: 0; /* 去除外边距 */
}

.bannerfix.slides li {
    min-width: 100%;
    box-sizing: border-box;
}

.bannerfix.slides img {
    width: 100%;
    height: auto;
}

.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.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;
}

