:root {
            --primary: #003f66;
            --primary-dark: #012e44;
            --accent: #00aadb;
            --dark: #011b28;
            --text: #334155;
            --text-light: #64748b;
            --bg: #ffffff;
            --bg-alt: #f8fafc;
            --bg-subtle: #f1f5f9;
            --orange-subtle: #ffead4;
            --border: #e2e8f0;
            --orange: #fe8a00;
            --radius: 16px;
            --radius-sm: 8px;
            --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
            --shadow-lg: 0 8px 30px rgba(0,0,0,0.06);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-alt);
            color: var(--text);
            line-height: 1.6;
        }

        /* Navigation */
        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255,255,255,0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            transition: box-shadow 0.3s;
        }

        nav.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.06); }

        .nav-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--dark);
        }

        .nav-logo img { height: 32px; }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 32px;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-light);
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.2s;
        }

        .nav-links a:hover { color: var(--primary); }

        .nav-cta {
            background: var(--primary);
            color: #fff !important;
            padding: 8px 20px;
            border-radius: var(--radius-sm);
            transition: background 0.2s, transform 0.2s !important;
        }

        .nav-cta:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

        .mobile-toggle span {
            display: block;
            width: 22px;
            height: 2px;
            background: var(--dark);
            margin: 5px 0;
            border-radius: 2px;
            transition: 0.3s;
        }

        /* Main Content */
        .main {
            max-width: 1400px;
            margin: 0 auto;
            padding: 120px 2rem 4rem;
        }

        .header {
            margin-bottom: 3rem;
        }

        .header h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
        }

        .search-container {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .search-input {
            flex: 1;
            padding: 0.875rem 1.25rem;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            background-color: var(--bg);
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        /* Project tiles (same as index) */
        .projects { background: var(--bg-alt); 
        padding-bottom: 16px;}

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 16px;
        }

        .project-item {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 20px 16px;
            text-align: center;
            text-decoration: none;
            transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .project-item:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(37,99,235,0.15);
        }

        .project-item img {
            height: 36px;
            width: auto;
            object-fit: contain;
        }

        .project-item span {
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--text);
        }

        /* Filters */
        .filters-container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 2rem;
        }

        .filter-pill {
            padding: 0.625rem 1.25rem;
            border: 1px solid var(--border);
            border-radius: 8px;
            background-color: var(--bg);
            color: var(--text);
            cursor: pointer;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            font-family: 'Inter', sans-serif;
        }

        .filter-pill:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .filter-pill.active {
            background-color: var(--primary);
            color: var(--bg);
            border-color: var(--primary);
        }

        /* Count Badge */
        .services-count {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 1.5rem;
        }

        /* Grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        @media (min-width: 768px) {
            .projects-grid { grid-template-columns: repeat(5, 1fr); }
            .services-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 1024px) {
            .projects-grid { grid-template-columns: repeat(5, 1fr); }
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .projects-grid { grid-template-columns: repeat(5, 1fr); }
            .services-grid {
                grid-template-columns: 1fr;
            }

            .header h1 {
                font-size: 1.875rem;
            }
        }

        /* Service Card */
        .service-card {
            background-color: var(--bg-subtle);
            border: 1px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            animation: fadeIn 0.5s ease-out forwards;
            opacity: 0;
        }

        .service-card.hidden {
            display: none;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .service-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
        }

        .service-card-image {
            width: 100%;
            height: 200px;
            background-color: var(--bg);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
        }

        .service-card-image img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
        }

        .service-card-content {
            padding: 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .service-card-title {
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--primary-dark);
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }

        .service-card-description {
            font-size: 0.88rem;
            color: var(--text-light);
            margin-bottom: 1.25rem;
            flex: 1;
            line-height: 1.5;
        }

        .service-card-links {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: auto;
        }

        .service-link {
            display: inline-block;
            padding: 0.4rem 0.85rem;
            background-color: var(--bg);
            color: var(--text);
            text-decoration: none;
            border-radius: 8px;
            font-size: 0.8rem;
            font-weight: 500;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .service-link:hover {
            background-color: var(--primary);
            color: var(--bg);
            text-decoration: none;
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 4rem 2rem;
            color: var(--text-light);
        }

        .empty-state h2 {
            font-size: 1.5rem;
            color: var(--text);
            margin-bottom: 0.5rem;
        }

        /* Footer */
        .footer {
            background-color: var(--bg);
            border-top: 1px solid var(--border);
            padding: 2rem;
            margin-top: 4rem;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 2rem;
        }

        .footer-copyright {
            font-size: 0.9rem;
            color: var(--text-light);
        }

        .footer-links a {
            color: var(--primary);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
            margin-left: 1.5rem;
        }

        .footer-links a:hover {
            color: var(--primary-dark);
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 48px;
            height: 48px;
            background-color: var(--primary);
            color: var(--bg);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            z-index: 999;
        }

        .back-to-top:hover {
            background-color: var(--primary-dark);
            transform: translateY(-4px);
        }

        .back-to-top.show {
            display: flex;
        }