* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #007bff;
}

.hero-section {
  height: 70vh; /* pił stretta dell'intera altezza */
  background: url('images/benvenuto.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px; /* per compensare navbar */
}

.hero-content {
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
}

.lang-icon {
  color: black;
  font-size: 20px;
  text-decoration: none;
}


.funzionamento {
  padding: 80px 20px;
  text-align: center;
}

.funzionamento h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.funzionamento .blu {
  color: #0018F0;
}

.funzionamento p {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1em;
  color: #333;
}

.funzionamento-boxes {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.funzionamento-box {
  width: 300px;
  text-align: center;
}

.funzionamento-box img {
  width: 140px;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.funzionamento-box img:hover {
  transform: scale(1.1);
}

.funzionamento-box h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #0050E0;
}

.funzionamento-box p {
  font-size: 0.95em;
  color: #444;
}

}


.blocchi-orizzontali {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.blocco {
  width: 300px;
  text-align: center;
}

.blocco img {
  width: 100%;
  height: auto;
  max-width: 300px;
}

.benefici {
  padding: 60px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.benefici h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.tabella-benefici {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.blocco-beneficio {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  position: relative;
  min-height: 220px;
}

.blocco-beneficio .beneficio-img {
  width: 40px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.blocco-beneficio .material-icons {
  font-size: 24px;
  vertical-align: middle;
  color: #007bff;
}

.blocco-beneficio h3 {
  margin-top: 15px;
  margin-bottom: 8px;
  color: #002f87;
  font-size: 1.1rem;
}

.blocco-beneficio p {
  font-size: 0.95rem;
  color: #444;
}

.industrie {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #0a26c1, #2a55d7);
  color: white;
  text-align: center;
}

.industrie h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.industrie p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.swiper {
  max-width: 1000px;   /* o 960px o quello che preferisci */
  margin: 0 auto;
  padding-bottom: 60px;
}



.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* mantiene il taglio elegante */
  display: block;
  border-radius: 12px;
}


.swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
}

.swiper-slide {
  width: 300px !important;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}


.industria-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.industria-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.industria-box .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industria-box:hover img {
  opacity: 0.4;
}

.industria-box:hover .overlay {
  opacity: 1;
}


.contatti {
  padding: 80px 20px;
  background-color: #f4f4f8;
  text-align: center;
  color: #333;
}

.contatti h2 {
  font-size: 2.5rem;
  color: #0018F0;
  margin-bottom: 20px;
}

.contatti p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.form-contenitore {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.form-contatto {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-contatto .row {
  display: flex;
  gap: 15px;
}

.form-contatto input,
.form-contatto textarea {
  flex: 1;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: white;
}

.form-contatto textarea {
  min-height: 120px;
  resize: vertical;
}

.form-contatto .privacy {
  text-align: left;
  font-size: 0.9rem;
}

.form-contatto button {
  padding: 12px;
  font-size: 1rem;
 background-color: #ff7a00;

  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.info-contatto {
  flex: 1;
  min-width: 250px;
  font-size: 1rem;
  text-align: left;
}

.info-contatto a {
  color: #0018F0;
  text-decoration: none;
}

.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.popup-box button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #ff0033;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
}

