* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #f4f8fb;
  color: #333;
}

header {
  background-color: #002b5c;
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #00b0ff;
}

.hero-img {
  position: relative;
  background-image: url('Front.jpeg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  color: white;
  max-width: 90%;
}

.overlay h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.overlay p {
  font-size: 1.5rem;
}

.section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #004080;
}

.section ul {
  line-height: 2;
  padding-left: 1rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  flex: 1 1 300px;
  text-align: center;
}

.section.alt {
  background-color: #eaf4fb;
}

.contatti {
  text-align: center;
  background-color: #d8ecf8;
}

.contatti a {
  color: #004080;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background-color: #0066cc;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #004a99;
}

footer {
  background-color: #001d3d;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.text-img {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.text-img img {
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.text-img.reverse {
  flex-direction: row-reverse;
}

.video-box {
  display: flex;
  justify-content: center;
  margin: 3rem auto;
}

.video-box iframe {
  width: 100%;
  max-width: 700px;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
