@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit/Outfit-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit/Outfit-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit/Outfit-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit/Outfit-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit/Outfit-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.logo-track {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
}

.partner-card {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.4s ease-in-out;
    scroll-snap-align: start;
    padding: 20px;
}

.partner-logo {
    max-width: 100%;
    max-height: 50px;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

.partner-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
}

@media (max-width: 768px) {
    .partner-card {
        width: 130px;
        height: 80px;
    }
    #ethos-section .display-3 {
        font-size: 3rem
    }
    .tech-card {
        width: 200px !important;
        height: 200px !important
    }
    #why-choose-us .why-card:hover {
        transform: translateY(-8px)
    }
}

@media (min-width: 992px) {
    .stair-col:nth-child(1) {
        margin-top: 0;
    }
    .stair-col:nth-child(2) {
        margin-top: 3rem;
    }
    .stair-col:nth-child(3) {
        margin-top: 6rem;
    }
    .stair-col:nth-child(4) {
        margin-top: 9rem;
    }
    .solution-card {
        width: 350px; /* Slightly larger for desktop */
    }
}

@media (max-width: 991px) {
    .stair-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 2rem;
    }
    .stair-col {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin-right: 1rem;
    }
    .section-headings {
        font-size: 12vw !important
    }
    .filter-grayscale {
        filter: grayscale(0%) contrast(1);
        opacity: 1 !important;
        transform: scale(1.02)
    }
}

.scroll-arrow { animation: bounce 2s infinite; }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.bg-ai-automation::before,
.bg-contact::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    content: ""
}

.bento-box,
.bento-inner,
.btn-pulse {
    position: relative
}

:root {
    --gothic-opacity: 0.1;
    --accent-glow: #ffffff55;
    --bg-black: #000;
    --text-white: #fff;
    --text-black: #000;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1)
}

body {
    font-family: Outfit, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #000;
    color: #fff;
    transition: opacity .3s ease-in-out;
    text-rendering: optimizeLegibility;
    overflow-x: hidden
}

#ascii-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background: #000
}

.nav-scrolled {
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.grid-background {
    background-size: 50px 50px;
    background-image: linear-gradient(to right, #333 1px, transparent 1px), linear-gradient(to bottom, #333 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    filter: opacity(.28)
}

#typewriter {
    min-height: 1.5em;
    display: inline-block;
    vertical-align: middle
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5)
}

.faq-card {
    padding: 0 1.5rem;
    transition: background-color .3s
}

.faq-card:hover {
    background-color: rgba(255, 255, 255, .03)
}

.accordion-button::after {
    filter: invert(1) brightness(2)
}

.accordion-button:not(.collapsed) {
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.bg-ai-automation {
    min-height: 100vh;
    background: radial-gradient(circle at center, rgba(0, 0, 0, .6) 0, #000 100%)
}

.bg-ai-automation::before {
    background: url(../images/ai-automation-bg.avif) center/cover no-repeat fixed;
    content: "";
    opacity: .09;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0
}

.ai-bento-card {
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: .4s
}

.ai-bento-card:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .3) !important;
    transform: scale(1.02)
}

.featured-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, .05) 0, rgba(0, 0, 0, .2) 100%)
}

.icon-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem
}

.text-outline-thin {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6)
}

.ls-wide,
.tracking-widest {
    letter-spacing: 2px
}

#ethos-section .hover-zoom {
    transition: transform .5s
}

#ethos-section .hover-zoom:hover {
    transform: scale(1.05)
}

#ethos-section .filter-grayscale {
    filter: grayscale(100%) contrast(1.1);
    transition: filter .3s
}

#ethos-section .filter-grayscale:hover,
.NYC-Skyline:hover {
    filter: grayscale(0%)
}

.text-outline-dark {
    color: transparent;
    -webkit-text-stroke: 1px #212529
}

.fw-black {
    font-weight: 900 !important
}

.reveal-left,
.reveal-right,
.reveal-why-details,
.reveal-why-img,
.reveal-why-text {
    will-change: transform, opacity
}

.NYC-Skyline {
    filter: grayscale(100%) contrast(1.1);
    transition: filter .5s
}

.filter-grayscale {
    filter: grayscale(100%) contrast(1.2);
    transition: .5s
}

.filter-grayscale:hover {
    filter: grayscale(0%) contrast(1);
    opacity: 1 !important;
    transform: scale(1.02)
}

.bg-contact::before {
    background: url(../images/footer-bg.avif) center/cover no-repeat fixed;
    opacity: .09
}

#about-hero {
    background: radial-gradient(circle at 90% 50%, #0d0d0d 0%, #000 100%);
}

#about-hero .display-1 {
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    letter-spacing: -4px;
}

.text-outline-silver {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.service-tag {
    border-top: 1px solid #333;
    padding-top: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-tag:hover {
    border-top-color: #fff;
}

.badge-custom {
    font-size: 0.65rem;
    border: 1px solid #333;
    padding: 4px 10px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.dynamic-color {
    color: #888;
    transition: color 0.6s ease;
}

.parallax-content:hover .dynamic-color {
    color: #fff;
}

.bg-bank::before,
.bg-health::before,
.bg-uni::before,
.btn-pulse::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    position: absolute
}

.bg-uni::before {
    background: url(../images/unibg.avif) center/contain no-repeat fixed;
    content: "";
    opacity: .09
}

.bg-bank::before {
    background: url(../images/bank-bg.avif) center/contain no-repeat fixed;
    content: "";
    opacity: .09
}

.bg-health::before {
    background: url(../images/healthcare-bg.avif) center/contain no-repeat fixed;
    content: "";
    opacity: .09
}

.section-headings {
    font-weight: 900 !important;
    letter-spacing: -.06em;
    font-size: 6rem;
    display: inline-block;
    color: #fff;
    paint-order: stroke fill;
    -webkit-text-stroke: 0 white;
    will-change: transform
}

.footer-logo {
    container-type: inline-size;
    overflow: hidden
}

.footer-logo h1 {
    font-size: 14.5vw;
    line-height: .77;
    letter-spacing: -.07em;
    text-transform: uppercase;
    width: 100%;
    white-space: nowrap;
    font-weight: 900 !important
}

.backdrop-filter-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px)
}

.backdrop-filter-blur-invert {
    backdrop-filter: blur(10px) invert(1);
    -webkit-backdrop-filter: blur(10px) invert(1)
}

.brand-text1 {
    text-shadow: 0 0 4px #fff, 0 0 11px #fff, 0 0 19px #fff, 0 0 40px var(--accent-glow);
    transition: text-shadow 50ms ease-in-out
}

.cursor {
    font-weight: 200;
    color: #6c757d;
    margin-left: 5px
}

.typewriter-subtext {
    letter-spacing: 2px;
    font-family: 'Courier New', Courier, monospace
}

.btn-pulse {
    transition: .3s
}

.btn-pulse::before {
    content: '';
    display: block;
    background-color: inherit;
    border-radius: inherit;
    transition: opacity .3s, transform .3s;
    animation: 2s cubic-bezier(.24, 0, .38, 1) infinite pulse-animation
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    background: #000
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #333 0, #fff 50%, #333 100%);
    border-radius: 10px;
    border: 2px solid #000
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #444 0, #00d4ff 50%, #444 100%)
}

.ai-card,
.feature-card,
.pricing-card,
.roadmap-card,
.tech-card {
    transition: var(--transition)
}

.ai-card:hover,
.feature-card:hover,
.roadmap-card:hover,
.tech-card:hover {
    background-color: var(--text-white) !important;
    color: var(--text-black) !important;
    border-color: var(--text-white) !important;
    transform: translateY(-5px)
}

.tech-card:hover h6,
.tech-card:hover i,
.tech-card:hover p {
    color: var(--text-black) !important
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2)
}

.scroll-container {
    display: flex;
    align-items: center;
    scrollbar-width: none
}

.scroll-container::-webkit-scrollbar {
    display: none
}

#cookie-consent .bg-opacity-60 {
    background-color: rgba(0, 0, 0, .6) !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .05)
}

#cookie-consent .max-w-md {
    max-width: 400px
}

.cookie-show {
    animation: .8s cubic-bezier(.16, 1, .3, 1) forwards slideUp
}

:focus-visible {
    outline: 0 !important
}

@keyframes pulse-animation {
    0% {
        opacity: 1;
        transform: scale(1)
    }
    100%, 70% {
        opacity: 0;
        transform: scale(1.6)
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1 }
    50% { opacity: .3 }
}

@keyframes slideUp {
    from {
        transform: translateY(120%);
        opacity: 0
    }
    to {
        transform: translateY(0);
        opacity: 1
    }
}

@media (max-height:800px) {
    #ai-hub {
        height: auto !important;
    }
}

.solution-track {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 1rem;
}

.solution-card {
    width: 300px;
    scroll-snap-align: center;
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 1rem;
    background: #000;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    min-width: 100%;
    animation: scroll-left 30s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.marquee-tag {
    white-space: nowrap;
    padding: 0 1rem;
}

.marquee-reverse {
    animation: scroll-right 30s linear infinite !important;
}

@keyframes scroll-right {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

#why-choose-us .why-card {
    cursor: default;
    position: relative;
    z-index: 2
}

#why-choose-us .why-card:hover {
    background-color: #000 !important;
    border-color: #000 !important;
    transform: translateX(15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .2) !important
}

#why-choose-us .icon-box,
#why-choose-us .why-ribbon {
    transition: .5s
}

#why-choose-us .why-card:hover .icon-box {
    background-color: #1a1a1a !important;
    border-color: #333 !important;
    transform: scale(1.1) rotate(-5deg)
}

#why-choose-us .why-card:hover svg {
    stroke: #ffffff !important
}

#why-choose-us .why-card:hover h3 {
    color: #fff !important
}

#why-choose-us .why-card:hover p {
    color: rgba(255, 255, 255, .7) !important
}

#why-choose-us .why-card:hover .why-ribbon {
    opacity: 1 !important;
    background-color: #fff !important
}

.hover-dark {
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    display: inline-block;
}

.hover-dark:hover {
    color: #000 !important;
    transform: translateX(4px);
}