/* Section Base Styles */
#how-it-works {
    text-align: center;
    margin: 40px 0;
  }
  
  #how-it-works h2 {
    margin-bottom: 30px;
  }
  
  /* Call-to-Action Instruction */
  .cta-instruction {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-in-out;
  }
  
  /* Fade-in Animation */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* Navigation Buttons */
  .workflow-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  
  .step-button {
    background: #fdc57b;
    color: black;
    border: 2px solid transparent;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 16px;
    margin: 0 5px;
    position: relative;
    outline: none; /* Removes default focus outline */
  }
  
  .step-button:hover {
    background: #ffeedd;
    color: #ff7b00;
  }
  
  .step-button.active {
    background: #ff7b00;
    color: white;
    border-color: #ff7b00;
    transform: scale(1.05);
  }
  
  .step-button.active::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #ff7b00 transparent transparent transparent;
  }
  
  /* Workflow Display & Transitions */
  .workflow-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .step-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin-bottom: 30px;
  }
  
  .step-content.active {
    display: flex;
    opacity: 1;
  }
  
  /* Text & Image Layout */
  .step-text {
    flex: 1;
    text-align: left;
    padding-right: 20px;
    width: 33%;
  }
  
  .step-text h3 {
    margin: 0 0 10px 0;
    color: #ff7b00;
  }
  
  .step-text p {
    margin: 0;
    color: black;
  }
  
  .step-image {
    flex: 2;
    border-radius: 10px;
    box-shadow: 2px 2px 10px #888888;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 66%;
    margin-left: 20px;
  }
  
  .step-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .step-image img:hover {
    transform: scale(1.05);
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .workflow-navigation {
      flex-direction: column;
      width: 100%;
    }
    .step-button {
      margin: 5px 0;
      width: 80%;
    }
    .step-content {
      flex-direction: column;
      width: 90%;
    }
    .step-text {
      text-align: center;
      padding: 0 0 20px 0;
      width: 100%;
    }
    .step-image {
      width: 100%;
      margin-left: 0;
    }
    .cta-instruction {
      text-align: center;
    }
  }