* {
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #1f2937;
  color: #e5e7eb;
}

.header a:link,
a:visited {
  color: #e5e7eb;
  text-decoration: none;
  cursor: pointer;
}

.header a:link:active,
a:visited:active {
  color: #e5e7eb;
}

.header {
  display: flex;
  align-items: center;
  margin: 1rem auto;
  gap: 0.5rem;
  width: 1225px;
}

h2 {
  font-weight: 900;
  margin-right: auto;
}

.header img {
  width: 45px;
}

.header .header__nav {
  display: flex;
  gap: 2.5rem;
}

.hero__subtitle,
.header__nav {
  font-size: 18px;
  color: #e5e7eb;
}

.hero__title {
  font-size: 48px;
  font-weight: 900;
  color: #f9faf8;
}

.hero {
  height: 500px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0px auto;
  margin-bottom: 2rem;
  width: 1225px;
}

button {
  background-color: #3882f6;
  border: #3882f6;
  color: white;
  cursor: pointer;
  padding: 8px 32px;
  border-radius: 8px;
  font-weight: bold;
  transition-duration: 0.4s;
}

.hero__content a {
  align-self: flex-start;
}

.hero__content button {
  margin-top: 0.5rem;
}

button:hover,
#CTA button:hover {
  background-color: white;
  color: #3882f6;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.philosophy h1 {
  text-align: center;
  color: #1f2937;
  font-size: 36px;
  font-weight: 900;
  padding-top: 2rem;
  margin-bottom: 2.5rem;
}

.philosophy {
  background-color: white;
  color: #1f2937;
  height: 450px;
}

.philosophy__item img {
  width: 125px;
}

.philosophy__grid {
  display: flex;
  justify-content: center;
  gap: 52px;
}

.philosophy__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 150px;
  gap: 0.5rem;
}

#quote-section {
  color: #1f2937;
  background-color: #e5e7eb;
  height: 500px;
  font-size: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quote {
  max-width: 800px;
  margin-top: 1rem;
  font-weight: 300;
  font-style: italic;
}

.quote__author {
  display: block;
  text-align: end;
  font-weight: 700;
  font-style: normal;
}

#CTA {
  background-color: white;
  color: white;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.CTA__content {
  background-color: #3882f6;
  height: 150px;
  width: 1225px;
  border-radius: 0.5rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#CTA button {
  background-color: #3882f6;
  border: 2px solid white;
}

button:hover a:link,
button:hover a:visited {
  color: #3882f6;
  transition-duration: 0.4s;
  text-decoration: none;
}

button a:link,
button a:visited {
  color: white;
  transition-duration: 0.4s;
  text-decoration: none;
}

.footer {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 475px) {
  .header {
    font-size: 10px;
    gap: 1px;
    max-width: 100%;
    padding: 0 1rem;
  }

  .header img {
    width: 35px;
  }

  .header .header__nav {
    gap: 1rem;
  }

  .hero__subtitle,
  .header__nav {
    font-size: 10px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero {
    height: 550px;
    flex-direction: column;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    max-width: 100%;
    padding: 0 1.2rem;
    gap: 1rem;
  }

  iframe {
    max-width: 100%;
    height: 250px;
  }

  .philosophy h1 {
    font-size: 24px;
    padding-top: 2rem;
    margin-bottom: 3rem;
  }

  .philosophy {
    height: 1050px;
    max-width: 100%;
  }

  .philosophy__item img {
    max-width: 100px;
  }

  .philosophy__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    max-width: 100%;
    padding: 0 5rem;
  }

  .philosophy__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  #quote-section {
    height: 400px;
    font-size: 1.5rem;
    max-width: 100%;
    padding: 0 2rem;
  }

  .quote {
    margin-top: 0rem;
  }

  #CTA {
    max-width: 100%;
    padding: 0 2rem;
  }

  .CTA__content {
    height: 155px;
    border-radius: 0.5rem;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0px 1rem;
    font-size: 10px;
    max-width: 100%;
  }

  #CTA button {
    width: 100%;
    padding: 8px;
  }

  #CTA a {
    width: 100%;
  }

  .footer {
    font-size: 10px;
    height: 55px;
    margin-bottom: 1rem;
  }
}
