body {
    background-color: rgba(52, 58, 64) !important;
    padding-top: 56px;
}

/* 导航栏基础样式 */
.navbar {
    background-color: rgba(0, 0, 0, 0.8) !important;
    z-index: 1000;
    backdrop-filter: blur(10px);
    height: 70px;
}

/* 股票滚动容器 */
.navbar-stocks-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 40px;
    overflow: hidden;
}

/* 股票滚动区域 */
.stock-scroll-section {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 60px;
}

/* 股票滚动包装器 */
.stock-scroll-wrapper {
    display: flex;
    gap: 15px;
    position: absolute;
    white-space: nowrap;
    animation: scrollStocks 30s linear infinite;
    padding: 0 20px;
}

/* 第二类股票动画（反向滚动） */
.stock-scroll-wrapper.second-category {
    animation: scrollStocksReverse 25s linear infinite;
}

/* 股票项样式 */
.stock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 120px; /* 增加宽度 */
    max-width: 140px; /* 限制最大宽度 */
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 40px; /* 增加高度 */
    justify-content: center;
}

.stock-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stock-code {
    font-weight: bold;
    font-size: 10px;
    color: #4fc3f7;
}

.stock-name {
    font-size: 8px;
    color: #fff;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 新增索赔区间样式 */
.stock-period {
    font-size: 6px;
    color: #ccc;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 4px;
    border-radius: 4px;
}

/* 分隔线 */
.stock-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* 滚动动画 */
@keyframes scrollStocks {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollStocksReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* 鼠标悬停暂停动画 */
.stock-scroll-section:hover .stock-scroll-wrapper {
    animation-play-state: paused;
}

/* 移动端股票滚动样式 */
.mobile-stocks-scroll {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-stocks-container {
    overflow: hidden;
    position: relative;
}

.mobile-stocks-scroll-wrapper {
    display: flex;
    gap: 15px;
    animation: scrollMobileStocks 40s linear infinite;
    padding: 0 15px;
}

.mobile-stock-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 180px; /* 增加移动端宽度 */
}


.mobile-stock-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-stock-item .stock-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mobile-stock-item strong {
    font-size: 14px;
    color: #4fc3f7;
}

.mobile-stock-item .text-muted {
    font-size: 11px;
    color: #ccc !important;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes scrollMobileStocks {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 响应式调整 */
@media (max-width: 1400px) {
    .stock-item {
        min-width: 110px;
        max-width: 130px;
    }

    .stock-scroll-wrapper {
        gap: 20px;
    }
}

@media (max-width: 1200px) {
    .navbar-stocks-container {
        margin: 0 20px;
    }

    .stock-scroll-section {
        flex: 1;
    }

    .stock-item {
        min-width: 100px;
        max-width: 120px;
    }

    .stock-period {
        font-size: 9px;
    }
}

@media (max-width: 992px) {
    .navbar-stocks-container {
        display: none;
    }
}

.hero-image {
    background-image: url('../images/mian_page/team_hero.png');
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #343a40;
    color: white;
    transition: width 0.3s;
    position: fixed;
    top: 70px;
    left: 0;
    overflow-x: hidden;
    z-index: 1000;
    will-change: transform;
    backface-visibility: hidden;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar-header {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #4b545c;
}

.sidebar-logo {
    width: 100%;
    max-width: 150px;
    margin-bottom: 10px;
    transition: opacity 0.3s;
}

.sidebar.collapsed .sidebar-logo {
    opacity: 0;
    pointer-events: none;
}

.btn-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 5px;
    z-index: 1001;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 50px;
}

.sidebar-menu li {
    padding: 10px;
    border-bottom: 1px solid #4b545c;
}

.sidebar-menu li a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.sidebar-menu li a i {
    margin-right: 10px;
}

.sidebar-menu li a .menu-text {
    transition: opacity 0.3s;
}

.sidebar.collapsed .menu-text {
    opacity: 0;
    pointer-events: none;
}

.content {
    margin-left: 250px;
    padding: 20px;
    transition: margin-left 0.3s;
}

.sidebar.collapsed ~ .content {
    margin-left: 60px;
}

.section {
    padding: 100px 20px;
    margin: 20px 0;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.parallax-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}

.parallax-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.team-member {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-member:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
}

.team-member h4 {
    color: #fff;
    margin-top: 10px;
}

.team-member p {
    color: #ccc;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.2);
}

.service-card h3 {
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #fff;
}

.service-card p {
    color: #ddd;
}

.section-with-bg {
    position: relative;
    padding: 100px 0;
    color: white;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}


.section-with-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}


.section-with-bg blockquote {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #fff;
    padding: 20px;
    color: white;
}

.section-with-bg blockquote footer {
    color: #ccc;
    font-size: 0.9em;
}

[data-aos="flip-left"] {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.section-bg {
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
}


.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.feature-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8) 100%);
}

.feature-content {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.feature-content h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-content p {
    color: #ddd;
    margin-bottom: 20px;
}

.feature-btn {
    display: inline-block;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.feature-btn i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.feature-btn:hover i {
    transform: translateX(3px);
}

.footer-section {
    background: #2c3e50;
    color: #fff;
    padding: 70px 0 0;
    position: relative;
    font-size: 15px;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-text {
    color: #bbb;
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #3498db;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.footer-links a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    color: #bbb;
}

.footer-contact li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}

.footer-contact i {
    position: absolute;
    left: 0;
    top: 5px;
    color: #3498db;
    font-size: 16px;
}

.footer-social {
    margin-top: 25px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.copyright-area {
    background: #1a252f;
    padding: 20px 0;
    margin-top: 50px;
}

.copyright-text {
    margin: 0;
    color: #bbb;
    text-align: left;
}

.footer-policy {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.footer-policy li {
    display: inline-block;
    margin-left: 15px;
}

.footer-policy a {
    color: #bbb;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-policy a:hover {
    color: #3498db;
}

@media (max-width: 767px) {
    .footer-title {
        margin-top: 30px;
    }

    .copyright-text,
    .footer-policy {
        text-align: center;
    }

    .footer-policy li {
        margin: 0 10px;
    }
}
/* 桌面端样式 */
@media (min-width: 992px) {
    .mobile-sidebar-toggler {
        display: none;
    }

    .main-content {
        margin-left: 250px;
        transition: margin-left 0.3s;
    }

    .sidebar.collapsed ~ .main-content {
        margin-left: 60px;
    }
}
/* 移动端默认隐藏侧边栏 */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .desktop-sidebar-toggler {
        display: none;
    }

    .main-content {
        margin-left: 0 !important;
    }
}

@media (max-width: 992px) {
    .feature-img-wrapper {
        height: 180px;
    }
}

@media (max-width: 991.98px) {
    .sidebar-overlay.active {
        display: block;
    }
}
@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 30px;
    }
}