* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p, ul, li, dl, dd {
    margin: 0;
    padding: 0;
}

ul, li {
    list-style: none;
}

.pd-0 {
    padding: 0;
}

img {
    width: 100%;
    height: 100%;
}

body {
    line-height: 1.6;
    color: #191919;
    min-height: 100vh;
    font-family: fzltxh, microsoft yahei, simhei, PingFangSC-Regular, sans-serif;
    /* 为固定头部留出空间，防止内容被遮挡 */
    padding-top: 64px;
}

:root {
    --bs-link-opacity: 1;
    --bs-link-color-rgb: #333333;
    --bs-link-color-hover--rgb: #077eb1;
    font-size: 18px;
    --bs-link-color: #1c51bc;;
    --link-color: #191919;;
}

a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: none;
}


/* 头部导航栏样式 */
.site-header .navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* 确保导航栏在最上层 */
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 64px;
}

/* 滚动时的导航栏样式 */
.site-header .navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Logo样式 */
.logo-img {
    height: 40px;
    transition: height 0.3s ease;
}

/* 滚动时Logo样式 */
.navbar.scrolled .logo-img {
    height: 35px;
}

/* 导航链接样式 */
.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    color: var(--link-color);
}


.nav-item>.nav-link{
    margin: 0 20px;
    padding: 0;
    line-height: 64px;
    font-size: 1rem;
}
.navbar-nav .nav-item:last-child>.nav-link{
    margin-right:  0;

}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--bs-link-color);
}
.navbar-expand-lg .navbar-nav{
    height: 64px;

}
.navbar-expand-lg .navbar-nav .nav-link{

    position: relative;
    cursor: pointer;
}
.nav-link.active::after{
    width: 100%;
}
.nav-link.active{
    color: var(--bs-link-color);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color:var(--bs-link-color);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
/* 下拉菜单样式 */
.dropdown-menu {
    border: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-top: 0;
    display: block;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 8px 42px 0 rgba(9, 18, 33, .08);
    overflow: hidden;
    position: absolute;
    opacity: 0;
    height: 0;
    transition: height .2s ease-out, opacity .1s ease-out;
    top: calc(64px + 0px);
    padding: 0;
}

.dropdown-menu.show {
    opacity: 1;
    height: auto;
}

/* 左侧菜单样式 */
.solution-index{
    padding: 11px 15px;font-weight: bold;font-size: 1rem;
    margin-bottom: 20px;
}
.dropdown-menu-left {
    box-shadow: 10px 5px 10px 0px rgb(28 81 188 / 10%);
    padding: 30px 20px;
}

.dropdown-menu-left .nav-link {
    border-radius: 0;
    padding: 15px 20px 15px 40px !important;
    color: var(--link-color);
    text-align: left;
    font-size: 0.8rem;
}

.dropdown-menu-left .nav-link:hover,
.dropdown-menu-left .nav-link.active {
    background-color: transparent;
    color:var(--bs-link-color);
}

/* 悬停tab样式 */
.dropdown-menu-left .nav-link.hover-tab:hover {
    background-color: transparent;
    color:var(--bs-link-color);
}

/* 右侧内容样式 */
.dropdown-menu-right {
    padding: 20px;
}
.dropdown-menu-right .active h5{
    color:var(--bs-link-color);
    font-size: 1.2rem;
}
.dropdown-menu-right h5 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.dropdown-menu-right ul li {
    margin-bottom: 8px;
}

.dropdown-menu-right ul li a {
    font-size: 14px;
    color: var(--link-color);
    transition: color 0.2s ease;
}

.dropdown-menu-right ul li a:hover {
    color:var(--bs-link-color);
}

/* tab内容区域 */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.content-bg {
    background: url(../images/content-bg.jpg) no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    padding-bottom: clamp(140px, 2.5vh, 200vh);
}

.news-banner {
    width: 100%;
    margin-bottom: 60px;
    position: relative;

}

.news-banner .news-sname {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
}


.news-banner .banner-description h1 {
    font-size: clamp(28px, 2.5vw, 45px);
    font-weight: bold;
    color: #1c51bc;
}

.news-banner .banner-description p {
    color: #191919;
    font-size: clamp(14px, 2.5vw, 18px);

}


.foot_box {
    width: 100%;
    background: #1e1e1e;
    font-size: 0.9rem;
    color: #777;
    padding: 30px 0;
}
.foot_box a {
    color: #6e6e6e
}
.foot_box a:hover {
    color: #fff
}
.erm img {
    width: 150px;
}
.header-dropdown-mask {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(241, 246, 253, .5);
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 995;
}
.header-dropdown-mask.header-dropdown-mask-show {
    display: block;

}

.navbar-brand{
    max-width: 200px;
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    .navbar-collapse{
        margin-top: 25px;
    }
    .logo-img{
        height: 25px;
    }
    .content-bg {
        padding-bottom: 50px;
    }
    .navbar-brand {
        max-width: 130px;
    }
    .hidden-xs {
        display: none !important;
    }

    .news-banner .news-sname {
        top: 20%;
    }
    .nav-item>.nav-link{
        line-height: 34px;
    }
    .dropdown-menu{
        display: none !important;
    }


}

@media (min-width: 769px) {
    .hidden-lg {
        display: none !important;
    }
}

/* 移动端适配 */
@media (max-width: 991.98px) {
    .dropdown-menu {
        position: static !important;
        width: 100%;
        max-width: 100%;
        transform: none;
    }

    .dropdown-menu.show {
        transform: none;
    }

    .dropdown-menu-left {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .navbar-nav .nav-link {
        padding: 8px 15px !important;
    }

    .dropdown-menu-left .nav-link {
        border-bottom: 1px solid #dee2e6;
    }

    .dropdown-menu-right {
        padding: 15px;
    }

    body {
        padding-top: 60px;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: fixed;
    }

    .dropdown-menu-left{
        padding: 20px 0;
    }

}
@media (min-width: 1200px) {
    :root{
        font-size: 16px;
    }
}

@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 75%;
    }
    :root{
        font-size: 18px;
    }
}