And indeed beyond kin selection complex societies, such as those formed by intelligent apes practice group selection. A group which co-operates is more likely to have individuals in that group survive to child-rearing age than a group whose individuals constantly adopt the most selfish strategy. Dawkins (in his real-science rather than pop-science guise) has worked on the math of such propositions. The "repeated prisoners dilemma" models such situations in game-theory.
Whoops, and now I've just noticed that b_sharp had already mentioned communal selection.