.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-bottom {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    padding: 30px 20px 20px 30px;
    justify-content: center;
    align-items: center;

    gap: 20px;
}

.home-intro {
    /* Layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Spaziamento (Sostituisce absolute) */
    position: relative;
    /* Ora occupa il suo spazio nel flusso */
    height: 300px;
    width: 100%;
    margin-bottom: 5px;
    margin-top: 80px;
}

.home-mini-title {
    font-size: 25px;
    padding: 10px 10px 10px 10px;
    margin-bottom: 20px;

    background: rgba(255, 255, 255, 0.127);
    color: rgb(255, 255, 255);
    font-weight: bold;
    border-radius: 50px;
    border: rgb(255, 255, 255) 3px solid;
}

.home-title {
    font-size: 80px;

    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.025em;
}

.home-description {

    font-size: 30px;
    padding: 10px 10px 10px 10px;
    margin-top: 20px;

    width: clamp(320px, 80%, 1200px);
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;

    /* Spaziamento (Sostituisce absolute) */
    position: relative;
    /* Ora occupa il suo spazio nel flusso */
    height: auto;
    max-width: 100%;
    margin-bottom: 5px;
    margin-top: 210px;
    margin-left: 10px;
    margin-right: 10px;

    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.033);
    border-radius: 1.5rem;
}

.home-article {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.home-primo,
.home-vedi {
    width: 48%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.home-primo {
    padding-left: 40px;
    justify-content: flex-start;
}

.home-vedi {
    padding-right: 50px;
    justify-content: flex-end;
}

.home-primo img {
    width: 50px;
    height: 50px;
}

.home-primo p {
    font-size: 40px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    padding-left: 15px;
}

.home-arrow {
    width: 30px;
    height: 30px;
}

.logo-container p {
    font-size: 20px;
    color: rgb(6, 146, 66);
    font-weight: bold;
    padding-left: 15px;
    padding-right: 15px;
}

.home-card {
    text-align: left;
    padding: 20px;
    width: 50%;
    height: 100%;

    background: rgba(0, 0, 0, 0.35);
    border-radius: 50px;
    backdrop-filter: blur(9.6px);
    border: white 1px solid;
    text-decoration: none;

    transition: 0.4s;
}

.home-card:hover {
    transform: translateY(-12px);
    background: rgba(41, 40, 40, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 40px rgba(143, 141, 141, 0.4),
        0 0 15px rgba(255, 255, 255, 0.426);
    backdrop-filter: blur(15px);
    text-decoration: none;
}

.home-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #b2eccf;
    margin: 15px 0 0 10px;
}

.home-card-image {
    height: 170px;
    width: 100%;
    object-fit: cover;
    background-color: #313131;
    border-radius: 15px;
    background: #313131;
    box-shadow: inset 5px 5px 3px #2f2f2f,
        inset -5px -5px 3px #333333;
}

.home-card-body {
    margin: 13px 0 0 10px;
    color: rgb(184, 184, 184);
    font-size: 15px;
}

.home-card-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;

    width: 100%;
}

@media (max-width: 1100px) {
    .home-bottom {
        flex-direction: column;
        padding: 0px 0px 0px 0px;
    }

    .home-card-container {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .logo-container p {
        padding-right: 5px;
    }

    .home-card-container {
        flex-direction: column;
    }

    .home-card {
        width: 90%;
        height: auto;
    }

    .home-primo img {
        width: 40px;
        height: 40px;
    }

    .home-primo p {
        font-size: 15px;
    }

    .logo-container p {
        font-size: 13px;
    }

    .home-title {
        font-size: 40px;
    }

    .home-description {
        font-size: 15px;
    }

    .home-mini-title {
        font-size: 15px;
        padding: 5px 5px 5px 5px;
    }

    .home-arrow {
        width: 20px;
        height: 20px;
    }

    .home-content {
        height: auto;
        margin-top: 20px;
    }
}


:root {
    --primary-color: rgb(6, 146, 66);
    /* Cambia con il tuo colore brand */
    --bg-dark: #0f172a;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
}

.laboratorio-section {
    overflow: hidden;
    width: 90%;
    margin-bottom: 5rem;
    margin-top: 5rem;
}

.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.033);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    transition: all 0.5s ease;
}

@media (min-width: 768px) {
    .glass-card {
        flex-direction: row;
        padding: 3rem;
        text-align: left;
    }
}

/* Effetto Luce Sfondo */
.bg-glow {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 20rem;
    height: 20rem;
    background: var(--primary-color);
    opacity: 0.2;
    filter: blur(100px);
    border-radius: 50%;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.glass-card:hover .bg-glow {
    opacity: 0.3;
}

/* Contenitore Immagine */
.image-container {
    position: relative;
    z-index: 10;
    width: 6rem;
    height: 6rem;
    background: var(--primary-color);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease;
}

@media (min-width: 768px) {
    .image-container {
        width: 8rem;
        height: 8rem;
    }
}

.lab-icon {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.glass-card:hover .image-container {
    transform: scale(1.1);
}

/* Testi */
.content {
    position: relative;
    z-index: 10;
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .content {
        text-align: left;
    }
}

.badge {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.title {
    color: var(--text-white);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.description {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 40rem;
    margin-bottom: 1.5rem;
}

/* Bottone */
/* ... (mantieni il resto del CSS precedente) ... */

.btn-lab {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #0f172a;
    /* background-dark */
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Gestione icone Shuttle */
.shuttle-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shuttle-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Stato Iniziale: Shuttle scuro visibile, bianco nascosto */
.shuttle-img.hover {
    opacity: 0;
}

/* Stato Hover: Invertiamo le visibilità */
.btn-lab:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(10px);
}

.btn-lab:hover .shuttle-img.default {
    opacity: 0;
}

.btn-lab:hover .shuttle-img.hover {
    opacity: 1;
    transform: translateY(-2px);
    /* Effetto leggero decollo */
}