body {
  font-family: "Raleway", sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  background-color: #f4f4f4;
  color: #22437b;
}

a {
  color: #22437b;
}

a:visited {
  color: #22437b;
}

a:hover {
  color: #16305c;
}

.disclaimer {
    text-align: left;
    line-height: 1.5;
    padding-left: 1rem;
}

nav {
  font-size: 1.2rem;
  background-color: white;
  padding: 0.6rem 5%;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

nav ul {
  grid-column: 2;
  justify-self: center;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 0;
}

.nav-logo {
  grid-column: 1;
  justify-self: start;
  display: block;
}

.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  grid-column: 3;
  justify-self: end;
  display: none;
  cursor: pointer;
  width: 36px;
  height: 24px;
}
.nav-toggle-label span {
  display: block;
  height: 3px;
  background: #22437b;
  margin: 5px 0;
  border-radius: 2px;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #22437b;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  position: relative;
  padding: 0;
  color: white;
  overflow: hidden;
  height: 60vh;
  min-height: 320px;
  max-height: 640px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(34,67,123,0.85) 0%, rgba(34,67,123,0.55) 28%, rgba(34,67,123,0) 58%);
  z-index: 1;
  pointer-events: none;
}

h2 {
  display: inline-block;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  color: #22437b;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  margin: 0 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #22437b;
}

.section-white {
  background-color: white;
}

section {
  padding-top: 50px;
  padding-right: 0;
  padding-bottom: 50px;
  background-color: #bcdbff;
  margin: 10px 0;
  font-size:1.7rem;
  color: #22437b;
  overflow: hidden;
}

#contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  gap: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

#disclosures {
  padding: 0 0 2rem 2rem;
}

.center-text {
  margin: 1.5rem 15%;
  text-align: center;
  font-size:1.7rem;
  color:rgb(91, 91, 91);
  line-height: 1.4;
}

.center-text2 {
  margin: 1.5rem 20%;
  text-align: center;
  font-size:1.7rem;
  color:rgb(0, 73, 134);
  line-height: 1.4;
}

@media (min-width: 1600px) {

.center-text {
  margin: 1.5rem 25%;
}
.center-text2 {
  margin: 1.5rem 25%;
}

}

.gray-text {
  font-size:1.2rem;
  padding-left:7rem;
  padding-right:7rem;
  color: rgb(91, 91, 91);
}

.image-container {
  position: static;
  overflow: visible;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.image-container2 {
  flex: 0 0 68%;
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
  right: 0;
}

.image-container2 img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

.left-text {
  flex: 0 0 30%;
  text-align: left;
  font-size: 1.7rem;
  line-height: 1.6;
  margin-right: 0;
  margin-left: 2%
}

.image-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  font-weight: 700;
  max-width: 52vw;
  text-align: left;
  line-height: 1.3;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero {
    height: 42vh;
    min-height: 260px;
  }

  .gray-text {
    padding-left:2rem;
    padding-right:2rem;
  }

  section {
    padding: 30px 10px;
  }

  .center-text {
    margin: 1rem 6%;
    text-align: center;
  }

  h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    margin: 0 0 1.25rem;
  }

  .nav-logo img {
    height: 34px;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-toggle:checked ~ ul {
    display: flex;
  }

  .overlay-text {
    left: 5%;
    max-width: 88vw;
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  #contact {
    flex-direction: column-reverse;
    padding: 0;
  }

  .image-container2,
  .left-text {
    flex: 0 0 100%;
    padding: 0;
    margin: 1rem 0;
  }

  .image-container2 img {
    max-width: 100%;
    margin: 0 auto;
  }

  .left-text {
    font-size: 1.2rem;
    text-align: center;
  }
}

/* iPads (Air 820px, Pro 11" 834px, Pro 12.9" 1024px) are wider than the
   768px phone breakpoint but still too narrow for the logo plus all 6
   links on one line. Jump these to the hamburger too. Nav-only: hero,
   contact, etc. stay on the 768px breakpoint above. */
@media (max-width: 1080px) {
  nav ul {
    flex-direction: column;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  nav ul li {
    margin: 10px 0;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-toggle:checked ~ ul {
    display: flex;
  }
}

@media (max-height: 550px) {
  nav ul {
    flex-direction: column;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  nav ul li {
    margin: 10px 0;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-toggle:checked ~ ul {
    display: flex;
  }

  .hero {
    height: 55vh;
    min-height: 200px;
    max-height: 340px;
  }
}