
/*MODELING*/
.three-d-modeling-section {
  background-color: #f4f4f4;
  padding: 120px 20px 60px; /* Padding-top per evitare sovrapposizione con navbar */
  font-family: "Arial", sans-serif;
  scroll-margin-top: 120px;
  color: #000;
}

.three-d-modeling-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.three-d-modeling-section .section-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #000;
}

.three-d-modeling-section .section-title p {
  font-size: 16px;
  color: #000;
}

.row-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.content {
  flex: 2;
  min-width: 300px;
}

.content h3 {
  margin-top: 20px;
  font-size: 20px;
  color: #000;
}

.content p,
.content ul {
  font-size: 16px;
  color: #000;
  line-height: 1.7;
}

.content ul {
  padding-left: 20px;
  list-style: disc;
}

.image-container {
    flex: 1.5;
    min-width: 350px;
    text-align: center;
  }
  
  .image-container img {
    width: 100%;
    max-width: 600px; /* aumenta questa dimensione se vuoi ancora più grande */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  

/* Responsivo mobile */
@media (max-width: 768px) {
  .row-content {
    flex-direction: column;
  }

  .image-container,
  .content {
    text-align: left;
  }
}

/*engineering-section*/

.engineering-section {
  background-color: #ffffff;
  padding: 120px 20px 60px; /* padding-top > navbar */
  font-family: "Arial", sans-serif;
  scroll-margin-top: 120px;
  color: #000;
}

.engineering-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.engineering-section .section-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #000;
}

.engineering-section .section-title p {
  font-size: 16px;
  color: #000;
}

.row-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}


.content {
  flex: 2;
  min-width: 300px;
}

.content h3 {
  margin-top: 20px;
  font-size: 20px;
  color: #000;
}

.content p,
.content ul {
  font-size: 16px;
  color: #000;
  line-height: 1.7;
}

.content ul {
  padding-left: 20px;
  list-style: disc;
}

/* Responsivo mobile */
@media (max-width: 768px) {
  .row-content {
    flex-direction: column;
  }

  .image-container,
  .content {
    text-align: left;
  }
}

/*fem-analysis-section*/

.fem-analysis-section {
  background-color: #ffffff;
  padding: 120px 20px 60px;
  font-family: "Arial", sans-serif;
  scroll-margin-top: 120px;
  color: #000;
}

.fem-analysis-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.fem-analysis-section .section-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #000;
}

.fem-analysis-section .section-title p {
  font-size: 16px;
  color: #000;
}

.row-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.content {
  flex: 2;
  min-width: 300px;
}

.content h3 {
  margin-top: 20px;
  font-size: 20px;
  color: #000;
}

.content p,
.content ul {
  font-size: 16px;
  color: #000;
  line-height: 1.7;
}

.content ul {
  padding-left: 20px;
  list-style: disc;
}


/* Responsivo per mobile */
@media (max-width: 768px) {
  .row-content {
    flex-direction: column;
  }

  .image-container,
  .content {
    text-align: left;
  }
}


/*PRODUZIONE E TOOLING*/

.intro-tooling {
    position: relative;
    width: 100%;
    height: 350px;
    background-image: url(../img/PORTFOLIO-2/PlantD.jpg);
    background-size: cover;
    background-position: 0px -180px;
    background-attachment: fixed;
    /* margin-bottom: 20px; */
}
  .section-title {
    text-align: center;
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 32px;
    font-weight: bold;
  }

  .production-intro {
    max-width: 1050px;
    margin: auto;
    /* padding: 0 20px; */
    text-align: center;
    /* font-size: 18px; */
    line-height: 1.7;
    text-align: justify !important;
}
  .step-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
  }

  .step-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex: 1 1 250px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
  }

  .step-item:hover {
    background: #e9ecef;
    transform: translateY(-5px);
  }

  .tooling-section {
    background-color: #efefef;
    /* margin-top: 60px; */
    padding: 40px;
}

  .tooling-section h3 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
  }

  .tooling-section p {
    max-width: 1000px;
    margin: auto;
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
}

  @media (max-width: 768px) {
    .step-item {
      flex: 1 1 100%;
    }
  }

  .step-box {
   background: #082451;;
   padding: 1.5rem;
   border-radius: 10px;
   cursor: pointer;
   transition: background-color 0.3s ease;
   height: 100%;
 }
 
 .step-box:hover {
   background-color: #b71919;
 }
 
 .step-box h4 {
   margin-bottom: 0.5rem;
   color: #f5f4f4;
   font-weight: bold;
 }
 
 .arrow {
   font-size: 24px;
   color: #ffffff;
 }
 
.step-box {
  position: relative;
  cursor: pointer;
}

.click-hint {
  color: #ffffff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}

.step-box:hover .click-hint {
  opacity: 1;
  transform: translateY(0);
}

 /* Lightbox */
 .lightbox {
   display: none;
   position: fixed;
   z-index: 9999;
   left: 0;
   top: 0;
   width: 100vw;
   height: 100vh;
   background-color: rgba(0,0,0,0.95);
   justify-content: center;
   align-items: center;
 }
 
 .lightbox img {
   max-width: 90%;
   max-height: 90%;
   border-radius: 10px;
 }
 
 .lightbox:active {
   cursor: zoom-out;
 }
 
 .section-label {
   font-size: 28px;
   font-weight: 700;
   color: #222;
   letter-spacing: 1px;
   margin-bottom: 0;
   border-right: 4px solid #e63946;
   padding-right: 10px;
 }
 
 .tooling-section h3 {
   font-size: 22px;
   font-weight: 600;
   margin-bottom: 10px;
 }
 
 .tooling-text {
   font-size: 16px;
   color: #333;
   margin-top: 10px;
 }
 
 .production-intro {
   font-size: 16px;
   color: #333;
   margin-top: 10px;
 }
 
 
 .intro-tooling h1 {
     position: absolute;
     top: 65%;
     left: 50%;
     transform: translate(-50%, -50%);
     color: white;
     font-size: clamp(1.2rem, 5vw, 3rem);
     text-shadow: 2px 2px 4px rgb(0 0 0 / 90%);
     margin: 0;
     white-space: nowrap;
     width: auto;
 }
 
     @media (max-width: 768px) {
   .intro-toooling {
     height: 250px; /* Riduci l'altezza dell'immagine di sfondo per schermi più piccoli */
   }
 }
