body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI';
    background: linear-gradient(to right, #f3f4f6, #e5e7eb);
    color: #000000;
  }
  
  header {
    background-color: #003366;
    background-image: url("https://cdn.ecommercedns.uk/files/5/231075/4/8916804/flag-of-italy-2003-2006.jpg");
    color: rgb(152, 150, 150);
    padding: 7rem 7rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-repeat: no-repeat;
    background-size: cover;
    animation: slideDown 1s ease;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .logo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .logo h1 {
    font-size: 10rem;
    margin: 0;
  }
  
  .logo p {
    font-size: 3rem;
    color: #ddd;
  }
  
  nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    animation: slideDown 1s ease;
  }
  
  nav a {
    font-size: 1.6rem;
    color: white;
    font-weight: bold;
    text-decoration: none; /* 🔹 Togliamo la sottolineatura */
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
  }
  

  .button {
    background-color:rgb(27, 139, 19);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
  }
  .button:hover {
    background-color:rgb(27, 139, 19);
    transform: scale(1.05);
  }
  a:hover {
    color: #004080;
  }
  
  h1, h2 {
    margin-top: 20px;
    animation: fadeIn 1.5s ease-in;
  }
  
  .section-main {
    padding: 20px;
    max-width: 900px;
    margin: auto;
    animation: fadeUp 1s ease;
    background-color: #f9fbf9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .section-footer {
    padding: 0px;
  
    
  
  }
  
  p {
    line-height: 1.6;
  }
  
  footer {
    background-color: #006800;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .footer-sections {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 1rem;
  }
  
  footer section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
  }

  footer p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }
  
  footer ul {
    list-style: none;
    padding: 0;
  }
  
  footer li {
    margin: 0.3rem 0;
  }
  
  footer a {
    color: #b3d1ff;
    font-size: 1.2rem;
  }
  
  footer a:hover {
    color: white;
  }

  .footer-sections p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }

  .social-icons {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: flex;               /* <-- rende gli elementi in linea */
    flex-direction: row;         /* <-- garantisce layout orizzontale */
    justify-content: center;     /* <-- centra le icone */
    gap: 1rem;                   /* <-- spazio tra le icone */
  }
  
  .social-icons li {
    display: inline-block;
  }

  .social-icons a {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
  }
  
  .social-icons a[href*="instagram.com"] {
    background-color: #E4405F;
  }
  
  .social-icons a[href*="twitter.com"] {
    background-color: #0088cc;
  }
  
  .social-icons a[href*="facebook.com"] {
    background-color: #1877F2;
  }
  
  .social-icons a:hover {
    opacity: 0.8;
  }
  
  /* Animations  */
  @keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* === Media & Visual Enhancements === */
  img{
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  
  
  /* === Responsive Design === */
  @media (max-width: 768px) {
    nav ul {
      flex-direction: column;
      gap: 10px;
    }
  
    .button {
      width: 100%;
      text-align: center;
    }
  }