/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgb(31, 30, 30) rgb(56, 56, 56);
  font-family: "Poppins", sans-serif;
}

body {
  background: #0d1117;
  /* Sfondo dark elegante */
  color: #ffffff;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Navbar */
nav {
  width: 100%;
  height: 80px;
  background: #0a192fe6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  position: fixed;
  z-index: 10;
  backdrop-filter: blur(10px);
}

nav .logo p {
  font-size: 22px;
  color: #00d4ff;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 15px;
}

nav ul li a {
  color: #ffffff;
  padding: 10px 5px;
  border-radius: 5px;
  transition: 0.3s;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
}

nav ul li a:hover {
  background: #00d4ff;
  color: #0d1117;
  box-shadow: 0 0 10px #00d4ff;
  transform: scale(1.1);
}

/* Hero Section */
.bodyContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding-top: 120px;
  min-height: 100vh;
  gap: 40px;
}

.bodyContainer .homeMarchi h1 {
  font-size: 50px;
  color: #00d4ff;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.WrapGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 80%;
  transition: 0.6s;
}

.container {
  background: rgba(15, 23, 42, 0.8);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  transition: 0.4s ease;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  cursor: pointer;
}

.container:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.container h3 {
  color: #00d4ff;
  font-size: 24px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.container p {
  font-size: 40px;
  font-weight: bold;
  color: white;
  animation: fadeIn 1.2s ease-in-out;
}

.home {
  padding: 25px 5%;
}

.home .conter {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  transition: 0.5s ease;
  background: rgba(10, 25, 47, 0.9);
}

.home .richi p {
  color: #00d4ff;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  font-weight: 400;
  font-size: 15px;
}

.home .richi h3 {
  font-size: 16px;
  color: #00d4ff;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  font-weight: 400;
}

.home .richi {
  border: 1px red solid;
  margin-top: 20px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  transition: 0.5s ease;
  background: rgba(10, 25, 47, 0.9);
  padding: 20px;
  text-align: left;
  font-size: 20px;
}

.home .richi .comeri {
  width: 100%;
  border: 1px rgb(9, 111, 166) solid;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
}

.wrapSettoriGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  width: 100%;
  margin-top: 20px;
  padding: 20px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  transition: 0.5s ease;
  background: rgba(10, 25, 47, 0.9);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

.step .icon {
  font-size: 40px;
  color: #00d4ff;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.step h4 {
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #00d4ff;
}

.step p {
  font-size: 16px;
  color: #d1d1d1;
  margin-bottom: 10px;
  line-height: 1.6;
}

.step .lolet a {
  background: #00d4ff;
  color: #272d35;
  box-shadow: 0 0 10px #00d4ff;
  padding: 5px;
  border-radius: 6px;
}

.step ul {
  text-align: left;
  margin-top: 10px;
}

.step ul li {
  font-size: 14px;
  padding: 5px 0;
  color: #c6c6c6;
}

/* .fade-in {
    animation: fadeIn 1.2s ease-in-out;
    opacity: 1 !important;
}
.step {
    opacity: 0;
} */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(10, 25, 47, 0.9);
  margin-top: 40px;
  color: white;
  letter-spacing: 2px;
}

.bodyContainer .numeroUnico {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  background: rgba(10, 25, 47, 0.9);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.25);
}
.bodyContainer .numeroUnico h3 {
  font-size: 18px;
  color: #eafaff;
  letter-spacing: 0.5px;
}
.bodyContainer .numeroUnico p {
  font-size: 15px;
  color: #c6d9e8;
}
.bodyContainer .numeroUnico .consiglio {
  font-size: 15px;
  color: #c6d9e8;
  font-weight: 400;
}
.bodyContainer .numeroUnico .numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 18px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  color: #00d4ff;
  transition: all 0.3s ease;
}
.bodyContainer .numeroUnico .numero:hover {
  background: rgba(0, 212, 255, 0.18);
  box-shadow: 0 6px 16px rgba(0, 212, 255, 0.25);
}
.bodyContainer .numeroUnico .numero i {
  font-size: 18px;
  color: #00d4ff;
}
.bodyContainer .numeroUnico .numero a {
  font-size: 18px;
  color: #00d4ff;
  font-weight: 700;
}
.bodyContainer .numeroUnico .cta-register {
  display: inline-block;
  background: #00d4ff;
  color: #272d35;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00d4ff;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bodyContainer .numeroUnico .cta-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 14px #00d4ff;
}
