body {
      font-family: 'Quicksand', sans-serif;
      background: #f8f9fa;
    }

a {
  z-index: 99;
  position: relative; 
  outline: none; 
  border: none; 
  text-decoration: none;
  color: #dbf4ff;
}  

a:hover {
  color:#ffffff}

a img {
  display: block
} 

:target::before {
    content: '';
    display: block;
    margin-top: 50px;
}

.font, #team_widget_form #team_label_citta, #team_widget_form #team_label_telefono, .fontCopy, #team_div_input_privacy a {color: #ffffff!important}

.logo {
  width: 150px;
}

.swiper-container{ 
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6, span, i {
  font-weight: bold; 
  color:#015ba3; 
  line-height: 1;
}

p, li {
  line-height: 1;
}

.btn i{color: initial!important; font-size: 1.2rem!important;}

.bqborder { 
  border-left:#015ba3 5px solid; 
  padding-left: 20px; 
  font-weight: bold;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: #dbf4ff;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-button:not(.collapsed) {
    color: #015ba3;
    background-color: #dbf4ff;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

/*SCROLL-PROGRESS*/
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background-color: #ffeb3b;
  z-index: 9999;
  transition: width 0.2s ease-out;
}

/*HERO*/
.hero, .focus, #form {
  background: #03a9f4;
  color: #ffffff!important;
  padding: 10px 0 5px 0;
  /*position:relative;;*/
  overflow: hidden;
  margin: 0!important;
}

.hero {
  padding: 10px 0;
  box-shadow: #343a40 0px 0px 10px 0px;
}

.hero p, .hero h5 {
  margin: 0;
  color:#ffffff
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 80px;
  background-size: cover;
}

.hero h6, .hero p {
  line-height: 1;
}

.hero h6 {
  text-transform: uppercase;
}

.hero img {
  width: 100%;
}

.hero span {
  font-size: 70%
}

.hero .btn, .hero .btn i{
  font-size: 1rem!important; 
  line-height: 1;
}

.cta {
  background: #fff3cd;
  border-left: 5px solid #ffeb3b;
  padding: 30px;
  border-radius: 10px;
}

.arrow {
  width: 60px!important;
  transform: rotate(180deg);
  background-color: transparent!important;
} 

.orange {
  color:#ffeb3b!important;
}

.lead {
  line-height:1;
  font-size: 1.5rem;
}

.lead span{
  color:#03a9f4;
  font-size: 2rem;
}

.focus {
  background-color: #03a9f4;
}

.focus h1, .focus h2, .focus h3, .focus h4, .focus h5, .focus h6, .focus span i, .focus i{
  font-weight: bold; 
  color:#ffffff!important; 
  line-height: 1;
}

.focus span, .focus i, .focus h5{
  font-weight: bold; 
  color:#ffeb3b!important; 
  line-height: 1;
}

.form h1, .form h2, .form h3, .form h4, .form h5, .form h6, .form span i, .form i{
  font-weight: bold; 
  color:#ffffff!important; 
  line-height: 1;
}

.form img{
  background-color: #dbf4ff;
  border-radius: 50%;
  width: 40%;
}

.form span{color:#ffeb3b!important; }

.focus i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.features i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/*INTRODUCTION*/
.introduction, .spot, .what, .faq {
      background: #f0fff6;
      padding: 15px 20px;
      text-align: center;
    }

.problem, .why, .testimonials {
      background: #dbf4ff;
      padding: 15px 20px;
      text-align: center;
    }    

.introduction i, .problem i, .spot i, .why i, .testimonials i, .faq i, .form i{
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.introduction i{color:#ffc107}
.introduction h6{color: #343a40!important;}
.yellow{background-color:#ffc107; color:#000000; padding: 5px; display: block;}

.introduction i:last-child {
  font-size: initial;
  margin-bottom: 15px;
}

.models {
  background: #d2e9ff;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
}

.models img {
  width: 50%;
}   

.models li {
  line-height: 1; 
  margin-bottom: 5px; 
  font-weight: bold; color:#ff6c00;
  border-bottom: solid 2px #ffc107; 
  padding-bottom: 5px;
} 

.spot { 
  margin-top: 74px!important;
}

.spot h1 {
  line-height: 1;
  font-size: 2rem;
}

.what li {
  margin-bottom: 30px;
}

.what p{
 margin: 0;
}

#as_form_container h4, #as_form_container h5, #as_form_container span{
  color:#015ba3!important
}

.what a {
  color: inherit!important;
}

.why video, .what video {
  width: 100%;
}

.testimonials img {
  border: solid 5px #ffffff; 
  box-shadow: #b7b7b7 2px 6px 10px 0px;
}

.testimonials h3>i {
  color:initial;
}

.testimonials blockquote {
  margin-top: -20px; 
  padding-top: 15px!important;
  box-shadow: #b7b7b7 2px 6px 10px 0px; 
  border-radius: 15px;
}

.testimonials i {
  color: #ffd700;
}


#team_label_citta, #team_label_telefono {
  color: #525252 !important;
}

#team_div_privacy {
  text-align: left
}

.fontCopy {
  display: block;
  line-height: 1.25;
}

.testimonial-preview {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* background-color: black; Rimosso, l'immagine riempirà il cerchio */
  display: inline-block;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out, z-index 0s 0.3s; /* Aggiunto ease-out per transizioni più naturali */
  opacity: 0.8; /* Leggera opacità per mostrare la sovrapposizione */
  position: relative;
  z-index: 1;
  text-decoration: none; /* Rimuove la sottolineatura del link */
  color: white; /* Assicura che qualsiasi contenuto futuro all'interno del cerchio sia bianco */
  overflow: hidden; /* Nasconde le parti dell'immagine che escono dal cerchio */
  border: 2px solid #ccc; /* Aggiunto un bordo sottile per visibilità */
}

.testimonial-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Assicura che l'immagine copra l'intero cerchio, ritagliando se necessario */
  border-radius: 50%; /* Rende l'immagine tonda all'interno del cerchio */
  display: block; /* Rimuove lo spazio extra sotto l'immagine */
}

.testimonial-preview:not(:first-child) {
  margin-left: -15px; /* Sovrapposizione */
}

.testimonial-preview:hover {
  transform: scale(1.1);
  opacity: 1;
  z-index: 10; /* Porta in primo piano */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Aggiunge un'ombra al passaggio del mouse */
}

.satisfied-text {
  font-size: 0.9rem;
  color: black;
  line-height: 1.2; /* Regola l'interlinea per il testo su più righe */
  text-align: left; /* Allinea il testo a sinistra per l'affiancamento */
  margin-left: 10px; /* Spazio tra i cerchi e il testo */
}

.testimonials-container-and-text {
  display: flex; /* Usa flexbox per affiancare i cerchi e il testo */
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap; /* Permette il wrapping su schermi più piccoli */
  padding: 10px; /* Aggiungi un po' di padding */
}

.testimonials-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px; /* Spazio tra i cerchi e il testo */
  flex-shrink: 0; /* Impedisce ai cerchi di restringersi */
}

footer {
  background-color: #343a40;
  color: white;
  padding: 15px 0;
}

footer span{
  color:#dbf4ff;
}

.zoom-container {
  width: 60%;
  max-width: 600px; /* opzionale: limite massimo della larghezza */
  margin: auto;
  overflow: hidden;
  border-radius:50%
}

.zoom-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
  display: block;
}

.zoom-container:hover img {
  transform: scale(1.2);
}

.striketrough {
    display: inline-block;
    position: relative;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Barra diagonale */
.striketrough::after {
    content: "";
    position: absolute;
    left: -10%;
    top: 77%;
    width: 120%;
    height: 3px;
    background: #e63946a3;
    transform: rotate(-15deg) scaleX(0);
    transform-origin: left center;
    animation: strike 1.5s ease forwards;
  }

.animate { 
  opacity: 0;
}

.animate.visible {
  opacity: 1; 
  animation: fadeInUp 1s forwards;
}

@keyframes strike {
    to {
      transform: rotate(-15deg) scaleX(1);
    }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


@media (min-width: 768px) {
  .arrow {
    transform: rotate(90deg);
  } 
  
  .models img {
    width: 100%;
  } 
  
  .hero img {
    width:40%;
  }  
  
  .hero span {
  font-size: 100%;
  }

  .introduction img {
    width: 80%;
  }
}


@media (max-width: 768px) {
  .testimonials-container-and-text {
    flex-direction: column; /* Impila verticalmente su schermi più piccoli */
    text-align: center;
  }

  .testimonials-wrapper {
    margin-right: 0; /* Rimuovi il margine a destra */
    margin-bottom: 15px; /* Aggiungi margine in basso quando impilato */
  }
  
  .satisfied-text {
    text-align: center; /* Centra il testo quando impilato */
    margin-left: 0;
    margin-top: 15px;
  }

  .testimonial-preview {
    width: 50px; /* Riduci la dimensione dei cerchi su mobile */
    height: 50px;
    margin-left: -10px; /* Riduci la sovrapposizione su mobile */
  }

  .testimonial-preview:not(:first-child) {
    margin-left: -10px;
  }
}