* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: '微软雅黑', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #333;
    text-decoration: none;
}

/* 内容容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.graybg {
    background-color: #f6f6f8;
}

/* 导航栏样式 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-weight: 700;
    color: #e94560;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links>li {
    line-height: 44px;
}

.nav-links a {
    padding: 6px 22px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    border: 2px solid #fff;
}

.nav-links a:hover,
.nav-links a.cur {
    color: #e60012;
    border: 2px solid #e60012;
    border-radius: 10px;
}

/* 下拉菜单样式 */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown>a {
    position: relative;
}

.dropdown-menu {
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    width: 100vw;
    transform: translateY(-10px);
    padding: 30px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

.dropdown-menu-modify {
    padding: 30px 0 20px 0;
    background-color: #fff;
    border-top: 1px solid #d8d8d8;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item-dropdown:hover>a {
    color: #e60012;
    border: 2px solid #e60012;
    border-radius: 10px;
}

.dropdown-content {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: flex-end;
}


.dropdown-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8d8d8;
    line-height: 22px;
}

.dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 60px;
    flex-wrap: wrap;
    margin-right: 30px;
}

.dropdown-list li {
    margin: 0;
}

.dropdown-list a {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    border: none;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.dropdown-list a:hover {
    color: #e60012;
    border: none;
    border-radius: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ff0000;
    margin: 3px 0;
    transition: 0.3s;
}

/* 轮播图样式 */
.slider-container {
    position: relative;
    width: 100%;
    /* max-width: 1920px; */
    margin: 80px auto 0 auto;
    overflow: hidden;
}

.slider-mobile {
    display: none;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    color: white;
    max-width: 1200px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.8s ease;
    opacity: 0;
}

.slider-slide.active .slide-content {
    opacity: 1;
}

/* 第一个轮播 - 文字居右，左对齐，垂直居中 */
.slide-content.right-middle {
    right: 0;
    left: auto;
    transform: translateX(0);
    top: 50%;
    transform: translateY(100px) translateX(0);
    max-width: 45%;
    padding: 0 80px;
}

.slider-slide.active .slide-content.right-middle {
    transform: translateY(-50%) translateX(0);
}

.text-group {
    text-align: left;
}

.text-line {
    font-size: 2rem;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 15px;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease;
    text-transform: uppercase;
}

/* 为每个文字行设置不同的动画延迟 */
.text-line.line-delay-1 {
    transition-delay: 0.2s;
}

.text-line.line-delay-2 {
    transition-delay: 0.4s;
}

.text-line.line-delay-3 {
    transition-delay: 0.6s;
}

.text-line.line-delay-4 {
    transition-delay: 0.8s;
}

.text-line.line-delay-5 {
    transition-delay: 1.0s;
}

/* 文字动画状态 */
.text-line.animate-in {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.text-line.red {
    color: #ff0000;
}

.text-line.black {
    color: #000000;
}

.text-line.bold {
    font-weight: bold;
}

.slide-content.left-middle {
    right: auto;
    left: 0;
    transform: translateX(0);
    top: 50%;
    transform: translateY(100px) translateX(0);
    max-width: 45%;
    padding: 0 80px;
}

.slider-slide.active .slide-content.left-middle {
    transform: translateY(-50%) translateX(0);
}

/* 第二个轮播 - 文字居左，顶部35px */
.slide-content.left-top {
    left: 0;
    transform: translateX(0) translateY(50px);
    bottom: calc(50% - 2em);
    max-width: 80%;
    padding: 30px 0 0 200px;
}

.slider-slide.active .slide-content.left-top {
    transform: translateX(0) translateY(0);
}

/* 第三个轮播 - 文字居左，顶部105px */
.slide-content.left-top2 {
    left: 0;
    transform: translateX(0) translateY(100px);
    top: 0;
    max-width: 50%;
    padding: 75px 0 0 80px;
}

.slider-slide.active .slide-content.left-top2 {
    transform: translateX(0) translateY(0);
}

.slider-controls {
    display: none;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:active {
    transform: translateY(0);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 12px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid red;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: red;
}

.progress-container {
    width: 80%;
    max-width: 600px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 25px auto;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ff6b6b);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

/* 响应式设计 */
@media (max-width: 1600px) {
    .text-line {
        font-size: 1.8rem;
    }
}

@media (max-width: 1200px) {
    .text-line {
        font-size: 1.6rem;
    }

    .slide-content.left-middle,
    .slide-content.right-middle,
    .slide-content.left-top,
    .slide-content.left-top2 {
        max-width: 60%;
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 768px) {
    .text-line {
        font-size: 1.4rem;
    }

    .slide-content.left-middle,
    .slide-content.right-middle,
    .slide-content.left-top,
    .slide-content.left-top2 {
        max-width: 80%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .slide-content.right-middle {
        max-width: 45%;
    }

    .slider-mobile {
        display: block;
    }

    .slider-mobile .slider-wrapper,
    .slider-mobile .slider-slide {
        height: 240px;
    }

    .slider-slide.active .slide-content.right-middle {
        transform: translateY(-80%) translateX(0);
    }
}

@media (max-width: 480px) {
    .text-line {
        font-size: 1.0rem;
        margin-bottom: 10px;
    }

    /* .slide-content.left-middle,
    .slide-content.right-middle,
    .slide-content.left-top,
    .slide-content.left-top2 {
        max-width: 90%;
        padding-left: 20px;
        padding-right: 20px;
    } */

    .slider-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* 内容区域样式 */
.content {
    padding: 30px 0;
}

.slogan {
    max-width: 1200px;
    padding: 40px 30px 0 30px;
    margin: auto;
    font-size: 35px;
    line-height: 2;
    font-weight: 400;
    text-transform: uppercase;
    font-weight: 100;
}

.slogan span {
    /* margin-left: 30px; */
    font-size: 28px;
    color: #bab9b9;
}

@media (max-width: 768px) {
    .slogan {
        padding-top: 20px;
        font-size: 14px;
        font-weight: 400;
    }

    .slogan span {
        font-size: 12px;
    }
}

.section-title {
    position: relative;
    margin: 20px auto;
    padding: 30px 0;
    border-top: 1px solid #cfcfcf;
    font-size: 28px;
    line-height: 30px;
    color: #666666;
    display: flex;
    align-items: center;
}

/* 锚点定位时考虑固定导航栏的高度 */
#hangye-tongdian,
#chanpin-fuwu {
    scroll-margin-top: 80px;
}

.section-title::before {
    content: '';
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #e72929;
    margin-right: 10px;
    /* 与文字间距 */
}

.section-title::after {
    content: '';
    position: relative;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 10px;
    /* 与文字间距 */
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #e72929;
    /* 红色三角 */
}

.section-title.purple::before {
    background: #7D46FA;
}

.section-title.purple::after {
    border-left: 20px solid #7D46FA;
}

.more {
    position: absolute;
    right: 0;
    top: 28px;
    font-size: 18px;
}

.center {
    text-align: center;
}

.center .section-title {
    display: inline-block;
    margin: 0 auto 88px auto;
}

.features {
    display: flex;
    gap: 90px;
    flex-wrap: wrap;
}

.feature-card {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: calc(20% - 72px);
    transition: transform 0.3s;
}

.feature-mini {
    flex-shrink: 0;
    width: 40%;
    text-align: center;
}

.feature-desc {
    display: none;
}

.feature-card:hover .feature-desc {
    display: block;
}

.feature-card.cur .feature-desc {
    display: block;
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #666666;
    font-weight: 400;
}

.feature-card p {
    font-size: 14px;
    color: #000;
    font-weight: 400;
}

.hexin-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 0;
    /* background: rgba(255, 255, 255, 0.8); */
    border-radius: 15px;
    transition: all 0.3s ease;
}

.hexin-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 40px 10px;
    border-radius: 10px;
    /* background: white; */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 80px;
    position: relative;
    overflow: hidden;
    height: 150px;
    /* 固定高度 */
}

.hexin-item:hover {
    flex-grow: 3;
}

.hexin-item.active {
    flex-grow: 3;
}

.content-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    transition: all 0.3s ease;
}

.icon-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    position: absolute;
    /* 使用绝对定位确保完全居中 */
    left: 0;
    top: 0;
}

.hexin-item:hover,
.hexin-item.active {
    background-color: #E5E5E5;
    box-shadow: 0 -2px 2px -3px rgba(0, 0, 0, 0.3), 5px 0 5px -3px rgba(0, 0, 0, 0.3), 0 5px 5px -3px rgba(0, 0, 0, 0.3), -5px 0 5px -3px rgba(0, 0, 0, 0.3);
}

.hexin-item:hover .icon-title,
.hexin-item.active .icon-title {
    width: auto;
    min-width: 100px;
    position: static;
    /* 悬停时恢复正常布局 */
    align-items: center;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.icon-red {
    display: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.hexin-item:hover .icon,
.hexin-item.active .icon {
    display: none;
    /* transform: scale(1.2); */
}

.hexin-item:hover .icon-red,
.hexin-item.active .icon-red {
    display: block;
    /* transform: scale(1.2); */
}

.hexin-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
}

.hexin-item:hover .hexin-title,
.hexin-item.active .hexin-title {
    color: #000;
}

.description {
    flex: 1;
    padding: 20px 10px;
    opacity: 0;
    width: 0;
    transition: all 0.4s ease;
    overflow: hidden;
    color: #555;
    /* border-left: 1px solid #eee; */
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hexin-item:hover .description,
.hexin-item.active .description {
    opacity: 1;
    width: auto;
}

.description h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #000;
    font-weight: 500;
}

.description p {
    font-size: 0.8rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hexin-container {
        flex-wrap: wrap;
    }

    .hexin-item {
        flex: 1 1 calc(50% - 15px);
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hexin-item {
        flex: 1 1 100%;
    }

    .hexin-item {
        box-shadow: 0 -2px 2px -3px rgba(0, 0, 0, 0.3), 5px 0 5px -3px rgba(0, 0, 0, 0.3), 0 5px 5px -3px rgba(0, 0, 0, 0.3), -5px 0 5px -3px rgba(0, 0, 0, 0.3);
    }

    .hexin-item .icon-title {
        width: auto;
        min-width: 100px;
        position: static;
        /* 悬停时恢复正常布局 */
        align-items: center;
    }

    .hexin-item .description {
        opacity: 1;
        width: auto;
    }

    .description {
        padding: 0 10px;
        margin-left: 10px;
    }
}

/* 底部样式 */
footer {

    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 40px 0 40px;
    border-top: 1px solid #cfcfcf;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 32px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #e94560;
}

.footer-links ul {
    list-style: none;
}

.footer-links>ul {
    display: flex;
    gap: 58px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
    font-size: 18px;
}

.footer-links a:hover {
    color: #e94560;
}

.sub-links {
    margin-top: 5px;
}

.sub-links li {
    margin-bottom: 5px;
}

.sub-links a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
    font-size: 14px;
}

.tel-con {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #ccc;
}

.phone {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 6px 0;
}

.share-section {
    margin-top: 32px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}

.share-title {
    font-size: 14px;
    color: #2c3e50;
    position: relative;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.share-btn {
    display: flex;

    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-5px);
    background: #f1f8ff;
}

.share-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 32px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.qzone .share-icon {
    background: #F7C948;
}

.weibo .share-icon {
    background: #E6162D;
}

.wechat .share-icon {
    background: #07C160;
}

.share-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.share-tip {
    text-align: center;
    margin-top: 25px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin: 200px auto;
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.modal-text {
    color: #5a6c7d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-btn:hover {
    background: #2980b9;
}

.wechat-qrcode {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    color: #7f8c8d;
}

.wechat-qrcode img {
    max-width: 100%;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-links>ul {
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer-links>ul>li {
        width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .card {
        padding: 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .share-buttons {
        gap: 15px;
    }


    .share-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .features {
        max-width: 100%;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    /* 小屏时隐藏下拉菜单 */
    .dropdown-menu {
        display: none !important;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .features {
        max-width: 100%;
        gap: 20px;
    }

    .feature-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .slider-container {
        /* height: 70vh; */
    }

    .slide-content {
        bottom: 15%;
        left: 5%;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .content {
        padding: 30px 0;
    }

    .center .section-title {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-title::before {
        width: 24px;
        height: 24px;
    }

    .section-title::after {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 16px solid #e72929;
        /* 红色三角 */
    }
}

@media (max-width: 576px) {
    .slider-container {
        /* height: 60vh; */
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}


/* 简单轮播图样式 */
.simple-carousel-title {
    padding-bottom: 60px;
    text-align: center;
}

.simple-carousel-bottom {
    text-align: center;
}

.simple-carousel-bottom img {
    max-width: 90%;
}

.simple-carousel-section {
    padding: 80px 0;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
    overflow: hidden;
}

.simple-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.simple-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 650px;
    position: relative;
}

.carousel-item-wrapper {
    position: absolute;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-item {
    width: 410px;
    height: 550px;
    border-radius: 0 0 0 0;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.carousel-item:hover img {
    transform: scale(1.1);
}

.carousel-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.carousel-item:hover .carousel-item-content {
    transform: translateY(0);
}

.carousel-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.carousel-item p {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* 图片倒影效果 */
.carousel-reflection {
    width: 100%;
    height: 80px;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    position: relative;
    /* transform: scaleY(-1); */
    opacity: 0.6;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.carousel-reflection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(2px) brightness(0.8);
}

.carousel-reflection img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleY(-1);
    object-position: 0 100%;
}

/* 定位各个项目 */
.carousel-item-wrapper.pos-left-2 {
    left: 5%;
    transform: scale(0.7) translateX(-50%) perspective(500px) rotateY(15deg);
    z-index: 1;
    opacity: 0.4;
}

.carousel-item-wrapper.pos-left-1 {
    left: 20%;
    transform: scale(0.85) translateX(-50%) perspective(500px) rotateY(8deg);
    z-index: 2;
    opacity: 0.7;
}

.carousel-item-wrapper.pos-center {
    left: 50%;
    transform: scale(1) translateX(-50%);
    z-index: 5;
    opacity: 1;
}

.carousel-item-wrapper.pos-center .carousel-item {
    width: 410px;
    height: 550px;
}

.carousel-item-wrapper.pos-center .carousel-reflection {
    height: 100px;
}

.carousel-item-wrapper.pos-right-1 {
    right: 20%;
    transform: scale(0.85) translateX(50%) perspective(500px) rotateY(-8deg);
    z-index: 2;
    opacity: 0.7;
}

.carousel-item-wrapper.pos-right-2 {
    right: 5%;
    transform: scale(0.7) translateX(50%) perspective(500px) rotateY(-15deg);
    z-index: 1;
    opacity: 0.4;
}

/* 高度变形效果 - 外侧比内侧高 */
.carousel-item-wrapper.pos-left-2 .carousel-item {
    height: 420px;
    /* 外侧更高 */
    transform: scaleY(1.1);
    transform-origin: top;
}

.carousel-item-wrapper.pos-left-1 .carousel-item {
    height: 410px;
    /* 稍高 */
    transform: scaleY(1.05);
    transform-origin: top;
}

.carousel-item-wrapper.pos-right-1 .carousel-item {
    height: 410px;
    /* 稍高 */
    transform: scaleY(1.05);
    transform-origin: top;
}

.carousel-item-wrapper.pos-right-2 .carousel-item {
    height: 420px;
    /* 外侧更高 */
    transform: scaleY(1.1);
    transform-origin: top;
}

/* 隐藏的项目 */
.carousel-item-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
    opacity: 0;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background-color: #e94560;
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: #e94560;
    color: white;
}

.carousel-prev {
    display: none;
    left: 0;
}

.carousel-next {
    display: none;
    right: 0;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .simple-carousel-container {
        padding: 0 50px;
    }

    .carousel-item {
        width: 180px;
        height: 270px;
    }

    .carousel-item-wrapper.pos-center .carousel-item {
        width: 220px;
        height: 320px;
    }

    .carousel-item-wrapper.pos-center .carousel-reflection {
        height: 90px;
    }

    /* 调整变形高度 */
    .carousel-item-wrapper.pos-left-2 .carousel-item,
    .carousel-item-wrapper.pos-right-2 .carousel-item {
        height: 290px;
    }

    .carousel-item-wrapper.pos-left-1 .carousel-item,
    .carousel-item-wrapper.pos-right-1 .carousel-item {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .simple-carousel {
        height: 400px;
    }

    .simple-carousel-container {
        padding: 0 30px;
    }

    .simple-carousel-title {
        padding-bottom: 20px;
    }

    .carousel-item {
        width: 150px;
        height: 225px;
    }

    .carousel-item-wrapper.pos-center .carousel-item {
        width: 180px;
        height: 270px;
    }

    .carousel-item-wrapper.pos-center .carousel-reflection {
        height: 80px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* 调整变形高度 */
    .carousel-item-wrapper.pos-left-2 .carousel-item,
    .carousel-item-wrapper.pos-right-2 .carousel-item {
        height: 245px;
    }

    .carousel-item-wrapper.pos-left-1 .carousel-item,
    .carousel-item-wrapper.pos-right-1 .carousel-item {
        height: 235px;
    }
}

@media (max-width: 576px) {
    .simple-carousel {
        height: 400px;
    }

    .simple-carousel-container {
        padding: 0 30px;
    }

    .carousel-item {
        width: 120px;
        height: 180px;
    }

    .carousel-item-wrapper.pos-center .carousel-item {
        width: 150px;
        height: 225px;
    }

    .carousel-item-wrapper.pos-center .carousel-reflection {
        height: 70px;
    }

    .carousel-item-wrapper.pos-left-2,
    .carousel-item-wrapper.pos-right-2 {
        opacity: 0.2;
    }

    .carousel-item-wrapper.pos-left-1,
    .carousel-item-wrapper.pos-right-1 {
        opacity: 0.5;
    }

    /* 调整变形高度 */
    .carousel-item-wrapper.pos-left-2 .carousel-item,
    .carousel-item-wrapper.pos-right-2 .carousel-item {
        height: 200px;
    }

    .carousel-item-wrapper.pos-left-1 .carousel-item,
    .carousel-item-wrapper.pos-right-1 .carousel-item {
        height: 190px;
    }
}


.news-carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow:
        0 -5px 5px -3px rgba(0, 0, 0, 0.3),
        /* 上阴影 */
        5px 0 5px -3px rgba(0, 0, 0, 0.3),
        /* 右阴影 */
        0 5px 5px -3px rgba(0, 0, 0, 0.3),
        /* 下阴影 */
        -5px 0 5px -3px rgba(0, 0, 0, 0.3);
    /* 左阴影 */
}

.news-carousel-wrapper {
    position: relative;
    border-radius: 12px;


    background: white;
}

.news-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.news-carousel-item {
    flex: 0 0 100%;
    display: flex;
    min-height: 295px;
}

.news-image-container {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 12px 0 0 12px;
}

/* .news-carousel-item:hover .news-image {
    transform: scale(1.05);
    border-radius: 12px 0 0 12px;
} */

.news-content {
    flex: 0 0 55%;
    padding: 30px 30px 30px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.news-divider {
    position: absolute;
    left: 30px;
    top: 15%;
    height: 70%;
    width: 3px;
    background: #c00;
}

.news-date {
    color: #878686;
    font-size: 13px;
    margin-bottom: 10px;
}

.news-title {
    color: #666666;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 300;
}

.news-summary {
    color: #878686;
    font-size: 13px;
    line-height: 2;
}

.read-more {
    margin-top: 10px;
}

.news-carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.news-carousel-dots {
    display: flex;
    gap: 12px;
}

.news-carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #c00;
    cursor: pointer;
    transition: all 0.3s;
}

.news-carousel-dot.active {
    background-color: #c00;
}

.news-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(204, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.news-carousel-btn:hover {
    background: rgba(204, 0, 0, 1);
    transform: translateY(-50%) scale(1.1);
}

.news-carousel-btn.prev {
    display: none;
    left: 20px;
}

.news-carousel-btn.next {
    display: none;
    right: 20px;
}

.news-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.news-btn {
    padding: 12px 25px;
    background: #c00;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(204, 0, 0, 0.3);
}

.news-btn:hover {
    background: #a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.4);
}

.code-section {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    line-height: 1.5;
}

.code-section h3 {
    color: #ecf0f1;
    margin-bottom: 15px;
    border-bottom: 1px solid #4a6572;
    padding-bottom: 8px;
}

@media (max-width: 768px) {
    .news-carousel-item {
        flex-direction: column;
        min-height: auto;
    }

    .news-image-container {
        flex: 0 0 250px;
    }

    .news-image {
        border-radius: 12px 12px 0 0;
    }

    .news-divider {
        display: none;
    }

    .news-content {
        padding: 30px 30px 30px 30px;
    }

    .news-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }
}

/* 纵向滚动新闻 */
.vertical-news-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vertical-news-container {
    background: white;
    /* border-radius: 12px; */
    overflow: hidden;
    position: relative;
    height: 456px;
    /* 4条新闻 * (92px + 22px) = 456px，加上一些边距 */
    width: 100%;
    margin: 10px 0;
}

.vertical-news-list {
    transition: transform 0.5s ease;
    position: relative;
}

.vertical-news-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    background-color: #f5f5f5;
    height: 92px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
    cursor: pointer;
    /* border-radius: 6px; */
}

.vertical-news-item:last-child {
    margin-bottom: 0;
}

.vertical-news-item:hover {
    background-color: #fcb1b1;
    color: white;
}

.vertical-news-date {
    flex: 0 0 220px;
    color: #878686;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.vertical-news-item:hover .vertical-news-date {
    color: white;
}

.vertical-news-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
    padding-left: 20px;
    color: #666666;
}

.vertical-news-item:hover .vertical-news-title {
    color: #fff;
    font-size: 24px;
    /* border-left-color: rgba(255, 255, 255, 0.5); */
}

.vertical-news-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.vertical-news-btn:hover {
    transform: scale(1.1);
}

.vertical-news-btn.up {
    margin-bottom: 20px;
}

.vertical-news-btn.down {
    transform: scaleY(-1);
}

@media (max-width: 768px) {
    .vertical-news-container {
        height: 456px;
    }

    .vertical-news-item {
        padding: 0 15px;
        height: 92px;
    }

    .vertical-news-date {
        flex: 0 0 100px;
        font-size: 0.85rem;
    }

    .vertical-news-title {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }


}

/* 解决方案 */
.banner-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #1a1a2e;
    margin: 80px auto 0 auto;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/fangan_lunbo.jpg');
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* .banner-container:hover .banner-bg {
    transform: scale(1.05);
} */

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
}

.banner-content {
    position: relative;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.banner-text {
    position: absolute;
    left: 20px;
    bottom: -100px;
    color: #000;
    width: 50%;
    min-width: 300px;
    opacity: 0;
}

.banner-text.animate {
    animation: textMove 1.2s ease-out forwards;
}

.banner-text h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.banner-text p {
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 200;
}

.banner-text .bold {
    font-weight: bold;
}

@keyframes textMove {
    0% {
        bottom: -100px;
        opacity: 0;
    }

    100% {
        bottom: 60%;
        transform: translateY(92%);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .banner-text {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .banner-bg {
        background-image: url('../img/fangan_lunbo_m.jpg');
    }

    .banner-container {
        height: 372px;
    }

    .banner-text {
        width: 80%;
        left: 20px;
    }

    .banner-text h1 {
        font-size: 2.2rem;
    }

    .banner-text p {
        font-size: 1.1rem;
    }

    @keyframes textMove {
        0% {
            bottom: -100px;
            opacity: 0;
        }

        100% {
            bottom: 60%;
            transform: translateY(50%);
            opacity: 1;
        }
    }
}

@media (max-width: 480px) {
    .banner-container {
        height: 240px;
    }

    .banner-text {
        width: 90%;
        left: 20px;
    }

    .banner-text h1 {
        font-size: 1.8rem;
    }

    .banner-text p {
        font-size: 1rem;
        margin-bottom: 0;
    }
}

.solution_slogan {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 50px;
    padding: 72px 0 50px 0;
    color: #666666;
    font-size: 45px;
    line-height: 1.2;
    font-weight: 100;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .solution_slogan {
        display: block;
        padding: 20px 0 20px 0;
        font-size: 16px;
    }
}

.hangye {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 10px;
    padding-bottom: 158px;
}

.hangye-elements-container {
    display: flex;
    gap: 20px;
    height: 400px;
    align-items: center;
    margin-bottom: 50px;
}

.hangye-element {
    flex: 1;
    display: flex;
    justify-content: center;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    height: 320px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #e5e5e5;
    color: #737373;
}

.hangye-element.active {
    color: #fff;
}

/* .hangye-element:nth-child(1) { background-image: url(../img/tongdian-1.png); }
        .hangye-element:nth-child(2) { background-image: url(../img/tongdian-2.png); }
        .hangye-element:nth-child(3) { background-image: url(../img/tongdian-3.png); } */

.hangye-element:nth-child(1):hover,
.hangye-element:nth-child(1).active {
    background-image: url(../img/tongdian-big-1.png);
}

.hangye-element:nth-child(2):hover,
.hangye-element:nth-child(2).active {
    background-image: url(../img/tongdian-big-2.png);
}

.hangye-element:nth-child(3):hover,
.hangye-element:nth-child(3).active {
    background-image: url(../img/tongdian-big-3.png);
}

.hangye-content {
    flex: 1;
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    justify-content: center;
}

.hangye-icon-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px auto;
    padding-bottom: 10px;
    transition: all 0.4s ease;
    width: fit-content;
    border-bottom: 2px solid #ff4757;
}

.hangye-icon,
.hangye-icon2 {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.hangye-icon2 {
    display: none;
}

.hangye-icon img,
.hangye-icon2 img {
    max-height: 40px;
}

.hangye-title-text {
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.hangye-description {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    transition: all 0.4s ease;
    text-align: center;
}

.hangye-description2 {
    display: none;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.hangye-image-container {
    flex: 0 0 40%;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.hangye-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: left center;
    transition: all 0.4s ease;
}

/* 默认状态 - 图片只显示左侧部分 */
.hangye-element:not(:hover) .hangye-image-container {
    flex: 0 0 40%;
}

.hangye-element:not(:hover) .hangye-image {
    /* transform: scale(1.2); */
    background-position: left center;
}

/* 悬停状态 */
.hangye-element:hover,
.hangye-element.active {
    flex: 2;
}

.hangye-element:hover .hangye-image-container,
.hangye-element.active .hangye-image-container {
    flex: 0 0 60%;
}

.hangye-element:hover .hangye-icon-title,
.hangye-element.active .hangye-icon-title {
    margin: 0 0 15px 0;
}

.hangye-element:hover .hangye-image {
    transform: scale(1);
    background-position: left center;
}

.hangye-element:hover .hangye-description2,
.hangye-element.active .hangye-description2 {
    display: block;
}

.hangye-element:hover .hangye-description,
.hangye-element.active .hangye-description {
    display: none;
}

.hangye-element:hover .hangye-icon2,
.hangye-element.active .hangye-icon2 {
    display: block;
}

.hangye-element:hover .hangye-icon,
.hangye-element.active .hangye-icon {
    display: none;
}

/* 非悬停元素 */
.hangye-elements-container:hover .hangye-element:not(:hover) .hangye-image-container {
    flex: 0 0 0%;
    opacity: 0;
}

/* .hangye-elements-container:hover .hangye-element:not(:hover) .hangye-icon-title {
            flex-direction: column;
            border-bottom: none;
            text-align: center;
            width: 100%;
        } */

/* .hangye-elements-container:hover .hangye-element:not(:hover) .hangye-icon {
            margin-right: 0;
            margin-bottom: 10px;
        } */

.hangye-elements-container:hover .hangye-element:not(:hover) .hangye-title-text {
    font-size: 1.1rem;
}

.hangye-elements-container:hover .hangye-element:not(:hover) .hangye-description {
    opacity: 0.6;
}

/* 响应式设计 - 移动端 */
@media (max-width: 900px) {
    .hangye-elements-container {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }

    .hangye-element {
        flex-direction: row;
        height: 280px;
        /* 移动端增加高度 */
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .hangye-content {
        padding: 20px;
        flex: 1;
    }

    .hangye-image-container {
        flex: 0 0 50%;
        /* 移动端图片区域加宽 */
        opacity: 1 !important;
    }

    .hangye-element:not(:hover) .hangye-image-container,
    .hangye-element:hover .hangye-image-container {
        flex: 0 0 50%;
        /* 移动端固定图片宽度 */
    }

    .hangye-element:not(:hover) .hangye-image,
    .hangye-element:hover .hangye-image {
        transform: scale(1);
        background-position: left center;
    }

    /* 移动端悬停效果简化 */
    .hangye-element:hover {
        flex: 1;
        transform: translateY(-5px);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    }

    /* 移动端非悬停元素保持正常状态 */
    .hangye-elements-container:hover .hangye-element:not(:hover) .hangye-image-container {
        flex: 0 0 50%;
        opacity: 1;
    }

    .hangye-elements-container:hover .hangye-element:not(:hover) .hangye-icon-title {
        flex-direction: row;
        border-bottom: 2px solid #ff4757;
        text-align: left;
        width: fit-content;
    }

    /* .hangye-elements-container:hover .hangye-element:not(:hover) .hangye-icon {
                margin-right: 15px;
                margin-bottom: 0;
            } */

    .hangye-elements-container:hover .hangye-element:not(:hover) .hangye-title-text {
        font-size: 1.4rem;
    }

    .hangye-elements-container:hover .hangye-element:not(:hover) .hangye-description {
        opacity: 0.9;
    }

    .hangye-title {
        font-size: 2rem;
    }

    .hangye-subtitle {
        font-size: 1rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 600px) {
    .hangye-element {
        height: 260px;
        /* 超小屏幕保持较高高度 */
    }

    .hangye-content {
        padding: 15px;
    }

    .hangye-icon,
    .hangye-icon2 {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .hangye-title-text {
        font-size: 1.2rem;
    }

    .hangye-description {
        font-size: 0.9rem;
    }

    .hangye-image-container {
        flex: 0 0 45%;
        /* 超小屏幕图片区域保持较宽 */
    }

    .hangye-element:not(:hover) .hangye-image-container,
    .hangye-element:hover .hangye-image-container {
        flex: 0 0 45%;
    }
}

/* 超超小屏幕优化 */
@media (max-width: 480px) {
    .hangye-element {
        height: 200px;
        /* 垂直布局时增加高度 */
        min-height: 200px;
        justify-content: space-between;
    }

    .hangye-content {
        /* flex: none; */
        padding-bottom: 10px;
    }

    .hangye-icon img,
    .hangye-icon2 img {
        width: 40px;
    }

    .hangye-image-container {
        flex: 0 0 200px;
        /* 垂直布局时图片区域加高 */
        width: 100%;
    }

    .hangye-element:not(:hover) .hangye-image-container,
    .hangye-element:hover .hangye-image-container {
        flex: 0 0 200px;
    }
}

.fuwu-cat {
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 60px;
    border-radius: 30px;
    background: #e5e5e5;
}

.fuwu-cat.mini {
    max-width: 884px;
}

.fuwu-cat-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 33%;
    height: 60px;
    border-radius: 30px;
    color: #616161;
}

.fuwu-cat-item img {
    height: 25px;
}

.whiteimg {
    display: none;
}

.fuwu-cat-item:hover,
.fuwu-cat-item.active {
    background: #e41122;
    color: #fff;
}

.fuwu-cat-item.moer-item:hover,
.fuwu-cat-item.moer-item.active {
    background: #7D46FA;
    color: #fff;
}

.fuwu-cat-item:hover .whiteimg,
.fuwu-cat-item.active .whiteimg {
    display: block;
}

.fuwu-cat-item:hover .blackimg,
.fuwu-cat-item.active .blackimg {
    display: none;
}

.fuwu-desc {
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    color: #616161;
    padding: 42px 0 50px 0;
}

.fuwu-content {
    display: none;
}

.fuwu-content.active {
    display: block;
}

.fuwu-con {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 80px;
    padding: 50px 60px;
    margin-top: 80px;
    border-radius: 20px;
    box-shadow: 0 -2px 2px -3px rgba(0, 0, 0, 0.3), 5px 0 5px -3px rgba(0, 0, 0, 0.3), 0 5px 5px -3px rgba(0, 0, 0, 0.3), -5px 0 5px -3px rgba(0, 0, 0, 0.3);
}

.fuwu-con-lunbo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 80px;
}

.fuwu-con h1 {
    font-size: 24px;
}

.fuwu-con p {
    font-size: 14px;
    text-align: justify;
    line-height: 2;
}

.fuwu-img {
    flex-shrink: 0;
    width: 60%;
}

.fuwu-img img {
    max-width: 100%;
}

@media (max-width: 768px) {
    .fuwu-cat {
        margin: auto;
        display: block;
        height: auto;
        background: none;
    }

    .fuwu-cat-item {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        width: 100%;
        height: 60px;
        border-radius: 30px;
        color: #616161;
        background: #e5e5e5;
        margin: 10px 0;
    }

    .fuwu-con,
    .fuwu-con-lunbo {
        display: block;
    }

    .fuwu-img {
        width: 100%;
    }

    .fuwu-img img {
        margin-top: 30px;
        max-width: 100%;
    }
}

/* 产品及服务 */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 70px auto 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* 背景图 */
    background-image: url('../img/fuwu.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: background-image 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 背景缩放动画类 */
.bg-zoom-in {
    animation: bgZoomIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.bg-zoom-out {
    animation: bgZoomOut 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bgZoomIn {
    0% {
        background-size: 135% 135%;
    }

    100% {
        background-size: 110% 110%;
    }
}

@keyframes bgZoomOut {
    0% {
        background-size: 135% 135%;
    }

    100% {
        background-size: 110% 110%;
    }
}

/* .grid-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
} */

.grid-container.bg1 {
    background-image: url(../img/service/12.png);
}

.grid-container.bg2 {
    background-image: url(../img/service/7.png);
}

.grid-container.bg3 {
    background-image: url(../img/service/1.png);
}

.grid-container.bg4 {
    background-image: url(../img/service/ai/0.png);
}

.grid-item {
    /* 关键代码：使用aspect-ratio确保正方形 */
    aspect-ratio: 1.33 / 1;

    /* 关键代码：严格2行4列，使用百分比确保精确 */
    width: 33.33%;

    /* 边线设置 - 白色 */
    border-right: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);


    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.grid-item.twocol {
    width: 50%;
}

.grid-item.fourcol {
    aspect-ratio: 2 / 1;
    width: 50%;
}

.grid-item.eightcol {
    aspect-ratio: 1 / 1;
    width: 25%;
}

/* 遮罩层 */
.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(239, 1, 1, 0);
    /* 初始透明 */
    transition: all 0.3s ease;
    z-index: 1;
}

/* 使用类名控制 hover 效果，通过 JavaScript 事件触发 */
.grid-item.hover-active::before {
    background: rgba(239, 1, 1, 0.4);
    /* 半透明红色遮罩 */
}

.grid-star {
    position: absolute;
    z-index: 100;
    transform: translateY(18.5px) translateX(-18.5px);
}

.grid-star.l25 {
    left: 25%;
    bottom: 50%;
}

.grid-star.l50 {
    left: 50%;
    bottom: 50%;
}

.grid-star.l75 {
    left: 75%;
    bottom: 50%;
}

.grid-star.l33 {
    left: 33.33%;
    bottom: 50%;
}

.grid-star.l66 {
    left: 66.66%;
    bottom: 50%;
}

.grid-item-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* 移除最后一列的右边线 */
/* .grid-item:nth-child(3n) {
    border-right: none;
} */
.grid-item.fourcol:nth-child(3n),
.grid-item.eightcol:nth-child(4n) {
    border-right: 1px solid rgba(255, 255, 255, 0.8);
}

/* 移除最后两行的下边线 */
/* .grid-item:nth-child(4),
.grid-item:nth-child(5),
.grid-item:nth-child(6),
.grid-item:nth-child(7),
.grid-item:nth-child(8) {
    border-bottom: none;
} */
.grid-item.eightcol:nth-child(4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    ;
}

.item-icon {
    margin-bottom: 10px;
    transition: all 0.3s ease;

}

.item-icon img:first-child {
    max-width: 70px;
}

.item-title {
    font-size: 30px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.item-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    line-height: 2;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all 0.4s ease;
}

.item-more {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    font-size: 12px;
    display: none;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    text-align: left;
}

.item-more-text {
    width: 0;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.item-more-text a {
    color: #fff;
}

/* SVG图标样式 */
.item-more svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* 悬停效果 - 使用类名控制，通过 JavaScript 事件触发 */
.grid-item.hover-active .item-more-text {
    width: 50px;
    /* 根据"查看更多"的实际宽度调整 */
}

.grid-item.hover-active .wanyoutong.item-more-text {
    width: 74px;
    /* 根据"查看更多"的实际宽度调整 */
}

.grid-item.hover-active .item-more svg {
    transform: translateX(3px);
    -webkit-transform: translateX(3px);
    /* 添加图标轻微移动效果 */
}

.grid-item.hover-active {
    text-align: left;
}

.grid-item.hover-active .grid-item-content {
    text-align: left;
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-item.hover-active .item-icon,
.grid-item.hover-active .item-title,
.grid-item.hover-active .item-desc {
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
}

.grid-item.hover-active .item-desc {
    opacity: 1;
    max-height: 120px;
    margin-top: 0;
    flex: 1;
}

/* 图标和标题左右排列 */
.grid-item.hover-active .grid-item-icontitle {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 30px;
    flex-shrink: 0;
    margin-bottom: 8px;
}

.grid-item.hover-active .grid-item-icontitle .item-icon img {
    height: 30px;
}

.grid-item.hover-active .item-title {
    font-size: 18px;
}

.grid-item.hover-active .item-more {
    display: flex;
    margin-top: 10px;
    position: relative;
    bottom: auto;
    left: 0;
    flex-shrink: 0;
    justify-content: flex-start;
    text-align: left;
    align-self: flex-start;
}

.hidden-mx {
    display: none;
}


/* hidden-mx-important 默认隐藏 */
.hidden-mx-important {
    display: none !important;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .grid-container {
        max-width: 100%;
    }

    .hangye {
        max-width: 100%;
    }

    .hangye img {
        max-width: calc(33.33% - 8px);
    }
}

@media (max-width: 768px) {
    .grid-item {
        width: 50%;
        /* 小屏幕改为2列 */
        border-right: 1px solid #e41122;
        border-bottom: 1px solid #e41122;
    }

    /* 小屏幕时，每行的第二个元素移除右边线 */
    .grid-item:nth-child(2n) {
        1px solid #e41122;
    }

    /* 小屏幕时，最后一行移除下边线 */
    .grid-item:nth-child(n+7) {
        border-bottom: none;
    }

    /* 重置大屏幕的样式 */
    .grid-item:nth-child(4n) {
        border-right: 1px solid #e41122;
    }

    .grid-item:nth-child(5),
    .grid-item:nth-child(6),
    .grid-item:nth-child(7),
    .grid-item:nth-child(8) {
        border-bottom: 1px solid #e41122;
    }

    .hidden-xs {
        display: none;
    }

    /* 小屏隐藏 hidden-xs-important */
    .hidden-xs-important {
        display: none !important;
    }

    .hidden-mx {
        display: block;
    }


    /* 解决 hover-active 状态下的权重冲突，确保使用 flex 布局 */
    .grid-item.hover-active .item-more.hidden-xs-important {
        display: none !important;
    }

    .grid-item.hover-active .item-more.hidden-mx-important {
        display: flex !important;
    }

    .grid-star {
        display: none;
    }
}

@media (max-width: 480px) {
    .grid-container {
        margin: 30px auto 0 auto;
        background: none;
        box-shadow: none;
    }

    .grid-container.bg1,
    .grid-container.bg2,
    .grid-container.bg3,
    .grid-container.bg4 {
        background-image: none;
    }

    .grid-item,
    .grid-item.twocol,
    .grid-item.fourcol,
    .grid-item.eightcol {
        width: calc(50% - 20px);
        /* 超小屏幕改为2列 */
        margin: 10px 10px;
        padding: 20px 0 20px 20px;
        background: #fff;
        border-radius: 10px;
        justify-content: flex-start;
        flex-direction: row;
        aspect-ratio: 0;
        /* border-right: none;
        border-bottom: none; */
        border: 1px solid #e41122;
        color: #e41122;
    }

    .grid-item:last-child {
        border-right: 1px solid #e41122;
    }

    /* 重置其他样式 */
    .grid-item:nth-child(2n) {
        border-right: 1px solid #e41122;
    }

    .grid-item.fourcol:nth-child(3n),
    .grid-item.eightcol:nth-child(3n) {
        border-right: 1px solid #e41122;
    }

    .grid-item.eightcol:nth-child(4) {
        border-bottom: 1px solid #e41122;
    }

    .grid-item.fourcol:nth-child(3n),
    .grid-item.eightcol:nth-child(4n) {
        border-right: 1px solid #e41122;
    }

    /* .grid-item:nth-child(n+7) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    } */
    .grid-item-content {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
    }

    .grid-item-icontitle {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
    }

    .item-icon {
        margin-bottom: 0;
    }

    .item-icon img {
        height: 20px;
    }

    .item-title {
        font-size: 14px;
        margin-bottom: 0;
        color: #e41122;
    }

    .grid-star,
    .item-desc {
        display: none;
    }
}

/* 万联摩尔 */
.wanlian_banner {
    margin-top: 80px;
    width: 100%;
    position: relative;
}

.wanlian_banner>img {
    width: 100%;
}

.wanlian_banner_bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.wanlian_banner_item {
    margin: auto;
    max-width: 1200px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.wanlian_banner_text {
    padding-top: 130px;
    text-align: center;
    font-size: 45px;
    line-height: 60px;
    font-weight: 300;
}

.video-container {
    position: relative;
    width: 100%;
    background-color: #fff;
    overflow: hidden;
    margin-top: 80px;
}

#myVideo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.video-controls {
    display: none;
    align-items: center;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
}

.play-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
}

.progress-container {
    flex-grow: 1;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin-right: 15px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    height: 100%;
    background-color: #3498db;
    border-radius: 3px;
    width: 0%;
}

.time {
    font-size: 14px;
    white-space: nowrap;
}

.volume-container {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.volume-icon {
    margin-right: 8px;
    font-size: 18px;
}

.volume-slider {
    width: 80px;
}

@media (max-width: 768px) {
    .video-controls {
        flex-wrap: wrap;
    }

    .progress-container {
        order: 3;
        flex-basis: 100%;
        margin-top: 10px;
        margin-right: 0;
    }
}

.wenda_bg {
    background: #f6f8fa;
}

.wenda_desc {
    color: #666666;
    line-height: 2;
    text-align: left;
    text-indent: 2rem;
}

.moer {
    max-width: 100%;
    margin: 60px auto 90px auto;
}

.model-bg {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 130px;
    max-width: 1200px;
    padding: 30px 24px;
    background: #f6f8fa;
    border-radius: 20px;
}

.model-bg img {
    width: 461px;
}

.model-nums {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-grow: 1;
    gap: 40px 0;
}

.model-nums-item {
    flex: 1 1 50%;
}

.model-nums-item .num {
    font-size: 48px;
    color: #666666;
    font-weight: 700;
}

.model-nums-item .unit {
    font-size: 30px;
    color: #666666;
}

.model-nums-item .desc {
    font-size: 18px;
    color: #616161;
}

.team-info {
    max-width: 1200px;
    height: 598px;
    padding: 0 70px 0 0;
    color: #616161;
    font-size: 18px;
    line-height: 2;
    background: #f4f5f6;
    border-radius: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-image: url(../img/team-bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.team-info-text {
    width: 50%;
}

@media (max-width: 768px) {
    .team-info {
        height: auto;
        padding: 20px 20px 20px 20px;
        background-image: none;
    }

    .team-info-text {
        width: 100%;
        font-size: 12px;
    }
}

/* .team-info img{
  margin-top: 100px;
  max-width: 100%;
} */
/* 响应式设计 */
@media (max-width: 1200px) {
    .wanlian_banner_text {
        padding-top: 60px;
        font-size: 32px;
        line-height: 40px;
        font-weight: 300;
    }
}

@media (max-width: 992px) {
    .model-bg {
        flex-wrap: wrap;
        gap: 30px;
        max-width: 100%;
        padding: 30px 24px;
    }

    .model-bg img {
        max-width: 100%;
    }
}


/* 公司简介 */
.about-banner {
    margin-top: 80px;
    height: 500px;
    background: #f4f5f6;
    background-image: url(../img/aboutbg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.about-banner-con {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    height: 100%;
}

.about-banner-text {
    width: 50%;
    color: #666666;
}

.about-banner-text h1 {
    line-height: 40px;
    font-size: 40px;
}

.about-banner-text h2 {
    line-height: 60px;
    font-size: 60px;
    padding: 0 0 40px 40px;
}

.about-banner-text h1 .img1 {
    height: 30px;
    vertical-align: top;
    margin-top: 3px;
}

.about-banner-text h2 .img2 {
    height: 32px;
    vertical-align: baseline;
}

.about-banner-text p {
    text-indent: 2rem;
    font-size: 18px;
    padding-left: 50px;
}

@media (max-width: 768px) {
    .about-banner {
        height: auto;
        padding: 20px 20px 20px 0;
    }

    .about-banner-text {
        width: 60%;
        font-size: 12px;
    }

    .about-banner-text h1 {
        line-height: 20px;
        font-size: 20px;
    }

    .about-banner-text h2 {
        line-height: 30px;
        font-size: 30px;
        padding: 0 0 30px 30px;
    }

    .about-banner-text h1 .img1 {
        height: 20px;
        vertical-align: top;
        margin-top: 3px;
    }

    .about-banner-text h2 .img2 {
        height: 22px;
        vertical-align: baseline;
    }

    .about-banner-text p {
        font-size: 12px;
    }
}

.about-text {
    padding-left: 44px;
    font-size: 18px;
    color: #000;
    max-width: 885px;
    font-weight: 400;
}

.about-img {
    margin-top: 150px;
    max-width: 100%;
}

.huoban-img {
    max-width: 100%;
}

.about-elements-container {
    display: flex;
    gap: 20px;

    align-items: center;
    margin: 20px 0 0 0;
}

.about-element {
    flex: 1;
    display: flex;
    justify-content: center;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    height: 320px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #737373;
}

.about-element:nth-child(1):hover,
.about-element:nth-child(1).active {
    background-image: url(../img/about-1.png);
}

.about-element:nth-child(2):hover,
.about-element:nth-child(2).active {
    background-image: url(../img/about-2.png);
}

.about-element:nth-child(3):hover,
.about-element:nth-child(3).active {
    background-image: url(../img/about-3.png);
}

.about-content {
    flex: 1;
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    justify-content: center;
}

.about-content2 {
    display: none;
    width: 100%;
    height: 130px;
    padding: 0 40px;
    /* display: flex; */
    transition: all 0.4s ease;
    justify-content: space-between;
    align-items: center;
    background: rgba(216, 32, 32, 0.8);
    color: #fff;
}

.about-icon-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px auto;
    padding-bottom: 10px;
    transition: all 0.4s ease;
    width: fit-content;
    border-bottom: 2px solid #ff4757;
}

.about-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.4s ease;
    flex-shrink: 0;
    color: #d82020;
}

.about-icon img {
    max-height: 40px;
}

.about-title-text {
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.about-description {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    transition: all 0.4s ease;
    text-align: center;
}

.about-description2 {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.about-image-container {
    flex: 0 0 40%;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: left center;
    transition: all 0.4s ease;
}

/* 默认状态 - 图片只显示左侧部分 */
.about-element:not(:hover) .about-image-container {
    flex: 0 0 40%;
}

.about-element:not(:hover) .about-image {
    /* transform: scale(1.2); */
    background-position: left center;
}

/* 悬停状态 */
.about-element:hover,
.about-element.active {
    flex: 2;
}

.about-element:hover .about-content,
.about-element.active .about-content {
    display: none;
}

.about-element:hover .about-content2,
.about-element.active .about-content2 {
    display: flex;
}

.about-element:hover .about-image-container {
    flex: 0 0 60%;
}

.about-element:hover .about-icon-title {
    margin: 0 0 15px 0;
}

.about-element:hover .about-image {
    transform: scale(1);
    background-position: left center;
}

/* 非悬停元素 */
.about-elements-container:hover .about-element:not(:hover) .about-image-container {
    flex: 0 0 0%;
    opacity: 0;
}

/* .about-elements-container:hover .about-element:not(:hover) .about-icon-title {
            flex-direction: column;
            border-bottom: none;
            text-align: center;
            width: 100%;
        } */

/* .about-elements-container:hover .about-element:not(:hover) .about-icon {
            margin-right: 0;
            margin-bottom: 10px;
        } */

.about-elements-container:hover .about-element:not(:hover) .about-title-text {
    font-size: 1.1rem;
}

.about-elements-container:hover .about-element:not(:hover) .about-description {
    opacity: 0.6;
}

/* 响应式设计 - 移动端 */
@media (max-width: 900px) {
    .about-elements-container {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }

    .about-element {
        flex-direction: row;
        height: 280px;
        /* 移动端增加高度 */
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-content {
        padding: 20px;
        flex: 1;
    }

    .about-image-container {
        flex: 0 0 50%;
        /* 移动端图片区域加宽 */
        opacity: 1 !important;
    }

    .about-element:not(:hover) .about-image-container,
    .about-element:hover .about-image-container {
        flex: 0 0 50%;
        /* 移动端固定图片宽度 */
    }

    .about-element:not(:hover) .about-image,
    .about-element:hover .about-image {
        transform: scale(1);
        background-position: left center;
    }

    /* 移动端悬停效果简化 */
    .about-element:hover {
        flex: 1;
        transform: translateY(-5px);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    }

    /* 移动端非悬停元素保持正常状态 */
    .about-elements-container:hover .about-element:not(:hover) .about-image-container {
        flex: 0 0 50%;
        opacity: 1;
    }

    .about-elements-container:hover .about-element:not(:hover) .about-icon-title {
        /* flex-direction: row; */
        border-bottom: 2px solid #ff4757;
        text-align: left;
        width: fit-content;
    }

    /* .about-elements-container:hover .about-element:not(:hover) .about-icon {
                margin-right: 15px;
                margin-bottom: 0;
            } */

    .about-elements-container:hover .about-element:not(:hover) .about-title-text {
        font-size: 1.4rem;
    }

    .about-elements-container:hover .about-element:not(:hover) .about-description {
        opacity: 0.9;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-subtitle {
        font-size: 1rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 600px) {
    .about-element {
        height: 260px;
        /* 超小屏幕保持较高高度 */
    }

    .about-content {
        padding: 15px;
    }

    .about-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .about-title-text {
        font-size: 1.2rem;
    }

    .about-description {
        font-size: 0.9rem;
    }

    .about-image-container {
        flex: 0 0 45%;
        /* 超小屏幕图片区域保持较宽 */
    }

    .about-element:not(:hover) .about-image-container,
    .about-element:hover .about-image-container {
        flex: 0 0 45%;
    }
}

/* 超超小屏幕优化 */
@media (max-width: 480px) {
    .about-element {
        height: 200px;
        /* 垂直布局时增加高度 */
        min-height: 200px;
        justify-content: space-between;
    }

    .about-text {
        padding: 0 0 20px 10px;
    }

    .about-content {
        /* flex: none; */
        padding-bottom: 10px;
    }

    .about-icon img {
        width: 40px;
    }

    .about-image-container {
        flex: 0 0 200px;
        /* 垂直布局时图片区域加高 */
        width: 100%;
    }

    .about-element:not(:hover) .about-image-container,
    .about-element:hover .about-image-container {
        flex: 0 0 200px;
    }
}

.rongyu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
}

.timeline {
    flex-shrink: 0;
    position: relative;
    width: 200px;
    height: 555px;
    padding: 50px 0;
    border-right: 1px solid #a7a7a7;
}

.timeline .arrow-up {
    position: absolute;
    right: -12.5px;
    top: 0;
}

.timeline .arrow-down {
    position: absolute;
    right: -12.5px;
    bottom: 0;
    transform: scaleY(-1);
}

.timeline-item {
    position: relative;
    text-align: right;
    padding: 0 15px 20px 12px;
}

.timeline-item .dot {
    position: absolute;
    right: -5.5px;
    top: 8px;
    background: #a7a7a7;
    width: 10px;
    height: 10px;
    border-radius: 10px;
}

.timeline-item.active,
.timeline-item.cur {
    color: #db554f;
}

.timeline-item.active .dot {
    right: -9.5px;
    top: 4px;
    background: #e60012;
    border: 5px solid #b3b3b3;
    width: 18px;
    height: 18px;
    border-radius: 10px;
}

.rongyu_content {
    padding: 0 80px;
    text-align: center;
}

.rongyu_content h1 {
    font-size: 30px;
    color: #000;
    text-align: center;
}

.rongyu_content .date {
    font-size: 24px;
    color: #000;
    font-weight: 300;
    text-align: center;
}

.rongyu_content img {
    max-width: 100%;
}

/* 荣誉排列 */
.rongyus {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 10px;
}

.rongyus-item {
    width: calc(25% - 10px);
    height: 140px;
    border-radius: 20px;
    box-shadow: 0 -2px 2px -3px rgba(0, 0, 0, 0.3), 5px 0 5px -3px rgba(0, 0, 0, 0.3), 0 5px 5px -3px rgba(0, 0, 0, 0.3), -5px 0 5px -3px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #bf9665;
    background-image: url(../img/rybg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 140%;
}

.rongyus-date {
    padding: 15px 0 8px 0;
    font-size: 30px;
    line-height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rongyus-date span {
    font-size: 12px;
    padding: 0 6px;
}

.rongyus-date::after {
    display: block;
    content: '';
    position: absolute;
    left: 0%;
    right: 0%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right,
            transparent 0%,
            transparent 10%,
            rgba(191, 150, 101, 0.3) 20%,
            #bf9665 50%,
            rgba(191, 150, 101, 0.3) 80%,
            transparent 90%,
            transparent 100%);
}

.rongyus-name {
    height: 70px;
    font-size: 16px;
    font-weight: 600;
}

.rongyus-from {
    font-size: 14px;
}

@media (max-width: 768px) {
    .rongyus-item {
        width: calc(50% - 10px);
        height: auto;
    }

    .rongyus-date {
        padding: 8px 0 0 0;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        line-height: 20px;
    }

    .rongyus-name {
        height: 60px;
        font-size: 10px;
        font-weight: 600;
    }

    .rongyus-from {
        font-size: 10px;
    }
}

/* 新闻 */
.local {
    margin: 80px 0 70px 0;
    font-size: 24px;
    color: #000;
    font-weight: 200;
}

.news {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    gap: 135px;
}

.news-icon {
    position: absolute;
    top: -150px;
    right: -54px;
}

.news .timeline {
    width: 220px;
    margin-top: 150px;
}

.news .timeline-item {
    font-size: 16px;
}

.news .timeline-item .dot {
    position: absolute;
    right: -5.5px;
    top: 8px;
    background: #040000;
    width: 10px;
    height: 10px;
    border-radius: 10px;
}

.news .timeline-item.active .dot {
    right: -9.5px;
    top: 4px;
    background: #e60012;
    border: 5px solid #b3b3b3;
    width: 18px;
    height: 18px;
    border-radius: 10px;
}

.news_content {
    width: 100%;
    max-width: 900px;
    padding: 0 0;
    margin: auto;
}

.news_content h1 {
    font-size: 30px;
    color: #000;
    text-align: center;
    padding: 0 35px 40px 35px;
}

.news_content .date {
    font-size: 24px;
    color: #000;
    font-weight: 300;
    padding: 0 35px 40px 35px;
    text-align: center;
}

.news_content img {
    max-width: 100%;
    margin: auto;
    display: block;
}

.news_texts p {
    margin-bottom: 12px;
    text-align: justify;
    line-height: 2;
}


.milestone-container {
    position: relative;
    width: 100%;
    /* 移除固定高度，让容器自适应 */
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    background-image: url(../img/lcbbg.png);
    background-position: center;
    background-size: 100% auto;
    /* 添加最小高度确保显示区域 */
    min-height: 300px;
}

/* 关键修改：让 SVG 自动调整大小 */
.milestone-svg {
    width: 100%;
    height: auto;
    /* 改为 auto 让高度自适应 */
    max-width: 100%;
    display: block;
    /* 确保 SVG 内容完全可见 */
    overflow: visible;
}

.main-line {
    stroke: #ff0000;
    stroke-width: 3;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    /* transition: stroke-dashoffset 2s ease-in-out; */
}

.branch-line {
    stroke: #ff0000;
    stroke-width: 2;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    /* transition: stroke-dashoffset 1.5s ease-in-out; */
}

.sub-branch-line {
    stroke: #ff0000;
    stroke-width: 2;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    /* transition: stroke-dashoffset 1s ease-in-out; */
}

.curve-line {
    fill: none;
    stroke: #ff0000;
    stroke-width: 2;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    /* transition: stroke-dashoffset 1s ease-in-out; */
}

.main-node {
    fill: white;
    stroke: #ff0000;
    stroke-width: 2;
    r: 6;
    opacity: 0;
    /* transition: opacity 0.5s ease-in-out; */
}

.end-marker {
    stroke: #ff0000;
    stroke-width: 3;
    opacity: 0;
    /* transition: opacity 0.5s ease-in-out; */
}

.text-label {
    font-size: 14px;
    /* fill: #000000; */
    font-weight: 500;
    opacity: 0;
    /* transition: opacity 0.5s ease-in-out 0.5s; */
}

.text-label.font18 {
    font-size: 20px;
}

.desc-label {
    font-size: 8px;
    /* fill: #333333; */
    font-weight: normal;
    opacity: 0;
    /* transition: opacity 0.5s ease-in-out 0.7s; */
}

/* 图标样式 */
.icon-lcb {
    opacity: 0;
    /* transition: opacity 0.5s ease-in-out 0.4s; */
}

.hover-title {
    transition: transform 0.3s ease;
    transform-box: fill-box;
    transform-origin: center;
    cursor: pointer;
}

.hover-title:hover {
    transform: scale(1.15);
    fill: #e74c3c;
}

.milestone-container-pc {
    padding: 0;
    text-align: center;
}

.milestone-container-pc img {
    max-width: 1200px;
    width: 100%;
}

.milestone-container-mobile {
    padding: 0 20px;
    display: none;
}

.milestone-container-mobile img {
    width: 100%;
}

@media (max-width: 1440px) {
    .milestone-container {
        /* height: 600px;
                margin: 20px auto; */
    }
}

@media (max-width: 768px) {
    .milestone-container {
        display: none;
        /* height: 350px;
                margin: 20px auto; */
    }

    .text-label {
        font-size: 12px;
    }

    .text-label.font18 {
        font-size: 16px;
    }

    .desc-label {
        font-size: 10px;
    }

    /* 移动端调整图标大小 */
    .icon-lcb {
        width: 16px;
        height: 16px;
    }

    .icon-lcb.big {
        width: 40px;
        height: 40px;
    }

    .milestone-container-mobile {
        display: block;
    }

    .milestone-container-pc {
        display: none;
    }
}

@media (max-width: 480px) {
    .milestone-container {
        height: 200px;
    }

    .text-label {
        font-size: 10px;
    }

    .text-label.font18 {
        font-size: 14px;
    }

    .desc-label {
        font-size: 9px;
    }

    /* 移动端调整图标大小 */
    .icon-lcb {
        width: 14px;
        height: 14px;
    }

    .icon-lcb.big {
        width: 40px;
        height: 40px;
    }
}

/* 轮播图 */
.wanlian-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.wanlian-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.wanlian-carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wanlian-carousel-item>img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.wanlian-carousel-dots {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    /* background-color: white; */
}

.wanlian-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    /* background-color: #bdc3c7; */
    border: 1px solid #e74c3c;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.wanlian-carousel-dot:hover {
    background-color: #e74c3c;
    /* transform: scale(1.1); */
}

.wanlian-carousel-dot.wanlian-active {
    background-color: #e74c3c !important;
    /* 红色控制点 */
    /* transform: scale(1.2); */
}

.color-purple {
    color: #7D46FA;
}


/* 新闻列表 */
.news-container {
    padding: 10px;
}

.news-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.news-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-date {
    font-size: 13px;
    color: #666;
}

/* 分页 */
.pagination-container {
    padding: 20px 10px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 5px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #e60012;
    min-width: 40px;
    text-align: center;
}

.page-btn.active {
    background: #e60012;
    color: white;
    border-color: #e60012;
}

.page-info {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}