        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --viola: #8B5CF6;
            --viola-scuro: #6D28D9;
            --celeste: #06B6D4;
            --celeste-chiaro: #22D3EE;
            --bg-dark: #0F172A;
            --bg-card: #1E293B;
            --text-primary: #F1F5F9;
            --text-secondary: #94A3B8;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: var(--bg-dark);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Font Tech per titoli */
        h1,
        .section-title,
        .logo {
            font-family: 'Orbitron', sans-serif;
        }

        h2,
        h3 {
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid rgba(139, 92, 246, 0.2);
        }

        nav {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 900;
            letter-spacing: 2px;
            background: linear-gradient(135deg, var(--viola), var(--celeste));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            cursor: pointer;
            transition: all 0.3s;
            z-index: 1001;
            background: url(./logo.png) no-repeat center center;
            background-size: cover;
            min-width: 5rem;
        }

        .logo:hover {
            transform: scale(1.1) rotate(-5deg);
            filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6));
        }

        .nav-center {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-center a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s;
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-center a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--viola), var(--celeste));
            transition: width 0.3s ease;
        }

        .nav-center a:hover {
            color: var(--celeste);
            transform: translateY(-2px);
        }

        .nav-center a:hover::after {
            width: 100%;
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
        }

        .mobile-menu-toggle span {
            display: block;
            width: 25px;
            height: 3px;
            background: var(--celeste);
            margin: 5px 0;
            transition: all 0.3s;
            border-radius: 3px;
        }

        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        /* Language Dropdown */
        .language-switcher {
            position: relative;
            z-index: 1001;
            flex-shrink: 0;
        }

        .lang-current {
            background: rgba(139, 92, 246, 0.1);
            border: 2px solid rgba(139, 92, 246, 0.3);
            padding: 0.5rem 0.8rem;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1.5rem;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            min-width: 50px;
        }

        .lang-current:hover {
            border-color: var(--viola);
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
        }

        .lang-dropdown {
            position: absolute;
            top: calc(100% + 0.5rem);
            right: 0;
            background: var(--bg-card);
            border: 2px solid rgba(139, 92, 246, 0.3);
            border-radius: 10px;
            overflow: hidden;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s;
            min-width: 120px;
        }

        .lang-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .lang-option {
            padding: 0.8rem 1rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.2rem;
        }

        .lang-option:hover {
            background: rgba(139, 92, 246, 0.2);
        }

        .lang-option.active {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.3));
        }

        /* Hero Section */
        .hero {
            display: flex;
            padding: 8rem 2rem 2rem;
            position: relative;
            min-height: 100vh;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent);
            top: -100px;
            right: -100px;
            border-radius: 50%;
            animation: float 8s ease-in-out infinite;
            pointer-events: none;
        }

        .hero::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent);
            bottom: -100px;
            left: -100px;
            border-radius: 50%;
            animation: float 10s ease-in-out infinite reverse;
            pointer-events: none;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-30px);
            }
        }

        .hero-content {
            max-width: 1200px;
            width: 100%;
            display: flex;
            align-items: center;
            gap: 4rem;
            z-index: 1;
            margin: 0 auto;
        }

        .hero-image {
            flex-shrink: 0;
        }

        .profile-image {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid transparent;
            background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                linear-gradient(135deg, var(--viola), var(--celeste)) border-box;
            box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
            animation: slideRight 0.8s ease-out;
        }

        @keyframes slideRight {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .hero-text {
            flex: 1;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            letter-spacing: 1px;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--viola), var(--celeste));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: slideDown 0.8s ease-out;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero h2 {
            font-size: 1.8rem;
            font-weight: 600;
            letter-spacing: 1px;
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        .hero-description {
            color: var(--text-secondary);
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 2.5rem;
        }

        .cta-buttons {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            border: 2px solid transparent;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--viola), var(--celeste));
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
        }

        .btn-secondary {
            color: var(--celeste);
            border-color: var(--celeste);
        }

        .btn-secondary:hover {
            background: var(--celeste);
            color: var(--bg-dark);
        }

        /* Sections */
        section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 6rem 2rem;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            letter-spacing: 2px;
            margin-bottom: 3rem;
            text-align: center;
            position: relative;
            padding-bottom: 1rem;
            text-transform: uppercase;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, var(--viola), var(--celeste));
            border-radius: 2px;
        }

        /* Experience Cards */
        .experience-grid {
            display: grid;
            gap: 2rem;
        }

        .experience-card {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 20px;
            border: 1px solid rgba(139, 92, 246, 0.2);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .experience-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(180deg, var(--viola), var(--celeste));
        }

        .experience-card:hover {
            transform: translateX(10px);
            border-color: var(--celeste);
            box-shadow: 0 10px 40px rgba(6, 182, 212, 0.2);
        }

        .experience-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .experience-title {
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            color: var(--celeste);
        }

        .experience-company {
            color: var(--viola);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .experience-tasks {
            list-style: none;
            margin-top: 1rem;
        }

        .experience-tasks li {
            padding-left: 1.5rem;
            margin-bottom: 0.8rem;
            color: var(--text-secondary);
            position: relative;
        }

        .experience-tasks li::before {
            content: '▹';
            position: absolute;
            left: 0;
            color: var(--celeste);
            font-weight: bold;
        }

        /* Skills Grid */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .skill-category {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 20px;
            border: 1px solid rgba(139, 92, 246, 0.2);
            transition: all 0.3s;
        }

        .skill-category:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
        }

        .skill-category h3 {
            color: var(--viola);
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 2rem;
            font-size: 1.1rem;
        }

        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
        }

        .skill-tag {
            background: rgba(6, 182, 212, 0.1);
            color: var(--celeste);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            border: 1px solid rgba(6, 182, 212, 0.3);
        }

        /* Education */
        .education-card {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 20px;
            border: 1px solid rgba(139, 92, 246, 0.2);
            margin-bottom: 1.5rem;
            transition: all 0.3s;
        }

        .education-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
        }

        .education-degree {
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            color: var(--celeste);
            margin-bottom: 0.5rem;
        }

        .education-school {
            color: var(--viola);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .education-info {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* Contact Section */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .contact-item {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            border: 1px solid rgba(139, 92, 246, 0.2);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
        }

        .contact-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
            opacity: 0;
            transition: opacity 0.4s;
            z-index: 0;
        }

        .contact-item:hover {
            transform: translateY(-15px) rotateX(5deg);
            border-color: var(--celeste);
            box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
        }

        .contact-item:hover::before {
            opacity: 1;
        }

        .contact-icon {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--viola);
            transition: all 0.4s;
            display: inline-block;
            position: relative;
            z-index: 1;
        }

        .contact-item:hover .contact-icon {
            transform: scale(1.3) rotateY(360deg);
            color: var(--celeste);
            filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.8));
        }

        .contact-item h3,
        .contact-item a,
        .contact-item p {
            position: relative;
            z-index: 1;
        }

        .contact-item a {
            color: var(--celeste);
            text-decoration: none;
            word-break: break-all;
        }

        .contact-item a:hover {
            color: var(--celeste-chiaro);
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 3rem 2rem;
            border-top: 1px solid rgba(139, 92, 246, 0.2);
            color: var(--text-secondary);
        }

        /* Responsive */
        @media (max-width: 968px) {
            .hero-content {
                flex-direction: column;
                text-align: center;
            }

            .profile-image {
                width: 250px;
                height: 250px;
            }

            .cta-buttons {
                justify-content: center;
            }

            .nav-center {
                display: none;
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                background: rgba(15, 23, 42, 0.98);
                flex-direction: column;
                padding: 2rem;
                gap: 1rem;
                border-bottom: 1px solid rgba(139, 92, 246, 0.2);
            }

            .nav-center.active {
                display: flex;
            }

            .nav-center li {
                width: 100%;
                text-align: center;
            }

            .nav-center a {
                display: block;
                padding: 1rem;
                font-size: 1.2rem;
            }

            .mobile-menu-toggle {
                display: block;
                order: 2;
            }

            .language-switcher {
                order: 3;
            }

            nav {
                gap: 0.5rem;
            }

            .logo {
                order: 1;
                font-size: 1.3rem;
            }

            .lang-current {
                padding: 0.4rem 0.6rem;
                font-size: 1.3rem;
            }

            .lang-dropdown {
                right: 0;
            }
        }

        @media (max-width: 768px) {

            .experience-header {
                flex-direction: column;
                /* Stacks elements on smaller screens */
                align-items: flex-start;
                /* Aligns items to the start */
            }

            .experience-image {
                margin-top: 10px;
                /* Adds space between text and image */
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero h2 {
                font-size: 1.5rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .profile-image {
                width: 200px;
                height: 200px;
            }

            .contact-grid {
                grid-template-columns: 1fr;
            }

            .skills-grid {
                grid-template-columns: 1fr;
            }


            .logo {
                font-size: 1.2rem;
                letter-spacing: 1px;
                display: none;
            }

            .mobile-menu-toggle span {
                width: 22px;
            }

            .lang-current {
                padding: 0.3rem 0.5rem;
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            nav {
                max-width: 1200px;
                margin: 0 auto;
                margin-right: auto;
                margin-right: 120px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 1rem;
                padding: 10px;
            }

            .logo {
                font-size: 1.1rem;
                min-width: auto;
            }

            .mobile-menu-toggle {
                padding: 0.3rem;
            }

            .mobile-menu-toggle span {
                width: 20px;
                height: 2.5px;
                margin: 4px 0;
            }

            .lang-current {
                padding: 0.3rem 0.4rem;
                font-size: 1.1rem;
                min-width: 40px;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero h2 {
                font-size: 1.3rem;
            }
        }




        .experience-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .experience-info {
            flex: 1;
            /* Allows the text to take available space */
        }

        .experience-image img {
            max-width: 300px;
            /* Ensures the image is responsive */
            height: auto;
            /* Maintains aspect ratio */
        }