/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* Links & Buttons */
a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  background: #0057b7;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #004494;
}
.btn.secondary {
  background: #e0e0e0;
  color: #333;
}
.btn.secondary:hover {
  background: #ccc;
}
.btn.big {
  font-size: 1.2rem;
  padding: 16px 32px;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #0073e6, #00FFFF);
  text-align: center;
  color: #fff;
  padding: 100px 20px;
}
.hero .logo {
  max-width: 120px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero .subtitle {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.hero .actions {
  margin-top: 20px;
}
.hero .actions .btn {
  margin: 0 10px;
}

/* SECTIONS */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}
section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  color: #0057b7;
}
section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
}

/* FEATURES */
.features .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.features .card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease;
}
.features .card:hover {
  transform: translateY(-5px);
}
.features h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #222;
}

/* CHI SIAMO */
.team {
  background: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 4px solid #0073e6;
}

.team h2 {
  font-size: 2.2rem;
  color: #0073e6;
  margin-bottom: 1rem;
  font-weight: bold;
}

.team p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
  max-width: 700px;
  margin: 0.5rem auto;
}

.team a {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: #0073e6;
  border: 2px solid #0073e6;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.team a:hover {
  background: #0073e6;
  color: #fff;
  transform: translateY(-2px);
}

/* CTA */
.cta {
  text-align: center;
  margin: 4rem auto;
}

.cta h2 {
  font-size: 2rem;
  color: #0073e6;
  margin-bottom: 0.5rem;
}

.cta p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #0073e6, #00bcd4);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 115, 230, 0.3);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #005bb5, #0097a7);
  box-shadow: 0 6px 20px rgba(0, 115, 230, 0.5);
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 30px 20px;
}
footer a {
  color: #ddd;
  margin: 0 8px;
  font-size: 0.9rem;
}
footer a:hover {
  text-decoration: underline;
}

/* ------------------------ */
/*       RESPONSIVE        */
/* ------------------------ */

/* Tablet */
@media (max-width: 992px) {
  .hero {
    padding: 80px 20px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  section {
    padding: 50px 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero .subtitle {
    font-size: 1rem;
  }
  .hero .actions .btn {
    display: block;
    margin: 10px auto;
    width: 80%;
  }

  section h2 {
    font-size: 1.6rem;
  }
  section p {
    font-size: 1rem;
  }

  .cta h2 {
    font-size: 1.6rem;
  }
  .cta-btn {
    width: 80%;
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem;
  }

  footer {
    font-size: 0.9rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }
  .hero .subtitle {
    font-size: 0.95rem;
  }
  .btn.big {
    font-size: 1rem;
    padding: 14px 24px;
  }
  .team h2 {
    font-size: 1.8rem;
  }
}