since using webdriver... try using public static
public static webdriver driver in each class files
public static is not needed if you are running a single test case, but since in a suit where parallelization may occur for multiple cases, so public ststic is needed for multiple test cases