h1 .bold, h2 .bold, h3 .bold, h4 .bold {
  font-weight: 900;
}
.logo-akea {
  display: block;
  background-image: url(../images/logo-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 80px;
  margin-bottom: 40px;
}
.icon.solar::before, .icon.fabbrica::before, .icon.riciclo::before {
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 120px;
  height: 180px;
}
.icon.solar::before {
  background-image: url(../images/solar.svg);
}
.icon.fabbrica::before {
  background-image: url(../images/fabbrica.svg);
}
.icon.riciclo::before {
  background-image: url(../images/riciclo.svg);
}
.icon.superficie::before, .icon.fatturato::before, .icon.dipendenti::before, .icon.gears::before {
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 70px;
  height: 100px;
}
.icon.superficie::before {
  background-image: url(../images/superficie.svg);
}
.icon.fatturato::before {
  background-image: url(../images/fatturato.svg);
}
.icon.dipendenti::before {
  background-image: url(../images/dipendenti.svg);
}
.icon.gears::before {
  background-image: url(../images/gears.svg);
}
/*.icon.certificato {
  line-height: 70px;
  font-weight: 900;
  font-size: 40px;
}
.icon.certificato::before {
  background-image: url(../images/certificato.svg);
  width: 60px;
  height: 60px;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle;
}*/
.icon.phone::before, .icon.map::before, .icon.mail::before, .icon.mail-black::before {
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  width: 58px;
  height: 58px;
}
.icon.phone::before {
  background-image: url(../images/phone.svg);
}
.icon.map::before {
  background-image: url(../images/map.svg);
}
.icon.mail::before {
  background-image: url(../images/mail.svg);
}
.icon.mail-black::before {
  background-image: url(../images/mail-black.svg);
}
.icon.automotive::before, .icon.calzatura::before, .icon.pelletteria::before, .icon.legatoria::before, .icon.abbigliamento::before, .icon.filati::before, .icon.applicazioni::before, .icon.pellicole::before {
  content: "";
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  width: 100%;
  height: 90px;
}
.icon.automotive::before {
  background-image: url(../images/automotive.svg);
}
.icon.calzatura::before {
  background-image: url(../images/calzatura.svg);
}
.icon.pelletteria::before {
  background-image: url(../images/pelletteria.svg);
}
.icon.legatoria::before {
  background-image: url(../images/legatoria.svg);
}
.icon.abbigliamento::before {
  background-image: url(../images/abbigliamento.svg);
}
.icon.filati::before {
  background-image: url(../images/filati.svg);
}
.icon.applicazioni::before {
  background-image: url(../images/applicazioni.svg);
}
.icon.pellicole::before {
  background-image: url(../images/pellicole.svg);
}
.gallery {
  background-color: #444;
}
.gallery .col-3 {
  height: 300px;
  padding: 0px;
}
.gallery .col-3 a {
  height: 100%;
  width: 100%;
  display: inline-table;
}
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}
.fade-in.visible {
  opacity: 1;
}
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left, .fade-in-right {
  opacity: 0;
  transition: opacity 1s ease-out, transform 1s ease-out;
}
/* Il div sinistro parte fuori a sinistra */
.fade-in-left {
  transform: translateX(-50px);
}
/* Il div destro parte fuori a destra */
.fade-in-right {
  transform: translateX(50px);
}
.fade-in-left.visible, .fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.bg-fade-in {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.bg-fade-in::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  z-index: -1;
}
.bg-fade-in.visible::before {
  opacity: 1;
  transform: translateX(0);
}
.bg-fade-in.visible.bg-prodotti::before {
  background-image: url('../img/scarpe.png');
}
@media screen and (max-width:480px) {
  .contain.bg-fade-in {
    padding-bottom: 200px;
  }
  .bg-fade-in::before {
    background-position: bottom;
  }
}
.card {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
/* Il div che contiene l'immagine di sfondo */
.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease-in-out; /* Zoom fluido */
}
/* Effetto Zoom SOLO sulla `card-img` */
.card:hover .card-img {
  transform: scale(1.05); /* Zoom leggero senza scatti */
}
/* Box descrittivo con sfumatura */
.card .info {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 30px;
  position: absolute;
  opacity: 0;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 150px;
  padding: 15px;
  color: white;
  text-align: center;
  transition: bottom 0.5s ease-in-out, opacity 0.5s ease-in-out;
  /* Sfondo con sfumatura più alta */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}
/* Quando passi il mouse, il box appare */
.card:hover .info {
  bottom: 0;
  opacity: 1;
}
.green {
  padding: 0px 100px 40px 100px;
}
.lingua {
  color: #fff;
  font-size: 20px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  position: absolute;
  top: 20px;
  right: 90px;
}
.lingua a {
  color: #fff;
  padding: 0px 5px;
}
.lingua a.current {
  font-weight: 900;
}
.header.top .lingua, .header.top .lingua a {
  color: #444444;
}
.sticky .lingua, .sticky .lingua a {
  color: #444444;
}
.img.automotive, .img.pelletteria {
  background-size: cover;
  background-repeat: no-repeat;
}
.img.automotive {
  background-image: url(../img/automotive.jpeg);
}
.img.pelletteria {
  background-image: url(../img/pelletteria.jpg);
}
.img.legatoria {
  background-image: url(../img/legatoria.jpeg);
}
.img.applicazioni {
  background-image: url(../img/applicazioni.jpg);
}
.img.contatti {
  background-image: url(../img/contatti.jpg);
}
@media screen and (max-width:480px) {
  .pelletteria {
    padding-bottom: 150px;
  }
  .img.pelletteria {
    background-image: url(../img/mob_pelletteria.jpg);
  }
  .img.legatoria {
    background-image: url(../img/mob_legatoria.jpg);
  }
}
.flip-box {
  background-color: transparent;
  width: 300px;
  height: 200px;
  perspective: 1000px;
}
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}
.flip-box-front, .flip-box-back {
  border-radius: 10px;
  padding: 20px;
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flip-box-front {
  background-color: #fff;
  color: black;
}
.flip-box-front h5 {
  font-size: 1.4em;
}
.flip-box-back {
  background-color: #ee4917;
  color: white;
  transform: rotateY(180deg);
}
@media screen and (max-width:480px) {
  .flip-box {
    width: 50%;
    height: 150px;
    float: left;
    padding: 2px;
  }
}
.bar-container {
  margin-bottom: 1.5rem;
}
.bar-container .label {
  margin-bottom: 0.3rem;
  font-weight: bold;
}
.bar-container .bar {
  height: 24px;
  background-color: #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
}
.bar-container .fill {
  height: 100%;
  color: white;
  text-align: right;
  padding-right: 10px;
  line-height: 24px;
  border-radius: 12px;
  background: linear-gradient(90deg, #4CAF50, #81C784);
  width: 0;
  animation: grow 3s ease-out forwards;
}
/* Keyframes per far crescere la barra */
@keyframes grow {
  from {
    width: 0;
  }
  to {
    width: var(--target-width);
  }
}
/* Ogni barra con una larghezza e un delay diversi */
.p40 {
  --target-width: 40%;
  animation-delay: 0.2s;
}
.p25 {
  --target-width: 25%;
  animation-delay: 0.4s;
}
.p20 {
  --target-width: 20%;
  animation-delay: 0.6s;
}
.p15 {
  --target-width: 15%;
  animation-delay: 0.8s;
}
body:has(.bar-section:is(:hover, :focus-within, :active)) .fill {
  animation-play-state: running;
}
.fotogallery {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
  height: auto;
}
.fotogallery a {
  height: 300px;
  display: inline-table;
}
.fotogallery .col-3 {
  padding: 0px;
}
.gallery {
  position: relative;
  width: 100%;
  height: 500px;
  margin: auto;
  overflow: hidden;
}
.gallery.shadow {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.gallery.bend {
  border-radius: 12px;
}
.gallery-slide {
  opacity: 0;
  transition: opacity 1s ease; /* durata dissolvenza */
  position: absolute; /* sovrappone le immagini */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.gallery-slide.active {
  opacity: 1;
  z-index: 1;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.dot.active {
  background-color: #333;
}
.icon-left {
  position: relative;
  padding-left: 55px; /* spazio per l'icona */
  min-height: 200px;
}
.icon-left::before {
  content: "";
  position: absolute;
  font-size: 10px;
  left: 0px;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
}
.icon-fabbrica::before {
  background-image: url(../images/icon-fabbrica.svg);
}
.icon-riciclo::before {
  background-image: url(../images/icon-riciclo.svg);
}
.icon-gas::before {
  background-image: url(../images/icon-gas.svg);
}
.icon-solvente::before {
  background-image: url(../images/icon-solvente.svg);
}
.video {
  width: 90%;
  height: auto;
}
@media screen and (max-width:480px) {
  .logo-akea {
    margin-bottom: 10px;
  }
  .fotogallery a {
    height: 200px;
  }
  .gallery {
    height: 300px;
  }
  .green {
    padding: 0px 20px 30px 20px;
  }
  .video {
    width: 100%;
  }
}