* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: #d9d9d9;
}
.services-section {
    width: 100%;
}

.service-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-bottom: 30px;
    /* border: 2px solid #007bff; */
}
/* 粗横线样式 */
.service-content-container > hr {
    border: none;
    height: 1px;
    background-color: #000; /* 黑色 */
    width: 100%;
    margin: 40px 0; /* 上下间距 */
}
.divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: #fff;
}

.service-title-content {
    padding: 60px 20px;
    text-align: center;
    /*border: 2px solid #007bff;*/
    
}

.service-title-content h2 {
    font-size: 2em;
    margin: 0;
}

.service-title-content p {
    font-size: 1.2em;
    margin-top: 5px;
}

.service-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wide-boxes-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
    margin-top: -100px;
    margin-bottom: 40px;
}

.wide-box {
    position: relative;
    flex: 1;
    aspect-ratio: 4 / 3; /* 宽高比 */
    /* margin: 0 20px; */
    background-color: #f8f9fa;
    border-radius: 0 0 45px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    height: 360px;
    
}

.box-number {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex; /* 使用inline-flex以确保内容在同一行内 */
    align-items: center; /* 垂直居中对齐 */
    font-size: 1em; /* 调整字号 */
}

.box-number::before {
    content: '';
    display: inline-block;
    width: 50px; /* 短横线的宽度 */
    height: 2.5px; /* 短横线的高度 */
    background-color: black; /* 短横线的颜色 */
    margin-right: 5px; /* 短横线与数字之间的间距 */
}
.box-icon {
    margin-top: 40%; /* 标题距上50% */
     width: 100px;
    height: 60px;
}

.box-description {
    margin-top: 10px;
    font-size: 12px;
    font-weight: bold;
}

.carousel-and-tags-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.hr-container {
    width: 100%; /* 占据整个父容器的宽度 */
    margin-bottom: 55px; /* 上下间距 */
}

.hr-container > hr {
    border: none;
    height: 2.5px;
    background-color: #000; /* 黑色 */
    width: 80%; /* 设置为你想要的宽度 */
    margin-left: 0; /* 确保左对齐 */
}
.carousel-container {
    flex: 3.2; /* 占据剩余空间的较大比例 */
    position: relative;
    margin-right: 20px; /* 为右边留出一些间距 */
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: white;
    height: 500px; 
}

.carousel-track-container {
    display: flex;
    transition: transform 0.6s ease-in-out;
    visibility: hidden; /* 默认隐藏 */
}

.carousel-slidee {
    min-width: 100%;
    height: 500px; /* 固定高度 */
    box-sizing: border-box;
    /* padding: 20px; */
    text-align: center;
    /*border: 2px solid #007bff;*/
}

.carousel-slidee img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片覆盖整个容器并保持其比例 */
}
.carousel-control-container {
    position: absolute;
    width: 100%;
    height: 50px;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.681);
    /* padding: 10px; */
    display: flex;
    justify-content: flex-end;
}

.carousel-button {
    background-color: transparent;
    color: black;
    border: none;
    cursor: pointer;
    padding: 10px 30px;
    margin-left: 10px;
}
.carousel-button.prev {
    background-color: white;
    color: black;
}

.carousel-button.next {
    background-color: transparent;
    color: white;
}

.carousel-button:hover {
    background-color: white;
    color: black;
    padding: 10px 30px;
}

.right-tags-container {
    padding: 0px 55px 10px 0px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none; /* 禁止点击 */
    transition: opacity 0.5s ease-in-out;
    color: white;
}

.right-tags-container p {
    width: 180px;
    font-size: 20px;
    padding: 15px 0;
    text-align: center;
    background-color: black;
    color: white;
    border-radius: 25px;
}
.carousel-and-tags-container {
    display: flex;
    align-items: center;
    position: relative;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-track-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slidee {
    min-width: 100%;
}

.carousel-slidee img {
    width: 100%;
    display: block;
}

/* 标签容器组 - 绝对定位重叠 */
.right-tags-wrapper {
    position: relative;
    width: 250px; /* 可根据设计调整 */
    margin-left: 20px;

}

.right-tags-container {

}

.right-tags-container.active {
    opacity: 1;
    pointer-events: auto; /* 可选：如果后续要加交互可开启 */
}

