        /* Fonts */
        @font-face {
            font-family: 'Hanken Grotesk';
            src: url('../assets/fonts/hanken-grotesk-300.ttf') format('truetype');
            font-weight: 300;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Hanken Grotesk';
            src: url('../assets/fonts/hanken-grotesk-400.ttf') format('truetype');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Hanken Grotesk';
            src: url('../assets/fonts/hanken-grotesk-600.ttf') format('truetype');
            font-weight: 600;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Hanken Grotesk';
            src: url('../assets/fonts/hanken-grotesk-700.ttf') format('truetype');
            font-weight: 700;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Hanken Grotesk';
            src: url('../assets/fonts/hanken-grotesk-800.ttf') format('truetype');
            font-weight: 800;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Montserrat';
            src: url('../assets/fonts/montserrat-500.ttf') format('truetype');
            font-weight: 500;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Montserrat';
            src: url('../assets/fonts/montserrat-700.ttf') format('truetype');
            font-weight: 700;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Montserrat';
            src: url('../assets/fonts/montserrat-800.ttf') format('truetype');
            font-weight: 800;
            font-style: normal;
            font-display: swap;
        }

        :root {

            --bg-dark: #121212;

            --bg-card: #1E1E1E;

            --bg-card-hover: #252525;
            --accent-red: #D91E26;

            --accent-red-hover: #b9181f;
            --text-white: #FFFFFF;
            --text-grey: #A0A0A0;
            --border-radius: 0 30px 0 30px;
            --border-radius-sm: 0 12px 0 12px;
            --font-main: 'Articulat CF', 'Hanken Grotesk', sans-serif;
            --font-body: 'Articulat CF', 'Hanken Grotesk', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .hidden-item {
            display: none !important;
        }

        @media (min-width: 1025px) {
            html {
                scroll-snap-type: none;

            }

            .hero-content {
                padding-right: 60px;
            }
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-white);
            font-family: var(--font-body);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: 0.3s;
        }

        ul {
            list-style: none;
        }

        button {
            cursor: pointer;
            border: none;
            font-family: var(--font-main);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        header {
            position: fixed;
            top: 0;
            left: 50%;
            transform: translate(-50%, 0);
            width: 100%;
            max-width: 1200px;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 1100;
            background-color: rgba(18, 18, 18, 0.8);
            backdrop-filter: blur(10px);
            opacity: 0;
            animation: nav-reveal 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
            animation-delay: 0.1s;
        }

        @keyframes nav-reveal {
            from {
                opacity: 0;
                transform: translate(-50%, -20px);
            }

            to {
                opacity: 1;
                transform: translate(-50%, 0);
            }
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
        }

        .logo img,
        .logo video {
            height: 55px;
            width: auto;
            object-fit: contain;
        }

        .logo-desktop {
            display: block;
        }

        .logo-sprite {
            display: none;
            width: 55px;
            height: 55px;
            background: url('../assets/images/Animation Logo/logo_sprite.png') left center;
            background-size: auto 100%;
            animation: logoSprite 1s steps(30) forwards;
        }

        @keyframes logoSprite {
            from {
                background-position: 0% center;
            }

            to {
                background-position: 100% center;
            }
        }

        .logo-mobile {
            display: none;
        }

        @media (max-width: 1024px) {
            .logo-desktop {
                display: none !important;
            }

            .logo-sprite {
                display: block;
            }
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
            color: var(--text-white);
            font-family: 'Montserrat', sans-serif;
        }

        .logo-text span:first-child {
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 0.05em;
        }

        .logo-text span:last-child {
            font-size: 0.8rem;
            font-weight: 500;

            color: var(--text-grey);
            letter-spacing: 0.02em;
        }

        nav ul {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        nav a {
            font-size: 0.95rem;
            color: var(--text-grey);
            font-weight: 500;
            position: relative;
            padding-bottom: 4px;
        }

        nav a:hover,
        nav a.active {
            color: var(--text-white);
        }

        nav a:not(.btn-contact)::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent-red);
            transition: width 0.3s ease;
        }

        nav a:not(.btn-contact).active::after,
        nav a:not(.btn-contact):hover::after {
            width: 100%;
        }

        .btn-contact {
            background-color: var(--accent-red);
            color: white;
            padding: 10px 30px;
            border-radius: 0 30px 0 30px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 140px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .btn-contact span {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-block;
        }

        .btn-contact .btn-arrow {
            width: 0;
            height: 16px;
            opacity: 0;
            margin-left: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            stroke: currentColor;
            stroke-width: 3;
            flex-shrink: 0;
        }

        .btn-contact.active {
            background-color: var(--accent-red-hover);
            transform: translateY(-2px);
        }

        .btn-contact:hover {
            background-color: var(--accent-red-hover);
            transform: translateY(-2px);
        }

        .btn-contact:hover .btn-arrow {
            width: 16px;
            opacity: 1;
            margin-left: 8px;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 20px;
            cursor: pointer;
            z-index: 1101;
        }

        .hamburger span {
            width: 100%;
            height: 2px;
            background-color: var(--text-white);
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }

        .mobile-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(18, 18, 18, 0.8);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            z-index: 1001;
            display: none;
            flex-direction: column;
            justify-content: flex-start;

            align-items: center;
            padding-top: 140px;

            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }

        .mobile-overlay.active {
            display: flex;
            opacity: 1;
            visibility: visible;
        }

        .mobile-menu-content {
            display: flex;
            flex-direction: column;
            gap: 15px;
            width: 80%;
            max-width: 350px;
            text-align: center;
        }

        .mobile-nav-btn {
            display: block;
            background-color: white;
            color: #111;
            padding: 16px;
            border-radius: 0 30px 0 30px;
            font-weight: 700;
            text-transform: uppercase;
            font-size: 1.1rem;
            opacity: 0;
            transform: scale(0.8);
            transition: transform 0.3s ease;
            text-decoration: none;
        }

        .mobile-nav-btn.contact-btn {
            background-color: var(--accent-red);
            color: white;
        }

        .mobile-overlay.active .mobile-nav-btn {
            animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }

        @keyframes popIn {
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .mobile-contact-info {
            margin-top: 40px;

            color: var(--text-grey);
            font-size: 0.9rem;
            display: flex;
            flex-direction: column;
            gap: 10px;
            opacity: 0;
            transition: opacity 0.5s ease 0.5s;
        }

        .mobile-contact-info a {
            color: inherit;
            text-decoration: none;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        .mobile-overlay.active .mobile-contact-info {
            opacity: 1;
        }

        .mobile-socials {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 20px;
        }

        .mobile-social-icon {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        @media (max-width: 1200px) and (min-width: 1025px) {
            .scrolly-content {
                padding-left: 45px !important;
            }

            .sticky-image-container {
                padding-right: 45px !important;
            }

            .about {
                padding-left: 45px !important;
                padding-right: 45px !important;
            }

            .hero-content h1,
            .hero-title-desktop {
                font-size: 5rem !important;
            }

            .hero-image {
                width: 90%;
                max-width: 450px;
                margin-left: auto;
            }
        }

        @media (max-width: 1024px) and (min-width: 901px) {

            .hero-step,
            .about {
                padding-left: 40px !important;
                padding-right: 40px !important;
            }

            .hero-content h1,
            .hero-title-desktop {
                font-size: 4rem !important;
            }

            .hero-image {
                width: 85%;
                max-width: 400px;
                margin-left: auto;
            }
        }

        @media (max-width: 1024px) {

            .hero-title-desktop {
                display: none !important;
            }

            .hero-title-tablet {
                display: none !important;
            }

            .hero-title-mobile {
                display: block !important;
            }

            header nav ul {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            body {
                overflow-x: clip;
            }

            .hero-step {
                display: flex !important;
                flex-direction: column !important;
                height: 100svh !important;
                padding-top: 50px !important;
                padding-bottom: 30px !important;
                padding-left: 40px !important;
                padding-right: 40px !important;
                justify-content: center !important;
                align-items: center !important;
                text-align: center;
                gap: 15px !important;
                overflow: hidden !important;
            }

            .hero-content {
                width: 100%;
            }

            .hero-content h1 {
                font-size: 2rem !important;
                line-height: 1.1;
                margin-bottom: 15px;
                text-align: center;
            }

            .hero-title-row {
                justify-content: center !important;
                display: flex !important;
                gap: 0.15em !important;
            }

            .hero-buttons {
                margin-top: -20px;
                justify-content: center;
            }

            .hero-image {
                width: 80% !important;
                max-width: min(80%, calc(100svh - 350px)) !important;
                aspect-ratio: 1 / 1 !important;
                border-radius: 0 30px 0 30px;
                overflow: hidden;
                margin: 10px auto 0;
                align-self: center;
            }

            .hero-image video {
                height: 100%;
                width: 100%;
                object-fit: cover;
            }

            .section-title {
                font-size: 2rem !important;
            }

            @media (min-width: 601px) {

                .hero-title-desktop {
                    display: none !important;
                }

                .hero-title-tablet {
                    display: block !important;
                }

                .hero-title-mobile {
                    display: none !important;
                }

                .hero-step {
                    text-align: center !important;
                    align-items: center !important;
                    padding-top: 120px !important;
                    padding-bottom: 50px !important;
                }

                .hero-content {
                    width: 90% !important;
                    margin: 0 auto !important;
                }

                .hero-content h1 {
                    font-size: 2.5rem !important;
                }

                .hero-title-tablet {
                    display: block !important;
                    text-align: center !important;
                }

                .hero-title-tablet .hero-title-row {
                    display: flex !important;
                    justify-content: center !important;
                    white-space: nowrap !important;
                    gap: 0.25em !important;
                }

                .hero-buttons {
                    justify-content: center !important;
                }

                .hero-image {
                    align-self: center !important;
                    margin: 20px auto 0 !important;
                    max-width: 60% !important;
                    width: 60% !important;
                }

                .section-title {
                    text-align: center !important;
                    font-size: 3rem !important;
                }
            }

            .services-grid {
                display: flex !important;
                flex-direction: column !important;
                gap: 20px !important;
                grid-template-areas: none !important;
                grid-template-columns: 1fr !important;
            }

            .card {
                width: 100% !important;
                height: 400px !important;
                grid-area: auto !important;
                min-height: unset !important;
            }

            .stats-bar {
                flex-direction: column;
                gap: 30px;
                padding: 40px 20px;
            }

            .stat-divider {
                width: 50px;
                height: 1px;
                margin: 10px 0;
            }

            .projects-container {
                padding: 0 !important;
                overflow: visible !important;
            }

            .projects-slider {
                gap: 0 !important;
                padding: 0 !important;
            }

            .project-card {
                flex: 0 0 100% !important;
                width: 100vw !important;
                height: 500px !important;
                border-radius: 0 40px 0 40px !important;
                scroll-snap-align: center;
            }

            .slider-arrow {
                width: 45px !important;
                height: 45px !important;
                background: rgba(0, 0, 0, 0.3) !important;
                backdrop-filter: blur(4px) !important;
                border: 1px solid rgba(255, 255, 255, 0.1) !important;
                opacity: 0.7;
                z-index: 10;
                transition: all 0.3s ease;
            }

            .slider-arrow:hover {
                background: var(--accent-red) !important;
                border-color: var(--accent-red) !important;
                opacity: 1 !important;
            }

            .slider-arrow.prev {
                left: 10px !important;
            }

            .slider-arrow.next {
                right: 10px !important;
            }

            .slider-arrow svg {
                width: 20px;
                height: 20px;
            }

            .contact-box {
                margin-top: 20px;
                padding: 30px 20px;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .form-group {
                grid-column: span 1 !important;
            }

            .logo-marquee {
                padding: 20px 0;
            }

            .marquee-logo {
                height: 40px;
                margin: 0 15px;
            }

            .modal-container {
                flex-direction: column;
                height: 90vh;
                width: 95%;
                overflow-y: auto;
                border-radius: 0 30px 0 30px;
            }

            .modal-image {
                width: 100%;
                height: 40%;
                flex-shrink: 0;
            }

            .modal-content {
                width: 100%;
                padding: 25px;
                overflow-y: visible;
            }

            .modal-close {
                top: 15px;
                right: 15px;
                background: rgba(255, 255, 255, 0.8);

                color: #333;

            }
        }

        .primary-btn {
            background-color: var(--accent-red);
            color: white;
            padding: 14px 40px;
            border-radius: 0 30px 0 30px;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 200px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            z-index: 20;
            position: relative;
        }

        .primary-btn span {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-block;
        }

        .primary-btn .btn-arrow {
            width: 0;
            height: 20px;
            opacity: 0;
            margin-left: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            stroke: currentColor;
            stroke-width: 2.5;
            flex-shrink: 0;
        }

        .primary-btn:hover {
            background-color: var(--accent-red-hover);
            transform: translateY(-2px);
        }

        .primary-btn:hover .btn-arrow {
            width: 20px;
            opacity: 1;
            margin-left: 10px;
        }

        section {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 100px 0 60px;
        }

        .section-title {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 30px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--text-white);
        }

        .integrated-morph-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            background-color: var(--bg-dark);
            position: relative;
            width: 100%;
            margin: 0;
            padding: 0;
            overflow: visible;
        }

        .hero-step {
            min-height: 180vh;

            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            position: relative;
            z-index: 5;
        }

        .hero-content {
            min-height: 100vh;

            display: flex;
            flex-direction: column;
            justify-content: center;

            max-width: 650px;
            width: 100%;

        }

        .hero-content h1 {
            font-family: var(--font-main);
            font-weight: 800;
            font-size: 5rem;

            line-height: 1.05;
            letter-spacing: 0.02em;
            margin-bottom: 30px;
            text-transform: uppercase;
            text-align: left;
        }

        .hero-description {
            font-size: 1.2rem;
            color: var(--text-grey);
            max-width: 580px;
            margin-bottom: 5px;
            line-height: 1.6;
            font-weight: 400;
            opacity: 0;
            transform: translateY(20px);
            animation: HeroContent 0.8s ease forwards;
            animation-delay: 1.1s;
        }

        @keyframes HeroContent {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .services-intro-pinned {
            position: absolute;
            top: 12%;

            left: 0;
            width: 100%;
            max-width: 550px;

            text-align: center;

            z-index: 10;
            pointer-events: none;
        }

        .services-intro-pinned h2 {
            font-size: 3.5rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--text-white);
            position: relative;
            padding-left: 0;
            margin: 0;
            opacity: 0;
            transform: translateY(30px);
        }

        .services-intro-pinned h2::before {
            display: none;
        }

        .hero-video-container {
            width: 550px;
            height: 550px;
            border-radius: 0 50px 0 50px;
            overflow: hidden;
            position: relative;

            z-index: 20;
            will-change: width, height, border-radius, opacity;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
        }

        .service-vignette {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;

            box-shadow: inset 0 0 80px 40px var(--bg-dark),
                inset 0 0 120px 60px var(--bg-dark);
            z-index: 4;
            opacity: 0;
            will-change: opacity;
        }

        .hero-video-mobile {
            display: none;
        }

        @media (max-width: 1024px) {

            .hero-video-mobile {
                display: block !important;
                width: 300px;
                height: 300px;
                margin-top: 30px;
                border-radius: 0 30px 0 30px;
                overflow: hidden;
                position: relative;
                z-index: 10;
            }

            .hero-video-mobile video {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .integrated-morph-section {
                display: block;
            }

            .scrolly-content {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            .hero-step {
                min-height: 100svh !important;
                height: auto !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: center !important;

                align-items: center !important;
                padding: 80px 20px 40px !important;

                position: relative;
                z-index: 30 !important;
            }

            .hero-content {
                pointer-events: auto;

                min-height: auto !important;
                padding: 0 !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: center !important;
                align-items: center !important;
                text-align: center !important;
                width: 100% !important;
                max-width: 100% !important;
            }

            .rotating-text-container {
                margin: 0 !important;
                margin-left: -0.05em !important;
                display: inline-block !important;
                transition: width 0.4s ease !important;
                text-align: center !important;
                vertical-align: baseline;
            }

            .hero-title-row {
                justify-content: center !important;
                width: 100% !important;
                gap: 0.3em !important;
            }

            .hero-content h1 {
                font-size: 2.5rem !important;
                margin-bottom: 10px !important;
                text-align: center !important;
                width: 100% !important;
            }

            .hero-description {
                font-size: 1.05rem;
                margin: 0 auto -20px;
                padding: 0 10px;
                max-width: 450px;
            }

            .hero-title-mobile {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
            }

            .hero-title-desktop,
            .hero-title-tablet {
                display: none !important;
            }

            .sticky-wrapper {
                display: block !important;
                position: fixed !important;
                width: 100% !important;
                max-width: none !important;
                left: 0 !important;
                transform: none !important;
                margin: 0 !important;
                height: 40dvh !important;

                top: auto !important;
                bottom: 0 !important;
                z-index: 10 !important;
                border-radius: 0 !important;

                overflow: hidden !important;
                background: #111;
                pointer-events: none !important;
                opacity: 0;

                transition: opacity 0.2s ease-out;
                /* Faster for snappier feel */
                will-change: opacity;
            }

            .sticky-wrapper.fixed {
                opacity: 1 !important;
                pointer-events: auto !important;
                bottom: 0 !important;

                top: auto !important;
            }

            .sticky-image-container,
            .hero-video-container {
                width: 100% !important;
                height: 100% !important;
                position: relative !important;
            }

            .sticky-image-container {
                padding: 0 !important;
                justify-content: center;
                height: 100%;
                width: 100%;
            }

            .hero-video-container {
                width: 100%;
                height: 100% !important;
                border-radius: 0;
            }

            .hero-video-container::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 80px;
                background: linear-gradient(to bottom, var(--bg-dark), transparent);
                z-index: 10;
                pointer-events: none;
            }

            .sticky-wrapper.fixed .hero-video-container {
                border-radius: 0;
            }

            .services-stack {
                position: relative;
                min-height: auto !important;
                height: auto !important;
                display: block !important;
                padding-bottom: 50px;
                padding-left: 0 !important;
                /* Resetting global padding for true centering */
            }

            .services-stack .scrolly-step {
                position: relative !important;
                top: auto !important;
                left: 0;
                width: 100%;
                height: auto !important;
                min-height: auto !important;

                display: flex;
                flex-direction: column !important;

                justify-content: flex-start !important;

                align-items: center !important;

                padding: 40px 10px 40px !important;
                /* Adding bottom padding for gap */

                z-index: 15;
                margin-bottom: 20px;
                opacity: 1 !important;
                transform: none !important;
            }

            .scrolly-step.step-4 {
                height: auto !important;
                min-height: auto !important;
                padding-bottom: 80px !important;
            }

            .scrolly-text-box {
                max-width: 450px;
                padding: 20px !important;
                background: rgba(12, 12, 12, 0.95);
                backdrop-filter: blur(15px);
                border-radius: 16px;
                border: 1px solid rgba(255, 255, 255, 0.15);
                margin: 0 auto;
                /* Ensure horizontal centering */
            }

            .scrolly-text-box h3 {
                margin-bottom: 2px !important;
                font-size: 1.3rem !important;
            }

            .scrolly-text-box p {
                font-size: 0.95rem !important;
                line-height: 1.4 !important;
                margin-bottom: 20px !important;
            }

            .scrolly-text-box ul {
                margin-bottom: 8px !important;
            }

            .scrolly-text-box li {
                font-size: 0.9rem !important;
                line-height: 1.4 !important;
                margin-bottom: 2px !important;
            }

            .service-arrow-btn {
                width: 36px !important;
                height: 36px !important;
            }

            .contact {
                padding-left: 40px !important;
                padding-right: 40px !important;
            }
        }

        @media (min-width: 768px) and (max-width: 1024px) {

            .hero-content h1 {
                font-size: 4.5rem !important;
            }

            .hero-buttons .btn {
                padding: 22px 70px !important;
                font-size: 1.3rem !important;
            }

            .hero-image {
                width: 65% !important;
                max-width: min(65%, calc(100svh - 280px)) !important;
            }

            .hero-video-mobile {
                width: 450px !important;
                height: 450px !important;
            }

            .scrolly-text-box {
                max-width: 600px !important;
                padding: 35px !important;
            }

            .scrolly-text-box h3 {
                font-size: 1.8rem !important;
            }

            .scrolly-text-box p {
                font-size: 1.15rem !important;
                line-height: 1.5 !important;
            }

            .scrolly-text-box li {
                font-size: 1.1rem !important;
            }

            .service-arrow-btn {
                width: 50px !important;
                height: 50px !important;
            }

            .section-title {
                font-size: 2.5rem !important;
            }
        }

        @media (max-width: 1024px) {

            .hero-title-desktop,
            .hero-title-tablet {
                display: none !important;
            }

            .hero-title-mobile {
                display: block !important;
            }

            .hero-content h1 {
                font-size: 2.2rem;
            }

            .sticky-wrapper {
                height: 45dvh;
                margin-top: 55dvh;
                z-index: 5;
            }

            /* Removed fixed height constraint to allow natural stacking */

            .services-intro-pinned {
                position: relative !important;
                top: auto !important;
                left: auto !important;
                transform: none !important;
                width: 100%;
                text-align: center;
                z-index: 20;
                margin-bottom: 25px !important;

                pointer-events: none;
            }

            .services-intro-pinned h2 {
                font-size: 2rem !important;

                margin: 0;
                text-transform: uppercase;
                letter-spacing: 1px;
                color: #fff;
            }

            .hero-video-container,
            .hero-video {
                opacity: 1 !important;
                visibility: visible !important;
            }
        }

        .hero-video,
        .scrolly-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
        }

        .hero-video {
            z-index: 1;
        }

        .scrolly-image {
            z-index: 2;
            will-change: object-position, transform;
        }

        @media (max-width: 1024px) {
            .scrolly-image {
                opacity: 1 !important;

            }
        }

        .scrolly-content {
            grid-column: 1;
            position: relative;
            z-index: 5;
        }

        .hero-title-desktop {
            display: block;
        }

        .hero-title-tablet {
            display: none;
        }

        .hero-title-mobile {
            display: none;
        }

        .hero-title-tablet {
            text-align: center;
        }

        .hero-title-tablet .hero-title-row {
            display: flex;
            justify-content: center;
            gap: 0.25em;
        }

        .hero-title-mobile {
            text-align: left;
        }

        .hero-title-mobile .hero-title-row {
            display: flex;
            justify-content: center;
            gap: 0.25em;
        }

        .hero-title-row {
            display: flex;
            align-items: center;
            gap: 0.35em;

            white-space: nowrap;
        }

        .text-red {
            color: var(--accent-red);
        }

        .text-grey {
            color: var(--text-grey);
        }

        .text-white {
            color: var(--text-white);
        }

        .hero-title-row>span {
            display: inline-block;
            opacity: 0;
            transform: translateY(20px);
            animation: word-reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        }

        @keyframes word-reveal {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-image {
            opacity: 0;
            animation: image-fade-in 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
            animation-delay: 0.5s;
        }

        @keyframes image-fade-in {
            from {
                opacity: 0;
                transform: scale(0.95);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .hero-buttons {
            margin-top: 40px;
            display: flex;
            gap: 20px;
            opacity: 0;
            transform: translateY(20px);
            animation: word-reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
            animation-delay: 1.2s;
            align-items: center;
        }

        .btn-secondary {
            background-color: #2A2A2A;
            color: var(--text-grey);
            padding: 14px 24px;
            border-radius: 0 12px 0 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.9rem;
            transition: all 0.3s;
        }

        .btn-secondary:hover {
            background-color: #333;
            color: white;
        }

        .stat-icon {
            color: var(--accent-red);
            font-size: 1.2rem;
            display: flex;
            align-items: center;
        }

        .hero-image {
            width: 100%;
            aspect-ratio: 1/1;
            background-color: #333;
            border-radius: var(--border-radius);
            position: relative;
            overflow: hidden;
        }

        .hero-image video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .logo-marquee {
            width: 100vw;
            margin-left: calc(-50vw + 50%);
            overflow: hidden;
            position: relative;
            padding: 40px 0;
            background: var(--bg-dark);
        }

        .logo-marquee::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(to bottom, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0) 100%);
            z-index: 2;
            pointer-events: none;
        }

        .marquee-track {
            display: flex;
            width: max-content;
            animation: marquee-scroll 60s linear infinite;
            will-change: transform;
        }

        .marquee-logo {
            height: 60px;
            width: auto;
            margin: 0 40px;
            opacity: 0.6;
            filter: grayscale(30%);
            flex-shrink: 0;
        }

        @keyframes marquee-scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        #projects,
        #contact {
            content-visibility: auto;
            contain-intrinsic-size: 1px 1000px;
        }

        #about {
            content-visibility: auto;
            contain-intrinsic-size: 1px 500px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(2, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
            grid-template-areas:
                "charp charp macon"
                "echaf beton beton";
        }

        .services {
            padding-top: 80px !important;
            padding-bottom: 40px !important;
        }

        .card {
            border-radius: var(--border-radius);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 30px;
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            z-index: 1;
            transition: transform 0.5s ease;
        }

        .card:hover .card-bg {
            transform: scale(1.1);
        }

        .card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
            z-index: 2;
        }

        .card-content {
            position: relative;
            z-index: 3;
            color: white;
            padding-right: 60px;

        }

        .card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 8px;
            text-transform: uppercase;
            color: white;
        }

        .card p {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.4;
            margin: 0;
        }

        .card-number {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 1.1rem;
            font-weight: 800;
            color: rgba(255, 255, 255, 0.6);
            z-index: 3;
            display: block;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
            letter-spacing: 0.05em;
        }

        .card-charpenterie {
            grid-area: charp;
        }

        .card-maconnerie {
            grid-area: macon;
        }

        .card-echafaudage {
            grid-area: echaf;
        }

        .card-beton {
            grid-area: beton;
        }

        .stats-bar {
            background-color: #222;
            border-radius: var(--border-radius);
            padding: 30px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-top: 20px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-text {
            font-family: var(--font-main);
            font-weight: 700;
            font-size: 1rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .stat-divider {
            width: 1px;
            height: 30px;
            background-color: #444;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-image {
            width: 100%;
            aspect-ratio: 5/4;
            background-color: #222;
            border-radius: var(--border-radius);
            background-image: url('../assets/images/about.webp');
            background-size: cover;
            background-position: center;
        }

        .about-content h2 {
            font-size: 2.5rem;
            margin-bottom: 30px;
            font-weight: 700;
        }

        .about-text-main {
            font-size: 1.1rem;
            color: #ddd;
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .about-text-sub {
            font-size: 0.95rem;
            color: #888;
            margin-bottom: 30px;
        }

        .read-more-link {
            color: var(--accent-red);
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 1rem;
        }

        .read-more-link:hover {
            color: var(--accent-red-hover);
            gap: 12px;
        }

        .contact-box {
            background-color: #222;
            border-radius: var(--border-radius);
            padding: 35px;
            width: 100%;
            max-width: 1000px;
            position: relative;
            z-index: 2;
        }

        .contact-box h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 30px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 15px;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 14px 20px;
            background-color: var(--bg-card);
            border: 1px solid #444;
            border-radius: 0 30px 0 30px;
            color: white;
            font-family: var(--font-body);
            font-size: 0.95rem;
            outline: none;
            transition: 0.3s;
        }

        .form-group select option {
            background-color: var(--bg-card);
            color: white;
        }

        .form-group textarea {
            border-radius: 0 20px 0 20px;
            min-height: 120px;
            resize: vertical;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--accent-red);
        }

        .form-group select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 20px center;
        }

        .form-submit-btn {
            width: 100%;
            background-color: var(--accent-red);
            color: white;
            font-family: var(--font-main);
            font-weight: 700;
            font-size: 1rem;
            padding: 16px 40px;
            border-radius: 0 30px 0 30px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-transform: capitalize;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            border: none;
            cursor: pointer;
        }

        .form-submit-btn span {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-block;
        }

        .form-submit-btn .btn-arrow {
            width: 0;
            height: 20px;
            opacity: 0;
            margin-left: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            stroke: currentColor;
            stroke-width: 2.5;
            flex-shrink: 0;
        }

        .form-submit-btn:hover {
            background-color: var(--accent-red-hover);
        }

        .form-submit-btn:hover .btn-arrow {
            width: 20px;
            opacity: 1;
            margin-left: 10px;
        }

        .projects-container {
            position: relative;
            width: 100%;
            max-width: 1600px;

            margin: 0 auto;
            padding: 0 100px;

        }

        .projects-slider {
            display: flex;
            gap: 30px;
            overflow-x: auto;
            padding: 20px 0 60px;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -ms-overflow-style: none;
            scroll-behavior: smooth;
        }

        .projects-slider::-webkit-scrollbar {
            display: none;
        }

        .project-card {
            flex: 0 0 420px;

            height: 520px;
            border-radius: 0 30px 0 30px;
            overflow: hidden;
            position: relative;
            background-color: #222;
            scroll-snap-align: center;
            transition: filter 0.4s ease;
        }

        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            z-index: 100;
            transition: all 0.3s ease;
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .slider-arrow:hover {
            background: var(--accent-red);
            border-color: var(--accent-red);
            color: white;
            transform: translateY(-50%) scale(1.1);
        }

        .slider-arrow.prev {
            left: 20px;

        }

        .slider-arrow.next {
            right: 20px;

        }

        .project-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.7);
            transition: filter 0.4s ease;
        }

        .project-card .project-card-content {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: white;
            padding: 25px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transform: translateY(0);
            transition: background 0.3s;
        }

        .project-card .project-card-content .text-group span {
            display: block;
            color: #888;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 5px;
        }

        .project-card .project-card-content .text-group h4 {
            color: #111;
            font-size: 1.6rem;
            font-weight: 700;
            margin: 0;
            text-shadow: none;
        }

        .project-card .project-circle-btn {
            width: 50px;
            height: 50px;
            background: #f0f0f0;
            color: #111;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .project-card .project-circle-btn:hover {
            background: var(--accent-red);
            color: white;
            transform: scale(1.1);
        }

        .service-arrow-btn {
            position: absolute;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: transparent;
            border: 2px solid white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            z-index: 4;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
        }

        .service-arrow-btn svg {
            width: 20px;
            height: 20px;
            transition: transform 0.3s ease;
            stroke: white;
        }

        .service-arrow-btn:hover {
            background: var(--accent-red);
            border-color: var(--accent-red);
            transform: scale(1.1);
        }

        .service-arrow-btn:hover svg {
            transform: translateX(3px);
            stroke: white;
        }

        @media (max-width: 1024px) {
            .service-arrow-btn {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
            }
        }

        .project-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(1);

            transition: filter 0.4s ease;
        }

        .project-card.focus {
            z-index: 5;
        }

        @media (max-width: 1024px) {
            .project-card {
                flex: 0 0 85vw;
                height: 450px;
            }
        }

        footer {
            border-top: 1px solid #222;
            padding: 40px 0;
            font-size: 0.9rem;
            color: #888;
            width: 100%;
        }

        #contact {
            position: relative;
            padding: 0;
            width: 100vw;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            background-color: var(--bg-dark);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;

            align-items: center;

            min-height: 100vh;
        }

        #contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../assets/images/MUR-BRIQUE-JJ-NOIR.jpg');
            background-size: cover;
            background-position: center;
            opacity: 0.05;

            z-index: 1;
            pointer-events: none;
        }

        #contact::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 250px;
            background: linear-gradient(to bottom, var(--bg-dark), transparent);
            z-index: 1;
            pointer-events: none;
        }

        footer {
            width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            z-index: 2;
            background-color: var(--bg-dark);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding: 60px 0 40px 0;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            width: 100%;
        }

        .footer-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .footer-bottom {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            width: 100%;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .footer-copyright {
            grid-column: 2;
            text-align: center;
            margin: 0;
        }

        .footer-confidentiality {
            grid-column: 3;
            text-align: right;
        }

        .footer-links {
            display: flex;
            gap: 30px;
            align-items: center;
            flex-wrap: wrap;
        }

        .footer-links a {
            word-break: break-word;
            overflow-wrap: break-word;
        }

        .footer-socials {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .social-icon {
            width: 32px;
            height: 32px;
            background-color: #333;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ccc;
            transition: 0.3s;
        }

        .social-icon:hover {
            background-color: var(--accent-red);
            color: white;
        }

        .jules-link {
            color: var(--text-grey);
            font-weight: 600;
            transition: color 0.3s;
        }

        .jules-link:hover {
            color: var(--accent-red);
            text-decoration: underline;
        }

        .footer-links a {
            color: inherit;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--accent-red);
        }

        .rotating-text-container {
            display: inline-flex;
            flex-direction: column;
            vertical-align: bottom;
            height: 1.1em;
            overflow: visible;
            position: relative;
        }

        .rotating-text-item {
            display: block;
            white-space: nowrap;
            transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
            opacity: 0;
            color: var(--accent-red);
            position: absolute;
            left: 0;
            top: 0;
            transform: translateY(100%);
        }

        .rotating-text-item.active {
            opacity: 1;
            position: absolute;

            transform: translateY(0);
        }

        .rotating-text-container {
            margin-right: 0.15em;
            margin-left: -0.05em;
        }

        .rotating-text-item.exit {
            opacity: 0;
            transform: translateY(-120%);
        }

        @media (max-width: 1024px) {
            .rotating-text-container {
                min-width: auto;
            }
        }

        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }

        .modal.active {
            display: flex;
            opacity: 1;
            visibility: visible;
        }

        .modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(5px);
        }

        .modal-container {
            position: relative;
            width: 90%;
            max-width: 1200px;
            height: 80vh;
            background: #1A1A1A;
            display: flex;
            border-radius: 0 40px 0 40px;
            overflow: hidden;
            transform: scale(0.9);
            transition: transform 0.4s ease;
            z-index: 10;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .modal.active .modal-container {
            transform: scale(1);
        }

        .modal-image {
            width: 60%;
            height: 100%;
            overflow: hidden;
        }

        .modal-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .modal-content {
            width: 40%;
            padding: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: white;
        }

        .modal-close {
            position: absolute;
            top: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: #333;
            color: white;
            border: none;
        }

        .modal-close:hover {
            background: var(--accent-red);
            color: white;
            transform: rotate(90deg);
        }

        .modal-category {
            color: var(--accent-red);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.9rem;
            margin-bottom: 20px;
        }

        .modal-title {
            font-size: 3rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 30px;
            text-transform: uppercase;
        }

        .modal-description {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #AAA;
            margin-bottom: 40px;
        }

        .modal-description ul {
            margin-top: 20px;
            list-style: none;
            padding-left: 0;
        }

        .modal-description li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 12px;
            color: #DDD;
        }

        .modal-description li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--accent-red);
            font-weight: bold;
        }

        @media (max-width: 992px) {
            .modal-container {
                flex-direction: column;
                height: 90vh;
                width: 95%;
            }

            .modal-image {
                width: 100%;
                height: 45%;
            }

            .modal-content {
                width: 100%;
                height: 55%;
                padding: 40px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                overflow-y: auto;
            }

            .modal-title {
                font-size: 2rem;
                margin-bottom: 15px;
            }

            .modal-category {
                margin-bottom: 8px;
            }

            .modal-description {
                margin-bottom: 25px;
                font-size: 1rem;
            }

            .modal-content .primary-btn {
                padding: 18px 40px;
                width: 100%;
            }
        }

        @media (max-width: 1024px) {

            html,
            body {
                scroll-snap-type: none !important;
                overflow-x: hidden !important;
                position: relative !important;
                width: 100% !important;
            }

            section {
                scroll-snap-align: none !important;
            }

            .about {
                height: 100svh !important;
                min-height: 100svh !important;
                padding: 90px 25px 60px !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: center !important;
            }

            .about-grid {
                display: flex !important;
                flex-direction: column !important;
                gap: 15px !important;

                height: 100% !important;
                flex: 1 !important;
                justify-content: flex-start !important;

                overflow: hidden !important;
            }

            .about-content {
                flex-shrink: 0 !important;
            }

            .about-content h2 {
                font-size: 2.3rem !important;

                margin-bottom: 8px !important;
                margin-top: 0 !important;
            }

            .about-text-main {
                font-size: 1.1rem !important;

                margin-bottom: 8px !important;
                line-height: 1.25 !important;
            }

            .about-text-sub {
                font-size: 0.95rem !important;

                margin-bottom: 5px !important;
                line-height: 1.25 !important;
            }

            .about-image {
                flex: 1 !important;

                width: 100% !important;
                min-height: 200px !important;

                aspect-ratio: auto !important;
                border-radius: var(--border-radius) !important;
                background-size: cover;
                background-position: center;
            }

            .footer-content {
                gap: 20px !important;
            }

            .footer-top {
                flex-direction: column !important;
                gap: 20px !important;
            }

            .footer-bottom {
                display: flex !important;
                flex-direction: column !important;
                gap: 15px !important;
                padding-top: 20px !important;
            }

            .footer-copyright {
                order: 1 !important;
                width: 100% !important;
                border-top: none !important;
                padding-top: 0 !important;
            }

            .footer-confidentiality {
                order: 2 !important;
                text-align: center !important;
            }

            .footer-links {
                justify-content: center !important;
                flex-direction: column !important;
                gap: 15px !important;
            }

            .footer-socials {
                justify-content: center !important;
            }

            #contact {
                min-height: 100vh !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: center !important;
                align-items: center !important;
                padding: 60px 20px !important;
                width: 100vw !important;
                left: 50% !important;
                right: 50% !important;
                margin-left: -50vw !important;
                margin-right: -50vw !important;
                transform: none !important;
                position: relative !important;
            }

            footer {
                position: relative !important;
                width: 100vw !important;
                left: 50% !important;
                right: 50% !important;
                margin-left: -50vw !important;
                margin-right: -50vw !important;
                background-color: var(--bg-dark) !important;
                padding: 40px 20px !important;
            }

            .contact-box {
                width: 100% !important;
                max-width: none !important;
                margin: 0 auto !important;
                border-radius: 0 40px 0 40px !important;

            }

            .form-row {
                grid-template-columns: 1fr !important;
            }

            .form-group {
                grid-column: span 1 !important;
            }
        }

        .scrolly-content {
            grid-column: 1;
            position: relative;
            z-index: 2;
            padding-left: 20px;
        }

        @media (min-width: 1200px) {
            .scrolly-content {
                padding-left: calc((100vw - 1200px) / 2 + 20px);
            }
        }

        .scrolly-step {
            min-height: auto;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 80px 20px 80px 0;

        }

        .scrolly-step.step-4 {
            min-height: auto;
        }

        .scrolly-text-box {
            background: rgba(18, 18, 18, 0.9);
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 20px;
            max-width: 500px;
            width: 100%;
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            transform: translateY(60px);
            transition: none;

        }

        .scrolly-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .scrolly-text-box h3 {
            font-size: 2.22rem;
            margin-bottom: 0;
            color: var(--accent-red);
            font-weight: 800;
            text-transform: uppercase;
        }

        .scrolly-text-box p {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #ddd;
            margin-bottom: 20px;
        }

        .scrolly-text-box ul {
            list-style: none;
            padding: 0;
        }

        .scrolly-text-box li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 12px;
            color: #bbb;
        }

        .scrolly-text-box li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--accent-red);
        }

        .step-number {
            font-size: 2.5rem;
            font-weight: 900;
            color: rgba(255, 255, 255, 0.1);
            line-height: 1;
            z-index: 1;
            font-family: var(--font-main);
        }

        .services-stack {
            position: relative;
            width: 100%;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;

            padding-left: 20px;

            pointer-events: none;
            z-index: 10;

        }

        .services-stack .scrolly-step {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 0;

            pointer-events: auto;
            min-height: auto;
        }

        .services-stack .scrolly-text-box {

            transform: none !important;
            opacity: 1 !important;

            margin: 0;
            max-width: 550px;

            background: rgba(12, 12, 12, 0.9);
            backdrop-filter: blur(20px);
            padding: 50px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: var(--border-radius);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            color: var(--text-white);
        }

        .services-stack .scrolly-header h3 {
            font-size: 2.5rem;
            color: var(--text-white);
            margin-bottom: 0.5rem;
        }

        .services-stack .scrolly-text-box p {
            font-size: 1.2rem;
            color: #ccc;
            margin-bottom: 2rem;
        }

        .services-stack .scrolly-step h3 {
            color: var(--text-white);
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .services-stack .scrolly-step p {
            color: var(--text-grey);
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }

        .services-stack .scrolly-step ul li {
            color: var(--text-grey);
            margin-bottom: 0.5rem;
        }

        .sticky-wrapper {
            grid-column: 2;
            height: 100vh;
            position: sticky;
            top: 0;
            overflow: visible;
            background-color: var(--bg-dark);
            z-index: 3;
        }

        .sticky-wrapper::after {
            display: none;
        }

        .sticky-image-container {
            width: 100%;
            height: 100%;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: flex-end;

            padding-right: 20px;
        }

        @media (min-width: 1200px) {
            .sticky-image-container {
                padding-right: calc((100vw - 1200px) / 2 + 20px);
            }
        }

        .highlight-layer {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 5;

            opacity: 0;
            mix-blend-mode: darken;
            pointer-events: none;
        }

        @media (max-width: 1024px) {

            .hero-title-desktop,
            .hero-title-tablet {
                display: none !important;
            }

            .hero-title-mobile {
                display: block !important;
            }

            .hero-content h1 {
                font-size: 2rem !important;
            }

            .hero-title-row {
                justify-content: center !important;
                flex-wrap: wrap !important;
                gap: 0.25em !important;
            }
        }

        @media (min-width: 768px) and (max-width: 1024px) {
            .hero-content h1 {
                font-size: 3.5rem !important;
            }

            .hero-buttons .btn {
                padding: 18px 55px !important;
                font-size: 1.15rem !important;
            }

            .services-intro-pinned h2 {
                font-size: 3rem !important;
            }
        }

        .btn-back {
            background-color: var(--accent-red);
            color: white;
            padding: 10px 25px;
            border-radius: 0 20px 0 20px;
            font-weight: 600;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .btn-back:hover {
            background-color: var(--accent-red-hover);
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .btn-back {
                padding: 8px 15px;
                font-size: 0.8rem;
            }

            .logo-text {
                display: flex;
            }

            @media (max-width: 380px) {
                .logo-text span:first-child {
                    font-size: 0.8rem;
                }

                .logo-text span:last-child {
                    font-size: 0.7rem;
                }

                .logo {
                    gap: 10px;
                }
            }
        }

        .policy-card {
            background: var(--bg-card);
            padding: 60px;
            border-radius: 0 40px 0 40px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            margin: 120px 0 60px;
            overflow-wrap: break-word;
            word-wrap: break-word;
        }

        .policy-card h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 40px;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            color: var(--text-white);
            border-left: 5px solid var(--accent-red);
            padding-left: 20px;
        }

        @media (max-width: 1024px) {
            .policy-card {
                padding: 40px;
                margin: 100px 0 40px;
            }

            .policy-card h1 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 768px) {
            .policy-card {
                padding: 30px 20px;
                margin: 90px 0 30px;
            }

            .policy-card h1 {
                font-size: 1.8rem;
                padding-left: 15px;
            }

            .policy-card h2 {
                font-size: 1.3rem;
                margin: 30px 0 15px;
            }

            .policy-card p,
            .policy-card li {
                font-size: 1rem;
            }
        }

        .policy-card h2 {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 40px 0 20px;
            color: var(--accent-red);
            text-transform: uppercase;
            letter-spacing: 0.02em;
        }

        .policy-card p {
            margin-bottom: 20px;
            color: var(--text-grey);
            font-size: 1.1rem;
        }

        .policy-card ul {
            margin-bottom: 20px;
            padding-left: 20px;
            list-style: none;
        }

        .policy-card li {
            margin-bottom: 12px;
            color: var(--text-grey);
            position: relative;
            padding-left: 20px;
        }

        .policy-card li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 6px;
            height: 6px;
            background: var(--accent-red);
            border-radius: 50%;
        }

        .contact-info {
            background: rgba(217, 30, 38, 0.1);
            padding: 30px;
            border-radius: 0 20px 0 20px;
            margin-top: 40px;
            border-left: 3px solid var(--accent-red);
            word-break: break-word;
            overflow-wrap: break-word;
        }

        /* Ultra Wide Scaling (1600px +) */
        /* Desktop Scaling (1600px +) - Moderate for 1080p screens */
        @media (min-width: 1600px) {

            header,
            .container,
            .footer-content {
                max-width: 1400px !important;
                padding-left: 60px !important;
                padding-right: 60px !important;
            }

            .hero-content h1 {
                font-size: 5.8rem !important;
                margin-bottom: 35px !important;
            }

            .hero-description {
                font-size: 1.35rem !important;
                max-width: 700px !important;
                margin-bottom: 45px !important;
            }

            .primary-btn {
                padding: 16px 50px !important;
                font-size: 1.15rem !important;
            }

            .section-title {
                font-size: 3.8rem !important;
            }

            .hero-video-container {
                width: 620px !important;
                height: 620px !important;
            }

            /* Adjust pinned/sticky offsets for wider container (1400px) + Padding (60px) */
            .scrolly-content {
                padding-left: calc((100vw - 1400px) / 2 + 60px) !important;
            }

            .sticky-image-container {
                padding-right: calc((100vw - 1400px) / 2 + 60px) !important;
            }

            .about {
                padding-left: 60px !important;
                padding-right: 60px !important;
            }

            .services-stack .scrolly-text-box {
                max-width: 650px !important;
                padding: 50px !important;
            }

            .services-stack .scrolly-header h3 {
                font-size: 3rem !important;
            }

            .services-intro-pinned h2 {
                font-size: 4.5rem !important;
                white-space: nowrap !important;
            }

            .contact-box {
                max-width: 1100px !important;
                padding: 50px !important;
            }

            .contact-box h2 {
                font-size: 2.8rem !important;
            }

            .form-group input,
            .form-group textarea,
            .form-group select {
                padding: 16px !important;
                font-size: 1.05rem !important;
            }

            .form-submit-btn {
                padding: 18px !important;
                font-size: 1.15rem !important;
            }

            .about-content h2 {
                font-size: 3.5rem !important;
            }

            .about-text-main {
                font-size: 1.3rem !important;
            }

            .stat-text {
                font-size: 1.2rem !important;
            }

            .project-card {
                flex: 0 0 500px !important;
                height: 620px !important;
            }

            .project-card .text-group h4 {
                font-size: 2.5rem !important;
            }

            .logo img,
            .logo video {
                height: 70px !important;
            }

            .marquee-logo {
                height: 80px !important;
                margin: 0 60px !important;
            }
        }

        /* Ultra Wide Scaling (2200px +) - Moderate for very large displays */
        @media (min-width: 2200px) {

            header,
            .container,
            .footer-content {
                max-width: 1600px !important;
                padding-left: 100px !important;
                padding-right: 100px !important;
            }

            .hero-content h1 {
                font-size: 6.5rem !important;
                margin-bottom: 40px !important;
            }

            .hero-description {
                font-size: 1.45rem !important;
                max-width: 800px !important;
                margin-bottom: 50px !important;
            }

            .hero-video-container {
                width: 700px !important;
                height: 700px !important;
            }

            .primary-btn {
                padding: 18px 60px !important;
                font-size: 1.2rem !important;
            }

            .scrolly-content {
                padding-left: calc((100vw - 1600px) / 2 + 100px) !important;
            }

            .sticky-image-container {
                padding-right: calc((100vw - 1600px) / 2 + 100px) !important;
            }

            .services-intro-pinned h2 {
                font-size: 5rem !important;
            }

            .services-stack .scrolly-text-box {
                max-width: 700px !important;
                padding: 60px !important;
            }

            .services-stack .scrolly-header h3 {
                font-size: 3.5rem !important;
            }

            .contact-box {
                max-width: 1200px !important;
                padding: 60px !important;
            }

            .contact-box h2 {
                font-size: 3rem !important;
            }

            .form-group input,
            .form-group textarea,
            .form-group select {
                padding: 20px !important;
                font-size: 1.15rem !important;
            }

            .form-submit-btn {
                padding: 22px !important;
                font-size: 1.2rem !important;
            }

            .logo img,
            .logo video {
                height: 80px !important;
            }

            .marquee-logo {
                height: 90px !important;
                margin: 0 70px !important;
            }
        }

        /* Short Screen Adaptations (Laptops with 768px~800px height or less) */
        @media (max-height: 850px) and (min-width: 1025px) {
            .hero-video-container {
                height: 480px !important;
                width: 480px !important;
            }

            .hero-content h1 {
                font-size: 4.8rem !important;
            }

            .services-intro-pinned {
                top: 8% !important;
            }

            .services-intro-pinned h2 {
                font-size: 3rem !important;
            }
        }

        @media (max-height: 750px) and (min-width: 768px) {
            header {
                padding: 10px 20px !important;
            }

            .logo img,
            .logo video,
            .logo-sprite {
                height: 45px !important;
            }

            .hero-content h1 {
                font-size: 3.5rem !important;
                margin-bottom: 20px !important;
            }

            .hero-description {
                font-size: 1.1rem !important;
                margin-bottom: 25px !important;
            }

            section {
                padding-top: 70px !important;
                padding-bottom: 40px !important;
            }

            .contact-box {
                padding: 25px !important;
            }

            .contact-box h2 {
                font-size: 1.8rem !important;
                margin-bottom: 20px !important;
            }

            .form-row {
                gap: 10px !important;
                margin-bottom: 10px !important;
            }

            .form-group input,
            .form-group select,
            .form-group textarea {
                padding: 10px 15px !important;
            }

            .scrolly-text-box {
                padding: 30px !important;
            }

            .scrolly-header h3 {
                font-size: 1.8rem !important;
            }

            .project-card {
                height: 480px !important;
            }

            .about-grid {
                gap: 30px !important;
            }

            .about-content h2 {
                font-size: 2rem !important;
                margin-bottom: 15px !important;
            }
        }

        /* Narrow Smartphone Adjustments (430px and below) */
        @media (max-width: 430px) {
            .hero-content h1 {
                font-size: 1.85rem !important;
            }

            .hero-description {
                font-size: 0.95rem !important;
                padding: 0 15px !important;
            }

            .section-title {
                font-size: 1.75rem !important;
            }

            .scrolly-text-box h3 {
                font-size: 1.5rem !important;
            }

            .rotating-text-container {
                margin-left: -0.02em !important;
            }
        }

        /* Thanks Popup Styling */
        .thanks-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(18, 18, 18, 0.95);
            backdrop-filter: blur(15px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .thanks-popup.active {
            opacity: 1;
            visibility: visible;
        }

        .thanks-content {
            background: var(--bg-card);
            padding: 60px 40px;
            border-radius: 0 40px 0 40px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transform: scale(0.8) translateY(30px);
            transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
        }

        .thanks-popup.active .thanks-content {
            transform: scale(1) translateY(0);
        }

        .thanks-icon {
            width: 80px;
            height: 80px;
            background: var(--accent-red);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            color: white;
        }

        .thanks-icon svg {
            width: 40px;
            height: 40px;
        }

        .thanks-content h3 {
            font-size: 2.5rem;
            font-weight: 800;
            text-transform: uppercase;
            margin-bottom: 15px;
            letter-spacing: 0.05em;
        }

        .thanks-content p {
            color: var(--text-grey);
            font-size: 1.1rem;
            margin-bottom: 35px;
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .thanks-content {
                padding: 40px 25px;
            }

            .thanks-content h3 {
                font-size: 1.8rem;
            }
        }

        /* iPhone SE & Small Mobile Fixes */
        @media (max-width: 480px) and (max-height: 700px) {
            header {
                padding: 10px 15px !important;
            }

            .logo img,
            .logo video {
                height: 40px !important;
            }

            .logo-text span {
                font-size: 0.8rem !important;
            }

            .hero-content {
                padding-top: 50px !important;
                justify-content: flex-start !important;
            }

            .hero-content h1 {
                font-size: 1.8rem !important;
                margin-bottom: 5px !important;
            }

            .hero-description {
                font-size: 0.9rem !important;
                margin-bottom: 10px !important;
                line-height: 1.25 !important;
                padding: 0 5px !important;
            }

            .hero-video-mobile {
                width: 240px !important;
                height: 240px !important;
                margin-top: 15px !important;
            }

            .hero-buttons {
                margin-top: 15px !important;
            }

            .primary-btn {
                padding: 12px 30px !important;
                font-size: 0.95rem !important;
            }
        }