/* ===== Page Banner - About ===== */
.page-banner {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 64px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37, 99, 235, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.page-banner-wrap {
    position: relative;
    z-index: 2;
    width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.page-banner-content {
    animation: fadeInUp 0.8s ease-out;
    text-align: left;
}

.page-banner-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.page-banner-desc {
    font-size: var(--text-base);
    color: #fff;
    max-width: 560px;
}

.banner-about {
    background: #53A1F2 url('../images/banner-about.png') no-repeat center center;
}

.banner-about .page-banner-title {
    color: #ffffff;
}

/* ===== Company Intro ===== */
.about-intro {
    padding: 48px 0;
    background: #fff;
}

.intro-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.intro-tag {
    display: inline-block;
    font-size: var(--text-sm);
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.intro-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.intro-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.btn-intro {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    text-decoration: none;
    margin-top: 16px;
    transition: var(--transition);
}

.btn-intro:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stats-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}

.stats-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stats-num {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 6px;
    font-family: DIN;
}

.stats-label {
    font-size: var(--text-base);
    color: var(--text-secondary);
}

/* ===== Values ===== */
.about-values {
    padding: 80px 0;
    background: var(--bg-gray);
}

.section-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.values-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.values-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.values-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 12px;
    color: var(--primary);
}

.values-icon svg {
    width: 24px;
    height: 24px;
}

.values-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.values-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Timeline ===== */
.about-timeline {
    padding: 48px 0;
    background: var(--bg-gray) url('../images/about-timeline-bg.png') no-repeat center center;
}

.section-subtitle {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-align: center;
    margin-top: -36px;
    margin-bottom: 24px;
}

/* Timeline Slider */
.timeline-slider {
    max-width: 900px;
    margin: 0 auto;
}

/* Timeline Card */
.timeline-card-wrap {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    padding: 40px 24px;
}

.timeline-bg-year {
    position: absolute;
    font-size: var(--text-8xl);
    font-weight: 800;
    color: var(--text-primary);
    opacity: 0.04;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.timeline-card {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    pointer-events: none;
}

.timeline-card.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

.timeline-card-year {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.timeline-card-text p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Timeline Nav */
.timeline-nav {
    position: relative;
    padding: 0 40px;
}

.timeline-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.timeline-track-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #D2D2D2;
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-nav-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.timeline-nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #D2D2D2;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.timeline-nav-year {
    font-size: var(--text-base);
    color: var(--text-secondary);
    font-weight: 700;
    transition: all 0.3s ease;
}

.timeline-nav-item:hover .timeline-nav-dot {
    border-color: var(--primary);
    transform: scale(1.2);
}

.timeline-nav-item:hover .timeline-nav-year {
    color: var(--primary);
}

.timeline-nav-item.active .timeline-nav-dot {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-color: var(--primary);
    margin-bottom: 0;
    position: relative;
}

.timeline-nav-item.active .timeline-nav-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
}

.timeline-nav-item.active .timeline-nav-year {
    display: none;
}

.timeline-nav-item.active .timeline-nav-dot::before {
    content: attr(data-year);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
}

/* Timeline Arrows */
.timeline-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.timeline-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-arrow svg {
    width: 18px;
    height: 18px;
}

.timeline-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
}

.timeline-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: var(--border);
    color: var(--text-secondary);
    transform: none;
}

/* ===== FAQ ===== */
.about-faq {
    padding: 48px 0;
    background: var(--bg-gray);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-gray);
}

.faq-icon {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-answer {
    display: none;
    padding: 0 24px 18px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Offices ===== */
.about-offices {
    padding: 48px 0;
    background: #fff;
}

.offices-table-wrap {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.offices-table {
    width: 100%;
    font-size: var(--text-md);
    border-collapse: collapse;
}

.offices-table thead {
    background: var(--primary);
}

.offices-table thead th {
    color: #fff;
    font-weight: 600;
    padding: 14px 24px;
    text-align: center;
}

.offices-table thead th:first-child {
    text-align: left;
}

.offices-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.offices-table tbody tr:last-child {
    border-bottom: none;
}

.offices-table tbody tr:hover {
    background: var(--bg-gray);
}

.offices-table tbody td {
    padding: 14px 24px;
    color: var(--text-primary);
    text-align: center;
}

.offices-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.offices-table tbody td:nth-child(2) {
    font-family: "SF Mono", Monaco, monospace;
    letter-spacing: 0.5px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .intro-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .page-banner-title {
        font-size: var(--text-2xl);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-dot {
        margin-left: 14px;
    }

    .timeline-year {
        width: 40px;
        font-size: var(--text-sm);
    }

    .timeline-item {
        gap: 16px;
    }
}
