* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('images/mainpage/it.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #333;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1f4788 0%, #2c5aa0 100%);
  border-bottom: 3px solid #0052a3;
  box-shadow: 0 4px 15px rgba(31, 71, 136, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

header img {
  max-height: 70px;
  width: auto;
  margin-right: auto;
}

.home-btn {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: white;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.home-btn:hover {
  background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.6);
}

/* CONTENT */
.container {
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 18px;
  padding: 40px 20px;
}

.container h1 {
  margin-bottom: 25px;
  margin-top: 25px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: #1f4788;
  font-weight: 700;
}

.card {
  background: white;
  border: none;
  padding: 40px;
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 4px 20px rgba(31, 71, 136, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #0066cc;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(31, 71, 136, 0.2);
}

.card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  color: #1f4788;
  font-weight: 700;
}

.card p {
  margin: 10px 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  font-weight: bold;
}

.card li {
  margin: 10px 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.contact-list {
  padding-left: 28px;
  margin-bottom: 22px;
  list-style: none;
}

.contact-list li {
  color: #333;
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}

.contact-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #0066cc;
  font-weight: bold;
}

.card h3:last-of-type {
  text-align: center;
  margin-top: 28px;
}

/* WHATSAPP ICON */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp:hover {
  background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
}

.whatsapp img {
  width: 30px;
}

footer {
  background: linear-gradient(135deg, #1f4788 0%, #2c5aa0 100%);
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  border-top: 3px solid #0066cc;
}

@media (max-width: 768px) {
  header {
    justify-content: space-between;
    padding: 14px 16px;
  }

  header img {
    max-height: 56px;
  }

  .container {
    margin-top: 24px;
    padding: 20px 14px;
  }

  .card {
    padding: 28px;
    border-radius: 12px;
  }
}

@media (max-width: 540px) {
  header {
    justify-content: space-between;
  }

  .home-btn {
    position: static;
  }

  .container {
    margin-top: 20px;
    padding: 15px 12px;
  }

  .card {
    padding: 24px;
  }

  .contact-list {
    padding-left: 28px;
  }

  .whatsapp {
    width: 55px;
    height: 55px;
  }

  .whatsapp img {
    width: 28px;
  }
}