
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 30px;
}

/* Desktop Polish (Tablets and Up) */
@media (min-width: 768px) {
    .profile-header {
        flex-direction: row;
    }
}

.company-logo {
    width: 80px;
    height: 80px;
    background: var(--tech-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-color);
    /* Matches theme */
    padding:10px;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
    display: flex;
    align-items: center;  justify-content: space-between;
}

/* Optional: Add a subtle border and shadow only when scrolling */
.top-nav.scrolled {
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    /* Modern frosted glass effect */
    background-color: rgba(var(--bg-rgb), 0.8);
}

.back-link {
    text-decoration: none;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Info Grid */
.info-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}
.bio-card,
.stats-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.bio-card {
    flex: 2;
}

.stats-card {
    flex: 1;
}

.source-tag {
    background: var(--accent-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .info-grid {
        flex-direction: column;
    }
}

.profile-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stats-main.profile {

    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 1rem 2rem;
}
