.sub-sub-l {
    position: relative;
    width: 100%;
    height: 20px; /* 根据需要调整高度 */
    margin-top: 5px; /* 根据需要调整上外边距 */
}

.sub-sub-l::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px; /* 线条的高度 */
    background-color: #596ebf; /* 线条的颜色 */
    transform: translateY(-50%);
}

.sub-sub-l::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%; /* 线条中间部分的宽度 */
    height: 10px; /* 线条中间部分的高度 */
    background-color: #596ebf; /* 线条中间部分的颜色 */
    transform: translateY(-50%);
    border-radius: 5px; /* 线条中间部分的圆角 */
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #596ebf;
    background-color: white;
    padding: 10px 50px 0 300px;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.logo {
    width: 150px;
    height: 60px; /* 根据需要调整大小 */
}

.navbar-right {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    /*内部元素居中展示*/
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-right: 20px;
    padding: 0 10px;
    border-radius: 5px;
    /*background-color: #f0f0f0;*/
}

.nav-links a {
    color: black;
    text-decoration: none;
    transition: color 0.3s, background-color 0.3s;
    font-size: 25px; /* 优化字体大小 */
    padding: 5px 10px 0 10px; /* 增加内边距 */
    display: block; /* 使块级元素，方便悬停效果 */
}

.nav-links li:hover {
    color: #a5b5f3;
    /*background-color: #f0f0f0; !* 悬停时背景颜色变化 *!*/
    .sub-sub-l:before{
        background-color: #ff8400;
    }
    .sub-sub-l:after{
        background-color: #ff8400;
    }
    a{
        color: #ec6f0f;
    }
}

.sub-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
}

.sub-links li {
    width: 150px;

}

.sub-links a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 14px; /* 优化子选项字体大小 */
}

.sub-links a:hover {
    background-color: #e0e0e0; /* 子选项悬停时背景颜色变化 */
}

.nav-links li:hover .sub-links {
    display: block;
}

.carousel-caption {
    position: absolute;
    background-color: rgba(0, 0, 0, 0);
    max-width: 1200px;
    color: white;
    padding: 10px;
    border-radius: 5px;
    transition: opacity 0.3s;
    opacity: 0.9;
}
.f_title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 10px;
}
.f_mess {
    font-size: 20px;
    margin-top: 10px;
}

.carousel-caption.left {
    left: 60px;
    top: 40px;
}

.carousel-caption.right {
    right: 60px;
    top: 40px;
}
.separatedEnd {
    position: relative;
    height: 400px;
    background-color: #444444;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 30px;
    flex-direction: column;
}

.separatedEnd span {
    margin-top: 10px;
    padding-top: 20px;
}

.separated {
    position: relative;
    height: 400px;
    background-color: #444444;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 30px;
    flex-direction: column;
}

.separated::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 50px 50px 0 50px;
    border-style: solid;
    border-color: #444444 transparent transparent transparent;
}

.separated span {
    margin-top: 10px;
    padding-top: 20px;
}

.product_title {
    font-size: 30px;
    color: #131313;
    position: relative;
    padding-top: 50px;
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}

.product_title .p_pt_mess {
    margin-top: 20px;
    font-size: 20px;
}

.product {
    padding: 20px;
    background-color: #f9f9f9;
}

.product_item {
    padding-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px; /* 增加卡片之间的间距 */
}

.card {
    background-color: #d3d3d3;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(25% - 20px); /* 每个卡片占据三分之一宽度减去间距 */
    margin: 10px;
    position: relative;
    overflow: visible; /* 确保子元素可以超出卡片边界 */
    transition: transform 0.3s, box-shadow 0.3s; /* 添加过渡效果 */
}

.card:hover {
    transform: translateY(-10px); /* 鼠标悬停时卡片上移 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* 鼠标悬停时增加阴影 */
}

@keyframes pulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.3);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }
}

.card .icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #596ebf;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    z-index: 10; /* 确保图标在内容之上 */
    transition: background-color 0.3s;
}

.card .icon:hover {
    background-color: orange;
}

.card .icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.8), rgba(255, 165, 0, 0));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    animation: none; /* 移除自动动画 */
}

.card .icon:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: pulse 0.7s forwards; /* 添加动画 */
}
.object_item {
    overflow-x: auto; /* 横向滚动 */
    white-space: nowrap; /* 防止图片换行 */
    padding: 10px;
    margin-top: 20px;
    padding-top: 20px;
    background-color: #f9f9f9;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 和 Edge */
}

.object_item::-webkit-scrollbar {
    display: none; /* Chrome, Safari 和 Opera */
}

.image-container {
    display: inline-block;
}

.image-item {
    width: 400px; /* 每张图片的宽度 */
    height: 300px; /* 每张图片的高度 */
    margin-right: 100px; /* 图片之间的间距 */
    transition: transform 0.3s; /* 添加过渡效果 */
}

.image-item:hover {
    transform: scale(1.2); /* 鼠标悬停时放大图片 */
}
/*底部评论区*/
.customer-voice {
    background-color: #444;
    color: #fff;
    text-align: center;
    padding: 50px 0;
    position: relative;
}

.customer-voice .title {
    font-size: 24px;
    margin-bottom: 20px;
}

.customer-voice .avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.customer-voice .testimonial {
    background-color: #fff;
    color: #333;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

.customer-voice .author {
    font-size: 18px;
    margin-top: 20px;
}

.customer-voice .indicators {
    margin-top: 20px;
}

.customer-voice .indicators .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.customer-voice .indicators .dot.active {
    background-color: #fff;
}

.customer-voice::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 25px 25px 0;
    border-style: solid;
    border-color: #444 transparent;
}