/* --- About Page Styles --- */

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--accent);
    border: 4px solid var(--bg-dark);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -8px;
}

.timeline-content {
    padding: 1.5rem;
    position: relative;
}

/* Progress Bars */
.skill-bar-container {
    margin-bottom: 2rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-progress-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

body.light-theme .skill-progress-bg {
    background: rgba(0, 0, 0, 0.05);
}

.skill-progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0; /* Animated via GSAP */
    border-radius: 4px;
}

/* Contact Page Styles */
.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition-smooth);
}

body.light-theme .form-input {
    background: rgba(0, 0, 0, 0.03);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
}

body.light-theme .form-input:focus {
    background: rgba(0, 0, 0, 0.06);
}

.form-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: var(--accent);
    background: var(--bg-dark);
    padding: 0 0.4rem;
}

.error-msg {
    color: #ff4d4d;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    display: none;
}

/* Projects Page Filter */
.filter-btns {
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Responsive Timeline */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 23px;
    }
    
    .right {
        left: 0%;
    }
}
