/* 合作伙伴页面样式 - 基于logo颜色的简约霸气版 */

/* 删除页面标题特定样式，使用通用样式 */
/* .page-header 相关的特定样式已删除，将使用 style.css 中的通用样式 */

/* 形状元素 - 保留供页面标题使?*/
.header-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.shape-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    bottom: -30px;
    right: 10%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: 30%;
    right: 20%;
}

/* 合作伙伴页面主要样式 */
.partners-page {
    padding: 80px 0;
}

.partners-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.partners-intro h2 {
    /* 替换为全局统一标题样式 */
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partners-intro h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.partners-intro p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
}

/* 合作伙伴标签过滤?*/
.partners-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    background-color: white;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    font-weight: 500;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.filter-btn.active {
    background-color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色?*/
    color: white;
}

/* 合作伙伴网格样式 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.partner-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border-bottom: 3px solid transparent;
}

.partner-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--block-shadow);
    border-bottom-color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色?*/
}

.partner-logo-area {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.partner-logo-area::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/decoration/dots.svg') repeat;
    opacity: 0.03;
    z-index: 1;
}

.partner-logo-area img {
    max-width: 70%;
    max-height: 80px;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.partner-card:hover .partner-logo-area img {
    transform: scale(1.1);
}

.partner-info {
    padding: 25px;
}

.partner-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色?*/
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.partner-info h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色?*/
    bottom: 0;
    left: 0;
}

.partner-info p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.partner-type {
    display: inline-block;
    padding: 5px 12px;
    background-color: rgba(var(--primary-color-rgb), 0.1); /* 使用带透明度的主色调变?*/
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色?*/
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.partner-details {
    margin-top: 20px;
}

.partner-details a {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色?*/
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-details a i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.partner-details a:hover {
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色?*/
}

.partner-details a:hover i {
    transform: translateX(5px);
}

/* 合作伙伴标志?*/
.partners-wall {
    background-color: rgba(var(--primary-color-rgb), 0.05); /* 使用带透明度的主色调变?*/
    padding: 80px 0;
    text-align: center;
    margin: 80px 0 40px;
    border-radius: 8px;
}

.partners-wall h3 {
    /* 替换为全局统一标题样式 */
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    left: 50%;
    transform: translateX(-50%);
}

.partners-wall h3::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-item {
    width: 180px;
    height: 120px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 3px solid transparent;
}

.logo-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--block-shadow);
    border-bottom-color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色?*/
}

.logo-item img {
    max-width: 100%;
    max-height: 70px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* 成为合作伙伴部分 */
.become-partner {
    margin: 80px 0;
    background-image: linear-gradient(rgba(0, 50, 45, 0.85), rgba(0, 50, 45, 0.85)), url('../images/hero2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.become-partner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色?*/
}

.partner-cta {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.partner-cta h3 {
    /* 替换为全局统一标题样式（但保留白色?*/
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.partner-cta h3::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.partner-cta p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
    font-weight: 300;
}

.partner-cta .btn {
    background-color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色?*/
    border-color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色?*/
    color: white;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.partner-cta .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* 合作优势部分 */
.partnership-benefits {
    margin-bottom: 80px;
}

.partnership-benefits h3 {
    /* 替换为全局统一标题样式 */
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.partnership-benefits h3::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 3px solid transparent;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--block-shadow);
    border-bottom-color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色?*/
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(var(--primary-color-rgb), 0.1); /* 使用带透明度的主色调变?*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background-color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色?*/
}

.benefit-icon i {
    font-size: 28px;
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色?*/
    transition: all 0.3s ease;
}

.benefit-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色?*/
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 15px;
}

/* 服务图标样式 */
.service-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色?*/
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3); /* 使用带透明度的主色调变?*/
}

/* 响应式样?*/
@media screen and (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 992px) {
    .partners-intro h2, 
    .partners-wall h3,
    .partnership-benefits h3 {
        font-size: 28px;
    }
    
    .become-partner {
        padding: 60px 0;
    }
    
    .partner-cta h3 {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {
    .partners-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 15px;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .logo-item {
        width: 140px;
        height: 100px;
    }
    
    .logo-item img {
        max-height: 60px;
    }
    
    .partner-cta h3 {
        font-size: 24px;
    }
    
    .partner-cta p {
        font-size: 16px;
    }
}

@media screen and (max-width: 576px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-wall {
        margin: 50px 0 30px;
        padding: 50px 0;
    }
    
    .become-partner {
        margin: 50px 0;
        padding: 50px 0;
    }
}
/* 页面标题部分 */
/*
.page-header {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    overflow: hidden;
    /* 添加从下到上的过渡效?*/
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-header.in-view {
    opacity: 1;
    transform: translateY(0);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header .page-description {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}
*/

/* 动态形状元?*/
.header-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.15;
}

.shape-1 {
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    border-radius: 40%;
    background-color: rgba(255, 255, 255, 0.5);
    animation: shape-animation 25s linear infinite;
}

.shape-2 {
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 45%;
    background-color: rgba(255, 255, 255, 0.5);
    animation: shape-animation 30s linear infinite reverse;
}

.shape-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 48%;
    background-color: rgba(255, 255, 255, 0.3);
    animation: shape-animation 40s linear infinite;
}

@keyframes shape-animation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 合作伙伴页面标题样式修复 - 使用与about和contact页面一致的标题风格 */

/* 设置页面标题区块大小与其他页面一?*/
.page-header {
    position: relative;
    padding: 120px 0 70px !important; /* 与其他页面保持一致的padding */
    margin-top: 80px !important;
    opacity: 1; 
    transform: translateY(0);
    transition: none;
    overflow: hidden;
}

.page-header.in-view {
    opacity: 1;
    transform: translateY(0);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 169, 157, 0.8), rgba(232, 158, 91, 0.8));
    z-index: 1;
    opacity: 0.7; /* 确保背景渐变始终完全显示 */
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.page-description {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

/* 形状元素 - 从partners-style.css移植过来并增?*/
.header-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 2;
    border-radius: 50%;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    animation: floatAnimation 8s infinite alternate ease-in-out;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    right: 10%;
    animation: floatAnimation 12s infinite alternate-reverse ease-in-out;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 20%;
    animation: floatAnimation 10s infinite alternate ease-in-out 2s;
}

/* 内容部分标题统一样式 */
.partners-intro h2,
.partners-wall h3,
.partnership-benefits h3 {
    font-size: 36px;
    color: #00a99d; /* Logo青绿?*/
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partners-intro h2::after,
.partners-wall h3::after,
.partnership-benefits h3::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: #e89e5b; /* Logo橙棕?*/
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 统一合作伙伴页面上的其他组件样式 */
.partner-category {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.partner-category.animate {
    opacity: 1;
    transform: translateY(0);
}

.advantage-item, .process-step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: calc(var(--item-index, 0) * 0.1s);
}

.advantage-item.animate, .process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 添加动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0) rotate(0);
    }
    100% {
        transform: translateY(20px) rotate(5deg);
    }
}

/* 响应式调?*/
@media screen and (max-width: 992px) {
    .partners-intro h2, 
    .partners-wall h3,
    .partnership-benefits h3 {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {
    .partners-intro h2, 
    .partners-wall h3,
    .partnership-benefits h3 {
        font-size: 24px;
    }
    
    .shape-1, .shape-2, .shape-3 {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .page-header {
        padding: 80px 0 50px !important;
    }
}

/* 确保合作伙伴页中的卡片平滑显示动?*/
.partner-card {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.4s ease, border-bottom-color 0.4s ease;
    transition-delay: calc(var(--card-index, 0) * 0.1s);
}

.partner-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.partner-card:hover {
    transform: translateY(-10px);
}

/* 重写页面标题区块动画效果，与其他页面保持一?*/
.page-header {
    position: relative;
    opacity: 1;
    padding: 120px 0 70px !important;
    margin-top: 80px !important;
    transform: translateY(0);
    transition: none;
}

/* 确保page-title和页面描述居中显?*/
.page-header .page-title,
.page-header h1,
.page-header .page-description {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* 修复page-title的after伪元素位?*/
.page-header .page-title::after,
.page-header h1::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* 合作伙伴页面样式 */
.partners-page {
    padding: 60px 0;
    overflow: visible !important;
    position: relative !important;
}

.partners-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.partners-intro h2 {
    font-size: 32px;
    color: var(--primary-color, #2c3e50);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.partners-intro h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color, #3498db);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.partners-intro p {
    color: var(--text-color, #34495e);
    font-size: 18px;
    line-height: 1.7;
}

/* 合作伙伴类别 */
.partner-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.partner-category {
    position: relative;
    background-color: white;
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: var(--card-shadow, 0 5px 15px rgba(0, 0, 0, 0.05));
    text-align: center;
    transition: var(--transition, all 0.3s ease);
}

.partner-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--block-shadow, 0 10px 30px rgba(0, 0, 0, 0.1));
}

.partner-category .icon {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition, all 0.3s ease);
}

.partner-category:hover .icon {
    background-color: var(--accent-color, #3498db);
}

.partner-category .icon i {
    font-size: 36px;
    color: var(--accent-color, #3498db);
    transition: var(--transition, all 0.3s ease);
}

.partner-category:hover .icon i {
    color: white;
}

.partner-category h3 {
    font-size: 20px;
    color: var(--primary-color, #2c3e50);
    margin-bottom: 15px;
}

.partner-category p {
    margin-bottom: 20px;
    color: var(--text-color, #34495e);
}

.partner-category .btn-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--light-color, #f5f7fa);
    color: var(--primary-color, #2c3e50);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition, all 0.3s ease);
}

.partner-category:hover .btn-more {
    background-color: var(--secondary-color, #3498db);
    color: white;
}

/* 合作伙伴列表 */
.partners-section {
    padding: 50px 0;
}

.partners-section h3 {
    font-size: 24px;
    color: var(--primary-color, #2c3e50);
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    text-align: center;
}

.partners-section h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color, #3498db);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.partner-logo {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 150px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition, all 0.3s ease);
    overflow: hidden;
}

.partner-logo:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition, all 0.3s ease);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* 合作洽谈部分 */
.cooperation-section {
    background-color: var(--primary-color, #2c3e50);
    padding: 60px 30px; /* 添加水平内边?*/
    position: relative;
    margin: 50px auto; /* 修改为居中对?*/
    max-width: 1200px; /* 限制最大宽度与页面容器一?*/
    width: 100%; /* 确保宽度?00% */
    color: white;
    overflow: hidden;
    border-radius: 8px; /* 添加圆角使其与其他区块风格一?*/
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
}

.cooperation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/partners/pattern.png') repeat;
    opacity: 0.05;
}

.cooperation-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cooperation-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cooperation-content p {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 18px;
}

.cooperation-content .btn {
    display: inline-block;
    background-color: var(--secondary-color, #e67e22);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition, all 0.3s ease);
}

.cooperation-content .btn:hover {
    background-color: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 合作优势 */
.partner-advantages {
    padding: 80px 0 40px;
    background-color: var(--light-color, #f5f7fa);
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

.advantages-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.advantages-container h3 {
    text-align: center;
    font-size: 28px;
    color: var(--primary-color, #2c3e50);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.advantages-container h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color, #3498db);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.advantage-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.advantage-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow, 0 5px 15px rgba(0, 0, 0, 0.05));
    padding: 25px;
    transition: var(--transition, all 0.3s ease);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 1;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--block-shadow, 0 10px 30px rgba(0, 0, 0, 0.1));
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 24px;
    color: var(--secondary-color, #3498db);
}

.advantage-text h4 {
    font-size: 18px;
    color: var(--primary-color, #2c3e50);
    margin-bottom: 10px;
}

.advantage-text p {
    font-size: 15px;
    color: var(--text-color, #34495e);
    line-height: 1.6;
}

/* 合作流程 - 修复垂直时间线和响应式布局问题 */
.cooperation-process {
    padding: 60px 0;
    background-color: var(--light-color, #f5f7fa);
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

.process-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.process-content h3 {
    text-align: center;
    font-size: 28px;
    color: var(--primary-color, #2c3e50);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.process-content h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color, #3498db);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.process-steps {
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 50px);
    background-color: var(--border-color, #e0e0e0);
    z-index: 0;
}

.process-step {
    position: relative;
    padding: 0 0 40px 0;
    z-index: 1;
}

.process-step:last-child {
    padding-bottom: 0;
}

.step-content {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow, 0 5px 15px rgba(0, 0, 0, 0.05));
    padding: 25px;
    position: relative;
    width: calc(50% - 30px);
    transition: var(--transition, all 0.3s ease);
    z-index: 2;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--block-shadow, 0 10px 30px rgba(0, 0, 0, 0.1));
}

.process-step:nth-child(odd) .step-content {
    margin-left: auto;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: white;
    transform: rotate(45deg);
    z-index: 1;
}

.process-step:nth-child(odd) .step-content::before {
    left: -10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-left: 1px solid rgba(0,0,0,0.05);
}

.process-step:nth-child(even) .step-content::before {
    right: -10px;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-right: 1px solid rgba(0,0,0,0.05);
}

.step-number {
    position: absolute;
    top: 15px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color, #3498db);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid white;
    box-shadow: 0 0 0 2px var(--border-color, #e0e0e0);
    z-index: 3;
}

.process-step:nth-child(odd) .step-number {
    left: calc(50% - 25px);
}

.process-step:nth-child(even) .step-number {
    right: calc(50% - 25px);
}

.step-content h4 {
    font-size: 18px;
    color: var(--primary-color, #2c3e50);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-color, #34495e);
    font-size: 15px;
    line-height: 1.6;
}

/* 响应式调?- 修复流程时间线在移动端的显示问题 */
@media (max-width: 992px) {
    .process-steps::before {
        left: 25px;
        height: calc(100% - 30px);
    }
    
    .step-content {
        width: calc(100% - 70px);
        margin-left: 70px !important;
    }
    
    .process-step:nth-child(odd) .step-content::before,
    .process-step:nth-child(even) .step-content::before {
        left: -10px;
        right: auto;
        border: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        border-left: 1px solid rgba(0,0,0,0.05);
    }
    
    .process-step:nth-child(odd) .step-number,
    .process-step:nth-child(even) .step-number {
        left: 0;
        right: auto;
    }
    
    /* 合作伙伴类别在平板上改为两列 */
    .partner-categories,
    .advantage-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .partners-intro h2,
    .cooperation-content h2 {
        font-size: 28px;
    }
    
    .partners-intro p,
    .cooperation-content p {
        font-size: 16px;
    }
    
    /* 页面标题适配小屏?*/
    .page-header {
        padding: 100px 0 60px !important;
        margin-top: 70px !important;
    }
    
    .page-header .page-title h1 {
        font-size: 32px;
        line-height: 1.3;
    }
    
    .page-description {
        font-size: 16px;
        line-height: 1.5;
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* 调整形状元素大小 */
    .shape-1 {
        width: 150px;
        height: 150px;
    }
    
    .shape-2 {
        width: 180px;
        height: 180px;
    }
    
    .shape-3 {
        width: 300px;
        height: 300px;
    }
    
    /* 合作伙伴类别卡片优化 */
    .partner-categories,
    .advantage-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partner-category {
        padding: 25px 20px;
    }
    
    /* 合作流程部分优化 */
    .process-step {
        padding-bottom: 30px;
    }
    
    .step-content {
        padding: 20px;
    }
    
    /* 合作伙伴列表适配 */
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    /* 合作洽谈区域 */
    .cooperation-section {
        padding: 50px 0;
    }
    
    .cooperation-content h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .cooperation-content p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 25px;
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .partner-logo {
        height: 120px;
    }
    
    /* 极小屏幕下简化形状动画，提高性能 */
    .shape-3 {
        display: none;
    }
    
    .shape-1, .shape-2 {
        animation-duration: 50s;
    }
    
    .partner-category .icon {
        width: 70px;
        height: 70px;
    }
    
    .partner-category .icon i {
        font-size: 28px;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
    }
    
    .advantage-icon i {
        font-size: 20px;
    }
    
    /* 修复流程步骤在移动端的问?*/
    .process-steps::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-width: 3px;
    }
    
    .process-step:nth-child(odd) .step-number,
    .process-step:nth-child(even) .step-number {
        left: 0;
    }
    
    .step-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }
    
    .cooperation-process {
        padding: 40px 0;
    }
    
    .process-content h3 {
        font-size: 24px;
        margin-bottom: 35px;
    }
}

/* 重置一些可能影响布局的属?*/
.partners-page *,
.partner-advantages *,
.cooperation-process * {
    overflow: visible !important;
    box-sizing: border-box !important;
}
