@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

/* Reset */
* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fdfdfd;
  color: #10221b;
  line-height: 1.6;
}

html {
  font-size: 62.5%; /* = 10px se il browser base è 16px */
}

/* Pulsante back */
.btn-back-home{
  margin: 2rem;
  display: inline-block;
  border: 0.2rem solid #10221b;
  border-radius: 5px;
  color: #10221b;
  cursor: pointer;
  background: white;
  font-size: 1.7rem;
  padding: 1rem 3rem;
}

.btn-back-home:hover{
  background: #10221b;
  color: white;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  border: 0.2rem solid #10221b;
  color: #10221b;
  cursor: pointer;
  border-radius: 5px;
  background: none;
  font-size: 1.7rem;
  padding: 1rem 3rem;
}

.btn:hover {
  background: #10221b;
  color: #fff;
}

/* Titoli */
.heading {
  text-align: center;
  font-size: 3.2rem;
  margin-top: 2rem;
  color: #10221b;
}
.heading-bottom {
  text-align: center;
  margin: 1rem 0 3rem;
  font-size: 1.8rem;
  color: #666;
  font-weight: 400;
}

/* Contenitore */
.contacts {
  padding: 2rem 9%;
}
.contacts .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem;
}

/* Card */
.contacts .box {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform .3s;
}
.contacts .box:hover {
  transform: translateY(-5px);
}

.contacts .icon {
  font-size: 3rem;
  color: #219150;
  margin-bottom: 1rem;
  text-align: center;
}

.contacts .box h3 {
  font-size: 2rem;
  color: #219150;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contacts .box ul {
  list-style: none;
}
.contacts .box ul li {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #10221b;
}
.contacts .box ul li strong {
  color: #000;
}
.contacts .box ul li a {
  color: #219150;
  text-decoration: none;
  font-weight: 500;
}
.contacts .box ul li a:hover {
  text-decoration: underline;
}

/* Footer */
#footer {
  margin-top: 5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .heading { font-size: 2.5rem; }
  .heading-bottom { font-size: 1.6rem; }
}
