/* 通用样式 */
body {
    font-family: 'Arial', sans-serif;
    padding-top: 70px; /* 确保内容不被固定导航栏遮挡 */
}

/* 导航栏按钮悬停动画效果 */
.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: blue;
    left: 50%;
    bottom: -5px;
    transition: width 0.3s, left 0.3s;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* 当前页面导航栏按钮下方显示蓝色细长矩形 */
.nav-item.active .nav-link::after {
    width: 100%;
    left: 0;
}

.navbar-toggler {
    z-index: 1000; /* 确保这个值高于页面中其他元素 */
}








/* 页脚css */
.footer {
    background: linear-gradient(to right, #f0fbfb, #91b9fa); /* 更改为所需的渐变颜色 */
    font-family: Arial, sans-serif;
    color: #333;
}

.footer-content {
    padding: 2rem 0;
}

.footer-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-content img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.footer .text-center {
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 1rem 0;
}

.footer .text-center a {
    color: #fff;
    text-decoration: none;
}

.footer .text-center a:hover {
    text-decoration: underline;
}