.story {
    display: flex;
    flex-direction: column;
    max-width: 1280px;
    height: auto; 
    align-items: center;
    gap: clamp(64px, 8vw, 112px); 
    position: relative;
    padding: 99px 0px 80px;
    margin: 0 auto; 
}

    .story .headeing-section {
        display: flex;
        flex-direction: column;
        max-width: 768px;
        align-items: center;
        gap: 32px;
        position: relative;
        width: 100%;
        flex: 0 0 auto;
    }

    .story .section-title {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        display: flex;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .story .content {
        display: flex;
        align-items: center;
        gap: 24px;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        flex-direction: column;
        position: relative;
    }

    .story .text {
        text-align: center;
        position: relative;
        align-self: stretch;
        margin-top: -1.00px;
        font-family: var(--text-medium-normal-font-family);
        font-weight: var(--text-medium-normal-font-weight);
        color: #ffffff;
        font-size: var(--text-medium-normal-font-size);
        letter-spacing: var(--text-medium-normal-letter-spacing);
        line-height: var(--text-medium-normal-line-height);
        font-style: var(--text-medium-normal-font-style);
    }

    .story .story-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .story .section {
        align-items: flex-start;
        display: flex;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 20px;
        padding: clamp(24px, 3vw, 32px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.25);
        overflow: hidden;
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .story .section:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 60px rgba(0,0,0,0.3);
        border-color: rgba(255,255,255,0.16);
    }

    .story .sub-section {
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        padding: clamp(32px, 5vw, 64px) 0px; 
        position: relative;
        flex: 1;
        align-self: stretch;
        flex-grow: 1;
    }

    .story .heading {
        position: relative;
        flex: 1;
        align-self: stretch;
        margin-top: -1.00px;
        font-family: var(--semantic-heading-3-font-family);
        font-weight: var(--semantic-heading-3-font-weight);
        color: #ffffff;
        font-size: clamp(24px, 4vw, var(--semantic-heading-3-font-size)); 
        letter-spacing: var(--semantic-heading-3-letter-spacing);
        line-height: var(--semantic-heading-3-line-height);
        font-style: var(--semantic-heading-3-font-style);
    }

    .story .line-wrapper {
        flex-direction: column;
        width: clamp(80px, 12vw, 192px); 
        gap: 10px;
        display: flex;
        align-items: center; 
        position: relative;
        align-self: stretch;
    }

    .story .line {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        position: relative;
        flex: 1;
        flex-grow: 1;
    }

    .story .divider {
        height: clamp(32px, 5vw, 64px); 
        position: relative;
        width: 3px;
        background-color: #ffffff;
    }

    .story .circle {
        position: relative;
        width: 15px;
        height: 15px;
        background-color: #ffffff;
        border-radius: 7.5px;
    }

    .story .div {
        flex: 1;
        flex-grow: 1;
        position: relative;
        width: 3px;
        background-color: #ffffff;
    }

    .story .sub-section-2 {
        flex-direction: column;
        width: 100%; 
        max-width: 650px; 
        gap: clamp(32px, 5vw, 64px); 
        padding: clamp(32px, 5vw, 64px) 0px;
        display: flex;
        align-items: flex-start;
        position: relative;
        align-self: stretch;
    }

    .story .content-top {
        display: flex;
        align-items: flex-start;
        gap: clamp(16px, 3vw, 32px); 
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
        flex-direction: column;
        position: relative;
    }

    .story .text-wrapper {
        position: relative;
        align-self: stretch;
        margin-top: -1.00px;
        font-family: var(--text-medium-normal-font-family);
        font-weight: var(--text-medium-normal-font-weight);
        color: #ffffff;
        font-size: clamp(14px, 2.5vw, var(--text-medium-normal-font-size));
        letter-spacing: var(--text-medium-normal-letter-spacing);
        line-height: var(--text-medium-normal-line-height);
        font-style: var(--text-medium-normal-font-style);
    }

    .story .actions {
        display: inline-flex;
        align-items: center;
        gap: 24px;

        
        padding: 20px 0px;
        position: relative;
        flex: 0 0 auto;
    }

    .story .story-button {
        all: unset;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: clamp(8px, 2vw, 12px) clamp(16px, 3vw, 24px); 
       
        border-radius: 8px;
        color: #fff;
        font-family: var(--text-regular-normal-font-family);
        font-size: clamp(12px, 2vw, var(--text-regular-normal-font-size));
        line-height: var(--text-regular-normal-line-height);
        cursor: pointer;
     
        transition: background 0.2s;
    }

        .story .story-button:hover {
            background: rgba(255,255,255,0.1);
        }

    .story .chevron-right {
        position: relative;
        width: clamp(16px, 3vw, 24px); 
        height: clamp(16px, 3vw, 24px); 
    }



    .story .divider-wrapper {
        display: inline-flex;
        align-items: flex-start;
        flex: 1;
        flex-grow: 1;
        flex-direction: column;
        position: relative;
    }



    .story .story-image {
        position: relative;
        align-self: stretch;
        width: 100%;
        height: clamp(200px, 25vw, 400px); 
        object-fit: cover;
        border-radius: 14px; 
        box-shadow: 0 14px 40px rgba(0,0,0,0.22);
    }

    .story .divider-2 {
        height: clamp(200px, 40vw, 749px); 
        position: relative;
        width: 3px;
        background-color: #ffffff;
    }

    .story .image-4 {
        height: clamp(200px, 25vw, 433.08px);
        position: relative;
        align-self: stretch;
        width: 100%;
        object-fit: cover;
    }


   .story .readmore-discovery {
        background-color: #007acc;
      }
      
      .story .readmore-uxui {
        background-color: #e91e63; 
      }
      
      .story  .readmore-dev {
        background-color: #4caf50; 
      }
      
      .story  .readmore-testing {
        background-color: #ff9800; 
      }
      
      .story  .readmore-deploy {
        background-color: #9c27b0;
      }
      
      .story .story-button:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        filter: brightness(1.1);
    }





@media(max-width:1200px){
  .sub-section  .heading{
        font-size: 1.5rem;
    }
}

@media (max-width: 996px) {
    .story .line-wrapper {
        display: none;
    }

    .story .section {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

   
    .story .sub-section {
        justify-content: center;
        width: 100%;
        padding: 24px 0 12px 0;
    }
    .story .sub-section a {
        width: 100%;
        
    }


    .story .sub-section-2 {
        order: 3;
        padding: 12px 0 24px 0;
        width: 100%;
        max-width: 100%;
    }

    .story .story-image {
        height: 180px;
    }

    .story .text,
    .story .text-wrapper {
        font-size: 1rem;
    }

    .story .heading {
        font-size: 30px;
    }
}

.text {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-fill-color: #fff !important;
    opacity: 1 !important;
  }

.story-section-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.story-section-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}
