body {
    font-family: 'Arial', sans-serif;
}
.navbar-custom {
    background-color: #006442; /* 修改导航栏背景颜色 */
}
.navbar-custom .nav-link {
    color: #fff; /* 修改导航链接的颜色 */
    transition: background-color 0.3s ease;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    background-color: #fff; /* 修改悬停和激活状态下的背景颜色 */
    color: #006442; /* 悬停和激活状态下文字颜色 */
}
.navbar-brand{
    color: #fff;
}
.hero {
    height: 100vh;
    background-image: url("../images/picture.jpeg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.hero-text {
    background-color: rgba(0, 0, 0, 0.5); /* 黑色背景，透明度为50% */
    padding: 20px;
    border-radius: 10px; /* 圆角效果，可选 */
    color: white; /* 确保文本在深色背景上可读 */
    display: inline-block; /* 确保背景颜色只包围文本内容 */
}
.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
footer {
    background-color: #006442;
    padding: 20px 0;
    text-align: center;
    color: #fff;
}


/* 特色部分的样式 */
.features {
    padding: 50px 0;
    background-color: #f8f9fa;
}
.features h2 {
    margin-bottom: 30px;
    font-weight: bold;
}
.feature-box {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    height: 200px; /* 设置固定高度 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中 */
    align-items: center; /* 水平居中 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center; /* 文字居中 */
}
.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.feature-box i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 15px;
}
.feature-box h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.feature-box p {
    font-size: 1rem;
    color: #6c757d;
}