*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family: "Manrope", sans-serif;
    background:
    linear-gradient(
    135deg,
    #061C3F 0%,
    #0B2E63 40%,
    #091e3e 100%
    );
    background-size:300% 300%;
    color:#ffffff;
    opacity:0;
    animation:
        pageFadeIn .9s ease forwards,
        gradientShift 20s ease-in-out infinite .9s;
}

#pageLoader{
    position:fixed; inset:0; z-index:9999;
    background:#061C3F;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:20px;
}
.loader-logo{ font-size:28px; font-weight:800; color:#fff; letter-spacing:-1px; }
.loader-bar{ width:200px; height:3px; background:rgba(255,255,255,.1); border-radius:99px; overflow:hidden; }
.loader-fill{ width:0%; height:100%; background:#2563EB; }




/* -------------------- */
/* BACK BUTTON (UPDATED) */
/* -------------------- */
.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #061C3F 0%, #0B2E63 60%, #091e3e 100%);
    color: #ffffff;
    border: none;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}

.back-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform .3s ease;
}

.back-btn:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 10px 25px rgba(11,46,99,.5);
}

.back-btn:hover svg {
    transform: translateX(-3px);
}




/* ==========================================
   GLOBAL TRANSITIONS FOR NAV TOGGLE
   ========================================== */
.page-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid #BFDBFE;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hamburger default state (Hidden on desktop) */
.hamburger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 12px;
    position: relative;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #2563EB;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Open State Animation for Hamburger */
.page-nav.open .hamburger-icon span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
.page-nav.open .hamburger-icon span:nth-child(2) {
    opacity: 0;
}
.page-nav.open .hamburger-icon span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}


/* -------------------- */
/* PAGE DROPDOWN NAV */
/* -------------------- */
.page-nav{
    position:fixed;
    top:24px;
    right:24px;
    z-index:500;
}
.page-nav-toggle{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 20px;
    border-radius:999px;
    background:#EFF6FF;
    color:#2563EB;
    border:1px solid #BFDBFE;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.page-nav-toggle:hover{
    transform:translateY(-2px) scale(1.04);
    box-shadow:0 8px 20px rgba(37,99,235,.18);
}
.page-nav-toggle svg{
    width:14px;
    height:14px;
    transition:transform .3s ease;
}
.page-nav.open .page-nav-toggle svg{
    transform:rotate(180deg);
}
.page-nav-menu{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    min-width:220px;
    background:#ffffff;
    border:1px solid #E5E7EB;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(15,23,42,.18);
    padding:10px;
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    max-height:70vh;
    overflow-y:auto;
    transition:opacity .25s ease, transform .25s ease, visibility .25s;
}
.page-nav.open .page-nav-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.page-nav-menu a{
    display:block;
    padding:11px 16px;
    border-radius:12px;
    color:#334155;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    transition:background .2s ease, color .2s ease, transform .2s ease;
}
.page-nav-menu a:hover{
    background:#EFF6FF;
    color:#2563EB;
    transform:translateX(3px);
}
.page-nav-menu a.current{
    background:#2563EB;
    color:#fff;
}




/* -------------------- */
/* NEW: entrance + ambient background motion */
/* -------------------- */
@keyframes pageFadeIn{
    to{ opacity:1; }
}
@keyframes gradientShift{
    0%{ background-position:0% 50%; }
    50%{ background-position:100% 50%; }
    100%{ background-position:0% 50%; }
}

.showcase{
    display:grid;
    grid-template-columns:48% 52%;
    min-height:100vh;
}

/* -------------------- */
/* LEFT PANEL */
/* -------------------- */

.left-panel{
    position:sticky;
    top:0;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:60px;
    background:#F8FAFC;
    border-right:1px solid #E5E7EB;
    overflow:hidden;
}

.left-panel::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:radial-gradient(
        circle,
        rgba(37,99,235,.18),
        transparent 70%
    );
    top:-150px;
    left:-120px;
    filter:blur(40px);
    animation: floatBlobA 13s ease-in-out infinite;
    will-change: transform;
}

.left-panel::after{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    background:radial-gradient(
        circle,
        rgba(59,130,246,.15),
        transparent 70%
    );
    bottom:-100px;
    right:-80px;
    filter:blur(30px);
    animation: floatBlobB 16s ease-in-out infinite;
    will-change: transform;
}

/* NEW: gentle floating ambient blobs */
@keyframes floatBlobA{
    0%,100%{ transform:translate(0,0) scale(1); }
    50%{ transform:translate(35px,25px) scale(1.12); }
}
@keyframes floatBlobB{
    0%,100%{ transform:translate(0,0) scale(1); }
    50%{ transform:translate(-30px,-20px) scale(1.18); }
}

.left-content{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:38px;
    width:100%;
    perspective:1000px; /* NEW: enables 3D tilt on preview-card */
}

.preview-card{
    width:100%;
    max-width:650px;
    height: 24rem;
    border-radius:30px;
    /*border:1px solid rgba(255,255,255,.08);*/
    overflow:hidden;
    transition:transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s ease;
    position:relative;
    transform-style:preserve-3d;
}
.preview-card:hover{
    box-shadow:
    0 25px 70px rgba(15,23,42,.12);
}

/* NEW: light-sweep shine overlay on hover */
.preview-card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:3;
    pointer-events:none;
    background:linear-gradient(115deg, transparent 25%, rgba(255,255,255,.28) 48%, transparent 70%);
    transform:translateX(-120%);
}
.preview-card:hover::before{
    animation:shineSweep 1.1s ease;
}
@keyframes shineSweep{
    to{ transform:translateX(120%); }
}

.preview-card video,
.preview-card img{
    width:100%;
    height:100%;
    object-fit:fill;
}

/* -------------------- */
/* RIGHT */
/* -------------------- */

.right-panel{
    padding:85px 100px;
    position:relative;
    overflow:hidden;
}

/* ambient floating glow blobs, right panel ko "alive" feel dene ke liye */
.right-panel::before{
    content:"";
    position:fixed;
    width:600px; height:600px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(59,130,235,.16), transparent 70%);
    top:8%;
    right:-220px;
    filter:blur(60px);
    animation: floatBlobC 18s ease-in-out infinite;
    pointer-events:none;
    z-index:0;
}
.right-panel::after{
    content:"";
    position:fixed;
    width:450px; height:450px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(139,180,255,.13), transparent 70%);
    bottom:12%;
    left:52%;
    filter:blur(50px);
    animation: floatBlobD 22s ease-in-out infinite;
    pointer-events:none;
    z-index:0;
}
@keyframes floatBlobC{
    0%,100%{ transform:translate(0,0) scale(1); }
    50%{ transform:translate(-40px,30px) scale(1.15); }
}
@keyframes floatBlobD{
    0%,100%{ transform:translate(0,0) scale(1); }
    50%{ transform:translate(30px,-25px) scale(1.1); }
}

/* floating ambient particles */
.ambient-particles{
    position:fixed;
    top:0;
    left:48%;
    right:0;
    bottom:0;
    z-index:0;
    pointer-events:none;
    overflow:hidden;
}
.particle{
    position:absolute;
    width:6px; height:6px;
    border-radius:50%;
    background:rgba(147,197,253,.55);
    box-shadow:0 0 12px rgba(147,197,253,.6);
    bottom:0;
    animation: particleFloat 18s linear infinite;
}
.p1{ left:8%;  animation-duration:16s; animation-delay:0s;   }
.p2{ left:22%; animation-duration:20s; animation-delay:-4s;  }
.p3{ left:45%; animation-duration:15s; animation-delay:-8s;  }
.p4{ left:63%; animation-duration:22s; animation-delay:-2s;  }
.p5{ left:78%; animation-duration:18s; animation-delay:-10s; }
.p6{ left:90%; animation-duration:17s; animation-delay:-6s;  }

@keyframes particleFloat{
    0%{ transform:translateY(110vh) scale(.6); opacity:0; }
    10%{ opacity:.8; }
    90%{ opacity:.6; }
    100%{ transform:translateY(-120vh) scale(1); opacity:0; }
}

/* keep real content above the ambient layer */
.hero, .product{
    position:relative;
    z-index:1;
}


.hero{
    margin-bottom:60px;
}

.tag{
    display:inline-flex;
    padding:10px 20px;
    border-radius:999px;
    background:#EFF6FF;
    color:#2563EB;
    border:1px solid #BFDBFE;
    font-size:14px;
    font-weight:700;
    margin-bottom:28px;
    transition:transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.tag:hover{
    transform:translateY(-2px) scale(1.04);
    box-shadow:0 8px 20px rgba(37,99,235,.18);
}
.hero h1{
    font-size:50px;
    line-height:1.05;
    padding-bottom:8px;
    letter-spacing:-2px;
    font-weight:800;
    margin-bottom:15px;
    max-width:750px;
    background:linear-gradient(120deg,#ffffff 40%,#8fb4ff 55%,#ffffff 70%);
    background-size:220% auto;
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    animation:heroShine 6s linear infinite 1.4s;
}

/* subtle animated shine sweeping across the headline */
@keyframes heroShine{
    0%{ background-position:0% 50%; }
    100%{ background-position:-220% 50%; }
}
.hero p{
    font-size:16px;
    color:#fff;
    line-height:1.9;
    max-width:700px;
    display: none;
}

/* -------------------- */
/* PRODUCT */
/* -------------------- */

.preview-heading{
    display:flex; align-items:center; gap:14px;
    width:100%; max-width:650px;

}
.preview-heading-num{
    font-size:16px; font-weight:800; color:#2563EB;
    background:#EFF6FF; border:1px solid #BFDBFE;
    padding:4px 10px; border-radius:999px;
}
.preview-heading h3{
    font-size:32px; font-weight:800; color:#0B2E63;
}

.product{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.08);
    padding:60px;
    margin-bottom:80px;
    border-radius:30px;
    box-shadow:
    0 20px 60px rgba(0,0,0,.20);

    /* NEW: default = smaller + dimmed */
    --scale: 0.90;
    transform: scale(var(--scale));
    opacity: .45;
    filter: saturate(.7);
    transition:
        transform .5s cubic-bezier(.22,1,.36,1),
        opacity .5s ease,
        filter .5s ease,
        box-shadow .5s ease,
        border-color .3s ease;
}
.product:hover{
    border-color:#CBD5E1;
    box-shadow:
    0 25px 60px rgba(15,23,42,.10);
    transform: translateY(-6px) scale(var(--scale));
}
.product.active{
    border:1px solid #ffffff;
    animation:activeGlow 3.2s ease-in-out infinite;

    /* NEW: active = bigger + fully visible */
    --scale: 1;
    opacity: 1;
    filter: saturate(1);
}
/* gentle breathing glow to draw the eye to the active card */
@keyframes activeGlow{
    0%,100%{ box-shadow:0 30px 80px rgba(37,99,235,.12); }
    50%{ box-shadow:0 30px 95px rgba(37,99,235,.30); }
}

.index{
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#EFF6FF;
    color:#2563EB;
    border:1px solid #BFDBFE;
    font-size:18px;
    font-weight:800;
    margin-bottom:30px;
    transition:transform .45s cubic-bezier(.34,1.56,.64,1), background .3s ease, color .3s ease;
}
.product:hover .index{
    transform:rotate(-8deg) scale(1.1);
    background:#2563EB;
    color:#fff;
}

.category-label{
    display:inline-block;
    font-size:13px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:#93C5FD;
    margin-bottom:14px;
}

.product h2{
    font-size:42px;
    font-weight:800;
    letter-spacing:-1px;
    margin-bottom:22px;
}
.product p{
    font-size:16px;
    color:#ffffffb3;
    line-height:1.9;
    margin-bottom:38px;
}

.features{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}
.features span{
    padding:12px 20px;
    background:#F8FAFC;
    border:1px solid #E2E8F0;
    border-radius:999px;
    color:#334155;
    font-weight:600;
    transition:transform .3s cubic-bezier(.34,1.56,.64,1), background .3s ease, color .3s ease, border-color .3s ease;
}
.features span:hover{
    background:#2563EB;
    color:white;
    border-color:#2563EB;
    transform:translateY(-4px) scale(1.06);
}

.product-header{
    display:flex;
    align-items:center;
    gap:24px;
    margin-bottom:30px;
}
.product-header .index{
    margin-bottom:0;
    flex-shrink:0;
}
.product-header h2{
    margin-bottom:0;
    font-size:40px;
    line-height:1.15;
}


/* -------------------- */
/* WORKFLOW MARQUEE — same proven mechanism as the testimonials marquee */
/* -------------------- */

.marquee-track{ width:100%; overflow:hidden; position:relative; padding:20px 0; }
.marquee-track::before, .marquee-track::after{
    content:''; position:absolute; top:0; bottom:0; z-index:2; pointer-events:none;
}
.marquee-track::before{ left:0; background:linear-gradient(90deg,#F8FAFC,transparent); }
.marquee-track::after{ right:0; background:linear-gradient(-90deg,#F8FAFC,transparent); }

.marquee-inner{
    display:flex;
    align-items:center;
    gap:12px;
    width:max-content;
    --loop-distance: -50%;   /* ← ye ek line add karo */
    animation: marqueeScroll 22s linear infinite;
}

.marquee-track:hover .marquee-inner{ animation-play-state: paused; }

@keyframes marqueeScroll{
    0%{ transform:translateX(0); }
    100%{ transform:translateX(var(--loop-distance, -50%)); }
}

.step{
    width:150px;
    height:170px;
    background:#0d274d;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    padding:22px 14px;
    transition:box-shadow .35s ease, border-color .35s ease;
    flex-shrink:0;
    overflow:hidden;
    pointer-events:none;      /* ← YE LINE ADD KARO — isse individual card pe hover trigger hi nahi hoga */

}
/*.step:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,.25);
    border-color:rgba(255,255,255,.25);
}*/




.preview-media-group{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap: 38px;             /* jo gap pehle .left-content de raha tha (38px),
                            wahi maintain karne ke liye niche note dekho */
    width:100%;
}







.icon{
    width:70px;
    height:70px;
    min-width:70px;         /* ← ye add karo, flex shrink se bachne ke liye */
    min-height:70px;        /* ← ye bhi add karo */
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    color:#fff;
    margin-bottom:18px;
    box-shadow:0 8px 18px rgba(0,0,0,.25);
    transition:transform .4s cubic-bezier(.34,1.56,.64,1);
    flex-shrink:0;           /* ← ye add karo — flex parent ke andar squeeze hone se bachayega */
}
.step:hover .icon{
    transform:scale(1.14) rotate(-8deg);
}

.upload{ background:#1d73e8; }
.extract{ background:#7b3fe4; }
.process{ background:#f4b000; }
.analyze{ background:#2ea84f; }
.ai{ background:#1b74d8; }
.result{ background:#df3d83; }
.secure{ background:#2ea84f; }

.marquee-track{ transition: opacity .25s; }

.step h4{
    text-align:center;
    font-size:14px;         /* ← 18px se 14px kiya */
    line-height:1.3;        /* ← 1.4 se 1.3, thoda tight */
    font-weight:700;
    color:#fff;
}

.arrow{
    width:40px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0B2E63;
    font-size:26px;
    opacity:.9;
    flex-shrink:0;
}

.workflow-footer{
    display:flex; justify-content:space-between; align-items:center;
    width:100%; max-width:650px; padding:0 10px;
}
.workflow-label{
    font-size:13px; font-weight:700; color:#64748B;
}
.scroll-hint{
    font-size:12px; font-weight:600; color:#2563EB;
    display:flex; align-items:center; gap:6px;
    animation: hintBounce 1.6s ease-in-out infinite;
}
@keyframes hintBounce{
    0%,100%{ transform:translateY(0); opacity:.7; }
    50%{ transform:translateY(4px); opacity:1; }
}



/* NEW: video lightbox */
.preview-card{
    cursor: zoom-in;
}
#videoLightbox{
    position:fixed; inset:0; z-index:10000;
    background:rgba(6,28,63,.92);
    display:none;
    align-items:center; justify-content:center;
    padding:40px;
    opacity:0;
}
#videoLightbox.open{
    display:flex;
}
#videoLightbox video{
    max-width:90vw;
    max-height:85vh;
    border-radius:20px;
    box-shadow:0 30px 90px rgba(0,0,0,.5);
    object-fit:contain !important; /* lightbox me proper aspect ratio dikhega */
}
#videoLightboxClose{
    position:absolute;
    top:30px; right:40px;
    width:46px; height:46px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.2);
    color:#fff;
    font-size:20px;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer;
    transition:background .25s ease, transform .25s ease;
}
#videoLightboxClose:hover{
    background:rgba(255,255,255,.2);
    transform:scale(1.08);
}



@media(max-width: 1440px){
    .left-panel{
            padding: 85px 60px 50px 60px;
    }
    .left-content{
        gap: 40px;
    }
    .preview-media-group {

        gap: 20px;
    }
    .marquee-track {
        padding: 0 0;
    }
    .hero {
    margin-bottom: 45px;
}
    .product{
            padding: 48px;
    }
    .product-header h2 {
        font-size: 35px;
    }

}



@media(max-width:1200px) {


    .right-panel {
        padding: 70px 60px;
    }
    .left-content {
    gap: 62px;
    }
    .left-panel {
        padding: 70px 60px;
    }

    .product {
        display: block;
        height: 52vh;
        padding: 50px 32px;
        align-content: center;
        margin-bottom: 60px;
    }
    .index{

    width: 38px;
    height: 38px;
        font-size: 16px;
    }

    .product-header h2 {

    font-size: 28px;
    }

    .product p {
        font-size: 14px;
        line-height: 1.5;
    }
    .features span {
        padding: 8px 16px;
    }
    .hero {
    margin-bottom: 42px;
}

    .hero p{
        font-size: 14px;
        line-height: 1.5;
    }
    .tag{
        padding: 8px 16px;

    }
    .hero h1{
        font-size: 38px;
    }
    .preview-heading h3 {
        font-size: 23px;
    }
    .preview-heading-num {
        font-size: 12px;
        padding: 4px 8px;
    }

    .preview-card {
        height: 18rem;
        border-radius: 20px;
    }
        .step {
        display: block;
        width: 130px;
        height: 145px;
        padding: 12px 12px;
        justify-items: center;
        align-items: center;
        align-content: center;
    }

.icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    font-size: 20px;
}
.step h4 {

    font-size: 12px;
}
    .page-nav{
        top:16px;
        right:16px;
    }
    .page-nav-toggle{
        padding:8px 16px;
        font-size:13px;
    }

    .back-btn {
        top: 16px;
        left: 16px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        /* Purana padding hata diya taaki circle shape kharab na ho */
    }
    .back-btn svg {
        width: 16px;
        height: 16px;
    }
        .preview-media-group {
        gap: 62px;
    }




}


@media(max-width:1024px) {

        .right-panel {
        padding: 70px 38px;
    }
        .left-panel {
        padding: 70px 38px;
    }
}



@media(max-width:768px) {
    /* 1. Reset Showcase Grid layout completely */
    .showcase {
        display: flex;
        flex-direction: column; /* Stack left panel on top, right panel below */
        min-height: auto;
    }

    /* 2. Fix Left Panel sticky behavior and height */
    .left-panel {
        position: sticky;
        top: 0;
        height: auto;
        min-height: auto;
        width: 100%;
        padding: 24px 16px;
        z-index: 10; /* Ensures it stays clean as you scroll */
        border-right: none;
        border-bottom: 1px solid #E5E7EB; /* Replaces right border with a bottom boundary */
    }
        .left-content {
        gap: 28px;
    }

    /* 3. Ensure Right Panel sits cleanly below */
    .right-panel {
        width: 100%;
        position: relative;
        z-index: 1;
        padding: 30px 20px; /* Reduced padding for cleaner presentation on mobile devices */
    }

    /* 4. Fix Product Card scaling issues on mobile screen limits */
    .product {
        width: 70%;
        margin-bottom: 22px;
        height: auto !important; /* Changed from 52vh to prevent text clipping */
        padding: 30px 20px;
        --scale: 0.90;
        transform: scale(var(--scale));
        opacity: .45;
        filter: saturate(.7);
        transition:
            transform .5s cubic-bezier(.22,1,.36,1),
            opacity .5s ease,
            filter .5s ease,
            box-shadow .5s ease,
            border-color .3s ease;
        }

    /* 5. Clean layout flow for preview items */
    .preview-media-group {
        display: flex;
        flex-direction: row;
        gap: 85px;
        width: 100%;
    }

    .preview-card {
        height: 250px; /* Sets an optimal height profile for mobile screens */
    }

    /* 1. Track ko vertical bounding box banayein */
    .marquee-track {
        height: 250px; /* Apne hisab se height adjust kar sakte hain */
        overflow: hidden;
        position: relative;
    }

    .marquee-track {
        width: 24%;
    }

    /* Gradient overlays ko top/bottom me badlein */
    .marquee-track::before {
        left: 0; right: 0; top: 0; bottom: auto;
        height: 40px; width: 100%;
        background: linear-gradient(180deg, #F8FAFC, transparent);
    }
    .marquee-track::after {
        left: 0; right: 0; bottom: 0; top: auto;
        height: 40px; width: 100%;
        background: linear-gradient(0deg, #F8FAFC, transparent);
    }

    /* 2. Inner container ko row se column layout me badlein */
    .marquee-inner {
        flex-direction: column !important;
        align-items: center;
        width: 100% !important;
        height: max-content;
        /* Custom variable for vertical loop height */
        --loop-vertical: -50%;
        animation: marqueeScrollVertical 15s linear infinite !important;
    }

    /* 3. Naya Vertical Animation Rule */
    @keyframes marqueeScrollVertical {
        0% { transform: translateY(0); }
        100% { transform: translateY(var(--loop-vertical, -50%)); }
    }

    /* Arrows standard flow me vertical ho jayein */
    .arrow {
        transform: rotate(90deg); /* Horizontal arrow ko vertical down/up point karne ke liye */
        height: 40px;
        width: auto;
    }

    .hero {
    margin-bottom: 5px;
                display: flex;
        flex-direction: column;
        align-items: center;    /* Horizontal centering */
        text-align: center;     /* Text baseline centering */
        width: 100%;
}
        .hero h1 {
        font-size: 32px;
            margin-bottom: 8px;
        max-width: 100%;        /* Mobile par full width space use karne ke liye */
        background: linear-gradient(120deg, #ffffff 30%, #8fb4ff 50%, #ffffff 70%); /* Alignment ko center (50%) kiya */
        background-size: 220% auto;
        -webkit-background-clip: text;
        background-clip: text;
        margin-left: auto;      /* Centering fix for block elements */
        margin-right: auto;
    }
    .hero p {
                font-size: 12px;
        max-width: 500px;       /* Text zyada stretch na ho aur chota clean paragraph dikhe */
        margin-left: auto;
        margin-right: auto;
    }
        .tag {
        padding: 4px 8px;
        margin-bottom: 16px;
        margin-left: auto;
        margin-right: auto;
    }
            .index {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
                .features span {
        padding: 4px 8px;
                    font-size: 14px;
    }

    .products-wrapper{
        display: block;
        align-items: center;
        justify-items: center;
    }
        .step {

            width: 120px;
            height: 130px;
            padding: 10px 10px;
        }
            .icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        font-size: 16px;
    }
    .right-content {
        display: block;
        justify-items: center;
    }


    .back-btn{
        display: none;
    }

    .preview-heading {
        max-width: 710px;
    }
    .workflow-footer {
        max-width: 710px;
    }


}



/* ==========================================
   MOBILE LAYOUT CONFIGURATION (max-width: 576px)
   ========================================== */
@media(max-width: 576px) {

    .loader-logo {
        font-size: 18px;
    }
    .loader-bar {
        width: 150px;
    }

    /* 1. Track ko wapas full width aur horizontal banayein */
    .marquee-track {
        width: 100% !important;
        height: auto !important; /* Vertical height khatam */
        overflow: hidden;
        padding: 10px 0;
    }

    /* Gradients ko wapas left aur right side shift karein */
    .marquee-track::before {
        left: 0; right: auto; top: 0; bottom: 0;
        width: 50px; height: 100% !important;
        background: linear-gradient(90deg, #F8FAFC, transparent) !important;
    }
    .marquee-track::after {
        right: 0; left: auto; top: 0; bottom: 0;
        width: 50px; height: 100% !important;
        background: linear-gradient(-90deg, #F8FAFC, transparent) !important;
    }

    /* 2. Inner track ko row layout me convert karein aur horizontal animation lagayein */
    .marquee-inner {
        flex-direction: row !important;
        width: max-content !important;
        height: auto !important;
        gap: 6px !important;
        /* Horizontal looping variable use karein */
        animation: marqueeScroll 18s linear infinite !important;
    }

    /* 3. Icons ko gayab karein aur card ka size text ke hisab se auto karein */
    .step {
        width: auto !important;  /* Fixed width hata di */
        height: auto !important; /* Fixed height hata di */
        padding: 10px 18px !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 99px !important; /* Pill shape for text-only badges */
    }

    .step .icon {
        display: none !important; /* Icons fully hidden */
    }

    .step h4 {
        font-size: 10px !important;
        white-space: nowrap; /* Text break na ho, ek line me chale */
    }

    /* 4. Arrows ko wapas sidha karein ya unhe bhi clean look ke liye hide kar dein */
    .arrow {
        transform: rotate(0deg) !important; /* Rotate reset kiya */
        height: auto !important;
        width: auto !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
    }
    .preview-media-group {
    flex-direction: column;
        gap: 20px;
    }
    .scroll-hint {
        font-size: 10px;
    }
    .workflow-label {
        font-size: 10px;
    }
        .left-content {
        gap: 10px;
    }
            .preview-heading h3 {
        font-size: 20px;
    }
    .preview-heading-num {
        font-size: 14px;
        padding: 4px 6px;
    }

    .preview-heading {
        gap: 6px;
    }
    .left-panel{
                padding: 24px 12px;
    }
    .back-btn {
        top: 12px;
        left: 12px;
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
    .back-btn svg {
        width: 14px;
        height: 14px;
    }
    .preview-heading {
        padding-left: 42px;
        gap: 6px;
    }


    /* 1. Toggle Button to Hamburger conversion */
    .nav-toggle-text {
        display: none !important; /* "All Services" text hidden */
    }
    .page-nav-toggle .arrow-svg {
        display: none !important; /* Arrow icon hidden */
    }
    .page-nav-toggle {
       padding: 0 !important;
        width: 35px !important;
        height: 32px !important;
        min-width: 31px !important;
        min-height: 23px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hamburger-icon {
        display: flex !important; /* Hamburger visible sirf 576px par */
        width: 16px;
    }
        .page-nav-toggle {
        margin-top: 7px;
    }

    /* 2. Python Development Heading (.hero h1) aur Tag Button Fixes */
    .hero {
        margin-bottom: 20px !important;
    }
    .hero h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        letter-spacing: -1px !important;
        max-width: 280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .tag {
        font-size: 11px !important; /* Button-type tag ka size and padding proper kiya */
        padding: 5px 12px !important;
        margin-bottom: 12px !important;
    }

    /* 3. Bottom Cards (Product Cards) styling fixes */
    .product {
        width: 100% !important; /* Cards full width space cover karein */
        padding: 22px 18px !important; /* Inner padding kam kar di */
        margin-bottom: 20px !important;
        height: auto !important; /* Dynamic height taaki content fit ho jaye */
        min-height: auto !important;
    }
    .product-header {
        gap: 10px !important;
        margin-bottom: 12px !important;
    }
    .product-header h2 {
        font-size: 18px !important; /* Card heading font-size reduced */
        line-height: 1.2 !important;
    }
    .index {
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important; /* 01, 02 number label compact */
    }
    .product p {
        font-size: 12px !important; /* Paragraph size optimized */
        line-height: 1.4 !important;
        margin-bottom: 18px !important;
    }

    /* 4. Feature Tags inside Cards */
    .features {
        gap: 6px !important;
    }
    .features span {
        font-size: 10px !important; /* Feature badges compact size */
        padding: 5px 10px !important;
    }

    /* 5. Left Panel Previews Alignment */
    .preview-heading {
        max-width: 100% !important;
        padding-left: 0 !important; /* Header centered and clean */
    }
    .preview-heading h3 {
        font-size: 20px !important;
    }
    .loader-logo{
        font-size:20px;
    }
    .loader-bar{
        width:150px;

    }


}
@media(max-width: 375px){

    .preview-heading h3 {
        font-size: 17px !important;
    }

}
