/*///////////////////////////////// COLORS /////////////////////////////////*/
/* green: #02A38A */
/* dark green: #028C76 */
/* dark blue: #002B54 */
/* blue: #0071BC */
/* light blue: #E9F5FB */
/* red: #E31C3D */
/* purple: #4361EE */
/* dark purple: #1835BF */
/* light purple: #e3e7fd */

/*///////////////////////////////// TYPOGRAPHY /////////////////////////////////*/
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,700;1,400&display=swap');

body {
  font-family: 'Rubik', sans-serif;
}
h1, h2 {
  color: #002B54; /* dk-blue */
  font-weight: bold;
  margin-bottom: 20px;
}
h3 {
  color: #002B54; /* dk-blue */
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: normal;
}
h3 span {
  color: #4361EE; /* purple */
  font-weight: bold;
}
h4 {
  font-weight: bold;
  font-size: 18px;
}
p, li {
  color: #4D4D4D;
  line-height: 1.6em;
}
img {
  max-width: 100%;
  max-height: 100%;
}

/*///////////////////////////////// UNIVERSAL CLASSES /////////////////////////////////*/
.section {
  padding: 60px 0;
}
.btn-primary {
  background: #4361EE; /* green */
  border: none;
  padding: 10px 40px;
  border-radius: 3px;
  font-size: 14px;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 1px;
  min-height: 44px;
  text-decoration: none;
}
.btn-primary:hover {
  background: #1835BF; /* dark purple */
}
.btn-rounded {
  border-radius: 100px;
}
.cta {
  text-align: center;
  padding: 20px 0;
}
img.dropshadow {
  box-shadow: 20px 20px 0 #054742;
  margin: 20px 40px 20px 20px;
  max-width: 82%;
  display: block;
}
.icon-box {
  background: #1835BF; /* dark  purple */
  color: white;
  text-align: center;
  padding: 15px;
  width: 60px;
  height: 60px;
  font-size: 24px;
  margin-bottom: 20px;
}
.partner {
  max-width: 140px;
  max-height: 50px;
  display: block;
  margin: 10px auto;
}
.card {
  background: white;
  border: none;
  padding: 10%;
  height: 100%;
  margin: 10px 0;
}
.card h4 {
  color: #002B54; /* dk-blue */;
}
.card p {
  margin: 0px;
}

form input[type="text"] {
  min-height: 44px;
  border-radius: 3px;
  border: 1px solid #ddd;
  border: none;
  width: 100%;
}
.input-wrapper {
  position: relative;
}
.input-wrapper input {
  padding-left: 30px;
}
.input-wrapper i {
  position: absolute;
  top: 3px;
  left: 11px;
  color: #4361EE; /* purple */
}
input.error {
  border: 1px solid #E31C3D !important;
}
label.error {
  display: block;
  background: #E31C3D;
  color: white;
  padding: 5px;
  border-radius: 3px;
  font-size: 12px;
}

/*///////////////////////////////// PAGE SECTIONS /////////////////////////////////*/
nav {
  padding: 15px;
}
nav .logo {
  width: 300px;
  display: block;
}
#header {
  background-color: #002B54; /* dk-blue */
  background-image: linear-gradient(to right, rgba(0, 43, 84, 1) 50%, rgba(0, 43, 84, 0.0) 80%), url(../images/header-young-family.jpg);
  background-position: right center;
  background-repeat: no-repeat;
  min-height: 500px;
  background-size: contain;
  display: flex;
}
#header p, #header h1 {
  color: white;
}
#header p.lead {
  font-style: italic;
}
#how {
  background-image: linear-gradient(to right, #e3e7fd 30%, #ffffff 30%, #ffffff 100%); /* blue square on left */
}
#how hr, #benefits hr {
  width: 80px;
  color:  #4361EE; /* purple */
  border: 1px solid #4361EE; /* purple */
  opacity: 1;
}
#benefits {
  background: #002B54; /* dk-blue */;
}
#benefits h2 {
  color: white;
}
#benefits hr {
  margin: 20px auto 40px;
}
.footer-banner {
  background: #e3e7fd; /* blue */
  padding: 30px;
  margin: 40px 0;
}
.footer-banner h3 {
  font-weight: bold;
  margin: 0;
}
.footer-text p, .footer-text li {
  color: white;
  font-size: 14px;
}
.footer-text li {
  display: inline;
}
.footer-text a {
  color: white;
}

/*///////////////////////////////// MEDIA QUERIES /////////////////////////////////*/

/* medium to large */
@media screen and (min-width: 768px) and (max-width: 948px) {
  #header {
    background-image: linear-gradient(to right, rgba(0, 43, 84, 1) 30%, rgba(0, 43, 84, 0.0) 50%), url(../images/header-young-family.jpg);
    background-position: 200px center;
  }
  #header h1 {
    text-shadow: 2px 2px 5px rgba(0,0,0,0.25);
  }
  .icon-box {
    width: 50px;
    height: 50px;
    font-size: 21px;
    padding: 10px;
  }
}
/* medium and below */
@media screen and (max-width: 767px) {
  .section {
    padding: 40px 0;
  }
  nav .logo {
    margin: auto;
  }
  #header {
    min-height: unset;
    padding: 0 !important;
    background-image: none;
  }
  #header .form-intro {
    padding: 30px 10px;
  }
  #how {
    background-image: none;
  }
  .how-copy {
    padding: 30px 10px;
  }
  .icon-box {
    width: 50px;
    height: 50px;
    font-size: 21px;
    padding: 10px;
  }  
  form {
    margin: 10px 0;
  }
}