
/* Bring in colors in case they get lost */
:root {
  --cypress: #06534f;
  --bright-pine: #03a171;
  --sapling: #bcdc9f;
  --riverglass: #75d1f4;
  --cypress-dark: #043b38;
  --white: #fff;
  --saddlebrown: #8B4513;
  --badge-size: 55px;
}

/* Block Styling */
.next-steps-resources-block {
  width: 100%;
  background-color: var(--cypress-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  /*padding: 0.75rem 1.5rem 3rem;*/
  padding: 48px 28px;
}

/* Card Styling */
.next-steps-resources-container {
  max-width: 680px;
  background-color: var(--off-white);
  padding: 2rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.gradient-border {
  background: linear-gradient(135deg, #03a171, #75d1f4);
  border-radius: 16px;
  padding: 3px;
  /*&:hover {*/
  /*  box-shadow: 0 20px 48px rgba(3, 161, 113, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08);*/
  /*}*/
}

.next-steps-resources-container h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
  color: var(--cypress-dark);
  font-family: "Inlander", sans-serif;
  letter-spacing: 3px;
}

.next-steps-resources-container p {
  font-weight: 400;
  font-family: "Merriweather Sans", sans-serif;
  letter-spacing: 1px;
  color: var(--cypress);
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0 0 1rem;
  max-width: 520px;
  line-height: 1.6;
}

.next-steps-resources-link-wrapper {
  display: flex;
  max-width: 250px;
  gap: 0;
  margin: auto;
  align-items: center;
}

.next-steps-resources-link {
  text-decoration: none;
  color: var(--white);
  &:visited {
    color: var(--white);
  }
}

/* The Next Steps Button */
#next-steps-btn {
  /*background: var(--bright-pine);*/
  background: #056146;
  padding: 12px 20px;
  cursor: pointer;
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  transition: background 220ms ease, color 220ms ease, transform 150ms ease;
  border-radius: 15px;
}

#next-steps-btn:hover {
  background: var(--saddlebrown);
  opacity: 0.8;
  transform: translateY(-1px);
}

.ns-icon-wrapper {
  display: flex;
  width: 18px;
  height: 18px;
  margin-right: 16px;
}

.ns-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--badge-size);
  height: var(--badge-size);
  border-radius: 14px;
  border: 1.5px solid #03A17151;
  background: rgba(3, 161, 113, 0.1);
  padding: 12px;
  margin-bottom: 0.25rem;
}

.background-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117,209, 244, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.ns-badge-wrapper {
  width: var(--badge-size);
  height: var(--badge-size);
  border-radius: 14px;
  &::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 4px;
    background: var(--saddlebrown);
    opacity: 0.8;
    border-radius: 2px;
  }
}

/* ** Animations ** */

/* Badge Animation */
/*.ns-badge {*/
/*  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;*/
/*  transform: scale(0);*/
/*  opacity: 0;*/
/*  transform-origin: bottom center; !* Keeps the 'ground' anchored *!*/
/*}*/


/* Trigger for the whole badge */
/*  .next-steps-resources-block:hover .ns-badge {
      transform: scale(1);
      opacity: 1;
  }
  */

/* Sprout Animation */
.ns-sprout-img {
  max-height: 28px;
  transform-origin: bottom center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(.4); /* Hidden by default */
  @media (max-width: 599px) {
    transform: scale(.8);
  }
}

.next-steps-resources-block:hover .ns-sprout-img {
  transform: scale(1);
}


/* Arrow Animation */
@keyframes arrow-bounce-vertical {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

.next-steps-resources-container:hover .ns-arrow-img {
  animation: arrow-bounce-vertical 1.5s infinite ease-in-out;
}

@media (max-width: 599px) {
  .ns-arrow-img {
    animation: arrow-bounce-vertical 1.5s infinite ease-in-out;
  }
}