  
  
  :root {
      --step1-color: #5144D5;
      --step2-color: #19C985;
      --step3-color: #E2CD33;
      --step4-color: #79A316;
      --text-color: #494949;
      --heading-color: #000;
      --light-bg: #f8f9fa;
      --placeholder-bg: #F0F4F7;
      --logo-box-bg: #F7F1FC;
      --logo-box-border: #79509F;
      --logo-box-text: #79509F;
      --divider-color: #e0e0e0;
    }
/* 
    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--light-bg);
      color: var(--text-color);
      margin: 0;
      padding: 2rem;
      justify-content: center;
      min-height: 100vh;
    } */

    .container4 {
      width: 100%;
      padding: 0 20px;
      /* background-color: #fff; */
      border-radius: 12px;
      /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
      display: flex;
      flex-direction: column;
      margin : 35px auto; 
    }

    .header4 {
      text-align: center;
      margin-bottom: 2rem;
    }

    .logo-box4 {
      display: inline-flex;
      align-items: center;
      background-color: #F7F1FC;
      color:#79509F;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      border-width: 1px 4px 4px 1px;
      border-style: solid;
      border-color: #79509F;
    }

    .logo-img4 {
      width: 24px;
      height: 24px;
      margin-right: 0.5rem;
    }

    .logo-text4 {
      font-size: 0.875rem;
      font-weight: 600;
      white-space: nowrap;
    }
    #logo-text4 {
      background: url('./doc-star.svg') no-repeat 1px center;
      background-size: 24px 24px;
      padding-left:30px;
    }
    h1 {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--heading-color);
      margin-bottom: 0.5rem;
    }

    .subtitle4 {
      font-size: 1rem;
      font-weight: 400;
      margin-bottom: 3rem;
      line-height: 1.5;
      margin-left: auto;
      margin-right: auto;
    }

    .step-guide-main-content4 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      align-items: start;
      position: relative;
    }

    .step-guide-main-content4::after {
      content: '';
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 2px;
      background-color: var(--divider-color);
      transform: translateX(-50%);
      z-index: 0;
    }

    .grid-item, .grid-item2 {
      border-radius: 12px;
      z-index: 1;
      /* background-color: #fff; */
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
    }

    .step-wrapper {
    display: flex;
    /* align-items: center; */
    flex-direction: column;
    gap: 1rem;
    }

    .step-wrapper2 {
    display: flex
;
    align-items: end;
    flex-direction: column;
    gap: 1rem;
    }



    .step-number4 {
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.2rem;
      font-weight: 700;
      color: #fff;
      border-radius: 8px;
      flex-shrink: 0;
    }

    .step-info4 {
      flex-grow: 1;
      max-width: 100%;
    }

    .step-heading4 {
      font-size: 18px;
      font-weight: 700;
      color: var(--heading-color);
      margin-bottom: 0.25rem;
    }

    .step-content4 {
    font-size: 14px;
      line-height: 1.5;
    }

    .placeholder-box{
      min-height: 150px;
      display: flex;
      justify-content: end;
      align-items: end;
      box-sizing: border-box;
    }

    .placeholder-box2{
      min-height: 150px;
      display: flex;
      justify-content: start;
      align-items: center;
      box-sizing: border-box;
    }

  .step-guide-main-content4 img {
    max-width: 100%;
    height: auto;   /* instead of fixed 100% */
    display: block;
  }

    /* Step colors */
    .step-guide-main-content4 > .grid-item:nth-child(1) .step-number4 { background-color: var(--step1-color); }
    .step-guide-main-content4 > .grid-item:nth-child(4) .step-number4 { background-color: var(--step2-color); }
    .step-guide-main-content4 > .grid-item:nth-child(5) .step-number4 { background-color: var(--step3-color); }
    .step-guide-main-content4 > .grid-item:nth-child(8) .step-number4 { background-color: var(--step4-color); }

    /* Text alignment */
    .step-guide-main-content4 > .grid-item:nth-child(1) .step-info4,
    .step-guide-main-content4 > .grid-item:nth-child(5) .step-info4 {
      text-align: right;
    }

    .step-guide-main-content4 > .grid-item:nth-child(4) .step-info4,
    .step-guide-main-content4 > .grid-item:nth-child(8) .step-info4 {
      text-align: left;
    }
@media (max-width: 768px) {
  /* body {
    padding: 1rem;
  } */

  .header4 {
    text-align: left;
    margin-bottom: 1rem;
  }

  .header4 h2 {
  font-weight: 700;
  margin: 12px 0px 5px 0px;
  color: var(--color-gray-700);
}


  h1 {
    font-size: 1.75rem;
  }

  .subtitle4 {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-align: left;
    margin-left: 0;
  }

  .step-guide-main-content4 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .step-guide-main-content4::after {
    display: none;
  }

  .grid-item,
  .grid-item1,
  .grid-item2 {
    width: 100%;
    border-radius: 12px;
    box-sizing: border-box;
    align-items: flex-start;
  }

  .step-wrapper,
  .step-wrapper2 {
    flex-direction: row;
    align-items: center;
  }

  .step-number4 {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    margin: 10px auto;
    align-self: start;
  }

  .placeholder-box,
  .placeholder-box2 {
    justify-content: center;
    align-items: center;
    min-height: auto;
  }

  .step-info4 {
    text-align: left !important;
  }
  .step-guide-main-content4 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .step-guide-main-content4::after {
    display: none;
  }

  /* Correct Mobile Ordering: Step > Image for all */
  .step-guide-main-content4 > .grid-item:nth-child(1) { order: 1; }  /* Step 1 */
  .step-guide-main-content4 > .grid-item1:nth-child(2) { order: 2; } /* Image 1 */

  .step-guide-main-content4 > .grid-item.placeholder-box:nth-child(3) { order: 4; } /* Image 2 */
  .step-guide-main-content4 > .grid-item:nth-child(4) { order: 3; }  /* Step 2 */

  .step-guide-main-content4 > .grid-item:nth-child(5) { order: 5; }  /* Step 3 */
  .step-guide-main-content4 > .grid-item1.placeholder-box2:nth-child(6) { order: 6; } /* Image 3 */

  .step-guide-main-content4 > .grid-item2.placeholder-box:nth-child(7) { order: 8; } /* Image 4 */
  .step-guide-main-content4 > .grid-item:nth-child(8) { order: 7; }  /* Step 4 */
}


