* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: white;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  z-index: 1000;
}

header .logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: opacity 0.3s;
}

nav ul li a:hover {
  opacity: 0.7;
}

/* Hamburger menu button */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* Mobile menu hidden by default */
.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  right: 20px;
  background: black;
  flex-direction: column;
  gap: 15px;
  padding: 15px 20px;
  border-radius: 8px;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu a:hover {
  opacity: 0.7;
}

/* Hero section */
.hero {
  height: 100vh;
  background: url("sfondo.jpg") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-logo {
  margin-bottom: 20px;
}

.hero-logo img {
  width: 150px;
  height: auto;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  margin-bottom: 10px;
}

p {
  font-size: 1.2rem;
}

/* Responsive rules */
@media (max-width: 768px) {
  nav ul {
    display: none; /* nasconde menu normale */
  }

  .hamburger {
    display: flex; /* mostra hamburger */
  }
}

/* Sezione Kit */
.section-kit {
  background-color: #a6c48a; /* verde chiaro */
  color: #000;
  padding: 80px 15%;
  line-height: 1.6;
}

.section-kit h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.section-kit p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

.section-kit strong {
  font-weight: 600;
}


.product-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}


@media (max-width: 768px) {
  .section-kit {
    padding: 50px 8%;
  }

  .section-kit h2 {
    font-size: 2rem;
  }

  .section-kit p {
    font-size: 1rem;
  }
}


.section-ipocalcemia {
  background-color: #2b512e; /* verde chiaro */
  color: #FFF;
  padding: 80px 15%;
  line-height: 1.6;
}

.section-ipocalcemia h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.section-ipocalcemia p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}


.how-to {
  text-align: center;
  padding: 60px 20px;
}

.how-to h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 50px;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.step {
  max-width: 250px;
}

.step img {
  width: 70px;
  height: auto;
  margin-bottom: 15px;
}

.step p {
  font-size: 16px;
  color: #333;
  line-height: 1.4;
}

.arrow {
  font-size: 24px;
  align-self: center;
  color: black;
}

.cta-btn {
  display: inline-block;
  padding: 18px 40px;
  background: #d51154;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 40px;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #b00f46;
}

/* Mobile */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;  /* centra i passi e le frecce */
    gap: 20px;
  }

  .arrow {
    transform: rotate(90deg); /* frecce verso il basso */
    display: block;
  }
}


.vantaggi {
  background-color: #f4f9f1; /* verde chiarissimo */
  text-align: center;
  padding: 80px 20px;
}

.vantaggi h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.vantaggi .intro {
  max-width: 800px;
  margin: 0 auto 60px auto;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.vantaggi-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.vantaggio {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

.vantaggio .icon {
  font-size: 28px;
  color: #4caf50; /* verde check */
  flex-shrink: 0;
  border: 2px solid #4caf50;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vantaggio h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.vantaggio p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.tech-details {
  text-align: center;
  padding: 80px 20px;
}

.tech-details h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 50px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* due colonne uguali */
  gap: 40px 40px; /* gap verticale e orizzontale equilibrato */
  width: max-content; /* la griglia occupa solo lo spazio necessario */
  margin: 0 auto; /* centra la griglia nella pagina */
  text-align: left;
}


.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.detail-item .icon {
  font-size: 28px;
  color: #5d8a3c; /* verde check */
  flex-shrink: 0;
}

.detail-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px;
}

.detail-item p {
  font-size: 16px;
  margin: 0;
  color: #333;
}

@media (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr; /* una sola colonna */
    gap: 20px; /* eventualmente riduci il gap per smartphone */
    width: 100%; /* occupa tutta la larghezza disponibile */
    padding: 0 10px; /* piccolo padding laterale */
  }
}

/* Sezione Idea */
.idea-section {
    padding: 60px 20px;
    background-color: #5e9442;
}

.idea-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.idea-text {
    flex: 1;
}

.idea-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.idea-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
}

.idea-content {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
}

.idea-content p {
    margin-bottom: 20px;
    text-align: left;
}

.highlight {
    font-weight: 600;
    color: #5e9442;
}

.idea-image {
    flex: 1;
    text-align: center;
}

.idea-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .idea-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .idea-title {
        font-size: 26px;
    }
    
    .idea-content {
        font-size: 15px;
    }
}

.team {
  background-color: #f4f9f1; /* sfondo verde chiarissimo */
  text-align: center;
  padding: 80px 20px;
}

.team h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 80px auto;
}

.member img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

.member h3 {
  font-size: 18px;
  font-weight: 700;
  color: #4a6d3e; /* verde scuro */
  margin-bottom: 6px;
}

.member p {
  font-size: 15px;
  color: #444;
}

.collab-title {
  margin-bottom: 40px;
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.collab img {
  width: 50%;
  height: auto;
  filter: grayscale(100%);
  border-radius: 6px;
  margin-bottom: 12px;
}

.collab h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.collab p {
  font-size: 15px;
  color: #444;
}

.contact {
  background-color: #b7cc9d; /* verde chiaro */
  text-align: center;
  padding: 80px 20px;
}

.contact h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact p {
  font-size: 18px;
  color: #222;
  margin-bottom: 30px;
  line-height: 1.5;
}

.contact .email {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  margin-bottom: 20px;
}

.contact .email:hover {
  text-decoration: underline;
}

.social img {
  width: 35px;
  height: 35px;
  margin-top: 15px;
}

nav a {
  font-weight: 400 !important;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* nasconde eventuali overflow orizzontali */
}
