/* ---------- Secció general ---------- */
#seccio4 {
  display: flex;
  justify-content: center;
   margin: 80px auto;
}

/* ---------- Contenidor de les 3 columnes ---------- */
.columns-container {
  display: flex;
  flex-wrap: wrap;
  background-color: #000;
  color: white;
  padding: 20px;
  border-radius: 25px;
  width: 100%;
  max-width: 1200px;
}

/* ---------- Cada columna individual ---------- */
.column {
  flex: 1;
  border-left: 1px solid white;
  padding: 20px;
  min-width: 280px;
}

.column:first-child {
  border-left: none;
}

.column p {
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Botó "Saber més" ---------- */
.more-button {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.arrow-icon {
  margin-left: 5px;
}

.fletxita {
  width: 15px;
}

/* ---------- POP-UP (modal) ---------- */
.modal {
  display: none; /* Amagat per defecte */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  padding-top: 100px;
}

/* ---------- Contingut del pop-up ---------- */
.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 60px;
  border-radius: 15px;
  width: 60%;
  max-width: 500px;
  color: #000;
}

/* ---------- Botó per tancar el pop-up ---------- */
.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

/* ---------- Responsiu per mòbils i tauletes ---------- */
@media (max-width: 768px) {
  .columns-container {
    flex-direction: column;
  }

  .column {
    border-left: none !important;
    border-top: 1px solid white;
  }

  .column:first-child {
    border-top: none;
  }
}
