.ntc-services {
  background: rgb(var(--color-white));
}

.ntc-services__header {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto 4rem;
  max-width: 82rem;
  text-align: center;
}

.ntc-services__heading-content {
  text-align: center;
}

.ntc-services__meta {
  margin-bottom: 1.2rem;
}

.ntc-services__heading-row {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
}

.ntc-services__logo {
  display: block;
  flex: 0 0 5.6rem;
  height: 5.6rem;
  max-height: 5.6rem;
  max-width: 5.6rem;
  object-fit: contain;
  object-position: center;
  width: 5.6rem;
}

.ntc-services__description {
  color: rgb(var(--color-text-muted));
  margin-top: 1rem;
}

.ntc-services__description p {
  margin: 0;
}

.ntc-services__grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.ntc-services__card {
  border: 0.1rem solid rgb(var(--color-border));
  border-radius: 1.2rem;
  height: 100%;
  min-height: 21rem;
  padding: 2.4rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.ntc-services__icon {
  align-items: center;
  border: 0.1rem solid rgba(var(--color-brand-primary), 0.25);
  border-radius: 50%;
  color: rgb(var(--color-brand-primary));
  display: flex;
  height: 5.2rem;
  justify-content: center;
  margin-bottom: 2rem;
  width: 5.2rem;
}

.ntc-services__icon svg {
  height: 2.8rem;
  width: 2.8rem;
}

.ntc-services__card h3 {
  color: rgb(var(--color-brand-navy));
  font-size: var(--font-size-paragraph-regular);
  line-height: var(--line-height-paragraph-regular);
  margin: 0;
}

.ntc-services__card p {
  color: rgb(var(--color-text-muted));
  font-size: var(--font-size-paragraph-small);
  line-height: var(--line-height-paragraph-small);
  margin: 1rem 0 0;
}

.ntc-services__footer {
  display: flex;
  justify-content: center;
  margin-top: 3.2rem;
}

@media screen and (max-width: 989px) {
  .ntc-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 749px) {
  .ntc-services__heading-row {
    gap: 1rem;
  }

  .ntc-services__logo {
    flex-basis: 4.8rem;
    height: 4.8rem;
    max-height: 4.8rem;
    max-width: 4.8rem;
    width: 4.8rem;
  }

  .ntc-services__grid {
    grid-template-columns: 1fr;
  }

  .ntc-services__card {
    min-height: auto;
  }
}
