body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  margin: 0px;
  padding: 0px;
}

a {
  color: #e53c7d;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: #9e1e4f;
  text-decoration: underline;
}

a:visited {
  color: #c1356a;
}

a:active {
  color: #9e1e4f;
}

.font-thin {
  font-weight: 300;
}

h2 {
  font-size: 2.5rem;
  line-height: 3rem;
}

h3 {
  font-size: 2rem;
  line-height: 2.5rem;
}

h4 {
  font-size: 1.5rem;
  line-height: 2rem;
}

p {
  font-size: 1rem;
  line-height: 1.5rem;
}

section {
  display: block;
  box-sizing: border-box;
}

.logo-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

section#hero {
  background-color: #001021;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 550px;
  background-image: url("../images/hero_background.jpg");
  background-repeat: no-repeat;
  background-position: top right;
}

section#hero #hero-container {
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 0, 101, 0.46);
}

section#hero h2 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 300;
  color: #ffffff;
}
section#hero h2 span {
  display: block;
  font-size: 2.5rem;
  font-weight: 500;
  padding-bottom: 1rem;
}

section#hero .mw {
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

a.button {
  background: transparent linear-gradient(114deg, #f47a4c 0%, #e53c7d 100%) 0%
    0% no-repeat padding-box;
  border-radius: 4px;
  opacity: 1;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
}

a.button:hover {
  background: transparent linear-gradient(114deg, #9f492a 0%, #9e1e4f 100%) 0%
    0% no-repeat padding-box;
  border-radius: 4px;
  opacity: 1;
}

a.button.cta {
  text-transform: uppercase;
  box-shadow: 0px 0px 12px #0000004b;
}

div.mw {
  width: 1100px;
  display: flex;
  box-sizing: border-box;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

nav {
  flex-grow: 1;
}

nav ul {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-end;
  height: 100%;
  margin: 0px;
  align-items: stretch;
}

nav ul li {
  list-style-type: none;
  padding: 0px;
  margin: 0.5rem 1rem;
  display: flex;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: #000000;
}

nav ul li a:hover {
  color: #e53c7d;
}

footer {
  padding-bottom: 30px;
}

footer .mw {
  justify-content: space-between;
}

footer .mw > div:nth-child(1) {
  flex-basis: 20%;
  flex-grow: 1;
  flex-shrink: 0;
}

footer h4 {
  margin-bottom: 10px;
}

footer p {
  margin-top: 0px;
}

footer .mw > div:nth-child(2) {
  flex-basis: 50%;
  flex-grow: 1;
  flex-shrink: 1;
  padding-left: 40px;
  padding-right: 40px;
}

footer .mw > div:nth-child(3) {
  flex-basis: 20%;
  flex-grow: 0;
  flex-shrink: 0;
}

footer .logo-wrapper {
  font-size: 1.5rem;
  margin-top: 1.2em;
  margin-bottom: 1.6rem;
}

footer .mw > div:nth-child(3) a {
  color: #fa2779;
  text-decoration: none;
  padding-top: 15px;
  display: block;
  overflow: hidden;
  clear: both;
}

footer .mw > div:nth-child(3) a:hover {
  color: #687cfe;
}

.col2 {
  flex-basis: 45%;
  flex-grow: 1;
  flex-shrink: 0;
}

.divider {
  flex-basis: 100%;
  flex-grow: 0;
  flex-shrink: 0;
  height: 4px;
  background: transparent linear-gradient(90deg, #f47a4c 0%, #e53c7d 100%) 0% 0%
    no-repeat padding-box;
}

#partners {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 40px;
  width: 100%;
}

#partners div {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

#partners div img {
  display: inline-block;
  max-height: 35px;
}

.visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.visual-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

#sample-chart1 {
  max-width: 500px;
}

#sample-chart2 {
  max-width: 500px;
  margin-top: 30px;
  margin-bottom: 30px;
}

#sample-chart3 {
  max-width: 500px;
  margin-bottom: 30px;
}

#sample-chart4 {
  max-width: 500px;
  margin-bottom: 30px;
  margin-top: 30px;
}

#sample-chart5 {
  max-width: 500px;
}

#team-pic {
  max-width: 500px;
}

section.blue {
  background: #e4f6fb 0% 0% no-repeat padding-box;
  margin-top: 40px;
  margin-bottom: 30px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.col2.copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.col2.copy h4 {
  margin-bottom: 0px;
  margin-top: 0px;
}

#services {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}

#services > div {
  flex-basis: 28%;
  flex-grow: 0;
  flex-shrink: 1;
  margin-bottom: 20px;
}

#services div div.title {
  display: flex;
  font-weight: 700;
  color: #e53c7d;
  align-items: center;
}

section.gradient {
  background: transparent
    linear-gradient(180deg, #4059d4 0%, #196ca8 91%, #196ca8 100%) 0% 0%
    no-repeat padding-box;
  flex-direction: column;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 40px;
  margin-bottom: 20px;
}

section.gradient h3 {
  color: #ffffff;
  margin-bottom: 0px;
}

section.gradient p {
  color: #ffffff;
}

@media (max-width: 800px) {
  body {
    font-size: 10px;
  }

  div.mw {
    padding-left: 20px;
    flex-wrap: wrap;
    width: 100%;
    padding-right: 20px;
  }

  /* Added to account for order of copy vs visual on mobile *always copy first) */
  .mw {
    flex-direction: column; /* Stack children vertically */
  }

  .col2.copy {
    order: 1; /* Ensure copy comes first */
  }

  .col2.visual,
  .col2.visual-end {
    order: 2; /* Ensure visual/visual-end comes second */
  }

  header {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1rem;
  }

  #partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: left;
    padding-top: 0px;
    padding-bottom: 20px;
    width: 100%;
  }

  #partners div img {
    max-height: 25px;
    margin-bottom: 20px;
    margin-right: 20px;
  }

  nav {
    display: none;
  }

  section.blue {
    padding-bottom: 40px;
  }

  .col2 {
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 100% !important;
  }

  #sample-chart1 {
    max-width: 100%;
    margin-top: 30px;
  }

  #sample-chart2 {
    max-width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  #sample-chart3 {
    max-width: 100%;
    margin-bottom: 30px;
  }

  #sample-chart4 {
    max-width: 100%;
    margin-bottom: 30px;
    margin-top: 30px;
  }

  #sample-chart5 {
    max-width: 100%;
  }

  #team-pic {
    max-width: 100%;
    margin-top: 25px;
  }

  h2 {
    max-width: 90%;
  }

  #services div {
    flex-basis: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    font-size: 1rem;
  }

  footer {
    font-size: 1rem;
  }

  footer .mw > div {
    flex-basis: 100% !important;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 0px !important;
  }
}

@media (min-width: 801px) and (max-width: 1100px) {
  body {
    font-size: 10px;
  }

  div.mw {
    padding-left: 20px;
    flex-wrap: wrap;
    width: 100%;
    padding-right: 20px;
  }

  header {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1rem;
  }

  #partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0px;
    padding-bottom: 20px;
    width: 100%;
  }

  #partners div img {
    max-height: 25px;
  }

  section.blue {
    padding-bottom: 40px;
  }

  #sample-chart1 {
    max-width: 90%;
    margin-top: 30px;
  }

  #sample-chart2 {
    max-width: 90%;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  #sample-chart3 {
    max-width: 90%;
    margin-bottom: 30px;
  }

  #sample-chart4 {
    max-width: 90%;
    margin-bottom: 30px;
    margin-top: 30px;
  }

  #sample-chart5 {
    max-width: 90%;
  }

  #team-pic {
    max-width: 90%;
    margin-top: 25px;
  }

  h2 {
    max-width: 90%;
  }

  #services div {
    flex-basis: 48%;
    flex-shrink: 0;
    flex-grow: 0;
    font-size: 1rem;
  }

  footer {
    font-size: 1rem;
  }

  footer h4 {
    margin-top: 5px;
  }

  footer .logo-wrapper {
    margin-top: 0px;
  }
}

.icon-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
