.section5-container {
    /* padding: 63px 65px; */
    min-width: 70vw;
    /* min-height:100vh;
     */
     padding-bottom:100px;
     
}

.section5-h1 {
    background: linear-gradient(135deg, #FF6680 5%, #FF4DA9 45%, #CD42D7 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4.5em;
    font-family: Inconsolata, sans-serif;
    font-weight: 700;
    margin-bottom: 40px;
    margin-top: 50px;
    padding-left:5px;
    
}

.pyramid-container {
    display: flex;
    flex-direction: column;
    align-items: flex-satrt;
    justify-content: start;
    gap: 0.5em;
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    /* padding: 20px; */
}

.pyramid-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    width: 100%;
    
}

.pyramid-step {
    position: relative;
    left: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trapezoid-svg {
    display: block;
    width: 100%;
    height: auto;
    
}

.trapezoid-path {
    fill: #433550;
    stroke: none;
    transition: fill 0.3s ease;
}

.step-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    width: 25px;
    height: 25px;
    fill: #e2e8f0;
    transition: fill 0.3s ease;
}

.step-content-text {
    width: 280px;
    /* text-align: center; */
}

.step-content-text h1 {
    color: #e2e8f0;
    font-size: 1.2em;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-family: 'Inconsolata', monospace;
}

.step-content-text p {
    color: #a0aec0;
    font-size: 0.9em;
    line-height: 1.3;
    margin: 0;
    font-family: 'Inconsolata', monospace;
}

/* Mobile text containers - shown below pyramid */
.mobile-text-containers {
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items:center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

/* Hide individual step text on mobile */
@media (max-width: 767px) {
    .pyramid-row .step-content-text {
        display: none;
    } 

    .section5-h1 {
      font-size:2.5rem;
      text-align:center;
    }

  
}

/* Responsive pyramid sizes */
.step-1 .trapezoid-svg {
    width: min(128px, 25vw);
    height: min(104px, 20vw);
}

.step-2 .trapezoid-svg {
    width: min(256px, 50vw);
    height: min(104px, 20vw);
}

.step-3 .trapezoid-svg {
    width: min(384px, 75vw);
    height: min(104px, 20vw);
}

.step-4 .trapezoid-svg {
    width: min(512px, 95vw);
    height: min(104px, 20vw);
}

/* Desktop styles */
@media (min-width: 768px) {
    .mobile-text-containers {
        display: none;
    }

    .pyramid-row {
        flex-direction: row;
        gap: 40px;
    }
    
    .step-content-text {
        text-align: left;
        max-width: 300px;
    }

    .step-content-text h1 {
        font-size: 2.5em;
        margin: 0 0 10px 0;
    }

    .step-content-text p {
        font-size: 2em;
        line-height: 1.4;
    }

    .step-1 .trapezoid-svg {
        width: 128px;
        height: 104px;
    }
    

    .step-2 .trapezoid-svg {
        width: 256px;
        height: 104px;
    }

    .step-3 .trapezoid-svg {
        width: 384px;
        height: 104px;
    }

    .step-4 .trapezoid-svg {
        width: 512px;
        height: 104px;
    }
}

@media (max-width: 500px)  {

  .step-mobile-conatiner {
    display: flex;
    align-items: center;
    justify-content: center;;
   
}
  .step-content-sub-container-h1 {
    font-size: 20px !important;
}

.step-content-sub-container-p {
    font-size: 14px !important;
}

.section5-h1 {
  font-size: 4rem;
}

}


/* Hover effects */
.pyramid-step:hover .trapezoid-path {
    fill: #4a5568;
}

.pyramid-step:hover .icon {
    fill: #ffd700;
}

.step-content-sub-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: start;
    /* margin-left: 20px; */
    
}

.step-mobile-conatiner {
    display: flex;
    align-items: flex-start;
    justify-content: start;
   
}



/* Keyframes for pyramid slide-up */
@keyframes slideUpFadeIn {
    0% {
      opacity: 0;
      transform: translateY(50px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Keyframes for icon bounce */
  @keyframes iconBounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  
  /* General animation settings */
  .pyramid-row {
    opacity: 0;
    animation: slideUpFadeIn 1s ease forwards;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .pyramid-row:nth-child(1) {
    animation-delay: 0.2s;
  }
  .pyramid-row:nth-child(2) {
    animation-delay: 0.4s;
  }
  .pyramid-row:nth-child(3) {
    animation-delay: 0.6s;
  }
  .pyramid-row:nth-child(4) {
    animation-delay: 0.8s;
  }
  
  /* Icon bounce animation */
  .icon-container .icon {
    animation: iconBounce 2s ease-in-out infinite;
  }
  
  /* Hover effect for steps */
  .pyramid-step {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  .pyramid-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  

  @keyframes slideInFromLeft {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .recognition-text {
    opacity: 0; /* Ensure it's hidden before animation */
    animation: slideInFromLeft 1s ease-out forwards;
    transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  margin-left:10px;
  }



  
  