.cta-section {
    background-color: #F6F6F6;
    padding: 80px 0;
  }

  .cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 10px;
  }

  .cta-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: Lato, helvetica, arial, sans-serif;
  }

  .cta-subtitle {
    font-size: 21px;
    font-weight: 400;
    margin-bottom: 40px;
    color: rgb(96, 96, 96);
  }

  .cta-button {
    background-color: #0088FF;
    color: #FFF;
    font-size: 24px;
    font-weight: 700;
    border: none;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }

  .cta-button:hover {
    transform: translateY(-5px);
  }


  /* Lux CTA */

    .lux-cta-box {
      background-color: #173042;
      padding: 20px;
      border-radius: 5px;
      text-align: center;
      box-shadow: 2px 2px 5px #858384;
      margin-top: 30px;
    }
    
    .lux-cta-header {
      font-size: 30px;
      font-family: Lato, helvetica, arial, sans-serif;
      margin-bottom: 10px;
      color: #ffffff;
      font-weight: 500;
    }
    
    .lux-cta-subheader {
      font-size: 20px;
      font-family: Lato, helvetica, arial, sans-serif;
      margin-bottom: 20px;
      color: #c2c2c2;
    }
    
    .lux-cta-button {
      display: inline-block;
      background-color: #55BB9B;
      color: white;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-size: 18px;
      transition: opacity 0.3s ease-in-out;
    }
    
    .lux-cta-button:hover {
      opacity: 0.6;
      color: white;
    }
  
/* Indice dei Contenuti */
  .table-of-contents {
    margin: 18px auto 24px;
    padding: 0 8px;
  }

  .table-of-contents-box {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px clamp(14px, 2.5vw, 26px);
    border-radius: 12px;
    border: 1px solid #e2e4ec;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  }

  .table-of-contents-header {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8b92a7;
    margin-bottom: 6px;
  }

  .table-of-contents-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .table-of-contents-list.special-toc {
    margin: 0 !important;
    max-width: none;
  }

  .table-of-contents-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #eef1f6;
    text-align: left;
  }

  .table-of-contents-list li:last-child {
    border-bottom: none;
  }

  .table-of-contents-list li > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-weight: 700;
    color: #5a6077;
    background: #f4f6fb;
    border: 1px solid #e6e9f3;
    font-size: 0.8rem;
  }

  .table-of-contents-link,
  .table-of-contents-link2 {
    flex: 1;
    font-size: 0.85rem;
    color: #1f2b4a;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 10px;
    transition: color 0.2s ease;
  }

  .table-of-contents-link2 {
    font-size: 0.75rem;
    margin-left: 6px;
    color: #475069;
    font-weight: 500;
  }

  .table-of-contents-link:hover,
  .table-of-contents-link:focus-visible,
  .table-of-contents-link2:hover,
  .table-of-contents-link2:focus-visible {
    color: #2f6bff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    cursor: pointer;
  }

  .table-of-contents-link::after,
  .table-of-contents-link2::after {
    margin-left: auto;
    padding-left: 2px;
    font-family: "Font Awesome 6 Pro";
    content: "\f061";
    font-weight: 400;
    font-size: 0.75rem;
    color: currentColor;
  }

  .table-of-contents-link__label {
    flex: 1;
    min-width: 0;
  }







/* Lista con punti che si connettono */
  .timeline-container {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  .timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
  }
  

  .timeline-item {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-bottom: 65px;
    gap: 50px;
  }


  .timeline-item:nth-child(even) {
    justify-content: flex-start;
  }


  .timeline-text {
    padding: 20px;
    width: 35%;
  }


  .timeline-item .timeline-text h3 {
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    font-family: Lato, helvetica, arial, sans-serif;
    margin-bottom: 15px;
  }

  .timeline-item .timeline-text h4 {
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    font-family: Lato, helvetica, arial, sans-serif;
    margin-bottom: 15px;
  }
  
  .timeline-item .timeline-text p{
    text-align: left;
  }

  .timeline-item .timeline-text .testo {
    text-align: left;
    font-size: 14px;
    line-height: 25px;
  }

  .timeline-item:nth-child(even) .timeline-text h3 {
    font-size: 24px;
    font-weight: 700;
    font-family: Lato, helvetica, arial, sans-serif;
    text-align: right;
    margin-bottom: 15px;
  }

  .timeline-item:nth-child(even) .timeline-text h4 {
    font-size: 18px;
    font-weight: 700;
    font-family: Lato, helvetica, arial, sans-serif;
    text-align: right;
    margin-bottom: 15px;
  }

  .timeline-item:nth-child(even) .timeline-text p{
    text-align: right;
  }

  .timeline-item:nth-child(even) .timeline-text .testo{
    text-align: right;
    font-size: 14px;
    line-height: 25px;
  }

  .timeline-dot {
    min-width: 2rem;
    width: 2rem;
    height: 2rem;
    background: var(--pink);border-radius: 50%;
    box-shadow: 0 0 20px var(--pink);
  }

  .timeline-dot.smaller {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    z-index: 1;
  }

  .timeline .blue {
    background: #7dd6f6 !important;
    box-shadow: 0 0 20px #7dd6f6 !important;
  }

  .timeline .lightblue {
    background : #D8DFED !important;
    box-shadow: 0 0 10px #D8DFED !important;
  }

  .timeline .deepblue {
    background: #275fee !important;
    box-shadow: 0 0 20px #275fee !important;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    margin-left: 0;
    margin-right: 20px;
  }

  canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }


  @media only screen and (max-width: 768px) {

    .timeline {
      align-items: flex-start;
      width: 100%;
      gap: 40px;
    }
    
  
    .timeline-item {
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      margin-bottom: 25px;
      gap: 40px;
    }
  
  
  
  
    .timeline-text {
      padding: 0px;
      width: auto;
      order: 2;
    }
  
  
    .timeline-item .timeline-text h3 {
      font-size: 1.5rem;
    }
    
    .timeline-item .timeline-text p{
      text-align: left;
    }

    .timeline-item .timeline-text .testo {
      text-align: left;
    }
  
    .timeline-item:nth-child(even) .timeline-text h3 {
      font-size: 1.5rem;
      text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-text h4 {
      text-align: left;
    }
  
    .timeline-item:nth-child(even) .timeline-text p{
      text-align: left;
    }
  
    .timeline-item:nth-child(even) .timeline-text .testo{
      text-align: left;
    }
  
    .timeline-dot {
      order: 1;
      margin-left: 15px;
      margin-right: 0px;
    }
  
    .timeline-item:nth-child(even) .timeline-dot {
      margin-left: 15px;
      margin-right: 0px;
    }
}




/* Slides */

.slider {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  background-color: #F2F2F2;
}

.slider p {
  line-height: 20px;
}

.slider-content {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
  align-items: center;
}

.slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.slide p {
  font-size: 14px;
}

.slide img {
  width: 100%;
  object-fit: cover;
  margin-top: 10px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 3px;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}


.slide2 {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.slide2 img {
  width: 100%;
  object-fit: cover;
  margin-top: 10px;
}

.slide2 p {
  font-size: 14px;
}

.slide3 {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.slider-content2 {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
  align-items: center;
}
.slider-content3 {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

@media (max-width: 768px) {
  .slider {
      width: 100%;
  }
  .arrow {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 20px;
    padding: 5px 5px 5px 5px;
    border-radius: 3px;
  }

  .arrow-left {
    left: 0px;
  }
  
  .arrow-right {
    right: 0px;
  }

}




/* Bar Graph */
.bar {
  width: 0%;
  height: 14px;
  background-color: #4CAF50;
  transition: width 2s;
  background: linear-gradient(to right, lightblue, rgb(173, 173, 254));
  border-radius: 8px;
}

.bar2 {
  width: 0%;
  height: 14px;
  background-color: #4CAF50;
  transition: width 2s;
  background: linear-gradient(to right, lightblue, rgb(173, 173, 254), #f970fe);
  border-radius: 8px;
}

.labelbar {
  text-align: left;
  display: inline-block;
  font-size: 13px;
  font-family: Lato, helvetica, arial, sans-serif;
  font-weight: 400;
  line-height: 15px;
}

.containerbar {
  margin-bottom: 10px;
}

#xAxis {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 10px;
  font-family: Lato, helvetica, arial, sans-serif;
  border-top: solid 1px black;
}

.tabella_servizi {
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 400px;
  gap: 10px;
  margin: 30px 0px 30px 0px;
 }



/* Lista con punti che si connettono */
.timeline-container2 {
  display: flex;
  justify-content: center;
  width: 100%;
}

.timeline2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;  /* updated */
}

.timeline-item2 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-bottom: 65px;
  gap: 2rem; /* updated, adjust this to find the optimal spacing */
}

.timeline-text2 {
  padding: 20px;
  width: calc(100% - 2rem - 2rem); /* updated, adjusting for dot size and gap */
}

.timeline-item2 .timeline-text2 h3 {
  text-align: left;
  font-size: 24px;
  font-weight: 700;
  font-family: Lato, helvetica, arial, sans-serif;
  margin-bottom: 15px;
}

.timeline-item2 .timeline-text2 p {
  text-align: left;
}

.timeline-dot2 {
  min-width: 2rem;
  width: 2rem;
  height: 2rem;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--pink);
  margin-left: 20px;
}

.timeline2 .deepblue {
  background: #275fee !important;
  box-shadow: 0 0 20px #275fee !important;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

@media only screen and (max-width: 768px) {

  .timeline2 {
    align-items: flex-start;
    width: 100%;
  }

  .timeline-item2 {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
  }

  .timeline-text2 {
    padding: 0px;
    width: auto;
    order: 2;
  }

  .timeline-item2 .timeline-text2 h3 {
    font-size: 1.5rem;
    text-align: left;
  }

  .timeline-item2 .timeline-text2 p {
    text-align: left;
  }

  .timeline-dot2 {
    order: 1;
    margin-left: 15px;
  }
}




/* Lazy load */

.lozad {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
.fadelozad {
  opacity: 1;
}
