@charset "UTF-8";

/* 主题色变量在 HTML 的 <style> 标签中定义，这里只定义其他变量 */

:root {
    --text-color: #333;
    --light-gray: #f8f9fa;
    --white: #ffffff;
}


/* 覆盖 Bootstrap 的默认 primary 颜色 */

.btn-primary,
.btn-primary:not(:disabled):not(.disabled) {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):hover,
.btn-primary:not(:disabled):not(.disabled):focus {
    background-color: var(--secondary-color, #c41e27) !important;
    border-color: var(--secondary-color, #c41e27) !important;
    color: var(--white) !important;
}

.btn-outline-primary,
.btn-outline-primary:not(:disabled):not(.disabled) {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):hover,
.btn-outline-primary:not(:disabled):not(.disabled):focus {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}


/* 标题区域：文字红色，背景正常（不是红色背景） */

.bg-primary.text-white,
.page-header.bg-primary.text-white,
.stats-section.bg-primary.text-white {
    background-color: #1a1a1a;
    color: #fff !important;
}

/* 如果页面头部有背景图片，则使用背景图片，背景色设为半透明以增强文字可读性 */
.page-header.bg-primary.text-white[style*="background-image"] {
    background-color: rgba(26, 26, 26, 0.3) !important;
}


/* 除首页外各页面banner高度 */

.page-header {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .page-header {
        min-height: 300px;
        padding: 40px 0 !important;
    }
}

.bg-primary.text-white h1,
.bg-primary.text-white h2,
.bg-primary.text-white h3,
.bg-primary.text-white h4,
.bg-primary.text-white h5,
.bg-primary.text-white h6,
.page-header.bg-primary.text-white h1,
.page-header.bg-primary.text-white h2,
.page-header.bg-primary.text-white h3 {
    color: var(--primary-color) !important;
}

.stats-section.bg-primary.text-white .stat-value,
.stats-section.bg-primary.text-white .stat-label {
    color: #fff !important;
}


/* 普通文本使用主题色 */

.text-primary {
    color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
    /* 为固定导航栏留出空间 */
}


/* 锚点定位优化 */

section[id] {
    scroll-margin-top: 140px;
}

body {
    font-family: "Microsoft YaHei", "SimHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: #fafafa;
}


/* 全局图片样式 - 默认使用 cover 模式 */

img {
    object-fit: cover;
    object-position: center;
}


/* 特殊图片除外（logo、图标、二维码等需要完整显示） */

.logo img,
.wechat-qr img,
.testimonial-author img,
.member-image img,
img[class*="logo"],
img[class*="icon"] {
    object-fit: contain;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.2s ease;
}

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


/* 顶部导航 */

.top-bar {
    background-color: #f8f9fa;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar i {
    margin-right: 5px;
    color: var(--primary-color);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switch a {
    color: #666;
    text-decoration: none;
}

.lang-switch a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.lang-switch .sep {
    color: #ccc;
}

.main-header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 60px;
    margin-right: 12px;
    flex-shrink: 0;
}

.logo h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-block;
    color: #000;
}

.main-nav {
    margin-left: auto;
}

.main-nav>ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav li {
    margin-left: 0;
    margin-right: 0;
    position: relative;
}

.main-nav li:not(:last-child) {
    margin-right: 40px;
}

.main-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.main-nav .nav-link i {
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.3s;
}

.main-nav li.has-sub:hover .nav-link i {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.main-nav>ul>li>a:hover,
.main-nav>ul>li.active>a {
    color: var(--primary-color);
}

.main-nav>ul>li.active>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}


/* 政务风格下拉Panel */

.main-nav li.has-sub {
    position: relative;
}

.main-nav .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 500px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 0;
    display: none;
    z-index: 1001;
    margin-top: 0;
    border-radius: 4px;
    overflow: hidden;
    /* 添加一个不可见的连接区域，防止鼠标移动时丢失hover */
    padding-top: 10px;
    margin-top: -10px;
    transition: opacity 0.3s ease;
    /* 确保panel与菜单项文字左对齐 */
    transform: translateX(0);
}


/* 创建一个连接区域，让鼠标从菜单项移动到panel时不会丢失hover */

.main-nav li.has-sub::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 15px;
    background: transparent;
    z-index: 1000;
    display: none;
}

.main-nav li.has-sub:hover::after {
    display: block;
}


/* CSS hover作为备用，主要靠JavaScript控制 */

.main-nav li.has-sub:hover .nav-panel {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.main-nav .nav-panel:hover {
    display: block !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-panel-content {
    display: flex;
    min-height: 260px;
}

.nav-panel-image {
    width: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid #e0e0e0;
    margin: -10px 0 0 0!important;
    border-radius: 6px !important;
}

.nav-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    padding: 20px !important;
}

.nav-panel:hover .nav-panel-image img {
    transform: scale(1.05);
}

.nav-panel-menu {
    flex: 1;
    padding: 25px 30px;
    background: #fff;
    min-width: 0;
    width: 100%;
}

.nav-panel-header {
    display: flex;
    align-items: center;
    padding: 0 0 20px 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
}

.nav-panel-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-panel-header i {
    font-size: 20px;
    margin-right: 12px;
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(230, 33, 41, 0.1);
    border-radius: 6px;
}

.nav-panel-menu>ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.nav-panel-menu>ul>li {
    margin: 0;
    margin-bottom: 6px;
    position: relative;
    width: 100%;
}

.nav-panel-menu>ul>li:last-child {
    margin-bottom: 0;
}

.nav-panel-menu a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    min-height: 44px;
    height: 44px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
    border-radius: 6px;
    position: relative;
    background-color: #fafafa;
    border-left: 3px solid transparent;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.nav-panel-menu a span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.nav-panel-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.nav-panel-menu a i {
    font-size: 8px;
    color: #999;
    margin-right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e0e0e0;
    flex-shrink: 0;
    transition: all 0.2s ease;
    position: relative;
}

.nav-panel-menu a i::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #fff;
}

.nav-panel-menu a:hover {
    color: var(--primary-color);
    background-color: #fff5f5;
    border-left-color: var(--primary-color);
    padding-left: 20px;
}

.nav-panel-menu a:hover::before {
    transform: scaleY(1);
}

.nav-panel-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: #fff5f5;
    border-left-color: var(--primary-color);
}

.nav-panel-menu a.active::before {
    transform: scaleY(1);
}

.nav-panel-menu a:hover i,
.nav-panel-menu a.active i {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.2);
}

.nav-panel-menu a:hover i::after,
.nav-panel-menu a.active i::after {
    background-color: #fff;
}


/* 下拉菜单 */

.main-nav li.has-sub>a i {
    margin-left: 6px;
    font-size: 12px;
}

.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    display: none;
    z-index: 1001;
}

.main-nav li.has-sub:hover .sub-menu {
    display: block;
}

.main-nav .sub-menu li {
    margin: 0;
}

.main-nav .sub-menu a {
    padding: 8px 16px;
    border-bottom: none;
    white-space: nowrap;
    font-weight: 400;
}

.main-nav .sub-menu a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}


/* 扩展下拉（Mega Menu） */

.main-nav .sub-menu.mega {
    display: none;
    width: 720px;
    padding: 16px;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 8px 16px;
}

.main-nav li.has-sub:hover .sub-menu.mega {
    display: grid;
}

.main-nav .sub-menu.mega li a {
    padding: 10px 12px;
    border-radius: 6px;
}

.main-nav .sub-menu.mega li a .item-title {
    display: block;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.main-nav .sub-menu.mega li a .item-desc {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    white-space: normal;
}

.main-nav .sub-menu.mega li a:hover .item-title {
    color: var(--primary-color);
}


/* 移动端菜单按钮 */

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}


/* 移动端导航 */

.mobile-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: #333;
}


/* 页脚 */

.main-footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ecf0f1;
    padding: 50px 0 20px;
    border-top: 3px solid var(--primary-color);
}

.main-footer .footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 30px;
    align-items: start;
    margin-bottom: 20px;
}

.main-footer .footer-widget h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.main-footer .footer-widget ul {
    list-style: none;
    padding: 0;
}

.main-footer .footer-widget li {
    margin-bottom: 10px;
}

.main-footer .footer-widget a {
    color: #bdc3c7;
}

.main-footer .footer-widget a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.contact-info li i {
    width: 20px;
    min-width: 20px;
    margin-right: 12px;
    text-align: center;
    color: var(--primary-color);
    flex-shrink: 0;
}


/* 联系方式模块图标样式 */

.info-icon {
    background-color: var(--primary-color-light, rgba(230, 33, 41, 0.1));
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.info-icon i {
    color: var(--primary-color);
}

.info-item:hover .info-icon {
    background-color: var(--primary-color);
}

.info-item:hover .info-icon i {
    color: #fff;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
    color: #fff;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.main-footer .copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #bdc3c7;
}

.main-footer .copyright a {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.main-footer .copyright a:hover {
    color: var(--secondary-color, #c41e27) !important;
    text-decoration: underline;
}


/* 通用组件 */

.section {
    padding: 60px 0;
    background-color: #fff;
}

.section.bg-light {
    background-color: #fafafa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title.text-start {
    text-align: left;
}

.section-title.text-start h2 {
    display: block;
}

.section-title.text-start h2::after {
    left: 0;
    transform: none;
}

.section-title.text-start p {
    margin: 0;
    max-width: none;
}

.section-title h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title p {
    color: #777;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}


/* Extend Bootstrap btn */

.btn,
button.btn,
input[type="submit"].btn,
input[type="button"].btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: none !important;
    /* Reset Bootstrap border */
    text-decoration: none;
}

.btn:hover,
button.btn:hover,
input[type="submit"].btn:hover,
input[type="button"].btn:hover,
.btn:focus,
button.btn:focus,
input[type="submit"].btn:focus,
input[type="button"].btn:focus {
    background-color: var(--secondary-color, #c41e27) !important;
    color: var(--white) !important;
    box-shadow: 0 2px 6px rgba(230, 33, 41, 0.3);
    border-color: var(--secondary-color, #c41e27) !important;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}


/* 响应式适配 */

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .main-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .mobile-nav.active {
        display: block;
    }
    .main-header .container {
        height: 60px;
    }
    /* 移动端：top-bar隐藏，banner占据全屏高度 */
    .hero-slider {
        height: 100vh;
    }
    .nav-panel {
        min-width: 100% !important;
        left: 0 !important;
        right: auto !important;
    }
    .nav-panel-content {
        flex-direction: column;
    }
    .nav-panel-image {
        width: 100% !important;
        height: 150px;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
}


/* 页脚响应式 */

@media (max-width: 992px) {
    .main-footer .footer-widgets {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .main-footer .footer-widgets {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* 轮播图 */

.hero-slider {
    position: relative;
    /* 自适应屏幕高度：100vh减去top-bar高度（约50px）和main-header高度（80px） */
    height: calc(100vh - 128px);
    min-height: 500px;
    /* 最小高度，确保在小屏幕上也有合理显示 */
    overflow: hidden;
    background-color: #333;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    display: none;
    /* 移除遮罩层 */
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 40px;
    /* background-color: rgba(0,0,0,0.5); Removed box background for cleaner look */
    border-radius: 8px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}


/* 轮播图切换按钮 */

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev {
    left: 30px;
}

.hero-nav-next {
    right: 30px;
}


/* 响应式：移动端按钮位置调整 */

@media (max-width: 768px) {
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .hero-nav-prev {
        left: 15px;
    }
    .hero-nav-next {
        right: 15px;
    }
}


/* 核心优势/企业形象 */

.features-section {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    gap: 30px;
}

.feature-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    flex: 1;
    min-width: 250px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    box-shadow: 0 12px 40px rgba(230, 33, 41, 0.2);
    border-color: var(--primary-color) !important;
    transform: translateY(-8px);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: linear-gradient(135deg, var(--primary-color-light) 0%, rgba(230, 33, 41, 0.15) 100%);
    color: var(--primary-color);
    font-size: 24px;
    margin: 0 auto 25px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.feature-icon i {
    font-size: 24px !important;
    line-height: 1;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-icon i {
    position: relative;
    z-index: 1;
    transition: none;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(230, 33, 41, 0.4);
}

.feature-item:hover .feature-icon::after {
    opacity: 1;
}

.feature-item:hover .feature-icon i {
    transform: none;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: #1a1a1a;
    font-weight: 700;
    transition: color 0.3s ease;
}

.feature-item:hover h3 {
    color: var(--primary-color);
}

.feature-item p {
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.7;
}


/* 首页关于我们 */

.about-preview {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    text-align: right;
    /* 默认右对齐 */
}

.about-image.text-end {
    text-align: right;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: inline-block;
    max-width: 100%;
    margin-left: auto;
    object-fit: cover;
    /* 确保右对齐 */
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 700;
    border-left: none !important;
    /* Remove old style */
    padding-left: 0 !important;
}

.about-content p {
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.about-content .text-secondary {
    text-align: justify;
    /* 两端对齐 */
}


/* 产品展示 */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background: #fff;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 240px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-info p {
    color: #777;
    font-size: 14px;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* 新闻列表 */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    padding: 20px;
    margin-bottom: 0;
    /* Grid handles gap */
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-date-box {
    width: 70px;
    background-color: transparent;
    text-align: center;
    padding: 0;
    margin-right: 20px;
    flex-shrink: 0;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-date-year {
    display: none;
    /* Hide year for cleaner look */
}

.news-date-day {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.news-date-month {
    font-size: 14px;
    color: #999;
    display: block;
    text-transform: uppercase;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-color);
}

.news-excerpt {
    font-size: 14px;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* 团队成员 */

.team-member {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
    border: 1px solid #eee;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #f8f9fa;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.team-info p {
    color: #777;
    font-size: 14px;
}


/* 悬浮客服条 - 增强 */

.floating-bar {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-item {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.float-item a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.float-item i {
    font-size: 20px;
}

.float-text {
    position: absolute;
    right: 60px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    transform: translateX(10px);
}

.float-item:hover {
    background-color: var(--secondary-color);
}

.float-item:hover .float-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.wechat-qr {
    position: absolute;
    right: 60px;
    bottom: 0;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    text-align: center;
}


/* 发展历程模块 - 重新设计 */

.history-timeline-wrapper {
    position: relative;
    padding: 40px 0;
}

.history-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.history-center-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-color));
    transform: translateX(-50%);
    z-index: 1;
}

.history-item {
    position: relative;
    width: 50%;
    margin-bottom: 40px;
    z-index: 2;
}

.history-item-left {
    left: 0;
    padding-right: 60px;
    text-align: right;
}

.history-item-right {
    left: 50%;
    padding-left: 60px;
    text-align: left;
}

.history-content {
    position: relative;
}

.history-year {
    display: inline-block;
    margin-bottom: 16px;
    text-align: center;
}

.history-year .year-text {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    display: block;
}

.history-year .year-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.history-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(230, 33, 41, 0.15);
    border-color: var(--primary-color);
}

.history-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.history-item-left .history-header {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.history-item-right .history-header {
    flex-direction: row;
    justify-content: flex-start;
}

.history-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-color-light, rgba(230, 33, 41, 0.1));
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.history-card:hover .history-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.history-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.history-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.history-line-dot {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.history-item-left .history-line-dot {
    right: -10px;
}

.history-item-right .history-line-dot {
    left: -10px;
}

.history-item:hover .history-line-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(230, 33, 41, 0.1);
}

.dot-inner {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}


/* 企业文化模块 - 完全重写：图片背景 + 文字叠加设计 */

.culture-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.culture-slider {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.culture-slide {
    display: none;
    opacity: 0;
    position: relative;
    width: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    overflow: hidden;
    transition: opacity 0.8s ease-in-out;
}

.culture-slide.active {
    display: block;
    opacity: 1;
}


/* 图片遮罩层 - 左侧保持图片，右侧渐变到半透明 */

.culture-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, transparent 45%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}


/* 卡片容器 */

.culture-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 60px;
}


/* 文字内容区域 - 右侧叠加 */

.culture-content {
    margin-left: auto;
    max-width: 500px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.culture-title {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.15;
    position: relative;
    padding-bottom: 25px;
    letter-spacing: -2px;
}

.culture-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 3px;
}

.culture-desc {
    font-size: 18px;
    color: #333;
    line-height: 2;
    margin: 0;
    font-weight: 400;
    text-align: justify;
}


/* 导航指示器 */

.culture-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.culture-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.culture-indicator:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.culture-indicator.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}


/* 左右切换按钮 */

.culture-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.culture-nav-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.culture-nav-prev {
    left: -25px;
}

.culture-nav-next {
    right: -25px;
}


/* 企业文化响应式设计 */

@media (max-width: 768px) {
    .culture-slider {
        min-height: 500px;
        border-radius: 20px;
    }
    .culture-slide {
        min-height: 500px;
        border-radius: 20px;
    }
    /* 移动端：遮罩覆盖整个图片，文字居中 */
    .culture-slide::before {
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.7) 100%);
    }
    .culture-card {
        min-height: 500px;
        padding: 40px 30px;
        flex-direction: column;
        justify-content: flex-end;
    }
    .culture-content {
        margin-left: 0;
        max-width: 100%;
        padding: 30px;
        width: 100%;
    }
    .culture-title {
        font-size: 42px;
        margin-bottom: 20px;
        padding-bottom: 20px;
        letter-spacing: -1px;
    }
    .culture-title::after {
        width: 80px;
        height: 5px;
    }
    .culture-desc {
        font-size: 16px;
        line-height: 1.9;
    }
    .culture-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .culture-nav-prev {
        left: 10px;
    }
    .culture-nav-next {
        right: 10px;
    }
}


/* 响应式设计 */

@media (max-width: 768px) {
    .history-center-line {
        left: 30px;
    }
    .history-item {
        width: 100%;
        left: 0 !important;
        padding-left: 70px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    .history-item-left .history-icon,
    .history-item-right .history-icon {
        margin-left: 0;
        margin-right: auto;
    }
    .history-line-dot {
        left: 20px !important;
        right: auto !important;
    }
    .history-year .year-text {
        font-size: 36px;
    }
}

.wechat-qr img {
    width: 150px;
    height: 150px;
    display: block;
    object-fit: contain;
    /* 二维码保持完整显示 */
}

.wechat-qr p {
    margin: 5px 0 0;
    font-size: 12px;
    color: #666;
}

.float-item:hover .wechat-qr {
    display: block;
}


/* 分页组件 - 使用主题色 */

.pagination .page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.pagination .page-item.disabled .page-link:hover {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}


/* Force icon color to white on hover to prevent visibility issues with inline styles */

.feature-item:hover .feature-icon,
.feature-item:hover .feature-icon i,
.social-links a:hover,
.social-links a:hover i,
.float-item:hover a,
.float-item:hover i {
    color: #fff !important;
}


/* 统计数据模块样式 */

.stats-section {
    background-color: #1a1a1a !important;
    color: #fff !important;
}

.stat-item {
    padding: 20px;
}

.stat-value {
    color: #fff !important;
    font-weight: 700;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8) !important;
}


/* 服务流程模块样式 */

.process-timeline-wrapper {
    padding: 40px 0;
    position: relative;
}

.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step-item {
    flex: 0 0 calc(16.666% - 20px);
    min-width: 0;
    margin-bottom: 30px;
    position: relative;
}

@media (max-width: 1200px) {
    .process-step-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .process-step-item {
        flex: 0 0 100%;
        margin-bottom: 40px;
    }
}

.process-step-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.process-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: inherit;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 2px 8px rgba(230, 33, 41, 0.3);
    z-index: 1;
}

.process-step-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, rgba(230, 33, 41, 0.1) 0%, rgba(196, 30, 39, 0.1) 100%);
    border-radius: inherit;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    opacity: 1;
    z-index: 0;
}

.process-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(230, 33, 41, 0.2);
    border-color: var(--primary-color);
}

.process-step-card:hover::before {
    box-shadow: 0 4px 12px rgba(230, 33, 41, 0.4);
}

.process-step-number {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(230, 33, 41, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step-card:hover .step-number-bg {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(230, 33, 41, 0.4);
}

.step-number-text {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.process-step-content {
    flex: 1;
    width: 100%;
}

.process-step-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.process-step-card:hover .process-step-title {
    color: var(--primary-color);
}

.process-step-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.process-connector {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    display: flex;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .process-connector {
        display: none;
    }
}

.connector-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(230, 33, 41, 0.3) 100%);
    position: relative;
}

.connector-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.process-step-item:hover .connector-line::after {
    transform: scaleX(1);
}

.connector-arrow {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    box-shadow: 0 2px 8px rgba(230, 33, 41, 0.3);
    transition: all 0.3s ease;
    margin-left: -12px;
    position: relative;
    z-index: 100;
}

.process-step-item:hover .connector-arrow {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(230, 33, 41, 0.5);
}


/* 移动端优化 */

@media (max-width: 768px) {
    .process-step-card {
        padding: 25px 15px;
    }
    .process-step-number {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    .step-number-text {
        font-size: 24px;
    }
    .process-step-title {
        font-size: 16px;
    }
    .process-step-desc {
        font-size: 13px;
    }
}


/* 价格方案推荐标签样式 */

.pricing-badge-recommended {
    position: absolute;
    top: 16px;
    right: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 0 16px 0 20px;
    box-shadow: 0 4px 12px rgba(230, 33, 41, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transform: translate(0, 0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-badge-recommended::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    border-radius: 0 16px 0 20px;
    pointer-events: none;
}

.pricing-badge-recommended i {
    font-size: 12px;
    margin-right: 4px;
    animation: star-pulse 2s ease-in-out infinite;
}

@keyframes star-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.pricing-card:hover .pricing-badge-recommended {
    transform: translate(-2px, -2px);
    box-shadow: 0 6px 16px rgba(230, 33, 41, 0.5);
}

@media (max-width: 768px) {
    .pricing-badge-recommended {
        font-size: 12px;
        padding: 6px 16px;
        border-radius: 0 12px 0 16px;
    }
    .pricing-badge-recommended i {
        font-size: 10px;
    }
}