ol, ul{
    padding: 0;
    margin: 0;
    list-style: none;
}

.pd-0{
    padding: 0;
}
.navbar-toggler:focus{
    box-shadow: none;
}
a{
    text-decoration: none;
}
:root{
    font-size: 16px;
    --theme-color: #D02828;
    --text-color: #5D5D5D;
    --bold-color:#2B2B2B;

}
.table{
    --bs-table-border-color:#D9D9D9;
}
/* 面包屑导航 */
.breadcrumb {
    font-size: 16px;
    padding: 15px 0;
    color: var(--text-color);
}
.breadcrumb em{
    font-style: normal;
}
.breadcrumb a{
    color: var(--text-color);
    font-size: 14px;
}
.breadcrumb a:hover{
    color: var(--theme-color);
}
.breadcrumb  span{
    margin: 0 10px;
}
/* 导航栏样式 */
.navbar-scrolled {
    background-color:#FFFFFF;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.navbar-expand-lg .navbar-collapse{
    display: flex !important;
    flex-basis: auto;
    flex-direction: row-reverse;
}

.navbar-expand-lg .navbar-nav .nav-link{
    font-size: 1rem;
    color: #393939;
    text-align: center;
    font-style: normal;
    text-transform: none;
    display: inline-block;
}
.navbar-expand-lg .navbar-nav .nav-link:hover  {
    color: #D02828;
}
.navbar-expand-lg .navbar-nav .nav-item{
    margin-left: 2rem;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
    text-align: left;
}

.footer h4 a,.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
body {
    background: #FFFFFF;
}
.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
}
.footer-bottom p{
    margin-bottom: 0;
}
.qr-codes {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}
.navbar-brand img {
    height: 40px;
}
.qr-item {
    text-align: center;
}
.sidebar-item {
    position: relative;
}

.wechat-qrcode-popup {
    display: none;
    position: absolute;
    right: 60px;
    bottom: 0;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
    color: var(--bold-color);
}
.qr-code {
    width: 120px;
    height: 120px;
    display: block;
    margin-bottom: 5px;
}

.qr-item span {
    font-size: 12px;
    color: #ccc;
}
/* case Banner样式 */
.case-banner {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 30px;
    margin-top: 66px;
}
.case-banner .banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    text-align: left;
    color: white;
}

.case-banner .banner-title {
    font-size: 2.4rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 50px;
    line-height: 1.5;
}
.case-details-btn {
    display: inline-block;
    padding: 8px 30px;
    background-color: transparent;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 35px;
    transition: all 0.3s
    ease;
    border: 1px solid #ffffff;
}
.case-details-btn:hover {
    color: #D02828;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #D02828;
}
.fixed-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}
.sidebar-item {
    background: var(--theme-color);
    color: white;
    padding: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px 0 0 5px;
}
.sidebar-item a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.sidebar-item i {
    font-size: 18px;

}

.sidebar-item span {
    white-space: nowrap;
}

.back-to-top {
    display: none;
}
.navbar  .dropdown-item:focus, .navbar  .dropdown-item:hover{
    background-color: rgb(208 40 40 / 90%);
    color: white;


}
#navbarNav .dropdown-item{
    padding: 10px 10px;

}
.navbar-nav .dropdown-menu{
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
}
/* 移动端导航栏下拉菜单样式 */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        margin-top: 0.5rem;
        border-radius: 0.375rem;
    }
    .dropdown-menu {
        display: none;
        position: static;
        float: none;
        width: 100%;
        box-shadow: none;
        background-color: transparent;
        border: 0;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-item {
        color: #393939;
        padding: 8px 32px;
    }
    .footer-links  .dropdown-item {
        padding: 0;
    }
    .navbar-nav {
        align-items: flex-start;
    }

    .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .navbar-collapse .collapse{
        display: none !important;
    }
    .navbar-collapse .collapse.show {
        display: block !important;
    }
    .navbar-expand-lg .navbar-nav .nav-link{
        text-align: left;
    }
    .navbar-expand-lg .navbar-collapse{
        display: none !important;
    }
    .navbar-expand-lg .in{
        display: block !important;

    }
    #navbarNav{
        height: auto !important;
    }
    .dropdown-menu {
        position: static;
        transform: none !important;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    :root{
        font-size: 14px;
    }
    .footer h4 a,.    .footer h4 {
        font-size: 1rem;
    }
    .case-banner {
        height: 250px;
    }
    .case-banner .banner-title {
        font-size: 24px;
    }
    .case-banner .banner-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

}
