/* Home page specific styles */

.bg-gradient-white {
  background:
    url(../../images/bgs/glow-pattern-2.png),
    linear-gradient(
      181deg,
      #f9fafb 100%,
      #fff 109.71%
    );
  background-size: 70%, 100%;
  background-repeat: no-repeat;
  background-position:
    bottom center,
    center;
}

.bg-green-600 {
  background-color: #1b8354; /* approximating $green-600 */
}

.card-numbered .card-body {
  position: relative;
  overflow: hidden;
}

.bg-number {
  position: absolute;
  top: -16px;
  left: -40px;
  width: 162px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 134.81px;
  font-weight: 600;
  line-height: 51.99px;
  letter-spacing: 0;
  text-align: right;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(to top, rgba(34, 137, 50, 0), #228932 134.99%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[dir="rtl"] .bg-number {
    left: auto;
    right: -40px;
    text-align: left;
}

.card-numbered .card-body > *:not(.bg-number) {
  position: relative;
  z-index: 1;
}

.card-numbered {
  border-radius: 16px;
}

.section-title {
  width: 100%;
  justify-items: center;
  margin-bottom: 4rem;
  text-align: center;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title p {
  color: #384250;
  max-width: 800px;
  font-size: 1.125rem;
  margin: 0 auto;
}

/* Disable hover/active movement for How It Works cards */
.card-numbered {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}

.card-numbered:hover,
.card-numbered:active,
.card-numbered:focus {
  transform: none !important;
  margin-top: 0 !important;
  top: 0 !important;
}
