/* Reset & base */
.profile-page {
    font-family: 'Inter', system-ui, sans-serif;
    color: #334155; /* cool dark blue-gray */
    background: #f9fafb;
    line-height: 1.5;
    padding: 1rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Profile Hero (header) */

.profile-hero {
    margin-bottom: 2rem;
}


.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
    font-size: 36px;
    box-shadow: 0 4px 12px rgb(15 23 42 / 0.15);
    border: 3px solid white;
    flex-shrink: 0;
}

.profile-head {
    flex: 1;
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.profile-sub {
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    color: #64748b;
    font-weight: 500;
}

.profile-actions {
    display: flex;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
    user-select: none;
}

.btn-primary {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: white;
    box-shadow: 0 6px 16px rgb(37 99 235 / 0.24);
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-ghost {
    background: transparent;
    border: 1.5px solid #64748b;
    color: #64748b;
}

.btn-ghost:hover {
    background: #f3f4f6;
}

/* Profile Stats */

.profile-stats {
    display: flex;
    gap: 2rem;
    margin-left: auto;
    text-align: center;
    min-width: 150px;
}

.stat {
    flex: 1;
}

.stat-value {
    font-weight: 700;
    font-size: 1.5rem;
    color: #2563eb;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
}

/* Grid Layout for main content */

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}

/* Cards styling */

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgb(15 23 42 / 0.06);
    padding: 1.25rem 1.5rem;
    color: #475569;
}

/* About Section */

.about h2,
.experiences h2,
.sidebar h3,
.sidebar h4 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.bio {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #334155;
    white-space: pre-line; /* preserves line breaks */
}

.muted {
    color: #94a3b8;
    font-style: italic;
}

.contact-list > div {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-list strong {
    color: #334155;
}



.timeline-item {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

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

.timeline-meta {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    justify-content: space-between;
}

.company {
    font-weight: 700;
}

.period {
    font-style: italic;
    color: #64748b;
}

.timeline-body {
    margin-top: 0.25rem;
    font-size: 0.9rem;
}

.role {
    font-weight: 600;
    color: #2563eb;
}

.small {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}



.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    color: #475569;
}

.info-list li {
    margin-bottom: 0.5rem;
}



.mu-list {
    list-style: disc inside;
    margin: 0;
    padding-left: 1rem;
    color: #334155;
}

.mu-list li {
    margin-bottom: 0.5rem;
}


@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .profile-stats {
        margin-left: 0;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
    }

    .profile-actions {
        justify-content: center;
    }
}
