.hero-services {
  width: 100%;
  margin: 0;
  padding: clamp(48px, 10vw, 112px) clamp(20px, 6vw, 120px);
  border-top: 0px solid var(--White, #FFF);
  background: var(--Light-Grey, #F3F4F6);
  box-sizing: border-box;
  color: #395935;
}

.hero-services__inner {
  display: flex;
  max-width: var(--Container-container-large, 1280px);
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin: 0 auto; 
  width: 100%;
}

.hero-services__header {
  display: flex;
  max-width: var(--Container-container-large, 1280px);
  flex-direction: column;
  align-items: center;
  gap: 60px;
  align-self: stretch;
  text-align: center;
}

.hero-services__heading {
  margin: 0;
  color: #395935;
  font-family: "Teachers", var(--wp--preset--font-family--inter, Inter, sans-serif);
  font-size: clamp(32px, 6vw, var(--Text-Sizes-Heading-3, 48px));
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.48px;
}

.hero-services__heading > * {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.hero-services__grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}

.hero-services__card {
  display: flex;
  width: 100%;
  max-width: 285px;
  flex: 1 1 240px;
  padding: 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
  border-radius: 7px;
  border: 1px solid rgba(57, 89, 53, 0.3);
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  animation: hero-services-fade 0.6s ease forwards;
  animation-delay: 0.15s;
}

.hero-services__card:nth-child(2) {
  animation-delay: 0.25s;
}

.hero-services__card:nth-child(3) {
  animation-delay: 0.35s;
}

.hero-services__card:nth-child(4) {
  animation-delay: 0.45s;
}

.hero-services__card:nth-child(5) {
  animation-delay: 0.55s;
}

.hero-services__card:nth-child(6) {
  animation-delay: 0.65s;
}

.hero-services__card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  width: 100%;
}

.hero-services__icon {
  width: 60px;
  height: 60px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.hero-services__icon--placeholder {
  border-radius: 50%;
  background: rgba(57, 89, 53, 0.15);
  display: inline-block;
  width: 60px;
  height: 60px;
}

.hero-services__card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  align-self: stretch;
}

.hero-services__card-title {
  margin: 0;
  color: #395935;
  font-family: "Teachers", var(--wp--preset--font-family--inter, Inter, sans-serif);
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.24px;
  text-transform: uppercase;
}

.hero-services__card-title > * {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.hero-services__card-desc {
  margin: 0;
  color: #395935;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(14px, 3vw, 16px);
  font-weight: 300;
  line-height: 150%;
}

.hero-services__card-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 16px;
  padding-top: 0;
}

.hero-services__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  text-decoration: none;
  color: #395935;
  font-family: "Teachers", var(--wp--preset--font-family--inter, Inter, sans-serif);
  font-size: var(--Text-Sizes-Text-Regular, 18px);
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero-services__link-icon {
  width: 24px;
  height: 24px;
}

.hero-services__link:hover,
.hero-services__link:focus-visible {
  color: #2b4c30;
  transform: translateY(-1px);
}

@media (max-width: 599px) {
  .hero-services {
    padding: 72px 32px;
  }

  .hero-services__inner {
    gap: 48px;
  }

  .hero-services__grid {
    gap: 20px;
  }

  .hero-services__card {
    width: 100%;
    max-width: none;
    flex: 1 1 220px;
  }
}

@keyframes hero-services-fade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-services__card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
html.has-scroll-animations .hero-services__card {
  animation-play-state: paused;
}

html.has-scroll-animations .hero-services.is-visible .hero-services__card {
  animation-play-state: running;
}
