/* 全局样式 */
:root {
    --primary-color: #28a745;
    --secondary-color: #6c757d;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}
*,a,div,h3,p{
    text-decoration: none !important;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 95px;
}
/* banner部分 */
.about-banner {
    margin-top: 95px;
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.about-banner .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    animation: bannerZoomIn 8s ease-out forwards;
}

@keyframes bannerZoomIn {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.about-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.about-banner .banner-content h1 {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 10px;
}

.about-banner .banner-content p {
    font-size: 24px;
    opacity: 0.9;
}
.header .logo {
    height: 45px;
    display: block;
}

.header .logo img {
    height: 100%;
    width: auto;
}

.navbar {
    padding: 0;
    height: 95px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: #000000 !important;
    padding: 0.5rem 1rem;
    font-size: 16px;
    margin: 0 16px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #23C16E !important;
}
.navbar-nav .nav-link.active{
    font-weight: 500;
}

/* 底部样式 */
.footer {
    background: var(--light-bg);
    padding: 60px 0 20px;
    margin-top:8px;
}

.footer h5 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.footer p {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer .qrcode {
    text-align: center;
}

.footer .qrcode img {
    width: 120px;
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* 底部版权样式 */
.footer-copyright {
    text-align: center;
    padding: 0;
    background: #F9F9F9;
    color: #999;
    font-size: 14px;
    height: 100px;
    line-height: 100px;
    border-top: 1px solid #eeeeee;
}
.navbar-close{
    display: none;
}

/* 通用动画效果 */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 语言切换样式 */
.language-switch {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.language-switch a {
    color: #A2A3A5;
    text-decoration: none;
    font-size: 14px;
    padding: 0 8px;
}

.language-switch a.active {
    color: #23C16E;
}

.language-switch span {
    color: #ddd;
    font-size: 16px;
}

.navbar-collapse {
    background: transparent;
}

.navbar-toggler {
    border: none;
    padding: 0;
    position: relative;
    width: 30px;
    height: 30px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: none !important;
    position: relative;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after,
.navbar-toggler .navbar-toggler-icon {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #333;
    left: 3px;
    z-index: 999999;
    
}

.navbar-toggler .navbar-toggler-icon {
    top: 14px;
    
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
    bottom: -8px;
}

/* 展开状态样式 */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}
/* 遮罩层 */
.navbar-collapse-bg {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
/* 移动端菜单样式 */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0px;
        right:0;  /* 初始位置在屏幕右侧外 */
        width: 280px;
        height: 100vh;
        background: #fff;
        padding: 100px 20px;
        z-index: 2000;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse.show {
        right: 0;  /* 显示时滑入到屏幕内 */
    }
    .container{
        width: 100%;
    }
    /* 遮罩层 */
    .menu-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        z-index: 1999;
    }

    .menu-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    /* 导航菜单样式 */
    .navbar-nav {
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }

    .nav-item {
        margin: 8px 0;
    }

    .nav-link {
        color: #333 !important;
        font-size: 16px;
        padding: 10px 20px !important;
        border-radius: 6px;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: #f8f9fa;
        color: #23C16E !important;
    }

    /* 语言切换样式 */
    .language-switch {
        flex-direction: column;
        align-items: flex-start;
    }

    .language-switch a {
        font-size: 14px;
        padding: 8px 16px;
        color: #A2A3A5;
        width: 100%;
        text-align: left;
    }

    .language-switch a.active {
        color: #23C16E;
    }
    .about-banner {
        height: 300px;
    }

    .about-banner .banner-content h1 {
        font-size: 36px;
    }

    .about-banner .banner-content p {
        font-size: 20px;
    }
} 


/* 响应式样式 */
@media (max-width: 767.98px) {
    .header {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }

    .navbar {
        width: 100% !important;
    }

    .container {
        width: 100%;
    }

    .header .logo {
        height: 36px;
        margin: 0;
    }

    .header .menu-icon {
        margin: 0;
        height: 24px;
        width: auto;
    }

    .footer-copyright {
        font-size: 12px;
        height: 100px;
        line-height: 1.6;
        padding: 30px 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .about-banner {
        margin-top: 70px;
        height: 200px;
    }

    .about-banner .banner-content h1 {
        font-size: 28px;
    }

    .about-banner .banner-content p {
        font-size: 16px;
    }
    .navbar-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 24px;
        height: 24px;
        padding: 0;
        border: none;
        background: none;
        cursor: pointer;
        display: block;
    }

    .navbar-close .navbar-toggler-icon {
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        vertical-align: middle;
        background-image: var(--bs-navbar-toggler-icon-bg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }

    .navbar-close img {
        display: none;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh !important;
        background: #fff;
        z-index: 9999;
        padding: 70px 20px 20px;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse.show {
        transition: none;
        right: 0;
    }

    .navbar-collapse.collapsing {
        height: 100vh;
        right: 0;
    }

    .navbar-nav {
        margin-top: 20px;
    }

    .nav-item {
        margin: 10px 0;
    }

    .nav-link {
        font-size: 16px;
        padding: 10px 0;
    }
    .navbar-collapse.show::before {
        opacity: 1;
    }
    .about-banner .banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1);
        animation: bannerZoomIn 0s ease-out forwards;
    }
}
.block{
    display: block !important;
}