/* --- STILE CARD TOOL --- */
.tool-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    /* Angoli ben arrotondati */
    padding: 2rem 1.5rem;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    text-align: center;
    position: relative;
}

/* Effetto Hover */
a.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    /* Il colore del bordo cambierà in base al tool, gestito nell'HTML */
}

.tool-icona {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

a.tool-card:hover .tool-icona {
    transform: scale(1.1);
    /* L'icona si ingrandisce leggermente */
}

.tool-titolo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.tool-descrizione {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}