/*首页样式*/
body {
    background-color: #fff;
    color: #111827;
    line-height: 1.6;
}

#index-swiper {
    overflow: hidden;
    position: relative;
}

main {
    background-image: none !important;
}

/*首页banner*/
.swiper-slide-vw {
    width: 100%;
    height: 100vh;
}

    .swiper-slide-vw img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        position: relative;
    }

.center-text {
    position: absolute;
    text-align: center;
    transform: translateY(-50%);
    top: 50%;
    left: 12%;
    right: 12%;
}

    .center-text h1 {
        font-size: 48px;
        text-align: center;
        color: #fff;
    }

    .center-text h4 {
        font-size: 30px;
        color: #fff;
        margin-bottom: 44px;
    }

.business-link-index {
    display: inline-block;
    border: unset !important;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.3);
}
/*index-swiper 关联tabs*/
.index-swiper-tabs {
    position: absolute;
    bottom: 8%;
    left: 8%;
    padding: 8px 12px;
    z-index: 88;
    animation: fadeInUp 1.2s ease 0.2s both;
    border-radius: 4px;
}

    .index-swiper-tabs ul > li {
        color: #beb9b9;
        font-size: 12px;
        height: 32px;
        line-height: 32px;
        cursor: pointer;
    }

    .index-swiper-tabs ul > .active {
        color: #fff;
        font-size: 14px;
    }

    .index-swiper-tabs .vertical-line {
        margin-right: 32px;
        align-self: stretch;
        width: 4px;
        border-radius: 2px;
        position: relative;
    }

.vertical-line-white {
    content: "";
    position: absolute;
    border-radius: 4px;
    transform: translateY(6px);
    height: 22px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #fff;
}

/*todo*/
.main-item {
    margin: 0 auto;
    max-width: 90%;
    padding: 64px 32px;
}

    .main-item > p {
        margin-bottom: 40px;
    }

.wd50 .flex-column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 220px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

    .section-header h2 {
        font-size: 32px;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .section-header p {
        color: #666;
        font-size: 16px;
    }

.main-item-90 {
    max-width: 1783px !important;
    margin: 0 auto;
}

.business-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 32px;
}

.business-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    margin:30px;
}

.image-button-box {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.button-list {
    display: none;
    flex-direction: row;
    justify-content: space-between;
    padding: 32px;
    flex-wrap: wrap;
    animation: fadeInUpCard 1.2s ease 0.2s both;
    transform: translate(0%, -20%);
    max-width: 365px;
    width: 100%;
    gap: 24px;
    color: #fff;
}


.image-button-box .business-link {
    justify-content: space-between;
    padding: 4px 12px;
    width: calc(50% - 12px);
    font-size: inherit;
}

.business-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.button-list .business-link span:first-child {
    display: flex;
    max-width: 100%;
    flex-wrap: nowrap;
    white-space: normal;
}

.button-list .business-link span:last-child {
    margin-left: 12px;
}

@keyframes fadeInUpCard {
    from {
        opacity: 0;
        transform: translate(0%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(0%, -20%);
    }
}

.business-card:hover .button-list {
    display: flex;
}

.business-card:hover .image-button-box {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
}

.business-image {
    width: 100%;
    max-height: 360px;
    position: relative;
    overflow: hidden;
}

.business-card:hover {
    transform: translateY(-5px);
    ;
}

.business-image:hover img {
    transform: scale(1.05);
}

@media (min-width: 1921px) {
    .business-image {
        max-height: 477px;
    }
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.business-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 12px;
}

.business-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.business-description {
    font-size: 14px;
    opacity: 0.9;
}

.main-item-vw {
    max-width: 100% !important;
    width: 100% !important;
    background-color: #fafbfc;
    padding: 24px 0 0 0 !important;
}

    .main-item-vw p {
        margin-bottom: 0 !important;
    }

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

    .carousel::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

.card {
    width: 100%;
    min-width: 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

.card-image {
    width: 100%;
    /*height: 200px;*/
    overflow: hidden;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.card:hover .card-image img {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .business-grid {
        grid-template-columns: 1fr;
    }

    .fixed-nav {
        display: none;
    }
}

/*轮播图首页样式*/
#index-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* 导航按钮样式 */
#index-swiper .swiper-button-prev-home,
#index-swiper .swiper-button-next-home {
    background-color: rgba(0, 0, 0, .4) !important;
    border-radius: 50% !important;
    width: 56px !important;
    height: 56px !important;
    color: #fff !important;
}

    /* 自定义箭头图标 */
    #index-swiper .swiper-button-prev-home::after,
    #index-swiper .swiper-button-next-home::after {
        font-size: 14px !important;
    }

/*修改激活时的样式*/
#index-swiper .swiper-pagination-bullet-active {
    background: #fff !important;
}

/*新闻咨询*/
#swiper-row {
    width: 100%;
    max-width: 100%;
}


.swiper-main {
    margin-right: -15%;
    margin-left: -15%;
}

.swiper {
    width: 100%;
    height: 100%;
}

.mySwiper {
    padding: 32px 0 56px 0 !important;
}

    /* 单个幻灯片样式 */
    .mySwiper .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 导航按钮样式 */
    .mySwiper .swiper-button-next,
    .mySwiper .swiper-button-prev {
        width: 36px;
        height: 72px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        background-color: rgba(0, 0, 0, .4);
    }

    .mySwiper .swiper-button-prev {
        border-radius: 0 8px 8px 0;
    }

    .mySwiper .swiper-button-next {
        border-radius: 8px 0 0 8px;
    }

        .mySwiper .swiper-button-next::after,
        .mySwiper .swiper-button-prev::after {
            font-size: 18px;
            color: #fff;
        }

    /* fix arrows position */
    .mySwiper .swiper-button-next {
        right: 11.5% !important;
    }

    .mySwiper .swiper-button-prev {
        left: 11.5% !important;
    }

.card {
    width: 100%;
    min-width: 300px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card-image {
    width: 100%;
    /*height: 350px;*/
    overflow: hidden;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.card:hover .card-image img {
    transform: scale(1.05);
}

.card:hover {
    transform: scaleY(1.05);
}

.card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 4px;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-align: center !important;
    border-bottom: 1px solid #F0F0F0;
    overflow: hidden;
}

.card-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    text-align: start;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

    .card-footer .business-link {
        color: #111827;
        border: 1px solid #111827;
        font-size: 12px;
    }

.date {
    color: #999;
    font-size: 14px;
}
