        :root {
            --bg-color: #000000;
            --text-color: #f0f0f0;
            --primary-color: #9f55ff;
            --secondary-color: #ff3b81;
            --card-bg: rgba(17, 17, 17, 0.7);
            --border-color: rgba(255, 255, 255, 0.1);
            --transition-speed: 0.3s;
        }

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

        html,
        body {
            height: 100%;
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
            /* Keep hidden for general safety */
            line-height: 1.6;
        }

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

        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--bg-color);
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: clamp(2rem, 5vw, 4rem);
            font-family: 'Montserrat', sans-serif;
            color: var(--primary-color);
            letter-spacing: 5px;
            opacity: 1;
            transition: opacity 1s ease-out, visibility 1s ease-out;
            visibility: visible;
        }

        .preloader-hidden {
            opacity: 0;
            visibility: hidden;
        }

        /* Navbar Styles */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            /* Transparent background */
            backdrop-filter: blur(10px);
            /* Frosted glass effect */
            z-index: 1000;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: background-color 0.3s ease, border-bottom 0.3s ease, opacity 0.5s ease;
            /* Added opacity transition */
        }

        .navbar.hidden {
            /* Class to hide navbar */
            opacity: 0;
            pointer-events: none;
            /* Disable interaction when hidden */
        }


        .navbar-logo {
            font-weight: 700;
            font-size: 1.5rem;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            transition: var(--transition);
        }

        .navbar-logo img {
            width: 30px !important;
            height: auto;
        }

        .navbar-logo {
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }


        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            font-size: 1.05rem;
            transition: color var(--transition-speed) ease;
        }

        .nav-links a:hover {
            color: var(--primary-color);
        }

        .navbar-toggle {
            display: none;
            /* Hidden on desktop */
            font-size: 2rem;
            background: none;
            border: none;
            color: var(--text-color);
            cursor: pointer;
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 1rem;
            }

            .nav-links {
                display: none;
                /* Hide by default on mobile */
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: rgba(0, 0, 0, 0.9);
                border-top: 1px solid rgba(255, 255, 255, 0.05);
                padding: 1rem 0;
                gap: 1rem;
            }

            .nav-links.active {
                display: flex;
            }

            .navbar-toggle {
                display: block;
                /* Show toggle button on mobile */
            }

            .navbar.hidden {
                /* On mobile, navbar is always visible */
                opacity: 1;
                pointer-events: all;
            }
        }
        
            /* Custom Scrollbar */
            ::-webkit-scrollbar {
              width: 8px;
            }
            
            ::-webkit-scrollbar-track {
              background: var(--bg-color);
            }
            
            ::-webkit-scrollbar-thumb {
              background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
              border-radius: 4px;
            }


        .cursor {
            display: none;
            position: fixed;
            width: 30px;
            height: 30px;
            border: 2px solid var(--primary-color);
            border-radius: 50%;
            pointer-events: none;
            transform: translate(-50%, -50%);
            transition: all 0.2s ease-out, width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
            z-index: 9999;
        }

        .cursor.hover {
            width: 60px;
            height: 60px;
            background-color: rgba(159, 85, 255, 0.2);
            border-color: var(--secondary-color);
        }

        .cursor.text-hover {
            width: 80px;
            height: 80px;
            mix-blend-mode: difference;
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        /* Removed .main-container styles from here as it's not needed for the new structure */

        .section {
            width: 100%;
            position: relative;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 6rem 2rem;
        }

        .section-content {
            max-width: 1200px;
            width: 100%;
            text-align: center;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .hero-canvas {
            min-width: 300px;
            height: 400px;
            /* Adjust height as needed for the particle area */
            position: relative;
            /* For canvas positioning */
            background-color: transparent !important;
            margin-top: 2rem;
            /* Spacing below text */
            width: 100%;
            /* Ensure it takes full width of content */
        }

        .hero-canvas canvas {
            width: 100%;
            height: 100%;
            display: block;
            /* Remove extra space below canvas */

        }

        h1,
        h2,
        h3 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 900;
            letter-spacing: -0.05em;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            background-clip: text;
            color: transparent;
        }

        h1 {
            font-size: clamp(3rem, 10vw, 6rem);
            line-height: 1;
        }

        h2 {
            font-size: clamp(2.5rem, 8vw, 4rem);
            margin-bottom: 3rem;
        }

        h3 {
            font-size: clamp(1.8rem, 5vw, 2.5rem);
        }

        .gradient-text {
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        p {
            font-size: 1.1rem;
            max-width: 650px;
            margin: 1rem auto 2rem;
            opacity: 0.8;
            line-height: 1.7;
        }

        .highlight {
            color: var(--primary-color);
            font-weight: 500;
        }

        .card {
            background-color: var(--card-bg);
            padding: 2rem;
            border-radius: 1rem;
            border: 1px solid var(--border-color);
            transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
            text-align: left;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: white;
            letter-spacing: -1px;
        }

        .card i {
            font-size: 20px;
            margin-bottom: 10px;
            margin-top: 15px;
            color: var(--primary-color);
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: left;
            align-items: center;
        }

        .about-grid img {
            width: 100%;
            height: auto;
            border-radius: 1rem;
            opacity: 0.8;
            object-fit: cover;
        }

        .services-grid,
        .portfolio-grid,
        .process-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .portfolio-card {
            aspect-ratio: 1 / 1;
            border-radius: 1rem;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            border: 1px solid var(--border-color);
            transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
            background: #f0f0f0;
        }

        .portfolio-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .portfolio-card img {
            width: 100%;
            height: 100%;
            /* object-fit: cover; */
            transition: transform 0.4s ease;
        }

        .portfolio-card:hover img {
            transform: scale(1.05);
        }

        .portfolio-card .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 1.5rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            text-align: left;
            transition: opacity 0.3s ease;
        }

        .portfolio-card:hover .overlay {
            opacity: 0.9;
        }

        .portfolio-card h3 {
            color: white;
            font-size: 1.5rem;
            letter-spacing: -1px;
            margin-bottom: 0;
        }

        .portfolio-filters {
            margin-bottom: 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
        }

        .filter-button {
            background-color: var(--card-bg);
            color: var(--text-color);
            border: 1px solid var(--border-color);
            padding: 0.8rem 1.5rem;
            border-radius: 0.5rem;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, border-color var(--transition-speed) ease;
        }

        .filter-button:hover {
            background-color: rgba(159, 85, 255, 0.1);
            color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .filter-button.active {
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            color: white;
            border-color: var(--primary-color);
        }

        .process-step .step-number {
            font-size: clamp(2.5rem, 8vw, 4rem);
            font-weight: 900;
            color: var(--border-color);
            margin-bottom: 1rem;
            line-height: 1;
        }

        .clients-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            align-items: center;
        }

        .client-categories {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .client-category {
            background-color: var(--card-bg);
            padding: 2rem;
            border-radius: 1rem;
            /* Adjust padding and border-radius for card look */
            border: 1px solid var(--border-color);
            text-align: center;
            /* Align text left */
            transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
            width: 100%;
        }

        .client-category:hover {
            background-color: rgba(159, 85, 255, 0.1);
            border-color: var(--primary-color);
            transform: translateY(-5px);
            /* Add hover effect */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            /* Add hover effect */
        }

        .client-category h3 {
            /* Style for the new one-line info header */
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            /* Reduced margin for compact look */
            color: var(--primary-color);
            letter-spacing: -1px;
        }

        .client-category p {
            /* Style for the new one-line info paragraph */
            font-size: 1rem;
            /* Smaller font size */
            margin: 0;
            /* No margin below */
            opacity: 0.8;
            line-height: 1.5;
            max-width: 100%;
        }

        .testimonial-slider {
            width: 100%;
            background: var(--card-bg);
            border-radius: 1rem;
            padding: 2rem;
        }

        .swiper-slide {
            text-align: center;
            padding: 1rem 0;
        }

        .swiper-slide p {
            font-style: italic;
            font-size: 1rem;
            margin-bottom: 1rem;
        }

        .swiper-slide .author {
            font-weight: 700;
            margin-top: 1rem;
            color: var(--primary-color);
        }

        .swiper-slide .role {
            font-size: 0.9rem;
            opacity: 0.7;
        }

        .swiper-pagination-bullet {
            background: rgba(255, 255, 255, 0.4) !important;
            opacity: 1 !important;
            width: 10px;
            height: 10px;
            margin: 0 5px !important;
        }

        .swiper-pagination-bullet-active {
            background: var(--primary-color) !important;
        }

        .team-grid {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            /* Increased gap for better spacing */
            align-items: center;
            justify-content: center;
        }

        .team-member {
            text-align: center;
        }

        .team-member img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--primary-color);
            margin-bottom: 1rem;
            box-shadow: 0 0 15px rgba(159, 85, 255, 0.5);
            transition: transform var(--transition-speed) ease;
        }

        .team-member:hover img {
            transform: scale(1.05);
        }

        .team-member h3 {
            margin-bottom: 0.5rem;
            font-size: 1.6rem;
        }

        .team-member p {
            margin-top: 0;
            font-size: 0.95rem;
            opacity: 0.8;
        }

        .social-links {
            margin-top: 0.5rem;
        }

        .social-links a {
            color: var(--text-color);
            font-size: 1.5rem;
            margin: 0 0.5rem;
            transition: color var(--transition-speed) ease;
        }

        .social-links a:hover {
            color: var(--primary-color);
        }

        .contact-section a {
            color: var(--primary-color);
            text-decoration: none;
            font-size: clamp(1.5rem, 8vw, 2.5rem);
            font-weight: 700;
            display: inline-block;
            word-break: break-all;
            transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
            margin-top: 2rem;
        }

        .contact-section a:hover {
            color: var(--secondary-color);
            transform: translateY(-3px);
        }

        .portfolio-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 5000;
            display: flex;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(10px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        .portfolio-modal.active {
            opacity: 1;
            pointer-events: all;
        }

        .modal-content {
            background-color: var(--card-bg);
            width: 90%;
            max-width: 900px;
            max-height: 90vh;
            border-radius: 1rem;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            padding: 2rem;
            position: relative;
            transform: scale(0.9);
            transition: transform 0.4s ease;
        }

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

        .modal-details .visit-site-link {
            display: inline-block;
            /* Ensure it's treated like a block for padding/margin */
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 0.5rem;
            text-decoration: none;
            font-weight: 600;
            margin-top: 1.5rem;
            /* Space from description */
            transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
            border: none;
            /* Remove default button border */
            cursor: pointer;
        }

        .modal-details .visit-site-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .modal-details .visit-site-link i {
            margin-left: 0.5rem;
            font-size: 0.9em;
        }

        /* For full website image in modal */
        .portfolio-modal .modal-image {
            width: 100%;
            /* Keep full width */
            height: auto;
            /* Allow height to adjust naturally to the image */
            max-height: 70vh;
            /* Limit max height to prevent excessively tall images */
            object-fit: contain;
            /* Ensure the full image is visible, even if it has to shrink */
            border-radius: 0.5rem;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
            /* Subtle shadow for depth */
            margin-bottom: 1rem;
            /* Space below image */
        }

        .modal-details h3 {
            font-size: clamp(1.5rem, 5vw, 2.5rem);
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .modal-details p {
            margin: 0;
            opacity: 0.9;
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1.5rem;
            font-size: 2.5rem;
            color: var(--text-color);
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            line-height: 1;
            transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
        }

        .modal-close:hover {
            color: var(--secondary-color);
            transform: rotate(90deg);
        }

        #bg-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        footer {
            background: var(--card-bg);
            padding: 5rem 5% 2rem;
            color: var(--text-color);
            backdrop-filter: blur(10px);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-col h4 {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .footer-col h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background: var(--primary-color);
        }

        .footer-col p,
        .footer-col a {
            margin-bottom: 0.8rem;
            display: block;
            opacity: 0.8;
            transition: var(--transition);
            text-decoration: none;
            color: var(--text-color);
        }

        .footer-col a:hover {
            opacity: 1;
            color: var(--primary-color);
            transform: translateX(5px);
        }

       

     

        .social-links a:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.7;
        }

        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
            z-index: 999;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
        }



        @media (min-width: 769px) {
            body {
                overflow-y: auto;
                /* Allow vertical scroll for the entire page */
                overflow-x: hidden;
                /* Prevent horizontal body scroll */
            }

            .cursor {
                display: block;
            }

            .scroll-wrapper {
                /* No fixed height here, allow content to dictate height */
                overflow-x: hidden;
                overflow-y: auto;
            }

            .horizontal-scroll-container {
                display: flex;
                width: 200vw;
                /* 100vw for hero + 100vw for about */
                height: 100vh;
                /* Keep these sections at full viewport height */
                position: relative;
                flex-shrink: 0;
                /* Ensures this container doesn't shrink */
                border-bottom: 1px solid var(--border-color);
                /* Add a separator */
                box-sizing: content-box;
                /* To ensure width doesn't include padding/border for scroll calculation */
            }

            .horizontal-scroll-container .section {
                width: 100vw;
                height: 100vh;
                border-right: 1px solid var(--border-color);
                flex-shrink: 0;
                /* Important for horizontal layout */
                padding: 4rem;
            }

            .horizontal-scroll-container .section:last-child {
                border-right: none;
            }

            /* Styles for sections outside the horizontal-scroll-container (now vertical) */
            .section:not(.hero-section):not(.about-section) {
                width: 100%;
                /* Take full width */
                height: auto;
                /* Height based on content */
                padding: 6rem 2rem;
                /* Vertical padding */
                border-right: none;
                /* No vertical border */
                display: flex;
                /* Keep flex for centering content */
                flex-direction: column;
                /* Stack content vertically */
                align-items: center;
                /* Center horizontally */
                justify-content: center;
                /* Center vertically if content allows */
            }

            .about-grid {
                grid-template-columns: 1fr 1fr;
                text-align: left;
            }

            .services-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .portfolio-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .process-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            /* .clients-grid { grid-template-columns: 1fr 2fr; } Removed as sections are separated */
            .client-categories {
                align-items: center;
            }

            .client-category {
                text-align: center;
            }

            .team-grid {
                flex-direction: row;
                justify-content: space-around;
                gap: 150px;
                /* Increased gap for desktop team members */
            }

            .modal-content {
                flex-direction: column;
                /* On desktop, stack image and details vertically */
                align-items: center;
                /* Center content */
                text-align: center;
                /* Center text details as well */
                max-height: 95vh;
                /* Allow more height for full site images */
                overflow-y: auto;
                /* Enable scrolling for long images */
            }

            .modal-image {
                max-width: 80%;
                /* Limit width on desktop for full site images */
                aspect-ratio: auto;
                /* Remove fixed aspect ratio for full site images */
            }

            .modal-details {
                flex: none;
                /* Remove flex sizing */
                text-align: center;
                /* Center text */
            }

        }

        @media (max-width: 768px) {
            .hero-canvas {
                height: 300px;
                /* Smaller height for mobile */
            }
        }

        /* Hero button styling */
        .hero-button {
            padding: 0.75rem 2rem;
            border-radius: 9999px;
            font-weight: 600;
            transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        }

        .hero-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(159, 85, 255, 0.4), 0 5px 10px rgba(255, 59, 129, 0.4);
        }

        /* Custom gradient for buttons and highlights */
        .gradient-bg {
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        }
        .text-white {
            color: rgb(255 255 255 );
            text-decoration: none;
        }