/* 服务领域页面特定样式 */
.service-detail {
    padding: 60px 0;
}

.service-detail.bg-grey {
    background-color: #f9f9f9;
}

/* 服务轮播样式 */
.service-carousel {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* 主标题样式 */
.section-title.main-title {
    text-align: center;
    margin-bottom: 40px;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
    min-height: 600px; /* 设置最小高度确保一致性 */
    display: flex;
    flex-direction: column;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    flex: 1;
    position: relative;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 20px 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    min-height: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.carousel-nav button {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.carousel-nav button:hover {
    background-color: #0056b3;
    color: white;
}

.prev-btn {
    margin-left: -20px;
}

.next-btn {
    margin-right: -20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #0056b3;
}

/* 服务导航菜单样式 */
.service-menu {
    margin: 30px 0;
    display: none; /* 隐藏菜单，但保留HTML结构 */
}

.service-menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    list-style: none;
}

.service-menu li {
    margin: 5px;
}

.service-menu li a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f4f4f4;
    color: #333;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-menu li a:hover {
    background-color: #e6e6e6;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.service-menu li a.active {
    background-color: #0056b3;
    color: white;
    box-shadow: 0 3px 8px rgba(0, 86, 179, 0.25);
}

/* 响应式样式调整 */
@media (max-width: 768px) {
    .service-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .service-menu li {
        width: 90%;
        margin: 0;
    }
    
    .service-menu li a {
        display: block;
        text-align: center;
        padding: 12px;
    }
}

.section-title {
    margin-bottom: 30px;
}

.service-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
    gap: 30px;
    min-height: 450px;
    flex: 1;
}

.service-description {
    flex: 1;
    min-width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.service-image img {
    max-width: 90%;
    max-height: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.service-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #0056b3;
    border-radius: 50%;
}

.global-network {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.network-map {
    margin: 40px 0 30px;
    text-align: center;
}

.network-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.network-description p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

/* 响应式设计增强 */
@media (max-width: 992px) {
    .carousel-slide {
        min-height: 500px;
    }
    
    .service-content {
        min-height: auto;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .service-content {
        flex-direction: column;
        gap: 20px;
    }

    .service-image {
        order: 1;
        margin-bottom: 20px;
    }

    .service-description {
        order: 2;
    }
    
    .carousel-slide {
        min-height: auto;
        padding-bottom: 60px; /* 为轮播导航和指示器留出空间 */
    }

    .carousel-nav button {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .prev-btn {
        margin-left: 10px;
    }

    .next-btn {
        margin-right: 10px;
    }
    
    .service-features li {
        padding-left: 25px;
        margin-bottom: 12px;
        font-size: 15px;
    }
    
    .service-features li:before {
        top: 7px;
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 576px) {
    .service-carousel {
        padding: 40px 0 60px;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
    
    .service-image img {
        max-height: 300px;
    }
    
    .service-features li {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
} 