:root{
    --bg:#050505;
    --bg-soft:#0d0d0d;
    --panel:#111111;
    --line:rgba(255,255,255,.12);
    --line-soft:rgba(255,255,255,.06);
    --white:#f5f5f3;
    --muted:#9a9a96;
    --muted-dim:#6b6b68;
    --orange:#f26d3d;
    --font-display:'Plus Jakarta Sans', sans-serif;
    --font-body:'Inter', sans-serif;
}

/* ===========================
LOGO INTRO ANIMATION
=========================== */
.logo-intro{
    position: fixed;
    inset: 0;
    background: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity .5s ease;
}

.logo-intro.hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

.logo-intro-container{
    display:flex;
    justify-content:center;
    align-items:center;
}

.intro-logo{
    width:180px;
    height:auto;
    animation: logoIntro 2.2s ease forwards;
}

@keyframes logoIntro{

    0%{
        opacity:0;
        transform:scale(0.5);
    }

    30%{
        opacity:1;
        transform:scale(1);
    }

    75%{
        opacity:1;
        transform:scale(2);
    }

    100%{
        opacity:0;
        transform:scale(3);
    }

}
.logo-img{
    height: 70px;      /* Adjust as needed */
    width: auto;
    display: block;
    transition: 0.3s ease;
}

.logo-img:hover{
    transform: scale(1.05);
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
    background:var(--bg);
    color:var(--white);
    font-family:var(--font-body);
    overflow-x:hidden;
}

.intro-video{
    width:100%;
    height:100vh;
    overflow:hidden;
    position:relative;
}

.intro-video video{
    width:100%;
    height:100%;
    object-fit:cover;
}

header.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.videoHero{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
}

.videoHero video{
    width:100%;
    height:100%;
    object-fit:cover;
}

#dotCanvas{position:fixed;inset:0;width:100vw;height:100vh;z-index:-1;pointer-events:none;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}
.accent{color:var(--orange);}

/* ---------- Header ---------- */
header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    height: 70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:9px 48px;
    background: rgba(10, 10, 10, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    opacity:0;
    visibility:hidden;
    transform:translateY(-30px);
    transition:.8s;
    z-index:1000;
}

.mainnav{
    display: flex;
    align-items: center;
    gap: 60px;
    margin-left: 500px;  
    margin-right: 50px; /* Pushes the nav to the right */
}

header.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: auto;
    height: auto;

    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.logo:hover{
    border-color:var(--orange);
    transform:scale(1.05);
}

.logo span.p{color:var(--orange);margin-left:-3px;}

nav.mainnav{
    display:flex;
    justify-content:space-between;
    width:800px;
    margin:0 auto;
    margin-left:5;
}

nav.mainnav a{
    font-size:12.5px;
    font-weight:700;
    letter-spacing:1.5px;
    color:var(--white);
    position:relative;
    margin-left: -300px;
    padding-bottom:4px;
    transition: color 0.3s ease;
}

nav.mainnav a::after{
    content:'';position:absolute;left:0;bottom:0;width:0;height:1px;
    background:var(--orange);transition:width .25s ease;
}

nav.mainnav a:hover{color:var(--orange);}
nav.mainnav a:hover::after{width:100%;}
.nav-spacer{width:52px;}
.menu-btn{display:none;width:40px;height:40px;flex-direction:column;justify-content:center;gap:5px;align-items:center;}
.menu-btn span{width:22px;height:1.5px;background:var(--white);}

/* ---------- Hero ---------- */
.hero{
    position:relative;
    width:100%;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:70vh;
}

.hero-content{
    position:relative;
    z-index:4;
    max-width:900px;
    text-align:center;
    padding:0 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-waves{
    position:absolute;right:-10%;top:50%;transform:translateY(-50%);
    width:70%;height:140%;opacity:.5;pointer-events:none;
}

.hero h1{
    font-family:var(--font-display);
    font-weight:400;
    font-size:clamp(34px,7vw,52px);
    letter-spacing:-1.5px;
    position:relative;z-index:2;
    margin-bottom:34px;
}

.hero p{
    max-width:780px;
    color:var(--muted);
    font-size:25px;
    line-height:1.7;
    font-weight:500;
    position:relative;z-index:2;
    margin-bottom:44px;
}

.btn-solid{
    position:relative;
    overflow:hidden;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 34px;
    background:#fff;
    color:#000;
    font-size:12px;
    font-weight:700;
    letter-spacing:1.5px;
    z-index:2;
    transition:color .45s ease, transform .35s ease;
    border-radius: 4px;
}

/* .btn-solid::before{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:0%;
    background:var(--orange);
    z-index:-1;
    transition:height .6s cubic-bezier(.22,1,.36,1);
}

.btn-solid:hover{
    color:#fff;
    transform:translateY(-3px);
}

.btn-solid:hover::before{
    height:100%;
}

.btn-solid svg{
    width:15px;
    height:15px;
    transition:transform .35s ease;
}

.btn-solid:hover svg{
    transform:translateX(6px);
} */

/* ---------- Featured project ---------- */

.project{

    position:relative;

    height:300vh;

    background:#000;

}

.project-sticky{

    position:sticky;

    top:0;

    width:100%;

    height:100vh;

    overflow:hidden;

}

.project-1 .project-bg{
    background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.28), rgba(0,0,0,.85)),
    url("images/akshaya2&indexbg.webp");
    background-size:cover;
    background-position:center;
}

.project-2 .project-bg{
    background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.28), rgba(0,0,0,.85)),
    url("images/sample_pro1.webp");
    background-size:cover;
    background-position:center;
}

.project-3 .project-bg{
    background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.28), rgba(0,0,0,.85)),
    url("images/Mohr/MOHR_bg.webp");
    background-size:cover;
    background-position:center;
}

.project-bg{

    position:absolute;

    inset:0;
    z-index:1;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    overflow:hidden;

    transform-origin:center center;

    will-change:transform, filter;

    transition:
        transform .1s linear,
        filter .1s linear;
}

.project-bg::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        115deg,
        transparent 62%,
        rgba(255,255,255,.05) 63%,
        rgba(255,255,255,.05) 78%,
        transparent 79%
    );

}

.project-bg::after{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        0deg,
        rgba(0,0,0,.94) 0%,
        rgba(0,0,0,.55) 34%,
        rgba(0,0,0,.15) 62%,
        transparent 100%
    );

}

/*==============================
IMAGES
==============================*/

.project-gallery{
    position:absolute;
    inset:0;
    overflow:hidden;
    pointer-events:none;
}

.project-gallery::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:35vh;

    z-index:5;
    pointer-events:none;

    background:linear-gradient(
        to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,.95) 15%,
        rgba(0,0,0,.75) 35%,
        rgba(0,0,0,.35) 65%,
        rgba(0,0,0,0) 100%
    );
}

.gallery-track{

    position:absolute;

    inset:0;

    z-index:1;

    transform:translateY(0);

    will-change:transform;

}

.gallery-img{

    position:absolute;

    object-fit:cover;

    box-shadow:0 35px 80px rgba(0,0,0,.45);
    z-index:1;
    opacity:0;

    transition:opacity .3s;

}

.gallery-img:nth-child(1){

    width:75vw;
    max-width:720px;
    height:520px;
    object-fit:cover;
    left:13.3vw;

    top:135vh;   /* was 18vh */

}

.gallery-img:nth-child(2){

    width:34vw;
    max-width:600px;

     height:420px;
    object-fit:cover;
    right:13.3vw;

    top:140vh;   /* was 26vh */

}

/*==============================
CONTENT
==============================*/

.project-content{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    z-index:5;

    padding:0 90px 48px;

}

.project-title{

    font-family:var(--font-display);

    font-size:clamp(42px,6vw,64px);

    font-weight:700;

    letter-spacing:-1px;

    margin-bottom:40px;

}

.project-bottom{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:80px;

}

.project-meta{

    display:grid;

    grid-template-columns:repeat(5,160px);

    gap:40px;

}

.meta-item .label{

    font-size:10px;

    letter-spacing:2px;

    color:rgba(255,255,255,.45);

    margin-bottom:10px;

}

.meta-item .value{

    font-size:14px;

    font-weight:600;

    color:#fff;

}

.btn-outline{

    position:relative;
    overflow:hidden;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:5px 72px;

    border:1px solid rgba(255,255,255,.4);

    color:#fff;

    font-size:11px;
    font-weight:500;

    transition:
        color .45s ease,
        border-color .45s ease,
        transform .35s ease;

    z-index:1;

}

/* .btn-outline::before{

    content:"";

    position:absolute;

    left:0;
    bottom:0;

    width:100%;
    height:0%;

    background:var(--orange);

    z-index:-1;

    transition:height .6s cubic-bezier(.22,1,.36,1);

}

.btn-outline:hover{

    color:#fff;
    border-color:var(--orange);
    transform:translateY(-3px);

}

.btn-outline:hover::before{

    height:100%;

}

.btn-outline svg{

    width:16px;
    height:38px;

    transition:transform .35s ease;

}

.btn-outline:hover svg{

    transform:translateX(6px);

} */

/* ---------- Section Base ---------- */
.section-pad{
    padding:100px 48px;
}

.section-heading{
    font-family:var(--font-display);
    font-weight:400;
    font-size:clamp(28px,4vw,46px);
    letter-spacing:-1px;
    margin-bottom:60px;
    text-align:center;
}

.container{
    max-width:1200px;
    margin:0 auto;
}

/* ---------- Trust Section ---------- */
.trust{
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.trust-track-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:24px;
    max-width:1300px;
    margin:0 auto;
}

.trust-logos{
    position:relative;
    overflow:hidden;
    flex:1;
}

.trust-track{
    display:flex;
    gap:150px;
    will-change:transform;
}

.trust-logo{
    min-width:180px;
    width:180px;
    height:90px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    background:transparent;
    border:none;
    border-radius:0;
    padding:0;

    transition:transform .35s ease;
}

.trust-logo:hover{
    transform:scale(1.05);
}
.trust-logo img{
    width:100%;
    height:100%;

    object-fit:contain;
    object-position:center;

    display:block;
}



/* ===========================================================
   TESTIMONIAL SECTION
=========================================================== */

.testimonial-section{
    position:relative;
    overflow:hidden;
    padding:90px 48px;
    animation: fadeInUp 0.8s ease-out;
}

.testimonial-wrapper{
    display:flex;
    align-items:center;
    gap:55px;
    max-width:1200px;
    margin:80px auto 0;
}

.testimonial-controls{
    display:flex;
    flex-direction:column;
    gap:18px;
    flex-shrink:0;
}
#testimonialPrev{
    transform: translateX(1170px) translateY(100px);
}

#testimonialNext{
    transform: translateX(1170px) translateY(-130px);
}

.testimonial-card{
    position: relative;
    flex: 1;
    height: 420px;   /* Try 400px-450px */
    border: none;
    overflow: hidden;
}

.testimonial-viewport{
    position:relative;
    height:100%;
    overflow:hidden;
}

.testimonial-track{
    position:absolute;
    inset:0;
}

.testimonial-item{
    position:absolute;
    top:0;
    left: -40px;
    width:100%;
    padding:0 90px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    text-align:center;
    transition:
        top .55s cubic-bezier(.19,1,.22,1),
        transform .55s cubic-bezier(.19,1,.22,1),
        opacity .55s cubic-bezier(.19,1,.22,1),
        filter .55s cubic-bezier(.19,1,.22,1);
    will-change: transform, opacity, top, filter;
}

.testimonial-item.prev{
    top:0px;
    opacity:20;
    filter:blur(1.2px);
    transform:perspective(1200px)
        translateY(-30px)
        scale(.95)
        rotateX(12deg);
}

.testimonial-item.active{
    top:85px;
    opacity:1;
    filter:none;
    transform:perspective(1200px)
        translateY(0)
        scale(1)
        rotateX(0deg);
}

.testimonial-item.next{
    top:210px;
    opacity:20;
    filter:blur(1.2px);
    transform:perspective(1200px)
        translateY(30px)
        scale(.95)
        rotateX(-12deg);
}

.testimonial-item.hidden{
    top:650px;
    opacity:0;
    filter:blur(3px);
    pointer-events:none;
    transform:perspective(1200px)
        scale(.7)
        rotateX(-15deg);
}

.testimonial-text{
    max-width:760px;
    color:#ffffff;
    font-size:20px;
    line-height:1.95;
    font-weight:400;
    letter-spacing:.2px;
}

.testimonial-author{
    margin-top:20px;
    color:var(--orange);
    font-size:18px;
    font-weight:600;
}

.quote-left,
.quote-right{
    position:absolute;
    font-size:78px;
    color:#ffffff;
    opacity:.9;
    z-index:20;
    user-select:none;
    pointer-events:none;
}

.quote-left{
    left:12px;
    top:30px;
}

.quote-right{
    right:110px;
    bottom:50px;
}

.testimonial-text{
    transition: opacity .55s cubic-bezier(.19,1,.22,1);
}

.testimonial-author{
    transition: opacity .55s cubic-bezier(.19,1,.22,1);
}

.testimonial-item.prev .testimonial-text,
.testimonial-item.next .testimonial-text{
    opacity:.2;
}

.testimonial-item.prev .testimonial-author,
.testimonial-item.next .testimonial-author{
    opacity:.15;
}

.carousel-arrow{
    width:32px;
    height:32px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.05);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:.35s;
}

.carousel-arrow:hover{
    background:var(--orange);
    color:#fff;
    transform:translateY(-2px);
    border-color:var(--orange);
}

/* ---------- Contact ---------- */
.contact{
    padding:1px 350px 0;
    display:grid;grid-template-columns:1.15fr 1fr;gap:80px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.contact h2{
    font-family:var(--font-display);
    font-weight:700;
    font-size:clamp(32px,4vw,44px);
    letter-spacing:-1px;
    margin-bottom:14px;
}

.contact-sub{color:var(--muted);font-size:15px;margin-bottom:44px;}

.field{
    border-bottom:1px solid var(--line);
    padding-bottom:12px;
    margin-bottom:34px;
    transition: border-color 0.3s ease;
}

.field:focus-within{
    border-color:var(--orange);
}

.field label{
    display:block;font-size:14px;color:var(--muted);margin-bottom:10px;
}

.field input, .field textarea{
    width:100%;background:transparent;border:none;color:var(--white);
    font-family:inherit;font-size:15px;outline:none;
    transition: color 0.2s ease;
}

.field input::placeholder, .field textarea::placeholder{
    color:rgba(255,255,255,0.2);
}

.field textarea{resize:none;height:22px;}

.field-row{display:grid;grid-template-columns:1fr 1fr;gap:40px;}

.btn-submit{
    display:inline-flex;align-items:center;gap:10px;
    background:var(--white);color:#000;
    padding:16px 30px;
    font-size:12px;font-weight:700;letter-spacing:1.5px;
    margin-top:6px;
    transition:all .25s ease;
    border-radius: 4px;
}
/* 
.btn-submit:hover{
    background:var(--orange);
    color:#fff;
    transform:translateY(-2px);
}

.btn-submit:active{
    transform:translateY(0);
} */

.btn-submit svg{width:14px;height:14px;}

.contact-info h2{margin-bottom:44px;}

.info-block{
    display:flex;gap:18px;margin-bottom:36px;
    transition: transform 0.3s ease;
}

.info-block:hover{
    transform:translateX(8px);
}

.info-icon{
    width:38px;height:38px;border-radius:50%;
    border:1px solid var(--line);
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;margin-top:2px;
    transition: all 0.3s ease;
}

.info-block:hover .info-icon{
    border-color:var(--orange);
    background:rgba(242,109,61,0.1);
}

.info-icon svg{width:16px;height:16px;stroke:var(--white);}

.info-block .label{font-weight:700;font-size:14.5px;margin-bottom:6px;}
.info-block .value{color:var(--muted);font-size:14.5px;line-height:1.6;}

footer{
    margin-top:90px;
    border-top:1px solid var(--line-soft);
    padding:38px 48px 40px;
    display:flex;align-items:center;justify-content:center;gap:16px;
    flex-wrap:wrap;
}

.social-icon{
    width:42px;height:42px;border-radius:50%;
    border:1px solid var(--line);
    display:flex;align-items:center;justify-content:center;
    transition:all .25s ease;
}

.social-icon:hover{
    border-color:var(--orange);
    background:rgba(232,90,42,.12);
    transform:translateY(-3px);
}

.social-icon svg{width:16px;height:16px;fill:var(--white);}

/* ===========================
SCROLL TO TOP BUTTON
============================ */
#scrollTopBtn{
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ===========================
RESPONSIVE DESIGN
============================ */
@media (max-width:900px){
    header{padding:16px 22px;}
    nav.mainnav{gap:28px;width:500px;}
    .nav-spacer{display:none;}
    .section-pad{padding:90px 24px;}
    .project-content{padding:0 24px 40px;}
    .contact{grid-template-columns:1fr;gap:60px;padding:90px 24px 0;}
    .field-row{grid-template-columns:1fr;gap:0;}
    .trust-logos{flex-wrap:wrap;justify-content:center;}
    .project-bottom{grid-template-columns:1fr;gap:40px;}
    .testimonial-wrapper{gap:30px;}
}

@media (max-width:560px){
    nav.mainnav{display:none;}
    header{padding:14px 16px;}
    .logo{width:45px;height:45px;font-size:18px;}
    .contact{padding:60px 16px 0;}
    .contact h2{font-size:28px;}
    .testimonial-item{padding:0 24px;}
    .testimonial-item.prev{top:20px;}
    .testimonial-item.active{top:160px;}
    .testimonial-item.next{top:360px;}
    .testimonial-text{font-size:17px;}
    .quote-left, .quote-right{display:none;}
}



/* =================================
   UNIVERSAL BUTTON
================================= */

.btn{
    position:relative;
    overflow:hidden;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:16px 34px;

    border:1px solid rgba(255,255,255,.35);

    font-size:12px;
    font-weight:700;
    letter-spacing:1.5px;

    border-radius:4px;

    transition:
        color .45s ease,
        transform .35s ease,
        border-color .35s ease;

    z-index:1;
}

.btn::before{
    content:"";
    position:absolute;
    left:0;
    bottom:0;

    width:100%;
    height:0%;

    background:var(--orange);

    transition:height .6s cubic-bezier(.22,1,.36,1);

    z-index:-1;
}

.btn:hover{
    color:#fff;
    border-color:var(--orange);
    transform:translateY(-3px);
}

.btn:hover::before{
    height:100%;
}

.btn svg{
    width:15px;
    height:15px;

    transition:transform .35s ease;
}

.btn:hover svg{
    transform:translateX(6px);
}

.copy-rights{
    text-align:center;
    font-size:13px;
    color:var(--muted);
    letter-spacing:.8px;
    padding:28px 20px;
    border-top:1px solid var(--line);
}

.developer-link{
    position:relative;
    color:var(--orange);
    text-decoration:none;
}

.developer-link::after{
    content:attr(data-tooltip);

    position:absolute;

    left:50%;
    bottom:140%;

    transform:translateX(-50%) translateY(10px);

    white-space:nowrap;

    background:#111;
    color:#fff;

    padding:10px 16px;

    border-radius:8px;

    font-size:12px;
    letter-spacing:.5px;

    opacity:0;
    visibility:hidden;

    transition:.35s ease;

    border:1px solid rgba(255,255,255,.08);

    pointer-events:none;
}

.developer-link:hover::after{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
}

/* Global Text Selection */
::selection {
    background: #e85a2a;   /* Your Space Palette orange */
    color: #ffffff;
}

::-moz-selection {
    background: #e85a2a;
    color: #ffffff;
}

::-webkit-scrollbar{
    width:5px;
}

::-webkit-scrollbar-track{
    background:#050505;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(
        180deg,
        #464443 0%,
        #464443 50%,
        #464443 100%
    );
    border-radius:100px;
    border:1px solid rgba(255,255,255,.08);
}

html{

    scroll-behavior:smooth;

}

/* =========================
   Scroll Progress
========================= */

.scroll-progress{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:2px;

    background:rgba(255,255,255,.08);

    z-index:99999;

    overflow:hidden;

}

.scroll-progress-bar{

    width:100%;

    height:100%;

    background:#f7764c;

    transform:scaleX(0);

    transform-origin:left center;

    will-change:transform;

}




