.advance-performance {
    background: radial-gradient(66.22% 161.98% at 62.44% 79.78%, #2581C4 0%, #009982 100%);
    padding: 0;
}

.advance-performance h2{
    color:#fff;

}

.advance-wrapper{
    overflow: visible;
}

.advance-wrapper p{
opacity:0;
}
/* COMMON â€” GSAP owns transform/opacity (no CSS transition) */
.advance-performance .content-box{
    position: absolute;
    opacity: 1;
    will-change: transform;
}


.advance-performance .content-box img{
    width: 100%;
    display: block;
}

.advance-performance .content{
    position: absolute;
    color: #fff;
    opacity: 1;
}
.advance-performance .content p{
    opacity: 0;
}
.advance-performance .content h3{
    font-size: 28px;
    margin-top: 25px;
    margin-bottom: 0;
    font-weight: 600;
}

.advance-performance .content h3 {
    font-size: 1.25vw;
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: 600;
    color: #fff;
    line-height: 1.5vw;
    margin-bottom:20px;
}
/* LEFT TOP */
.hydroforming-box{
    top: 0;
    left: 0;
}

.hydroforming-box .content {
    top: 70px;
    left: 0;
    width: 350px;
    text-align: center;
    padding-right: 4vw;
}
.hydroforming-box h3 {
    text-align: end;
}
.advance-performance p {
    color: #fff;
    font-weight: 300;
    line-height: 1.5vw;
    font-size: 0.97vw;
}
.content-box.tube-box .content {
    padding-left: 4.5vw;
}
/* RIGHT TOP */
.tube-box{
    top: 0;
    right: 0;
}

.tube-box .content {
    top: 75px;
    right: 0;
    width: 350px;
}

/* CENTER */
.bike-center{
    position: absolute;
    left: 50%;
    top: 48%;
    text-align: center;
    opacity: 0;
    z-index: 50;
    pointer-events: none;
    will-change: transform, opacity;
}
.bike-center img{
    width: 550px;
    max-width: 55vw;
    height: auto;
}

.bike-center h4{
    color: #fff;
    font-size: 1.87vw;
    font-weight: 400;
    margin-top: 20px;
    line-height: 1.1;
    font-family: "Architects Daughter", cursive;
}

/* LEFT BOTTOM */
.cold-box{
    bottom: 0;
    left: 0;
}

.cold-box .content {
    top: 30px;
    left: 0;
    width: 350px;
    text-align: end;
    padding-right: 4vw;
}

/* RIGHT BOTTOM */
.laser-box{
    bottom: 0;
    right: 0;
}

.laser-box .content {
    top: 30px;
    right: -20px;
    width: 380px;
    padding-left: 5vw;
}
.advance-wrapper.active .hydroforming-box{
    left: 0px;
    opacity: 1;
}


.advance-wrapper.active .tube-box{
    right: 0px;
    opacity: 1;
}
.advance-wrapper.active .cold-box{
    left: 0px;
    opacity: 1;
}

.advance-wrapper.active .laser-box{
    right: 0px;
    opacity: 1;
}

/* SHOW TITLE ONLY */
.advance-wrapper.active .content{
    opacity: 1;
}

/* =========================
   STEP 2
   EXPAND + BIKE SHOW
========================= */

.advance-wrapper.expand{
    width: 100%;
}

/* GSAP owns bike + box motion during scroll â€” no CSS transform overrides */
.advance-wrapper.expand .bike-center{
    opacity: 1;
}

/* paragraphs appear */
.advance-wrapper.expand .content p{
    opacity: 1;
    transform: translateY(0);
}
.content-box.hydroforming-box p {
    text-align: end;
    color: #fff;
}
.advance-performance .logos_sec .img-box {
    width: 195px;
    height: 165px;
    /* object-fit: cover; */
    background: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.advance-performance .logos_div h6 {
    color: #fff;
    font-size: 1vw;
    line-height: 1.3vw;
    margin-top: 15px;
    text-align: center;
}
.advance-performance .logos_sec {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    width: 100%;
    margin-top: auto;
    margin-bottom: 2vh;
    padding: 0 2vw;
}

.consecutive-years {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36%;
    margin: 0 auto 100px;
    margin-left: 41%;
    margin-top: 00px;
}
.cons_content h4 {
    font-size: 1.875vw;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
}
.advance-performance .nos_cons {
    font-size: 19vw;
    color: #fff;
    font-weight: 600;
    padding-right: 10px;
    line-height: 12vw;
}
.advance-performance .cons_content p {
    font-size: 1.313vw;
    line-height: 1.75vw;
    font-weight: 500;
}

.advance-performance .logos_wrapp {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    padding: 0 2vw 4vh;
    margin-top: auto;
    margin-bottom: 0;
}
.advance-performance .logos_wrapp .logos_single {
    background: #fff;
    width: 200px;
    height: 140px;
    padding: 10px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.consecutive_div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 4vh auto 0;
    flex: 1;
    padding: 0 4vw;
    box-sizing: border-box;
}
.advance-wrapper4 h3 {
    font-size: 4.25vw;
    font-weight: 700;
    text-align: center;
    color: #fff;
    line-height: 4.187vw;
    /* background: linear-gradient(90deg, #1976d2, #00d4c8); */
    /* background: linear-gradient(90deg, #49abb4, #1e85b9); */
    padding-top: 0vw;
    position: relative;
    top: 0;
    margin: 0;
}
 
.advance-wrapper4 h3 {
    top: -22% !important;
}

 
.advance-wrapper4 .advance-heading-line {
    display: block;
    background: linear-gradient(135deg, #009982 0%, #2581C4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.advance-wrapper4 {
    background: #fff;
    padding: 50px 40px 4vw !important;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    height:90vh;
}
.advance-wrapper3 {
    padding-top: 0;
}
.advance-wrapper.expand .cold-box h3 {
    margin-bottom: 20px;
}

/* =========================================================
INITIAL GSAP STATES
========================================================= */

/* Wrapper 2â€“4 visibility: GSAP only (no CSS transform â€” avoids fighting inline styles) */
.advance-wrapper2,
.advance-wrapper3,
.advance-wrapper4 {
    opacity: 0;
    pointer-events: none;
}

.advance-wrapper3 .logos_wrapp,
.advance-wrapper3 .consecutive_div,
.advance-wrapper2 .logos_sec,
.advance-wrapper4 .advance-heading-line {
    opacity: 0;
}
/* â”€â”€ Pinned section + stage (below main heading) â”€â”€ */
.advance-performance {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.advance-performance > h2.heading_page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    margin: 0;
    padding: 2.5vw 1.5vw 1vw;
    pointer-events: none;
}

.advance-wrapper,
.advance-wrapper2,
.advance-wrapper3,
.advance-wrapper4 {
    position: absolute;
    top: 5.5vw;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.advance-wrapper {
    z-index: 1;
}

.advance-wrapper2 {
    z-index: 2;
    justify-content: flex-start;
    padding-top: 0vw;
}

.advance-wrapper3 {
    z-index: 3;
    justify-content: flex-start;
    padding-top: 0vw;
}

.advance-wrapper4 {
    z-index: 4;
    justify-content: flex-end;
    padding-bottom: 0;
    pointer-events: none;
}

.advance-wrapper4 h3 {
    pointer-events: auto;
}

/* "Tested, Traced, Trusted" â€” wrapper2 + wrapper3 */
.advance-wrapper2 > h2.heading_page,
.advance-wrapper3 > h2.heading_page {
    position: relative;
    z-index: 8;
    width: 100%;
    color: #fff;
    font-size: clamp(28px, 3.2vw, 52px);
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    margin: 0;
    padding: clamp(4px, 1vh, 16px) 0 0;
}

/* Quadrant stage â€” fixed aspect box, centered */
.advance-wrapper .container {
    position: relative;
    width: 670px;
    height: 500px;
    max-width: min(670px, 88vw);
/*    max-height: min(500px, 58vh);*/
    margin: 0 auto;
    flex-shrink: 0;
}
.advance-performance .advance-wrapper3 .logos_wrapp .logos_single {
    width: 170px;
    border-radius:10px;
}

@media (max-width: 992px) {
    .advance-performance {
        cursor: pointer;
        touch-action: manipulation;
    }

@media (max-width: 992px) {
        .advance-performance {
          position: relative !important;
          height: auto !important;
          min-height: 0 !important;
          overflow: visible !important;
        }
        .advance-performance > h2.heading_page {
          position: relative !important;
          pointer-events: auto !important;
        }
        .advance-wrapper,
        .advance-wrapper2,
        .advance-wrapper3,
        .advance-wrapper4 {
          position: relative !important;
          top: auto !important;
          left: auto !important;
          right: auto !important;
          bottom: auto !important;
          width: 100% !important;
          height: auto !important;
          min-height: 100vh !important;
          opacity: 1 !important;
          visibility: visible !important;
          pointer-events: auto !important;
          transform: none !important;
        }
        .advance-wrapper2,
        .advance-wrapper3,
        .advance-wrapper4,
        .advance-wrapper3 .logos_wrapp,
        .advance-wrapper3 .consecutive_div,
        .advance-wrapper2 .logos_sec,
        .advance-wrapper4 .advance-heading-line {
          opacity: 1 !important;
          visibility: visible !important;
        }
        .advance-performance .bike-center {
          position: relative !important;
          left: auto !important;
          top: auto !important;
          width: 100% !important;
          opacity: 1 !important;
          visibility: visible !important;
          transform: none !important;
          margin: 2rem auto !important;
          text-align: center !important;
        }
        .advance-performance .bike-center img {
          width: auto !important;
          max-width: 55vw !important;
          height: auto !important;
        }
      }




}

@media (max-width: 992px) {
    .advance-performance {
      position: relative !important;
      height: auto !important;
      min-height: 0 !important;
      overflow: visible !important;
    }
    .advance-performance > h2.heading_page {
      position: relative !important;
      pointer-events: auto !important;
    }
    .advance-wrapper,
    .advance-wrapper2,
    .advance-wrapper3,
    .advance-wrapper4 {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      width: 100% !important;
      height: auto !important;
      min-height: auto !important;
      opacity: 1 !important;
      visibility: visible !important;
      pointer-events: auto !important;
      transform: none !important;
    }
    .advance-wrapper2,
    .advance-wrapper3,
    .advance-wrapper4,
    .advance-wrapper3 .logos_wrapp,
    .advance-wrapper3 .consecutive_div,
    .advance-wrapper2 .logos_sec,
    .advance-wrapper4 .advance-heading-line {
      opacity: 1 !important;
      visibility: visible !important;
    }
    .advance-performance .bike-center {
      position: relative !important;
      left: auto !important;
      top: auto !important;
      width: 100% !important;
      opacity: 1 !important;
      visibility: visible !important;
      transform: none !important;
      margin: 2rem auto !important;
      text-align: center !important;
    }
    .advance-performance .bike-center img {
      width: auto !important;
      max-width: 55vw !important;
      height: auto !important;
    }
  }