

/* =========================================
   RESET & GLOBAL (LIGHT MODE)
   ========================================= */
body {
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    cursor: none;
    color: #2a5caa;
    font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif, ProFontWindows;
    z-index: 3;
}

a, button, .hover-target {
    cursor: none;
}
.bg-main {
    background-image: url("../images/bg.png");
    background-size: cover;
}
/*.bg-main-white {
    background-image: url("../images/bg-white.png");
    background-size: cover;
    z-index:30;
}*/
/* Lenis */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}
/* 
   ABOUT Code
*/
.code {
    width: 100%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #00000000;
    border-radius: 50px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 50px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #a5a4a4;
    }

.code,
.code .line-count,
.code .line-count span,
.code .code-items,
.code .code-items .code-item,
.code .code-items .code-item .code-item-content,
.code .code-items .code-item .code-item-content .code-item-line,
.code .code-items .code-item.description-item .description-item-line {
    float: left;
    position: relative;
    background: #272822;
    font-family: "Consolas";
    font-size: 16px;
}

    .code,
    .code .line-count span,
    .code .code-items .code-item,
    .code .code-items .code-item .code-item-content,
    .code .code-items .code-item .code-item-content .code-item-line,
    .code .code-items .code-item.description-item .description-item-line {
        width: 100%;
    }

        .code .line-count {
            float: left;
            position: relative;
            width: 60px;
        }

            .code .line-count span {
                text-align: center;
                line-height: 25px;
                color: rgba(255,255,255,.5);
                transition: 100ms linear;
                -webkit-transition: 100ms linear;
                -ms-transition: 100ms linear;
            }

        .code .code-items {
            width: calc(100% - 60px);
            float: left;
            position: relative;
        }

            .code .code-items .code-item {
                margin-bottom: 25px;
            }

                .code .code-items .code-item .directional-arrow {
                    position: absolute;
                    top: 6px;
                    left: -15px;
                    cursor: pointer;
                }

                    .code .code-items .code-item .directional-arrow:before {
                        content: "\f0d7";
                        display: inline-block;
                        font: normal normal normal 14px/1 FontAwesome;
                        font-size: inherit;
                        -webkit-font-smoothing: antialiased;
                        -moz-osx-font-smoothing: grayscale;
                        transform: translate(0, 0);
                        color: rgba(255,255,255,.5);
                    }

                .code .code-items .code-item.close .directional-arrow:before {
                    content: "\f0da";
                }

                .code .code-items .code-item:after {
                    content: "}";
                    width: 100%;
                    float: left;
                    position: relative;
                    color: #fff;
                    line-height: 25px;
                }

                .code .code-items .code-item .code-selection {
                    width: 100%;
                    float: left;
                    position: relative;
                    color: #A6E22E;
                    line-height: 25px;
                }

                    .code .code-items .code-item .code-selection:after {
                        content: "{";
                        color: #fff;
                        margin-left: 5px;
                    }

                .code .code-items .code-item .code-item-content {
                    padding-left: 40px;
                    line-height: 25px;
                }

                    .code .code-items .code-item .code-item-content:before {
                        content: "";
                        position: absolute;
                        left: 0;
                        top: 3px;
                        height: calc(100% - 6px);
                        width: 1px;
                        border-left: 1px dotted rgba(255,255,255,.3);
                    }

                    .code .code-items .code-item .code-item-content .code-item-line .code-item-attr {
                        color: #66D9EF;
                        font-style: italic;
                    }

                        .code .code-items .code-item .code-item-content .code-item-line .code-item-attr:after {
                            content: ":";
                            font-style: normal;
                            color: #fff;
                            font-size: .9em;
                            margin-left: 2.5px;
                        }

                    .code .code-items .code-item .code-item-content .code-item-line {
                        margin-bottom: -1px;
                    }

                        .code .code-items .code-item .code-item-content .code-item-line .code-item-value,
                        .code .code-items .code-item .code-item-content .code-item-line .code-item-value a {
                            color: #66D9EF;
                        }

                            .code .code-items .code-item .code-item-content .code-item-line .code-item-value a:hover {
                                background: rgba(255,255,255,.2);
                            }

                            .code .code-items .code-item .code-item-content .code-item-line .code-item-value:after {
                                content: ";";
                                color: #fff;
                                font-size: .9em;
                                margin-left: -7.5px;
                            }

                        .code .code-items .code-item .code-item-content .code-item-line.value-content {
                            margin-top: 0px;
                            margin-bottom: -4px;
                        }

                            .code .code-items .code-item .code-item-content .code-item-line.value-content .code-item-value {
                                color: #E6DB74;
                            }

                                .code .code-items .code-item .code-item-content .code-item-line.value-content .code-item-value:before,
                                .code .code-items .code-item .code-item-content .code-item-line.value-content .code-item-value:after {
                                    content: '"';
                                    color: #E6DB74;
                                }

                                .code .code-items .code-item .code-item-content .code-item-line.value-content .code-item-value:before {
                                    margin-right: -5px;
                                }

                                .code .code-items .code-item .code-item-content .code-item-line.value-content .code-item-value:after {
                                    margin-left: -5px;
                                }

                        .code .code-items .code-item .code-item-content .code-item-line.value-number .code-item-value {
                            color: #AE81FF;
                        }

                            .code .code-items .code-item .code-item-content .code-item-line.value-number .code-item-value .value-number-percent {
                                color: #F92672;
                            }

                .code .code-items .code-item.description-item .directional-arrow {
                    display: none;
                }

                .code .code-items .code-item.description-item:after {
                    content: "";
                }

                .code .code-items .code-item.description-item .description-item-line:before {
                    content: "//";
                }

                .code .code-items .code-item.description-item .description-item-line {
                    color: rgba(255,255,255,.5);
                    line-height: 25px;
                    margin-bottom: 25px;
                }


                /*LOADING*/
/* Custom Code Font */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

#loader-wrapper {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    color: #3b82f6; /* Primary blue */
}

.loader-terminal {
    width: 300px;
    font-size: 14px;
}

.brand-container {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.brand-name {
    color: #fff;
}

.brand-bracket {
    color: #3b82f6;
}

.brand-semi {
    color: #60a5fa;
}

.terminal-line {
    color: #4b5563;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: #3b82f6;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Prevent scrolling while loading */
body.loading {
    overflow: hidden;
}
.demo {
    /*padding: 0 10% 4%;*/
}


    .demo #control-hint {
        margin: 0 auto;
    }

        .demo #control-hint p {
            background: #2c3e50;
            color: #fff;
            margin: 0 auto;
            padding: 15px 0;
            position: relative;
            text-align: center;
            width: 45%;
            z-index: 5;
            border-radius: 50px;
        }

        .demo #control-hint #hint-triangle {
            border-bottom: 20px solid #2c3e50;
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            height: 0;
            left: 2px;
            margin: 2% auto 0;
            position: relative;
            width: 0;
            z-index: 2;
        }

    .demo #demo-control {
        background: #2c3e50;
        cursor: ew-resize;
        height: 15px;
        margin: 4% 0 0;
        position: relative;
        text-align: left;
        width: 100%;
        border-radius: 8px;
    }

        .demo #demo-control .ui-slider-handle {
            background: #19bc9c;
            cursor: ew-resize;
            height: 31px;
            top: -8px;
            margin-left: -15px;
            outline: 0;
            position: absolute;
            width: 31px;
            z-index: 2;
            border-radius: 50%;
        }

    .demo #demo-wrap {
        background: #272822;
        height: 600px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        width: 100%;
        border-radius: 35px;
        box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.2);
    }

        .demo #demo-wrap a {
            color: #19bc9c;
        }

            .demo #demo-wrap a:hover {
                color: #1cd3af;
            }

            .demo #demo-wrap a:active {
                color: #16a589;
            }

        .demo #demo-wrap .demo-article {
            height: 525px;
            margin-top: 73px;
            overflow: auto;
        }

        .demo #demo-wrap #browser-nav, .demo #demo-wrap #browser-tools, .demo #demo-wrap #browser-top {
            position: absolute;
        }

        .demo #demo-wrap #browser-nav, .demo #demo-wrap #browser-tools {
            z-index: 99;
        }

        .demo #demo-wrap #browser-nav {
            height: 72px;
            left: 0;
            top: 0;
            width: 180px;
        }

        .demo #demo-wrap #browser-tools {
            height: 72px;
            right: 0;
            top: 0;
            width: 37px;
        }

        .demo #demo-wrap #browser-top {
            height: 72px;
            top: 0;
            width: 100%;
            z-index: 90;
        }


/*END ABOUT CODE*/

/* =========================================
   CONTACT SECTION V2 (LIGHT THEME)
   ========================================= */
.contactSection {
    padding: 80px 0;
    position: relative;
    z-index: 0;
}

    .contactSection h2 {
        font-size: 50px;
        line-height: 60px;
        font-family: 'Istok Web', sans-serif;
        font-weight: 700;
        text-align: center;
        padding-bottom: 60px;
    }

    .contactSection .columns {
        display: table;
        width: 100%;
        font-weight: 900;
    }

        .contactSection .columns .column {
            display: table-cell;
            vertical-align: top;
            width: 50%;
            position: relative;
            text-align: center;
        }

            .contactSection .columns .column .icon img {
                height: 120px;
            }

            .contactSection .columns .column .title {
                padding: 10px 0 30px;
                font-size: 30px;
                position: relative;
            }

                .contactSection .columns .column .title svg {
                    position: absolute;
                    top: -20px;
                    left: 55%;
                    margin-left: -275px;
                    width: 550px;
                    height: 130px;
                    stroke: #ffffff;
                    animation: 5s infinite alternate animate-text;
                    z-index: 0;
                }
@keyframes animate-text {
    0% {
        fill: transparent;
        stroke: #ffffff;
        stroke-width: 5;
        stroke-dashoffset: 25%;
        stroke-dasharray: 0 32%;
    }

    50% {
        fill: transparent;
        stroke: #ffffff;
        stroke-width: 5;
    }

    80%, 100% {
        fill: #ffffff;
        stroke: transparent;
        stroke-width: 0;
        stroke-dashoffset: -25%;
        stroke-dasharray: 32% 0;
    }
}
                    .contactSection .columns .column .title svg .letter1 {
                        stroke-dasharray: 388, 388;
                        stroke-dashoffset: 388;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                    .contactSection .columns .column .title svg .letter2 {
                        stroke-dasharray: 364, 364;
                        stroke-dashoffset: 364;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                    .contactSection .columns .column .title svg .letter3 {
                        stroke-dasharray: 228, 228;
                        stroke-dashoffset: 228;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                    .contactSection .columns .column .title svg .letter4 {
                        stroke-dasharray: 371, 371;
                        stroke-dashoffset: 371;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                    .contactSection .columns .column .title svg .letter5 {
                        stroke-dasharray: 561, 561;
                        stroke-dashoffset: 561;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                    .contactSection .columns .column .title svg .letter6 {
                        stroke-dasharray: 435, 435;
                        stroke-dashoffset: 435;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                    .contactSection .columns .column .title svg .letter7 {
                        stroke-dasharray: 364, 364;
                        stroke-dashoffset: 364;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                    .contactSection .columns .column .title svg .letter8 {
                        stroke-dasharray: 372, 372;
                        stroke-dashoffset: 372;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                    .contactSection .columns .column .title svg .letter9 {
                        stroke-dasharray: 286, 286;
                        stroke-dashoffset: 286;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                    .contactSection .columns .column .title svg .letter10 {
                        stroke-dasharray: 389, 389;
                        stroke-dashoffset: 389;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                    .contactSection .columns .column .title svg .letter11 {
                        stroke-dasharray: 318, 318;
                        stroke-dashoffset: 318;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                    .contactSection .columns .column .title svg .letter12 {
                        stroke-dasharray: 286, 286;
                        stroke-dashoffset: 286;
                        -webkit-transition: 1.5s;
                        -moz-transition: 1.5s;
                        -o-transition: 1.5s;
                        transition: 1.5s;
                    }

                .contactSection .columns .column .title div {
                    position: relative;
                    z-index: 1;
                }

    .contactSection .button {
        padding: 40px 0 0 0;
    }

        .contactSection .button a {
            display: inline-block;
            position: relative;
            background: #2a5caa;
            padding: 15px 30px 14px 0;
            text-align: center;
            width: 190px;
            font-size: 14px;
            color: #f5d344;
            -moz-border-radius: 30px;
            -webkit-border-radius: 30px;
            -o-border-radius: 30px;
            border-radius: 30px;
        }

            .contactSection .button a span {
                position: absolute;
                right: 35px;
                -webkit-transition: 0.2s;
                -moz-transition: 0.2s;
                -o-transition: 0.2s;
                transition: 0.2s;
                width: 20px;
            }

                .contactSection .button a span.arrow img {
                    width: 40px;
                    height: 20px;
                }

            .contactSection .button a:hover span {
                right: 40px;
            }


    .contactSection .links {
        text-align: center;
        padding: 110px 0 0px;
    }

        .contactSection .links .column {
            display: inline-block;
            vertical-align: middle;
            position: relative;
            padding: 10px 60px;
        }

            .contactSection .links .column span.icon {
                display: inline-block;
                vertical-align: middle;
                padding-right: 15px;
            }

                .contactSection .links .column span.icon img {
                    height: 45px;
                }

            .contactSection .links .column span.arrow {
                display: inline-block;
                vertical-align: middle;
                padding-left: 10px;
                padding-right: 5px;
                -webkit-transition: 0.2s;
                -moz-transition: 0.2s;
                -o-transition: 0.2s;
                transition: 0.2s;
            }

                .contactSection .links .column span.arrow img {
                    width: 20px;
                }

            .contactSection .links .column a {
                color: #2a5caa;
                font-size: 15px;
                font-family: 'Poppins', sans-serif;
                font-weight: 300;
                -webkit-transition: 0.2s;
                -moz-transition: 0.2s;
                -o-transition: 0.2s;
                transition: 0.2s;
            }

                .contactSection .links .column a:hover span.arrow {
                    padding-left: 15px;
                    padding-right: 0;
                }

    .contactSection .copyright {
        padding: 0 0 20px 0;
        text-align: center;
        color: #3a547a;
        font-family: 'Poppins', sans-serif;
        font-weight: 300;
    }

        .contactSection .copyright a {
            color: #2a5caa;
            -webkit-transition: 0.2s;
            -moz-transition: 0.2s;
            -o-transition: 0.2s;
            transition: 0.2s;
        }

            .contactSection .copyright a:hover {
                color: #f2c91a;
            }
/* --- CORE STYLES (Forced Light Theme) --- */
#agntix-about-v2 {
    /* Force light background and dark text to fix "invisible" issue */
    background-color: #FFFFFF !important;
    color: #2a5caa !important;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 120px 0 0 0;
    font-family: Poppins, sans-serif;
    box-sizing: border-box;
    z-index: 10; /* Ensure it sits on top */
    background-image: url("../images/bg.png");
    background-size: cover;
}

    #agntix-about-v2 * {
        box-sizing: border-box;
    }

.agntix-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0;
    position: relative;
    z-index: 2; /* Above background text */
}

/* --- BACKGROUND TEXT MARQUEE --- */
.agntix-bg-text-wrap {
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    z-index: 5; /* Behind content */
    opacity: 0.7; /* Very subtle */
    pointer-events: none;
    user-select: none;
}

.agntix-bg-text {
    font-family: Poppins, sans-serif;
    font-weight: 800;
    font-size: 7vw;
    line-height: 1;
    white-space: nowrap;
    will-change: transform;
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.8);
}

/* --- GRID --- */
.agntix-main-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .agntix-main-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
}

/* --- TYPOGRAPHY --- */
.agntix-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: #111;
}

    .agntix-badge .dot {
        width: 8px;
        height: 8px;
        background: #25D366;
        border-radius: 50%;
    }

.agntix-headline {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin: 0 0 30px 0;
    color: #111 !important;
}

/* Reveal Mask logic */
.reveal-text {
    display: inline-block; /* Essential for transform */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.agntix-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555 !important;
    max-width: 480px;
    margin-bottom: 50px;
}

/* --- STATS --- */
.agntix-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    border-top: 1px solid #ddd;
    padding-top: 30px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #111;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #666;
    line-height: 1.3;
    margin-top: 5px;
}

/* --- BUTTON --- */
.agntix-button {
    background: #111;
    color: #fff !important;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

    .agntix-button:hover {
        background: #333;
        transform: translateY(-2px);
    }

/* --- VISUALS --- */
.visual-plane {
    position: relative;
    width: 100%;
    height: auto;
}

.img-mask {
    width: 100%;
    max-width: 500px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #ccc; /* Loading placeholder */
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* Start slightly zoomed for parallax */
}

.floater-card {
    position: absolute;
    bottom: 50px;
    right: -75px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
}

    .floater-card span {
        font-weight: 600;
        font-size: 0.9rem;
        padding: 8px 16px;
        background: #f0f0f0;
        border-radius: 4px;
        text-align: center;
    }

@media (max-width: 768px) {
    .img-mask {
        height: 400px;
    }

    .floater-card {
        left: 0;
        bottom: 20px;
    }
}


/* =========================================
   CUSTOM CURSOR
   ========================================= */
#cursor-dot, #cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10001;
    border-radius: 50%;
}

#cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    mix-blend-mode: difference;
}

#cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid white;
    mix-blend-mode: difference;
    transition: all 0.3s;
}

body.hovering #cursor-ring {
    width: 80px;
    height: 80px;
    background-color: rgba(255,255,255,0.2);
    border-color: transparent;
}

body.hovering #cursor-dot {
    opacity: 0;
}

/* Global Canvas */
#code-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.6;
}

/* =========================================
   HEADER & SLIDER
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}

    .main-header * {
        pointer-events: auto;
    }

.logo {
    width: 200px;
    filter: drop-shadow(1px 1px 1px);
}

    .logo .highlight {
        color: #ffc107;
    }


.menu-icon {
    width: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    filter: drop-shadow(0px 0px 1px white);
}

.bar {
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: 0.3s;
}

    .bar.long {
        width: 40px;
    }

    .bar.short {
        width: 25px;
    }

.menu-icon:hover .bar.short {
    width: 40px;
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.98);
    z-index: 10000;
    transform: translateY(-100%);
    transition: 0.6s cubic-bezier(0.7,0,0.3,1);
    display: flex;
}

    .fullscreen-menu.open {
        transform: translateY(0);
    }

.closebtn {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 3rem;
    color: black;
    text-decoration: none;
}

.menu-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.menu-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #eee;
}

.menu-right {
    width: 50%;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #2a5caa;
}

.menu-left a {
    font-family: 'Poppins';
    font-size: 3rem;
    font-weight: 900;
    color: #2a5caa;
    display: block;
    margin: 20px 0;
    text-transform: uppercase;
    transition: 0.3s;
}

    .menu-left a:hover {
        color: #f2c91a;
        transform: translateX(20px);
    }
.tp-offcanvas-2-right {
    visibility: hidden;
    opacity: 0;
    right: 0;
    transition: 0.3s;
    transition-delay: 0.8s;
}

.tp-offcanvas-2-right-inner {
    height: 100%;
    padding: 100px;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .tp-offcanvas-2-right-inner {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .tp-offcanvas-2-right-inner {
        padding: 50px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .tp-offcanvas-2-right-inner {
        padding: 30px;
    }
}

.tp-offcanvas-2-right-info-box {
    padding: 0 200px;
}

@media only screen and (min-width: 1801px) and (max-width: 1850px), only screen and (min-width: 1701px) and (max-width: 1800px) {
    .tp-offcanvas-2-right-info-box {
        padding-right: 100px;
    }
}

@media only screen and (min-width: 1600px) and (max-width: 1700px), only screen and (min-width: 1400px) and (max-width: 1599px) {
    .tp-offcanvas-2-right-info-box {
        padding: 0 100px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .tp-offcanvas-2-right-info-box {
        padding: 0 100px;
        padding-right: 0;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .tp-offcanvas-2-right-info-box {
        padding: 0 70px;
        padding-right: 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .tp-offcanvas-2-right-info-box {
        padding: 0 60px;
        padding-right: 0;
        margin-top: 130px;
    }
}

.tp-offcanvas-2-right-info-title {
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 35px;
    color: var(--tp-common-white);
}

.tp-offcanvas-2-right-info-item {
    margin-bottom: 30px;
}

    .tp-offcanvas-2-right-info-item label {
        font-weight: 500;
        font-size: 15px;
        line-height: 1;
        display: block;
        color: #717172;
    }

    .tp-offcanvas-2-right-info-item > a {
        font-weight: 600;
        font-size: 18px;
        line-height: 1;
        letter-spacing: -0.01em;
        color: var(--tp-common-white);
    }

@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
    .tp-offcanvas-2-right-info-item > a br {
        display: none;
    }
}

.tp-offcanvas-2-right-social a {
    height: 60px;
    width: 60px;
    transition: 0.6s;
    line-height: 65px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    color: var(--tp-common-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .tp-offcanvas-2-right-social a:hover {
        color: var(--tp-common-black);
        border-color: var(--tp-common-white);
        background-color: var(--tp-common-white);
    }
.tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-right-social a {
    color: var(--tp-common-black);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

    .tp-offcanvas-2-area.offcanvas-2-white-bg .tp-offcanvas-2-right-social a:hover {
        color: var(--tp-common-white);
        border-color: var(--tp-common-black);
        background-color: var(--tp-common-black);
    }
/* Slider Styles */
#hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 50;
}
.tp-hero-ptb {
    padding-top: 225px;
    padding-bottom: 135px;
    border-radius: 0 0 100px 100px;
}
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: background-color 1s ease;
    background-color: #06314b;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

    .slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 10;
    }

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 5;
    font-family: 'Lato', sans-serif;
}

.image-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    position: relative;
    z-index: 10;
    width: 150%;
    max-width: 1000px;
    opacity: 0;
    transform: scale(0.7);
    transition: all 1s 0.2s;
}

.slide.active .main-image {
    opacity: 1;
    transform: scale(1);
}

.text-info {
    position: absolute;
    bottom: 60px;
    left: 80px;
    width: 100%;
    max-width: 350px;
    z-index: 20;
}

    .text-info h1, .text-info p, .price-row {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s;
        color: white;
    }

.slide.active .text-info * {
    opacity: 1;
    transform: translateY(0);
    margin:10px;
}

.text-info h1 {
    font-family: Poppins;
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.btn {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .btn:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

.bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-family: 'Poppins', sans-serif;
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s, transform 1s;
    white-space: nowrap;
    pointer-events: none;
}
    /* Your Outline Effect */
    .bg-text::after {
        content: attr(data-outline);
        position: absolute;
        inset: 0;
        font-size: inherit;
        -webkit-text-stroke-width: 1px;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke-color: rgba(255, 255, 255, 0.8);
        z-index: 2;
    }

.slide.active .bg-text {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-5deg) scale(1.1);
}

.flying-ingredient {
    position: absolute;
    z-index: 11;
    opacity: 0;
    transform: scale(0);
    transition: 0.5s;
}

.slide.active .flying-ingredient {
    opacity: 1;
    transform: scale(1);
}

/* Animations for Ingredients */
@keyframes float1 {
    50% {
        transform: translate(15px,-20px);
    }
}

@keyframes float2 {
    50% {
        transform: translate(-20px,25px);
    }
}

@keyframes float3 {
    50% {
        transform: translate(-25px,-15px);
    }
}

.slide.active .i1 {
    animation: float1 6s infinite ease-in-out;
}

.slide.active .i2 {
    animation: float2 7s infinite ease-in-out;
}

.slide.active .i3 {
    animation: float3 8s infinite ease-in-out;
}

/* Slide Specific Backgrounds */
#slide-1 {
    --bg-color: #06314b;
    background-image: url("../images/studbook-bg.png");
    background-size: cover;
    --accent-color: #b59934;
}

#slide-2 {
    --bg-color: #f1ca1e;
    background-image: url("../images/flexi-bg.png");
    background-size: cover;
    --accent-color: #2d5da8;
}

#slide-3 {
    --bg-color: #2b5daa;
    background-image: url("../images/shift-bg.png");
    background-size: cover;
    --accent-color: #ffe164;
}

#slide-4 {
    --bg-color: #0f4c83;
    background-image: url("../images/events-bg.png");
    background-size: cover;
    --accent-color: #ea7d24;
}

#slide-5 {
    --bg-color: #d35400;
}

#slide-6 {
    --bg-color: #8e44ad;
}

.circle-outline-button {
    /* 1. Ensure the element is a square */
    width: 80px;
    height: 80px;
    /* 2. Make it a circle */
    border-radius: 50%; /* */
    /* 3. Style the outline (border) */
    border: 2px solid #fff; /* Example color and width */
    /* 4. Remove default background and add text color */
    background-color: transparent; /* Makes it "outline" style with a transparent fill */
    color: #fff; /* Color of the text/icon */
    /* 5. Center the content (text or icon) */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Optional: further styling */
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none; /* */
}

/* =========================================
   SCROLL SECTIONS (LIGHT THEME)
   ========================================= */
/* Immerse */
.outline-text-dark {
    -webkit-text-stroke: 2px rgb(0, 0, 0, 0.20);
    color: transparent;
}

.abs-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.zoom-target, .asterisk-target {
    will-change: transform, opacity;
    transform-origin: center center;

}

/* Mobile Section */
.mobile-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    /*background: #f4f4f5;*/
}

.mobile-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    pointer-events: none;
}

.title-row {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    line-height: 1;
    margin: 5px 0;
    cursor: pointer;
    transition: 0.3s;
}

    .title-row .outline-dark {
        color: transparent;
        -webkit-text-stroke: 1px rgb(255, 255, 255, 0.20);
        position: relative;
        z-index: 1;
    }

    .title-row .fill-dark {
        position: absolute;
        top: 0;
        left: 0;
        color: #ffffff;
        width: 0%;
        overflow: hidden;
        white-space: nowrap;
        z-index: 2;
        transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .title-row.active .fill-dark {
        width: 100%;
    }

.phone-rotator {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-30deg) rotateX(10deg);
    width: 300px;
    height: 600px;
    z-index: 1;
}

#smartphone {
    position: relative;
    width: 300px;
    height: 600px;
    transform-style: preserve-3d;
}

.side {
    position: absolute;
    width: 300px;
    height: 600px;
    border-radius: 40px;
    top: 0;
    left: 0;
    background: #333;
    border: 1px solid #444;
}

#side1 {
    transform: translateZ(-2px);
}

#side2 {
    transform: translateZ(-4px);
}

#side3 {
    transform: translateZ(-6px);
}

#side4 {
    transform: translateZ(-8px);
}

#side5 {
    transform: translateZ(-10px);
}

#side6 {
    transform: translateZ(-12px);
}

#side7 {
    transform: translateZ(-14px);
}

#side8 {
    transform: translateZ(-16px);
}

#side9 {
    transform: translateZ(-18px);
    background: #111;
}

#front {
    position: absolute;
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    transform: translateZ(0px);
    border: 4px solid #333;
    overflow: hidden;
}

#screen-container {
    position: absolute;
    top: 40px;
    left: 15px;
    width: 262px;
    height: 520px;
    background: #000;
    overflow: hidden;
    border-radius: 4px;
}

.app-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

    .app-slide.active {
        opacity: 1;
    }

.bg1 {
    background-image: url("../images/1-build.png");
    background-size: cover;
}

.bg2 {
    background-image: url("../images/2-juhayna.png");
    background-size: cover;
}

.bg3 {
    background-image: url("../images/3-lavoroToDay.png");
    background-size: cover;
}

.bg4 {
    background-image: url("../images/4-soter.png");
    background-size: cover;
}

.bg5 {
    background-image: url("../images/5-studbook.png");
    background-size: cover;
}

/* Team Section (Light) */
.team-section {
    perspective: 1500px;
    /*background: #000000;*/
    /*background: linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 1) 91%);*/
    z-index: 20;
}
.team-wrapper {
    margin-bottom: 100px;
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 20px 40px;
    scroll-snap-type: x mandatory;
}
.team-card {
    width: 100%;
    height: 60vh;
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

.team-overlay h3 {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Poppins';
}

.team-overlay p {
    font-size: 1rem;
    color: #ccc;
}

/* clients */
:root {
    --color-text: navy;
    --color-bg: papayawhip;
    --color-bg-accent: #1B1B1D;
    --size: clamp(10rem, 1rem + 40vmin, 30rem);
    --gap: calc(var(--size) / 14);
    --duration: 60s;
    --scroll-start: 0;
    --scroll-end: calc(-100% - var(--gap));
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-text: papayawhip;
        --color-bg: navy;
        --color-bg-accent: #1B1B1D;
    }
}

* {
    box-sizing: border-box;
}



.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
    mask-image: linear-gradient( var(--mask-direction, to right), hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 20%, hsl(0 0% 0% / 1) 80%, hsl(0 0% 0% / 0) );
}

.marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    animation: scroll-x var(--duration) linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .marquee__group {
        animation-play-state: paused;
    }
}

.marquee--vertical {
    --mask-direction: to bottom;
}

    .marquee--vertical,
    .marquee--vertical .marquee__group {
        flex-direction: column;
    }

        .marquee--vertical .marquee__group {
            animation-name: scroll-y;
        }

.marquee--reverse .marquee__group {
    animation-direction: reverse;
    animation-delay: -3s;
}

@keyframes scroll-x {
    from {
        transform: translateX(var(--scroll-start));
    }

    to {
        transform: translateX(var(--scroll-end));
    }
}

@keyframes scroll-y {
    from {
        transform: translateY(var(--scroll-start));
    }

    to {
        transform: translateY(var(--scroll-end));
    }
}

/* Element styles - UPDATED FROM svg TO img */
.marquee img {
    display: grid;
    place-items: center;
    width: var(--size);
    /* fill: var(--color-text); */ /* Images don't use fill, you can remove this */
    background: var(--color-bg-accent);
    aspect-ratio: 16/9;
    padding: calc(var(--size) / 10);
    border-radius: 0.5rem;
    object-fit: contain; /* Ensures images aren't squashed */
}


.marquee--vertical img {
    aspect-ratio: 1;
    width: calc(var(--size) / 1.5);
    padding: calc(var(--size) / 6);
}


/* Parent wrapper */
.wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    margin: auto;
    max-width: 100vw;
}

.wrapper--vertical {
    flex-direction: row;
    height: 100vh;
}


@keyframes fade {
    to {
        opacity: 0;
        visibility: hidden;
    }
}


/* Card Section Styles */

/* Services (Light) */
.service-card {
    flex-shrink: 0;
    width: 80vw;
    max-width: 500px;
    height: 60vh;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

    .service-card:hover {
        border-color: #000;
    }

.services-track {
    width:1000px;
}
.service-ai {
    background-image: url('../images/ai.png') !important;
    background-size: cover;
}
.service-develop {
    background-image: url('../images/develop.png') !important;
    background-size: cover;
}
.service-mobile-app {
    background-image: url('../images/mobile-app.png') !important;
    background-size: cover;
}
.service-soft {
    background-image: url('../images/soft.png') !important;
    background-size: cover;
}

/* =========================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION
   ========================================= */

/* 1. Global Fixes for Mobile */
@media (max-width: 1024px) {
    cursor: auto !important; /* Revert cursor because custom cursors fail on touch */
    #cursor-dot, #cursor-ring, #code-trail {
        display: none !important;
    }

    body, a, button, .hover-target {
        cursor: auto !important;
    }

    .main-header {
        padding: 15px 25px;
    }

    .logo {
        width: 150px;
    }
}

/* 2. Tablets and Small Laptops (Max 991px) */
@media (max-width: 991px) {
    .agntix-main-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .agntix-headline {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        text-align: center;
    }

    .agntix-bio {
        max-width: 100%;
        text-align: center;
        margin-inline: auto;
    }

    .agntix-stats {
        justify-content: center;
        gap: 20px;
    }

    .agntix-badge {
        margin: 0 auto 24px auto;
    }

    .visual-plane {
        display: flex;
        justify-content: center;
    }

    .img-mask {
        height: 500px;
        width: 100%;
    }

    /* Menu Adjustments */
    .menu-left {
        width: 100%;
        border-right: none;
    }

    .menu-right {
        display: none; /* Hide decorative side on mobile for app-feel */
    }

    .menu-left a {
        font-size: 2rem;
    }
}

/* 3. Mobile Landscape & Large Phones (Max 768px) */
@media (max-width: 768px) {
    /* Hero Slider Fixes */
    .image-area {
        width: 100%;
        height: 40vh;
        top: 35%;
    }

    .main-image {
        width: 90% !important; /* Force image to fit screen */
        height: auto;
    }

    .text-info {
        left: 20px;
        bottom: 40px;
        max-width: calc(100% - 40px);
        text-align: center;
    }

        .text-info h1 {
            font-size: 2.5rem;
        }

    .bg-text {
        font-size: 25vw;
    }

    /* Mobile Section (3D Phone) scaling */
    .phone-rotator, #smartphone, .side, #front {
        width: 240px;
        height: 480px;
    }

    #screen-container {
        width: 210px;
        height: 415px;
        left: 12px;
    }

    .title-row {
        font-size: 2.5rem;
    }

    /* Services & Team */
    .service-card, .team-card {
        width: 85vw;
        height: 50vh;
    }
}

/* 4. Small Phones / "App-Like" Experience (Max 480px) */
@media (max-width: 480px) {
    /* App-like Reset */
    #agntix-about-v2 {
        padding-top: 80px;
    }

    /* Make buttons full width like a mobile app */
    .agntix-button, .btn {
        width: 100%;
        justify-content: center;
        padding: 15px;
    }

    /* Hero Slider Adjustments */
    .text-info {
        left: 0;
        right: 0;
        margin: 0 auto;
        padding: 0 20px;
    }

        .text-info h1 {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .text-info p {
            font-size: 0.9rem;
        }

    /* Stats Grid */
    .agntix-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 30px;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    /* Fix the Code Block from overflowing */
    .code .line-count {
        width: 35px;
    }

    .code .code-items {
        width: calc(100% - 35px);
    }

        .code .code-items .code-item .code-item-content {
            padding-left: 15px;
            font-size: 12px; /* Smaller code font for mobile */
        }

    /* Float card adjustment */
    .floater-card {
        right: 10px;
        bottom: 10px;
        transform: scale(0.8);
        transform-origin: bottom right;
    }

    /* Marquee speed and size for mobile */
    :root {
        --size: 150px; /* Smaller client logos */
    }

    .marquee img {
        padding: 15px;
    }

    /* Fullscreen Menu for App Feel */
    .closebtn {
        top: 15px;
        right: 25px;
    }

    .menu-left a {
        font-size: 1.8rem;
        margin: 10px 0;
    }
}

/* 5. Fix for Height Issues (Short Phones) */
@media (max-height: 700px) {
    .image-area {
        transform: translate(-50%, -60%) scale(0.8);
    }

    .text-info h1 {
        font-size: 1.8rem;
    }
}

/* 6. Utility: Fix for Lenis/Scroll Overflows */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}