*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:poppins,sans-serif;
   
    
    overflow-x:hidden;
}

.spacer{
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
}

.spacer h1{
    font-size:60px;
}

.tech-section{
    /* height:100vh; */
    position:relative;
    overflow:hidden;
    background:#fffffc;
   
  
}

.sticky-wrapper{
    width:100%;
    height: 100vh;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
   
     
}

/* BACKGROUND LOOP TEXT */

.loop-background{
    position:absolute;
    inset:0;
    overflow:hidden;
    z-index:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:80px;
}

.loop-track{
    display:flex;
    width:max-content;
    animation:marquee 20s linear infinite;
}

.labels{
    display:flex;
    justify-content:center;
    gap:30px;
    margin:20px 0 25px;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#fff;
    opacity:.9;
}


.loop-track span{
    font-size:110px;
    font-weight:700;
    white-space:nowrap;
    margin-right:100px;
    
}
.orange-text{
    color:#F7941D; /* Orange */
}

.blue-text{
    color:#10256D; /* Dark Blue */
}

@keyframes marquee{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }
}

/* VIDEO */

.video-wrapper{
    position:relative;
    width:900px;
    height:500px;
    overflow:hidden;
    border-radius:20px;
       z-index:2;
}

.video-wrapper video{
    width:100%;
    height:100%;
    object-fit:cover;
}

.video-content{
    position:relative;
    inset:0;
    z-index: 2;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:#fff;

    transform:scale(.6);
}
.video-content h2{
    font-size:4rem;
}

.video-content p{
    max-width:500px;
}

.overlay{
    position:absolute;
    inset:0;
    background:#000;
    opacity:.35;
    border-radius:20px;
}

/* CONTENT */

.content-wrapper{
    position:absolute;
    width:90%;
    max-width:1300px;

    display:flex;
    justify-content:space-between;
    gap:80px;

    opacity:0;
    transform:translateY(80px);

    z-index:3;
}

.left-content{
    flex:1;
}

.left-content h2{
    font-size:64px;
    line-height:1.1;
    font-weight:600;
}

.right-content{
    flex:1;
    max-width:500px;
}

.right-content p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:25px;
}

.btn{
    display:inline-block;
    padding:14px 30px;
    
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.btn:hover{
    background:#fff;
    color:#000;
}

.video-content{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:5;
    color:#fff;
    text-align:center;
    transform:scale(.6);
}

.tabs{
    display:flex;
    gap:20px;
    margin-bottom:20px;
}

.tab{
    background:none;
    border:none;
    color:#fff;
    cursor:pointer;
    font-size:14px;
    opacity:.6;
}

.tab.active{
    opacity:1;
    color:#ff9c42;
}

.tab-content{
    width:600px;
    max-width:90%;
}

.content-item{
    display:none;
}

.content-item.active{
    display:block;
}

.content-item h2{
    font-size:64px;
    margin-bottom:15px;
}

.content-item span{
    color:#ff9c42;
}

.content-item p{
    margin-bottom:25px;
}

.progress{
    width:300px;
    height:4px;
    background:rgba(255,255,255,.2);
    margin-top:30px;
}

/* .progress-fill{
    width:0%;
    height:100%;
    background:#ffd500;
}
.progress-wrapper{
    width:700px;
    max-width:90%;
    display:flex;
    gap:8px;
    margin-top:12px;
}

.progress-segment{
    flex:1;
    height:4px;
    background:rgba(255,255,255,.25);
    cursor:pointer;
    overflow:hidden;
    border-radius:20px;
} */
 .progress-wrapper{
    width:500px;
    max-width:90%;
    display:flex;
    gap:6px;
    margin-top:20px;
}

.progress-segment{
    flex:1;
    height:1px;          /* reduced from 4px */
    background:rgba(255,255,255,.2);
    cursor:pointer;
    overflow:hidden;
    border-radius:20px;
}

.progress-fill{
    width:0%;
    height:100%;
    background:#F7941D;
}


.video-content{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:5;
    color:#fff;
    text-align:center;
    transform:scale(.6);
}
.tabs{
    display:flex;
    gap:20px;
    margin-bottom:30px;
    flex-wrap:wrap;
}

.tab{
    background:none;
    border:none;
    color:#fff;
    opacity:.5;
    cursor:pointer;
    font-size:14px;
    transition:.3s;
}

.tab.active{
    color:#ff9c42;
    opacity:1;
}

.slide{
    display:none;
    max-width:600px;
}

.slide.active{
    display:block;
}

.slide h2{
    font-size:64px;
    margin-bottom:15px;
}

.slide span{
    color:#ff9c42;
}

.slide p{
    max-width:600px;
    margin:0 auto 30px;
    line-height:1.7;
    font-size:18px;
}


.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 30px;
    border-radius:50px;
    background:#F7941D;
    color:#fff;
    text-decoration:none;
}

.progress{
    width:500px;
    max-width:90%;
    height:3px;
    background:rgba(255,255,255,.2);
    margin-top:30px;
}

.progress-fill{
    width:0%;
    height:100%;
    background:#ff9c42;
}


@media(max-width:991px){

    .video-wrapper{
        width:90%;
    }

    .content-wrapper{
        flex-direction:column;
        gap:30px;
    }

    .left-content h2{
        font-size:42px;
    }

    .loop-track span{
        font-size:60px;
    }
}


/* =========================
   TABLET
========================= */

@media (max-width: 1024px){

    .video-wrapper{
        width:80%;
        height:450px;
    }

    .video-content h2{
        font-size:48px;
    }

    .slide p{
        font-size:16px;
        max-width:500px;
    }

    .loop-track span{
        font-size:80px;
    }

    .labels{
        gap:20px;
        font-size:13px;
    }

    .progress-wrapper{
        width:80%;
    }
}


/* =========================
   LARGE MOBILE
========================= */

@media (max-width: 768px){

    .video-wrapper{
        width:90%;
        height:400px;
        border-radius:16px;
    }

    .video-content h2{
        font-size:38px;
        line-height:1.2;
    }

    .slide p{
        max-width:90%;
        font-size:15px;
        line-height:1.6;
    }

    .labels{
        gap:15px;
        font-size:12px;
        flex-wrap:wrap;
    }

    .btn{
        padding:12px 24px;
        font-size:14px;
    }

    .progress-wrapper{
        width:90%;
    }

    .loop-track span{
        font-size:65px;
        margin-right:60px;
    }
}


/* =========================
   IPHONE / ANDROID
========================= */

@media (max-width: 576px){

    .video-wrapper{
        width:92%;
        height:320px;
    }

    .video-content{
        padding:20px;
    }

    .video-content h2{
        font-size:30px;
        margin-bottom:10px;
    }

    .labels{
        gap:10px;
        margin:12px 0 18px;
        font-size:11px;
    }

    .slide p{
        font-size:14px;
        max-width:100%;
        margin-bottom:20px;
    }

    .btn{
        padding:10px 20px;
        font-size:13px;
    }

    .progress-wrapper{
        width:100%;
        margin-top:15px;
    }

    .loop-track span{
        font-size:50px;
        margin-right:40px;
    }
}


/* =========================
   SMALL IPHONE SE
========================= */

@media (max-width: 390px){

    .video-wrapper{
        height:280px;
    }

    .video-content h2{
        font-size:24px;
    }

    .slide p{
        font-size:13px;
    }

    .labels{
        font-size:10px;
        gap:8px;
    }

    .btn{
        padding:8px 18px;
        font-size:12px;
    }

    .loop-track span{
        font-size:38px;
    }
}