:root{
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
    --navy: #071233;
    --navy-deep: #050d1f;
    --blue: #06A3DA;
    --blue-light: #0dcaf0;
    --white: #ffffff;
    --text-primary: #071233;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --ais-border: rgba(6, 163, 218, 0.15);
}
*{
    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 h2{
    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 h3{
    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 h3{
    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 h3 {
        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 h3 {

    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 h2{
        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;
    }
    .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 h2 {
        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;
    }
}

/* ==========================================================================
   INTRO HERO BANNER (sits above the showcase gallery)
   ========================================================================== */
.intro-hero{
    position:relative;
    overflow:hidden;
    background: linear-gradient(135deg, var(--dark) 0%, #0B2E63 55%, var(--navy-deep) 100%);
    padding: 140px 100px 0;
}
.intro-hero-inner{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap:60px;
    align-items:center;
    max-width:1400px;
    margin:0 auto;
}
.intro-tag{

    background: white;
    color: #2563EB;
    border-color: rgba(6, 163, 218, .35);

}
.intro-hero-title{
    font-size:48px;
    font-weight:800;
    line-height:1.14;
    letter-spacing:-1px;
    color: var(--white);
    margin: 18px 0 22px;
    max-width:620px;
}
.intro-hero-text{
    font-size:16px;
    line-height:1.8;
    color: rgba(255,255,255,.75);
    max-width:560px;
    margin-bottom:34px;
            text-align: justify;

}
.intro-hero-cta{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:16px 32px;
    background: var(--primary);
    color:#04182b;
    font-weight:800;
    font-size:14px;
    border-radius:6px;
    text-decoration:none;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s ease, box-shadow .3s ease;
}
.intro-hero-cta:hover{
    background: var(--secondary);
    color:#04180c;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(52,173,84,.3);
}

.intro-hero-visual{
    position:relative;
    height:360px;
    border-radius:24px;
    overflow:hidden;
    background: rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
}
.intro-visual-grid{
    position:absolute; inset:0;
    background-image:
        linear-gradient(rgba(6,163,218,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6,163,218,.18) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 75%);
    mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 75%);
}
.intro-visual-orb{
    position:absolute;
    border-radius:50%;
    filter: blur(30px);
}
.intro-visual-orb--a{ width:180px; height:180px; background: var(--primary); opacity:.55; top:10%;  left:15%;  animation: floatBlobA 13s ease-in-out infinite; }
.intro-visual-orb--b{ width:130px; height:130px; background: var(--secondary); opacity:.45; bottom:12%; right:18%; animation: floatBlobB 16s ease-in-out infinite; }
.intro-visual-orb--c{ width:90px;  height:90px;  background: var(--blue-light); opacity:.5;  top:45%;   right:35%; animation: floatBlobC 18s ease-in-out infinite; }

.breadcrumb-row{
    position:relative;
    z-index:2;
    max-width:1400px;
    margin: 46px auto 0;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    font-weight:600;
    color: rgba(255,255,255,.4);
    padding-bottom: 26px;
}
.breadcrumb-row a{ color: rgba(255,255,255,.75); text-decoration:none; transition:color .2s ease; }
.breadcrumb-row a:hover{ color: var(--blue-light); }
.breadcrumb-sep{ color: rgba(255,255,255,.3); }
.breadcrumb-current{ color: rgba(255,255,255,.4); }

/* ==========================================================================
   IMPACT / RESULTS STATS SECTION (sits above the showcase gallery)
   ========================================================================== */
.impact-section{
    position:relative;
    overflow:hidden;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--primary) 6%, var(--light)) 0%,
        var(--light) 45%,
        color-mix(in srgb, var(--secondary) 6%, var(--light)) 100%);
    color: var(--text-primary);
    padding: 90px 100px;
}
.impact-section::before,
.impact-section::after{
    content:"";
    position:absolute;
    border-radius:50%;
    filter: blur(50px);
    z-index:0;
    pointer-events:none;
}
.impact-section::before{
    width:260px; height:260px;
    background: var(--primary);
    opacity:.12;
    top:-60px; left:-60px;
}
.impact-section::after{
    width:220px; height:220px;
    background: var(--secondary);
    opacity:.12;
    bottom:-60px; right:-40px;
}
.impact-section > *{
    position:relative;
    z-index:1;
}
.impact-header{
    max-width:760px;
    margin:0 auto 56px;
    text-align:center;
}
.impact-header h2{
    font-size:34px;
    font-weight:800;
    color: var(--text-primary);
    line-height:1.25;
    margin-bottom:14px;
}
.impact-header p{
    font-size:15px;
    color: var(--text-secondary);
    line-height:1.7;
}
.impact-grid{
    display:none; /* legacy grid markup no longer used, kept hidden for safety */
}

/* -------------------------------------------------- */
/* IMPACT STAT STRIP — icons connected by a curved line */
/* -------------------------------------------------- */
.impact-stats-strip{
    position:relative;
    max-width:1280px;
    margin:0 auto 0;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:24px;
}
.impact-connector-row{
    position:relative;
    max-width:1280px;
    margin:36px auto 40px;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
}
.impact-connector-row::before{
    content:"";
    position:absolute;
    left:6%; right:6%;
    top:50%;
    border-top:2px dashed #D8E3F0;
    transform:translateY(-50%);
    z-index:0;
}
.impact-connector-dot-wrap{
    position:relative;
    z-index:1;
    display:flex;
    justify-content:center;
}
.impact-connector-dot-el{
    width:12px; height:12px;
    border-radius:50%;
    background: var(--cat-color, var(--primary));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--cat-color, var(--primary)) 16%, white);
}
.impact-stat-item{
    position:relative;
    z-index:1;
    display:flex;
    align-items:flex-start;
    gap:16px;
}
.impact-stat-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:52px; height:52px;
    min-width:52px;
    border-radius:50%;
    background: color-mix(in srgb, var(--cat-color, var(--primary)) 14%, white);
    color: var(--cat-color, var(--primary));
    font-size:20px;
}
.impact-stat-text{
    min-width:0;
}
.impact-stat-text h4{
    font-size:15px;
    font-weight:800;
    color: var(--text-primary);
    margin-bottom:12px;
}
.impact-stat-metrics{
    display:flex;
    flex-direction:column;
    gap:14px;
}
.impact-stat-metric{
    padding-left:12px;
    border-left:2px solid color-mix(in srgb, var(--cat-color, var(--primary)) 30%, white);
}
.impact-stat-number{
    display:block;
    font-size:22px;
    font-weight:800;
    color: var(--cat-color, var(--primary));
    line-height:1;
    margin-bottom:5px;
}
.impact-stat-metric p{
    font-size:12.5px;
    line-height:1.5;
    color: var(--text-secondary);
    max-width:230px;
}

/* -------------------------------------------------- */
/* IMPACT DASHBOARD PANEL — 4 mini widgets              */
/* -------------------------------------------------- */
.impact-dashboard{
    max-width:1280px;
    margin:0 auto;
    background:#ffffff;
    border-radius:24px;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
    padding:36px 0;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
}
.impact-dash-col{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 32px;
    border-right: 1px solid #EEF2F7;
}
.impact-dash-col:last-child{
    border-right:none;
}
.impact-dash-head{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:13.5px;
    font-weight:700;
    color: var(--text-primary);
    margin-bottom:14px;
}
.impact-dash-head i{
    font-size:12px;
    color: var(--text-muted);
}
.impact-dash-big-number{
    font-size:28px;
    font-weight:800;
    margin-bottom:8px;
    line-height:1;
}
.impact-dash-caption{
    font-size:12.5px;
    color: var(--text-muted);
    margin-top:14px;
}

/* Line chart */
.impact-line-chart{
    width:100%;
    height:auto;
    display:block;
}
.impact-chart-labels{
    display:flex;
    justify-content:space-between;
    font-size:11px;
    color: var(--text-muted);
    margin-top:6px;
    padding:0 2px;
}

/* Bar chart */
.impact-bar-chart{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    gap:36px;
    height:130px;
    margin-top:6px;
}
.impact-bar-col{
    display:flex;
    flex-direction:column;
    align-items:center;
    height:100%;
    justify-content:flex-end;
    gap:8px;
}
.impact-bar-val{
    font-size:13px;
    font-weight:800;
    color: var(--text-primary);
}
.impact-bar{
    width:34px;
    border-radius:6px 6px 0 0;
}
.impact-bar-label{
    font-size:11.5px;
    color: var(--text-muted);
    margin-top:4px;
}

/* Format badges */
.impact-format-badges{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:4px;
}
.format-badge{
    display:inline-flex;
    align-items:center;
    padding:8px 16px;
    border-radius:10px;
    font-size:13px;
    font-weight:800;
    background: color-mix(in srgb, var(--fb-color, var(--text-muted)) 12%, white);
    color: var(--fb-color, var(--text-secondary));
}
.format-badge-more{
    background:#F1F5F9;
    color: var(--text-muted);
}

/* Donut chart */
.impact-donut-wrap{
    position:relative;
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:4px;
}
.impact-donut{
    width:104px;
    height:104px;
    flex-shrink:0;
}
.impact-donut-group{
    position:relative;
    width:104px;
    height:104px;
}
.impact-donut-label{
    position:absolute;
    top:50%; left:52px;
    transform:translate(-50%,-50%);
    font-size:20px;
    font-weight:800;
    color: var(--text-primary);
}
.impact-donut-legend{
    display:flex;
    flex-direction:column;
    gap:10px;
    font-size:12.5px;
    color: var(--text-secondary);
}
.impact-donut-legend span{
    display:flex;
    align-items:center;
    gap:8px;
}
.impact-donut-legend i{
    width:9px; height:9px;
    border-radius:50%;
    display:inline-block;
}

/* -------------------------------------------------- */
/* IMPACT BOTTOM BAR — dark strip with 4 highlights     */
/* -------------------------------------------------- */
.impact-bottom-bar{
    max-width:1280px;
    margin:32px auto 0;
    background: linear-gradient(135deg, var(--dark) 0%, #0B2E63 60%, var(--navy-deep) 100%);
    border-radius:20px;
    padding:28px 40px;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
    box-shadow: 0 20px 40px rgba(6,28,63,.25);
}
.impact-bottom-item{
    display:flex;
    align-items:center;
    gap:14px;
}
.impact-bottom-item i{
    font-size:20px;
    flex-shrink:0;
}
.impact-bottom-item h5{
    font-size:14px;
    font-weight:800;
    color:#ffffff;
    margin-bottom:2px;
}
.impact-bottom-item p{
    font-size:12px;
    color: rgba(255,255,255,.6);
}

@media(max-width: 1440px){
    /*.intro-hero{*/
    /*    padding: 80px 60px 0;*/
    /*}*/
    .impact-section{
        padding: 70px 60px;
    }
    .impact-stats-strip{
        grid-template-columns:repeat(2, 1fr);
        gap:32px 24px;
    }
    .impact-connector-row{
        display:none;
    }
    .impact-dashboard{
        grid-template-columns:repeat(2, 1fr);
    }
    .impact-dash-col{
        border-right:none;
        border-bottom:1px solid #EEF2F7;
        padding-bottom:28px;
        margin-bottom:28px;
    }
    .impact-dash-col:nth-last-child(-n+2){
        border-bottom:none;
        margin-bottom:0;
        padding-bottom:0;
    }
    .impact-bottom-bar{
        grid-template-columns:repeat(2, 1fr);
    }
    .intro-hero-title{
        font-size: 40px;
    }
}

@media(max-width:1024px) {
    /*.intro-hero{*/
    /*    padding: 70px 38px 0;*/
    /*}*/
    .intro-hero-inner{
        grid-template-columns: 1fr;
    }
    .intro-hero-visual{
        display: none;
    }
    .intro-hero-title{
        max-width: 100%;
    }
    .impact-section{
        padding: 60px 38px;
    }




}



@media(max-width:768px) {

    .intro-hero{
        padding: 130px 20px 0;
    }
    .intro-hero-title{
        font-size: 28px;
        letter-spacing: 0;
    }
    .intro-hero-text{
        font-size: 14px;
    }
    .intro-hero-cta{
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    .breadcrumb-row{
        margin-top: 30px;
        padding-bottom: 18px;
        font-size: 12px;
    }
    .impact-section{
        padding: 50px 20px;
    }
    .impact-header h2{
        font-size: 24px;
    }
    .impact-header p{
        font-size: 13px;
    }
    .impact-stats-strip{
        gap:24px;
        padding-bottom:32px;
    }
    .impact-dashboard{
        padding:24px 20px;
    }
    .impact-dash-col{
        padding:0 0 24px;
        margin-bottom:24px;
    }
    .impact-dash-col:last-child{
        padding-bottom:0;
        margin-bottom:0;
    }
    .impact-bottom-bar{
        padding:24px;
        gap:18px;
    }


}




/* ==========================================
   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 */
                margin-bottom: 0;
    }

    /* 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 h2 {
        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 h3 {
        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: 500px){

    .impact-dashboard{
        display: none;
    }
    .impact-stats-strip {
        grid-template-columns: repeat(1, 1fr);
    }
    .impact-stat-metrics{
        flex-direction: row;

    }
    .impact-stats-strip{
        gap: 30px;
    }
    .impact-stat-icon{
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

}




@media(max-width: 375px){

    .preview-heading h3 {
        font-size: 17px !important;
    }

        .impact-stat-item {
        flex-direction: column;
    }
        .impact-bottom-bar {
        grid-template-columns: repeat(1, 1fr);
    }

}
/* ============================================================
   WHITE CONTAINER WORKFLOW SECTION (FULL BG STYLE)
   ============================================================ */

/* Main outer wrapper spacing */
.python-workflow-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Dedicated Solid White Container */
.python-workflow-container {
    background: #ffffff !important;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Header Text (Dark colors for high readability on white) */
.python-workflow-container .workflow-header {
    text-align: center;
    margin-bottom: 30px;
}

.python-workflow-container .workflow-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #06A3DA;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
}

.python-workflow-container .workflow-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #091E3E !important; /* Dark heading for white background */
    margin-bottom: 8px;
}

.python-workflow-container .workflow-header p {
    color: #475569 !important; /* Muted dark text */
    font-size: 14px;
    max-width: 620px;
    margin: 0 auto;
}

/* Grid Layout */
.python-workflow-container .workflow-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Inner Step Cards (Light greyish/blue background inside white container) */
.python-workflow-container .workflow-step-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 20px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.python-workflow-container .workflow-step-card:hover {
    transform: translateY(-3px);
    border-color: #06A3DA;
    box-shadow: 0 6px 20px rgba(6, 163, 218, 0.15);
}

.python-workflow-container .step-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.python-workflow-container .step-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(6, 163, 218, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #06A3DA;
}

.python-workflow-container .step-badge {
    font-size: 12px;
    font-weight: 800;
    color: #06A3DA;
    background: #EEF9FF;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(6, 163, 218, 0.2);
}

.python-workflow-container .workflow-step-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #091E3E !important;
    margin-bottom: 6px;
}

.python-workflow-container .workflow-step-card p {
    font-size: 13px;
    color: #64748B !important;
    line-height: 1.5;
}

/* Responsive View for Mobile */
@media (max-width: 768px) {
    .python-workflow-container {
        padding: 24px 16px;
        border-radius: 14px;
    }

    .python-workflow-container .workflow-steps-grid {
        gap: 12px;
    }

    .python-workflow-container .workflow-header h2 {
        font-size: 22px;
    }
}
.intro-hero-visual {
    position: relative;
    overflow: hidden;
}

.intro-hero-img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* ya 'contain' - requirement ke hisab se */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0; /* Orbs/Grid ke peeche rakhne ke liye */
}
.intro-hero-visual {
    position: relative;
    height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Image styling inside the visual container */
.intro-hero-img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Use 'contain' if you don't want the image cropped */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Places the image above the container background */
}

/* Keep grid and glow overlay effects subtle over the image */
.intro-visual-grid {
    z-index: 2;
    pointer-events: none;
}

.intro-visual-orb {
    z-index: 2;
    pointer-events: none;
    opacity: 0.35; /* Keeps glowing background orbs subtle over the image */
}
/* FAQ Section Styling */
    .faq-section {
        padding: 80px 20px;
        max-width: 1100px;
        margin: 0 auto;
    }
    .faq-header {
        text-align: center;
        margin-bottom: 50px;
    }
    .faq-header h2 {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 12px;
    }
    .faq-header p {
        color: #888;
        font-size: 1.05rem;
    }
    .faq-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .faq-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        overflow: hidden;
        transition: border-color 0.3s ease;
    }
    .faq-item:hover {
        border-color: var(--ais-accent);
    }
    .faq-question {
        width: 100%;
        padding: 22px 28px;
        background: none;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        font-size: 1.1rem;
        font-weight: 600;
        color: #fff;
        cursor: pointer;
        outline: none;
    }
    .faq-icon {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
        color: var(--primary, #00d2ff);
    }
    .faq-item.active .faq-icon {
        transform: rotate(180deg);
    }
    .faq-answer {
        display: grid;
        grid-template-rows: 0fr;
        overflow: hidden;
        transition: grid-template-rows 0.35s ease;
        padding: 0 28px;
        background: rgba(0, 0, 0, 0.15);
    }
    .faq-answer > p {
        overflow: hidden;
        min-height: 0;
    }
    .faq-item.active .faq-answer {
        grid-template-rows: 1fr;
        padding: 20px 28px;
    }
    .faq-answer p {
        color: #b0b0b0;
        line-height: 1.6;
        font-size: 0.98rem;
        margin: 0;
    }

    /* ============================================================
   USE-CASE EXAMPLES SECTION STYLING
   ============================================================ */
.usecases-section {
    position: relative;
    padding: 90px 100px;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
}

.usecases-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.usecases-tag {
    background: rgba(6, 163, 218, 0.12);
    color: var(--blue-light);
    border-color: rgba(6, 163, 218, 0.35);
    margin-bottom: 16px;
}

.usecases-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 14px;
}

.usecases-header p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* Grid Layout */
.usecases-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Dashed connector between the 3 cards (desktop only) */
.usecases-connector {
    position: absolute;
    top: 92px;
    left: 5%;
    right: 5%;
    height: 0;
    border-top: 2px dashed rgba(255, 255, 255, 0.15);
    z-index: 0;
    pointer-events: none;
}
.usecases-connector .uc-dot {
    position: absolute;
    top: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue-light);
    box-shadow: 0 0 0 4px rgba(6, 163, 218, 0.18);
}
.usecases-connector .uc-dot:nth-child(1) { left: calc(33.333% - 5px); }
.usecases-connector .uc-dot:nth-child(2) { left: calc(66.666% - 5px); }

/* Card shell */
.usecase-card {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(3, 10, 30, 0.35);
    display: flex;
    flex-direction: column;
    will-change: transform;
}

/* Hover lift + 3D tilt is handled by GSAP (see services_video_page.js)
   so no CSS :hover transform here — avoids fighting with the JS tween. */

/* Theme accent colors per card */
.uc-theme-invoice { --uc-accent: #1E9E5A; --uc-accent-soft: rgba(30, 158, 90, 0.14); }
.uc-theme-medical { --uc-accent: #7C5CFC; --uc-accent-soft: rgba(124, 92, 252, 0.14); }
.uc-theme-legal   { --uc-accent: #E8933A; --uc-accent-soft: rgba(232, 147, 58, 0.16); }

/* Image-style banner */
.usecase-banner {
    position: relative;
    height: 170px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: color-mix(in srgb, var(--uc-accent) 40%, var(--navy));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center;
    will-change: transform, clip-path;
}

/* Color-tinted overlay so the photo matches each card's theme and
   text/badge stay readable. If no image loads, this gradient alone
   still looks like a themed banner (safe fallback). */
.usecase-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
                color-mix(in srgb, var(--uc-accent) 55%, var(--dark)) 0%,
                color-mix(in srgb, var(--uc-accent) 15%, transparent) 60%,
                rgba(0, 0, 0, 0.35) 100%);
    opacity: 0.72;
}

.usecase-banner-icon {
    position: absolute;
    right: -18px;
    bottom: -22px;
    font-size: 150px;
    color: rgba(255, 255, 255, 0.14);
    transform: rotate(-8deg);
    z-index: 1;
}

.usecase-banner .usecase-icon-badge {
    z-index: 2;
}

.usecase-icon-badge {
    position: relative;
    width: 64px;
    height: 64px;
    min-width: 64px;
    margin: 0 0 0px 24px;
    border-radius: 50%;
    background: var(--uc-accent-soft);
    border: 4px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--uc-accent);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Content area below the banner */
.usecase-card-content {
    padding: 44px 26px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.usecase-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 6px;
}

.usecase-subtitle {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 22px;
}

/* Body Content */
.usecase-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.usecase-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid #EDF1F7;
}

.usecase-block:first-child {
    border-top: none;
    padding-top: 0;
}

.block-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border: 1.5px solid currentColor;
}

.problem-icon {
    color: #F2545B;
    background: rgba(242, 84, 91, 0.08);
}

.solution-icon,
.result-icon {
    color: #1E9E5A;
    background: rgba(30, 158, 90, 0.08);
}

.block-content {
    flex: 1;
}

.block-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.problem-block .block-label {
    color: #F2545B;
}

.solution-block .block-label,
.result-block .block-label {
    color: #1E9E5A;
}

.usecase-block p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Result row */
.result-text {
    font-size: 13.5px;
    color: #1E9E5A;
    font-weight: 700;
    line-height: 1.55;
    margin: 0;
}

.result-text strong {
    font-weight: 800;
}

/* Responsive Viewports */
@media (max-width: 1200px) {
    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .usecases-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .usecases-section {
        padding: 60px 20px;
    }

    .usecases-grid {
        gap: 24px;
    }

    .usecases-header h2 {
        font-size: 26px;
    }

    .usecase-banner-icon {
        font-size: 110px;
    }
}

@media (max-width: 425px) {
    .usecase-card-content {
        padding: 40px 20px 24px;
    }
        .usecases-grid {
        grid-template-columns: 1fr;
    }

    .usecase-icon-badge {
        margin-left: 18px;
    }
        .python-workflow-container .workflow-steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}