/* ========================================
   About Page Specific Styles
   ======================================== */

/* About Hero - Two Column Layout */
.about-hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

.about-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.about-avatar-placeholder,
.placeholder-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--border-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0, 245, 195, 0.3), 0 0 80px rgba(0, 245, 195, 0.1);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 30px rgba(0, 245, 195, 0.2), 0 0 60px rgba(0, 245, 195, 0.1);
    }
    to {
        box-shadow: 0 0 50px rgba(0, 245, 195, 0.4), 0 0 100px rgba(0, 245, 195, 0.2);
    }
}

.about-avatar-placeholder i,
.placeholder-avatar i {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
}

.about-image {
    flex: 0 0 280px;
    text-align: center;
}

.about-image img,
.about-image .profile-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    box-shadow: 0 0 40px rgba(0, 245, 195, 0.3), 0 0 80px rgba(0, 245, 195, 0.1);
    animation: glow 3s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
}

.about-image img:hover,
.about-image .profile-photo:hover {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-content .tagline {
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

/* Interest Tags */
.interest-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.interest-tag {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0.25rem;
}

.interest-tag:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.interest-tag:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Timeline - Alternating Sides */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--border-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    right: -7px;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--dark-bg);
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -7px;
}

.timeline-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px var(--shadow-color);
}

.timeline-content .year {
    display: inline-block;
    font-family: var(--font-mono);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--heading-color);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-content .institution {
    color: var(--text-color);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--card-text-color);
    font-size: 0.9rem;
    margin: 0;
}

.timeline-content p:last-child {
    margin-top: 0.5rem;
}

/* Timeline Responsive - Stack on mobile */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 50px;
    }

    .timeline-dot {
        left: 13px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 13px;
    }
}

/* Skills */
.skill-category {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px var(--shadow-color);
}

.skill-category h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    font-size: 1rem;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    background-color: var(--dark-bg);
    color: var(--text-color);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    display: inline-block;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.skill-list li:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Philosophy Quote */
.philosophy-section {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.philosophy-section blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--heading-color);
    margin: 0;
    line-height: 1.8;
}

.philosophy-section cite {
    display: block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-style: normal;
    font-size: 0.9rem;
}

/* About Hero Variant (Two Column) */
.about-hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-image {
    flex: 0 0 280px;
    text-align: center;
}

.about-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    box-shadow: 0 0 30px var(--shadow-color);
}

.about-image .placeholder-avatar {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--border-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--shadow-color);
}

.about-image .placeholder-avatar i {
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-content .tagline {
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

/* Timeline Variant (Centered) */
.timeline-centered {
    position: relative;
    padding: 2rem 0;
}

.timeline-centered::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-centered .timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 0;
}

.timeline-centered .timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-centered .timeline-content {
    width: 45%;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.timeline-centered .timeline-content:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--shadow-color);
}

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

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

.timeline-centered .timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 1.5rem;
    z-index: 1;
}

.timeline-content .year {
    font-family: var(--font-mono);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--heading-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-content .institution {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--card-text-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Philosophy Card */
.philosophy-card {
    background-color: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
}

.philosophy-card blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--heading-color);
    margin: 0 0 1rem 0;
    border: none;
    padding: 0;
}

.philosophy-card cite {
    color: var(--primary-color);
    font-family: var(--font-mono);
}

/* Section Alt */
.section-alt {
    background-color: var(--card-bg);
}

/* Responsive */
@media (max-width: 992px) {
    .timeline-centered::before {
        left: 20px;
    }

    .timeline-centered .timeline-dot {
        left: 20px;
    }

    .timeline-centered .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
}

@media (max-width: 768px) {
    .about-hero-content,
    .about-hero {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        flex: none;
    }

    .about-content {
        text-align: center;
    }

    .about-hero {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .profile-photo,
    .about-image img {
        width: 160px !important;
        height: 160px !important;
    }

    .about-content h2 {
        font-size: 1.75rem;
    }

    .philosophy-card {
        padding: 1.5rem;
    }

    .philosophy-card blockquote {
        font-size: 1.1rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .profile-photo,
    .about-image img {
        width: 200px !important;
        height: 200px !important;
        border-width: 3px;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .about-content .tagline {
        font-size: 1rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .interest-card {
        padding: 1.25rem;
    }

    .interest-card h4 {
        font-size: 1rem;
    }

    .interest-card p {
        font-size: 0.85rem;
    }

    .philosophy-card {
        padding: 1.25rem;
    }

    .philosophy-card blockquote {
        font-size: 1rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h4 {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .about-hero {
        padding: 1.25rem 0.75rem;
        border-radius: 12px;
    }

    .profile-photo,
    .about-image img {
        width: 150px !important;
        height: 150px !important;
    }

    .about-content h2 {
        font-size: 1.35rem;
    }

    .about-content .tagline {
        font-size: 0.9rem;
    }

    .about-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .interest-card {
        padding: 1rem;
    }

    .interest-card i {
        font-size: 1.75rem;
    }

    .interest-card h4 {
        font-size: 0.95rem;
    }

    .timeline-centered::before {
        left: 15px;
    }

    .timeline-centered .timeline-dot {
        left: 15px;
        width: 10px;
        height: 10px;
    }

    .timeline-centered .timeline-content {
        width: calc(100% - 45px);
        margin-left: 45px !important;
    }

    .timeline-content {
        padding: 0.85rem;
    }

    .timeline-content h4 {
        font-size: 0.95rem;
    }

    .timeline-content .institution,
    .timeline-content p {
        font-size: 0.8rem;
    }

    .philosophy-card {
        padding: 1rem;
        border-left-width: 3px;
    }

    .philosophy-card blockquote {
        font-size: 0.9rem;
    }
}