        /* Reset e base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #FFF8E7;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            background-color: rgba(255, 255, 255, 0.95);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
        }

        header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
        }

        /* Navbar structure */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        /* Logo container (sempre visibile sotto i 500px) */
        .logo-container {
            display: none;
            align-items: center;
        }

        .logo-container .logo {
            height: auto;
            max-height: 40px;
            max-width: 200px;
            width: auto;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        /* Desktop menu styling */
        .desktop-menu {
            display: flex;
            list-style: none;
            gap: 30px;
            align-items: center;
            justify-content: center;
        }

        .logo-section .logo {
            height: 60px;
            width: auto;
            border-radius: 8px;
        }

        nav .nav-link {
            text-decoration: none;
            color: #1e40af;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
            font-size: 1rem;
        }

        nav .nav-link:hover {
            color: #3b82f6;
        }

        nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #3b82f6;
            transition: width 0.3s ease;
        }

        nav .nav-link:hover::after {
            width: 100%;
        }

        /* Mobile Menu Toggle Button (Hamburger) */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 25px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
            transition: all 0.3s ease;
        }

        .mobile-menu-toggle:focus {
            outline: 2px solid #3b82f6;
            outline-offset: 2px;
            border-radius: 4px;
        }

        .hamburger-line {
            width: 100%;
            height: 3px;
            background-color: #1e40af;
            border-radius: 2px;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            transform-origin: center;
        }

        /* Hamburger animation when active */
        .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
            opacity: 0;
            transform: translateX(-20px);
        }

        .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        /* Mobile Menu Dropdown */
        .mobile-menu {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(15px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-radius: 0 0 15px 15px;
            transform: translateY(-100%);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 999;
            display: none;
        }

        .mobile-menu.open {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .mobile-menu-list {
            list-style: none;
            padding: 20px 0;
            margin: 0;
        }

        .mobile-menu-list li {
            margin: 0;
        }

        .mobile-nav-link {
            display: block;
            padding: 15px 30px;
            color: #1e40af;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
            position: relative;
        }

        .mobile-nav-link:hover,
        .mobile-nav-link:focus {
            background-color: rgba(59, 130, 246, 0.1);
            border-left-color: #3b82f6;
            color: #1e40af;
            transform: translateX(5px);
        }

        .mobile-nav-link:focus {
            outline: 2px solid #3b82f6;
            outline-offset: -2px;
        }

        /* Breadcrumb */
        .breadcrumb {
            background-color: #f8f9fa;
            padding: 10px 0;
            margin-top: 80px;
            font-size: 0.9rem;
        }

        .breadcrumb a {
            color: #3b82f6;
            text-decoration: none;
        }

        .breadcrumb span {
            color: #666;
            margin: 0 5px;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            text-align: center;
            padding-top: 80px;
            position: relative;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><path d="M0,400L1200,200L1200,800L0,800Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center center;
            background-size: cover;
        }

        .hero-content {
            margin-top: 4rem;
            backdrop-filter: blur(10px);
            background: rgba(30, 64, 175, 0.9);
            border-radius: 20px;
            padding: 4.5rem;
            position: relative;
            z-index: 2;
        }

        .hero-content h1 {
            font-family: initial;
            font-size: 3rem;
            color: white;
            margin-bottom: 0.5rem;
            font-weight: 300;
            letter-spacing: 2px;
        }

        .hero-content h2 {
            font-family: initial;
            font-size: 1.5rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            font-weight: 300;
            letter-spacing: 1px;
        }

        .location {
            background-color: rgba(255, 255, 255, 0.2);
            display: inline-block;
            padding: 10px 20px;
            border-radius: 25px;
            backdrop-filter: blur(10px);
        }

        .location span {
            color: white;
            font-size: 1.1rem;
        }

        /* About Section */
        .about {
            padding: 80px 0;
            background-color: #FFFAF0;
        }

        .about-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .about-content h2 {
            font-size: 2rem;
            color: #1e40af;
            margin-bottom: 2rem;
            font-weight: 300;
        }

        .about-content h3 {
            font-size: 1.5rem;
            color: #1e40af;
            margin-bottom: 1.5rem;
            margin-top: 2rem;
            font-weight: 400;
        }

        .about-content p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            color: #666;
            line-height: 1.8;
            text-align: left;
        }

        /* Services Section */
        .services {
            padding: 80px 0;
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
        }

        .services h2 {
            text-align: center;
            font-size: 2rem;
            color: white;
            margin-bottom: 3rem;
            font-weight: 300;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .service-card {
            background-color: #FFFAF0;
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(30, 64, 175, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(30, 64, 175, 0.1);
        }

        .service-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow:
                0 20px 40px rgba(30, 64, 175, 0.3),
                0 10px 20px rgba(59, 130, 246, 0.2),
                0 0 30px rgba(59, 130, 246, 0.15);
            border-color: rgba(59, 130, 246, 0.3);
        }

        .service-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: #1e40af;
        }

        .service-card h3 {
            font-size: 1.3rem;
            color: #1e40af;
            margin-bottom: 1rem;
            font-weight: 500;
        }

        .service-card p {
            color: #666;
            line-height: 1.6;
        }

        /* Formazione Section */
        .formazione {
            padding: 80px 0;
            background-color: #FFF8E7;
        }

        .formazione h2 {
            text-align: center;
            font-size: 2rem;
            color: #1e40af;
            margin-bottom: 3rem;
            font-weight: 300;
        }

        .formazione-grid {
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 900px;
            margin: 0 auto;
        }

        .formazione-card {
            background-color: #FFFAF0;
            padding: 2rem 2.5rem;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 25px;
            box-shadow: 0 3px 10px rgba(30, 64, 175, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-left: 4px solid #1e40af;
        }

        .formazione-card:hover {
            transform: translateX(12px) scale(1.01);
            box-shadow:
                -5px 8px 25px rgba(30, 64, 175, 0.25),
                0 5px 15px rgba(59, 130, 246, 0.2),
                0 0 25px rgba(59, 130, 246, 0.1);
            border-left-color: #3b82f6;
            background-color: #FFF;
        }

        .formazione-icon {
            font-size: 2.5rem;
            color: #1e40af;
            min-width: 60px;
            text-align: center;
        }

        .formazione-content {
            flex: 1;
        }

        .formazione-content h3 {
            font-size: 1.2rem;
            color: #1e40af;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .formazione-content p {
            color: #666;
            line-height: 1.6;
            font-size: 0.95rem;
        }

        .formazione-year {
            background: linear-gradient(135deg, #1e40af, #3b82f6);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9rem;
            min-width: 80px;
            text-align: center;
            box-shadow: 0 3px 10px rgba(30, 64, 175, 0.3);
        }

        /* FAQ Section */
        .faq {
            padding: 80px 0;
            background-color: #FFFAF0;
        }

        .faq h2 {
            text-align: center;
            font-size: 2rem;
            color: #1e40af;
            margin-bottom: 3rem;
            font-weight: 300;
        }

        .faq-grid {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background-color: #FFF8E7;
            margin-bottom: 20px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(30, 64, 175, 0.1);
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
            transform: translateY(-2px);
        }

        .faq-question {
            padding: 1.5rem;
            background-color: #FFF;
            cursor: pointer;
            transition: background-color 0.3s ease;
            border-left: 4px solid #1e40af;
        }

        .faq-question:hover {
            background-color: rgba(59, 130, 246, 0.05);
        }

        .faq-question h3 {
            color: #1e40af;
            font-weight: 500;
            font-size: 1.1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0;
        }

        .faq-icon {
            transition: transform 0.3s ease;
            color: #3b82f6;
            font-size: 1rem;
        }

        .faq-question:hover .faq-icon {
            transform: rotate(180deg);
        }

        .faq-answer {
            padding: 0 1.5rem 1.5rem;
            background-color: #FFFAF0;
        }

        .faq-answer p {
            color: #666;
            line-height: 1.6;
            margin: 0;
        }

        /* Contact Section */
        .contact {
            padding: 80px 0;
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
            text-align: center;
        }

        .contact h2 {
            color: white;
            font-size: 2rem;
            margin-bottom: 1rem;
            font-weight: 300;
        }

        .contact p {
            color: rgba(255, 255, 255, 0.9);
        }

        .contact-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin: 40px auto;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 1.5rem;
            background-color: #FFFAF0;
            border-radius: 10px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(30, 64, 175, 0.1);
        }

        .contact-item:hover {
            background-color: #FFF;
            transform: translateY(-5px);
            box-shadow:
                0 12px 30px rgba(30, 64, 175, 0.2),
                0 6px 15px rgba(59, 130, 246, 0.15),
                0 0 20px rgba(59, 130, 246, 0.1);
            border-color: rgba(59, 130, 246, 0.3);
        }

        .contact-icon {
            font-size: 1.5rem;
            width: 40px;
            text-align: center;
            color: #1e40af;
        }

        .contact-details h3 {
            color: #1e40af;
            font-weight: 500;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .contact-details p {
            color: #666;
        }

        .contact-details a {
            color: #3b82f6;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-details a:hover {
            color: #1e40af;
            text-decoration: underline;
        }

        /* Map Section */
        .map-section {
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
            padding: 80px 0;
            text-align: center;
        }

        .map-section h2 {
            color: white;
            font-size: 2rem;
            margin-bottom: 2rem;
            font-weight: 300;
        }

        .map-container {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #map {
            width: 100%;
            max-width: 900px;
            height: 400px;
            border: 2px solid #ccc;
            border-radius: 20px;
        }

        /* Footer */
        footer {
            background-color: #1e293b;
            color: white;
            text-align: center;
            padding: 2rem 0;
        }

        footer p {
            opacity: 0.8;
            font-size: 0.9rem;
        }

        /* CTA Button */
        .cta-button {
            display: inline-block;
            background-color: #3b82f6;
            color: white;
            padding: 15px 30px;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 600;
            transition: background-color 0.3s ease, transform 0.3s ease;
            margin-top: 20px;
        }

        .cta-button:hover {
            background-color: #1e40af;
            transform: translateY(-2px);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .container {
                padding: 0 30px;
            }

            .hero-content {
                padding: 3rem 2rem;
                margin-top: 2rem;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .hero-content h2 {
                font-size: 1.3rem;
            }

            .about-content h2,
            .services h2,
            .contact h2,
            .map-section h2,
            .faq h2,
            .formazione h2 {
                font-size: 1.8rem;
            }

            #map {
                height: 350px;
            }
        }

        @media (max-width: 978px) {
            #logo-navbar {
                display: none;
            }
        }

        @media (max-width: 768px) {
            header .container {
                flex-direction: column;
                gap: 15px;
                padding: 10px 20px;
            }

            .desktop-menu {
                gap: 20px;
            }

            nav .nav-link {
                font-size: 0.9rem;
            }

            .logo-section .logo {
                height: 50px;
                display: none;
            }

            #logo-navbar {
                display: none;
            }

            .breadcrumb {
                font-size: 0.8rem;
                padding: 5px 0;
            }

            .hero-content {
                padding: 3.5rem 1.8rem;
                margin-top: 1rem;
            }

            .hero-content h1 {
                font-size: 2rem;
                letter-spacing: 1px;
            }

            .hero-content h2 {
                font-size: 1.2rem;
                margin-bottom: 1.5rem;
            }

            .location span {
                font-size: 1rem;
            }

            .about,
            .services,
            .contact,
            .map-section,
            .faq,
            .formazione {
                padding: 60px 0;
            }

            .services-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .contact-info {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .formazione-card {
                flex-direction: column;
                text-align: center;
                padding: 1.5rem;
            }

            .formazione-year {
                text-align: center;
            }

            #map {
                height: 300px;
            }
        }

        /* Mobile specific styles for screens below 500px */
        @media (max-width: 500px) {
            /* Header adjustments for mobile */
            header .container {
                padding: 8px 15px;
                flex-direction: row;
                gap: 0;
            }

            .navbar {
                position: relative;
            }

            /* Show logo container and hide desktop menu */
            .logo-container {
                display: flex;
                flex: 1;
            }

            .logo-container .logo {
                max-height: 35px;
                max-width: calc(100vw - 100px); /* Reserve space for hamburger button */
            }

            .desktop-menu {
                display: none;
            }

            /* Show mobile menu toggle */
            .mobile-menu-toggle {
                display: flex;
                flex-shrink: 0;
                margin-left: 15px;
            }

            /* Show mobile menu */
            .mobile-menu {
                display: block;
            }

            #logo-navbar {
                display: none;
            }

            /* Adjust hero section for mobile navbar */
            .hero {
                padding-top: 70px;
            }

            .hero-content {
                padding: 2.5rem 1.5rem;
                margin-top: 1rem;
            }

            .hero-content h1 {
                font-size: 1.8rem;
                margin-bottom: 0.3rem;
            }

            .hero-content h2 {
                font-size: 1.1rem;
                margin-bottom: 1rem;
            }

            .contact-item {
                padding: 1rem;
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }

            .formazione-card {
                padding: 1.2rem;
                gap: 15px;
            }

            .formazione-icon {
                font-size: 2rem;
            }

            .formazione-content h3 {
                font-size: 1.1rem;
            }

            #map {
                height: 250px;
            }

            /* Improve mobile menu UX */
            .mobile-nav-link {
                font-size: 1rem;
                padding: 12px 25px;
            }

            .container {
                padding: 0 15px;
            }
        }

        @media (max-width: 400px) {
            .logo-container .logo {
                max-height: 30px;
                max-width: calc(100vw - 90px);
            }

            .mobile-menu-toggle {
                width: 25px;
                height: 20px;
            }

            .hamburger-line {
                height: 2px;
            }
        }

        @media (max-width: 300px) {
            .logo-container .logo {
                max-height: 25px;
                max-width: calc(100vw - 80px);
            }
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

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

        /* Loading animation */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #3b82f6;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Prevent body scroll when mobile menu is open */
        body.mobile-menu-open {
            overflow: hidden;
        }

        /* Additional responsive typography */
        @media (max-width: 500px) {
            .about-content h2,
            .services h2,
            .contact h2,
            .map-section h2,
            .faq h2,
            .formazione h2 {
                font-size: 1.5rem;
            }

            .about-content p {
                font-size: 1rem;
            }

            .service-card h3 {
                font-size: 1.2rem;
            }

            .service-card p {
                font-size: 0.9rem;
            }

            .faq-question h3 {
                font-size: 1rem;
            }

            .contact p {
                font-size: 1rem;
            }
        }
