#pathh{
 stroke-dasharray: 1500; /* Total circumference of the circle (2πr where r=40) */
      stroke-dashoffset: 1000; /* Start hidden */
   
  }
.pathh{
       fill: none; /* Initially no fill */
      animation: draw 3s linear forwards, fillEffect 3s ease 3s forwards; /* Two animations */
      animation-iteration-count: 1; /* Repeat the entire animation infinitely */
}
/* Animation to draw the stroke */
  @keyframes draw {
      from {
          stroke-dashoffset: 1000; /* Fully hidden stroke */
      }
      to {
          stroke-dashoffset: 0; /* Fully drawn stroke */
      }
  }

  /* Animation to fill the shape */
  @keyframes fillEffect {
      from {
          fill: none; /* No fill at start */
          fill-opacity: 0; /* Hidden */
      }
      to {
          fill: #ffff; /* Tomato fill color */
          fill-opacity: 1; /* Fully visible */
      }
  }
    
    .flow-container {
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
      position: relative;
      padding: 60px 0;
    }
    
    .flow-path {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none;
    }
    
    .path-svg {
      width: 100%;
      height: 100%;
    
    }
    .path-svg path{
     stroke-dasharray:0px !important;
    }
    .steps-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      position: relative;
      z-index: 2;
    }
  
    .step {
      width: 18%;
      position: relative;
      margin-bottom: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
      .step {
    opacity: 0; /* Hidden initially */
    transform: translateX(-100px); /* Position off-screen to the left */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

.step.animate {
    opacity: 1; /* Fully visible */
    transform: translateX(0); /* Bring into view */
}

    .step:nth-child(even) {
      margin-top: 140px;
    }
    
    .step-number {
      font-size: 180px;
      font-weight: 300;
      color: #d1cccc;
      line-height: 1;
      position: absolute;
      z-index: -1;
      left: 50%;
      transform: translateX(-50%);
      top: 30px;
    left: 30px;
    }
    
    .step-icon {
      background-color: white;
      width: 70px;
      height: 70px;
      border-radius: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 25px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      position: relative;
    }
    
    .step-icon i {
      color: #0066cc;
      font-size: 24px;
    }
    
    .step-title {
      font-size: 24px;
      font-weight: bold;
      color: #333;
      margin-bottom: 10px;
      text-align: center;
    }
    
    .step-desc {
      color: #999;
      font-size: 14px;
      line-height: 1.6;
      text-align: center;
    }
    
    /* Icons */
    .icon-flag::before {
      content: "";
      display: inline-block;
      width: 24px;
      height: 24px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23830a36'%3E%3Cpath d='M4 2v20h2v-8h8.586l-1.293 1.293 1.414 1.414L19.414 12l-4.707-4.707-1.414 1.414L14.586 10H6V2H4z'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
    }
    
    .icon-chart::before {
      content: "";
      display: inline-block;
      width: 24px;
      height: 24px;
         background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23830a36'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23830a36' stroke-width='2' fill='none'/%3E%3Ctext x='12' y='16' text-anchor='middle' font-family='Arial' font-size='10' fill='%23830a36'%3E%24%3C/text%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
    }
    
    .icon-gear::before {
      content: "";
      display: inline-block;
      width: 24px;
      height: 24px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23830a36'%3E%3Cpath d='M12 2a1 1 0 01.32.05 10 10 0 019.63 9.63 1 1 0 010 .64 10 10 0 01-9.63 9.63 1 1 0 01-.64 0A10 10 0 012.05 12.32a1 1 0 010-.64A10 10 0 0111.68 2.05 1 1 0 0112 2zm0 5a5 5 0 100 10 5 5 0 000-10z'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
    }
    
    .icon-box::before {
      content: "";
      display: inline-block;
      width: 24px;
      height: 24px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23830a36'%3E%3Cpath d='M20 5H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-1 12H5c-.55 0-1-.45-1-1V8c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1z'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
    }
    
    .icon-check::before {
      content: "";
      display: inline-block;
      width: 24px;
      height: 24px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23830a36'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
    }
    
    @media (max-width: 991px) {
      .step {
        width: 22%;
      }
      .step-number {
        font-size: 150px;
      }
    }
    
    @media (max-width: 767px) {
      .flow-container {
        padding: 30px 0;
      }
      .step {
        width: 100%;
        margin-bottom: 60px;
      }
      .step:nth-child(even) {
        margin-top: 0;
      }
      .flow-path {
        display: none;
      }
      .step-number {
        font-size: 120px;
        top: -50px;
      }
    }
.step-desc {
  opacity: 0; /* Start invisible */
  transform: scale(0.9); /* Slightly scaled down */
  transition: opacity 0.5s ease, transform 0.5s ease-in-out; /* Smooth transition */
  position: absolute; /* Keeps the description near the icon */
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  padding: 10px;
  border: 1px solid #ddd; /* Border for styling */
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  pointer-events: none; /* Prevent interactions when invisible */
}

.step-icon:hover + .step-desc,
.step-icon:active + .step-desc {
  display: block; /* Ensure visibility */
  opacity: 1; /* Make visible */
  transform: scale(1); /* Full size */
  pointer-events: auto; /* Enable interactions */
}


