/* --- RESET E BODY --- */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: x-large;
  background-color: #0d1117;
  color: #ffffff;
}

/* --- TOOLBAR / NAVIGAZIONE --- */
.toolbar {
    display: flex;
    padding: 10px 20px;
    background: url(hh) repeat center center fixed;
    background-size: cover;
    flex-direction: column;
    justify-content: center;
    background-color: #0d1117;
}

#sezione1 {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* -- Logo e Titolo -- */


#logo1 {
  display: flex;
  width: 20%;
  align-content: center;
  flex-direction: column;
  align-items: center;
}

#titolo1 {
  color: #fff;
}

/* --- FOOTER --- */
/* --- FOOTER --- */
#footer {
 background-image: url(loghi/sfondo.png);
    background-size: cover;
      font-size: medium;
}

#griglia2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  justify-items: center;
  text-align: center;
  align-items: center;
  align-content: center;
}

/* -- Logo e Descrizione -- */
#soluzionidigiatli {
  margin-left: 15px;
}

#logo2 {
  width: 30%;
}

/* -- Liste di Link -- */
#ul2 {
  text-align: justify;
  padding-left: 0;
}

#ul2 li {
  margin-bottom: 12px;
  font-size: 15px;
  padding-left: 0;
  position: relative;
}

#ul2 a {
  color: #ffffff;
  text-decoration: none;
}

#ul2 a:hover {
  text-decoration: underline;
}

/* -- Social Media -- */
#ul3 {
  display: contents;
  list-style: none;
  padding-left: 0;
}

#cards {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

.card-container {
  position: relative;
  width: 150px;
  height: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.5em 10px;
  border-radius: 0.5em;
  cursor: pointer;
  transition: transform 0.3s ease, z-index 0.3s ease;
}

#Whatsapp {
  background-color: #25d366;
}

#Gmail {
  background-color: #f21818;
}

#instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.icon-container {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.icon-container svg {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.icon-container p {
  font-size: 0.9em;
  font-weight: 400;
  color: white;
  margin: 0; /* Aggiunto per rimuovere il margine predefinito del paragrafo */
}

.card-container p {
  font-weight: 900;
  color: #ffffff;
  font-family: 'Cocogoose', sans-serif; /* Assicurati che il font sia caricato */
  margin: 0; /* Aggiunto per rimuovere il margine predefinito del paragrafo */
}

.card-container:hover {
  transform: scale(1.3);
  z-index: 2;
}

#cards:hover > .card-container:not(:hover),
#cards:has(.card-container:hover) .card-container:not(:hover) {
  filter: blur(2px);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* -- Metodi di Pagamento -- */
#metodidipagamanto {
  display: flex;
  align-items: center;
  flex-direction: row;
}

#svgiconepay {
  margin-right: 10px;
  height: 24px;
}

#svgiconepaybtc {
  height: 24px;
}

/* -- Copyright e Link -- */
#spaziohr {
  border: solid 2px rgb(119 119 119 / 11%);
}

#copyright {
    display: flex
;
    align-items: center;
    gap: 2rem;
    margin-left: 30px;
    margin-right: 30px;
    color: #ffffff;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    margin-top: 10px;
}

#copyright p {
  margin: 0; /* Aggiunto per rimuovere il margine predefinito del paragrafo */
}

#copyright a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px; /* Aggiunto per spaziatura tra i link */
}

#copyright a:hover {
  text-decoration: underline;
}

/* --- FONT FACE (se i font sono effettivamente presenti) --- */
@font-face {
  font-family: 'Heavitas';
  src: url('Heavitas.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Cocogoose';
  src: url('Cocogoose-Pro-Bold-trial.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}





/* supporto sezione */

#sezionesupportoclienti {
    gap: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



#support-section  {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 70%;
    display: flex
;
    flex-direction: column;
    justify-content: center;
}

#support-title {
    color: #00b8ff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
}

#support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.support-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.support-item:hover {
    transform: translateY(-5px);
}

.support-item i {
    font-size: 3rem;
    color: #00b3fe;
    margin-bottom: 20px;
}

.support-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.support-item p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.5;
}

#special-offer {
background: linear-gradient(134deg, #414141 0%, #000000 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
}

#offer-title {
    color: #c0392b;
    margin-bottom: 20px;
    font-size: 2rem;
}

#offer-text {
    color: #2c3e50;
    font-size: 1.2rem;
    margin: 15px 0;
}

#offer-description {
    color: #757575;
    font-size: 1.2rem;
    margin: 15px 0;
}

#offer-text strong {
    color: #00b9ff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    }
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 768px) {
    #support-grid {
        grid-template-columns: 1fr;
    }
    
    #support-section {
        padding: 25px;
    }
    
    #support-title {
        font-size: 1.8rem;
    }
    
    #special-offer {
        padding: 20px;
        width: 80%;
    }
    
    #offer-title {
        font-size: 1.6rem;
    }
    
    #offer-text,
    #offer-description {
        font-size: 1rem;
    }

    
}






/* Header 40c9ff*/
#servizi-header {
    text-align: center;
    padding: 1px 0;
    background: linear-gradient(135deg, #40c9ff 0%, #e81cff 100%);
    color: white;
    margin-bottom: 20px;
     font-weight: bold;
}
/* Titolo Principale */
#servizi-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

#sezionepachetti{
    display: flex
;
    flex-direction: column;
    align-items: center;
}

#sezione-pacchetti {
background: linear-gradient(135deg, #00BCD4 0%, #E91E63 100%);  
 border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    width: 80%;
    display: flex
;
    flex-direction: column;
}

#sezione-pacchetti h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: bold;
}

.packages-grid {
    display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
}

#pacchetto-1 {
background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: #303030;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#pacchetto-1:hover,
#pacchetto-2:hover,
#pacchetto-3:hover{   
  transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.582);
    border: solid 4px;
    border-image: linear-gradient(135deg, #00BCD4 0%, #E91E63 100%);
    border-image-slice: 1;
    border-radius: 15px;
}

#pacchetto-2 {
background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: #303030;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


#pacchetto-3 {
background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: #303030;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.package-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: bold;
}

.package-price {
    font-size: 2rem;
    font-weight: bold;
    margin: 15px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.original-price {
    text-decoration: line-through;
    opacity: 0.8;
    font-size: 1.1rem;
}



#spaziohr2{
    border: solid 1px rgb(255 255 255 / 46%);
    width: 100%;

}


/* btn seleziona servizio  */

/* From Uiverse.io by BHARGAVPATEL1244 */ 
#btnselezionaservizio-1,
#btnselezionaservizio-2,
#btnselezionaservizio-3{
 outline: none;
 cursor: pointer;
 border: none;
 padding: 0.9rem 2rem;
 margin: 0;
 font-family: inherit;
 font-size: inherit;
 position: relative;
 display: inline-block;
 letter-spacing: 0.05rem;
 font-weight: 700;
 font-size: 17px;
 border-radius: 500px;
 overflow: hidden;
 background: #00ff00;
 color: ghostwhite;
 margin-top: 5px;
}

#btnselezionaservizio-1, 
#spanselezionaservizio-1,
#btnselezionaservizio-2,
#spanselezionaservizio-2,
#btnselezionaservizio-3, 
#spanselezionaservizio-3{
 position: relative;
 z-index: 10;
 transition: color 0.4s;
}

#btnselezionaservizio-1:hover 
#spanselezionaservizio-1,
#btnselezionaservizio-2:hover 
#spanselezionaservizio-2,
#btnselezionaservizio-3:hover 
#spanselezionaservizio-3{
 color: rgb(255, 255, 255);
}

#btnselezionaservizio-1::before,
#btnselezionaservizio-1::after,
#btnselezionaservizio-2::before,
#btnselezionaservizio-2::after,
#btnselezionaservizio-3::before,
#btnselezionaservizio-3::after  {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: 0;
}

#btnselezionaservizio-1::before,
#btnselezionaservizio-2::before,
#btnselezionaservizio-3:before {
 content: "";
 background: #000;
 width: 120%;
 left: -10%;
 transform: skew(30deg);
 transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}

#btnselezionaservizio-1:hover::before,
#btnselezionaservizio-2:hover::before,
#btnselezionaservizio-3:hover::before {
 transform: translate3d(100%, 0, 0);
}


#divbottoni{
    display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
}








/* Nuova classe per simulare l'hover sul pacchetto */
.package-card.simulated-hover,
.package-card:hover { /* Applichiamo lo stesso stile anche all'hover reale */
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.582);
  border: solid 4px;
  border-image: linear-gradient(135deg, #00BCD4 0%, #E91E63 100%);
  border-image-slice: 1;
  border-radius: 15px;
}

/* Opzionale: Se vuoi che anche il testo cambi colore come nel bottone */
.package-card.simulated-hover .package-price,
.package-card.simulated-hover .original-price,
.package-card.simulated-hover h3 {

   transition: color 0.4s; /* Aggiungi una transizione per il colore */
}



/* i nostri servizi di pachetti  */
 /* Griglia prodotti */
        #griglia-prodotti {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            padding: 20px;
        }
        /* Card prodotto */
        #prodotto-card {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin-bottom: 20px;
            text-align: center;
           color: black;
           font-family: math;
          }
        /* Titolo prodotto */
        #titolo-prodotto {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'Cocogoose';
}
        /* Prezzo */
        #prezzo {
    font-size: 1.8rem;
    color: #e73c3c;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: cursive;
    text-align: center;
    display: flex
;
    flex-direction: column;
    align-items: center;
}
        /* Sottotitolo */
        #sottotitolo {
            font-size: 1.1rem;
            color: #7f8c8d;
            margin-bottom: 20px;
            font-style: italic;
        }
        /* Sezione immagini */
        #slider-immagini {
            position: relative;
            width: 100%;
            height: 200px;
            background-color: #f8f9fa;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            margin: 0 auto 20px auto;
        }
        #immagine-attuale {
            max-width: 100%;
            max-height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }
        #freccia-sinistra, #freccia-destra {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0,0,0,0.5);
            color: white;
            border: none;
            cursor: pointer;
            font-size: 16px;
            border-radius: 50%;
            transition: background 0.3s;
            z-index: 10;
        }
        #freccia-sinistra {
            left: 8px;
        }
        #freccia-destra {
            right: 8px;
        }
        #freccia-sinistra:hover, #freccia-destra:hover {
            background: rgba(0,0,0,0.8);
        }
        /* Consegna info */
        #consegna-info {
            background-color: #ecf0f1;
            padding: 12px;
            border-radius: 6px;
            border-left: 3px solid #3498db;
            margin-bottom: 20px;
            font-size: 0.95rem;
        }
        #consegna-info strong {
            color: #2c3e50;
        }
        /* Bottone scopri cosa offriamo */
        #bottone-scopri {
            background: #3498db;
            color: white;
            border: none;
            padding: 12px 20px;
            font-size: 1rem;
            font-weight: bold;
            border-radius: 6px;
            cursor: pointer;
            text-align: center;
            width: 100%;
            margin-bottom: 20px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        #bottone-scopri:hover {
            background: #2980b9;
            transform: translateY(-1px);
        }
        #bottone-scopri::after {
            content: "▼";
            font-size: 0.8rem;
            transition: transform 0.3s;
        }
        #bottone-scopri.attivo::after {
            transform: rotate(180deg);
        }
        /* Sezione cosa offriamo - nascosta di default */
        #sezione-cosa-offriamo {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            display: none;
            animation: fadeIn 0.3s ease-in;
            text-align: left;
                font-family: sans-serif;
    font-size: medium;
        }
        #sezione-cosa-offriamo.mostra {
            display: block;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        #titolo-sezione {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }




#lista-dettagli {
  list-style: none;        /* Rimuove i puntini */
  margin: 0; 
  padding-left: 20px;            /* Rimuove margini extra */
}




#lista-caratteristiche {
    list-style: none;
    margin-bottom: 15px;
    font-family: system-ui;
    font-size: 18px;
}
        #lista-caratteristiche li {
            margin-bottom: 8px;
            padding-left: 25px;
            position: relative;
        }
        
        #lista-caratteristiche li:before {
            content: "✓";
            color: #27ae60;
            font-weight: bold;
            position: absolute;
            left: 0;
        }


#lista-caratteristiche2 {
    list-style: none;
    margin-bottom: 15px;
    font-family: system-ui;
    font-size: 18px;
}
        #lista-caratteristiche2 li {
            margin-bottom: 8px;
            padding-left: 25px;
            position: relative;
        }
        #lista-caratteristiche2 li:before {
            content: "✕";
            color: #ae2727;
            font-weight: bold;
            position: absolute;
            left: 0;
        }



        






        /* Bottone acquista */
        
        #bottone-acquista {
            display: block;
            width: 100%;
            background: #27ae60;
            color: white;
            border: none;
            padding: 15px 20px;
            font-size: 1.1rem;
            font-weight: bold;
            border-radius: 6px;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            transition: all 0.3s;
        }
        #bottone-acquista:hover {
            background: #229954;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
        }
        /* Responsive */
        @media (max-width: 768px) {
            #griglia-prodotti {
                grid-template-columns: 1fr;
            }
            #titolo-principale {
                font-size: 2rem;
            }
            #slider-immagini {
                height: 180px;
            }
            #prezzo {
                font-size: 1.5rem;
            }
        }





/* Metodi di pagamento sezione  */

#hrspaziopersezionemetodidipagamento{
    width: 90%;
}

#payment-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 12px;
}

#section-title {
  text-align: center;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 600;
}

#payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
  padding: 20px;
  margin-bottom: 20px;
}

#payment-methods > li {
  flex: 1;
  min-width: 120px;
  max-width: 180px;
}

#payment-methods img {
  width: 100%;
  height: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}

#payment-methods img:hover {
  transform: scale(1.05);
}






/* titolo pachetti siti web */

 #divinostripack{
    display: flex
;
    flex-direction: column;
    align-items: center;
}

#titoloinosstripachettisitiweb {
  
  width: 100%;
    text-align: center;
    padding: 1px 0;
    background: linear-gradient(135deg, #40c9ff 0%, #e81cff 100%);
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: bold;
}



/* --- MENU MOBILE SU SCROLL --- */
/* --- MENU MOBILE SU SCROLL --- */

#menuButton {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #00b4fe;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

#sideMenu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: #0d1117;
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  flex-direction: column;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}

#sideMenu.open {
  right: 0;
}

#menuHeader {
  padding: 20px;
  text-align: right;
  border-bottom: 1px solid #333;
}

#closeMenu {
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

#closeMenu:hover {
  color: #00b4fe;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

#navbar-container-mobile {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}





        /* form e  whatsapp con codice qr */
#icon{
    color: #00BCD4;
    }
/* --- SEZIONE CONTATTI --- */
/* --- Contenitore principale --- */

#contattacisezionediv{
    display: flex
;
    flex-direction: column;
    align-items: center;
}



   .contact-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }
    
 .form-section {
    flex: 1;
    min-width: 300px;
    background: #161b22;
    padding: 20px;
    border-radius: 10px;
    display: flex
;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.3s 
ease;
    flex-direction: column;
}

    .allineamentoicontext {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
      position: relative;
      width: 100%;
    }

    .allineamentoicontext span {
      position: absolute;
      left: 12px;
      color: #888;
      font-size: 18px;
      z-index: 2;
    }

    .allineamentoicontext input,
    .allineamentoicontext textarea {
      width: 100%;
      padding: 12px 12px 12px 40px;
      border: 1px solid #30363d;
      border-radius: 8px;
      background-color: #0d1117;
      color: #ffffff;
      font-size: 1em;
    }

    .allineamentoicontext input:focus,
    .allineamentoicontext textarea:focus {
      outline: none;
      border-color: #a0d8f1;
      background-color: #0d1117;
      box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
      transform: translateY(-2px);
    }

    .form-textarea {
      min-height: 140px;
      resize: vertical;
    }

    #formSelectService {
      width: 100%;
      height: 60px;
      padding: 14px 16px;
      border: 1px solid #0288d1;
      border-radius: 10px;
      font-size: 18px;
      color: #ffffff;
      appearance: none;
      background-color: #0d1117;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    #formSelectService:focus {
      outline: none;
      border-color: #0277bd;
      box-shadow: 0 0 0 4px rgba(2, 119, 189, 0.2);
    }

    #formSelectService:hover {
      transform: scale(1.02);
    }

    #formButton {
      position: relative;
      background-color: #0277bd;
      color: #ffffff;
      font-size: 17px;
      font-weight: 900;
      border-radius: 10px;
      width: 100%;
      height: 60px;
      border: none;
      text-transform: uppercase;
      cursor: pointer;
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #formButton::before {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      font-weight: 900;
      transition: transform 0.4s ease;
      transform: translateY(0);
      z-index: 1;
    }

    #formButton::after {
      content: "Conferma";
      position: absolute;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #40c9ff 0%, #e81cff 100%);
      color: white;
      font-weight: 900;
      transform: translateY(100%);
      transition: transform 0.4s ease;
      z-index: 0;
    }

    #formButton:hover::before {
      transform: translateY(-100%);
    }

    #formButton:hover::after {
      transform: translateY(0);
    }

    #formButton:focus {
      outline: none;
    }

    #formButton:active {
      transform: scale(0.95);
    }

    /* --- Sezione Servizio (anteprima) --- */
    .service-section {
      flex: 1;
      min-width: 300px;
      background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100%);
      padding: 20px;
      border-radius: 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: all 0.3s ease;
    }

    #btn-cosa-offriamo {
      display: flex;
      align-items: center;
      gap: 8px;
      border: 1px solid #30363d;
      border-radius: 8px;
      background-color: #0d1117ba;
      color: #00b8ff;
      font-size: large;
      cursor: pointer;
      padding: 8px 15px;
      margin-top: 10px;
    }

    #dettagli-offerta {
      display: none;
      margin-top: 15px;
      padding: 10px;
      background: rgb(34 59 86);
      border-radius: 8px;
      font-size: 0.9em;
      line-height: 1.6;
    }

    #dettagli-offerta ul {
      padding-left: 20px;
      margin: 5px 0;
    }

    #dettagli-offerta li {
      color: #c9d1d9;
      margin: 3px 0;
    }

    #lista-dettagli {
      list-style: none;
      padding-left: 0;
      margin: 0;
    }

    #anteprima-desc {
      font-size: medium;
      color: white;
      font-weight: bold;
    }

    #servizioseleztitolo {
      padding: 0;
      margin: 10px 0;
    }

    h2#section-title {
      text-align: center;
      margin: 0 0 20px;
      color: #58a6ff;
    }

    /* --- DOMANDA CENTRALIZZATA --- */
    .question-container {
      text-align: center;
      padding: 10px 0;
      width: 100%;
    }

    .progress-bar {
      display: flex;
      gap: 6px;
      justify-content: center;
      margin: 15px 0;
    }

    .progress-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: #30363d;
    }

    .progress-dot.active {
      background-color: #40c9ff;
    }

    .question-input-wrapper {
      position: relative;
      margin-bottom: 15px;
      width: 100%;
    }

    .question-input-wrapper label {
      color: white;
      font-size: 1.1em;
      margin-bottom: 10px;
      display: block;
      text-align: left;
    }

    .question-input {
      width: 90%;
      padding: 12px 16px;
      background-color: #0d1117;
      color: white;
      border: 1px solid #30363d;
      border-radius: 8px;
      font-size: 16px;
      font-family: system-ui, sans-serif;
      resize: vertical;
      min-height: 48px;
    }

    .question-input:focus {
      outline: none;
      border-color: #40c9ff;
      box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    }

    /* --- RIEPILOGO --- */
    .summary-item {
      text-align: left;
      margin: 10px 0;
      padding: 10px;
      background: #0d1117;
      border-radius: 8px;
      border-left: 3px solid #40c9ff;
    }

    .summary-item strong {
      color: #58a6ff;
    }

    /* --- LOADER E MESSAGGIO FINALE --- */
    .loader {
      border: 4px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top: 4px solid #40c9ff;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      margin: 0 auto 15px;
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    .success-container {
      text-align: center;
      padding: 20px;
    }

    .success-icon {
      color: #4ade80;
      font-size: 48px;
      margin-bottom: 15px;
    }

    .success-title {
      color: #58a6ff;
      font-size: 1.5em;
      margin: 10px 0;
    }

    .success-message {
      color: #c9d1d9;
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .success-button {
      background-color: #0277bd;
      color: white;
      border: none;
      padding: 10px 25px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s;
      text-transform: uppercase;
      min-height: 48px;
      width: 100%;
      max-width: 300px;
      margin: 0 auto;
      display: block;
    }

    .success-button:hover {
      background-color: #0288d1;
    }

    /* --- ERRORE VALIDAZIONE --- */
    .input-error {
      border-color: #ff4444 !important;
      box-shadow: 0 0 0 4px rgba(255, 68, 68, 0.15) !important;
    }

    .error-message {
      color: #ff4444;
      font-size: 0.9em;
      margin-top: 5px;
      text-align: left;
      height: 20px;
    }

    /* --- TALLY SPECIFIC STYLES --- */
    .tally-section {
      background: #161b22;
      border-radius: 10px;
      padding: 20px;
      margin-top: 20px;
    }

    .tally-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 15px;
    }

    .tally-header i {
      color: #40c9ff;
      font-size: 24px;
    }

    .tally-header h3 {
      color: #58a6ff;
      margin: 0;
      font-size: 1.3em;
    }

    .tally-instructions {
      color: #c9d1d9;
      margin-bottom: 15px;
      text-align: left;
      line-height: 1.5;
    }

    .tally-iframe-container {
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      margin-bottom: 15px;
    }

    .tally-iframe {
      width: 100%;
      height: 450px;
      border: none;
      min-height: 400px;
      border-radius: 8px;
    }

    .tally-confirmation {
      color: #c9d1d9;
      font-style: italic;
      text-align: left;
      margin-top: 10px;
      font-size: 0.95em;
    }

    .tally-button {
      background: linear-gradient(135deg, #40c9ff 0%, #e81cff 100%);
      border: none;
      border-radius: 8px;
      padding: 12px 20px;
      color: white;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s;
      width: 100%;
      max-width: 300px;
      margin: 0 auto;
      display: block;
      text-transform: uppercase;
    }

    .tally-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(64, 201, 255, 0.3);
    }

    .tally-button:active {
      transform: translateY(0);
    }

    /* --- scrolbar animazione --- */
    ::-webkit-scrollbar {
      width: 6px;
      transition: width 0.3s ease;
    }

    ::-webkit-scrollbar-thumb {
      background: rgba(64, 201, 255, 0.5);
      border-radius: 10px;
    }




    /* --- fine form --- */


    /* Slider container */
#slider-immagini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

#slider-immagini button {
    background: #c7c7c7;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
}

#slider-immagini button:hover {
    background: #000000;
    color: #ffffff;
}

/* Contenitore immagini */
#contenitore-slider {
    position: relative;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Link intorno all'immagine */
.slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Nascondi tutti tranne quello attivo */
}

.slide-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide-link img:hover {
    transform: scale(1.03);
}

/* Mostra solo il link con l'immagine attiva */
.slide-link.attivo {
    display: block;
}



#toggle-preview {
  position: relative;
  background: transparent;
  border: none;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: #626262;
  cursor: pointer;
  font-family: 'Segoe UI', system-ui, sans-serif;
  transition: color 0.2s ease;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}

/* Testo */
#toggle-preview span {
  position: relative;
  z-index: 1;
}

/* Linea di base (orizzontale) */
#toggle-preview::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: transform 0.4s ease, opacity 0.3s ease;
  transform: scaleX(0);
  transform-origin: left;
}

/* Linea verticale che emerge al centro */
#toggle-preview::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 0;
  background: #000;
  transform: translateY(-50%);
  transform-origin: center;
  transition: height 0.4s ease 0.1s, left 0.3s ease;
  opacity: 0;
}

/* Hover */
#toggle-preview:hover::before {
  transform: scaleX(1);
  opacity: 1;
}

#toggle-preview:hover::after {
  height: 70%;
  left: -4px;
  opacity: 1;
}

/* Opzionale: cambio colore testo su hover */
#toggle-preview:hover {
  color: #000;
}



/* Metodi di pagamento */
#metodidipagamanto {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

#svgiconepay,
#svgiconepaybtc {
  height: 28px;
  color: white;
}

/* Copyright */
#spaziohr {
  border: none;
  border-top: solid 1px rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

#copyright-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 15px 0;
  margin: 0 20px;
}

#copyright-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 8px;
  color: #aaa;
  font-size: 14px;
}

#copyright-main p {
  margin: 0;
  width: 100%;
  text-align: center;
}

#copyright-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 5px 0;
  margin-top: 30px;
  margin-bottom: 20px;
}

#copyright-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
  font-size: 13px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

#copyright-links a:hover {
  color: #00b4fe;
  text-decoration: underline;
}

#cards:hover > .card-container:not(:hover),
#cards:has(.card-container:hover) .card-container:not(:hover) {
  filter: blur(2px);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

#soluzionidigiatli {
  color: white;
}

/* --- MEDIA QUERIES RESPONSIVE --- */

/* Mobile generico */
@media (max-width: 768px) {
  #logo1 {
    max-width: 160px;
    width: 30%;
  }
  #titolofrase1 {
    font-size: xx-large;
    margin-top: 80px;
  }
  #frase1 {
    font-size: large;
  }
  #menuButton {
    opacity: 1;
    visibility: visible;
  }
  .toolbar {
    padding-right: 80px;
  }
  #payment-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  #section-title {
    font-size: 14px;
  }
  #form-sez {
    max-width: 90%;
  }
  #confirm-button {
    width: 60%;
  }
  #payment-methods {
    flex: 1;
    width: 35%;
  }
  /* Nasconde il menu desktop su mobile */
  #navbar-container {
    display: none !important;
  }


}

/* Mobile stretto */
@media (max-width: 480px) {

    #btnnonso {
  
    width: 90%;
}

  #logo1 {
    width: 75%;
    max-width: 160px;
  }
  #titolofrase1 {
    font-size: x-large;
    margin-top: 60px;
  }
  #frase1 {
    font-size: medium;
    margin-top: -10px;
  }
  #menuButton {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
  #sideMenu {
    width: 260px;
  }
  #payment-methods {
    gap: 15px;
  }
  #form-title,
  #form-description {
    padding: 0 15px;
  }

  
}

#facebook { background-color: #006eff; }



/* Stili Bottone */
#btnnonso {
  font-weight: bold;
  position: relative;
  width: auto;
  margin-top: 20px;
  height: 60px;
  font-size: medium;
  background-color: #000;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
} 

#btnnonso::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -5px;
  margin: auto;
  width: 104%;
  height: 68px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100%);
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#btnnonso::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100%);
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

#btnnonso:hover::after {
  filter: blur(30px);
}

#btnnonso:hover::before {
  transform: rotate(-180deg);
}

#btnnonso:active::before {
  scale: 0.7;
}

#btnnonso:hover {
  transform: scale(1.2);
}




#centralebtn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}






    /* --- SEZIONE PROCESSO - TIMELINE MINIMAL --- */
#sezione-processo {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#titoloprocesso {
  font-family: 'Cocogoose', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#fraseprocesso {
  font-size: 1.2rem;
  color: #adadad;
  max-width: 800px;
  margin: auto;
}

/* --- TIMELINE ORIZZONTALE --- */
.timeline-container {
  display: flex;
  overflow-x: auto;
  gap: 40px;
  padding: 50px 20px;
  max-width: 1200px;
  scrollbar-width: none; /* Nasconde scrollbar su Firefox */
  -ms-overflow-style: none; /* Nasconde scrollbar su IE/Edge */
}

.timeline-container::-webkit-scrollbar {
  display: none; /* Nasconde scrollbar su Chrome/Safari */
}

.timeline-step {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Linea di connessione tra i passi */
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 35px;
  left: 120px;
  width: calc(100% + 40px);
  height: 2px;
  background: linear-gradient(90deg, #e81cff, #40c9ff);
  opacity: 0.3;
  z-index: -1;
}

/* Cerchio con icona SVG */
.step-icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(-45deg, #e81cff, #40c9ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(232, 28, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.timeline-step:hover .step-icon-wrapper {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 0 30px rgba(232, 28, 255, 0.8);
}

.step-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

/* Titolo dello step */
.step-title {
  font-family: 'Cocogoose', sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: center;
}

/* Descrizione dello step */
.step-description {
  font-size: 0.95rem;
  color: #cccccc;
  line-height: 1.5;
  text-align: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  #titoloprocesso {
    font-size: 2.2rem;
  }
  .timeline-step:not(:last-child)::after {
    display: none; /* Nasconde linea su mobile */
  }
  .timeline-step {
    flex: 0 0 220px;
  }
}

@media (max-width: 480px) {
  .timeline-container {
    padding: 20px;
    gap: 30px;
  }
  .timeline-step {
    flex: 0 0 200px;
  }
  #titoloprocesso {
    font-size: 2rem;
  }
}

/* --- MOBILE: SEZIONE PROCESSO - TIMELINE MINIMAL --- */
@media (max-width: 480px) {
  #sezione-processo {
    padding: 60px 15px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #titoloprocesso {
    font-family: 'Cocogoose', sans-serif;
    font-size: 2rem; /* Ridotto per adattarsi a schermi piccoli */
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
  }

  #fraseprocesso {
    font-size: 1rem;
    color: #adadad;
    max-width: 90%;
    margin: 0 auto 30px;
    line-height: 1.5;
  }

  /* --- TIMELINE ORIZZONTALE SU MOBILE --- */
  .timeline-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 15px;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Scrolling fluido su iOS */
  }

  .timeline-container::-webkit-scrollbar {
    display: none;
  }

  .timeline-step {
    flex: 0 0 190px;
    min-width: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    scroll-snap-align: start;
  }

  /* Nasconde la linea di connessione su mobile */
  .timeline-step:not(:last-child)::after {
    display: none;
  }

  /* Cerchio icona - dimensioni proporzionate */
  .step-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(-45deg, #e81cff, #40c9ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(232, 28, 255, 0.5);
    transition: all 0.3s ease;
    margin-bottom: 15px;
  }

  .timeline-step:hover .step-icon-wrapper,
  .timeline-step:active .step-icon-wrapper {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 0 25px rgba(232, 28, 255, 0.7);
  }

  .step-icon {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
  }

  /* Titolo step */
  .step-title {
    font-family: 'Cocogoose', sans-serif;
    font-size: 1.15rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
  }

  /* Descrizione */
  .step-description {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.5;
    text-align: center;
  }
}