* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
}

:root {
    --bg: #0f1117;
    --surface: #171b24;
    --surface-hover: #1f2430;
    --text: #f5f5f5;
    --muted: #9ca3af;
    --accent: #4f8cff;
    --border: #262c38;
}

@import url('https://jsdelivr.net');

body {
    background: var(--bg);
    color: var(--text);
    /*font-family: Inter, Arial, sans-serif;*/
    font-family: Raleway, sans-serif;
    
    /* enable advanced google fonts */
    font-feature-settings: "ss09" on;
    
    /* Safari/Chrome fallback */
    -webkit-font-feature-settings: "ss09" on; 
    -moz-font-feature-settings: "ss09" on;
 


    font-weight:100;
    font-size:1rem;
    line-height: 1.7;
    -ms-overflow-style: none;
}

.container {
    width: 100%;
    max-width: 1360px;
    margin: auto;
}

header {
    position: sticky;
    top: 0;
    background: rgba(15,17,23,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    
    
    transition: transform 0.35s ease-in-out; /* for transition animation*/
}

    header.nav-hidden {
        transform: translateY(-100%);
    }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    header {
        transition: none;
    }
}




.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;    
}

 .nav :hover {
    color: indianred;
 }

.logo {
    color: teal;
    font-weight: 700;
    font-size: 1.1rem;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 24px;
}

    nav a:hover {
        color: white;
    }

.hero {
    padding: 30px 0;
}

.tag {
    color: var(--accent);
    font-weight: 600;
}


.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

    .hero > *:not(.hero-bg) {
        position: relative;
        z-index: 10;
    }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}



.hero h1 {
    
    
    font-family: 'Raleway', sans-serif;
    /* enable advanced google fonts */
    font-feature-settings: "ss09" on;
    /* Safari/Chrome fallback */
    -webkit-font-feature-settings: "ss09" on; 
    -moz-font-feature-settings: "ss09" on;
    
    font-weight: 100;



    font-size: 3.7rem;
    line-height: 1.1;
    max-width: 800px;
    margin: 20px 0;
}

.hero p {
    color: teal;
    max-width: 700px;
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-buttons {
    margin-top: 15px;
}





.grid-plane {
    position: absolute;
    width: 160%;
    height: 120%;
    left: -30%;
    top: 10%;
    background-image: linear-gradient( rgba(255,255,255,0.04) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,0.04) 1px, transparent 1px );
    background-size: 80px 80px;
    transform: perspective(1200px) rotateX(75deg);
    transform-origin: top center;
    opacity: 0.3;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: float 18s ease-in-out infinite;
}

.orb-1 {
    width: 700px;
    height: 700px;
    right: -150px;
    top: -250px;
    background: radial-gradient( circle, rgba(0,180,255,0.22), transparent 70% );
}

.orb-2 {
    width: 500px;
    height: 500px;
    left: -200px;
    bottom: -150px;
    background: radial-gradient( circle, rgba(255,255,255,0.08), transparent 70% );
    animation-duration: 24s;
}
.chart-line {
    position: absolute;
    width: 900px;
    height: 280px;
    right: -100px;
    top: 120px;
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
}

    .chart-line svg {
        width: 100%;
        height: 100%;
    }

    .chart-line path {
        fill: none;
        stroke: #00b4ff;
        stroke-width: 2;
        filter: drop-shadow(0 0 10px rgba(0,180,255,0.6));
    }


@keyframes float {

    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}
/* animate hero background line to float around*/






.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient( rgba(255,255,255,0.03) 1px, transparent 1px );
    background-size: 4px 4px;
    opacity: 0.2;
    pointer-events: none;
}



.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    margin-right: 12px;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-secondary {
    border: 1px solid var(--border);
    color: white;
}

.btn-primary :hover{
    color:crimson;
}

.btn-secondary :hover {
   color: crimson;
}


.section {
    padding: 15px 0;
}

        .section h2 {
            margin-bottom: 25px;
            font-size: 2rem;
        }

    .section-text {
        max-width: 800px;
        color: var(--muted);
        margin-bottom: 5px;
    }

    .section-text-comment {
        text-align:center;
        padding-top:25px;
        font-style:italic;
        font-size: 0.9rem;
        color: rgba(255,255,255,0.7);
        line-height: 1.8;
    }


    .section-text-comment-2 {
        text-align: center;
        font-style: italic;
        font-size: 0.9rem;
        color: rgba(255,255,255,0.7);
        line-height: 1.8;
    }

    .section-text-commentSub {
        text-align: center;
        font-size: 0.9rem;
        color: rgba(255,255,255,0.7);
        line-height: 1.8;
    }
    
    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

.card {
    /*
        background: var(--surface);
        border: 1px solid var(--border);*/
    background: rgba(255,255,255,0.02);
    border: none;
    padding: 28px;
    border-radius: 16px;
}

        .card h3 {
            margin-bottom: 15px;
        }

        .card p {
            font-family:monospace;
            color: var(--muted);
        }

        .vsub-text {
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            color: teal;
            text-align: center;
        }
            
            .vsub-text h4 {
                color: teal;
            }

    .tech-stack {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

        .tech-stack span {
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 10px 16px;
            border-radius: 999px;
        }

        
.trial-note h4 {
    text-align:center;
    color:indianred;
}


/* Make slideshow images clickable */
.slideshow .slide {
    cursor: zoom-in;
}

/* Full-screen image overlay */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5, 7, 12, 0.95);
    align-items: center;
    justify-content: center;
    padding: 50px 24px;
    box-sizing: border-box;
}

    .lightbox.active {
        display: flex;
    }

    .lightbox img {
        display: block;
        max-width: 95vw;
        max-height: 85vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 6px;
        cursor: zoom-out;
    }

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    background: transparent;
    border: none;
    color: white;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

    .lightbox-close:hover {
        color: #00a6a6;
    }

.lightbox-hint {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    color: #a0a7b4;
    font-size: 13px;
    text-align: center;
}

body.lightbox-open {
    overflow: hidden;
}


.products {

    color:teal;
}


.prices{
    color:indianred;
}

    .project-content a {

        text-decoration:none;
    }

h5{
    font-size:0.8rem;
}



/* global header sets*/
.container h2 {
    font-family: 'Raleway', sans-serif;
    font-feature-settings: "ss09" on;
    -webkit-font-feature-settings: "ss09" on;
    -moz-font-feature-settings: "ss09" on;
    font-weight: 100;
    font-size: 2.5rem;
}



.projects-head {
    /*font-family:Bahnschrift;*/
    color: teal;
}

    .project-card {
        display: grid;
        grid-template-columns: 440px 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    
    .project-image {
        border-radius: 16px;
        overflow: hidden;
        min-height: 220px;
    }

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }


    .slideshow {
        position: relative;
        width: 100%;
        overflow: hidden;
        border-radius: 12px;
        border: 1px solid #272d38;
        background: #101116;
    }

        .slideshow .slide {
            display: none;
            width: 100%;
            height: auto;
            object-fit: contain;
        }

            .slideshow .slide.active {
                display: block;
            }

    /* Previous / Next buttons */
    .slide-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        border-radius: 6px;
        padding: 12px 15px;
        background: rgba(15, 17, 23, 0.8);
        color: white;
        font-size: 20px;
        cursor: pointer;
        opacity: 0.75;
        transition: opacity 0.2s;
    }

        .slide-btn:hover {
            opacity: 1;
        }

        .slide-btn.prev {
            left: 10px;
        }

        .slide-btn.next {
            right: 10px;
        }

    /* Indicator dots */
    .slide-indicators {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
    }

        .slide-indicators .dot {
            width: 9px;
            height: 9px;
            padding: 0;
            border: none;
            border-radius: 50%;
            background: #858b98;
            cursor: pointer;
        }

            .slide-indicators .dot.active {
                background: #00a6a6;
            }


    
    .project-content {
        background: var(--surface);
        border: 1px solid var(--border);
        padding: 30px;
        border-radius: 16px;
    }
    
        .project-content p,
        .project-content li {
            font-family: monospace;
            color: var(--muted);
        }



  
    .project-content {
        -webkit-mask-image: linear-gradient( to bottom, transparent 0%, black 0%, black 88%, transparent 100% );
        mask-image: linear-gradient( to bottom, transparent 0%, black 0%, black 88%, transparent 100% );
    }
    


    .project-card {
        animation: fade-in linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 35%;
    }

    @keyframes fade-in {
        from {
            opacity: 0;
            transform: translateY(24px);
            filter: blur(4px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .project-card {
            animation: none;
            opacity: 1;
            transform: none;
            filter: none;
        }
    }
    






    .process {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

        .process div {
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 20px;
            text-align: center;
            border-radius: 12px;
        }

.contact-box {
    background: rgba(255,255,255,0.02);
    border: none;
    padding: 50px;
    border-radius: 20px;
}

        .contact-box p {
            color: var(--muted);
        }

    @media(max-width: 768px) {

        .hero h1 {
            font-size: 2.6rem;
        }

        .project-card {
            grid-template-columns: 1fr;
        }

        nav {
            display: none;
        }
    }

.footer {
    text-align: center;
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

    .footer h2 {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    .footer p {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.7);
        line-height: 1.8;
        margin-bottom: 40px;
    }

    .footer h5 {
        color: rgba(255,255,255,0.7);
        font-style:italic;
        
        margin-top:2rem;
    }

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

    .footer-contact a {
        color: white;
        text-decoration: none;
        font-size: 1.05rem;
    }

        .footer-contact a:hover {
            color:indianred;
            opacity: 0.8;
        }

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 40px auto;
    max-width: 400px;
}

.footer-bottom {
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
}



