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

/* 页面标题部分 */
.page-header {
   height: 37rem;
   width: 100%;
   margin-top: 7rem;
}

.page-header-content {
    width: 100%;
    height: 100%;
}

.page-header-content img{
    width: 100%;
    height: 100%;
}

/* 内容部分 */
.about-content {
    margin: 0 auto;
}

/* 公司简介部分 */
.company-intro {
    width: 100%;
    padding: 5rem 15rem;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-weight: bold;
    font-size: 2.75rem;
    color: #000000;
    line-height: 2.56rem;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 43%;
    top: 80%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: url('../img/about/circle.png') no-repeat;
    background-size: 100% 100%;
}

.intro-content {
    margin-top: 6rem;
}

.intro-text {
    font-weight: 400;
    font-size: 1.25rem;
    color: #000000;
    line-height: 3.44rem;
}

.intro-text p {
    font-weight: 400;
    font-size: 1.25rem;
    color: #000000;
    line-height: 3.44rem;
}

/* 数据统计部分 */
.data-stats {
    width: 100%;
    margin-top: 5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    height: 16.5rem;
    background: #EEF3F9;
}

.stat-item img {
    width: 5.2rem;
    height: 5.2rem;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-weight: bold;
    font-size: 3rem;
    color: #0075C1;
    line-height: 3.9rem;
    margin-top: 1rem;
}

.stat-number .unit {
    font-weight: 400;
    font-size: 1.93rem;
    color: #0075C1;
    line-height: 3.92rem;
}

.stat-label {
    font-weight: 400;
    font-size: 1.25rem;
    color: #000000;
    line-height: 2.5rem;
}

/* 发展历程部分 */
.timeline-container {
    /* position: relative; */
    width: 100%;
    min-height: 100vh;
    background: url('../img/about/bg.png') no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 9.5rem 10rem;
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;
}

.timeline-wrapper::-webkit-scrollbar {
    display: none; 
}

.timeline-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.timeline-wrapper::-webkit-scrollbar-thumb {
    background: #007aff;
    border-radius: 3px;
}

.timeline-wrapper::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

.timeline-wrapper:active {
    cursor: grabbing;
}

.timeline {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
    width: 3000px; /* 足够宽以容纳所有时间点 */
}

/* 时间轴线 */
.timeline-line {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.timeline-dots {
    position: absolute;
    bottom: 49px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 100px;
    z-index: 2;
}

.timeline-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #007aff;
}

.timeline-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    z-index: 3;
}

.timeline-arrow svg {
    width: 100%;
    height: 100%;
    fill: #007aff;
}

.scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #666;
    z-index: 3;
}

/* 时间点 */
.timeline-item {
    position: relative;
    flex: 0 0 22.5rem;
    padding: 20px;
    z-index: 2;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    align-self: flex-start;
    /* text-align: right; */
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    text-align: left;
    margin-top: 18rem;
}

.timeline-year {
  font-weight: bold;
  font-size: 4.5rem;
  color: #0075C1;
  margin-bottom: 10px;
}

.timeline-content {
  font-weight: 400;
  font-size: 1.5rem;
  color: #000000;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

/* 荣誉资质部分 */
.company-honors {
    padding:5.5rem 15rem;
    background-color: #fff;
}

.honors-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8rem;
    align-items: center;
}
.honors-text {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.25rem;
    color: #000000;
    line-height: 2.56rem;
}

.honors-text p {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.25rem;
    color: #000000;
    line-height: 2.56rem;
}

.honors-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.honor-stat-item {
    /* background-color: #f9f9f9; */
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.honor-stat-number {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 2.5rem;
    color: #0075C1;
    line-height: 2.56rem;
    border-bottom: 0.08rem solid #0075C1;

}

.honor-stat-unit {
    min-width: 10rem;
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.13rem;
    color: #000000;
    line-height: 2.56rem;
    padding: 0 1.1rem;
    border-bottom: 0.06rem solid #DCDCDC;
}

.honor-stat-label {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.13rem;
    color: #000000;
    margin-top: 2rem;
}

.honor-right img{
    max-width: 50rem;
}

.honors-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.honor-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.honor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.honor-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.honor-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* 加入我们部分 */
.join-us {
    padding: 80px 15rem;
    background-color: #f9f9f9;
}
 .jions{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* flex-wrap: wrap;
    justify-content: space-between; */
    margin-top: 3.75rem;
    /* padding: 0 15rem; */
    margin-bottom: 7.5rem;
    grid-gap: 2.25rem;
 }

.jion{
    height: 10.81rem;
    background: #FFFFFF;
    border-radius: 0.63rem;
    border: 0.06rem solid #DCDCDC;
    padding: 2.6rem 1.3rem 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jion img {
    width: 4rem;
    height: 4.25rem;
}

.position{
    width: 100%;
    justify-content: space-between;
    /* background: #DCDCDC; */
    border-bottom: 0.06rem solid #DCDCDC;
    line-height: 2.56rem;
}

.position .f6 {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 1.38rem;
    color: #000000;
    line-height: 2.56rem;
}

.position .f2 {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.13rem;
    color: #000000;
    line-height: 2.56rem !important;
    margin-bottom: 0 !important;
}

.introduction-txt{
    margin-top: 1.1rem;
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1rem;
    color: #666666;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 3em;
    word-break: break-all;
}

.jion-view-more{
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1rem;
    color: #0075C1;
    cursor: pointer;
}

.join-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

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

.join-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.join-image {
    flex: 1;
    min-width: 300px;
}

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

/* 联系信息部分 */
.contact-info {
    padding: 60px 0;
    background-color: #0056a6;
    color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        height: 300px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .intro-content,
    .honors-content,
    .join-content {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 20px;
    }
    
    .timeline-content {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-year {
        text-align: left;
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 10px;
    }
    
    .timeline-desc {
        padding-left: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        flex-direction: column;
    }
    
    .timeline-item:nth-child(even) .timeline-year {
        text-align: left;
        padding-left: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-desc {
        padding-right: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .honors-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* 加入我们弹窗 */
.join-us-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 6% auto;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0075C1;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

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

.modal-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.modal-body h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 20px 0 10px;
}

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

.modal-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

/* 了解更多按钮样式 */
.jion-view-more {
    cursor: pointer;
    color: #0075C1;
    font-weight: bold;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.jion-view-more:hover {
    color: #0056a6;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 20% auto;
        padding: 20px;
    }
}
