﻿.problem-statement {
  display: flex;
  flex-direction: column-reverse;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.problem-statement article {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.problem-statement h2 {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 2rem;
}

.problem-statement h3 {
  color: var(--color-gray-500, #667085);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
}

.problem-statement p {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  margin-top: 0.5rem;
}

.problem-statement img {
  width: 100%;
  max-height: 360px;
}

@media (min-width: 768px) {
  .problem-statement {
    flex-direction: row;
    gap: 2rem;
    max-width: 704px;
  }
}

@media (min-width: 992px) {
  .problem-statement {
    max-width: 1216px;
  }
}

.metric-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .metric-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 704px;
    margin: auto auto 4rem auto;
  }

  .metric-card:last-child {
    margin: 0 auto;
  }
}

@media (min-width: 992px) {
  .metric-cards {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1216px;
    margin: auto auto 7.5rem auto;
  }
}


.foundation-bios {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
  margin-top: 2.5rem;
}

.foundation-bio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  justify-content: center;
}

.foundation-bio img {
  max-width: 320px;
  max-height: 320px;
  justify-self: center;
}

.foundation-bio article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.foundation-bio h2 {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 2rem;
}

.foundation-bio h3 {
  color: var(--color-gray-500, #667085);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5rem;
}

.foundation-bio p {
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .foundation-bios {
    margin-top: 4rem;
  }

  .foundation-bio {
    grid-template-columns: repeat(2, 1fr);
    max-width: 704px;
    margin: auto auto 4rem auto;
    gap: 3.5rem;
  }

  .foundation-bio img {
    max-width: 336px;
    max-height: 336px;
  }

  .foundation-bio:nth-child(even) {
    display: flex;
    flex-direction: row-reverse;
  }

  .foundation-bio:nth-child(even) article {
    width: 50%;
  }

  .foundation-bio:nth-child(even) img {
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .foundation-bios {
    margin-top: 5rem;
  }

  .foundation-bio {
    max-width: 1216px;
  }

  .foundation-bio img {
    max-width: 592px;
    max-height: 592px;
  }
}

.info-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  margin-bottom: 4.5rem;
}

.info-row {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.info-row img {
  max-width: 336px;
  max-height: 264px;
  justify-self: center;
}

.info-row article {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row h2 {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 2rem;
}

.info-row h3 {
  color: var(--color-gray-500, #667085);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5rem;
}

.info-row p {
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5rem;
  margin-top: 0.5rem;
}

.info-row a {
  color: #da1e28;
}

@media (min-width: 768px) {
  .info-rows {
    gap: 2rem;
    max-width: 704px;
    margin: 4rem auto 7rem auto;
  }

  .testimonial-card {
    align-self: stretch;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .info-rows {
    max-width: 1216px;
    margin: 7.5rem auto 9.5rem auto;
    gap: 9.5rem;
  }

  .info-row:nth-child(even) img {
    order: 2;
  }

  .info-row:nth-child(even) article {
    order: 1;
  }

  .info-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
