html, body {
    margin: 0;
    padding: 0; 
    height: 100%; 
}
/* 顶部导航栏样式 */
.navbar {
    display: flex;
    align-items: center;
    padding: 10px 20px; 
    background-color: rgba(140, 140, 143, 0.8); 
    color: white; 
    max-width: 100%; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 1000; 
    position: fixed; 
    transition: top 0.5s ease-in-out; 
}

/* 导航栏 logo 样式 */
.navbar-logo {
    height: 40px; 
    margin-right: auto; 
}

/* 导航栏菜单项样式 */
.navbar-nav {
    display: flex;
    list-style: none; 
    margin: 0; 
    padding: 0; 
    justify-content: center; 
    flex-grow: 1; 
}

/* 导航项样式 */
.nav-item {
    margin: 0 15px; 
    pointer-events: auto; 
}

/* 导航链接样式 */
.nav-link {
    color: white; 
    text-decoration: none; 
    font-size: 16px; 
    padding: 5px 10px; 
    transition: all 0.3s ease; 
}

.nav-link:hover,
.nav-link.active {
    background-color: white !important; 
    color: black; 
    border-radius: 4px; 
}


/* 下拉导航栏菜单样式 */
.nav-item.dropdown {
    position: relative;
}

/* Default dropdown menu style */
.dropdown-menu {
    display: none; 
    position: absolute;
    top: 110%; 
    left: 0;
    background-color: rgba(140, 140, 143, 0.8); 
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 100; 
    border-radius: 4px; 
}

.dropdown-menu li {
    width: 200px; 
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-link:hover {
    background-color: white;
    color: black;
}

/* 显示下拉菜单 */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* 确保下拉菜单项为块级元素 */
.dropdown-menu .dropdown-item {
    display: block; 
    padding: 10px 20px; 
    text-align: left; 
    white-space: nowrap; 
    transition: background-color 0.3s ease; 
    text-decoration: none; 
    color: inherit; 
}

/* 悬停效果 */
.dropdown-menu .dropdown-item:hover {
    background-color: #f0f0f0; 
    color: #333; 
    text-decoration: none; 
}

/* 访问过的链接样式 */
.dropdown-menu .dropdown-item:visited {
    color: inherit; 
}

/* 当 'show' 类被添加时显示下拉菜单 */
.dropdown-menu.show {
    display: block;
}




/* 页面内容样式 */
.container {
    gap: 40px;
    max-width: 80%;
    margin: 0 auto;
    padding: 0;
    padding-bottom: 200px;
}

/* 左侧导航栏样式 */
.sidebar {
    width: 250px; 
    flex-shrink: 0; 
    background-color: #f8f9fa; 
    padding: 20px; 
    border-radius: 0; 
}

.company-card {
    text-align: center; 
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.company-logo {
    width: 80px; 
    height: 80px; 
    margin-bottom: 15px; 
    border-radius: 50%; 
    object-fit: cover; 
}

.company-card h3 {
    margin: 10px 0 5px; 
    color: #333; 
    font-size: 18px; 
}

.company-card p {
    color: #666; 
    font-size: 14px; 
}

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

.sidebar-item {
    margin-bottom: 10px; 
}

.sidebar-link {
    display: block; 
    padding: 10px 15px; 
    color: #333; 
    text-decoration: none; 
    border-radius: 0; 
    transition: none; 
}

.sidebar-link:hover {
    background-color: #e9ecef; 
    color: #007bff; 
}

.sidebar-item.active .sidebar-link {
    background-color: #007bff; 
    color: white; 
}

.achievements {
    margin-top: 20px; 
    padding: 15px; 
    background-color: #f8f9fa; 
    border-radius: 8px; 
    max-height: 200px; 
    overflow-y: auto; 
}

.achievements h4 {
    margin: 0 0 15px; 
    color: #333; 
    font-size: 16px; 
}

.achievement-item {
    display: flex; 
    align-items: center; 
    margin-bottom: 10px; 
}

.achievement-item img {
    width: 40px; 
    height: 40px; 
    margin-right: 10px; 
    border-radius: 4px; 
    object-fit: cover; 
    transition: transform 0.3s ease; 
}

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

.achievement-item p {
    margin: 0; 
    color: #585858; 
    font-size: 14px; 
}

/* 主内容区域样式 */
.main-content {
    flex: 1; 
    min-width: 0; 
    padding: 20px; 
}

/* 科技风格元素 */
.tech-box {
    background: white; 
    border-radius: 8px; 
    padding: 20px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    margin-bottom: 20px; 
}

/* 横幅模块样式 */
.banner-carousel {
    width: 100%; 
    height: auto; 
    position: relative; 
    overflow: hidden; 
    margin-bottom: 0; 
}

.banner-slides {
    display: flex; 
    transition: transform 0.5s ease-in-out; 
    width: 100%; 
}

.banner-slide {
    width: 100%; 
    height: auto; 
    position: relative; 
    flex-shrink: 0; 
    background-color: #f5f5f5; 
}

.banner-slide img {
    width: 100%; 
    height: 600px; 
    object-fit: cover; 
    object-position: center; 
    transition: transform 0.3s ease-in-out; 
}

.banner-text {
    font-size: 50px; 
    font-weight: bold; 
    color: #ffffff; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); 
    position: absolute; 
    top: 50%; 
    left: 30%; 
    transform: translate(-50%, -50%); 
    text-align: center; 
    z-index: 2; 
}


/* 响应式调整 */
@media (max-width: 768px) {
    .banner-slide img {
        height: 300px; 
        object-fit: cover; 
        }

    .banner-text {
        position: absolute;
        top: 40%;
        left: 10%;
        transform: translate(-50%, -50%); 
        color: white; 
        font-size: 20px; 
        z-index: 10; 
        padding: 10px; 
    }

}

.carousel-button {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background-color: rgba(0, 0, 0, 0.267); 
    color: white; 
    border: none; 
    padding: 15px; 
    cursor: pointer; 
    z-index: 3; 
}

.carousel-button.prev {
    left: 10px; 
}

.carousel-button.next {
    right: 10px; 
}

.decorative-lines {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.line {
    height: 2px;
    background-color: #a7a1a1;
    flex: 1;
    max-width: 60%; 
    position: relative;
}

.line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, #a7a1a1, transparent);
    transform-origin: center;
}

.line-left {
    background-color: transparent;
    margin-right: 5px; 
}

.line-right {
    background-color: transparent;
    margin-left: 5px; 
}

.text {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #f2eff5, #c3c6ca);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 5px; 
    text-align: center;
}




/* 全宽模块样式 */
.full-width {
    width: 100%; 
    margin: 40px 0; 
    padding: 20px 0; 
}

/* 关于我们模块样式 */
.about-box {
    max-width: 90%; 
    margin: 40px auto; 
    padding: 40px 20px; 
    background-color: #f8f9fa; 
    border-radius: 8px; 
    width: auto; 
    min-width: 0; 
}

.title-lines {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    margin: 10px 0; 
}

.line-long, .line-short {
    height: 20px; 
    margin-bottom: 5px; 
}

.line-long {
    width: 300px; 
    background-color: #2575fc; 
}

.line-short {
    width: 120px; 
    background-color: #6a11cb; 
}


@media (max-width: 768px) {
    .line-long {
        width: 150px; 
        height: 10px; 
        margin-left: -10px !important;
    }

    .line-short {
        width: 50px; 
        height: 10px; 
        margin-left: -10px !important;
    }

    .module h1::after {
        display: none;
    }

    .module h1 {
        margin-bottom: 0 !important;
    }
}

.about-content {
    display: flex; 
    gap: 30px; 
    margin-top: 20px; 
}

.about-description {
    font-size: 40px; 
    font-weight: bold; 
    color: #000000; 
    line-height: 1.0; 
    margin-bottom: 5px; 
}

.about-text {
    flex: 1; 
}

.about-image {
    width: 40%; 
}

.about-image img {
    width: 100%; 
    border-radius: 8px; 
}

.partners-box {
    width: 100%;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 0; 
    margin-bottom: 30px;
}

.partner-item {
    text-align: center;
    border: none;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto; 
    box-shadow: none;
    background-color: transparent;
}

.image-container {
    position: relative;
    height: auto; 
    width: 100%; 
    margin-top: 50px; 
}

.image-container::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    height: 33.33%; 
    background-color: #f8f9fa; 
    z-index: 1; 
}

.partner-item img {
    width: 100%;
    height: auto; 
    object-fit: cover;
    border-radius: 8px;
    position: relative; 
    z-index: 2; 
}

/* 图片容器 */
.image-container {
    position: relative; 
}

.partners-intro {
    font-size: 17px; 
    color: #666; 
    line-height: 1.8; 
    text-align: left; 
    width: 100%; 
    margin: 20px auto 1px; 
    }

@media (max-width: 768px) {
    .partners-intro {
        font-size: 14px; 
        color: #666; 
        line-height: 1.8; 
        text-align: left; 
        width: 100%; 
        margin: 20px auto 1px; 
    }
}

.partner-item p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* 全宽合作伙伴项样式 */
.partner-full {
    grid-column: 1 / -1; 
    margin-top: 30px; 
    height: 400px; 
    box-shadow: none; 
}

.partner-full img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: 8px; 
}

/* 底部联系信息模块 */
.fixed-footer {
    position: relative; 
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px; 
    box-sizing: border-box; 
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    width: 100%; 
    box-sizing: border-box; 
}

.contact-info h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #fff;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.fixed-footer a {
    color: #fff; 
    text-decoration: none; 
    transition: color 0.3s; 
}

.fixed-footer a:hover {
    color: #ccc; 
}



/* 响应式调整 */
@media (max-width: 768px) {
    .container {    
        gap: 20px;
    }

    .module {
        padding: 10px !important; 
    }

    .about-module .module-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-box,
    .partners-box,
    .services-box {
        max-width: 100%; 
        padding: 15px 10px; 
        margin-top: 5px;
    }
}

/* 全宽布局 */
.container.full-width {
    max-width: 100%;
    padding: 0 20px;
}

.container.full-width .main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container.full-width {
        padding: 0 15px;
    }
}

/* 通用模块样式 */
.module {
    background-color: transparent; 
    border: none; 
    border-radius: 8px; 
    padding: 20px; 
    margin: 20px 0; 
    box-shadow: none; 
    transition: transform 0.5s ease;
    transform: translateY(50px); 
}

.module.float-up {
    transform: translateY(0); 
}

.module h1 {
    font-size: 28px; 
    color: #999; 
    margin-bottom: 15px; 
}

.module-content {
    display: flex; 
    align-items: center; 
}

.about-text {
    flex: 1; 
    margin-right: 20px; 
}

.about-text p {
    font-size: 17px; 
    line-height: 1.6; 
    color: #555; 
}

.about-image img {
    max-width: 100%; 
    border-radius: 8px; 
}

/* 关于我们模块 */
.about-module {
    background-color: transparent; 
    box-shadow: none; 
    padding: 0; 
    margin: 40px 0; 
}

.about-content {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.about-image {
    width: 40%;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
    }
}

/* 合作伙伴模块 */
.partners-module {
    background-color: transparent; 
    box-shadow: none; 
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-info h3 {
        margin: 0 0 15px 0;
        font-size: 14px;
        color: #fff;
    }

    .contact-info p {
        font-size: 12px;
    }
}

/* 新增模块样式 */
.values-module {
    position: relative; 
    z-index: 2; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
    max-width: 1200px; 
    margin: 0 auto;
}


.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px; 
}

.value-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex: 1; 
    height: 320px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
    min-width: 200px; 
    background-size: cover;
    background-position: center;
}

.value-item-1 {
    background-image: url('../../images/background/background1.jpg');
}

.value-item-2 {
    background-image: url('../../images/background/background2.jpg');
}

.value-item-3 {
    background-image: url('../../images/background/background3.jpg');
}

.value-item-4 {
    background-image: url('../../images/background/background4.jpg');
}

.value-item h2 {
    position: relative;
    z-index: 1; 
    transition: opacity 0.3s ease;
    font-size: 2.5em; 
    font-weight: bold; 
}

@media (max-width: 768px) {
    .value-item {
        position: relative;
        overflow: hidden;
        cursor: pointer;
        flex: 1; 
        height: auto; 
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
        transition: transform 0.3s ease;
        min-width: 200px; 
    }

    .value-item h2 {
        position: relative;
        z-index: 1; 
        transition: opacity 0.3s ease;
        font-size: 1.5em; 
        font-weight: bold; 
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
    }
}

.hidden-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8); 
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    transform: translateY(100%); 
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 2; 
    opacity: 0; 
    font-size: 1.5em; 
    font-weight: bold; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
    letter-spacing: 1px; 
}

.value-item:hover .hidden-content {
    transform: translateY(0); 
    opacity: 1; 
}

.value-item:hover h2 {
    opacity: 0; 
}

.value-item:active h2 {
    color: #000000; 
}

.value-item p {
    font-size: 16px; 
    color: rgba(255, 255, 255, 0.8); 
    font-weight: 500; 
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.8); 
}

.value-item:active {
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5), 0 0 20px rgba(192, 192, 192, 0.3); 
    transform: translateY(2px); 
}

.value-item:hover {
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.8), 0 0 60px rgba(192, 192, 192, 0.5); 
    transform: translateY(-5px); 
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr; 
        gap: 10px; 
    }
}

@media (max-width: 768px) {
    .partners-grid {
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }

    .partner-item {
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        text-align: center; 
        margin: 0 auto; 
        width: 100%; 
    }

    .image-container {
        width: 100%; 
        display: flex; 
        justify-content: center; 
        margin-bottom: 5px; 
        margin-top: 5px;
    }

    .partner-item img {
        width: 100%; 
        height: auto; 
        max-width: 300px; 
        object-fit: contain; 
        border-radius: 8px; 
        object-fit: cover; 
        margin-bottom: 5px; 
        }


}

@media (max-width: 480px) {
    .partner-item {
        width: 100%;
        height: 180px;
    }



    .partner-item p {
        font-size: 14px;
    }
}

.value-item h2, .value-item p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.gradient-background {
    width: 100%;
    background: linear-gradient(to bottom, #f2f2f7, #ffffff);
    padding: 40px 0;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* 确保其他内容不会被覆盖 */


.subtext-bg {
    background: radial-gradient(circle, rgba(180, 177, 177, 0.8), rgba(255, 255, 255, 0)); /* 从中间向两边变淡的渐变 */
    padding: 5px 10px; 
    border-radius: 4px; 
    display: inline-block; 
    color: #000000; 
}

.highlight-item {
    background: linear-gradient(to right, rgba(240, 240, 240, 0.8), rgba(240, 240, 240, 0)); /* 由深至浅的浅灰色渐变 */
    border-left: 4px solid #007bff; 
    padding: 10px 15px; 
    border-radius: 4px; 
    margin-bottom: 20px; 
    display: block; 
    width: 100%; 
    box-sizing: border-box; 
    color: #333; 
    font-size: 18px; 
    font-weight: bold; 
    margin-left: 0; 
    text-align: left; 
    position: relative; 
    padding-left: 40px; 
}

.highlight-item::before {
    content: '✓'; 
    position: absolute; 
    left: 10px; 
    top: 50%; 
    transform: translateY(-50%); 
    font-size: 20px; 
    color: #156818; 
}

.partners-subtitle {
    font-size: 40px; 
    font-weight: bold; 
    color: #333; 
    text-align: left; 
    margin: 20px 0; 
    line-height: 1.2; 
}

.partners-additional-text {
    font-size: 17px; 
    color: #666; 
    line-height: 1.8; 
    text-align: left; 
    margin: 20px auto; 
}

@media (max-width: 768px) {
    .partners-subtitle {
        font-size: 20px; 
        font-weight: bold; 
        color: #333; 
        text-align: left; 
        margin: 20px 0; 
        line-height: 1.2; 
    }
    .partners-additional-text {
        font-size: 14px; 
        color: #666; 
        line-height: 1.8; 
        text-align: left; 
        margin: 20px auto; 
    }

}


.learn-more-container {
    text-align: right; 
    margin-top: 30px; 
}

.learn-more-btn {
    display: inline-block; 
    padding: 10px 20px; 
    background-color: transparent; 
    color: rgb(255, 255, 255); 
    border: 1px solid #ffffff; 
    text-decoration: none; 
    border-radius: 0px; 
    transition: background-color 0.3s; 
}

.learn-more-btn:hover {
    background-color: #0056b3; 
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    margin-top: 80px; 
}

.service-item {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    overflow: hidden; 
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease; 
    background-color: rgba(255, 255, 255, 0.7); 
    z-index: 1;
}

.service-title {
    position: relative;
    font-size: 2em; 
}

.service-title-en {
    position: absolute;
    left: 0;
    top: 70%; 
    transform: translateY(0); 
    font-size: 0.9em; 
    color: rgba(255, 255, 255, 0.5); 
}

.service-item-1 {
    background-image: url('../images/network-security-bg.jpg');
}

.service-item-2 {
    background-image: url('../images/communication-bg.jpg');
}

.service-item-3 {
    background-image: url('../images/server-room-bg.jpg');
}

.service-item-4 {
    background-image: url('../images/lcd-led-bg.jpg');
}

.service-item-5 {
    background-image: url('../images/ba-system-bg.jpg');
}

.service-item-6 {
    background-image: url('../images/ai-office-bg.jpg');
}

.service-item-7 {
    background-image: url('../images/app-development-bg.jpg');
}

.service-item-8 {
    background-image: url('../images/data-center-bg.jpg');
}

.service-item:hover::before {
    transform: scale(1.1); 
}

.text-overlay {
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: white; 
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 20px; 
    border-radius: 5px; 
    text-align: center; 
    z-index: 10; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.banner-indicators {
    position: absolute; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    text-align: center; 
    z-index: 10; 
}

.indicator {
    display: inline-block; 
    width: 20px; 
    height: 3px; 
    background-color: #ccc; 
    border-radius: 4px; 
    margin: 0 5px; 
    cursor: pointer; 
    transition: background-color 0.3s; 
}

.indicator.active {
    background-color: #ccc; 
}


.service-range {
    border-radius: 0; 
    padding: 20px; 
    width: 100%; 
    margin: 0; 
    max-width: none; 
}

.service-range h1 {
    color: #ffffff; 
    font-size: 40px; 
    font-weight: bold; 
    margin-left: 0; 
    text-align: left; 
}

@media (max-width: 768px) {
    .text-overlay {
        position: absolute;
        top: 50%; 
        left: 50%; 
        transform: translate(-50%, -50%); 
        color: white; 
        background-color: rgba(0, 0, 0, 0.5); 
        padding: 20px; 
        border-radius: 5px; 
        text-align: center; 
        z-index: 10; 
        width: 100%; 
        height: 100%; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
    }

    .service-range h1 {
        color: #ffffff; 
        font-size: 20px; 
        font-weight: bold; 
        margin-left: 0; 
        text-align: left; 
    }

    .service-grid {
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }

    .service-item {
        width: 90%; 
        height: 150px;
        max-width: 400px; 
        margin-bottom: 15px; 
        padding: 10px; 
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
        border: 1px solid #ccc; 
        border-radius: 5px; 
        text-align: center; 
        font-size: 14px; 
    }
}


.content-container {
    max-width: 80%; 
    margin: 0 auto; 
}


/* 回到顶部按钮样式 */
#back-to-top {
    position: fixed !important;
    bottom: 80px !important; 
    right: 20px !important;
    left: auto !important;
    width: 50px !important;
    height: 50px !important;
    background-color: rgba(180, 180, 180, 0.7) !important; 
    color: white !important; 
    border-radius: 0 !important; 
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

#back-to-top:hover {
    background-color: rgba(156, 153, 153, 0.8); 
}




.background-container {
    background-image: url('../images/background/background-image.jpg'); 
    background-size: cover; 
    background-position: center; 
    padding: 0px 0; 
    margin: 0; 
}


.background-container1 {
    background-image: url('../images/background/background-image1.jpg'); 
    background-size: cover; 
    background-position: center; 
    padding: 0px 0; 
    margin: 0; 
}

.background-container2 {
    background-image: url('../images/background/background-image2.jpg'); 
    background-size: cover; 
    background-position: center; 
    padding: 0px 0; 
    margin: 0; 
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.value-item {
    animation: slideUp 0.5s ease forwards; 
    opacity: 0; 
    transition: transform 0.5s ease; 
}

.value-item.float-up {
    transform: translateY(0); 
    opacity: 1; 
}

.module {
    animation: fadeIn 1s ease forwards; 
    opacity: 0; 
}

.module.visible {
    opacity: 1; 
}

/* 为特定模块添加缩放和旋转效果 */
.scale-up {
    animation: scaleUp 0.5s ease forwards; 
    opacity: 0; 
}

.scale-up.visible {
    opacity: 1; 
}

.rotate {
    animation: rotate 1s ease forwards; 
    opacity: 0; 
}

.rotate.visible {
    opacity: 1; 
}

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; 
        align-items: flex-start; 
        padding: 10px; 
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        position: fixed;
        top: 60px; 
        z-index: 999;
        background-color: rgba(140, 140, 143, 0.8); 
    }

    .nav-item {
        margin: 5px 0; 
        width: 100%; 
    }

    .nav-link {
        padding: 10px; 
        font-size: 16px; 
        text-align: left; 
        width: 100%; 
        display: block; 
        border-radius: 4px; 
        transition: background-color 0.3s; 
    }

    .nav-link:hover {
        background-color: rgba(0, 0, 0, 0.1); 
    }

    .nav-link.active {
        background-color: rgba(211, 211, 211, 0.5) !important; 
        color: #333 !important; 
        width: auto !important; 
        display: inline-block !important; 
        padding-left: 15px !important; 
        padding-right: 15px !important; 
        margin: 5px 0; 
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-description {
        font-size: 15px; 
        line-height: 1.2; 
        margin-bottom: 2px; 
        margin-left: -10px !important;
    }

    .section-title {
        font-size: 20px; 
        margin-bottom: 10px; 
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .module-content {
        display: flex; 
        flex-direction: column; 
        margin-top: 3px; 
    }

    .about-image {
        margin-top: 3px; 
        margin-bottom: 5px; 
    }

    .about-image img {
        width: 100%; 
        max-width: 400px; 
    }

    .about-text {
        text-align: left; 
        width: 100%; 
    }

    .about-text p {
        font-size: 14px; 
        margin-bottom: 10px; 
    }

    .highlight-item {
        font-size: 14px; 
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .image-text {
        position: absolute;
        top: 10%; 
        left: 10%; 
        font-size: 18px; 
        color: red; 
        background: linear-gradient(to bottom, rgba(240, 240, 240, 0.8), rgba(240, 240, 240, 0.4));
        padding: 5px 10px; 
        z-index: 3; 
        clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%, 15% 50%); 
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); 
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .clients-logos {
        display: flex; 
        flex-wrap: wrap; 
        justify-content: center; 
    }

    .client-logo {
        flex: 0 0 22% !important; 
        max-width: 22% !important; 
        margin: 10px !important; 
        background-color: transparent !important; 
        padding: 5px !important; 
        border-radius: 5px !important; 
    }

    .client-logo img {
        width: 100%; 
        height: auto; 
        object-fit: contain; 
        border-radius: 5px; 
    }
}

/* 响应式调整 - 仅针对手机端 */
@media (max-width: 768px) {
    .phone-button {
        display: none !important; 
    }
    
    #back-to-top {
        display: none !important; 
    }

}

@media (min-width: 769px) {
    #back-to-top {
        right: 20px;
        width: 50px;
        height: 50px;
        background-color: rgba(120, 120, 120, 0.7);
        color: white;
        border-radius: 0;
        bottom: 80px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 26px;
    }
    
}

/* 手机端回到顶部按钮样式 */
@media (max-width: 768px) {
    #back-to-top {
        display: flex !important; 
        right: 35px; 
        width: 45px; 
        height: 45px;
        background-color: rgba(120, 120, 120, 0.7);
        color: white;
        border-radius: 0;
        bottom: 15px; 
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        justify-content: center;
        align-items: center;
        font-size: 22px;
        z-index: 1000; 
    }
}

/* 平滑滚动效果 */
html {
  scroll-behavior: smooth;
}

/* 横幅文字入场动画优化 */
.banner-slide h1 {
  animation: fadeInUp 1s ease-out both;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* 服务卡片悬停效果增强 */
.service-item {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* 标题逐字显示动画 */
.about-description {
  overflow: hidden;
  display: inline-block;
}

.about-description span {
  display: inline-block;
  animation: revealText 0.5s cubic-bezier(0.5, 0, 0.1, 1) both;
  animation-delay: calc(0.05s * var(--char-index));
}

@keyframes revealText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 滚动触发动画 */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 图片悬停缩放效果 */
.about-image img {
  transition: transform 0.5s ease;
}

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

/* 客户logo动画 */
.client-logo {
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

/* 改进全局排版 */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* 链接样式优化 */
a {
  transition: color 0.3s, opacity 0.3s;
}

a:hover {
  opacity: 0.85;
}

/* 改进卡片阴影样式 */
.tech-box, .about-box, .team-member {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06), 
              0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-box:hover, .about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), 
              0 4px 8px rgba(0, 0, 0, 0.12);
}

/* 标题样式增强 */
.module h1, .service-range h1 {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.module h1:after, .service-range h1:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2575fc, #6a11cb);
  transition: width 0.4s ease;
}

.module h1:hover:after, .service-range h1:hover:after {
  width: 100%;
}

@media (max-width: 768px) {
    .module h1, .service-range h1 {
        font-size: 20px; 
        font-weight: bold; 
        margin-left: -10px; 
        text-align: left; 
    }
}

/* 列表项美化 */
.highlight-item {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.highlight-item:hover {
  transform: translateX(5px);
  background: linear-gradient(to right, rgba(240, 240, 240, 0.9), rgba(240, 240, 240, 0.6));
}

/* 按钮统一样式 */
.learn-more-btn, #back-to-top, .phone-button {
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  position: relative;
}

.learn-more-btn:after, #back-to-top:after, .phone-button:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.learn-more-btn:hover:after, #back-to-top:hover:after, .phone-button:hover:after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}



.indicator.active {
  background-color: white;
  transform: scale(1.2);
}

/* 照片边框效果 */
.about-image img, .team-member img {
  border: 3px solid white;
}

/* 手机端菜单动画 */
@media (max-width: 768px) {
  .nav-item {
    transform: translateY(10px);
    opacity: 0;
    animation: slideDown 0.5s forwards;
  }
  
  .nav-item:nth-child(1) { animation-delay: 0.1s; }
  .nav-item:nth-child(2) { animation-delay: 0.2s; }
  .nav-item:nth-child(3) { animation-delay: 0.3s; }
  .nav-item:nth-child(4) { animation-delay: 0.4s; }
  .nav-item:nth-child(5) { animation-delay: 0.5s; }
  
  @keyframes slideDown {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}


document.querySelectorAll('.nav-item.dropdown').forEach(item => {
    item.addEventListener('click', function() {
        this.classList.toggle('open');
    });
});

.values-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 90%; 
    margin: 0 auto; 
    gap: 20px; 
}

.value-item:hover h2 {
    opacity: 0; 
}

.mobile-header {
    display: none; 
    align-items: center;
    padding: 10px 20px; 
    background-color: rgba(51, 51, 51, 0.233); 
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.493); 
}

.mobile-logo {
    height: 40px; 
    width: auto; 
    flex-shrink: 0; 
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    position: relative;
    left: 3%;
    font-size: 28px; 
    cursor: pointer;
    flex-shrink: 0; 
    transition: color 0.3s ease; 
}

.menu-toggle:hover {
    color: #ffcc00; 
}

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

.nav-item {
    text-align: left; 
}


.nav-link:hover {
    color: #000000a1; 
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex; 
    }
    .navbar {
        display: none; 
    }
    .navbar.show {
        display: block; 
    }
    .navbar-logo {
        display: none; 
    }
}

.mobile-nav {
    display: none; 
    background-color: #444; 
    position: fixed;
    top: 60px; 
    width: 100%;
    z-index: 999;
    max-height: calc(100vh - 60px); 
    overflow-y: auto; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    padding-top: 20px; 
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }
    .mobile-nav {
        display: none; 
    }
}

@media (max-width: 768px) {
    .mobile-nav .dropdown-menu {
        display: none; 
        position: absolute;
        background-color: rgba(140, 140, 143, 0.8);
        list-style: none;
        padding: 0;
        margin: 0;
        z-index: 100;
        border-radius: 4px;
        flex-direction: row; 
    }

    .mobile-nav .dropdown-menu.show {
        display: flex; 
    }

    .mobile-nav .dropdown-item {
        padding: 10px 20px;
        color: white;
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .mobile-nav .dropdown-item:hover {
        background-color: #f0f0f0;
        color: #333;
    }
}

* {
    box-sizing: border-box;
}


