/* 關於我們 - 樣式 */

/* 橫幅區 */
.about-hero {
    background: url('../images/about-hero-bg.png') no-repeat center 40px;
    background-size: cover;
    height: 680px;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

/* 移动端覆盖固定高度 */
@media screen and (max-width: 767px) {
    .about-hero {
        height: auto !important;
        min-height: 500px !important;
        padding: 100px 0 80px !important;
    }
}

@media screen and (max-width: 480px) {
    .about-hero {
        height: auto !important;
        min-height: 400px !important;
        padding: 80px 0 60px !important;
    }
}

@media screen and (max-width: 320px) {
    .about-hero {
        height: auto !important;
        min-height: 350px !important;
        padding: 70px 0 50px !important;
    }
}

/* 描述文字宽度由父容器 .about-hero-left 控制 */
.about-hero .hero-description {
    max-width: 600px !important;
}

/* 确保优先级更高 */
.about-hero-left .hero-description {
    max-width: 600px !important;
}

/* 覆盖 hero-content 的宽度限制 */
.about-hero .hero-content {
    max-width: 600px !important;
}

/* 英文版描述文字字号调整 */
[lang="en"] .hero-description {
    font-size: 15px;
    line-height: 1.5;
    white-space: pre-line;
}
.about-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.about-hero-left { 
    flex: 1; 
    max-width: 600px;
}
.about-hero-title {
    font-size: 24px;
    font-weight: 750;
    color: #323651;
    margin-bottom: 16px;
}

/* 英文版标题字号调整 */
[lang="en"] .hero-title {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 800;
}

/* 英文版about页面标题加粗 */
[lang="en"] .about-hero-title {
    font-weight: 800;
}

[lang="en"] .about-section-title {
    font-weight: 600;
}
.about-hero-desc {
    font-size: 14px;
    color: #323651;
    margin-bottom: 16px;
}
.about-hero-actions { display: flex; gap: 12px; }
.about-hero-right { flex: 1; display: flex; justify-content: flex-end; }
.about-hero-grid {
    width: 100%;
    max-width: 520px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 8px;
}
.about-hero-img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* 使命區 */
.about-mission { padding: 32px 0 0 0; }
.about-section-title {
    font-size: 36px;
    color: #323651;
    font-weight: 600;
    margin-bottom: 16px;
}
.about-section-desc { font-size: 18px; color: #323651; }

/* 發展歷程區 */
.about-timeline { padding: 96px 0 64px 0; }

.about-timeline-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-timeline-left {
    flex: 1;
}

.about-timeline-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-end;
    padding-top: 100px;
}

.timeline-container {
    position: relative;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #EE46BC;
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: #EE46BC;
    margin: 48px 0 24px 0;
    text-align: left;
}

.timeline-year:first-child {
    margin-top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

/* 英文状态下的时间线优化 */
[lang="en"] .timeline-item {
    margin-bottom: 50px;
}

[lang="en"] .timeline-content {
    gap: 40px;
    align-items: center;
}

[lang="en"] .timeline-date {
    width: 80px;
    flex-shrink: 0;
}

[lang="en"] .timeline-text {
    font-size: 16px;
    line-height: 1.6;
    white-space: normal;
    flex: 1;
}

.timeline-dot {
    position: absolute;
    left: -29px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #EE46BC;
    border-radius: 50%;
}

.timeline-content {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0;
}

.timeline-date {
    font-size: 18px;
    font-weight: 700;
    color: #323651;
    margin: 0;
    white-space: nowrap;
    width: 50px;
    text-align: left;
}

.timeline-text {
    font-size: 18px;
    color: #323651;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.timeline-image {
    width: 70%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* 合作夥伴區 */
.about-partners { padding: 32px 0 96px 0; overflow: hidden; }
.partners-row { 
    display: flex; 
    gap: 120px; 
    align-items: center; 
    animation: scrollPartners 45s linear infinite;
    padding: 0;
    width: calc(12 * (240px + 120px));
    max-width: 100%;
}

.partner-logo { 
    width: 240px; 
    height: 120px; 
    object-fit: contain; 
    filter: grayscale(0);
    flex-shrink: 0;
}

.partner-zurich {
    width: 360px;
    height: 150px;
}

/* AVO 稍微縮小一點點 */
.partner-avo {
    width: 220px;
    height: 110px;
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* CTA 區 */
.about-cta { background: #FFF0F7; padding: 80px 0; }
.about-cta-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.about-cta-left { flex: 1; }
.about-cta-title { 
    font-size: 36px; 
    font-weight: 600; 
    color: #323651; 
    margin-bottom: 16px; 
}
[lang="en"] .about-cta .about-cta-title { white-space: normal; word-wrap: break-word; }
.about-cta-description {
    font-size: 18px;
    color: #323651;
    line-height: 1.6;
    margin-bottom: 24px;
}
.about-cta-btn { border-radius: 20px; padding: 8px 16px; font-size: 14px; }
.about-cta-right { flex: 1; display: flex; justify-content: flex-end; }
.about-cta-img { width: 70%; min-width: 0; max-width: 100%; border-radius: 16px; object-fit: cover; }

/* 交互效果 */
.about-hero-actions .btn:active, .about-cta-btn:active { transform: scale(0.98); }
.timeline-img:hover { outline: 2px solid #FF5CA8; outline-offset: 2px; }

/* 響應式 */
@media (max-width: 1024px) {
    .about-hero-content, .about-cta-content, .about-timeline-content { flex-direction: column; }
    .about-hero-right, .about-cta-right { justify-content: center; }
    .about-hero-grid { max-width: 100%; }
    .timeline-img { width: 60%; }
}

@media (max-width: 768px) {
    .partners-row { flex-wrap: wrap; }
    .partner-logo { width: calc(50% - 8px); }
}

