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

/* 行业定位部分 */
.industry-position-section {
    background-color: #F4F5FA;
    padding: 0 0 2rem 0;
}

.industry-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 行业定位主标题 */
.industry-main-header {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 4px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
}

.industry-main-header .left-border {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #FF9F00;
}

.industry-title {
    text-align: left;
    flex: 1;
    padding-left: 1rem;
}

.industry-title h2 {
    font-size: 2.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.industry-title p {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.industry-title .en-title {
    font-size: 1.5rem;
    color: #666;
}

.main-toggle {
    margin-left: 2rem;
    transition: transform 0.3s ease;
}

.main-toggle.rotated {
    transform: rotate(180deg);
}

/* 手风琴样式 */
.industry-accordion {
    max-width: 800px;
    margin: 0 auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.industry-accordion.active {
    max-height: 2000px; /* 足够大的高度以容纳所有内容 */
}

.accordion-item {
    background-color: #fff;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    position: relative;
}

.left-border {
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background-color: #FF9F00;
}

.accordion-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-left: 1rem;
}

.toggle-icon {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #FF9F00;
    position: relative;
    transition: transform 0.3s ease;
}

.toggle-icon:before,
.toggle-icon:after {
    content: '';
    position: absolute;
    background-color: #FF9F00;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.toggle-icon:before {
    width: 12px;
    height: 2px;
}

.toggle-icon:after {
    width: 2px;
    height: 12px;
    transition: transform 0.3s ease;
}

.accordion-item.active .toggle-icon:after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.accordion-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    position: relative;
}

.accordion-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 6px;
    height: calc(100% + 1px);
    background-color: #FF9F00;
}

.accordion-item.active .accordion-content {
    padding: 0 2rem 2rem;
    max-height: 500px; /* 足够大的高度以容纳内容 */
}

.accordion-content p {
    font-size: 1.75rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    text-align: left;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

.accordion-content .en-content {
    font-size: 1.2rem;
    color: #555;
    text-align: left;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .industry-title h2 {
        font-size: 2.4rem;
    }
    
    .industry-title p {
        font-size: 1.6rem;
    }
    
    .accordion-header {
        padding: 1.2rem 1.5rem;
    }
    
    .accordion-header h3 {
        font-size: 2rem;
    }
    
    .accordion-content {
        padding: 0 1.5rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 1.5rem 1.5rem;
    }
}