/* ===================================
   ABOUT SECTION STYLES
   =================================== */

/* About Header (Profile + Intro) */
.about-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

/* Profile Section */
.profile-section {
    display: flex;
    align-items: center;
}

.profile-image-box {
    width: 300px;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    background: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.fallback-avatar {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: none;
}

/* Intro Callout Box */
.intro-callout {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* News Section */
.news-section {
    margin-top: 60px;
}

.news-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 40px;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    padding-left: 40px;
}

/* Timeline vertical line */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: linear-gradient(180deg,
            var(--primary-light) 0%,
            var(--primary) 50%,
            var(--accent) 100%);
    border-radius: 2px;
}

/* Timeline Item */
.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding-left: 32px;
    animation: fadeInUp 0.6s ease-out;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.3);
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.1);
}

.timeline-item:hover .timeline-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Timeline Marker (dot) */
.timeline-marker {
    position: absolute;
    left: 0;
    top: 6px;
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
    cursor: pointer;
}

/* Timeline Tooltip */
.timeline-tooltip {
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.timeline-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--primary);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* Timeline Content */
.timeline-content {
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 3px solid var(--primary-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    transform: translateX(4px);
    border-left-color: var(--primary);
}

.timeline-date {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 12px;
    border-radius: 16px;
    margin-bottom: 12px;
}

.timeline-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.timeline-text strong {
    color: var(--text-main);
    font-weight: 600;
}

.timeline-text .highlight {
    color: var(--primary);
    font-weight: 700;
    background: rgba(37, 99, 235, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
}

.timeline-text .award {
    color: #D97706;
    font-weight: 700;
    background: rgba(217, 119, 6, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .about-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profile-section {
        position: static;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .timeline-container {
        padding-left: 30px;
    }

    .timeline-item {
        padding-left: 24px;
    }

    .intro-heading {
        font-size: 1.5rem;
    }

    .news-heading {
        font-size: 1.4rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .profile-image-box {
        width: 160px;
        height: 160px;
    }
}