.staff-image-container {
    overflow: hidden;
    border-radius: 0.5rem;
}

.staff-image-container img {
    transition: transform 0.5s ease;
}

.staff-image-container img:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .staff-image-container {
        max-height: 400px;
    }
    
    .staff-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.hero-home {
  background-image: url('../images/backgrounds/home.jpeg'); 
  background-size: cover; 
  background-repeat: no-repeat; 
  background-position: center;
  height: 700px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff; /* testo bianco */
}

.hero-home::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3); /* overlay scuro per leggere meglio il testo */
}

.hero-content {
  position: relative;
  z-index: 1; /* così il testo e i bottoni restano sopra l’overlay */
  max-width: 900px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 46px;
  font-weight: 500;
  line-height: 1.3;
}

/* Bottoni */
.hero-buttons .btn {
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 6px;
  font-weight: 500;
}

.hero-buttons .btn-primary {
  background-color: #30bfcf;
  border: none;
}

.hero-buttons .btn-outline-light {
  color: #fff;
  border: 2px solid #fff;
}

.hero-buttons .btn-outline-light:hover {
  background-color: #fff;
  color: #000;
}

.hero-buttons .btn-primary:hover {
  background-color: #22888a;
  color: #fff;
}