 .slider-section {
      display: flex;
      flex-direction: row;
      height: 90vh;
      overflow: hidden;
      position: relative;
      margin-bottom: 0px;
    }

  .slider-text {
    flex: 1;
    background: linear-gradient(321deg, #1d5959 0%, rgb(202, 148, 31) 100%);
    color: white;
    padding: 60px;
    display: flex
;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

    .slider-text.fade-out {
      opacity: 0;
    }
#subtitle {
    position: relative; /* Necessario per posizionare ::before */
    margin-bottom: 10px;
}

#subtitle::before {
    content: '';
    display: inline-block;
    width: 80px; /* Larghezza della linea */
    height: 1px;
    background-color: white;
    margin-right: 10px;
    vertical-align: middle;
}
    .slider-text h4 {
      text-transform: uppercase;
      letter-spacing: 2px;
      font-size: 0.9rem;
      margin-bottom: 10px;
    }

    .slider-text h1 {
      font-size: 3.3rem;
      margin-bottom: 30px;
      font-family: 'Jost';
    font-weight: 300;
    text-transform: uppercase;
    }

    .slider-text p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 30px;
    }

    .slider-text ul {
      list-style: disc;
      margin-left: 20px;
      margin-bottom: 30px;
    }

    .slider-text li {
      margin-bottom: 10px;
    }

   .slider-text button {
    background: transparent;
    color: white;
    padding: 12px 16px; /* Ridotto il padding laterale */
    border: 2px solid white;
    font-size: 0.9rem; /* Opzionale: riduce leggermente la dimensione del testo */
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: auto; /* Rimuove larghezza minima */
    width: fit-content; /* Larghezza adatta al contenuto */
}

    .slider-text button:hover {
      background-color: white;
      color: #6e90ad;
    }

    .slider-images {
      flex: 1;
      position: relative;
      overflow: hidden;
    }

    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }

    .slide.active {
      opacity: 1;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .slide-indicators {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
    }

    .indicator {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .indicator.active {
      background-color: white;
    }

    @media (max-width: 768px) {
      .slider-section {
        flex-direction: column;
        height: auto;
      }

      .slider-text, .slider-images {
        flex: none;
        height: auto;
        padding: 40px 20px;
        order: 2;
      }

      .slider-images {
        height: 300px;
        order: 1;
      }

      .slider-text h1 {
        font-size: 1.52rem;
        font-weight: 400;
        margin-bottom: 12px;
      }
   .slider-text ul {
        list-style: disc;
        margin-left: 20px;
        margin-bottom: 20px;
        line-height: 1;
        font-size: 0.9rem;
    }
      .slider-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
}
    }