:root {
    --primary-gold: #fec008;
    --dark-bg: #080808;
    --card-bg: #121212;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* GLOBAL OVERFLOW FIX & RESET */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--dark-bg);
    color: #FFFFFF;
}

h1,
h2,
h3,
.heading-font {
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.heading-syne {
    font-family: 'Syne', sans-serif;
    text-transform: uppercase;
}

.mono-tech {
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.1em;
}

.accent-text-gradient {
    background: linear-gradient(135deg, #fec008 0%, #FFB300 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-gradient {
    background: linear-gradient(135deg, #fec008 0%, #FFB300 100%);
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    pointer-events: auto;
}

.loader-shutter {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%;
    background: #000;
    transition: transform 1.5s var(--ease-out-expo);
    z-index: 1;
}

.shutter-top {
    top: 0;
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.shutter-bottom {
    bottom: 0;
    border-top: 1px solid rgba(255, 193, 7, 0.1);
}

#preloader.loaded .shutter-top {
    transform: translateY(-100%);
}

#preloader.loaded .shutter-bottom {
    transform: translateY(100%);
}


/*--------------------------------------------*/


/* SHUTTERS */
.loader-shutter-top {
    position: absolute;
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.shutter-top {
    top: 0;
    align-items: flex-end;
    padding-bottom: 30px;
}

.preloader-brand-top {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 10vw, 10rem);
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin: 0;
    line-height: 1;
}

/*---------------------------------------------*/

#preloader.loaded {
    pointer-events: none;
    visibility: hidden;
    transition-delay: 1.5s;
}

.loader-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.preloader-brand-top {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 10vw, 10rem);
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    position: relative;
    display: inline-block;
}

.preloader-brand-top .accent {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    position: relative;
}

.preloader-brand-top .accent::after {
    content: "INFOTECH";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    color: var(--primary-gold);
    -webkit-text-stroke: 0px transparent;
    overflow: hidden;
    border-right: 2px solid var(--primary-gold);
    animation: tech-scan 1.5s var(--ease-out-expo) forwards;
    animation-delay: 1s;
}

.preloader-brand {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 10vw, 10rem);
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    position: relative;
    display: inline-block;
}

.preloader-brand .accent {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    position: relative;
}

.preloader-brand .accent::after {
    content: "INFOTECH";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    color: var(--primary-gold);
    -webkit-text-stroke: 0px transparent;
    overflow: hidden;
    border-right: 2px solid var(--primary-gold);
    animation: tech-scan 1.5s var(--ease-out-expo) forwards;
    animation-delay: 1s;
}

@keyframes tech-scan {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* --- GLOBAL REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1.2s var(--ease-out-expo);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1.2s var(--ease-out-expo);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

/* --- NAV ISLAND --- */
.nav-island {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    transition: all 0.6s var(--ease-out-expo);
}

.header-scrolled .nav-island {
    background: rgba(8, 8, 8, 0.9);
    border-color: rgba(255, 193, 7, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- HERO SLIDER --- */
.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 10;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 0 100%);
    transition: clip-path 1.4s cubic-bezier(0.85, 0, 0.15, 1), visibility 1.4s, opacity 1s;
    opacity: 0;
}

.hero-slide.active {
    clip-path: inset(0 0 0 0);
    z-index: 30;
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.hero-slide.exit {
    clip-path: inset(0 100% 0 0);
    z-index: 20;
    visibility: visible;
    opacity: 0.3;
}

.slide-bg-overlay {
    background: linear-gradient(to right, rgba(8, 8, 8, 1) 15%, rgba(8, 8, 8, 0.7) 50%, rgba(8, 8, 8, 0.2) 100%);
}

/* --- CARDS --- */
.glass-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.6s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.02);
}

/* --- MARQUEE --- */
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- INTELLIGENCE SLIDER --- */
.intel-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.intel-slider-track {
    display: flex;
    transition: transform 0.8s var(--ease-out-expo);
    width: 100%;
    will-change: transform;
}

.intel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
}

/* --- BLOG SLIDER --- */
.blog-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.blog-slider-track {
    display: flex;
    transition: transform 0.8s var(--ease-out-expo);
    width: 100%;
    will-change: transform;
}

.blog-slide {
    flex: 0 0 100%;
    padding: 0 12px;
}

@media (min-width: 768px) {
    .blog-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .blog-slide {
        flex: 0 0 33.333%;
    }
}

/* --- ABOUT REFINEMENT --- */
.about-visual-frame {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 10, 0.4);
    border-radius: 2rem;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
    box-shadow: 0 0 15px var(--primary-gold);
    animation: scanning 4s linear infinite;
    z-index: 10;
}

@keyframes scanning {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.tech-bracket {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-gold);
    z-index: 20;
    opacity: 0.3;
}

.bracket-tl {
    top: -1px;
    left: -1px;
    border-right: 0;
    border-bottom: 0;
}

.bracket-br {
    bottom: -1px;
    right: -1px;
    border-left: 0;
    border-top: 0;
}

.blog-image-wrap {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 16/10;
    clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 1s var(--ease-out-expo);
}

.blog-card:hover img {
    filter: grayscale(0%);
    opacity: 0.7;
    transform: scale(1.05);
}

.hud-tag {
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: rgba(255, 193, 7, 0.05);
    padding: 3px 8px;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.pull-quote {
    border-left: 2px solid var(--primary-gold);
    padding-left: 2rem;
    margin: 4rem 0;
    font-style: italic;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Sora', sans-serif;
    background: linear-gradient(to right, rgba(255, 193, 7, 0.03), transparent);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* --- FOOTER --- */
.footer-monolith {
    background: #040404;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-vertical-brand {
    position: absolute;
    right: -2.5rem;
    bottom: 0;
    writing-mode: vertical-rl;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 18vw;
    color: rgba(255, 255, 255, 0.012);
    line-height: 1;
    pointer-events: none;
    text-transform: uppercase;
}

.footer-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.footer-link:hover {
    color: #fff;
}

#menu-overlay {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1s var(--ease-out-expo);
}

#menu-overlay.open {
    clip-path: inset(0 0 0 0);
}

.neural-grid {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 193, 7, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.btn-premium {
    font-family: 'Sora', sans-serif;
    position: relative;
    z-index: 1;
    transition: all 0.4s var(--ease-out-expo);
    overflow: hidden;
}

.btn-premium::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-premium:hover::before {
    width: 300%;
    height: 500%;
}

.btn-premium:hover {
    color: #000;
    border-color: transparent;
}

.nav-btn-unique {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.75rem;
    color: white;
    transition: all 0.4s;
    user-select: none;
}

.nav-btn-unique:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-gold);
}


/* --- Agency --- */

/* --- GLOBAL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
    will-change: transform, opacity;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1.2s var(--ease-out-expo);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1.2s var(--ease-out-expo);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

/* --- NEURAL GRID --- */
.neural-grid {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 193, 7, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

/* --- NAV STYLING --- */
.nav-island {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    transition: all 0.6s var(--ease-out-expo);
}

.header-scrolled .nav-island {
    background: rgba(8, 8, 8, 0.9);
    border-color: rgba(255, 193, 7, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- GLASS CARDS --- */
.glass-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.6s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.02);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.8);
}

/* --- PILLARS --- */
.value-pillar {
    background: rgba(18, 18, 18, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-left: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.6s var(--ease-out-expo);
}

.load-bar {
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.load-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-gold);
    width: 0%;
    transition: width 1.5s var(--ease-out-expo);
}

.active .load-fill {
    width: 100%;
}

/* --- HORIZONTAL EVOLUTION SLIDER --- */
.evolution-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    display: flex;
    align-items: center;
    padding: 20px ;
    position: relative;
}

.evolution-container::-webkit-scrollbar {
    display: none;
}

.evolution-container:active {
    cursor: grabbing;
}

.evolution-track-horizontal {
    display: flex;
    gap: 12vw;
    padding-left: 10vw;
    padding-right: 40vw;
    /* Increased for longer timeline */
    position: relative;
    min-width: max-content;
}

.evo-horizontal-spine {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0.2;
    z-index: 1;
}

.evo-node-horizontal {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #000;
    border: 1px solid var(--primary-gold);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evo-node-horizontal::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    box-shadow: 0 0 10px var(--primary-gold);
}

.evo-module-card {
    width: 380px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.evo-year-bg-large {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 120px;
    /* Small font size as requested */
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    position: absolute;
    top: -60px;
    left: -10px;
    z-index: 1;
    pointer-events: none;
}

.evo-progress-telemetry {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.evo-progress-fill {
    height: 100%;
    width: 0;
    background: var(--primary-gold);
    box-shadow: 0 0 10px var(--primary-gold);
    transition: width 0.1s linear;
}

/* --- SERVICE DOSSIER DESIGN --- */
.service-dossier-card {
    position: relative;
    padding: 5rem 0;
    perspective: 1000px;
}

.service-visual-wrap {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s var(--ease-out-expo);
}

.service-dossier-card:hover .service-visual-wrap {
    transform: rotateX(4deg) rotateY(-4deg);
}

.service-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16/10;
    clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 1.2s var(--ease-out-expo);
    transform: scale(1.1);
}

.service-dossier-card:hover img {
    filter: grayscale(0%);
    opacity: 0.7;
    transform: scale(1);
}

.tech-bracket {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-gold);
    z-index: 20;
    transition: all 0.6s var(--ease-out-expo);
    opacity: 0.2;
}

.bracket-tl {
    top: -8px;
    left: -8px;
    border-right: 0;
    border-bottom: 0;
}

.bracket-br {
    bottom: -8px;
    right: -8px;
    border-left: 0;
    border-top: 0;
}

.service-dossier-card:hover .tech-bracket {
    width: 50px;
    height: 50px;
    opacity: 0.8;
}

.service-hud-data {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 30;
    text-align: right;
    transform: translateZ(40px);
}

.hud-label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: rgba(0, 0, 0, 0.85);
    padding: 3px 8px;
    margin-bottom: 4px;
    border-left: 2px solid var(--primary-gold);
}

/* --- PERSPECTIVE DOSSIER ELEMENTS --- */
.service-visual-wrap {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s var(--ease-out-expo);
}

.service-visual-wrap:hover {
    transform: rotateX(4deg) rotateY(-4deg);
}

.service-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16/9;
    clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 1.2s var(--ease-out-expo);
}

.service-visual-wrap:hover img {
    filter: grayscale(0%);
    opacity: 0.7;
}

.tech-bracket {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-gold);
    z-index: 20;
    transition: all 0.6s var(--ease-out-expo);
    opacity: 0.2;
}

.bracket-tl {
    top: -8px;
    left: -8px;
    border-right: 0;
    border-bottom: 0;
}

.bracket-br {
    bottom: -8px;
    right: -8px;
    border-left: 0;
    border-top: 0;
}

.service-visual-wrap:hover .tech-bracket {
    width: 50px;
    height: 50px;
    opacity: 0.8;
}

.hud-label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: rgba(0, 0, 0, 0.85);
    padding: 3px 8px;
    margin-bottom: 4px;
    border-left: 2px solid var(--primary-gold);
}


/* --- ADVANCED PORTFOLIO CARD DESIGN --- */
.project-dossier {
    position: relative;
    perspective: 1000px;
    transition: all 0.6s var(--ease-out-expo);
}

.project-dossier.hidden {
    display: none;
}

.portfolio-visual-wrap {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s var(--ease-out-expo);
}

.project-dossier:hover .portfolio-visual-wrap {
    transform: rotateX(5deg) rotateY(-5deg) translateZ(10px);
}

.portfolio-image-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16/11;
    clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.3;
    transition: all 1.2s var(--ease-out-expo);
}

.project-dossier:hover img {
    filter: grayscale(0%);
    opacity: 0.6;
    transform: scale(1.08);
}

.system-diag {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255, 193, 7, 0.03) 1px, rgba(255, 193, 7, 0.03) 2px);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.project-dossier:hover .system-diag {
    opacity: 1;
}

.tech-bracket {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-gold);
    z-index: 20;
    transition: all 0.6s var(--ease-out-expo);
    opacity: 0.2;
}

.bracket-tl {
    top: -12px;
    left: -12px;
    border-right: 0;
    border-bottom: 0;
}

/*.bracket-br {
    bottom: -12px;
    right: -12px;
    border-left: 0;
    border-top: 0;
}*/

.project-dossier:hover .tech-bracket {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

.hud-cluster {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 30;
    text-align: right;
    transform: translateZ(50px);
}

.hud-tag {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: rgba(0, 0, 0, 0.8);
    padding: 3px 8px;
    margin-bottom: 4px;
    border-left: 2px solid var(--primary-gold);
    backdrop-filter: blur(10px);
}

/* --- DOSSIER CARD STYLES --- */
.visual-frame {
    position: relative;
    perspective: 1000px;
}

.visual-wrap {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s var(--ease-out-expo);
}

.visual-frame:hover .visual-wrap {
    transform: rotateX(2deg) rotateY(-2deg);
}

.image-module {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #111;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.image-module img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 1.2s var(--ease-out-expo);
}

.visual-frame:hover img {
    filter: grayscale(0%);
    opacity: 0.8;
    transform: scale(1.05);
}

.visual-frame:hover .module-scanner {
    opacity: 1;
}

/* Office Culture Specifics */
.culture-bento-img {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.culture-bento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 1.2s var(--ease-out-expo);
}

.culture-bento-img:hover img {
    filter: grayscale(0%);
    opacity: 0.8;
    transform: scale(1.05);
}

.scan-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 193, 7, 0.05), transparent);
    background-size: 100% 200%;
    animation: scanning 4s linear infinite;
    pointer-events: none;
}


/* --- BLOG CARD STYLES --- */
.blog-visual-wrap {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s var(--ease-out-expo);
}

.blog-visual-wrap:hover {
    transform: rotateX(3deg) rotateY(-3deg);
}

.blog-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16/10;
    clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 1.2s var(--ease-out-expo);
}

.blog-visual-wrap:hover img {
    filter: grayscale(0%);
    opacity: 0.8;
    transform: scale(1.05);
}

.tech-bracket {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 1px solid var(--primary-gold);
    z-index: 20;
    transition: all 0.6s var(--ease-out-expo);
    opacity: 0.2;
}

.bracket-tl {
    top: -8px;
    left: -8px;
    border-right: 0;
    border-bottom: 0;
}

.bracket-br {
    bottom: -8px;
    right: -8px;
    border-left: 0;
    border-top: 0;
}

.blog-visual-wrap:hover .tech-bracket {
    width: 40px;
    height: 40px;
    opacity: 0.8;
}

.hud-tag {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: rgba(255, 193, 7, 0.05);
    padding: 3px 8px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    margin-bottom: 1rem;
}

/* --- ARTICLE VISUALS --- */
.article-image-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16/7;
    clip-path: polygon(0 0, 98% 0, 100% 5%, 100% 100%, 2% 100%, 0 95%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
    opacity: 0.6;
}





/* --- TACTICAL MAP MODULE --- */
.map-frame {
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
    background: #111;
    width: 100%;
    height: 500px;
    clip-path: polygon(0 0, 97% 0, 100% 3%, 100% 100%, 3% 100%, 0 97%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.6s var(--ease-out-expo);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(1) brightness(0.7) contrast(1.1);
    opacity: 1;
    transition: all 1.2s var(--ease-out-expo);
    border: none;
}

.map-frame:hover iframe {
    filter: grayscale(0.5) brightness(0.9);
}

.hud-tag {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: rgba(0, 0, 0, 0.85);
    padding: 4px 10px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    backdrop-filter: blur(5px);
}

.services {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 30px 10px;
  
}

.services h1 {
  font-size: 40px;
  margin-bottom: 50px;
  
}

.service-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  background: #111;
  padding: 30px;
  width: 220px;
  border-radius: 15px;
  transition: 0.4s;
  cursor: pointer;
  border: 1px solid #222;
}

.card i {
  font-size: 40px;
  color: #facc15;
  margin-bottom: 15px;
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 20px #facc15;
  border-color: #facc15;
}

/* --- FAQ ACCORDION --- */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s var(--ease-out-expo);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    opacity: 0;
}

.faq-item.faq-open .faq-content {
    max-height: 500px;
    padding-bottom: 2rem;
    opacity: 1;
}

.faq-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--ease-out-expo);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.4);
}

.faq-trigger:hover .faq-icon-wrap {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: scale(1.1);
}

.faq-item.faq-open .faq-icon-wrap {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #000;
    transform: rotate(45deg);
}

.faq-item.faq-open .faq-trigger span:last-child {
    color: white;
}