You would rather want to use the post ID inside the loop to target your pages. is_page()
simply checks whether the current page is actually a page or a specific page if a value is passed
Example
if ( $post->ID === 7 ) {
// Do something for page id 7
} else {
// Do something for other pages
}