/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 0;
    height: 70px;
}

.navbar .container {
    height: 100%;
}

/* 品牌logo样式 */
.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    padding: 0;
    height: 100%;
}

.navbar-brand span {
    margin-left: 10px;
}

.navbar-brand:hover {
    color: #007bff;
}

/* 导航链接样式 */
.navbar-nav {
    height: 100%;
    align-items: center;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 0 1.2rem !important;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #007bff;
}

.nav-link:hover::after {
    width: 100%;
}

/* 移动端样式 */
@media (max-width: 991.98px) {
    .navbar {
        height: 60px;
    }

    .navbar-collapse {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .navbar-nav {
        height: auto;
    }

    .nav-item {
        height: auto;
    }

    .nav-link {
        padding: 1rem !important;
        height: auto;
        border-bottom: 1px solid #eee;
    }

    .nav-link::after {
        display: none;
    }

    .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar-toggler {
        padding: 0.5rem;
        border: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* 调整内容区域的上边距 */
body {
    padding-top: 70px;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 60px;
    }
}

/* 首页横幅样式 */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: calc(100vh - 70px); /* 减去导航栏的高度 */
    max-height: 600px; /* 限制最大高度 */
}

.hero-img {
    width: 100%;
    height: 100%;
    line-height: 0;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明遮罩 */
}

.hero h1.display-4 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p.lead {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero .btn-primary {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background-color: #007bff;
}

.hero .btn-primary:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero {
        height: calc(100vh - 60px); /* 移动端导航栏高度为60px */
        max-height: 500px;
    }

    .hero h1.display-4 {
        font-size: 2rem;
    }

    .hero p.lead {
        font-size: 1.1rem;
    }

    .hero .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

/* 更小屏幕的调整 */
@media (max-width: 576px) {
    .hero {
        max-height: 400px;
    }

    .hero h1.display-4 {
        font-size: 1.75rem;
    }
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    margin-bottom: 50px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
}

/* 业务领域样式 */
.services {
    padding: 100px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* 统一的卡片样式 */
.culture-card,
.service-card {
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 统一的顶部渐变线条 */
.culture-card::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00e1ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 统一的悬浮效果 */
.culture-card:hover,
.service-card:hover {
    transform: translateY(-10px);
}

.culture-card:hover::before,
.service-card:hover::before {
    opacity: 1;
}

/* 删除旧的service-card样式 */
.service-card::after {
    display: none;
}

/* 统一的标题样式 */
.culture-card h3,
.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

/* 统一的文字样式 */
.culture-card p,
.service-card p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-item h3 {
    margin-bottom: 15px;
    color: #007bff;
}

.contact-item i {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 15px;
}

.contact-item p i {
    font-size: 16px;
    margin-right: 8px;
}

/* 联系方式卡片样式优化 */
.contact-link {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: flex-start; /* 改为顶部对齐 */
    cursor: pointer;
    text-align: left; /* 文本左对齐 */
    width: 100%; /* 占满容器宽度 */
    padding: 0.5rem;
    border-radius: 5px;
}

.contact-link i {
    transition: transform 0.3s ease;
    margin-top: 0.25rem; /* 图标稍微下移 */
    flex-shrink: 0; /* 防止图标缩小 */
    width: 20px; /* 固定图标宽度 */
}

.contact-link span {
    margin-left: 0.5rem; /* 文本和图标的间距 */
    word-wrap: break-word; /* 允许长文本换行 */
    flex: 1; /* 文本占据剩余空间 */
}

/* 修改联系方式卡片内部布局 */
.card-body.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-body.text-center p {
    width: 100%; /* 让段落占满容器宽度 */
    margin-bottom: 0.5rem;
}

.card-body.text-center h3 {
    margin-bottom: 1rem;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .contact-link {
        font-size: 0.9rem; /* 移动端字体稍小 */
    }

    .contact-link:active {
        background: rgba(0,123,255,0.1);
    }
}

/* 页脚样式 */
.footer {
    background: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        overflow-x: hidden;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 -15px;
        padding: 0 15px;
    }

    .mobile-menu {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #fff;
        padding-top: 80px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: block;
        right: 0;
    }

    .nav-links li {
        display: block;
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links li a {
        display: block;
        padding: 15px 25px;
        font-size: 16px;
    }

    .hero {
        background-attachment: scroll;
        background-position: center 20%;
    }

    .hero .display-4 {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .hero .lead {
        font-size: 1.1rem;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

    /* 调整按钮大小 */
    .hero .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    .contact-info {
        padding: 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 30px;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }
}

/* 添加移动端菜单按钮 */
.mobile-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu i {
    font-size: 24px;
    color: #333;
    transition: color 0.3s;
}

/* 当菜单打开时添加遮罩 */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* 添加平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 添加渐变背景效果 */
.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* 添加悬浮效果 */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: 0.5s;
}

.cta-button:hover:after {
    left: 100%;
}

/* 卡片悬浮效果 */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* 图标放大效果 */
.card i {
    transition: transform 0.3s ease;
}

.card:hover i {
    transform: scale(1.2);
}

/* 移动端导航样式 */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin: 0 -1rem;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    }

    .navbar-nav {
        padding: 0.5rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eee;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar-toggler i {
        font-size: 1.5rem;
    }
}

/* 确保导航栏下方内容不被遮挡 */
@media (max-width: 991px) {
    body {
        padding-top: 66px;
    }
}

/* 企业文化样式 */
.culture-card {
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.culture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00e1ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-10px);
}

.culture-card:hover::before {
    opacity: 1;
}

.culture-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,123,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.culture-card:hover .culture-icon {
    background: rgba(0,123,255,0.2);
    transform: scale(1.1);
}

/* 业务领域样式 */
.service-card {
    background: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,123,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,123,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2.5rem;
    color: #007bff;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(0,123,255,0.2);
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .culture-card, .service-card {
        margin-bottom: 1rem;
    }
}

/* 统一的图标样式 */
.culture-icon,
.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,123,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.culture-icon i,
.service-icon i {
    font-size: 2.5rem;
    color: #007bff;
    transition: transform 0.3s ease;
}

/* 悬浮效果 */
.culture-card:hover .culture-icon,
.service-card:hover .service-icon {
    background: rgba(0,123,255,0.2);
    transform: scale(1.1);
}

.culture-card:hover .culture-icon i,
.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* 合作伙伴样式更新 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.partner-item {
    width: 100%;
}

.partner-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.partner-card img {
    max-width: 180px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-info {
    text-align: center;
}

.partner-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.partner-title {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(0,123,255,0.1);
    color: #007bff;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .partner-card {
        padding: 1.5rem 1rem;
    }

    .partner-card img {
        max-width: 150px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .partner-info h3 {
        font-size: 1rem;
    }

    .partner-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* 成功案例样式 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.case-item {
    width: 100%;
}

.case-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.case-image {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.case-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.case-content p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* 删除旧的遮罩样式 */
.case-overlay {
    display: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .case-image img {
        height: 160px;
    }

    .case-content {
        padding: 1.25rem;
    }

    .case-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .case-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

/* 合作单位样式更新 */
.cooperators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cooperator-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cooperator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.cooperator-logo {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding-top: 75%; /* 4:3 比例 */
    background: #f8f9fa;
}

.cooperator-logo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cooperator-card:hover .cooperator-logo img {
    transform: scale(1.05);
}

.cooperator-info {
    text-align: left;
}

.cooperator-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.cooperator-title {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(0,123,255,0.1);
    color: #007bff;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cooperator-desc {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .cooperators-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cooperator-card {
        padding: 1.25rem;
    }

    .cooperator-logo {
        margin-bottom: 1.25rem;
    }

    .cooperator-info h3 {
        font-size: 1.1rem;
    }

    .cooperator-title {
        font-size: 0.85rem;
        padding: 0.2rem 0.8rem;
    }

    .cooperator-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .cooperators-grid {
        grid-template-columns: 1fr;
    }
}

/* 回到顶部按钮样式 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.back-to-top i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }

    .back-to-top i {
        font-size: 16px;
    }
}

/* Toast消息样式 */
.toast-message {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-message.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.navbar-toggler .close-icon {
    font-size: 28px;
    line-height: 1;
    font-weight: normal;
    color: rgba(0,0,0,.55);
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(0,0,0,.1);
}

/* 大标题装饰样式 */
section h2.text-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 15px;
    margin-bottom: 50px;
    width: 100%; /* 确保标题能够完整居中 */
}

section h2.text-center::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00e1ff);
    border-radius: 1.5px;
}

section h2.text-center::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 15px;
    height: 3px;
    background: #007bff;
    border-radius: 1.5px;
    animation: slideCenter 2s ease-in-out infinite;
    z-index: 1; /* 确保动画元素在渐变线条之上 */
}

@keyframes slideCenter {
    0% {
        left: calc(50% - 22.5px);
    }
    50% {
        left: calc(50% + 22.5px);
    }
    100% {
        left: calc(50% - 22.5px);
    }
}

/* 页脚二维码样式 */
.qr-codes {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
}

.qr-code-item {
    text-align: center;
}

.qr-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    padding: 5px;
    background: white;
    transition: transform 0.3s ease;
}

.qr-image:hover {
    transform: scale(1.05);
}

/* 备案信息样式 */
.beian-icon {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    position: relative;
    top: -1px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .qr-codes {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .qr-image {
        width: 80px;
        height: 80px;
    }
}

/* 页脚样式调整 */
footer {
    font-size: 0.875rem;  /* 14px */
}

footer h3.h5 {
    font-size: 1rem;  /* 16px */
    color: rgba(255, 255, 255, 0.7);
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.35) !important;
}

footer a.text-white-50:hover {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none;
}

/* 页脚版权信息和备案号样式 */
.footer-copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8125rem;  /* 13px */
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.3) !important;
}

.footer-copyright a:hover {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* 二维码下方文字 */
.qr-code-item p.small {
    font-size: 0.8125rem;  /* 13px */
    color: rgba(255, 255, 255, 0.35) !important;
}
