/* 轮播图样式 */

.hero-slider {
    margin-top: 80px;
}

.hero-slider .swiper {
    width: 100%;
}

.hero-slider .swiper-slide {
    width: 100%;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-slider .swiper-image {
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.hero-slider .swiper-image:hover {
    opacity: 0.95;
    transform: scale(1.01);
}


/* 自定义导航按钮样式 */

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #fff;
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    transform: scale(1.1);
}


/* 自定义分页器样式 */

.hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.7;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}


/* 响应式调整 */

@media screen and (max-width: 768px) {
    .hero-slider {
        margin-top: 60px;
    }
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }
}


/* 核心业务入口样式 */

.core-services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin: -30px auto 40px;
    max-width: 800px;
    line-height: 1.6;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.core-services .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    text-align: center;
    padding: 0 0 40px 0;
    background: white;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-item:hover::before {
    opacity: 0.08;
}

.service-item img {
    width: 100%;
    height: 140px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    object-fit: cover;
    /* filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1)); */
}

.service-item:hover img {
    transform: scale(1.15) translateY(-5px);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.6rem;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.service-item p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    /* margin-bottom: 20px; */
}

.service-item .service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
    z-index: 2;
    position: relative;
}

.service-item .service-features li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-item .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-item .service-features li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}


/* 产品展示区样式 */

.product-categories {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-item {
    padding: 35px;
    background: white;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.category-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 0 0 20px 20px;
}

.category-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.category-item:hover::after {
    transform: scaleX(1);
}

.category-item h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.category-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.category-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.category-item ul li {
    color: var(--text-color);
    font-size: 1rem;
    position: relative;
    padding-left: 22px;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.category-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1;
}

.category-item ul li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}


/* 合作企业模块样式 */
.partners-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.partners-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.partner-category {
    margin-bottom: 80px;
}

.partner-category:last-child {
    margin-bottom: 0;
}

/* 着重显示下游客户 */
.partner-category.featured {
    margin-bottom: 100px;
    padding: 50px 0;
    background: #fafafa;
    border-radius: 12px;
    position: relative;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.partner-category.featured .category-title {
    font-size: 2.3rem;
    color: var(--primary-color);
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.category-desc {
    text-align: center;
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* 下游客户网格 - 更大更突出 */
.featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.partner-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* 下游客户卡片 - 更大更突出 */
.featured-item {
    padding: 40px 30px;
    border: 1px solid #e8f5e9;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #fafafa;
}

.partner-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.featured-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(76, 175, 80, 0.15);
    border-color: var(--secondary-color);
}

/* Logo区域 */
.partner-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 10px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.featured-item .partner-logo {
    width: 140px;
    height: 140px;
    margin-bottom: 30px;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: opacity 0.3s ease;
}

.featured-item .partner-logo img {
    padding: 20px;
}

.partner-item:hover .partner-logo {
    background: #f0f0f0;
}

.partner-item:hover .partner-logo img {
    opacity: 0.9;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.featured-item .logo-placeholder {
    font-size: 1.3rem;
    background: var(--secondary-color);
}

/* 内容区域 */
.partner-content {
    width: 100%;
    position: relative;
    z-index: 1;
}

.partner-name {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.featured-item .partner-name {
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.partner-item:hover .partner-name {
    color: var(--primary-color);
}

/* 徽章样式 */
.partner-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.core-badge {
    background: var(--primary-color);
    color: white;
}

.strategy-badge {
    background: #ff9800;
    color: white;
}

.supplement-badge {
    background: #2196f3;
    color: white;
}

.partner-item:hover .partner-badge {
    opacity: 0.9;
}

.partner-info {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.featured-item .partner-info {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.partner-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-top: 8px;
}

.featured-item .partner-desc {
    font-size: 1.05rem;
    color: #555;
    margin-top: 10px;
}

/* 快速询盘按钮样式 */

.quick-inquiry {
    position: fixed;
    bottom: 30px;
    right: 90px;
    z-index: 99;
}

.quick-inquiry button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.quick-inquiry button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.quick-inquiry button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.quick-inquiry button:hover::before {
    left: 100%;
}


/* 响应式样式 */

@media screen and (max-width: 1400px) {
    .core-services .container {
        grid-template-columns: repeat(3, 1fr);
    }
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 992px) {
    .core-services .container {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .slide h1 {
        font-size: 2.8rem;
    }
    .category-item ul {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hero-slider {
        margin-top: 60px;
    }
    .slide h1 {
        font-size: 2rem;
        padding: 0 20px;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    .category-item {
        padding: 30px 20px;
    }
    .quick-inquiry {
        bottom: 20px;
        right: 20px;
    }
    .quick-inquiry button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 992px) {
    .partner-grid,
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .category-title {
        font-size: 1.7rem;
    }
    .partner-category.featured .category-title {
        font-size: 2rem;
    }
    .partner-category.featured {
        padding: 40px 20px;
    }
    .featured-item {
        padding: 35px 25px;
    }
    .featured-item .partner-logo {
        width: 120px;
        height: 120px;
    }
}

@media screen and (max-width: 576px) {
    .core-services .container,
    .category-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .category-item {
        padding: 25px 20px;
    }
    .slide h1 {
        font-size: 1.8rem;
    }
    .service-item img {
        /* width: 70px;
        height: 70px; */
    }
    .service-item h3 {
        font-size: 1.4rem;
    }
    .category-item h4 {
        font-size: 1.3rem;
    }
    .partners-section {
        padding: 60px 0;
    }
    .partner-item {
        padding: 25px 20px;
    }
    .featured-item {
        padding: 30px 20px;
    }
    .partner-name {
        font-size: 1.2rem;
    }
    .featured-item .partner-name {
        font-size: 1.3rem;
    }
    .category-title {
        font-size: 1.5rem;
    }
    .partner-category.featured .category-title {
        font-size: 1.7rem;
    }
    .category-desc {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    .partner-logo {
        width: 100px;
        height: 100px;
    }
    .featured-item .partner-logo {
        width: 110px;
        height: 110px;
    }
    .partner-badge {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
}

/* 图片查看大图模态框样式 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-modal-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 10px;
}

.image-modal-caption {
    margin-top: 20px;
    color: #333;
    font-size: 1.1rem;
    text-align: center;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 6px;
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.2);
    color: #333;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    z-index: 10002;
}

.image-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.3);
    transform: rotate(90deg);
    color: #000;
}

@media screen and (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .image-modal-img {
        max-height: 80vh;
    }
    
    .image-modal-close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .image-modal-caption {
        font-size: 1rem;
        padding: 8px 15px;
    }
}