/* ===== 详情页内容居中修复 ===== */
.post-cont {
    margin-left: auto;
    margin-right: auto;
}

/* ===== 子页面顶部横幅居中修复 ===== */
.post-pic {
    display: block;
    width: 100%;
    overflow: hidden;
}

.post-pic img {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
}

/* ===== 首页公司简介模块居中修复 ===== */
.index-about {
    background-position: center center;
    background-size: cover;
}

.index-about .wrapper {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

/* ===== 导航栏上移 ===== */
.index-skill {
    margin-top: -70px;
    margin-bottom: 72px;
}

/* ===== 首页服务导航 index-skill 渐变颜色 + 上浮 ===== */
.index-skill ul li:nth-child(1) { background-color: #4dbdee; }
.index-skill ul li:nth-child(2) { background-color: #6b82f5; }
.index-skill ul li:nth-child(3) { background-color: #8a65ef; }
.index-skill ul li:nth-child(4) { background-color: #9969ec; }
.index-skill ul li:nth-child(5) { background-color: #b07be9; }
.index-skill ul li:nth-child(6) { background-color: #cc88e8; }

/* ===== 首页第三部分下移一些 ===== */
.index-service {
    padding-top: 140px;
}

.index-skill ul { overflow: visible; }
.index-skill ul li { transition: transform 0.25s ease; }
.index-skill ul li:hover { transform: translateY(-18px); z-index: 10; }

@media (max-width: 768px) {
    .index-skill {
        margin-bottom: 36px;
    }
    .index-service {
        padding-top: 60px;
    }
}

/* ===== 子页面导航卡片样式 son-nav ===== */
.aboutadd .about-top {
    border-bottom: none;
    padding-bottom: 0;
    overflow: visible;
}

.son-nav {
    float: none;
    width: 100%;
    display: block;
    overflow: visible;
}

.son-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow: visible;
}

.son-nav ul li {
    flex: 1 1 0;
    min-width: 0;
    list-style: none;
    position: relative;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease,
                filter 0.3s ease;
    will-change: transform;
}

/* 渐变颜色（8个分类，与首页一致） */
.son-nav ul li:nth-child(1) { background-color: #4dbdee; }
.son-nav ul li:nth-child(2) { background-color: #6b82f5; }
.son-nav ul li:nth-child(3) { background-color: #8a65ef; }
.son-nav ul li:nth-child(4) { background-color: #9969ec; }
.son-nav ul li:nth-child(5) { background-color: #b07be9; }
.son-nav ul li:nth-child(6) { background-color: #cc88e8; }
.son-nav ul li:nth-child(7) { background-color: #d890ea; }
.son-nav ul li:nth-child(8) { background-color: #e498ec; }

/* 当前项默认保持平齐 */
.son-nav ul li.cur {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
    filter: brightness(1.03);
}

/* 鼠标移入时再上浮 */
.son-nav ul li:hover {
    transform: translateY(-18px);
    z-index: 10;
}

.son-nav ul li > a {
    display: block;
    width: 100%;
    padding: 30px 6px 12px;
    text-align: center;
    color: #fff;
    border: none;
    border-radius: 0;
    margin: 0;
    background: none;
    text-decoration: none;
}

.son-nav ul li > a:hover,
.son-nav ul li > a:focus {
    color: #fff;
    background: none;
    border: none;
}

.son-nav ul li > a img {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.son-nav ul li i.icon {
    font-size: 42px;
    color: #fff;
    display: block;
    margin: 0 auto 10px;
}

.son-nav ul li h5 {
    font-size: 12px;
    text-align: center;
    color: #fff;
    margin: 0 0 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.son-nav ul li h5:after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    margin: 7px auto 0;
    background-color: rgba(255, 255, 255, 0.7);
}

/* breadcrumb 在卡片导航下方 */
.aboutadd .breadcrumb {
    padding: 10px 0;
    border-top: 1px solid #eee;
    margin-top: 18px;
}

@media screen and (max-width: 767px) {
    .son-nav ul {
        flex-wrap: wrap;
    }
    .son-nav ul li {
        flex: none;
        width: 50%;
    }
    .son-nav ul li h5 {
        white-space: normal;
        font-size: 11px;
    }
}

/* ===== 公司环境炫酷轮播 ===== */
.env-carousel-wrap {
    position: relative;
    padding: 0 50px;
    margin-bottom: 40px;
}

.env-slide-item {
    padding: 8px;
}

.env-slide-link {
    display: block;
    text-decoration: none;
}

.env-slide-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4 / 3;
    background: #111;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.env-slide-img-wrap:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.32);
    transform: translateY(-4px);
}

.env-slide-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.env-slide-img-wrap:hover img {
    transform: scale(1.08);
}

/* 渐变遮罩 */
.env-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(77, 189, 238, 0) 30%,
        rgba(107, 130, 245, 0.75) 75%,
        rgba(138, 101, 239, 0.92) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.env-slide-img-wrap:hover .env-slide-overlay {
    opacity: 1;
}

.env-slide-overlay-content {
    padding: 20px;
    text-align: center;
    transform: translateY(12px);
    transition: transform 0.4s ease;
}

.env-slide-img-wrap:hover .env-slide-overlay-content {
    transform: translateY(0);
}

/* 圆环图标已移除 */
.env-slide-icon-ring { display: none; }

.env-slide-overlay-content h5 {
    color: #fff;
    font-size: 15px;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* 左右箭头按钮 */
.env-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6b82f5, #8a65ef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(107,130,245,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.env-carousel-btn:hover {
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 20px rgba(107,130,245,0.65);
}

.env-carousel-btn span {
    color: #fff;
    font-size: 16px;
    line-height: 1;
    user-select: none;
}

.env-prev { left: 0; }
.env-next { right: 0; }

/* owl dots 已隐藏 */
.env-carousel-wrap .owl-dots { display: none; }
.env-carousel-wrap .owl-dots .owl-dot span {
    background: #ddd;
    transition: background 0.3s;
}
.env-carousel-wrap .owl-dots .owl-dot.active span,
.env-carousel-wrap .owl-dots .owl-dot:hover span {
    background: #6b82f5;
}

/* 中间卡片放大（center模式） */
.env-carousel .owl-item.center .env-slide-img-wrap {
    transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(107,130,245,0.35);
}

@media (max-width: 768px) {
    .env-carousel-wrap {
        padding: 0 36px;
    }
    .env-carousel-btn {
        width: 32px;
        height: 32px;
    }
}
