/* 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 {
  margin: 0;
  color: #4b525c;
  background: white;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, p {
  margin-top: 0;
}

.inner-container {
  width: 92%;
  max-width: 1150px;
  margin: 0 auto;
}


/******************************************
/* LAYOUT
/*******************************************/

/* HEADER */

.site-header {
  background: white;
}

.main-nav {
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav a {
  padding: 9px 12px;
  font-size: 14px;
}

.main-nav .apply-button {
  min-width: 95px;
  color: white;
  background: #414853;
  text-align: center;
}


/* HERO */

.hero {
  background: #eef0f2;
}

/* .hero {
  min-height: 395px;
  background-color: #eef0f2;
  background-image: url("../img/JWLI-header-png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
} */

/* .hero-mobile-image {
  display: none;
} */


.hero-wrapper {
  min-height: 395px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-copy {
  width: 55%;
  padding: 42px 0 44px;
}

.jwli-logo {
  width: 280px;
  margin-bottom: 25px;
}

.hero h1 {
  margin-bottom: 8px;
  font-size: 29px;
  font-weight: 400;
}

.hero-description {
  max-width: 520px;
  margin-bottom: 35px;
  font-size: 18px;
  line-height: 1.35;
}

.hero-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row input {
  width: 62%;
  padding: 12px 15px;
  border: 1px solid #aab3bb;
  background: white;
}

.form-row button {
  width: 29%;
  padding: 11px;
  border: 1px solid #8e9da7;
  color: white;
  background: #aebbc4;
  font-size: 16px;
}

/* .hero-image {
  width: 38%;
  align-self: flex-end;
  text-align: center;
} */

.hero-image {
  width: 38%;
  text-align: center;
}

.hero-image img {
  width: 330px;
  display: block;
  margin: 0 auto;
}


/* MISSION */

.mission-section {
  padding: 55px 0 70px;
  text-align: center;
}

.mission-section h2 {
  width: 82%;
  margin: 0 auto 48px;
  color: #3f4650;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.35;
}

.mission-points {
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
}

.mission-point {
  width: 45%;
  padding-top: 14px;
  border-top: 4px solid #f3d6df;
  text-align: left;
}

.mission-point p {
  margin-bottom: 0;
  font-size: 15px;
}

.mission-note {
  width: 78%;
  margin: 0 auto;
  color: #a3adb3;
  font-size: 14px;
}


/* HISTORY */

.history-section {
  padding: 28px 0 45px;
  background: #eef0f2;
}

.history-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.history-copy {
  width: 59%;
}

.history-copy h2 {
  margin-bottom: 10px;
  color: #414751;
  font-size: 27px;
}

.history-copy p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.history-images {
  width: 35%;
}

.history-images figure {
  margin: 20px 0 25px;
  text-align: center;
}

.history-images img {
  display: block;
  width: 100%;
  border: 7px solid white;
}

.history-images figcaption {
  padding-top: 7px;
  color: #a5afb5;
  font-size: 14px;
  font-style: italic;
}


/* WHO WE ARE */

.who-section {
  padding: 36px 0 45px;
}

.who-section > .inner-container > h2 {
  margin-bottom: 35px;
  color: #414751;
  font-size: 27px;
  font-weight: 500;
  text-align: center;
}

.founder-card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 45px;
  padding: 28px 46px;
  border: 1px solid #e4e6e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.founder-photo {
  width: 27%;
}

.founder-copy {
  width: 68%;
}

.founder-copy h3 {
  margin-bottom: 16px;
  font-size: 15px;
}

.founder-copy p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.65;
}

.partner-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 55px;
}

.partner {
  width: 48%;
}

.partner img {
  display: block;
  margin-bottom: 20px;
}

.fish-logo {
  width: 280px;
}

.simmons-logo {
  width: 185px;
}

.partner p {
  font-size: 14px;
  line-height: 1.65;
}


/* NEWSLETTER */

.newsletter-section {
  padding: 14px 0;
  background: #b7c5cf;
}

.newsletter-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.newsletter-wrapper h2 {
  width: 35%;
  margin-bottom: 0;
  color: white;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.newsletter-form {
  width: 55%;
  display: flex;
  gap: 20px;
}

.newsletter-form input {
  /* width: 70%; */
  width: 68%;
  padding: 11px 15px;
  border: 1px solid #aab3bb;
  background: white;
}

.newsletter-form button {
  /* width: 30%; */
   width: 28%;
  border: 0;
  color: white;
  background: #99a8b1;
}


/* FOOTER */

footer {
  padding: 20px 0 38px;
  color: white;
  background: #98a6ae;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-top p {
  margin-bottom: 0;
  font-size: 11px;
}

.social-nav {
  display: flex;
  gap: 25px;
}

.social-nav a {
  font-size: 11px;
  font-weight: bold;
}

.footer-divider {
  height: 1px;
  margin: 22px 0 25px;
  background: rgba(255, 255, 255, 0.65);
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-column {
  min-width: 80px;
}

.footer-column h3 {
  margin-bottom: 2px;
  font-size: 12px;
}

.footer-column a {
  display: block;
  font-size: 11px;
  line-height: 1.45;
}



/******************************************
/* ADDITIONAL STYLES
/*******************************************/


/* BREAKING POINT 1: DESKTOP/TABLET */

@media screen and (max-width: 900px) {

  .main-nav a {
    padding: 8px 7px;
    font-size: 12px;
  }

  .hero-copy {
    width: 58%;
  }

  .hero-image {
    width: 36%;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero-description {
    font-size: 16px;
  }

  .mission-section h2 {
    width: 90%;
  }

  .history-copy {
    width: 58%;
  }

  .history-images {
    width: 37%;
  }

  .founder-card {
    gap: 30px;
    padding: 25px;
  }

  .partner-wrapper {
    gap: 35px;
  }

}


/* BREAKING POINT 2: TABLET */

@media screen and (max-width: 700px) {

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 0;
  }

  .hero-wrapper {
    display: block;
  }

  .hero-copy {
    width: 100%;
    padding-bottom: 20px;
  }

  .hero-image {
    width: 55%;
    margin: 0 auto;
  }

  .mission-points {
    display: block;
  }

  .mission-point {
    width: 100%;
    margin-bottom: 30px;
  }

  .mission-note {
    width: 95%;
  }

  .history-wrapper {
    display: block;
  }

  .history-copy, .history-images {
    width: 100%;
  }

  .history-images {
    display: flex;
    gap: 20px;
  }

  .history-images figure {
    /* width: 50%; */
    width: 48%;
  }

  .founder-card {
    display: block;
  }

  .founder-photo {
    width: 45%;
    margin: 0 auto 25px;
    display: block;
  }

  .founder-copy {
    width: 100%;
  }

  .partner-wrapper {
    display: block;
  }

  .partner {
    width: 100%;
    margin-bottom: 40px;
  }

  .newsletter-wrapper {
    display: block;
  }

  .newsletter-wrapper h2,
  .newsletter-form {
    width: 100%;
  }

  .newsletter-wrapper h2 {
    margin-bottom: 12px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 25px;
  }

}


/* BREAKING POINT 3: MOBILE */

@media screen and (max-width: 500px) {

  .inner-container {
    width: 88%;
  }

  .main-nav a {
    margin: 2px;
    font-size: 11px;
  }

  .main-nav .apply-button {
    min-width: 70px;
  }

  .jwli-logo {
    width: 230px;
  }

  .hero h1 {
    font-size: 23px;
  }

  .form-row {
    display: block;
  }

  .form-row input, .form-row button {
    width: 100%;
  }

  .form-row input {
    margin-bottom: 10px;
  }

  .hero-image {
    width: 72%;
  }

  .mission-section {
    padding: 45px 0;
  }

  .mission-section h2 {
    width: 100%;
    font-size: 22px;
  }

  .history-images {
    display: block;
  }

  .history-images figure {
    width: 100%;
  }

  .founder-card {
    padding: 20px;
  }

  .founder-photo {
    width: 65%;
  }

  .newsletter-form {
    display: block;
  }

  .newsletter-form input, .newsletter-form button {
    width: 100%;
  }

  .newsletter-form input {
    margin-bottom: 8px;
  }

  .newsletter-form button {
    padding: 11px;
  }

  .footer-top {
    display: block;
  }

  .footer-top p {
    margin-bottom: 15px;
  }

  .social-nav {
    gap: 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-column {
    width: 40%;
  }
}