/* 关于我们页面样式文件 */

/* 1. 公司简介内容样式 */
.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 0;
    align-items: center;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-image {
    flex: 0 0 450px;
}

.company-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 2. 使命愿景版块样式 */
.mission-vision-container {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 0;
    margin-bottom: 0;
}

.mission-vision-item {
    flex: 1;
    text-align: center;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
    justify-content: center;
    overflow: visible;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.mission-vision-icon {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-vision-icon img {
    width: 247px;
    height: 247px;
}

.mission-vision-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    margin-top: -120px; /* 上移主标题 */
    font-weight: bold;
    line-height: 1.2;
}

.mission-vision-text {
    font-size: 18px;
    line-height: 1.5;
    color: #666;
    margin: 0;
    padding: 0 10px;
}

/* 使命愿景响应式样式 */
@media (max-width: 768px) {
    .mission-vision-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .mission-vision-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        min-height: auto;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: visible;
    }
    
    .mission-vision-icon {
        position: static;
        transform: none;
        margin-bottom: 20px;
        flex: 0 0 auto;
    }
    
    .mission-vision-icon img {
        width: 100px;
        height: 100px;
    }
    
    .mission-vision-title {
        font-size: 24px;
        margin-top: 0;
        margin-bottom: 10px;
        text-align: center;
        padding: 0;
    }
    
    .mission-vision-text {
        font-size: 16px;
        text-align: center;
        padding: 0;
    }
}

/* 3. 发展历程样式 */
.timeline-container {
    margin-top: 60px;
    position: relative;
    overflow: visible;
}

/* 时间轴导航按钮样式 */
.timeline-nav-btn {
    position: absolute;
    top: 45px;
    width: 20px;
    height: 20px;
    background-color: #0055dd;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    color: #dadce0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    transform: translateY(-50%);
}

.timeline-nav-btn:hover {
    background-color: #0055dd;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 85, 221, 0.2);
}

.timeline-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* 左右导航按钮位置 */
.timeline-prev-btn { left: 0; }
.timeline-next-btn { right: 0; }

/* 时间轴容器样式 */
.timeline-scrollable {
    position: relative;
    margin: 0 0 40px;
    overflow: visible;
}

.timeline-wrapper {
    width: 100%;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
}

/* 时间轴背部贯穿横线 */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e2e5e9;
    z-index: 0;
    transform: translateY(-50%);
}

/* 时间轴轨道样式 */
.timeline-track {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    position: relative;
    width: 100%;
    z-index: 1;
}

/* 时间轴标签样式 */
.timeline-tab {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-tab:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #0055dd;
    box-shadow: 0 6px 20px rgba(0, 85, 221, 0.18);
}

.timeline-tab.active {
    width: 70px;
    height: 70px;
    background: rgba(0, 85, 221, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(0, 85, 221, 0.3);
}

/* 内容区域样式 */
.timeline-content-wrapper {
    display: flex;
    align-items: flex-start;
    background-color: #f8f9fa;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* 左侧固定图片 */
.timeline-image {
    flex: 0 0 50%;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.timeline-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* 右侧时间内容 */
.timeline-content {
    flex: 0 0 50%;
    min-width: 0;
}

.timeline-year-content {
    display: none;
    padding: 30px 60px;
    border-radius: 8px;
}

.timeline-year-content.active {
    display: block;
}

/* 时间线年份样式 */
.timeline-year {
    font-size: 28px;
    font-weight: 700;
    color: #0055dd;
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
}

.timeline-year::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 30px;
    background-color: #0055dd;
    border-radius: 4px;
}

.timeline-events {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.timeline-event {
    position: relative;
    padding-left: 40px;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: #0055dd;
    border-radius: 50%;
}

.timeline-event:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 24px;
    width: 2px;
    height: calc(100% + 13px);
    background-color: #e0e0e0;
}

.timeline-date {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.timeline-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* 发展历程响应式样式 */
@media (max-width: 768px) {
    /* 调整时间轴导航按钮位置和大小 */
    .timeline-nav-btn {
        top: 35px;
        width: 16px;
        height: 16px;
        font-size: 8px;
    }
    
    /* 调整时间轴标签大小 */
    .timeline-tab,
    .timeline-tab.active {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    
    /* 调整时间轴轨道样式，添加横向滚动 */
    .timeline-scrollable {
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .timeline-scrollable::-webkit-scrollbar {
        height: 4px;
    }
    
    .timeline-scrollable::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }
    
    .timeline-scrollable::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 2px;
    }
    
    .timeline-scrollable::-webkit-scrollbar-thumb:hover {
        background: #a1a1a1;
    }
    
    .timeline-track {
        justify-content: flex-start;
        gap: 20px;
        padding: 10px 10px;
        width: max-content;
    }
    
    /* 隐藏时间轴背景线，避免滚动时的视觉问题 */
    .timeline-wrapper::before {
        display: none;
    }
    
    /* 响应式时隐藏左侧图片 */
    .timeline-image {
        display: none;
    }
    
    /* 调整内容区域布局 */
    .timeline-content-wrapper {
        background-color: #f8f9fa;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }
    
    /* 让内容区域占据100%宽度 */
    .timeline-content {
        flex: 0 0 100%;
    }
    
    /* 调整内容区域内边距 */
    .timeline-year-content {
        padding: 20px;
    }
    
    /* 调整年份标题大小和内边距 */
    .timeline-year {
        font-size: 24px;
        padding-left: 15px;
        margin-bottom: 20px;
    }
    
    .timeline-year::before {
        width: 6px;
        height: 24px;
    }
    
    /* 调整事件样式 */
    .timeline-events {
        gap: 20px;
    }
    
    .timeline-event {
        padding-left: 30px;
    }
    
    .timeline-event::before {
        width: 10px;
        height: 10px;
    }
    
    .timeline-event:not(:last-child)::after {
        left: 4px;
    }
    
    /* 调整日期和文本样式 */
    .timeline-date {
        font-size: 15px;
    }
    
    .timeline-text {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* 4. 业务架构样式 */
/* 公司名称样式 */
.company-name {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.company-name::after {
    content: '';
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 26px;
    background-color: #D8D9DC;
}

.company-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* 业务群组结构 */
.business-groups {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* 连接线样式 */
.business-groups::after {
    content: ' ';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 84%;
    top: -26px;
    height: 2px;
    background: #D8D9DC;
    display: block;
}

/* 业务群组样式 */
.business-group {
    flex: 0 0 calc(16.666% - 10px);
    margin-bottom: 20px;
    position: relative;
}

.business-group:before {
    content: ' ';
    height: 26px;
    width: 2px;
    background: #D8D9DC;
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
}

.group-header {
    background: #F2F3F5;
    border-radius: 4px;
    padding: 30px 15px;
    text-align: center;
}

.group-acronym {
    font-size: 32px;
    color: #0055dd;
    font-weight: 700;
    margin: 0 0 10px;
}

.group-name {
    font-size: 16px;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* 标签按钮样式 */
.tab-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active .group-header {
    background-color: white;
    box-shadow: 0 2px 8px #d8d9dc5c;
}

/* 标签面板样式 */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Tabs 内容区域样式 */
.tabs-content {
    position: relative;
    margin-top: 30px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 向上的箭头 */
.tabs-content::before {
    content: '';
    position: absolute;
    top: -19px;
    left: var(--arrow-left, 80px);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 20px solid #fff;
}

/* 业务描述样式 */
.business-description {
    background-color: white;
    border-radius: 4px;
    padding: 32px 42px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.business-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
    text-align: justify;
}

/* 5. 管理团队样式 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 0;
}

.team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    text-align: left;
}

.team-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-photo {
    width: 100%;
    height: 300px;
    position: relative;
    background: #f5f5f5;
}

.team-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 15px 20px 5px;
}

.team-position {
    font-size: 14px;
    color: #666;
    margin: 0 20px 20px;
}

/* 模态框样式 */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding-right: 0;
    overflow-y: auto;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 40px;
}

/* 团队成员内容容器 */
.team-member-content {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.modal-photo {
    width: 200px;
    margin-right: 40px;
}

.modal-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-info {
    flex: 1;
}

.modal-name {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.modal-position {
    font-size: 18px;
    color: #666;
    margin-bottom: 24px;
    font-weight: 500;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.modal-bio {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.modal-bio p {
    margin-bottom: 15px;
}

.modal-bio p:last-child {
    margin-bottom: 0;
}

/* 6. 企业文化样式 */
.culture-title {
    font-size: 28px;
    color: #0055dd;
    margin-bottom: 30px;
    font-weight: 600;
}

/* 左右布局 */
.culture-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 100%;
    width: 100%;
}

/* 左侧文字部分 */
.culture-text-section {
    flex: 0 0 calc(50% - 15px);
    width: calc(50% - 15px);
    box-sizing: border-box;
}

/* 单个价值观项目 */
.culture-value-item {
    margin-bottom: 30px;
}

.culture-value-item:last-child {
    margin-bottom: 0;
}

.culture-item-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: left;
}

/* 描述文本样式 */
.culture-item-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    text-align: left;
}

/* 右侧图片部分 */
.culture-image-section {
    flex: 0 0 calc(50% - 15px);
    width: calc(50% - 15px);
    margin-top: 0;
    box-sizing: border-box;
}

/* 主图片样式 */
.culture-main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

/* 7. 资质荣誉版块样式 */

/* 资质荣誉响应式设计 */
@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.certification-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.certification-icon {
    margin-bottom: 20px;
}

.certification-icon img {
    max-width: 80px;
    height: auto;
}

.certification-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.certification-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 企业文化响应式设计 */
@media (max-width: 768px) {
    .culture-title {
        font-size: 20px;
    }
    .culture-item-title {
        font-size: 18px;
    }
    .culture-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .culture-image-section {
        flex: 0 0 100%;
        width: 100%;
        order: -1; /* 将图片部分移到上方 */
    }
    
    .culture-text-section {
        flex: 0 0 100%;
        width: 100%;
    }
    
    
}

/* 业务框架响应式样式 */
/* 大屏幕隐藏移动端业务架构 */
@media (min-width: 768px) {
    .business-framework {
        display: none;
    }
}

/* 小屏幕显示移动端业务架构 */
@media (max-width: 768px) {
    /* 隐藏PC端业务架构组件 */
    .business-groups,
    .business-description {
        display: none;
    }
    
    /* 显示移动端业务架构 */
    .business-framework {
        display: block;
        width: 100%;
    }
      
     .company-name {
        margin-bottom: 24px;
    }
        
     .business-group {
         margin-bottom: 8px;
         border-radius: 4px;
         overflow: hidden;
         transition: all 0.3s ease;
     }
      
     .group-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        background-color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease;
     }
            
     .group-info {
         display: flex;
         align-items: center;
         gap: 20px;
     }
      
     .group-acronym {
         font-size: 26px;
         font-weight: bold;
         color: #2A2E2E;
         margin: 0 auto;
     }
      
     .group-name {
         font-size: 16px;
         color: #5F6464;
     }
      
     .expand-icon {
         width: 16px;
         height: 16px;
         background-image: url('../img/icon_arrow_d.png');
         background-size: contain;
         background-repeat: no-repeat;
         background-position: center;
         transition: transform 0.3s ease;
         display: inline-block;
     }
      
     .group-header.active .expand-icon {
         transform: rotate(180deg);
     }
      
     .group-content {
         max-height: 0;
         border-top: 1px solid #F2F3F5;
         overflow: hidden;
         transition: max-height 0.3s ease;
         background-color: #fff;
     }
      
     .group-content.active {
         max-height: 500px;
     }
      
     .group-description {
         padding: 20px;
         font-size: 15px;
         line-height: 1.6;
         color: #666;
     }
}

/* 管理团队响应式设计 */
@media (max-width: 768px) {
    .team-member-content {
        flex-direction: column;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .team-photo {
        width: 100%;
    }

    .modal-photo {
        position: absolute;
        left: 0;
        top: 0;
    }

    .modal-info {
        width: 100%;
        margin-top: 220px;
    }

    .modal-content {
        width: 96%;
        height: 100%;
    }
}
