/* 网站共用基础样式 */

.container {
    width: 1200px;
    margin: 0 auto;
}

/* 通用板块标题 */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 100px;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-title p {
    font-size: 16px;
    color: #999;
}

/* 企业文化共用样式 */
.culture-section {
    padding-bottom: 100px;
    background-color: #f9f9f9;
}

.culture-cards {
    display: flex;
    gap: 40px;
}

.culture-card {
    flex: 1;
    background-color: #c8b6e2;
    padding: 60px 30px;
    color: #000;
    border-radius: 4px;
    text-align: center;
}

.culture-card .icon {
    margin-bottom: 20px;
}

.culture-card .icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.culture-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.culture-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* 发展历程 - 时间轴共用样式 */
.history-section {
    padding-bottom: 100px;
}

.timeline {
    position: relative;
    margin-top: 80px;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
}

.timeline-item {
    position: relative;
    width: 200px;
    text-align: center;
}

.timeline-item .dot {
    width: 16px;
    height: 16px;
    background-color: #8a6db1;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.timeline-item .content {
    position: absolute;
    width: 250px;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item:nth-child(odd) .content {
    bottom: 40px;
}

.timeline-item:nth-child(even) .content {
    top: 40px;
}

.timeline-item h4 {
    color: #8a6db1;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.timeline-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 合作伙伴/资质 Logo 网格共用样式 */
.partner-logos {
    padding: 80px 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.logo-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-item img {
    height: 40px;
    opacity: 0.6;
    transition: opacity 0.3s;
    object-fit: contain;
}

.logo-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.logo-item:hover img {
    opacity: 1;
}

/* 通用 Banner 基础样式 */
.common-page-banner {
    height: 450px;
    background-color: #8a6db1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    color: #fff;
}

.common-page-banner .banner-content {
    width: 1200px;
    margin: 0 auto;
    padding-left: 100px;
}

.common-page-banner h1 {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    text-transform: uppercase;
}

.common-page-banner p {
    font-size: 24px;
    opacity: 0.9;
}

/* 头部导航下拉及返回顶部共用样式 */
.fade-in {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s ease-in-out;
}

.fade-in.show {
    visibility: visible;
    opacity: 1;
}

.back_to_top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #235fff;
    font-size: 0;
    line-height: 60px;
    text-align: center;
    opacity: 0;
    visibility: visible;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 100;
}

.back_to_top.show {
    opacity: 1;
    visibility: visible;
}

.back_to_top img {
    position: relative;
    top: 0;
    transition: all 0.3s;
    vertical-align: middle;
    width: 30px;
    height: 30px;
}

.back_to_top:hover img {
    top: -5px;
}
