
    
    :root {
      --primary: #2563eb;
      --bg: #f4f6f8;
      --text: #111827;
      --muted: #6b7280;
      --white: #ffffff;
    }
    body {
      font-family: 'Inter', sans-serif;
    }
    
    .neon-dynamic {
      font-size: 3em;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #ffffff;
      position: relative;
      z-index: 1;
      isolation: isolate;
      animation: floatGlow 8s ease-in-out infinite;
      background: linear-gradient(90deg, rgb(4, 59, 89), rgb(255, 255, 255), rgb(3, 47, 97));
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    
    .neon-dynamic::before {
      content: '';
      position: absolute;
      z-index: -1;
      top: 50%;
      left: 50%;
      width: 120%;
      height: 120%;
      transform: translate(-50%, -50%);
      background: radial-gradient(circle, rgba(253, 253, 253, 0.3) 0%, transparent 70%);
      filter: blur(30px);
      animation: parallaxGlow 6s ease-in-out infinite alternate;
    }
    
    @keyframes floatGlow {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    
    @keyframes parallaxGlow {
      0% { transform: translate(-48%, -52%) scale(1); }
      100% { transform: translate(-52%, -48%) scale(1.05); }
    }
    
    
    #contatti h2 {
      color: #ccc;
    }
    
    #servizi h2{
      color: #ccc;
    }
    #chi-siamo h2{
      color: #ccc;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    h1 {
      user-select: none;
      cursor: default;
      color: #ccc; /* solo h1 resta com’è */
    }
    body {
      font-family: 'Inter', 'Raleway', 'Poppins', sans-serif;
     
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      scroll-behavior: smooth;
    }
    
    /* Titoli secondari */
    h2, h3 {
      font-size: 2.4rem;
      font-weight: 600;
      margin-bottom: 1.2rem;
      color: var(--white);
      text-align: center;
    }
    
    /* Paragrafi generali */
    p {
      font-size: 1.3rem;
      line-height: 2;
      margin-bottom: 1.8rem;
      color: var(--white);
      text-align: center;
    }
    
    
 
    .hero {
      background-color: rgba(0, 0, 0, 0.4); /* nero trasparente */
      padding: 100px 20px;
      text-align: center;
      color: white;
      backdrop-filter: blur(5px); /* sfocatura vetro */
    }
    

    
    .hero h1 {
      font-size: 5rem;
      margin-bottom: 1rem;
    }
    .hero p {
      font-size: 1.4rem;
      line-height: 1.6;
    }
    
  
    
    
    .section {
      max-width: 1000px;
      margin: auto;
      padding: 4rem 2rem;
    }
    .section h2 {
      color: var(--primary);
      text-align: center;
      margin-bottom: 2rem;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }
    .section.visible h2 {
      opacity: 1;
      transform: none;
    }
    .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  padding: 80px 20px;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  width: 380px;
  padding: 40px 30px;
  color: white;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card i {
  font-size: 56px;
  margin-bottom: 20px;
  color: #6ea8fe;
  transition: transform 0.3s ease;
}

.card h3 {
  font-size: 26px;
  margin-bottom: 18px;
}

.card p {
  font-size: 18px;
  line-height: 1.6;
}

.card:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.3),
    0 0 40px rgba(223, 223, 223, 0.3),
    0 12px 36px rgba(0, 0, 0, 0.5);
}

.card:hover i {
  transform: scale(1.2) rotate(5deg);
}
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  }
}

.card {
  animation: glowPulse 2s infinite ease-in-out;
}

    
    form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-top: 2rem;
    }
    input, textarea {
      padding: 1rem;
      border-radius: 6px;
      border: 1px solid #ccc;
      font-family: inherit;
    }
    button {
      padding: 1rem;
      background: var(--primary);
      color: var(--white);
      border: none;
      border-radius: 6px;
      font-size: 1rem;
      cursor: pointer;
    }
    button:hover {
      background: #1e40af;
    }
    .whatsapp-float {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #25D366;
      color: white;
      border-radius: 50%;
      font-size: 28px;
      padding: 16px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      z-index: 999;
      text-align: center;
    }
    footer {
      background-color: #111827;
      color: white;
      text-align: center;
      padding: 2rem;
      margin-top: 4rem;
    }
    .contatti {
      text-align: center;
      margin-top: 2rem;
    } 
    section {
      margin-bottom: 4rem;
      text-align: center;
    }
 
      .logo {
        height: 200px;
        width: auto;
      }
      a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
        cursor: pointer;
      }
      
      a:hover {
        color: #1e40af;
        text-decoration: underline;
      }
      
      
      a.blink {
        color: #ffffff;
        font-weight: bold;
        text-decoration: none;
        position: relative;
        transition: color 0.3s ease;
        text-shadow: 0 0 6px rgba(0, 255, 255, 0.5);
      }
      
      a.blink::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        bottom: -2px;
        background: #ffffff;
        opacity: 0.6;
        transition: transform 0.3s ease;
        transform: scaleX(0);
        transform-origin: left;
      }
      
      a.blink:hover {
        color: #ffffff;
      }
      
      a.blink:hover::after {
        transform: scaleX(1);
      }
      
      
      

      html, body {
        margin: 0;
        padding: 0;
        height: 100%;
        font-family: Arial, sans-serif;
        overflow-x: hidden; /* Evita lo scroll orizzontale */
      }
      
   
      
      /* Il contenuto va sopra e può scrollare */
      .main-content {
        position: relative;
        z-index: 1;
        color: white;
        padding: 100px 20px;
      }
      #your-element-selector {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1;
      }
      
      #your-element-selector {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1; /* lo sfondo resta dietro */
      }
      
      .header {
        position: relative; /* NON fixed */
        z-index: 1;
        padding: 40px 20px;
        text-align: left;
      }

      #cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #222;
        color: #fff;
        padding: 20px;
        text-align: center;
        z-index: 9999;
        font-size: 14px;
      }
      #cookie-banner button {
        margin-left: 10px;
        padding: 8px 15px;
        background: #4caf50;
        border: none;
        color: white;
        cursor: pointer;
        border-radius: 5px;
      }
      .privacy-content {
        max-width: 800px;
        margin: auto;
        padding: 3rem 2rem;
        background-color: #ffffff; /* sfondo bianco pieno */
        border-radius: 12px;
        backdrop-filter: none; /* lo puoi anche togliere se non ti serve */
      }
      
      .privacy-content h1, 
      .privacy-content h2,
      .privacy-content p,
      .privacy-content li {
        color: #111827; /* testo scuro leggibile */
        text-align: left;
      }
      /* Mostra solo su desktop */
.neon-desktop {
  display: block;
}

.mobile-title {
  display: none;
}

/* Mostra solo su mobile */
@media screen and (max-width: 480px) {
  .neon-desktop {
    display: none;
  }

  .mobile-title {
    display: block;
    font-size: 1.2rem;
    text-align: center;
    color: #ffffff;
    margin-top: 1rem;
  }
}

      
/* Effetto luce semplice */
.light-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: radial-gradient(
    circle at center top,
    rgba(111, 180, 255, 0.3),
    rgba(187, 128, 255, 0.15),
    transparent 70%
  );
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.modal {
  display: none; /* all’avvio */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  color: #000 !important; /* forza il nero */
  width: 90%;
  max-width: 600px;
  animation: popupShow 0.4s ease-out;
  position: relative;
  text-align: center;
}
.modal-content,
.modal-content h2,
.modal-content p,
.modal-content a {
  color: #000 !important;
}


.modal-btn {
  display: inline-block;
  margin: 2rem auto 0;
  padding: 14px 28px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.modal-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #1e40af, #2563eb);
}



      
      
      
      
   
      

      
      

      
      
      
      
      
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
  

*:not(i):not([class^="fa-"]) {
  font-family: 'Inter', sans-serif !important;
}
@media screen and (max-width: 600px) {
  .modal-content {
    width: 95%;
    max-width: 95%;
    font-size: 0.95rem;
    padding: 1.2rem;
    border-radius: 10px;
  }

  .modal-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
  }

  .modal-content h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .modal-content p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .modal-btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    width: 100%;
  }
}

