        .grayscale {
            filter: grayscale(100%) !important;
        }

        :root {
            --font-sans: "Inter", sans-serif;
            --text-xs: 0.75rem;
            --text-sm: 0.875rem;
            --text-base: 1rem;
            --text-lg: 1.125rem;
            --text-xl: 1.25rem;
            --text-2xl: 1.5rem;
            --text-3xl: 1.875rem;
            --text-4xl: 2.25rem;

            --space-1: 0.25rem;
            --space-2: 0.5rem;
            --space-3: 0.75rem;
            --space-4: 1rem;
            --space-5: 1.25rem;
            --space-6: 1.5rem;
            --space-8: 2rem;
            --space-10: 2.5rem;
            --space-12: 3rem;
            --space-16: 4rem;

            --brand-50: 236 253 245;
            --brand-100: 209 250 229;
            --brand-200: 167 243 208;
            --brand-300: 110 231 183;
            --brand-400: 52 211 153;
            --brand-500: 16 185 129;
            --brand-600: 5 150 105;
            --brand-700: 4 120 87;
            --brand-800: 6 95 70;
            --brand-900: 6 78 59;
            --brand-accent-soft: 123 240 200;

            --neutral-0: 255 255 255;
            --neutral-50: 248 250 252;
            --neutral-200: 226 232 240;
            --neutral-300: 203 213 225;
            --neutral-400: 148 163 184;
            --neutral-500: 100 116 139;
            --neutral-700: 51 65 85;
            --neutral-800: 30 41 59;
            --neutral-900: 17 24 39;

            --gray-200: 229 231 235;
            --gray-300: 209 213 219;
            --gray-400: 156 163 175;
            --gray-500: 107 114 128;
            --gray-700: 55 65 81;
            --gray-800: 31 41 55;
            --danger-500: 239 68 68;

            --surface-primary: 11 17 32;
            --surface-secondary: 15 41 37;
            --surface-secondary-hover: 12 33 30;
            --surface-footer: 15 23 42;
            --surface-deep: 2 6 23;
            --surface-accent: 17 94 89;
        }

        body {
            font-family: var(--font-sans);
            background-color: rgb(var(--surface-primary)); /* Deep dark blue match */
            color: rgb(var(--neutral-0));
            overflow-x: hidden;
        }

        /* ========================================
           Accessibility Improvements
           ======================================== */

        /* Screen reader only utility */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .sr-only.focus\:not-sr-only:focus {
            position: static;
            width: auto;
            height: auto;
            padding: inherit;
            margin: inherit;
            overflow: visible;
            clip: auto;
            white-space: normal;
        }

        /* Enhanced focus states for keyboard navigation */
        *:focus-visible {
            outline: 2px solid rgb(var(--brand-500));
            outline-offset: 2px;
        }

        /* Remove outline for mouse users */
        *:focus:not(:focus-visible) {
            outline: none;
        }

        /* Button focus states */
        button:focus-visible,
        a:focus-visible {
            outline: 2px solid rgb(var(--brand-500));
            outline-offset: 2px;
            box-shadow: 0 0 0 4px rgb(var(--brand-500) / 0.2);
        }

        /* Clean form input focus - no outline or shadow */
        input,
        select,
        textarea {
            outline: none !important;
            box-shadow: none !important;
        }

        input:focus,
        input:focus-visible,
        select:focus,
        select:focus-visible,
        textarea:focus,
        textarea:focus-visible {
            outline: none !important;
            box-shadow: none !important;
        }

        /* High contrast mode support */
        @media (prefers-contrast: high) {
            .service-card {
                border-width: 2px;
            }

            .chip {
                border-width: 2px;
            }

            button, a {
                text-decoration-thickness: 2px;
            }
        }

        /* Reduced motion preferences - comprehensive */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }

            .fade-in {
                animation: none;
                opacity: 1;
                transform: none;
            }

            .reveal-on-scroll {
                opacity: 1;
                transform: none;
            }

            .marquee-track {
                animation: none !important;
            }

            .tab-progress {
                animation: none;
                width: 100%;
            }
        }
        
        /* Custom scrollbar for cleaner look */
        ::-webkit-scrollbar {
            width: 10px;
        }
        ::-webkit-scrollbar-track {
            background: rgb(var(--surface-primary));
        }
        ::-webkit-scrollbar-thumb {
            background: rgb(var(--neutral-400));
            border-radius: 5px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: rgb(var(--neutral-300));
        }

        /* Firefox scrollbar */
        * {
            scrollbar-width: thin;
            scrollbar-color: rgb(var(--neutral-400)) rgb(var(--surface-primary));
        }

        /* Utility to hide scrollbar but keep functionality */
        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .no-scrollbar {
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }

        .nav-item:hover .nav-chevron {
            transform: rotate(180deg);
        }
        
        /* Hero Animation */
        .fade-in {
            animation: fadeIn 0.5s ease-out forwards;
            opacity: 0;
            transform: translateY(10px);
        }

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

        /* Scroll Reveal Animation */
        .reveal-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); /* Apple-style ease */
            will-change: opacity, transform;
        }
        .reveal-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Gradient Text for Logo */
        .logo-gradient {
            background: linear-gradient(135deg, rgb(var(--brand-500)) 0%, rgb(var(--brand-400)) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Tab Progress Bar Animation */
        .tab-progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 2px;
            background-color: rgb(var(--brand-500));
            width: 0%;
            transition: width 0s linear;
        }
        
        .tab.active .tab-progress {
            width: 100%;
            transition: width 5s linear; /* Synced with JS autoPlayDuration */
        }
        
        /* Paused State for Progress Bar */
        .tab.paused .tab-progress {
            transition-play-state: paused; 
        }

        /* Keyframes for Progress */
        @keyframes progressFill {
            from { width: 0%; }
            to { width: 100%; }
        }

        /* Overwrite the transition approach with animation for pause support */
        .tab-progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 2px;
            background-color: rgb(var(--brand-500));
            width: 0%;
        }

        .tab.active .tab-progress {
            animation: progressFill 5s linear forwards;
        }

        /* Pause class added by JS */
        .tab.active.paused .tab-progress {
            animation-play-state: paused;
        }

        /* Custom glow for the globe area */
        .globe-glow {
            background: radial-gradient(circle at 70% 50%, rgb(var(--brand-500) / 0.15) 0%, rgb(var(--surface-primary) / 0) 60%);
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            pointer-events: none;
            z-index: 0;
        }

        /* Critical CSS to prevent FOUC (White Flash) */
        #hero-card {
            background-color: rgb(var(--surface-primary));
            width: 100%;
            height: 100%;
            border-radius: 12px;
        }

        /* Services grid */
        .service-card {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            border: 1px solid rgb(var(--neutral-200)); /* Slate-200 */
            background: rgb(var(--neutral-0));
            box-shadow: none; 
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Smoother transition */
        }
        .service-card:hover {
            border-color: rgb(var(--brand-500)); /* Emerald-500 */
            transform: scale(1.01); /* Subtle scale instead of lift */
            z-index: 10; /* Ensure it sits on top */
        }
        /* Specific hover for light cards */
        .service-card--light:hover {
            box-shadow: 0 0 0 1px rgb(var(--brand-500)); 
        }
        
        .service-card--featured {
            /* Richer, deeper gradient */
            background: radial-gradient(105% 105% at 100% 0%, rgb(var(--surface-accent)) 0%, rgb(var(--surface-footer)) 60%, rgb(var(--surface-deep)) 100%);
            color: rgb(var(--neutral-50));
            border: 1px solid rgb(var(--neutral-0) / 0.1);
        }
        .service-card--featured:hover {
            border-color: rgb(var(--brand-400) / 0.5);
            box-shadow: 0 20px 40px -10px rgb(var(--brand-500) / 0.2); /* Premium soft glow */
        }
        
        .service-card--dark {
            /* Subtle vertical gradient for texture */
            background: linear-gradient(180deg, rgb(var(--surface-footer)) 0%, rgb(var(--surface-deep)) 100%);
            color: rgb(var(--gray-200));
            border: 1px solid rgb(var(--neutral-0) / 0.06);
        }
        .service-card--dark:hover {
            border-color: rgb(var(--neutral-0) / 0.25);
            background: linear-gradient(180deg, rgb(var(--neutral-800)) 0%, rgb(var(--surface-footer)) 100%); /* Lighten slightly */
        }

        .service-card--light {
            background: rgb(var(--neutral-0));
            border: 1px solid rgb(var(--neutral-200));
        }
        .service-card--light:hover {
            background: rgb(var(--neutral-50)); 
        }

        .service-card .service-icon {
            width: 24px;
            height: 24px;
            opacity: 0.8;
            transition: all 0.3s ease;
        }
        .service-card:hover .service-icon {
            transform: scale(1.1) rotate(5deg); /* Added subtle rotation */
            opacity: 1;
            color: rgb(var(--brand-500)); 
        }
        /* Keep featured/dark icons white/light */
        .service-card--featured:hover .service-icon,
        .service-card--dark:hover .service-icon {
            color: rgb(var(--neutral-0));
        }

        .card-head {
            display: flex;
            flex-direction: column;
            gap: 16px;
            height: 100%;
        }
        
        .card-divider {
            display: none; 
        }
        
        .chip-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: auto; /* Push to bottom */
            padding-top: 24px;
        }
        
        .chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 6px;
            border: 1px solid rgb(var(--neutral-200));
            color: rgb(var(--neutral-500));
            font-size: 11px;
            font-weight: 600;
            background: transparent;
            letter-spacing: 0.02em;
            transition: all 0.2s;
            cursor: default; /* Make it feel like a UI element */
        }
        /* Chip hovers */
        .service-card:hover .chip {
            border-color: rgb(var(--neutral-300));
            color: rgb(var(--neutral-700));
        }

        .service-card--featured .chip,
        .service-card--dark .chip {
            border-color: rgb(var(--neutral-0) / 0.12);
            color: rgb(var(--neutral-400));
            background: rgb(var(--neutral-0) / 0.02); /* Very subtle fill */
        }
        .service-card--featured:hover .chip,
        .service-card--dark:hover .chip {
            border-color: rgb(var(--neutral-0) / 0.3);
            color: rgb(var(--neutral-50));
            background: rgb(var(--neutral-0) / 0.05);
        }

        .eyebrow {
            text-transform: uppercase;
            letter-spacing: 0.12em;
            font-size: 10px;
            font-weight: 700;
            color: rgb(var(--brand-500));
            opacity: 0.9;
            margin-bottom: 4px;
            display: inline-block;
        }
        .service-card--featured .eyebrow,
        .service-card--dark .eyebrow {
            color: rgb(var(--brand-accent-soft));
        }

        /* ========================================
           Tech Stack Section - Marquee Animations
           ======================================== */

        .marquee-container {
            position: relative;
            width: 100%;
            overflow: hidden;
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        }

        .marquee-track {
            display: flex;
            width: max-content;
        }

        .marquee-content {
            display: flex;
            gap: 24px;
            padding-right: 24px;
            flex-shrink: 0;
        }

        /* Left-moving marquee */
        .marquee-left {
            animation: marquee-scroll-left 80s linear infinite;
        }

        /* Right-moving marquee */
        .marquee-right {
            animation: marquee-scroll-right 80s linear infinite;
        }

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

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

        /* Pause on hover for better UX */
        .marquee-container:hover .marquee-track {
            animation-play-state: paused;
        }

        /* Tech Logo Cards - Enterprise-grade minimal design */
        .tech-logo-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 20px 28px;
            background: rgb(var(--neutral-0) / 0.7);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: none;
            border-radius: 12px;
            min-width: 120px;
            cursor: default;
            position: relative;
            transition: background 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        /* Subtle hover: soft background shift + gentle scale */
        .tech-logo-card:hover {
            background: rgb(var(--neutral-0) / 1);
            transform: scale(1.04);
        }

        .tech-logo-card img {
            width: 40px;
            height: 40px;
            object-fit: contain;
            opacity: 0.6;
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        .tech-logo-card:hover img {
            opacity: 1;
            transform: scale(1.08);
        }

        .tech-logo-card span {
            font-size: 12px;
            font-weight: 500;
            color: rgb(var(--neutral-400));
            text-align: center;
            white-space: nowrap;
            letter-spacing: 0.01em;
            transition: color 0.4s ease;
        }

        .tech-logo-card:hover span {
            color: rgb(var(--surface-footer));
        }

        /* Tech Row subtle styling */
        .tech-row {
            position: relative;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .tech-logo-card {
                padding: 14px 18px;
                min-width: 90px;
                border-radius: 12px;
            }

            .tech-logo-card img {
                width: 28px;
                height: 28px;
            }

            .tech-logo-card span {
                font-size: 10px;
            }

            .marquee-content {
                gap: 16px;
                padding-right: 16px;
            }

            .marquee-left,
            .marquee-right {
                animation-duration: 60s;
            }
        }

        /* Client Logo Cards */
        .client-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 36px;
            width: 140px;
            height: 52px;
        }

        .client-logo img {
            height: 32px;
            width: auto;
            max-width: 140px;
            object-fit: contain;
            opacity: 0.4;
            filter: grayscale(100%);
            transition: opacity 0.4s ease, filter 0.4s ease;
        }

        .client-logo:hover img {
            opacity: 0.7;
            filter: grayscale(0%);
        }

        @media (max-width: 768px) {
            .client-logo {
                padding: 0 28px;
                width: 120px;
                height: 44px;
            }

            .client-logo img {
                height: 26px;
                max-width: 120px;
            }
        }


        /* Reduced motion preference */
        @media (prefers-reduced-motion: reduce) {
            .marquee-left,
            .marquee-right {
                animation: none;
            }

            .marquee-track {
                flex-wrap: wrap;
                justify-content: center;
                gap: 16px;
            }

            .marquee-content:nth-child(2) {
                display: none;
            }

            .marquee-container {
                mask-image: none;
                -webkit-mask-image: none;
            }
        }

        /* Tech Stack Collapsible */
        .tech-stack-rows {
            position: relative;
            max-height: 340px;
            overflow: hidden;
            transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .tech-stack-rows.expanded {
            max-height: 2000px;
        }

        .tech-stack-rows::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 180px;
            background: linear-gradient(to bottom, transparent 0%, rgb(var(--neutral-0) / 0.7) 40%, rgb(var(--neutral-0)) 100%);
            pointer-events: none;
            transition: opacity 0.5s ease;
        }

        .tech-stack-rows.expanded::after {
            opacity: 0;
        }

        .tech-stack-expand-trigger {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 180px;
            cursor: pointer;
            z-index: 5;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding-bottom: 24px;
        }

        .tech-stack-rows.expanded .tech-stack-expand-trigger {
            display: none;
        }

        /* Subtle text indicator */
        .tech-stack-indicator {
            font-size: 12px;
            font-weight: 500;
            color: rgb(var(--gray-400));
            letter-spacing: 0.05em;
            transition: color 0.3s ease;
        }

        .tech-stack-expand-trigger:hover .tech-stack-indicator {
            color: rgb(var(--brand-500));
        }

        /* ========================================
           Industries Section
           ======================================== */
        .industry-card {
            padding: 28px;
            background: rgb(var(--neutral-0));
            border: 1px solid rgb(var(--gray-200));
            border-radius: 12px;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .industry-card:hover {
            border-color: rgb(var(--gray-300));
            box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
            transform: translateY(-4px);
        }

        .industry-icon {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }

        /* ========================================
           Success Stories Section
           ======================================== */
        .success-stories-container {
            position: relative;
        }

        .success-stories-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 40px;
            gap: 24px;
            flex-wrap: wrap;
        }

        .success-stories-nav {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .success-stories-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            color: rgb(var(--gray-700));
            text-decoration: none;
            padding: 10px 16px;
            border-radius: 100px;
            background: transparent;
            border: 1px solid rgb(var(--gray-200));
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .success-stories-link:hover {
            background: rgb(var(--neutral-0));
            border-color: rgb(var(--gray-300));
            color: rgb(var(--neutral-900));
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
        }

        .success-stories-link svg {
            width: 14px;
            height: 14px;
            transition: transform 0.3s ease;
        }

        .success-stories-link:hover svg {
            transform: translateX(2px);
        }

        .story-nav-btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 1px solid rgb(var(--gray-200));
            background: rgb(var(--neutral-0));
            color: rgb(var(--gray-700));
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .story-nav-btn:hover {
            border-color: rgb(var(--gray-300));
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
            transform: scale(1.05);
        }

        .story-nav-btn:active {
            transform: scale(0.98);
        }

        .story-nav-btn svg {
            width: 16px;
            height: 16px;
        }

        .success-stories-slider {
            position: relative;
            overflow: hidden;
        }

        .success-stories-track {
            display: flex;
            gap: 24px;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .story-card {
            flex: 0 0 calc(50% - 12px);
            min-width: calc(50% - 12px);
            position: relative;
            overflow: hidden;
            aspect-ratio: 16 / 9;
            background-color: #020617;
            cursor: pointer;
            border-radius: 12px;
            transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @media (max-width: 1024px) {
            .story-card {
                flex: 0 0 100%;
                min-width: 100%;
            }
        }

        @media (max-width: 768px) {
            .story-card {
                aspect-ratio: 16 / 9;
            }
        }

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

        .story-card-image {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
        }

        .story-card:hover .story-card-image {
            transform: scale(1.05);
            filter: blur(3px);
        }

        .story-card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg,
                rgba(0, 0, 0, 0) 0%,
                rgba(0, 0, 0, 0.15) 40%,
                rgba(0, 0, 0, 0.85) 100%);
            transition: background 0.4s ease;
        }

        .story-card:hover .story-card-overlay {
            background: linear-gradient(180deg,
                rgba(0, 0, 0, 0) 0%,
                rgba(0, 0, 0, 0.2) 40%,
                rgba(0, 0, 0, 0.9) 100%);
        }

        .story-card-badge {
            position: absolute;
            top: 16px;
            right: 16px;
            padding: 5px 10px;
            background: rgb(var(--brand-500));
            border-radius: 100px;
            font-size: 9px;
            font-weight: 600;
            color: rgb(var(--neutral-0));
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .story-card-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 28px;
            z-index: 10;
            transform: translateY(0);
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .story-card:hover .story-card-content {
            transform: translateY(-60px);
        }

        .story-card-title {
            font-size: 20px;
            font-weight: 600;
            color: rgb(var(--neutral-0));
            line-height: 1.35;
            margin-bottom: 20px;
            max-width: 90%;
        }

        @media (max-width: 768px) {
            .story-card-title {
                font-size: 17px;
            }
        }

        .story-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 20px;
            border-top: 1px solid rgb(var(--neutral-0) / 0.15);
        }

        .story-card-company {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .story-card-logo {
            height: 22px;
            width: auto;
            max-width: 80px;
            object-fit: contain;
            filter: brightness(0) invert(1);
            opacity: 0.9;
        }

        .story-card-metrics {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .story-metric {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .story-metric-value {
            font-size: 22px;
            font-weight: 700;
            color: rgb(var(--neutral-0));
            line-height: 1;
        }

        .story-metric-label {
            font-size: 10px;
            font-weight: 500;
            color: rgb(var(--neutral-0) / 0.7);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            line-height: 1.3;
            max-width: 70px;
        }

        /* Extra Details - Hidden by default, revealed on hover */
        .story-card-extra {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 0 28px 28px 28px;
            z-index: 10;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: none;
        }

        .story-card:hover .story-card-extra {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .story-card-extra-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 16px;
            border-top: 1px solid rgb(var(--neutral-0) / 0.1);
        }

        .story-card-description {
            font-size: 13px;
            color: rgb(var(--neutral-0) / 0.7);
            line-height: 1.5;
            max-width: 70%;
        }

        .story-card-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 600;
            color: rgb(var(--neutral-0));
            text-decoration: none;
            padding: 10px 18px;
            background: rgb(var(--neutral-0) / 0.15);
            border: 1px solid rgb(var(--neutral-0) / 0.2);
            border-radius: 100px;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .story-card-cta:hover {
            background: rgb(var(--neutral-0) / 0.25);
            border-color: rgb(var(--neutral-0) / 0.4);
        }

        .story-card-cta svg {
            width: 14px;
            height: 14px;
            transition: transform 0.3s ease;
        }

        .story-card-cta:hover svg {
            transform: translate(2px, -2px);
        }

        @media (max-width: 768px) {
            .story-card:hover .story-card-content {
                transform: translateY(-50px);
            }

            .story-card-description {
                font-size: 12px;
                max-width: 60%;
            }

            .story-card-cta {
                padding: 8px 14px;
                font-size: 11px;
            }
        }

        /* ========================================
           Mobile Touch Interactions
           ======================================== */

        /* Improved touch targets - minimum 44px for accessibility */
        @media (max-width: 768px) {
            button,
            a,
            .tab,
            .mobile-dropdown-btn {
                min-height: 44px;
                min-width: 44px;
            }

            #tabs-container .tab {
                flex: 0 0 auto !important;
                min-width: 170px;
            }

            #tabs-container .tab span {
                gap: 0.5rem;
                justify-content: space-between;
            }

            #tabs-container .control-icon {
                flex-shrink: 0;
            }

            /* Better tap feedback */
            button:active,
            a:active,
            .tab:active {
                transform: scale(0.98);
                opacity: 0.9;
            }

            /* Prevent text selection on interactive elements */
            button,
            .tab,
            .story-nav-btn {
                -webkit-user-select: none;
                user-select: none;
                -webkit-tap-highlight-color: transparent;
            }

            /* Larger tap targets for form inputs */
            input,
            select,
            textarea {
                min-height: 48px;
                font-size: 16px; /* Prevents iOS zoom on focus */
            }

            /* Swipe-friendly sliders */
            .success-stories-track,
            .marquee-track {
                touch-action: pan-x;
            }

            /* Improve mobile menu interactions */
            #mobile-menu a,
            #mobile-menu button {
                padding: 16px 0;
            }
        }

        /* Touch-friendly hover states (only on hover-capable devices) */
        @media (hover: hover) and (pointer: fine) {
            .service-card:hover,
            .story-card:hover,
            .tech-logo-card:hover {
                /* Existing hover styles apply only on desktop */
            }
        }

        /* Mega menu: allow click-to-toggle on touch + keyboard parity */
        .mega-menu.mega-open .mega-panel {
            opacity: 1 !important;
            visibility: visible !important;
            --tw-translate-y: 0 !important;
            pointer-events: auto !important;
        }

        /* Disable hover-open; keep click-driven state only */
        .mega-menu:not(.mega-open):hover .mega-panel {
            opacity: 0 !important;
            visibility: hidden !important;
            --tw-translate-y: 0.5rem !important;
            pointer-events: none !important;
        }

        .mega-menu:not(.mega-open):focus-within .mega-panel {
            opacity: 0 !important;
            visibility: hidden !important;
            --tw-translate-y: 0.5rem !important;
            pointer-events: none !important;
        }

        /* Rotate caret only when the menu is open */
        .mega-menu [data-mega-menu-trigger] svg {
            transform: rotate(0deg) !important;
        }

        .mega-menu.mega-open [data-mega-menu-trigger] svg {
            transform: rotate(180deg) !important;
        }

        .mega-menu:not(.mega-open):hover [data-mega-menu-trigger] svg {
            transform: rotate(0deg) !important;
            color: rgb(75 85 99) !important;
        }

        .mega-menu:not(.mega-open):focus-within [data-mega-menu-trigger] svg {
            transform: rotate(0deg) !important;
            color: rgb(75 85 99) !important;
        }

        /* Touch devices - show hover effects on focus/active instead */
        @media (hover: none) {
            .service-card:active,
            .story-card:active {
                transform: scale(0.99);
            }

            .tech-logo-card:active {
                background: rgb(var(--neutral-0) / 1);
            }

            .tech-logo-card:active img {
                opacity: 1;
            }

            /* Show story card extra on tap for mobile */
            .story-card:focus-within .story-card-extra,
            .story-card:active .story-card-extra {
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto;
            }
        }

        /* Smooth scrolling containers */
        .no-scrollbar {
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
        }

        .story-card {
            scroll-snap-align: start;
        }

        /* Loading animation for form submission */
        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .animate-spin {
            animation: spin 1s linear infinite;
        }

        /* Form error states */
        input.border-red-500,
        select.border-red-500,
        textarea.border-red-500 {
            border-color: rgb(var(--danger-500)) !important;
            box-shadow: 0 0 0 3px rgb(var(--danger-500) / 0.1);
        }

        .error-message {
            color: rgb(var(--danger-500));
            font-size: 12px;
            margin-top: 4px;
        }

        /* Button loading/success/error states */
        button:disabled {
            cursor: not-allowed;
            opacity: 0.7;
        }

        /* ========================================
           Client Testimonials Section
           ======================================== */

        .testimonials-container {
            width: 100%;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        /* Featured testimonial spans 2 rows */
        .testimonial-card-featured {
            grid-row: span 2;
        }

        .testimonial-card {
            background: transparent;
            padding: 24px;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .testimonial-card:hover {
            background: transparent;
        }

        .testimonial-card-featured {
            background: linear-gradient(145deg, rgb(var(--brand-800)) 0%, rgb(var(--brand-700)) 100%);
            color: rgb(var(--neutral-0));
            padding: 28px;
            border: none;
            border-radius: 12px;
        }

        .testimonial-card-featured:hover {
            background: linear-gradient(145deg, rgb(var(--brand-800)) 0%, rgb(var(--brand-700)) 100%);
            transform: none;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
            border: none;
        }

        .testimonial-quote-icon {
            color: rgb(var(--gray-200));
            margin-bottom: 12px;
        }

        .testimonial-quote-icon svg {
            width: 20px;
            height: 20px;
        }

        .testimonial-card-featured .testimonial-quote-icon {
            color: rgb(var(--neutral-0));
            opacity: 0.25;
        }

        .testimonial-card-featured .testimonial-quote-icon svg {
            width: 24px;
            height: 24px;
        }

        .testimonial-text {
            font-size: 13px;
            line-height: 1.65;
            color: rgb(var(--gray-500));
            flex: 1;
            margin-bottom: 20px;
        }

        .testimonial-text-lg {
            font-size: 15px;
            line-height: 1.7;
        }

        .testimonial-card-featured .testimonial-text {
            color: rgb(var(--neutral-0) / 0.9);
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: auto;
        }

        .testimonial-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            border: none;
        }

        .testimonial-avatar-logo {
            object-fit: contain;
            background: rgb(var(--neutral-0));
            padding: 4px;
            border: 1px solid rgb(var(--gray-200));
        }

        .testimonial-avatar-initial {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgb(var(--brand-600));
            color: rgb(var(--neutral-0));
            font-weight: 700;
            font-size: 15px;
            flex-shrink: 0;
        }

        .testimonial-card-featured .testimonial-avatar {
            width: 40px;
            height: 40px;
            border: 2px solid rgb(var(--neutral-0) / 0.15);
        }

        .testimonial-card-featured .testimonial-avatar-logo {
            background: rgb(var(--neutral-0));
            padding: 5px;
            border: none;
        }

        .testimonial-author-info {
            flex: 1;
        }

        .testimonial-author-name {
            font-size: 13px;
            font-weight: 600;
            color: rgb(var(--gray-700));
        }

        .testimonial-card-featured .testimonial-author-name {
            color: rgb(var(--neutral-0));
            font-size: 13px;
        }

        .testimonial-author-title {
            font-size: 11px;
            color: rgb(var(--gray-400));
            margin-top: 1px;
        }

        .testimonial-card-featured .testimonial-author-title {
            color: rgb(var(--neutral-0) / 0.6);
            font-size: 11px;
        }

        .testimonial-company-logo {
            width: 24px;
            height: 24px;
            opacity: 0.3;
            filter: brightness(0) invert(1);
        }

        /* Metrics for featured card */
        .testimonial-metrics {
            display: flex;
            gap: 20px;
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px solid rgb(var(--neutral-0) / 0.1);
        }

        .testimonial-metric {
            display: flex;
            flex-direction: column;
            gap: 1px;
        }

        .testimonial-metric-value {
            font-size: 20px;
            font-weight: 600;
            color: rgb(var(--neutral-0));
        }

        .testimonial-metric-label {
            font-size: 10px;
            color: rgb(var(--neutral-0) / 0.5);
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        /* Trust Indicators Bar */
        .testimonials-trust-bar {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 32px;
            padding: 16px 0;
            flex-wrap: wrap;
        }

        .trust-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .trust-item svg {
            width: 14px;
            height: 14px;
        }

        .trust-text {
            font-size: 12px;
            color: rgb(var(--gray-400));
        }

        .trust-text strong {
            color: rgb(var(--gray-500));
            font-weight: 600;
        }

        .trust-divider {
            width: 1px;
            height: 16px;
            background: rgb(var(--gray-300));
        }

        /* Responsive Testimonials */
        @media (max-width: 1024px) {
            .testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }

            .testimonial-card-featured {
                grid-column: span 2;
                grid-row: span 1;
            }
        }

        @media (max-width: 768px) {
            .testimonials-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .testimonial-card-featured {
                grid-column: span 1;
            }

            .testimonial-card {
                padding: 20px;
            }

            .testimonial-card-featured {
                padding: 22px;
            }

            .testimonial-text {
                font-size: 12px;
                margin-bottom: 16px;
            }

            .testimonial-text-lg {
                font-size: 13px;
            }

            .testimonial-avatar {
                width: 32px;
                height: 32px;
            }

            .testimonial-card-featured .testimonial-avatar {
                width: 36px;
                height: 36px;
            }

            .testimonials-trust-bar {
                gap: 12px;
                padding: 12px 0;
                margin-top: 24px;
            }

            .trust-divider {
                display: none;
            }

            .trust-item {
                width: calc(50% - 6px);
                justify-content: center;
            }

            .trust-text {
                font-size: 11px;
            }

            .testimonial-metrics {
                gap: 14px;
                margin-top: 16px;
                padding-top: 12px;
            }

            .testimonial-metric-value {
                font-size: 18px;
            }

            .testimonial-metric-label {
                font-size: 9px;
            }
        }
