/* 企业愿景与使命部分的增强样式 */

.vision-mission {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* 添加背景装饰元素 */
.vision-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-light.png');
    opacity: 0.05;
    z-index: 0;
}

.vision-mission .container {
    position: relative;
    z-index: 2;
}

.vision-mission .section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.vision-mission .section-header {
    margin-bottom: 60px;
}

.vision-mission-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
    max-width: 1100px;
}

.vision-mission-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    flex: 1;
    min-width: 300px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transition: height 0.4s ease;
    z-index: -1;
}

.vision-mission-card:hover {
    transform: translateY(-10px);
}

.vision-mission-card:hover::before {
    height: 10px;
}

.icon-box {
    width: 90px;
    height: 90px;
    background-color: var(--light-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 5px 15px rgba(196, 18, 48, 0.15);
    transition: all 0.3s ease;
}

.vision-mission-card:hover .icon-box {
    background-color: var(--primary-color);
}

.icon-box::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px dashed var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.icon-box i {
    font-size: 34px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.vision-mission-card:hover .icon-box i {
    color: white;
}

.vision-mission-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.vision-mission-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.vision-mission-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* 添加一个底部的波浪装饰 */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 52px;
    transform: rotateY(180deg);
}

.wave-divider .shape-fill {
    fill: #FFFFFF;
}

.text-center.margin-top-30 {
    position: relative;
    z-index: 3;
}

/* 企业核心价值观标签 */
.core-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.value-tag {
    background-color: var(--light-red);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.value-tag i {
    margin-right: 6px;
    font-size: 12px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .vision-mission-content {
        flex-direction: column;
    }
    
    .vision-mission-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .vision-mission {
        padding: 70px 0;
    }
    
    .icon-box {
        width: 70px;
        height: 70px;
    }
    
    .icon-box i {
        font-size: 28px;
    }
    
    .vision-mission-card h3 {
        font-size: 20px;
    }
}
