body {
    background-color: #ebebebe8 !important;
    /* 使用!important提高优先级 */
}

/*--------------------  顶部轮播图  --------------------*/
.swiper-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background-color: #fff;
}

/* 分页器提示器 */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 1vw;
    height: 1vw;
    max-width: 10px;
    max-height: 10px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
}

.swiper-pagination-bullet:hover {
    background: #fff;
    transform: scale(1.5);
}

/*--------------------  业务介绍  --------------------*/
.business-section {
    margin: 35px 0;
}

.business-section p {
    font-size: 1.5rem;
    font-weight: 800;
    color: #875dbf;
    text-align: center;
    margin: 35px;
}

.business-wrapper {
    width: 80%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 默认一行6列 */
    gap: clamp(30px, 1vw, 50px);
    justify-items: center;
    margin: 0 10%;
    overflow: visible;
}

.img-container {
    width: 100%;
    max-width: 120px;
    height: auto;
    position: relative;
}

.img-normal .img-hover {
    object-fit: fill;
    transition: opacity 0.5s ease;
    /* 添加渐变动画 */
}

.img-normal {
    height: auto;
    width: 100%;
}

.img-hover {
    height: auto;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    /* 默认隐藏 */
}

.img-container:hover {
    transform: scale(1.05) rotate(5deg);
    /* 初始旋转和缩放 */
}

.img-container:hover .img-hover {
    opacity: 1;
}

.img-container:hover .img-normal {
    opacity: 0;
}

.business-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #818181;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .business-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .business-item p {
        font-size: 1rem;
        margin: 10px 0;
    }
}

/*--------------------  第二个轮播区域  --------------------*/
.secondary-banner {
    width: 100%;
    height: auto;
    position: relative;
    margin: 0;
    overflow: hidden;
}

.secondary-swiper {
    width: 100%;
    height: auto;
}

.secondary-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 左右箭头样式 */
.secondary-swiper .swiper-button-next,
.secondary-swiper .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.secondary-swiper .swiper-button-next:after,
.secondary-swiper .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.secondary-swiper .swiper-button-next:hover,
.secondary-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

/*--------------------  公司介绍  --------------------*/
.company-content p {
    font-size: 1.5rem;
    font-weight: 800;
    color: #875dbf;
    text-align: center;
    margin: 35px;
}

.company-description {
    margin: 0 100px;
    margin-bottom: 50px;
    font-size: 1rem;
    color: #818181;
    line-height: 1.5;
    text-align: center;
}

@media (max-width:480px) {
    .company-description {
        margin: 0 10vw;
        margin-bottom: 50px;
        text-align: start;
    }
}

.company-cards {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    position: relative;
    gap: 20px;
    max-width: 1450px;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: visible;
    padding: 30px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 隐藏滚动条 Chrome/Safari */
.company-cards::-webkit-scrollbar {
    display: none;
}

.company-card {
    border-radius: 20px;
    overflow: display;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.company-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.company-card img {
    width: auto;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    transform: scale(1.02);
}

.company-card img:hover {
    transform: scale(1.1);
}

/*--------------------  咨询我们样式  --------------------*/
.contact-section {
    background: linear-gradient(135deg, #8C68C7 0%, #fbf9ff 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60px;
    padding: 0 50px;
    display: flex;
    align-items: center;
    margin: 3vh 0;
}

.contact-us-content {
    /* background-color: aqua; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.contact-title {
    color: white;
    font-size: 1rem;
    margin: 0;
    font-weight: normal;
}

.contact-btn {
    background: linear-gradient(135deg, #9163CC 0%, #B084E6 100%);
    color: white;
    text-decoration: none;
    padding: 8px 30px;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(145, 99, 204, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(145, 99, 204, 0.4);
}

/*--------------------  咨询我们样式  响应式优化  --------------------*/
@media (max-width: 768px) {
    .contact-section {
        display: flex;
        height: auto;
        padding: 20px 15px;
        /* 增加左右内边距 */
        margin: 1vh 0;
        /* 减少上下间距 */
    }

    .contact-us-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        max-width: 100%;
    }

    .contact-title {
        font-size: 16px;
        line-height: 1.4;
        margin: 0;
    }

    .contact-btn {
        font-size: 14px;
        padding: 6px 20px;
        text-decoration: none;
    }
}

@media (max-width: 480px) {

    /* 小屏幕咨询区域优化 */
    .contact-section {
        padding: 15px 10px;
        margin: 1vh 0;
    }

    .contact-title {
        font-size: 14px;
        line-height: 1.3;
    }

    .contact-btn {
        font-size: 12px;
        padding: 5px 15px;
    }
}