html, body {
    height: 100%;
    margin: 0;
}
body {
    background-color: #e1dbca;
    display: flex;
    flex-direction: column;
}
.main-content {
    flex: 1 0 auto;
}
.navbar {
    background-color: #1A237E;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.navbar-brand {
    display: flex;
    align-items: center;
}
.navbar-brand img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.1);
}
.navbar-brand, .nav-link {
    color: white !important;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #D4A017 !important;
}
.nav-item{
    margin-top: 6px;
}
/* 鼠标悬停时显示下拉菜单 */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}
/* 确保下拉菜单在悬停时有适当的样式 */
.dropdown-menu {
    margin-top: 0;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #1A237E;
}
.dropdown-item:hover{
    background-color: #1A237E;
    color: #D4A017 !important;
}
.card {
    border: 1px solid #e0e0e0;
    border-top: 5px solid #1A237E;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: #333333;
    background-color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-top: 5px solid #D4A017;
}
.card-img-top {
    border-radius:0px;
    width: 50px;
    height: 50px;
    margin: 20px;
    transition: transform 0.3s ease;
}
.card:hover .card-img-top {
    transform: scale(1.1);
}
.card-body {
    flex: 1;
    padding: 20px;
}
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A237E;
}
.card-text {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
}
.footer {
    background-color: #1A237E;
    color: white;
    text-align: center;
    padding: 15px 0;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* wxMaster */
.sticky-top {
    background-color: #F8F9FA;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.sticky-top h4 {
    color: #1A237E;
}
.left-nav-link {
    color: #1A237E !important;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none !important;
}
.left-nav-link:hover {
    color: #D4A017 !important;
    text-decoration: none !important;
}
.sub-nav-link {
    color: #1A237E !important;
    font-weight: 400;
    transition: color 0.3s ease;
    text-decoration: none !important;
    padding-left: 20px;
}
.sub-nav-link:hover {
    color: #D4A017 !important;
    text-decoration: none !important;
}
.col-lg-10.bg-white {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
section h2, section h4, section h5 {
    color: #1A237E;
}
section p {
    color: #2D2D2D;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
}
.download-btn {
    background-color: #1A237E;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    width: 100%; /* Ensure button takes full column width */
    max-width: 200px; /* Limit max width for larger screens */
    text-decoration: none !important;
}

.download-btn:hover {
    background-color: #D4A017;
    color: white;
    text-decoration: none !important;
}
