        /* Twemoji Country Flags — only loads for flag emoji codepoints (Windows fix) */
        @font-face {
            font-family: "Twemoji Country Flags";
            unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067,
                U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
            src: url('https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2') format('woff2');
            font-display: swap;
        }

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

        :root {
            --primary-color: #1e3a8a;
            --secondary-color: #3b82f6;
            --accent-color: #f59e0b;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
            --dark-bg: #0f172a;
            --darker-bg: #020617;
            --light-bg: #f8fafc;
            --white: #ffffff;
            --text-dark: #1e293b;
            --text-light: #64748b;
            --border-color: #e2e8f0;

            --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
            --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);

            --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body {
            font-family: "Twemoji Country Flags", 'Roboto', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* Enhanced Animated Lines Background - Only in Hero Section */
        .lines {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 100%;
            margin: auto;
            width: 100%;
            z-index: 1;
            pointer-events: none;
        }

        .line {
            position: absolute;
            width: 3px;
            height: 100%;
            top: 0;
            background: transparent;
            /* Sabit çizgi yok, sadece akan ışık */
            overflow: hidden;
        }

        .line::after {
            content: '';
            display: block;
            position: absolute;
            height: 25vh;
            width: 100%;
            top: -50%;
            left: 0;
            background: linear-gradient(to bottom, rgba(59, 130, 246, 0) 0%, rgba(59, 130, 246, 0.6) 50%, rgba(59, 130, 246, 0.9) 100%);
            animation: drop 5s 0s infinite;
            animation-fill-mode: forwards;
            animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
        }

        .line:nth-child(1) {
            left: 10%;
        }

        .line:nth-child(1)::after {
            animation-delay: 0s;
        }

        .line:nth-child(2) {
            left: 25%;
        }

        .line:nth-child(2)::after {
            animation-delay: 1.5s;
        }

        .line:nth-child(3) {
            left: 40%;
        }

        .line:nth-child(3)::after {
            animation-delay: 3s;
        }

        .line:nth-child(4) {
            left: 55%;
        }

        .line:nth-child(4)::after {
            animation-delay: 0.5s;
        }

        .line:nth-child(5) {
            left: 70%;
        }

        .line:nth-child(5)::after {
            animation-delay: 2s;
        }

        .line:nth-child(6) {
            left: 85%;
        }

        .line:nth-child(6)::after {
            animation-delay: 2.5s;
        }

        @keyframes drop {
            0% {
                top: -50%;
            }

            100% {
                top: 110%;
            }
        }

        /* Header */
        header {
            background: var(--white);
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: var(--transition);
        }

        .header-container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: center;
            gap: 24px;
            height: 80px;
        }

        .logo {
            display: flex;
            align-items: center;
            flex-shrink: 0;
            margin-right: auto;
        }

        .logo a {
            display: block;
            line-height: 0;
        }

        .logo img {
            height: 52px;
            width: auto;
            display: block;
        }

        /* Co-funded by EU logo overlaid on dark hero sections */
        .hero-eu-logo {
            position: absolute;
            top: 24px;
            right: max(20px, calc((100vw - 1280px) / 2));
            z-index: 5;
            display: flex;
            align-items: center;
            padding: 10px 14px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 10px;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            transition: all 0.2s ease;
        }

        .hero-eu-logo:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        .hero-eu-logo img {
            height: 44px;
            width: auto;
            display: block;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 35px;
        }

        nav a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            font-size: 15px;
            position: relative;
            transition: var(--transition);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary-color);
            transition: var(--transition);
        }

        nav a:hover::after,
        nav a.active::after {
            width: 100%;
        }

        nav a:hover,
        nav a.active {
            color: var(--secondary-color);
        }

        /* Hero Section */
        .hero-section {
            background:
                radial-gradient(ellipse at 15% 10%, rgba(99, 102, 241, 0.25) 0%, transparent 45%),
                radial-gradient(ellipse at 85% 85%, rgba(59, 130, 246, 0.22) 0%, transparent 50%),
                linear-gradient(135deg, #0a0f1f 0%, #131a2e 50%, #0a0f1f 100%);
            position: relative;
            padding: 140px 0 100px;
            overflow: hidden;
            isolation: isolate;
        }

        /* Layer 1: drifting tech grid (vertical scroll) */
        .hero-section .hero-grid {
            position: absolute;
            inset: -2px;
            background-image:
                linear-gradient(rgba(99, 102, 241, 0.10) 1px, transparent 1px),
                linear-gradient(90deg, rgba(99, 102, 241, 0.10) 1px, transparent 1px);
            background-size: 60px 60px;
            -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
                    mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
            animation: gridDrift 40s linear infinite;
            pointer-events: none;
            z-index: 1;
        }
        @keyframes gridDrift {
            from { background-position: 0 0, 0 0; }
            to   { background-position: 0 60px, 60px 0; }
        }

        /* Layer 2: pulsing data points at grid intersections */
        .hero-section .hero-dots {
            position: absolute;
            inset: 0;
            background-image: radial-gradient(circle, rgba(96, 165, 250, 0.55) 1.2px, transparent 1.8px);
            background-size: 60px 60px;
            -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
                    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
            animation: dotsPulse 4s ease-in-out infinite;
            pointer-events: none;
            z-index: 1;
        }
        @keyframes dotsPulse {
            0%, 100% { opacity: 0.35; }
            50%      { opacity: 0.85; }
        }

        /* Layer 3: slow horizontal scan beam (single sweep, top → bottom) */
        .hero-section .hero-scan {
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            height: 240px;
            background: linear-gradient(
                180deg,
                transparent 0%,
                rgba(96, 165, 250, 0.05) 30%,
                rgba(99, 102, 241, 0.18) 50%,
                rgba(96, 165, 250, 0.05) 70%,
                transparent 100%
            );
            animation: scanSweep 12s ease-in-out infinite;
            pointer-events: none;
            mix-blend-mode: screen;
            z-index: 2;
        }
        @keyframes scanSweep {
            0%, 100% { transform: translateY(-100%); opacity: 0; }
            10%      { opacity: 1; }
            50%      { transform: translateY(450%); opacity: 0.9; }
            55%      { opacity: 0; }
        }

        /* Layer 4: top + bottom edge glow accents (corner data terminals feel) */
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.7), transparent);
            z-index: 3;
        }
        .hero-section::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
            z-index: 3;
        }

        .hero-container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 10;
        }

        .hero-badge {
            display: inline-block;
            background: rgba(59, 130, 246, 0.2);
            color: var(--secondary-color);
            padding: 8px 25px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 25px;
            border: 1px solid rgba(59, 130, 246, 0.3);
        }

        .hero-title {
            font-family: 'Poppins', sans-serif;
            font-size: 58px;
            font-weight: 800;
            color: var(--white);
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .hero-title span {
            background: var(--gradient-accent);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 20px;
            color: rgba(255, 255, 255, 0.8);
            max-width: 700px;
            margin-bottom: 40px;
            line-height: 1.7;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            margin-bottom: 60px;
        }

        .btn {
            padding: 16px 40px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition);
            cursor: pointer;
            border: 2px solid transparent;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: var(--white);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
        }

        .btn-outline {
            background: transparent;
            border-color: rgba(255, 255, 255, 0.3);
            color: var(--white);
        }

        .btn-outline:hover {
            background: var(--white);
            color: var(--primary-color);
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-top: 60px;
        }

        .stat-item {
            text-align: center;
            padding: 30px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
        }

        .stat-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-5px);
        }

        .stat-number {
            font-family: 'Poppins', sans-serif;
            font-size: 42px;
            font-weight: 800;
            color: var(--white);
            margin-bottom: 10px;
        }

        .stat-label {
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
            font-weight: 500;
        }

        /* Container */
        .container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-badge {
            display: inline-block;
            color: var(--secondary-color);
            font-weight: 600;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 15px;
        }

        .section-title {
            font-family: 'Poppins', sans-serif;
            font-size: 42px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 15px;
        }

        .section-title span {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-divider {
            width: 80px;
            height: 4px;
            background: var(--gradient-primary);
            margin: 20px auto;
            border-radius: 2px;
        }

        /* Dashboard Section */
        .dashboard-section {
            padding: 80px 0;
            background: var(--light-bg);
        }

        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 40px;
        }

        .info-card {
            background: var(--white);
            padding: 35px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: var(--transition);
        }

        .info-card:hover::before {
            transform: scaleX(1);
        }

        .info-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .info-label {
            font-size: 13px;
            color: var(--text-light);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
        }

        .info-value {
            font-size: 18px;
            color: var(--text-dark);
            font-weight: 600;
        }

        .alert-box {
            background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
            color: var(--white);
            padding: 35px;
            border-radius: 15px;
            margin-top: 30px;
        }

        .alert-title {
            font-family: 'Poppins', sans-serif;
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .alert-text {
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.7;
        }

        /* Partners Section */
        .partners-section {
            padding: 100px 0;
            background: var(--white);
        }

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

        .partner-card {
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
        }

        .partner-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
        }

        .partner-header {
            background: var(--gradient-primary);
            padding: 50px 30px;
            text-align: center;
            position: relative;
        }

        .partner-flag {
            font-size: 60px;
            margin-bottom: 20px;
        }

        .partner-logo {
            display: block;
            max-width: 160px;
            max-height: 90px;
            margin: 0 auto 20px;
            object-fit: contain;
            background: transparent;
            padding: 0;
        }

        .partner-name {
            font-family: 'Poppins', sans-serif;
            font-size: 24px;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 10px;
        }

        .partner-location {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 15px;
        }

        .partner-role {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            color: var(--white);
            padding: 6px 20px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
        }

        .partner-body {
            padding: 35px;
        }

        .partner-description {
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 25px;
            font-size: 15px;
        }

        .partner-highlights {
            margin-bottom: 25px;
        }

        .highlight-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 0;
            color: var(--text-dark);
            font-size: 14px;
            border-bottom: 1px solid var(--border-color);
        }

        .highlight-item:last-child {
            border-bottom: none;
        }

        .highlight-item i {
            width: 32px;
            height: 32px;
            background: var(--light-bg);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary-color);
            font-size: 14px;
            flex-shrink: 0;
        }

        .partner-social {
            margin-top: 22px;
            padding-top: 22px;
            border-top: 2px solid var(--border-color);
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .partner-social + .partner-contact {
            margin-top: 16px;
            padding-top: 0;
            border-top: none;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            font-size: 16px;
            transition: all 0.25s ease;
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        }
        .social-icon:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 6px 14px rgba(0,0,0,0.18);
        }
        .social-icon.fb { background: #1877f2; }
        .social-icon.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
        .social-icon.li { background: #0a66c2; }
        .social-icon.tw, .social-icon.x { background: #000000; }
        .social-icon.yt { background: #ff0000; }

        .partner-contact {
            margin-top: 25px;
            padding-top: 25px;
            border-top: 2px solid var(--border-color);
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .contact-link {
            color: var(--text-light);
            text-decoration: none;
            font-size: 14px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .contact-link:hover {
            color: var(--secondary-color);
        }

        .contact-link i {
            color: var(--secondary-color);
        }

        .contact-btn {
            display: inline-block;
            margin-top: 20px;
            padding: 12px 30px;
            background: var(--gradient-primary);
            color: var(--white);
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
        }

        .contact-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
        }

        /* Timeline Section */
        .timeline-section {
            padding: 100px 0;
            background: var(--light-bg);
        }

        .timeline {
            position: relative;
            padding: 50px 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 3px;
            background: var(--gradient-primary);
            transform: translateX(-50%);
            z-index: 0;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 30px;
        }

        /* Staircase effect: each subsequent item starts before the previous ends */
        .timeline-item + .timeline-item {
            margin-top: -180px;
        }

        .timeline-item:nth-child(odd) .timeline-content {
            margin-right: 52%;
            text-align: right;
        }

        .timeline-item:nth-child(even) .timeline-content {
            margin-left: 52%;
            text-align: left;
        }

        .timeline-marker {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 30px;
            width: 50px;
            height: 50px;
            background: var(--gradient-primary);
            border-radius: 50%;
            border: 5px solid var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: 700;
            font-size: 18px;
            z-index: 10;
            box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
        }

        .timeline-content {
            background: var(--white);
            padding: 35px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
        }

        .timeline-content:hover {
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
            transform: scale(1.02);
        }

        .timeline-date {
            display: inline-block;
            background: var(--gradient-primary);
            color: var(--white);
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .timeline-title {
            font-family: 'Poppins', sans-serif;
            font-size: 22px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 12px;
        }

        .timeline-location {
            font-size: 14px;
            color: var(--text-light);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .timeline-description {
            color: var(--text-light);
            line-height: 1.7;
            margin-bottom: 15px;
        }

        .timeline-details {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-top: 20px;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
        }

        .detail-icon {
            width: 35px;
            height: 35px;
            background: var(--light-bg);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary-color);
        }

        .timeline-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;
        }

        .tag {
            background: var(--light-bg);
            color: var(--secondary-color);
            padding: 5px 15px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 500;
        }

        /* Activities Table Section */
        .activities-section {
            padding: 100px 0;
            background: var(--white);
        }

        /* ─── Activities Cards Grid ─── */
        .activities-grid-public {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 26px;
            margin-top: 40px;
        }

        .activity-card-public {
            background: var(--white);
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }

        .activity-card-public:hover {
            transform: translateY(-6px);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
        }

        /* Cover with 4:5 aspect ratio */
        .activity-card-cover {
            aspect-ratio: 4 / 5;
            position: relative;
            padding: 22px 22px 24px;
            color: var(--white);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow: hidden;
        }

        .activity-card-cover::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 75% 20%, rgba(255,255,255,0.15) 0%, transparent 60%);
            pointer-events: none;
        }

        .cover-badge {
            display: inline-block;
            padding: 6px 14px;
            background: rgba(255, 255, 255, 0.18);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 30px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.6px;
            text-transform: uppercase;
            align-self: flex-start;
            position: relative;
            z-index: 2;
        }

        .cover-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 88px;
            opacity: 0.18;
            z-index: 1;
        }

        .cover-bottom {
            position: relative;
            z-index: 2;
        }

        .cover-title {
            font-family: 'Poppins', sans-serif;
            font-size: 22px;
            font-weight: 800;
            line-height: 1.2;
            margin: 0 0 12px;
            color: var(--white);
            text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
        }

        .cover-meta {
            display: flex;
            flex-direction: column;
            gap: 5px;
            font-size: 12px;
            opacity: 0.92;
        }

        .cover-meta span {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .cover-meta i {
            width: 14px;
            opacity: 0.85;
        }

        /* Per-activity gradients — unified purple/violet/fuchsia/indigo palette */
        .activity-card-public[data-color="blue"]   .activity-card-cover { background: linear-gradient(135deg, #a78bfa 0%, #6d28d9 100%); }
        .activity-card-public[data-color="green"]  .activity-card-cover { background: linear-gradient(135deg, #c084fc 0%, #7e22ce 100%); }
        .activity-card-public[data-color="orange"] .activity-card-cover { background: linear-gradient(135deg, #e879f9 0%, #a21caf 100%); }
        .activity-card-public[data-color="teal"]   .activity-card-cover { background: linear-gradient(135deg, #818cf8 0%, #4338ca 100%); }
        .activity-card-public[data-color="red"]    .activity-card-cover { background: linear-gradient(135deg, #d946ef 0%, #701a75 100%); }
        .activity-card-public[data-color="purple"] .activity-card-cover { background: linear-gradient(135deg, #a855f7 0%, #5b21b6 100%); }
        .activity-card-public[data-color="indigo"] .activity-card-cover { background: linear-gradient(135deg, #6366f1 0%, #312e81 100%); }
        .activity-card-public[data-color="navy"]   .activity-card-cover { background: linear-gradient(135deg, #4c1d95 0%, #1e1b4b 100%); }

        /* Card body */
        .activity-card-body {
            padding: 18px 22px 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .activity-card-title {
            font-family: 'Poppins', sans-serif;
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0 0 8px;
            line-height: 1.35;
        }

        .activity-card-subtitle {
            font-size: 13px;
            color: var(--text-light);
            line-height: 1.55;
            margin: 0 0 16px;
            flex: 1;
        }

        .activity-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 14px;
            border-top: 1px solid var(--border-color);
        }

        .activity-card-meta-text {
            font-size: 12px;
            color: var(--text-light);
            font-weight: 500;
        }

        .activity-card-meta-text i {
            margin-right: 4px;
            color: var(--secondary-color);
        }

        .activity-card-link {
            color: var(--secondary-color);
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: var(--transition);
        }

        .activity-card-link:hover {
            color: var(--primary-color);
            transform: translateX(2px);
        }

        .activity-card-link i {
            font-size: 11px;
        }

        .table-container {
            background: var(--white);
            border-radius: 15px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        thead {
            background: var(--gradient-primary);
            color: var(--white);
        }

        th {
            padding: 20px;
            text-align: left;
            font-weight: 600;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        td {
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
        }

        tbody tr {
            transition: var(--transition);
        }

        tbody tr:hover {
            background: var(--light-bg);
        }

        .activity-name {
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 5px;
        }

        .activity-type {
            font-size: 13px;
            color: var(--text-light);
        }

        .badge {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
        }

        .badge-success {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success-color);
        }

        .badge-primary {
            background: rgba(59, 130, 246, 0.1);
            color: var(--secondary-color);
        }

        .badge-warning {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning-color);
        }

        /* Outputs Section */
        .outputs-section {
            padding: 100px 0;
            background: var(--light-bg);
        }

        .outputs-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
        }

        .output-card {
            background: var(--white);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .output-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--gradient-primary);
        }

        .output-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
        }

        .output-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
        }

        .output-icon {
            width: 70px;
            height: 70px;
            background: var(--gradient-primary);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            color: var(--white);
        }

        .output-title {
            font-family: 'Poppins', sans-serif;
            font-size: 24px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .output-code {
            font-size: 14px;
            color: var(--text-light);
            font-weight: 600;
        }

        .output-description {
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 25px;
        }

        .output-features {
            list-style: none;
            margin-bottom: 25px;
        }

        .output-features li {
            padding: 10px 0;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .output-features li::before {
            content: '✓';
            display: inline-block;
            width: 24px;
            height: 24px;
            background: var(--gradient-success);
            color: var(--white);
            border-radius: 50%;
            text-align: center;
            line-height: 24px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .output-lead {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .output-lead-label {
            font-size: 13px;
            color: var(--text-light);
            font-weight: 600;
            text-transform: uppercase;
        }

        .output-lead-org {
            font-weight: 600;
            color: var(--secondary-color);
        }

        .output-responsibilities {
            margin-top: 25px;
            padding-top: 25px;
            border-top: 2px solid var(--border-color);
        }

        .resp-title {
            font-family: 'Poppins', sans-serif;
            font-size: 15px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .resp-item {
            padding: 12px 0;
            color: var(--text-dark);
            line-height: 1.7;
            font-size: 14px;
            border-bottom: 1px solid var(--border-color);
        }

        .resp-item:last-child {
            border-bottom: none;
        }

        .resp-item strong {
            color: var(--secondary-color);
            display: block;
            margin-bottom: 5px;
        }

        /* Budget Section */
        .budget-section {
            padding: 100px 0;
            background: var(--white);
        }

        .budget-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-bottom: 50px;
        }

        .budget-card {
            background: var(--white);
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
        }

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

        .budget-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .budget-activity {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 16px;
        }

        .budget-amount {
            font-family: 'Poppins', sans-serif;
            font-size: 24px;
            font-weight: 700;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .budget-bar {
            width: 100%;
            height: 8px;
            background: var(--light-bg);
            border-radius: 10px;
            overflow: hidden;
            margin-top: 15px;
        }

        .budget-fill {
            height: 100%;
            background: var(--gradient-primary);
            border-radius: 10px;
            transition: width 1s ease;
        }

        .budget-percentage {
            font-size: 13px;
            color: var(--text-light);
            margin-top: 8px;
        }

        .total-budget {
            background: var(--dark-bg);
            color: var(--white);
            padding: 50px;
            border-radius: 20px;
            text-align: center;
        }

        .total-label {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 15px;
        }

        .total-amount {
            font-family: 'Poppins', sans-serif;
            font-size: 56px;
            font-weight: 800;
            background: var(--gradient-accent);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Responsibilities Section */
        .responsibilities-section {
            padding: 100px 0;
            background: var(--light-bg);
        }

        .responsibility-matrix {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
        }

        .matrix-header {
            background: var(--gradient-primary);
            color: var(--white);
            padding: 30px;
            text-align: center;
        }

        .matrix-title {
            font-family: 'Poppins', sans-serif;
            font-size: 28px;
            font-weight: 700;
        }

        .matrix-body {
            padding: 40px;
        }

        .matrix-row {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 20px;
            padding: 25px;
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .matrix-row:hover {
            background: var(--light-bg);
        }

        .matrix-row:last-child {
            border-bottom: none;
        }

        .output-name-cell {
            font-weight: 600;
            color: var(--text-dark);
        }

        .role-badge {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            text-align: center;
        }

        .role-lead {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: var(--white);
        }

        .role-support {
            background: rgba(59, 130, 246, 0.1);
            color: var(--secondary-color);
        }

        .role-participant {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning-color);
        }

        /* Progress Section */
        .progress-section {
            padding: 100px 0;
            background: var(--white);
        }

        .progress-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 50px;
        }

        .progress-card {
            background: var(--light-bg);
            padding: 35px;
            border-radius: 15px;
            text-align: center;
            transition: var(--transition);
        }

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

        .progress-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            color: var(--white);
            margin: 0 auto 20px;
        }

        .progress-value {
            font-family: 'Poppins', sans-serif;
            font-size: 48px;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 10px;
        }

        .progress-label {
            color: var(--text-light);
            font-weight: 500;
        }

        /* Footer */
        footer {
            background: var(--darker-bg);
            color: rgba(255, 255, 255, 0.8);
            padding: 60px 0 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-about h3 {
            font-family: 'Poppins', sans-serif;
            color: var(--white);
            font-size: 24px;
            margin-bottom: 20px;
        }

        .footer-about p {
            line-height: 1.7;
            margin-bottom: 15px;
        }

        .footer-links h4 {
            color: var(--white);
            font-size: 18px;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            text-align: center;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero-title {
                font-size: 42px;
            }

            .dashboard-grid,
            .partners-grid,
            .outputs-grid,
            .budget-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .activities-grid-public {
                grid-template-columns: repeat(2, 1fr);
            }

            .timeline::before {
                left: 30px;
                transform: none;
            }

            /* Disable staircase overlap on tablet/mobile — stack normally */
            .timeline-item + .timeline-item {
                margin-top: 0;
            }

            .timeline-item:nth-child(odd) .timeline-content,
            .timeline-item:nth-child(even) .timeline-content {
                margin-left: 80px;
                margin-right: 0;
                text-align: left;
            }

            .timeline-marker {
                left: 30px;
                transform: translateX(-50%);
                top: 30px;
            }

            .matrix-row {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 32px;
            }

            .hero-stats {
                grid-template-columns: repeat(2, 1fr);
            }

            .dashboard-grid,
            .partners-grid,
            .outputs-grid,
            .budget-grid,
            .progress-grid {
                grid-template-columns: 1fr;
            }

            .activities-grid-public {
                grid-template-columns: 1fr;
            }

            nav ul {
                display: none;
            }

            .logo img {
                height: 40px;
            }

            .hero-eu-logo {
                top: 16px;
                right: 16px;
                padding: 8px 10px;
            }

            .hero-eu-logo img {
                height: 32px;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }

            table {
                font-size: 14px;
            }

            th,
            td {
                padding: 12px;
            }
        }

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

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

        /* Registration Section */
        .registration-section {
            padding: 100px 0;
            background: var(--light-bg);
        }

        .registration-form {
            background: var(--white);
            padding: 50px;
            border-radius: 20px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            max-width: 800px;
            margin: 0 auto;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--text-dark);
        }

        .form-control {
            width: 100%;
            padding: 15px;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            font-family: inherit;
            font-size: 15px;
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .btn-submit {
            width: 100%;
            padding: 16px;
            background: var(--gradient-primary);
            color: var(--white);
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
        }

        #formMessage {
            margin-top: 15px;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            font-weight: 600;
            display: none;
        }

        .msg-success {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success-color);
        }

        .msg-error {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger-color);
        }
        /* Login Modal */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .login-modal {
            background: var(--white);
            width: 100%;
            max-width: 450px;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            transform: translateY(-20px);
            transition: var(--transition);
            position: relative;
        }

        .modal-overlay.active .login-modal {
            transform: translateY(0);
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--text-light);
            cursor: pointer;
            transition: var(--transition);
        }

        .close-modal:hover {
            color: var(--danger-color);
        }

        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .login-title {
            font-family: 'Poppins', sans-serif;
            font-size: 28px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .nav-login-btn {
            background: var(--gradient-primary);
            color: var(--white) !important;
            padding: 8px 20px !important;
            border-radius: 50px;
        }

        .nav-login-btn::after {
            display: none !important;
        }

        .nav-login-btn:hover {
            box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
            transform: translateY(-2px);
        }

        .user-info {
            display: none;
            align-items: center;
            gap: 10px;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 14px;
        }
    
