/*Base Styles*/
*
{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body
{
    background-color: #d9dcd6;
}

/*Header Styles*/
header
{
    padding: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #2a607c;
    color: #ffffff;
}

header h1
{
    display: inline-block;
    font-size: 48px;
}

header h1 .seo
{
    color: #d9dcd6;
}

header nav
{
    padding-top: 15px;
    margin-right: 20px;
    float: right;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
}

header nav ul
{
    list-style-type: none;
}

header nav ul li
{
    display: inline-block;
    margin-left: 25px;
}

a
{
    color: #ffffff;
    text-decoration: none;
}

p
{
    font-size: 16px;
}

/*Background Image*/
.hero
{
    height: 800px;
    width: 100%;
    margin-bottom: 25px;
    background-image: url("../images/digital-marketing-meeting.jpg");
    background-size: cover;
    background-position: center;
}

/*Main Styles*/
main
{
    width: 75%;
    display: inline-block;
    margin-left: 20px;
}

/*Float Left/Right*/
.float-left
{
    float: left;
    margin-right: 25px;
}

.float-right
{
    float: right;
    margin-left: 25px;
}

/*Services Styles*/
/* As a result of removing the main container <section class="services"> the related CSS selector was also removed. 
    Each service class was renamed to service allowing for easier consolidation. I also moved this section above
    the benefits section to follow the code flow of HTML */
.service
{
    margin-bottom: 20px;
    padding: 50px;
    height: 300px;
    background-color: #0072bb;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #ffffff;
}

.service img
{
    max-height: 200px;
}

.service h2
{
    margin-bottom: 20px;
    font-size: 36px;
}

/*Benefits Styles*/
/* Renamed individual benefit classes to a single class of benefit allowing the consolidation of redundant code */
.benefits
{
    margin-right: 20px;
    padding: 20px;
    clear: both;
    float: right;
    width: 20%;
    height: 100%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #2589bd;
}

.benefit
{
    margin-bottom: 32px;
    color: #ffffff;
}

.benefit h3
{
    margin-bottom: 10px;
    text-align: center;
}

.benefit img
{
    display: block;
    margin: 10px auto;
    max-width: 150px;
}

/*Footer Styles*/
footer
{
    padding: 30px;
    clear: both;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;
}

footer h2
{
    font-size: 20px;
}