@font-face {
  font-family: "DG Agnadeen";
  src: url("https://db.onlinewebfonts.com/t/0de19f038c4a0308aa1212c681119892.eot");
  src: url("https://db.onlinewebfonts.com/t/0de19f038c4a0308aa1212c681119892.eot?#iefix")
      format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/0de19f038c4a0308aa1212c681119892.woff2")
      format("woff2"),
    url("https://db.onlinewebfonts.com/t/0de19f038c4a0308aa1212c681119892.woff")
      format("woff"),
    url("https://db.onlinewebfonts.com/t/0de19f038c4a0308aa1212c681119892.ttf")
      format("truetype"),
    url("https://db.onlinewebfonts.com/t/0de19f038c4a0308aa1212c681119892.svg#DG Agnadeen")
      format("svg");
}

html,
body {
  font-family: "DG Agnadeen", sans-serif;
  background-color: #f7f7f7;
  overflow-x: hidden;
}

#hero-animation canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@keyframes bounce-in {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.bounce-in {
  animation: bounce-in 1s ease-out;
}

.glow-circle {
  animation: pulse-glow 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 123, 41, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(255, 123, 41, 0);
  }
}

.step-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.step {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 20%;
}

.step-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid #ccc;
  background-color: #f7f7f7;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.step-icon {
  font-size: 1.2rem;
  color: #2f403d;
  transition: color 0.3s ease;
}

.step-active .step-icon-wrapper {
  border-color: #ff7b29;
  background-color: #ff7b29;
  animation: pulse-glow 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.step-active .step-icon {
  color: #fff;
}

.step-active .step-text .step-title {
  color: #ff7b29;
}

.step-text {
  margin-bottom: 1rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.step-active .step-text {
  opacity: 1;
}

/* New styles for finished steps */
.step-finished .step-icon-wrapper {
  border-color: #ff7b29;
  background-color: #ff7b29;
}

.step-finished .step-icon {
  color: #fff;
}

.step-finished .step-text .step-title {
  color: #ff7b29;
}

.step-finished .step-text {
  opacity: 0.8;
}

/* Line and progress animation */
.step-line {
  position: absolute;
  height: 2px;
  background-color: #ccc;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 5;
}

.progress-line {
  position: absolute;
  height: 2px;
  background-color: #ff7b29;
  top: 80px;
  left: 0;
  width: 0;
  transition: all 0.5s ease;
  z-index: 6;
}

@media (max-width: 768px) {
  .step-container {
    flex-direction: column;
    align-items: center;
    margin-inline: 2.5rem;
  }
  .step {
    flex-direction: row-reverse;
    text-align: start;
    justify-content: flex-end;
    max-width: 100%;
    width: 100%;
    margin-bottom: 1rem;
    align-items: center;
  }

  .step-text {
    margin-top: 0;
    margin-inline-start: 1.5rem;
  }
  .step-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* .step-icon-wrapper {
    order: 2; 
  }

  .step-text {
    order: 1; 
  } */

  .step-line {
    width: 2px;
    height: calc(100% - 1rem);
    top: 0;
    inset-inline-start: 30px;
    inset-inline-end: auto;
  }

  .progress-line {
    width: 2px;
    height: 0;
    top: 0;
    inset-inline-start: 30px;
    inset-inline-end: auto;
    transition: all 0.5s ease;
  }
}

.step-arrow {
  position: absolute;
  top: 120px; /* Adjust as needed */
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #ff7b29;
  transition: all 0.5s ease;
  z-index: 20;
}

@media (max-width: 768px) {
  .step-arrow {
    display: none; /* Hide arrow on mobile for simplicity */
  }
}

div[data-elfsight-app-lazy] {
  display: none;
}
