/* ===== Reset-ish ===== */
html { scroll-behavior: smooth; }

body{
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
    background: #ffffff;
    color: #111111;
}

/* Make disabled links really disabled */
a[aria-disabled="true"]{
    opacity: .55;
    pointer-events: none;
}

/* ===== Floating navbar ===== */
.nav-float-wrap{
    position: fixed;
    top: 22px;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

.nav-float{
    pointer-events: auto;
    width: min(1080px, calc(100% - 28px));
    margin: 0 auto;
    padding: 10px 14px;
    border-radius: 10px;
    background: hsla(0, 0%, 67%, .1);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-brand{
    letter-spacing: .4px;
}

.navbar .nav-link{
    color: #111111;
    opacity: .8;
}

.navbar .nav-link:hover{
    opacity: 1;
}

/* Ensure burger icon visible on white */
.navbar-toggler{
    border: 1px solid rgba(0,0,0,0.15);
}
.navbar-toggler-icon{
    filter: invert(1) grayscale(1);
}

/* ===== Navbar logo ===== */

.navbar-logo{
    height: 50px;
    width: auto;
    object-fit: contain;
}

.navbar-logo:hover{
    opacity: 0.85;
}

/* ===== HERO IMAGE ===== */

.hero-image{
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

.hero-bg-image{
    position: absolute;
    inset: 0;
    background-image: url("img/bg-qaventra_data2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content-min{
    position: relative;
}

.hero-title-min{
    font-size: clamp(36px, 6vw, 72px);
    line-height: 0.95;
    margin: 0;
    max-width: 20ch;
}

.hero-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content{
    position: relative;
    padding-top: 92px;
    padding-bottom: 56px;
}

.hero-kicker{
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: .85;
    margin-bottom: 10px;
}

.hero-title{
    font-size: clamp(36px, 5vw, 68px);
    line-height: 0.95;
    margin: 0 0 12px;
}

.hero-sub{
    max-width: 70ch;
    opacity: .9;
    font-size: 18px;
    margin: 0 0 10px;
}

.hero-meta{
    opacity: .85;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-meta .sep{ opacity: .7; }

/* ===== Minimal follow section ===== */
.hero-follow-min{
    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-statement{
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.1;
    margin: 0;
}

.hero-paragraph{
    font-size: 18px;
    line-height: 1.35;
    max-width: 65ch;
    color: rgba(0,0,0,0.75);
}

.hero-kicker-2{
    letter-spacing: 1.2px;
    font-size: 12px;
}

/* ===== SERVICES ===== */
.services-v2{
    background: #ffffff;
    padding-top: 140px;
    padding-bottom: 140px;
}

.services-header{
    margin-bottom: 100px;
}

.services-header h2{
    font-size: 36px;
    margin-bottom: 16px;
}

.services-intro{
    font-size: 18px;
    line-height: 1.4;
    color: rgba(0,0,0,0.7);
}

/* Rows */
.service-row{
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 80px 0;
    transition: background 0.3s ease;
}

.service-row:hover{
    background: #efefef;
}

/* Layout */
.service-inner{
    display: grid;
    grid-template-columns: 80px 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Number */
.service-number{
    font-size: 14px;
    letter-spacing: 1.5px;
    color: rgba(0,0,0,0.4);
    margin-top: 8px;
}

/* Main */
.service-main h3{
    font-size: 26px;
    margin-bottom: 14px;
    transition: transform 0.25s ease;
    transform-origin: left;
}

.service-row:hover .service-main h3{
    transform: scale(1.05);
}

.service-main p{
    font-size: 18px;
    line-height: 1.35;
    color: rgba(0,0,0,0.75);
    margin: 0;
}

/* Meta */
.service-meta{
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(0,0,0,0.65);
}

/* Responsive */
@media (max-width: 992px){
    .service-inner{
        grid-template-columns: 1fr;
    }

    .service-number{
        margin-bottom: 10px;
    }
}

@media (max-width: 768px){
    .services-v2{
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .service-row{
        padding: 50px 0;
    }
}

/* ===== LETS BUILD ===== */
.split-showcase{
    padding-top: 120px;
    padding-bottom: 120px;
}

.split-media{
    width: 100%;
    max-height: 420px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #ddd;
}

.split-media img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.split-panel{
    height: 100%;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.split-panel-inner{
    text-align: center;
}

.split-title{
    font-size: clamp(26px, 3vw, 30px);
    line-height: 1.05;
    margin: 0 0 14px;
}

.split-subtitle{
    font-size: 16px;
    line-height: 1.35;
    margin: 0 0 22px;
    color: rgba(0,0,0,0.65);
}

.split-cta{
    letter-spacing: 0.8px;
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-width: 1px;
}

@media (max-width: 576px){
    .split-showcase{
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .split-panel{
        padding: 28px;
    }
}

/* Mobile */
@media (max-width: 768px){
    .service-block{
        padding: 45px 0;
    }
}

/* Mobile */
@media (max-width: 768px){
    .services-section{
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .service-block{
        padding: 40px 0;
    }
}

/* ===== OUR WORK ===== */
.work-pro .work-title{
    font-size: 36px;
    margin: 0 0 16px;
}

.work-pro .work-sub{
    max-width: 720px;
    line-height: 1.5;
    opacity: 0.9;
}


/* Wrapper for carousel */
.work-pro .work-carousel{
    position: relative;
    width: 100%;
}


/* Horizontal scroll container */
.work-pro .work-strip{
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    --edge: clamp(16px, 5vw, 56px);
    padding: 18px var(--edge) 22px;

    scroll-behavior: smooth;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.work-pro .work-strip::-webkit-scrollbar{
    display: none;
}


/* Track */
.work-pro .work-track{
    display: flex;
    gap: clamp(16px, 3vw, 50px);
}


/* Card base */
.work-pro .work-card-pro{
    position: relative;
    flex: 0 0 auto;

    width: 83vw;
    aspect-ratio: 2.2 / 1;

    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;

    scroll-snap-align: start;
    transition: transform 0.35s ease;
}

.work-pro .work-card-pro:hover{
    transform: translateY(-2px);
}


/* Background image */
.work-pro .work-bg{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 0.6s ease;
    z-index: 0;
}

.work-pro .work-card-pro:hover .work-bg{
    transform: scale(1.06);
}


/* Overlay gradient */
.work-pro .work-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.65) 0%,
            rgba(0,0,0,0.28) 55%,
            rgba(0,0,0,0.55) 100%
    );
    z-index: 1;
}


/* Top-left title panel */
.work-pro .work-top-left{
    position: absolute;
    top: 26px;
    left: 26px;
    z-index: 2;

    max-width: 62%;

    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    padding: 14px 16px;
    border-radius: 12px;
}

.work-pro .work-kicker{
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0 0 6px;
}

.work-pro .work-card-pro h3{
    font-size: clamp(20px, 2.2vw, 34px);
    line-height: 1.05;
    margin: 0;
}


/* Bottom-left description panel */
.work-pro .work-bottom-left-desc{
    position: absolute;
    left: 26px;
    bottom: 22px;
    z-index: 2;
    max-width: min(65%, 720px);
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 22px;
    line-height: 1.4;
    color: rgba(255,255,255,0.92);
    margin-right: 140px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Bottom-right tag */
.work-pro .work-bottom-right{
    position: absolute;
    bottom: 22px;
    right: 22px;
    z-index: 2;
    background: #ffffff;
    color: #111111;
    padding: 10px 16px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
    white-space: nowrap;
}


/* Wrapper for nav buttons */
.work-pro .work-card-nav{
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}


/* Nav arrow buttons */
.work-pro .work-card-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    width: 54px;
    height: 44px;
    border: 0;
    cursor: pointer;
    border-radius: 10px;
    background: rgba(0,0,0,0.22);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.work-pro .work-card-arrow .arrow-ico{
    font-size: 26px;
    line-height: 1;
    transform: translateY(-1px);
}

.work-pro .work-card-arrow--prev{ left: 14px; }
.work-pro .work-card-arrow--next{ right: 14px; }


/* Show arrows only on desktop hover */
@media (hover: hover) and (pointer: fine){
    .work-pro .work-card-pro:hover .work-card-arrow,
    .work-pro .work-card-pro:focus-within .work-card-arrow{
        opacity: 1;
    }

    .work-pro .work-card-arrow:hover{
        background: rgba(0,0,0,0.34);
        transform: translateY(-50%) scale(1.03);
    }
}


/* Hide arrows completely on mobile */
@media (hover: none), (pointer: coarse){
    .work-pro .work-card-nav{
        display: none !important;
    }
}


/* Mobile layout */
@media (max-width: 768px){

    .work-pro .work-track{
        gap: 14px;
    }

    .work-pro .work-card-pro{
        width: calc(100vw - 32px);
        aspect-ratio: 1 / 1;
        border-radius: 16px;
    }

    .work-pro .work-top-left{
        top: 16px;
        left: 16px;
        max-width: 86%;
        padding: 12px 14px;
    }

    .work-pro .work-bottom-left-desc{
        display: none;
    }

    .work-pro .work-bottom-right{
        right: 16px;
        bottom: 16px;
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* ===== Sections ===== */
.section{
    position: relative;
}

.section-white{
    background: #ffffff;
}

.section-grey{
    background: #efefef;
}

/* ===== Cards ===== */
.clean-card{
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
}

.clean-card .text-muted{
    color: rgba(0,0,0,0.65) !important;
}

.clean-card ul{
    padding-left: 18px;
}

/* Mini-cards in contact */
.mini-card{
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 14px;
    padding: 14px;
    background: #ffffff;
    height: 100%;
}
.mini-label{
    font-size: 12px;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: rgba(0,0,0,0.60);
    margin-bottom: 6px;
}
.mini-value{
    color: #111111;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* HR lighter */
hr{
    border-color: rgba(0,0,0,0.10) !important;
}

/* Footer */
.site-footer{
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.08);
}


/* Mobile tuning */
@media (max-width: 576px){
    .nav-float-wrap{ top: 14px; }
    .nav-float{ border-radius: 18px; }
    .hero-sub{ font-size: 16px; }
}