body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #f4f7fa;
    background: linear-gradient(to bottom, #ffffff, #b6d8ee);
}

.navbar, .footer {
    background-color: #0056b3;
    color: white;
}

.nav-link, .btn-outline-primary {
    color: white;
}

.nav-link:hover, .btn-outline-primary:hover {
    color: #ffffff;
    background-color: #007bff;
}

.footer {
    padding: 20px 0;
    text-align: center;
}

.list-group-item {
    cursor: pointer;
    color: #333;
    background-color: #f8f9fa;
}

.list-group-item:hover, .list-group-item:focus {
    background-color: #cce1f2;
}


.col-md-3 {
    padding: 0 15px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
}

.col-md-3 img {
    max-width: 100%; /* 最大宽度限制 */
    max-height: 200px; /* 设置图片最大高度 */
    object-fit: contain; /* 确保图片内容完整显示，不裁切 */
}

.certificate-name {
    text-align: center; /* 文字居中 */
    width: 100%; /* 文字宽度填满容器宽度 */
}
/* 左侧导航栏样式 */
.nav-qualification {
    width: 100%; /* 宽度填满容器 */
}

/* 左侧导航栏样式 */
.nav-qualification .nav-link {
    color: #333; /* 默认文字颜色为黑色 */
    background-color: #e1ecf4; /* 设置默认的背景颜色为浅蓝色，以提升视觉效果 */
    transition: background-color 0.3s ease; /* 平滑过渡效果 */
}

.nav-qualification .nav-link:hover,
.nav-qualification .nav-link:focus {
    color: white; /* 悬浮时文字颜色为白色 */
    background-color: #007bff; /* 悬浮时背景颜色变为更深的蓝色 */
}
/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.wechat-icon {
    width: 60px; /* 图标的宽度 */
    height: 60px; /* 图标的高度 */
    cursor: pointer; /* 鼠标悬停时变为手形图标 */
}
.header-container {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: space-between; /* 子项之间的间隔最大化，推动图标到右边 */
    background-color: white;
    /* padding-right: 50px; 右边距 */
}
.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    align-items: center;
    justify-content: center;
    z-index: 1000; /* 确保在顶层 */
}
.wechat-qr {
    max-width: 30%;
    max-height: 30%;
}