: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; }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--text);
            background: var(--bg);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        /* 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;
        }

        /* Hero */
        .hero {
            padding: 140px 24px 80px;
            text-align: center;
            position: relative;
            overflow: hidden;
            background: var(--bg);
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -120px;
            right: -120px;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -80px;
            left: -80px;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(6,182,212,0.05) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-inner {
            position: relative;
            z-index: 1;
            max-width: 1000px;
            margin: 0 auto;
        }

        .hero-logo {
            height: 160px;              /* Same fixed height everywhere */
            max-height: 160px;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-logo img {
            max-height: 100%;
            max-width: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
        }

        .hero h1 {
            font-size: clamp(2.2rem, 5vw, 3.2rem);
            font-weight: 800;
            color: var(--primary-dark);
            line-height: 1.1;
            margin-bottom: 24px;
            letter-spacing: -0.03em;
        }

        .hero h1 .gradient-text {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            font-size: 1rem;
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto 40px;
            line-height: 1.7;
        }

        /* Sections */
        section {
            padding: 80px 24px;
        }

        .section-inner {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-header {
            margin-bottom: 18px;
        }

        .section-header h2 {
            font-size: clamp(1.8rem, 3vw, 2.4rem);
            font-weight: 700;
            color: var(--primary-dark);
            letter-spacing: -0.02em;
            margin-bottom: 24px;
        }

        /* EU Funding Badge */
        .funding-badge {
            background: var(--bg-alt);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 32px;
            margin-bottom: 48px;
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .funding-badge img {
            height: 60px;
            width: auto;
            object-fit: contain;
        }

        .funding-info {
            flex: 1;
            text-align: left;
        }

        .funding-info p {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 12px;
        }

        .funding-info a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }

        .funding-info a:hover { text-decoration: underline; }

        /* Services Section */

        #services {
            padding-top: 20px; /* overrides the global section padding-top */
        }

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

        .service-card {
            background: var(--bg-subtle);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            transition: transform 0.25s, box-shadow 0.25s;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .service-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .service-image {
            width: 100%;
            height: 220px;
            background: var(--bg);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 16px;
        }

        .service-content {
            padding: 28px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .service-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary-dark);
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .service-description {
            font-size: 0.95rem;
            color: var(--text-light);
            line-height: 1.6;
            margin-bottom: 20px;
            flex: 1;
        }

        .service-links {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .service-link {
            display: inline-block;
            padding: 6px 14px;
            background: var(--bg);
            color: var(--primary-dark);
            text-decoration: none;
            border-radius: var(--radius-sm);
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.2s;
        }

        .service-link:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .deprecated-badge {
            display: inline-block;
            padding: 4px 10px;
            background: #fef2f2;
            color: #dc2626;
            border: 1px solid #fecaca;
            border-radius: var(--radius-sm);
            font-size: 0.78rem;
            font-weight: 600;
            margin-bottom: 8px;
        }

        

        /* Footer */
        footer {
            background: var(--dark);
            border-top: 1px solid rgba(255,255,255,0.06);
            padding: 24px;
        }

        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
        }

        .footer-inner span {
            font-size: 0.82rem;
            color: rgba(255,255,255,0.4);
        }

        .footer-inner a {
            color: rgba(255,255,255,0.5);
            text-decoration: none;
            font-size: 0.82rem;
        }

        .footer-inner a:hover { color: rgba(255,255,255,0.8); }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .funding-badge { flex-direction: column; text-align: center; }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .nav-links.open {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 64px;
                left: 0;
                right: 0;
                background: rgba(255,255,255,0.98);
                backdrop-filter: blur(20px);
                padding: 20px 24px;
                gap: 16px;
                border-bottom: 1px solid var(--border);
            }
            .mobile-toggle { display: block; }
            .services-grid { grid-template-columns: 1fr; }
            .hero { padding: 120px 24px 30px; } /* was 140px 24px 80px */
            section { padding: 60px 24px; }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 1.8rem; }
            .hero-logo { height: 60px; }
        }

        /* Project Sidebar */
        .sidebar-toggle {
            position: fixed;
            top: 80px;
            left: 16px;
            z-index: 999;
            background: rgba(255,255,255,0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 8px 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            font-family: 'Inter', sans-serif;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--primary);
            transition: all 0.25s;
            box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        }

        .sidebar-toggle:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(37,99,235,0.18);
        }

        .sidebar-toggle svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }

        .project-sidebar {
            position: fixed;
            top: 0;
            left: -300px;
            width: 280px;
            height: 100vh;
            background: rgba(255,255,255,0.97);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-right: 1px solid var(--border);
            z-index: 1001;
            transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            box-shadow: 4px 0 24px rgba(0,0,0,0);
        }

        .project-sidebar.open {
            left: 0;
            box-shadow: 4px 0 24px rgba(0,0,0,0.08);
        }

        .sidebar-header {
            padding: 14px 16px 10px;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-shrink: 0;
        }

        .sidebar-header h3 {
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--primary-dark);
            letter-spacing: -0.01em;
            text-transform: uppercase;
        }

        .sidebar-close {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-light);
            padding: 4px;
            border-radius: 6px;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sidebar-close:hover {
            background: var(--bg-alt);
            color: var(--primary-dark);
        }

        .sidebar-close svg { width: 18px; height: 18px; }

        .sidebar-list {
            flex: 1;
            overflow-y: auto;
            padding: 6px 8px;
            scrollbar-width: thin;
            scrollbar-color: var(--border) transparent;
        }

        .sidebar-list::-webkit-scrollbar { width: 4px; }
        .sidebar-list::-webkit-scrollbar-track { background: transparent; }
        .sidebar-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

        .sidebar-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 6px 10px;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.2s;
            margin-bottom: 1px;
        }

        .sidebar-item:hover {
            background: var(--bg-alt);
        }

        .sidebar-item.active {
            background: rgba(37,99,235,0.06);
            border: 1px solid rgba(37,99,235,0.12);
        }

        .sidebar-item-logo {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            background: var(--bg-alt);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex-shrink: 0;
        }

        .sidebar-item-logo img {
            width: 22px;
            height: 22px;
            object-fit: contain;
        }

        .sidebar-item-name {
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--text);
            line-height: 1.2;
        }

        .sidebar-item.active .sidebar-item-name {
            color: var(--primary);
            font-weight: 600;
        }

        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(15,23,42,0.2);
            z-index: 1000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s;
        }

        .sidebar-overlay.visible {
            opacity: 1;
            pointer-events: all;

        }