   :root {
          --primary: #0a1f44;
          --accent: #d4af37;
          --bg: #f5f5f5;
          --text: #333333;
        }
        body {
          font-family: 'Poppins', sans-serif;
          margin: 0;
          padding: 0;
          color: var(--text);
          background: var(--bg);
        }
        header {
          background: var(--primary);
          color: white;
          padding: 1rem;
          text-align: center;
        }
        header h1 {
        font-size: 35px;
        }

        nav a {
          color: white;
          margin: 0 1rem;
          text-decoration: none;
          font-weight: 600;
        }
        .hero {
          background: linear-gradient(rgba(10,31,68,0.7), rgba(10,31,68,0.7)),
                      url('https://images.pexels.com/photos/5668480/pexels-photo-5668480.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') center/cover no-repeat;
          color: white;
          height: 90vh;
          display: flex;
          align-items: center;
          justify-content: center;
          text-align: center;
          padding: 2rem;
        }
        .hero h1 {
          font-size: 3rem;
          margin-bottom: 1rem;
          color: var(--accent);
        }
        .btn {
          background: var(--accent);
          color: var(--primary);
          padding: 0.75rem 1.5rem;
          border: none;
          cursor: pointer;
          font-weight: bold;
          border-radius: 5px;
          transition: background 0.3s ease;
        }
        .btn:hover {
          background: #b8972b;
        }
        section {
          padding: 4rem 2rem;
        }
        h2 {
          text-align: center;
          color: var(--primary);
          margin-bottom: 2rem;
        }
        .practice-areas .cards {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
          gap: 2rem;
        }
        .about .cards {
                  display: grid;
                  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                  gap: 2rem;
                }
        .card {
          background: white;
          padding: 1.5rem;
          border-radius: 10px;
          box-shadow: 0 4px 8px rgba(0,0,0,0.1);
          text-align: center;
        }
        footer {
          background: var(--primary);
          color: white;
          text-align: center;
          padding: 1rem;
        }
        .card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px); /* si solleva leggermente */
  box-shadow: 0 12px 20px rgba(0,0,0,0.15); /* ombra più profonda */
}
.btn {
  background: var(--accent);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  background: #b8972b;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6); /* glow oro leggero */
}
.intro{
text-align: center;
}