@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --bg-primary: #0a0a0a;
            --bg-secondary: #1a1a1a;
            --bg-tertiary: #0f0f0f;
            --text-primary: #ffffff;
            --text-secondary: #a0a0a0;
            --border-color: #2a2a2a;
            --glass-bg: rgba(26, 26, 26, 0.7);
            --glass-border: rgba(255, 255, 255, 0.1);
            --shadow-color: rgba(0, 0, 0, 0.5);
        }
        
        [data-theme="light"] {
            --bg-primary: #ffffff;
            /* --bg-secondary: #f5f5f5; */
            --bg-secondary: #F0F2F5;
            --bg-tertiary: #fafafa;
            --text-primary: #0a0a0a;
            --text-secondary: #666666;
            --border-color: #e0e0e0;
            --glass-bg: rgba(255, 255, 255, 0.7);
            --glass-border: rgba(0, 0, 0, 0.1);
            --shadow-color: rgba(0, 0, 0, 0.1);
        }
        
        body {
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            background: var(--bg-primary);
            color: var(--text-primary);
            transition: background 0.3s ease, color 0.3s ease;
        }
        
        .font-display {
            font-family: 'Space Grotesk', sans-serif;
        }
        
        /* Container with proper padding */
        .container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        @media (min-width: 768px) {
            .container {
                padding: 0 4rem;
            }
        }
        
        @media (min-width: 1024px) {
            .container {
                padding: 0 6rem;
            }
        }
        
        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: var(--bg-primary);
        }
        
        ::-webkit-scrollbar-thumb {
            background: #3b82f6;
            border-radius: 4px;
        }
        
        /* Smooth Scroll */
        html {
            scroll-behavior: smooth;
        }
        
        /* Glassmorphism */
        .glass {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 32px 0 var(--shadow-color);
        }
        
        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 32px 0 var(--shadow-color);
        }
        
        /*===========================================================================*/
        /* ==========================================
   INFINITE SCROLLING HERO SHOWCASE
   ========================================== */

.infinite-scroll-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    
}

.scroll-row {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 0.5rem 0;
}

.scroll-content {
    display: flex;
    gap: 1.5rem;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Scroll Right Animation */
.scroll-right .scroll-content {
    animation: scroll-right 40s linear infinite;
}

/* Scroll Left Animation */
.scroll-left .scroll-content {
    animation: scroll-left 40s linear infinite;
}

/* Scroll Right Fast */
.scroll-right-fast .scroll-content {
    animation: scroll-right 25s linear infinite;
}

@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Showcase Item */
.showcase-item {
    flex-shrink: 0;
    width: 230px;
}

.showcase-image {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.showcase-image:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.showcase-image:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Showcase Overlay */
.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.showcase-image:hover .showcase-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 50%);
}

/* Showcase Icon */
.showcase-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 0.75rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.showcase-image:hover .showcase-icon {
    transform: scale(1.2) rotate(-10deg);
}

/* Showcase Label */
.showcase-label {
    font-weight: 700;
    font-size: 0.9375rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.showcase-image:hover .showcase-label {
    opacity: 1;
}

/* Capability Tags Row */
.capability-tag {
    flex-shrink: 0;
    padding: 1rem 2rem;
    border-radius: 9999px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
}

.capability-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Gradient Overlays for Fade Effect */
.showcase-gradient {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    pointer-events: none;
    z-index: 2;
}

.showcase-gradient-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.showcase-gradient-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

/* Pause animation on hover for better UX */
.scroll-row:hover .scroll-content {
    animation-play-state: paused;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .showcase-item {
        width: 240px;
    }
    
    .showcase-image {
        height: 150px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-content {
        animation: none !important;
    }
    
    .showcase-item,
    .showcase-icon,
    .capability-tag {
        transition: none !important;
    }
}

/*==================================================================================*/
        
        
        /* Force service cards to stay dark in both themes */
        .service-card-hover {
            background: rgba(26, 26, 26, 0.7) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
        }
        
        /* Stacked Cards Effect - Cards Stack ON TOP */
        .stacked-cards-container {
            position: relative;
             height: calc(600px * 4 + 100vh); /* this fixes the stacking */
        }
        .card-spacer {
  height: 20vh;        /* pause amount: increase for longer pause (e.g. 100vh) */
  pointer-events: none;
  width: 100%;
}
        
        .stacked-card {
            position: sticky;
            width: 100%;
            max-width: 1200px;
            height: 600px;
            margin: 0 auto 2rem;
            border-radius: 24px;
            overflow: hidden;
            will-change: transform;
            transition: all 0.3s ease;  
        }
        
        
        /* Z-index: Higher cards (2,3,4) should be ON TOP of lower cards */
        .stacked-card[data-index="1"] {
            top: 100px;
            z-index: 1;
            border: 3px solid rgba(59, 130, 246, 0.6);
            box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.2);
        }
        
        .stacked-card[data-index="2"] {
            top: 150px;
            z-index: 2;
            border: 3px solid rgba(168, 85, 247, 0.6);
            box-shadow: 0 20px 60px rgba(168, 85, 247, 0.3), 0 0 0 1px rgba(168, 85, 247, 0.2);
        }
        
        .stacked-card[data-index="3"] {
            top: 200px;
            z-index: 3;
            border: 3px solid rgba(236, 72, 153, 0.6);
            box-shadow: 0 20px 60px rgba(236, 72, 153, 0.3), 0 0 0 1px rgba(236, 72, 153, 0.2);
        }
        
        .stacked-card[data-index="4"] {
            top: 250px;
            z-index: 4;
            border: 3px solid rgba(16, 185, 129, 0.6);
            box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3), 0 0 0 1px rgba(16, 185, 129, 0.2);
        }
        
        /* Hover Effects */
        .stacked-card:hover {
            transform: scale(1.01);
           
        }
        
        .stacked-card[data-index="1"]:hover {
            box-shadow: 0 30px 80px rgba(59, 130, 246, 0.5), 0 0 0 3px rgba(59, 130, 246, 0.5);
        }
        
        .stacked-card[data-index="2"]:hover {
            box-shadow: 0 30px 80px rgba(168, 85, 247, 0.5), 0 0 0 3px rgba(168, 85, 247, 0.5);
        }
        
        .stacked-card[data-index="3"]:hover {
            box-shadow: 0 30px 80px rgba(236, 72, 153, 0.5), 0 0 0 3px rgba(236, 72, 153, 0.5);
        }
        
        .stacked-card[data-index="4"]:hover {
            box-shadow: 0 30px 80px rgba(16, 185, 129, 0.5), 0 0 0 3px rgba(16, 185, 129, 0.5);
        }
        
        /* Mobile Responsive */
        @media (max-width: 768px) {
            .stacked-card {
                height: 500px;
                margin-bottom: 1.5rem;
            }
            
            .stacked-card[data-index="1"] {
                top: 80px;
            }
            
            .stacked-card[data-index="2"] {
                top: 130px;
            }
            
            .stacked-card[data-index="3"] {
                top: 180px;
            }
            
            .stacked-card[data-index="4"] {
                top: 230px;
            }
        }
        
        /* Gradient Text */
        .gradient-text {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .gradient-text-blue {
            background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* Theme Toggle Button */
        .theme-toggle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .theme-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
        }
        
        .theme-icon {
            width: 24px;
            height: 24px;
            transition: transform 0.3s ease;
        }
        
        /* Animated Background */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.3;
        }
        
        .animated-bg canvas {
            display: block;
        }
        
        /* Fade In Animation */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Scale Animation */
        .scale-in {
            opacity: 0;
            transform: scale(0.9);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .scale-in.visible {
            opacity: 1;
            transform: scale(1);
        }
        
        /* Slide In Animation */
        .slide-in-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .slide-in-left.visible {
            opacity: 1;
            transform: translateX(0);
        }
        
        .slide-in-right {
            opacity: 0;
            transform: translateX(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .slide-in-right.visible {
            opacity: 1;
            transform: translateX(0);
        }
        
        /* Service Card Hover Effect */
        .service-card {
            position: relative;
            overflow: hidden;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }
        
        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
            transition: left 0.6s ease;
        }
        
        .service-card:hover::before {
            left: 100%;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
        }
        
        /* Glowing Button */
        .glow-btn {
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .glow-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }
        
        .glow-btn:hover::before {
            width: 300px;
            height: 300px;
        }
        
        .glow-btn:hover {
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
        }
        
        /* Testimonial Card */
        .testimonial-card {
            transition: transform 0.3s ease;
        }
        
        .testimonial-card:hover {
            transform: scale(1.05);
        }
        
        /* Particle Effect */
        #particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
        
        /* Number Counter Animation */
        .counter {
            font-size: 3rem;
            font-weight: 700;
        }
        
        /* Mobile Menu */
        .mobile-menu {
            transform: translateX(100%);
            transition: transform 0.3s ease;
            background: var(--bg-primary) !important;
        }
        
        .mobile-menu.active {
            transform: translateX(0);
        }
        #mobile-menu {
            background: var(--bg-primary) !important;
        }
        
        /* Stagger Animation Delay */
        .stagger-1 { transition-delay: 0.1s; }
        .stagger-2 { transition-delay: 0.2s; }
        .stagger-3 { transition-delay: 0.3s; }
        .stagger-4 { transition-delay: 0.4s; }
        .stagger-5 { transition-delay: 0.5s; }
        .stagger-6 { transition-delay: 0.6s; }
        
        /* Floating Cards Animation */
        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            33% {
                transform: translateY(-20px) rotate(2deg);
            }
            66% {
                transform: translateY(-10px) rotate(-2deg);
            }
        }
        
        @keyframes floatReverse {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            33% {
                transform: translateY(-15px) rotate(-2deg);
            }
            66% {
                transform: translateY(-25px) rotate(1deg);
            }
        }
        
        .floating-card {
            animation-duration: 6s;
            animation-timing-function: ease-in-out;
            animation-iteration-count: infinite;
            transition: all 0.3s ease;
        }
        
        .floating-card:nth-child(1) {
            animation-name: float;
        }
        
        .floating-card:nth-child(2) {
            animation-name: floatReverse;
            animation-duration: 7s;
        }
        
        .floating-card:nth-child(3) {
            animation-name: float;
            animation-duration: 8s;
        }
        
        .floating-card:nth-child(4) {
            animation-name: floatReverse;
            animation-duration: 6.5s;
        }
        
        .floating-card:hover {
            transform: translateY(-10px) scale(1.05) !important;
            box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
            z-index: 10;
        }
        
        .floating-card img {
            transition: transform 0.5s ease, opacity 0.3s ease;
        }
        
        .floating-card:hover img {
            transform: scale(1.1);
            opacity: 0.8;
        }
        
        /* Pulse animation for decorative blobs */
        @keyframes pulse {
            0%, 100% {
                opacity: 0.3;
                transform: scale(1);
            }
            50% {
                opacity: 0.6;
                transform: scale(1.1);
            }
        }
        
        .animate-pulse {
            animation: pulse 4s ease-in-out infinite;
        }
        
        /* Light mode specific adjustments */
        [data-theme="light"] .gradient-text {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        [data-theme="light"] .gradient-text-blue {
            background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        /* Section backgrounds */
        .section-alt {
            background: var(--bg-secondary);
        }

        /* ---------------------------------------- */

            