* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部导航栏 */
.header-nav {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    font-size: 28px;
    font-weight: 700;
    color: #1E9FFF;
    letter-spacing: 1px;
    margin: 0;
    height: 100%;
}

.nav-menu {
    display: flex;
    height: 100%;
    margin-bottom: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 30px;
}

.nav-menu li a {
    color: #333;
    font-size: 20px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu li a:hover {
    color: #1E9FFF;
}

.nav-menu li.active a {
    color: #1E9FFF;
}

.mobile-menu-btn {
    display: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
}

/* 页面通用样式 */
.page-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 轮播图 */
.carousel-item1 {
    background: url('../image/bg1.jpeg') no-repeat center center;
    background-size: cover;
}

.carousel-item2 {
    background: url('../image/bg1.jpeg') no-repeat center center;
    background-size: cover;
}

.carousel-item3 {
    background: url('../image/bg1.jpeg') no-repeat center center;
    background-size: cover;
}

.daycareCarousel-item1 {
    background: url('../image/daycare1.png') no-repeat center center;
    background-size: contain;
}

.daycareCarousel-item2 {
    background: url('../image/daycare2.png') no-repeat center center;
    background-size: contain;
}

.daycareCarousel-item3 {
    background: url('../image/daycare3.png') no-repeat center center;
    background-size: contain;
}

.homeserviceCarousel-item1 {
    background: url('../image/homeservice1.png') no-repeat center center;
    background-size: contain;
}

.homeserviceCarousel-item2 {
    background: url('../image/homeservice3.png') no-repeat center center;
    background-size: contain;
}

.homeserviceCarousel-item3 {
    background: url('../image/homeservice4.png') no-repeat center center;
    background-size: contain;
}

.labelprintCarousel-item1 {
    background: url('../image/bg1.jpeg') no-repeat center center;
    background-size: contain;
}

.labelprintCarousel-item2 {
    background: url('../image/bg1.jpeg') no-repeat center center;
    background-size: contain;
}

.labelprintCarousel-item3 {
    background: url('../image/bg1.jpeg') no-repeat center center;
    background-size: contain;
}

.erpCarousel-item1 {
    background: url('../image/erp1.png') no-repeat center center;
    background-size: contain;
}

.erpCarousel-item2 {
    background: url('../image/erp2.png') no-repeat center center;
    background-size: contain;
}

.erpCarousel-item3 {
    background: url('../image/erp3.png') no-repeat center center;
    background-size: contain;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 16px;
}

/* 产品/服务卡片 */
.service-card {
    background-color: white;
    padding: 30px;
    text-align: center;
    /* overflow: hidden; */
    box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    /* height: 100%; */
}

.service-card:hover {
    background-color: #1E9FFF;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12);
}

.service-card:hover h3,
.service-card:hover p {
    color: white;
}

.service-card:hover .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #ecf5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 32px;
    color: #1E9FFF;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

.partner-item {
    background-color: #fff;
    text-align: center;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
}

.partner-item img {
    max-width: 100%;
}

/* 产品页面样式 */
.product-item {
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.12);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-item:hover .product-img img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.product-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
    height: 80px;
    overflow: hidden;
}

.product-tags {
    margin-bottom: 15px;
}

/* 关于我们页面样式 */
.about-intro {
    background-color: #fff;
    margin-top: 20px;
    padding: 40px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.company-history {
    margin-bottom: 40px;
}

.history-item {
    display: flex;
    margin-bottom: 30px;
}

.history-year {
    width: 120px;
    text-align: center;
    margin: auto 0;
    position: relative;
}

.history-year span {
    display: inline-block;
    background-color: #1E9FFF;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.history-content {
    flex: 1;
    padding-left: 30px;
}

.history-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

/* 联系我们页面样式 */
.contact-info-card {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
    height: 250px;
}

.contact-info-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
}

.contact-info-card h3 i {
    margin-right: 10px;
    color: #1E9FFF;
}

.contact-detail {
    margin-bottom: 20px;
}

.contact-detail p {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.contact-detail i {
    color: #1E9FFF;
    margin-right: 10px;
    width: 20px;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
}

/* 解决方案页面样式 */
.solution-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.solution-header {
    margin-bottom: 30px;
}

.back-btn {
    margin-bottom: 20px;
}

.solution-title {
    text-align: center;
    margin-bottom: 30px;
}

.solution-title h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.solution-title p {
    color: #666;
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.solution-overview {
    background: linear-gradient(135deg, #1E9FFF 0%, #0d8bf2 100%);
    color: white;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(30, 159, 255, 0.2);
}

.solution-overview h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.solution-overview p {
    font-size: 17px;
    line-height: 1.8;
}

.business-scenarios {
    margin-bottom: 50px;
}

.solution-section-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1E9FFF;
    position: relative;
}

.solution-section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: #ff6b6b;
}

.scenario-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.scenario-item {
    background-color: white;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.scenario-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.scenario-icon {
    width: 60px;
    height: 60px;
    background-color: #ecf5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.scenario-icon i {
    font-size: 28px;
    color: #1E9FFF;
}

.scenario-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.scenario-item p {
    color: #666;
    margin-bottom: 15px;
}

.feature-list {
    list-style-type: none;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.feature-list li:before {
    content: '✓';
    color: #1E9FFF;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.main-features {
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background-color: white;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #1E9FFF;
}

.feature-card h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-card h4 i {
    margin-right: 10px;
    color: #1E9FFF;
}

.feature-card p {
    color: #666;
    font-size: 15px;
}

.solution-advantages {
    margin-bottom: 50px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.advantage-item {
    background-color: white;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.advantage-item:hover {
    background-color: #1E9FFF;
    color: white;
    transform: translateY(-5px);
}

.advantage-item:hover h4,
.advantage-item:hover p {
    color: white;
}

.advantage-item:hover .advantage-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.advantage-item:hover .advantage-icon i {
    color: white;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: #ecf5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 32px;
    color: #1E9FFF;
}

.advantage-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.advantage-item p {
    color: #666;
    font-size: 15px;
}

.case-study {
    background-color: white;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.case-header h3 {
    font-size: 24px;
    color: #333;
}

.case-tag {
    background-color: #1E9FFF;
    color: white;
    padding: 5px 15px;
    font-size: 14px;
}

.case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.case-info h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.case-info ul {
    list-style-type: none;
}

.case-info li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.case-results {
    background-color: #f8fafc;
    padding: 20px;
    /* border-radius: 8px; */
}

.result-item {
    margin-bottom: 20px;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-title {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.result-value {
    font-size: 28px;
    color: #1E9FFF;
    font-weight: bold;
}

.result-desc {
    font-size: 14px;
    color: #888;
}

.cta-section {
    background: linear-gradient(to right, #1E9FFF, #0d8bf2);
    color: white;
    padding: 50px;
    text-align: center;
    margin-bottom: 40px;
}

.cta-section h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 右侧固定联系方式条 */
.contact-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: all 0.3s ease;
}

.contact-sidebar-item {
    background-color: #1E9FFF;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 0 0 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(30, 159, 255, 0.3);
    position: relative;
}

.contact-sidebar-item:hover {
    width: 180px;
    justify-content: flex-start;
    padding-left: 15px;
}

.contact-sidebar-item:hover .contact-text {
    display: inline-block;
    margin-left: 10px;
}

.contact-sidebar-item.wechat:hover {
    width: 200px;
}

.contact-sidebar-item i {
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text {
    display: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
}

.contact-sidebar-item.phone {
    background-color: #52c41a;
    box-shadow: 0 2px 10px rgba(82, 196, 26, 0.3);
}

.contact-sidebar-item.email {
    background-color: #fa8c16;
    box-shadow: 0 2px 10px rgba(250, 140, 22, 0.3);
}

.contact-sidebar-item.address {
    background-color: #722ed1;
    box-shadow: 0 2px 10px rgba(114, 46, 209, 0.3);
}

.wechat-popup {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    /* border-radius: 8px; */
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 999;
    width: 160px;
    text-align: center;
}

.wechat-popup:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.wechat-popup img {
    width: 130px;
    height: 130px;
    margin-bottom: 8px;
}

.wechat-popup p {
    font-size: 12px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.contact-sidebar-item.wechat:hover .wechat-popup {
    display: block;
}

/* 页脚 */
footer {
    background-color: #2f2f2f;
    color: #ddd;
    padding-top: 60px;
    margin-top: auto;
}

.footer-title {
    font-size: 18px;
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #1E9FFF;
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1E9FFF;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    margin-top: 40px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: #1E9FFF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(30, 159, 255, 0.3);
    transition: all 0.3s;
    z-index: 999;
    display: none;
}

.back-to-top:hover {
    background-color: #0d8bf2;
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-content h2 {
        font-size: 34px;
    }

    .contact-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0 0 15px 0;
        height: auto;
        justify-content: center;
    }
    
    .nav-menu li.active a::after {
        bottom: -5px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .carousel-item {
        height: 350px;
    }
    
    .carousel-content h2 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .solution-title h1 {
        font-size: 28px;
    }
    
    .solution-title p {
        font-size: 16px;
    }
    
    .solution-overview {
        padding: 25px;
    }
    
    .solution-section-title {
        font-size: 24px;
    }
    
    .case-content {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-section h3 {
        font-size: 26px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-sidebar {
        display: none;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-content h2 {
        font-size: 24px;
    }
    
    .carousel-content p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .scenario-list {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}