        * {
            box-sizing: border-box;
        }

        body {
            font-family: 'JetBrains Mono', 'Fira Code', 'Inconsolata', monospace;
            background-color: #0d1117;
            color: #58a6ff;
            line-height: 1.7;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

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

        h1, h2, h3 {
            font-weight: 700;
            color: #7ee787;
            margin-top: 1.5em;
            margin-bottom: 0.75em;
        }

        h1 {
            font-size: 2.5rem;
            border-bottom: 2px solid #30363d;
            padding-bottom: 10px;
        }

        h2 {
            font-size: 1.8rem;
        }

        h3 {
            font-size: 1.4rem;
            color: #58a6ff;
        }

        .card {
            background-color: #161b22;
            border: 1px solid #30363d;
            border-radius: 8px;
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        .card h2, .card h3 {
            position: relative;
            padding-left: 15px;
        }

        .card h2:before, .card h3:before {
            content: '>';
            position: absolute;
            left: 0;
            color: #7ee787;
        }

        .container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
            margin: 40px 0;
        }

        /* On larger screens, use two columns for first two cards */
        @media (min-width: 769px) {
            .container:not(.single-column) {
                grid-template-columns: repeat(2, 1fr);
            }

            .container:not(.single-column) > .card:nth-child(3),
            .container:not(.single-column) > .card:nth-child(4) {
                grid-column: 1 / -1;
            }
        }

        .dropdown-menu {
            position: relative;
            display: inline-block;
            margin-bottom: 20px;
            width: 100%;
            max-width: 300px;
        }

        .dropdown-menu select {
            background-color: #161b22;
            color: #58a6ff;
            border: 1px solid #30363d;
            border-radius: 6px;
            padding: 12px 40px 12px 15px;
            font-family: inherit;
            font-size: 1rem;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml;utf8,<svg fill='%2358a6ff' height='24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
            background-repeat: no-repeat;
            background-position: right 10px center;
            width: 100%;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .dropdown-menu select:hover {
            border-color: #58a6ff;
            box-shadow: 0 4px 8px rgba(88, 166, 255, 0.2);
        }

        .dropdown-menu select:focus {
            border-color: #58a6ff;
            outline: 2px solid #58a6ff;
            outline-offset: 2px;
            box-shadow: 0 4px 8px rgba(88, 166, 255, 0.3);
        }

        /* Sezione Prenota un Appuntamento - Aumenta l'altezza */
        .container > .card:nth-child(3) iframe {
            height: 1200px;
        }
.foto {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    border: 1px solid #30363d;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease, transform 0.3s ease;
    margin-bottom: 25px;
}

.foto:hover {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    transform: scale(1.05);
}

.foto-e-descrizione {
    padding: 20px;
    background-color: #161b22;
    border-radius: 0 0 8px 8px;
    border: 1px solid #30363d;
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a {
    color: #58a6ff;
    text-decoration: none;
    border-bottom: 1px dashed #58a6ff;
    transition: color 0.2s ease, border-bottom 0.2s ease;
}

a:hover {
    color: #7ee787;
    border-bottom: 1px solid #7ee787;
}

a:focus {
    outline: 2px solid #58a6ff;
    outline-offset: 2px;
    border-radius: 2px;
}

.button {
    display: inline-block;
    background-color: #238636;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #2ea043;
}

.terminal-header {
    display: flex;
    align-items: center;
    background-color: #0d1117;
    border-bottom: 1px solid #30363d;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    font-family: monospace;
    justify-content: flex-end;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    justify-content: flex-end;
}

.red { background-color: #f85149; }
.yellow { background-color: #e3b341; }
.green { background-color: #3fb950; }

.terminal-title {
    font-size: 0.8rem;
    color: #8b949e;
    margin-right: 50px;
}

.terminal-content {
    padding: 20px;
    background-color: #161b22;
    border-radius: 0 0 8px 8px;
    border: 1px solid #30363d;
    border-top: none;
    position: relative;
}

.terminal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    border-radius: 0 0 8px 8px;
}

.terminal-content-mobile {
    padding: 20px;
    background-color: #161b22;
    border-radius: 0 0 8px 8px;
    border: 1px solid #30363d;
    border-top: none;
}

.terminal-content-google {
    padding: 20px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    border: 1px solid #30363d;
    border-top: none;
}

.cursor::after {
    content: '|';
    color: #7ee787;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.experience-item {
    margin-bottom: 1em;
}
.descrizione {
    word-break: break-word;
    white-space: pre-wrap;
}
.descrizione2 {
    word-break: break-word;
    white-space: break-spaces;
}
.calendar-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    margin-top: 20px;
    text-align: center;
}

.calendar-button:hover {
    background-color: #367c39;
}

/* Media query per schermi più piccoli (es. smartphone) */
@media screen and (max-width: 768px) {
    .page-container {
        padding: 20px 10px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .dropdown-menu {
        max-width: 100%;
    }

    .dropdown-menu select {
        font-size: 0.95rem;
    }
}

/* Media query per schermi molto piccoli (es. smartphone molto piccoli) */
@media screen and (max-width: 480px) {
    .terminal-title {
        display: none;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #238636;
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #30363d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    font-size: 20px;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #2ea043;
    transform: translateY(-3px);
}

.scroll-to-top:focus {
    outline: 2px solid #58a6ff;
    outline-offset: 2px;
}

/* Live chat buttons */
.chat-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.chat-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
}

.chat-button:hover {
    transform: translateY(-2px);
    border-bottom: none;
}

.chat-button:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 8px;
}

.whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.telegram-button {
    background: linear-gradient(135deg, #0088cc 0%, #005f8c 100%);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.telegram-button:hover {
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.4);
    color: #ffffff;
}

.chat-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media screen and (max-width: 480px) {
    .chat-buttons {
        flex-direction: column;
    }

    .chat-button {
        width: 100%;
        justify-content: center;
    }
}
