@import url(../fontawesome-all.min.css);


/* Box Model Hack */
* {
  box-sizing: border-box;
}

/* Clear fix hack */
.clearfix:after {
     content: ".";
     display: block;
     clear: both;
     visibility: hidden;
     line-height: 0;
     height: 0;
}

.clear {
	clear: both;
}

/******************************************
/* BASE STYLES
/*******************************************/

body {
  color:#171822;
  font-family: 'Lato','Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: 300;
  word-spacing: 2px;
  letter-spacing: .5px;
}
.small-image {
  width:100%;
}
main > section > .small-image {
  background-color: white;
}

.card {
  width: 250px;
  height: 198px;
 // background-color:#cbcde2;
}

.card-bottom {
  margin-left: 3px;
  width: 243px;
  height: 170px;
  background-color:#eeeef1;
  border: 4px solid transparent;
  border-radius: 0 0 10px 10px;
  border-top: 0px;
}
h1, h2{
  font-weight: 400;
}
.icon {
  width: 60px;
  aspect-ratio: 1/1;
  border: 3px solid #171822;
  border-radius: 8px;
}
.block {
  display: block;
  margin: auto;
}
h4{
  margin: 0px;
}
a {
  text-decoration: none;
  color: white;
  font-size: .8em;
}

button {
  padding: 15px 30px;
  font-size: .8em;
}

p{
  line-height: 2;
}
.subtitle {
  font-size: .7em;
  font-weight: 400;
}

.dark-button {
  background-color: #171822;
  color: lightgray;
  border-radius: 5px;
  padding: 15px 30px;
  font-size: .8em;
}
.dark-button:hover {
  background-color:#2a2c3b;
}
/******************************************
/* LAYOUT
/*******************************************/
header {
  background-color: #171822;
  color: lightgray;
  height: fit-content;
}

header > nav {
  padding: 20px 5%;
}

header > nav > * {
  float: left;
}
header > nav > ul {
  width: 650px;
  list-style: none;
  float: right;
  margin-right: 20px;
  margin-top: 20px;
}
header > nav > button {
  float: right;
  width: 10%;
  min-width: 114px;
  margin-top:10px;
}
header > nav > ul > * {
  width: 100px;
  float: left;
  text-align: center;
}

main {
  background-color:#171822;
  color: lightgray;
  padding: 80px;
}

main > * {
  width: 50%;
  float: left;
}
main > section + section {
  //background-color: #cbcde2;
  border: solid white;
  border-radius: 20px;
  border-width: 10px 20px 10px 20px;
  aspect-ratio: 1/.55;
  //height: 465px;
}

// main > section + section > div {
//   margin:auto;
//   margin-top: 8px;
// }

main > section + section >div > img {
  border: 4px solid transparent;
  border-radius: 10px;
}

main ~ * {
  height: fit-content;
  background-color: #eeeef1;
  padding: 80px;
}

main > section:first-child {
  padding: 0 20px 20px 10px;
}

main > section:first-child button, .how-we-help-section >section:first-child > button {
  margin-top: 20px;
}

main > section:first-child span {
  margin-left: 30px;
}


.how-we-help-section > *, .solution-based-section > *, .approach-section > *, .account-section > section > *{
  width:50%;
  float: left;
}

.how-we-help-section > section:first-child {
  padding-top: 80px;
}

main > section:first-child, .how-we-help-section > section:first-child, .approach-section > section:first-child {
  padding-right: 40px;
}

.how-we-help-section > section + section > section {
  width: 258px;
  float: left;
  margin: 20px;
  height: 358px;
  //background-color: #eeeef1;
  filter: drop-shadow(grey 1rem 1rem 10px);
  border: 4px solid transparent;
  border-radius: 10px;
}

.how-we-help-section > section + section > section > div >img {
border: 4px solid transparent;
border-radius: 10px 10px 0 0;
border-bottom: 0px;
}

.how-we-help-section > section + section  h4, .how-we-help-section > section + section  p {
  padding: 0 20px;
  text-align: center;
  line-height: 1.2;
}

.how-we-help-section > section + section  h4{
  padding-top: 16px;
}
.how-we-help-section > section + section  p {
  margin-top: 7px;
}

.solution-based-section, .approach-section {
  height: 660px;
}

.solution-based-section > section:first-of-type, .approach-section > section:first-of-type, .account-section > section > section:first-of-type {
  aspect-ratio: 1/1;
  width: 35%;
}

.solution-based-section > section+section, .approach-section > section+section, .account-section > section > section+section {
  height: fit-content;
  margin-left: 80px;
  padding-top: 40px;
}

.solution-based-section button {
  margin-top: 40px;
}

.approach-section > section:first-of-type .small-image, .account-section > section > section:first-of-type .small-image {
  margin-top: 40px;
}

.account-section > hgroup {
  width: 50%;
  margin: auto;
  text-align: center;
}
.account-section > section {
  display: block;
  width: 100%;
  height: fit-content;
}
.account-section > button {
  margin-left: 45%;
  margin-top: 20px;
}
.account-section ul{
  list-style: none;
  height: 200px;
  padding-left: 0;
}
.account-section li > * {
  float: left;
  width: 25px;
  border: none;
}
.account-section li > hgroup {
  width: 95%;
  padding-left: 20px;
}
.account-section li > hgroup > p {
  padding: 5px 0;
  line-height: 1.2;
  margin: 5px 0;
}

.account-section nav > *{
  float: left;
  margin: 0 20px 0 0;
}
.technologies-section > section {
  background-color: #171822;
  height: 400px;
  overflow: hidden;
}

.technologies-section > hgroup {
  width: 250px;
}
.wide-card {
  width: 300px;
  height: 150px;
  background-color: white;
  border: 1px solid white;
  border-radius: 5px;
  float: left;
  margin: 20px;
  padding: 10px;
  font-size: .8em;
}
.wide-card > hgroup >p {
  line-height: 1.2;
}

.wide-card > .icon {
  border: none;
  width: 30px;
}

.card-row {
  width: 1360px;
  height: 190px;
  overflow: hidden;
}
.left-shift {
  transform: translate(-40px, 0);
}
.view-all h4{
  margin: 60px auto 0 auto;
  text-align: center;
}

.testimonals-section {
  height: 500px;
}

.testimonals-section > section:first-of-type {
  height: 200px;
  padding-top: 30px;
  margin: 0 auto;
}
.testimonals-section > section:first-of-type > * {
  float: left;
}

.testimonals-section > section:first-of-type > div:first-child{
  margin-left: 8%;
}

.testimonals-section > section:first-of-type > .icon {
  border-radius: 50%;
  width: 50px;
  margin-top: 50px;
  padding-top: 7px;
}

.testimonals-section > section:first-of-type > .icon >span {
  font-size: 24px;
  font-weight: 400;
  margin: 20px 0 0 15px;
}

.testimonals-section > section blockquote{
  width: 70%;
  font-size: 20px;
  text-align: center;
  line-height: 2;
}
.testimonals-section > section:last-of-type, .testimonals-section > span {
  display:block;
  width:220px;
  margin:auto;
}
.testimonals-section > span {
  width:400px;
  text-align: center;
}

.testimonals-section > section > hgroup{
  text-align: center;
}
.testimonals-section > section > hgroup > p {
  margin-top: 0;
}

.order-now-section {
  background-color: #171822;
  background: linear-gradient(to right,#171822,#28293a);
  height: 230px;
  color: lightgray;
  padding-left:250px;
}
.order-now-section > *{
  float: left;
}
.order-now-section > hgroup {
  width:50%;
}

.order-now-section > button {
  margin-top: 10px;
}

.order-now-section > button + button {
  margin-left: 30px;
}
footer {
  font-size: 14px;
  height: 450px;
}
footer a {
  color:#2a2c3b;
}

footer a:hover{
  color: #171822;
  font-weight: 400;
}
footer >* {
  float: left;
  width: 20%;
  padding-right: 20px;
}
footer ul {
  list-style: none;
  padding-left: 0;
}
footer > section:first-of-type > ul > li >*{
  float: left;
}
footer > section:first-of-type > ul > li > p {
  width: 75%;
  margin-left: 20px;
}
footer > section:first-of-type + section ul > * {
  width: 50%;
  float:left;
}

footer > section:last-of-type > section > * {
  float: left;
  margin-right: 20px;
}
footer .icon {
  width: 25px;
  border: none;
}

footer > section:first-of-type > h5 {
  margin-bottom: 0;
}

footer > section:first-of-type > p {
  margin-top: 0;
}

footer > section:first-of-type li > p {
  margin-top: 0;

}
footer section nav li {
  margin-bottom: 20px;
}

.top-space-1 {
  margin-top: 1px;
}

.top-space-2 {
  margin-top: 2px;
}
/******************************************
/* ADDITIONAL STYLES
/*******************************************/
