/*
* Template Name: Squadfree
* Template URL: https://bootstrapmade.com/squadfree-free-bootstrap-template-creative/
* Updated: Mar 17 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*dissolvenza inizio pagina*/

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 2s ease-in-out;
  z-index: 999; /* Impedisce che l'overlay copra gli altri elementi cliccabili */

  }
  

 .logoinizio {
    
  padding: 0;
  margin: 0;
  max-height: 300px;
  max-width: 300px;
  }
  
  
  .fade-in {
  opacity: 0;
  }
  
  .contentinizio {
  display: none;
  }

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body, html {
  overflow-x: hidden;  /* Prevenire il fuoriuscire dei contenuti orizzontali */
  margin: 0;           /* Evita margini indesiderati */
}


body {
  font-family: 'Montserrat', sans-serif;
  color: black
}

a {
text-decoration: none;
color: black
}

a:hover {
color: #f70000;
text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {font-family:"montserrat";font-weight: 400;}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
position: fixed;
visibility: hidden;
opacity: 0;
right: 35px;
bottom: 15px;
z-index: 998;
background:rgb(248, 237, 237);
width: 40px;
height: 40px;
border-radius: 50px;
transition: all 0.4s;
}

.back-to-top i {
font-size: 24px;
color: #000000;
line-height: 0;
}

.back-to-top i:hover {
  font-size: 24px;
  color: #ffffff;
  line-height: 0;
  }

.back-to-top:hover {
background: #000000;
color: #ffffff;
}

.back-to-top.active {
visibility: visible;
opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  padding: 0;
  background: #000000c9;
  box-shadow: 0 20px 10px rgba(0, 0, 0, 0.2);
}

#header .header-transparent {
background: #00000070;
opacity: 1;
}

#header.header-scrolled {
  background: rgba(0, 0, 0, 0.801);
  /* padding: 12px; */
}


#header.header-scrolled {
  padding: 7px 0;
}


.main-menu-traduzione a {
  color: white;
  text-decoration: underline;
}


.me-auto {
  margin-right: auto !important;
}

.container-header {
  padding: 5px 40px 1px 55px;

}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/

.img-fluid-contact {
  max-width: 85%;
  height: auto;
}

.img-fluid {
  max-width: 60%;
  height: auto;
}


.navbar {position: static;text-align: center;}

.top-bar {
  display: flex;
  justify-content: flex-end;  /* Allinea la bandierina a destra */
  padding: 1px 10px;
}

.flag img {
  width: 30px; /* Imposta la larghezza della bandierina */
  height: auto;
}

.top-bar .language-code {
  font-size: 16px;            /* Imposta la dimensione del testo */
  font-weight: bold;          /* Puoi fare la scritta "EN" più evidente */
  color: white               /* Colore della scritta, puoi cambiarlo a tuo piacimento */
}

.navbar ul {
margin: 0;
padding: 0;
display: flex;
list-style: none;
align-items: center;
}

.navbar li {
position: relative;
}

.navbar a,
.navbar a:focus {display: flex;align-items: center;justify-content: space-between;margin-left: 16px;font-family: sans-serif;font-size: 15px;font-weight: 500;color: #fff;white-space: nowrap;transition: 0.3s;}

.navbar a i,
.navbar a:focus i {
font-size: 12px;
line-height: 0;
margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
background: #b71919;

}

.navbar .dropdown ul {
display: block;
position: absolute;
left: 10px;
top: calc(100% + 30px);
margin: 0;
padding: 10px 0;
z-index: 99;
opacity: 0;
visibility: hidden;
background: rgba(0, 0, 0, 0.774);
box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
transition: 0.3s;
}

.navbar .dropdown ul li {
min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 5px 15px;
  font-size: 15px;
  text-transform: none;
  font-weight: 300;
  color: rgb(255, 255, 255);
}

.navbar .dropdown ul a i {
font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
color: black;
}

.navbar .dropdown:hover>ul {
opacity: 1;
top: 100%;
visibility: visible;
}

ul.logo-list {
list-style-type: none; /* Rimuove i bullet points */
padding: 0;
display: flex;
align-items: center; /* Allinea verticalmente gli elementi */
height: 100vh; /* Imposta l'altezza del contenitore a 100% dell'altezza del viewport */
justify-content: center; /* Allinea gli elementi al centro orizzontalmente */
margin: 0; /* Rimuove il margine predefinito */
}

ul {
margin-left:0%;
padding-left: 0;
}

li {display: list-item;/*align-items: center; /* Assicura che gli elementi all'interno del li siano centrati verticalmente 
justify-content: center; /* Allinea l'immagine orizzontalmente al centro */margin: 0;padding: 5px 10px;border-bottom: 1px solid #f70d0d;}


.navbar .megamenu {
position: static;
}

.navbar .megamenu ul {
margin: 0;
padding: 10px;
display: block;
position: absolute;
top: 130%;
left: 0;
right: 0;
visibility: hidden;
opacity: 0;
display: flex;
transition: 0.3s;
border-radius: 4px;
z-index: 99;
}

.navbar .megamenu ul li {
flex: 1;
}

.navbar .megamenu ul li strong {
padding: 10px 0 10px 20px;
display: block;
}

.navbar .megamenu ul li a,
.navbar .megamenu ul li:hover>a {
color: rgba(var(--color-white-rgb), 0.5);
background: none;
padding: 8px 10px;
}

.navbar .megamenu ul li a:hover,
.navbar .megamenu ul li .active,
.navbar .megamenu ul li .active:hover {
color: black
}

.navbar .megamenu:hover>ul {
opacity: 1;
top: 100%;
visibility: visible;
}

.navbar .dropdown .dropdown ul {
top: 0;
left: calc(100% - 30px);
visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
opacity: 1;
top: 0;
left: 100%;
visibility: visible;
}

@media (max-width: 1366px) {
.navbar .dropdown .dropdown ul {
  left: -90%;
}

.navbar .dropdown .dropdown:hover>ul {
  left: -100%;
}
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
color: #fff;
font-size: 28px;
cursor: pointer;
display: none;
line-height: 0;
transition: 0.5s;
}

@media (max-width: 1025px) {
.mobile-nav-toggle {
  display: block;
}
.navbar ul {
  display: none;  
}

}

@media (max-width: 760px){
.logo  {
  justify-content: center !important;
}
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 9999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 55px;
  right: 20px;
  color: white
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 0px;
  right: 15%;
  bottom: 15px;
  left: 0px;
  padding: 10px 0;
  background-color: #000000c9;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
padding: 10px 20px;
font-size: 15px;
color: #fff;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
color: rgb(255, 255, 255);
border: 2px solid #fff;;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: black
}

.navbar-mobile .dropdown ul li {
min-width: 200px;
}

.navbar-mobile .dropdown ul a {
padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
color: black;
}

.navbar-mobile .dropdown>.dropdown-active {
display: block;
}

.navbar-mobile .megamenu ul li a,
.navbar-mobile .megamenu ul li:hover>a {
color: rgba(var(--color-white-rgb), 0.5);
background: none;
}

.navbar-mobile .megamenu ul li a:hover,
.navbar-mobile .megamenu ul li .active,
.navbar-mobile .megamenu ul li .active:hover {
color: black;
}



/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {

overflow: hidden;

}

.section-bg {
background-color: rgb(0, 0, 0);
}

.section-title {
text-align: center;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 100;
}

/*.section-title h2::after {
content: "";
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 122px;
height: 66px;
background: white;
z-index: -1;
}*/

.section-title p {
margin-bottom: 0;
}


/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
background-color: #e3e3e3;
min-height: 40px;
padding-bottom: 15px;
padding-top: 30px;
}

.breadcrumbs h2 {
font-size: 24px;
font-weight: 300;
}

.breadcrumbs ol {
display: flex;
flex-wrap: wrap;
list-style: none;
padding: 0;
margin: 0;
font-size: 14px;
font-style: italic;
}

.breadcrumbs ol li+li {
padding-left: 10px;
}

.breadcrumbs ol li+li::before {
display: inline-block;
padding-right: 10px;
color: #6c757d;
content: "/";
}

.breadcrumbs a.active {
  color: red; /* Cambia il colore del link quando è attivo */
  text-decoration: underline;
}

@media (max-width: 998px) {
.breadcrumbs .d-flex {
  display: block !important;
}

.breadcrumbs ol {
  display: block;
  padding: 20px;
}

.breadcrumbs ol li {
  display: inline-block;
}
}

/* Stile per la sezione */
.simple-section {
  padding: 15px;
  background-color: #0000001f;
  width: 60%;
  box-shadow: 11px 13px 0px 0px rgb(169 169 169 / 75%);
}



@media (max-width: 1025px) {
  .simple-section {
    width:auto;
  }
  }

 
.container {
  width: 100%;  /* Imposta la larghezza della sezione */
  margin: 0 auto; /* Centra il contenuto */
}

.section-title {
  font-size: 25px; /* Imposta la dimensione del titolo */
  font-weight: bold; /* Rende il titolo in grassetto */
  color: #444343; /* Colore del titolo */
  text-align: left; /* Allinea il titolo a sinistra */
}

.section-paragraph {
  font-size: 16px; /* Imposta la dimensione del testo del paragrafo */
  color: #555; /* Colore del testo del paragrafo */
  line-height: 1.6; /* Imposta l'altezza della linea per una migliore leggibilità */
  text-align: left; /* Allinea il paragrafo a sinistra */

}


.read-more {
  background: #b71919;
  color: black;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 10px 28px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

 .read-more:hover i {
  transform: translate(5px, 0);
}

/* Stili per lo sfondo della slide */
.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transition: transform 0.5s ease-in-out;
}

/* Contenuto interno della slide */
.slide-inner {
  position: relative;
  z-index: 2;
}

/* Animazione di zoom per il contenuto della slide */
.slide-content.animated.fadeIn {
  animation: fadeInAnimation 1s ease-in-out;
}

/* Definizione dell'animazione fadeIn */
@keyframes fadeInAnimation {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Stile per la descrizione del contenuto della slide */
.slide-description {
  font-size: 1.2rem;
  color: #fff; /* Colore del testo */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Ombra per migliorare la leggibilità */
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
background: url("../img/background-white.png") center center no-repeat;
background-size: cover;
padding: 20px 0;
position: relative;
margin-top: 104px;
}


.about::before {
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
/*background: rgba(255, 255, 255, 0.75);*/
z-index: 9;
}

.about .quality .container {
position: relative;
z-index: 10;  
}

.about .content .quality {
padding: 0;
font-family: sans-serif;
}

.about .content h3 {
font-weight: 700;
font-size: 20px;
color: #ef1313;
margin-bottom: 10px;
padding: 15px
}

.about p {
  margin-bottom: 15px;
  margin: 0;
  padding: 10px;
  text-align: justify;
}

.quality p {
  margin-bottom: 15px;
  margin: 0;
  padding: 15px;
  text-align: justify;
}

b { font-size: medium
}  

strong {font-size: large;color:#000000b7;}

.about .quality .content {
display: inline-block;
background: black;
padding: 6px 44px 8px 30px;
color:rgb(255, 241, 241);
border-radius: 50px;
transition: 0.3s;
position: relative;
}

.about-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  text-decoration: none;
  border: 1px solid black;
  border-radius: 30px;
  cursor: pointer;
}

.about .quality .content .about-btn i {
font-size: 18px;
position: absolute;
right: 18px;
top: 9px;
}

.about .content .about-btn:hover {
background: black


}
.about-btn {margin-top:-15px;}

.about .quality .icon-boxes .icon-box {
margin-top: 30px;
}

.about .quality .icon-boxes .icon-box i {
font-size: 40px;
color: black;
margin-bottom: 10px;
}

.about .quality .icon-boxes .icon-box h4 {
font-size: 20px;
font-weight: 700;
margin: 0 0 10px 0;
}

.about .quality .icon-boxes .icon-box p {
font-size: 15px;
color: black;
}

@media (max-width: 1200px) {
.about .content {
  display: 0;
}
}

@media (max-width: 768px) {
.about {
  text-align: center;
}
}

/*--------------------------------------------------------------
  # intro-Section
  --------------------------------------------------------------*/
  .intro .center h3 {
    font-weight: 500;
    font-size: 30px;
    text-align: left !important
  }
  
  
  .intro .center p {
    margin-bottom: 30px;
    text-align: justify;
  }
  
  .intro .center .intro-btn {
    color: black;
    border-radius: 50px;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #b71919d9;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
}
  .intro .center .intro-btn i {
    font-size: 16px;
    padding-left: 5px;
  }
  
  .intro .center .intro-btn:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
  }
  
  .intro .icon-box i {
    font-size: 40px;
    color: #b71919d9;
    margin-bottom: 10px;
  }
  
  .intro .icon-box h4 {
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 10px 0;
  }
  
  .intro .icon-box h4 a {
    color: var(--heading-color);
    transition: 0.3s;
  }
  
  .intro .icon-box p {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 0;
  }
  
  .intro .icon-box:hover h4 a {
    color: var(--accent-color);
  }

  /*--------------------------------------------------------------
# Sections-intro
--------------------------------------------------------------*/

.section-intro {
  color: var(--default-color);
  background-color: #0000000d;
  padding: 40px;
  scroll-margin-top: 74px;
  overflow: clip;
  background: linear-gradient(rgb(255 255 255), rgb(255 255 255 / 42%)), url(../img/Body/cta-bg.jpg) fixed center center;
  background-size: cover;
}

@media (max-width: 1199px) {

  
  .section-intro {
    scroll-margin-top: 82px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title-top {
  padding-bottom: 60px;
  position: relative;
  text-align: left !important;
}

.section-title-top h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: black;
  position: relative;
}

.section-title-top h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: rgb(173, 0, 0);
  margin: 4px 10px;
}

.section-title-top div {
  color: black;
  margin:0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.carousel-caption {
 
  animation: fadeInUp 1s both 0.7s;
  /*background-color: #00000061;*/
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title-top,
.section-title-top-2 {
  padding-bottom: 60px;
  position: relative;
  text-align: left !important;
}

.section-title-top h2,
.section-title-top-2 h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: black;
  position: relative;
}

.section-title-top h2::after,
.section-title-top-2 h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: rgb(173, 0, 0);
  margin: 4px 10px;
}

.section-title-top div,
.section-title-top-2 div {
  color: black;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.carousel-caption,
.carousel-caption-2 {
  animation: fadeInUp 1s both 0.7s;
  /* background-color: #00000061; */
}

/*--------------------------------------------------------------
# Services Section (duplicato con -2)
--------------------------------------------------------------*/
/* Mappa inizialmente nascosta */
#map-container {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;
}

/* Mappa visibile */
#map-container.show {
  opacity: 1;
  max-height: 800px; /* sufficiente per l’altezza dell’immagine */
  margin-top: 15px;
}

.services-top .service-item-top,
.services-top-2 .service-item-top-2 {
  text-align: center;
  padding: 20px 5px 10px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.services-top .service-item-top .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #b71919;
  box-shadow: -9px -5px 0px 0 rgb(189 189 189);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.services-top-2 .service-item-top-2 .icon-2 {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    background: #d9d5d5;
    box-shadow: -9px -5px 0px 0 rgb(191 4 4 / 74%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    transform-style: preserve-3d;
}

.services-top .service-item-top .icon i,
.services-top-2 .service-item-top-2 .icon-2 i {
  color: black;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services-top .service-item-top .icon::before,
.services-top-2 .service-item-top-2 .icon-2::before {
  position: absolute;
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services-top .service-item-top h3,
.services-top-2 .service-item-top-2 h3 {
  margin: 10px 0 15px 0;
  font-size: 20px;
}

.services-top .service-item-top p,
.services-top-2 .service-item-top-2 p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  text-align: center;
}

.services-top .service-item-top:hover,
.services-top-2 .service-item-top-2:hover {
  background: #b71919;
  border-color: black;
}

.services-top .service-item-top:hover .icon,
.services-top-2 .service-item-top-2:hover .icon-2 {
  background: white;
}

.services-top .service-item-top:hover .icon i,
.services-top-2 .service-item-top-2:hover .icon-2 i {
  color: #b71919;
}

.services-top .service-item-top:hover .icon::before,
.services-top-2 .service-item-top-2:hover .icon-2::before {
  background: #b71919;
}

.services-top .service-item-top:hover h3,
.services-top .service-item-top:hover p,
.services-top-2 .service-item-top-2:hover h3,
.services-top-2 .service-item-top-2:hover p {
  color: white;
}

/*--------------------------------------------------------------
# Section Top (originale e -2)
--------------------------------------------------------------*/
.section-top,
.section-top-2 {
  color: white;
  padding: 60px 0;
  scroll-margin-top: 87px;
  overflow: clip;
}

@media (max-width: 1199px) {
  .section-top,
  .section-top-2 {
    scroll-margin-top: 63px;
  }
}

/*--------------------------------------------------------------
# Custom column size
--------------------------------------------------------------*/
@media (min-width: 514px) {
  .col-lg-16 {
    flex: 0 0 auto;
    width: 33%;
  }
}

@media (max-width: 513px) {
  .col-lg-16 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 1460px) {
  .col-lg-16 {
    flex: 0 0 auto;
    width: 16%;
    flex: 1;
    padding: 0 10px;
  }
}

/*--------------------------------------------------------------
# slide-2
--------------------------------------------------------------*/
.col-md-4 h2 {
    font-size: 15px;
    margin-bottom: 10px;
    text-align: left;
    color: #b71919;
    font-weight: 500 !important;
    }

.col-md-4 h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.text-carousel {
  width: 100%;
  padding: 25px;
  text-align: center;
  /* box-shadow: -1px 0px 10px 3px rgb(16 7 7 / 38%); */
}
.border-slide {
    box-shadow: -3px 3px 17px 6px rgb(0 0 0 / 17%);
}
/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services {
  padding: 20px;
  position: static;
  overflow: hidden;
  background: #ededed;;
  z-index: 1;
  flex:1
  }

 .icon-box-plants {
  padding: 1px;
  position: relative;
  overflow: hidden;
  background:#ffffff;
  box-shadow: 0 0 15px 0 rgb(46 50 60 / 39%);
  transition: all 0.3s ease-in-out;
  border-radius: 25px;
  z-index: 1;
  flex:1
  }

@media (max-width: 768px) {
.icon-box {
  text-align: center;
  flex: 1;
}
}

.services .icon-boxa::before {
content: "";
position: absolute;
background: white;
right: 0;
left: 0;
bottom: 0;
top: 100%;
transition: all 0.3s;
z-index: -1;
}
.services .icon-boxb::before {
content: "";
position: absolute;
background: white;
right: 0;
left: 0;
bottom: 0;
top: 100%;
transition: all 0.3s;
z-index: -1;
}
.services .icon-boxc::before {
content: "";
position: absolute;
background: white;
right: 0;
left: 0;
bottom: 0;
top: 100%;
transition: all 0.3s;
z-index: -1;
}
.services .icon-boxd::before {
content: "";
position: absolute;
background: white;
right: 0;
left: 0;
bottom: 0;
top: 100%;
transition: all 0.3s;
z-index: -1;
}
.services .icon-boxe::before {
content: "";
position: absolute;
background: white;
right: 0;
left: 0;
bottom: 0;
top: 100%;
transition: all 0.3s;
z-index: -1;
}

.services .icon-boxa:hover::before {
background: #d80d0d;
top: 0;
border-radius: 0px;
}
.services .icon-boxb:hover::before {
background: #61c212;
top: 0;
border-radius: 0px;
}
.services .icon-boxc:hover::before {
background: #1688a5;
top: 0;
border-radius: 0px;
}
.services .icon-boxd:hover::before {
background: #2167b8;
top: 0;
border-radius: 0px;
}
.services .icon-boxe:hover::before {
background: #ffee00;
top: 0;
border-radius: 0px;
}


.services .icon {
margin-bottom: 15px;
text-align: center;
}

.services .icon i {
font-size: 40px;
line-height: 1;
color: black;
transition: all 0.3s ease-in-out;
}

@media (min-width: 992px) {
.services-allineamento {
flex: 1;
width: 25%;
 }
}


.services .title {
font-weight: 700;
margin-bottom: 15px;
font-size: 15px;
text-align: center;
}

.services .title a {
color: #111;
}
.plant-li {
text-align:left;
font-size: small;
}

.services .description {
font-size: 10px;
line-height: 28px;
margin-bottom: 0;
text-align: center;
}

.services .icon-box:hover .title a,
.services .icon-box:hover .description {
color: #fff;
}

.services .icon-box:hover .icon i {
color: #fff;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/


.counts {
  padding: 30px;
  width: 100%;
  overflow-x: hidden;
  margin-bottom: 30px;
  }

.count-box {
padding: 30px;
width: 100%;
margin-left: 25px;
}


.counts .count-box i {
display: block;
font-size: 44px;
color: rgb(255, 255, 255);
float: left;
line-height: 0;
}

.counts .count-box span {
font-size: 48px;
line-height: 40px;
display: block;
font-weight: 700;
color: rgb(255, 255, 255);
margin-left: 60px;
}

.counts .count-box p {
padding: 15px 0 0 0;
margin: 0 0 0 60px;
font-family: "Raleway", sans-serif;
font-size: 14px;
color: rgb(255, 255, 255);
}

.counts .count-box a {
font-weight: 600;
display: block;
margin-top: 20px;
color: rgb(255, 255, 255);
font-size: 15px;
font-family: "Poppins", sans-serif;
transition: ease-in-out 0.3s;
}

.counts .count-box a:hover {
color: black;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgb(213 227 233 / 80%), rgb(175 148 153 / 80%)), url(../img/Body/cta-bg.jpg) fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
color: #fff;
font-size: 28px;
font-weight: 700;
}

.cta p {
color: #fff;
}

.cta .cta-btn {
font-family: "Raleway", sans-serif;
text-transform: uppercase;
font-weight: 500;
font-size: 16px;
letter-spacing: 1px;
display: inline-block;
padding: 8px 28px;
border-radius: 25px;
transition: 0.5s;
margin-top: 10px;
border: 2px solid rgba(255, 255, 255, 0.5);
color: #fff;
}

.cta .cta-btn:hover {
border-color: #fff;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio {
margin-bottom: 30px;
background-color: white;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 45px auto;
  list-style: none;
  text-align: left;
  color: rgb(97 97 97 / 82%);
  padding: 2px 7px;
  font-size: 35px;
  font-weight: 200;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 6px 8px 15px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: black;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
color: rgb(204, 6, 6);
}

.portfolio #portfolio-flters li:last-child {
margin-right: 0;
}

.portfolio .portfolio-wrap {
transition: 0.3s;
position: relative;
overflow: hidden;
z-index: 1;
}

.portfolio .portfolio-wrap::before {
content: "";
background: rgba(255, 255, 255, 0.5);
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
transition: all ease-in-out 0.3s;
z-index: 2;
opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
opacity: 1;
left: 0;
right: 0;
bottom: -60px;
z-index: 3;
position: absolute;
transition: all ease-in-out 0.3s;
display: flex;
justify-content: center;
}

.portfolio .portfolio-wrap .portfolio-links a {
color: #fff;
font-size: 28px;
text-align: center;
background: rgba(146, 152, 155, 0.75);
transition: 0.3s;
width: 50%;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
background: rgba(103, 176, 209, 0.95);
}

.portfolio .portfolio-wrap .portfolio-links a+a {
border-left: 1px solid #8ec4dd;
}

.portfolio .portfolio-wrap:hover::before {
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-links {
opacity: 1;
bottom: 0;
}


/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
padding-top: 40px;


}

.portfolio-background {  /*sfondo stabilimenti img*/
  background-color: black;
  }

.portfolio-details .portfolio-details-slider img {
width: 80%;
text-align: center;
box-shadow: -16px -20px 9px rgb(0 0 0 / 35%);

}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  box-shadow: -20px -11px 0px 0px rgb(177 177 177 / 68%);
}


.portfolio-details  .portfolio-details-slider .swiper-pagination {
margin-top: 20px;
position: relative;
}

.size {
 width: 30%;
  }


.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
width: 12px;
height: 12px;
background-color: #fff;
opacity: 1;
border: 1px solid black;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
background-color: black;
}

.portfolio-details .portfolio-info {
box-shadow: 0px 0 30px rgba(47, 77, 90, 0.08);
background-color: #8b7f7f14;
}

  

.portfolio-details .portfolio-info h3 {
font-size: 20px;
font-weight: 700;
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #eee;
text-align:center
}

.portfolio-details .portfolio-info ul {
list-style: none;
padding: 0;
font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
margin-top: 1px;
}

.portfolio-details .portfolio-description {
padding-top: 2px;
text-align: justify;
}

.portfolio-details .portfolio-description h2 {
font-size: 20px;
margin-bottom: 10px;
}



.portfolio-details .portfolio-description p {
padding: 0;
}

.description-prod-cont {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgb(235 6 6 / 23%);
  color: white;
  padding: 10px;
  border-radius: 5px;
  width: 45%;
  margin-left: 60%;
}

  .descrizione-h1 {
    font-size: small;
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgb(235 6 6 / 23%);
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 45%;
    margin-left: 60%;
  }


/* ==============================================================
   GENERAL
   ============================================================== */

html,
body {
  overflow-x: hidden;
  margin: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #000;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  color: #f70000;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}


/* ==============================================================
   INTRO OVERLAY
   ============================================================== */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 2s ease-in-out;
  z-index: 999;
}

.logoinizio {
  padding: 0;
  margin: 0;
  max-height: 300px;
  max-width: 300px;
}

.fade-in {
  opacity: 0;
}

.contentinizio {
  display: none;
}


/* ==============================================================
   BACK TO TOP
   ============================================================== */

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 35px;
  bottom: 15px;
  z-index: 998;
  background: rgb(248, 237, 237);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #000;
  line-height: 0;
}

.back-to-top:hover {
  background: #000;
  color: #fff;
}

.back-to-top i:hover {
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}


/* ==============================================================
   HEADER
   ============================================================== */

#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 0;
  background: #000000c9;
  box-shadow: 0 20px 10px rgba(0, 0, 0, 0.2);
}

#header .header-transparent {
  background: #00000070;
  opacity: 1;
}

#header.header-scrolled {
  background: rgba(0, 0, 0, 0.801);
  padding: 7px 0;
}

.container-header {
  padding: 5px 40px 1px 55px;
}

.logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.img-fluid-header {
  width: 230px;
  height: auto;
  display: block;
}

.img-fluid-contact {
  max-width: 85%;
  height: auto;
}

.img-fluid {
  max-width: 60%;
  height: auto;
}

.img-logodet {
  max-width: 30%;
  height: auto;
  margin-left: 35%;
}

.me-auto {
  margin-right: auto !important;
}


/* ==============================================================
   NAVIGATION
   ============================================================== */

.navbar {
  position: static;
  text-align: center;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 16px;
  font-family: sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  background: #b71919;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 10px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.774);
  box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 5px 15px;
  font-size: 15px;
  text-transform: none;
  font-weight: 300;
  color: #fff;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: #000;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .megamenu {
  position: static;
}

.navbar .megamenu ul {
  margin: 0;
  padding: 10px;
  display: flex;
  position: absolute;
  top: 130%;
  left: 0;
  right: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  border-radius: 4px;
  z-index: 99;
}

.navbar .megamenu ul li {
  flex: 1;
}

.navbar .megamenu ul li strong {
  padding: 10px 0 10px 20px;
  display: block;
}

.navbar .megamenu ul li a,
.navbar .megamenu ul li:hover > a {
  color: rgba(var(--color-white-rgb), 0.5);
  background: none;
  padding: 8px 10px;
}

.navbar .megamenu ul li a:hover,
.navbar .megamenu ul li .active,
.navbar .megamenu ul li .active:hover {
  color: #000;
}

.navbar .megamenu:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

.main-menu-traduzione a {
  color: #fff;
  text-decoration: underline;
}

.top-bar {
  display: flex;
  justify-content: flex-end;
  padding: 1px 10px;
}

.flag img {
  width: 30px;
  height: auto;
}

.top-bar .language-code {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}


/* ==============================================================
   MOBILE NAVIGATION
   ============================================================== */

.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 55px;
  right: 20px;
  color: #fff;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 0;
  right: 15%;
  bottom: 15px;
  left: 0;
  padding: 10px 0;
  background-color: #000000c9;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #fff;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #fff;
  border: 2px solid #fff;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #000;
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: #000;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

.navbar-mobile .megamenu ul li a,
.navbar-mobile .megamenu ul li:hover > a {
  color: rgba(var(--color-white-rgb), 0.5);
  background: none;
}

.navbar-mobile .megamenu ul li a:hover,
.navbar-mobile .megamenu ul li .active,
.navbar-mobile .megamenu ul li .active:hover {
  color: #000;
}


/* ==============================================================
   GENERIC ELEMENTS
   ============================================================== */

ul {
  margin-left: 0;
  padding-left: 0;
}

li {
  display: list-item;
  margin: 0;
  padding: 5px 10px;
  border-bottom: 1px solid #f70d0d;
}

figure {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

figcaption {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

b {
  font-size: large;
  color: red;
}

strong {
  font-size: large;
  color: #000000b7;
}

.text-right {
  text-align: right;
}

.texto {
  text-align: left;
}


/* ==============================================================
   SECTIONS
   ============================================================== */

section {
  overflow: hidden;
}

.section-bg {
  background-color: #000;
}

.section-title {
  text-align: center;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 100;
}

.section-title p {
  margin-bottom: 0;
}

.simple-section {
  padding: 15px;
  background-color: #0000001f;
  width: 60%;
  box-shadow: 11px 13px 0 0 rgb(169 169 169 / 75%);
}

.section-paragraph {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  text-align: left;
}


/* ==============================================================
   BREADCRUMBS
   ============================================================== */

.breadcrumbs {
  background-color: #e3e3e3;
  min-height: 40px;
  padding: 30px 0 15px;
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-style: italic;
}

.breadcrumbs ol li {
  border-bottom: none;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

.breadcrumbs a.active {
  color: red;
  text-decoration: underline;
}


/* ==============================================================
   ABOUT
   ============================================================== */

.about {
  background: url("../img/background-white.png") center center no-repeat;
  background-size: cover;
  padding: 20px 0;
  position: relative;
  margin-top: 104px;
}

.about::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 9;
}

.about .quality .container {
  position: relative;
  z-index: 10;
}

.about .content .quality {
  padding: 0;
  font-family: sans-serif;
}

.about .content h3 {
  font-weight: 700;
  font-size: 20px;
  color: #ef1313;
  margin-bottom: 10px;
  padding: 15px;
}

.about p {
  margin: 0 0 15px;
  padding: 10px;
  text-align: justify;
}

.quality p {
  margin: 0 0 15px;
  padding: 15px;
  text-align: justify;
}

.about .quality .content {
  display: inline-block;
  background: #000;
  padding: 6px 44px 8px 30px;
  color: rgb(255, 241, 241);
  border-radius: 50px;
  transition: 0.3s;
  position: relative;
}

.about-btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: -15px;
  background-color: #fff;
  color: #000;
  text-align: center;
  text-decoration: none;
  border: 1px solid #000;
  border-radius: 30px;
  cursor: pointer;
}

.about .quality .content .about-btn i {
  font-size: 18px;
  position: absolute;
  right: 18px;
  top: 9px;
}

.about .content .about-btn:hover {
  background: #000;
}

.about .quality .icon-boxes .icon-box {
  margin-top: 30px;
}

.about .quality .icon-boxes .icon-box i {
  font-size: 40px;
  color: #000;
  margin-bottom: 10px;
}

.about .quality .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.about .quality .icon-boxes .icon-box p {
  font-size: 15px;
  color: #000;
}


/* ==============================================================
   INTRO
   ============================================================== */

.intro .center h3 {
  font-weight: 500;
  font-size: 30px;
  text-align: left !important;
}

.intro .center p {
  margin-bottom: 30px;
  text-align: justify;
}

.intro .center .intro-btn {
  color: #000;
  border-radius: 50px;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #b71919d9;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.intro .center .intro-btn i {
  font-size: 16px;
  padding-left: 5px;
}

.intro .center .intro-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.intro .icon-box i {
  font-size: 40px;
  color: #b71919d9;
  margin-bottom: 10px;
}

.intro .icon-box h4 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 10px;
}

.intro .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.intro .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

.intro .icon-box:hover h4 a {
  color: var(--accent-color);
}


/* ==============================================================
   SECTION TITLES
   ============================================================== */

.section-title-top,
.section-title-top-2 {
  padding-bottom: 60px;
  position: relative;
  text-align: left !important;
}

.section-title-top h2,
.section-title-top-2 h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000;
  position: relative;
}

.section-title-top h2::after,
.section-title-top-2 h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: rgb(173, 0, 0);
  margin: 4px 10px;
}

.section-title-top div,
.section-title-top-2 div {
  color: #000;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.carousel-caption,
.carousel-caption-2 {
  animation: fadeInUp 1s both 0.7s;
}


/* ==============================================================
   SERVICES TOP
   ============================================================== */

#map-container {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;
}

#map-container.show {
  opacity: 1;
  max-height: 800px;
  margin-top: 15px;
}

.services-top .service-item-top,
.services-top-2 .service-item-top-2 {
  text-align: center;
  padding: 20px 5px 10px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.services-top .service-item-top .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #b71919;
  box-shadow: -9px -5px 0 0 rgb(189 189 189);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.services-top-2 .service-item-top-2 .icon-2 {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #d9d5d5;
  box-shadow: -9px -5px 0 0 rgb(191 4 4 / 74%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.services-top .service-item-top .icon i,
.services-top-2 .service-item-top-2 .icon-2 i {
  color: #000;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services-top .service-item-top .icon::before,
.services-top-2 .service-item-top-2 .icon-2::before {
  position: absolute;
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services-top .service-item-top h3,
.services-top-2 .service-item-top-2 h3 {
  margin: 10px 0 15px;
  font-size: 20px;
}

.services-top .service-item-top p,
.services-top-2 .service-item-top-2 p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  text-align: center;
}

.services-top .service-item-top:hover,
.services-top-2 .service-item-top-2:hover {
  background: #b71919;
  border-color: #000;
}

.services-top .service-item-top:hover .icon,
.services-top-2 .service-item-top-2:hover .icon-2 {
  background: #fff;
}

.services-top .service-item-top:hover .icon i,
.services-top-2 .service-item-top-2:hover .icon-2 i {
  color: #b71919;
}

.services-top .service-item-top:hover .icon::before,
.services-top-2 .service-item-top-2:hover .icon-2::before {
  background: #b71919;
}

.services-top .service-item-top:hover h3,
.services-top .service-item-top:hover p,
.services-top-2 .service-item-top-2:hover h3,
.services-top-2 .service-item-top-2:hover p {
  color: #fff;
}


/* ==============================================================
   SECTION TOP
   ============================================================== */

.section-top,
.section-top-2 {
  color: #fff;
  padding: 60px 0;
  scroll-margin-top: 87px;
  overflow: clip;
}


/* ==============================================================
   CUSTOM COLUMNS
   ============================================================== */

@media (min-width: 514px) {
  .col-lg-16 {
    flex: 0 0 auto;
    width: 33%;
  }
}

@media (max-width: 513px) {
  .col-lg-16 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 1460px) {
  .col-lg-16 {
    flex: 1;
    width: 16%;
    padding: 0 10px;
  }
}

.col-lg-25 {
  flex: 0 0 auto;
  width: 25%;
}


/* ==============================================================
   CAROUSEL / SLIDES
   ============================================================== */

.col-md-4 h2 {
  font-size: 15px;
  margin-bottom: 10px;
  text-align: left;
  color: #b71919;
  font-weight: 500 !important;
}

.col-md-4 h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.text-carousel {
  width: 100%;
  padding: 25px;
  text-align: center;
}

.border-slide {
  box-shadow: -3px 3px 17px 6px rgb(0 0 0 / 17%);
}

.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transition: transform 0.5s ease-in-out;
}

.slide-inner {
  position: relative;
  z-index: 2;
}

.slide-content.animated.fadeIn {
  animation: fadeInAnimation 1s ease-in-out;
}

.slide-description {
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

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

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


/* ==============================================================
   SERVICES
   ============================================================== */

.services {
  padding: 20px;
  position: static;
  overflow: hidden;
  background: #ededed;
  z-index: 1;
  flex: 1;
}

.icon-box-plants {
  padding: 1px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 15px 0 rgb(46 50 60 / 39%);
  transition: all 0.3s ease-in-out;
  border-radius: 25px;
  z-index: 1;
  flex: 1;
}

.services .icon {
  margin-bottom: 15px;
  text-align: center;
}

.services .icon i {
  font-size: 40px;
  line-height: 1;
  color: #000;
  transition: all 0.3s ease-in-out;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 15px;
  text-align: center;
}

.services .title a {
  color: #111;
}

.services .description {
  font-size: 10px;
  line-height: 28px;
  margin-bottom: 0;
  text-align: center;
}

.plant-li {
  text-align: left;
  font-size: small;
}

.services .icon-boxa::before,
.services .icon-boxb::before,
.services .icon-boxc::before,
.services .icon-boxd::before,
.services .icon-boxe::before {
  content: "";
  position: absolute;
  background: #fff;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.services .icon-boxa:hover::before {
  background: #d80d0d;
  top: 0;
  border-radius: 0;
}

.services .icon-boxb:hover::before {
  background: #61c212;
  top: 0;
  border-radius: 0;
}

.services .icon-boxc:hover::before {
  background: #1688a5;
  top: 0;
  border-radius: 0;
}

.services .icon-boxd:hover::before {
  background: #2167b8;
  top: 0;
  border-radius: 0;
}

.services .icon-boxe:hover::before {
  background: #ffee00;
  top: 0;
  border-radius: 0;
}

.services .icon-box:hover .title a,
.services .icon-box:hover .description {
  color: #fff;
}

.services .icon-box:hover .icon i {
  color: #fff;
}

.services-allineamento {
  flex: 1;
  width: 25%;
}


/* ==============================================================
   COUNTS
   ============================================================== */

.counts {
  padding: 30px;
  width: 100%;
  overflow-x: hidden;
  margin-bottom: 30px;
}

.count-box {
  padding: 30px;
  width: 100%;
  margin-left: 25px;
}

.counts .count-box i {
  display: block;
  font-size: 44px;
  color: #fff;
  float: left;
  line-height: 0;
}

.counts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #fff;
  margin-left: 60px;
}

.counts .count-box p {
  padding: 15px 0 0;
  margin: 0 0 0 60px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #fff;
}

.counts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #fff;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.counts .count-box a:hover {
  color: #000;
}


/* ==============================================================
   CTA
   ============================================================== */

.cta {
  background:
    linear-gradient(rgb(213 227 233 / 80%), rgb(175 148 153 / 80%)),
    url(../img/Body/cta-bg.jpg) fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta .cta-btn:hover {
  border-color: #fff;
}


/* ==============================================================
   PORTFOLIO
   ============================================================== */

.portfolio {
  margin-bottom: 30px;
  padding: 25px;
  background-color: #fff;
}

.portfolio #portfolio-flters {
  padding: 2px 7px;
  margin: 0 auto 45px;
  list-style: none;
  text-align: left;
  color: rgb(97 97 97 / 82%);
  font-size: 35px;
  font-weight: 200;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 6px 8px 15px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: rgb(204 6 6);
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap,
.portfolio-wrap {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: 0.3s;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  opacity: 1;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: center;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  font-size: 28px;
  text-align: center;
  background: rgba(146, 152, 155, 0.75);
  transition: 0.3s;
  width: 50%;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: rgba(103, 176, 209, 0.95);
}

.portfolio .portfolio-wrap .portfolio-links a + a {
  border-left: 1px solid #8ec4dd;
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: 0;
}

.portfolio-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.portfolio-item {
  margin-bottom: 30px;
}

.img-portfolio {
  max-width: 100%;
  height: 120px;
}

.img-evidenza {
  max-width: 100%;
  height: auto;
}

.p1 {
  position: absolute;
}


/* ==============================================================
   PORTFOLIO DETAILS
   ============================================================== */

.portfolio-details {
  padding-top: 40px;
}

.portfolio-background {
  background-color: #000;
}

.portfolio-details .portfolio-details-slider img {
  width: 80%;
  text-align: center;
  box-shadow: -16px -20px 9px rgb(0 0 0 / 35%);
}

.portfolio-details .portfolio-info {
  box-shadow: 0 0 30px rgba(47, 77, 90, 0.08);
  background-color: #8b7f7f14;
}

.portfolio-details .portfolio-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  box-shadow: -20px -11px 0 0 rgb(177 177 177 / 68%);
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 1px;
}

.portfolio-details .portfolio-description {
  padding-top: 2px;
  text-align: justify;
}

.portfolio-details .portfolio-description h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.description-prod-cont,
.descrizione-h1 {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgb(235 6 6 / 23%);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  width: 45%;
  margin-left: 60%;
}

.descrizione-h1 {
  font-size: small;
}


css
/* ==============================================================
   GENERAL
   ============================================================== */

html,
body {
  overflow-x: hidden;
  margin: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #000;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  color: #f70000;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}


/* ==============================================================
   INTRO OVERLAY
   ============================================================== */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 2s ease-in-out;
  z-index: 999;
}

.logoinizio {
  padding: 0;
  margin: 0;
  max-height: 300px;
  max-width: 300px;
}

.fade-in {
  opacity: 0;
}

.contentinizio {
  display: none;
}


/* ==============================================================
   BACK TO TOP
   ============================================================== */

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 35px;
  bottom: 15px;
  z-index: 998;
  background: rgb(248, 237, 237);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #000;
  line-height: 0;
}

.back-to-top:hover {
  background: #000;
  color: #fff;
}

.back-to-top i:hover {
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}


/* ==============================================================
   HEADER
   ============================================================== */

#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 0;
  background: #000000c9;
  box-shadow: 0 20px 10px rgba(0, 0, 0, 0.2);
}

#header .header-transparent {
  background: #00000070;
  opacity: 1;
}

#header.header-scrolled {
  background: rgba(0, 0, 0, 0.801);
  padding: 7px 0;
}

.container-header {
  padding: 5px 40px 1px 55px;
}

.logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.img-fluid-header {
  width: 230px;
  height: auto;
  display: block;
}

.img-fluid-contact {
  max-width: 85%;
  height: auto;
}

.img-fluid {
  max-width: 60%;
  height: auto;
}

.img-logodet {
  max-width: 30%;
  height: auto;
  margin-left: 35%;
}

.me-auto {
  margin-right: auto !important;
}

.main-menu-traduzione a {
  color: #fff;
  text-decoration: underline;
}

.top-bar {
  display: flex;
  justify-content: flex-end;
  padding: 1px 10px;
}

.flag img {
  width: 30px;
  height: auto;
}

.top-bar .language-code {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}


/* ==============================================================
   NAVIGATION
   ============================================================== */

.navbar {
  position: static;
  text-align: center;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 16px;
  font-family: sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  background: #b71919;
}


/* ==============================================================
   DESKTOP DROPDOWN
   ============================================================== */

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 10px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.774);
  box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 5px 15px;
  margin-left: 0;
  font-size: 15px;
  text-transform: none;
  font-weight: 300;
  color: #fff;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: #000;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}


/* ==============================================================
   MEGAMENU
   ============================================================== */

.navbar .megamenu {
  position: static;
}

.navbar .megamenu ul {
  margin: 0;
  padding: 10px;
  display: flex;
  position: absolute;
  top: 130%;
  left: 0;
  right: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  border-radius: 4px;
  z-index: 99;
}

.navbar .megamenu ul li {
  flex: 1;
}

.navbar .megamenu ul li strong {
  padding: 10px 0 10px 20px;
  display: block;
}

.navbar .megamenu ul li a,
.navbar .megamenu ul li:hover > a {
  color: rgba(var(--color-white-rgb), 0.5);
  background: none;
  padding: 8px 10px;
}

.navbar .megamenu ul li a:hover,
.navbar .megamenu ul li .active,
.navbar .megamenu ul li .active:hover {
  color: #000;
}

.navbar .megamenu:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}


/* ==============================================================
   MOBILE NAVIGATION
   ============================================================== */

.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.navbar-mobile {
  position: fixed !important;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  transition: 0.3s;
  z-index: 99999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 55px;
  right: 20px;
  color: #fff;
  z-index: 100000;
}


/*
   IMPORTANTE:
   display:block !important evita che la regola
   .navbar ul { display:none; } della modalità responsive
   nasconda nuovamente il menu.
*/

.navbar-mobile > ul {
  display: block !important;
  position: absolute;
  top: 0;
  right: 15%;
  bottom: 15px;
  left: 0;
  margin: 0;
  padding: 80px 0 20px 0;
  background-color: rgba(0, 0, 0, 0.95);
  overflow-y: auto;
  transition: 0.3s;
  z-index: 99999;
}

.navbar-mobile li {
  margin: 0;
  padding: 0;
  border: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 12px 20px;
  margin: 0;
  font-size: 15px;
  color: #fff;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #fff;
  border: 2px solid #fff;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown > ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #000;
  box-shadow: none;
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: #000;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

.navbar-mobile .megamenu ul li a,
.navbar-mobile .megamenu ul li:hover > a {
  color: rgba(var(--color-white-rgb), 0.5);
  background: none;
}

.navbar-mobile .megamenu ul li a:hover,
.navbar-mobile .megamenu ul li .active,
.navbar-mobile .megamenu ul li .active:hover {
  color: #000;
}


/* ==============================================================
   GENERIC ELEMENTS
   ============================================================== */

ul {
  margin-left: 0;
  padding-left: 0;
}

li {
  display: list-item;
  margin: 0;
  padding: 5px 10px;
}

figure {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

figcaption {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

b {
  font-size: large;
  color: red;
}

strong {
  font-size: large;
  color: #000000b7;
}

.text-right {
  text-align: right;
}

.texto {
  text-align: left;
}


/* ==============================================================
   SECTIONS GENERAL
   ============================================================== */

section {
  overflow: hidden;
}

.section-bg {
  background-color: #000;
}

.section-title {
  text-align: center;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 100;
}

.section-title p {
  margin-bottom: 0;
}

.simple-section {
  padding: 15px;
  background-color: #0000001f;
  width: 60%;
  box-shadow: 11px 13px 0 0 rgb(169 169 169 / 75%);
}

.section-paragraph {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  text-align: left;
}


/* ==============================================================
   BREADCRUMBS
   ============================================================== */

.breadcrumbs {
  background-color: #e3e3e3;
  min-height: 40px;
  padding: 30px 0 15px;
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-style: italic;
}

.breadcrumbs ol li {
  padding: 0;
  border: 0;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

.breadcrumbs a.active {
  color: red;
  text-decoration: underline;
}


/* ==============================================================
   ABOUT
   ============================================================== */

.about {
  background: url("../img/background-white.png") center center no-repeat;
  background-size: cover;
  padding: 20px 0;
  position: relative;
  margin-top: 104px;
}

.about::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 9;
}

.about .quality .container {
  position: relative;
  z-index: 10;
}

.about .content .quality {
  padding: 0;
  font-family: sans-serif;
}

.about .content h3 {
  font-weight: 700;
  font-size: 20px;
  color: #ef1313;
  margin-bottom: 10px;
  padding: 15px;
}

.about p {
  margin: 0 0 15px;
  padding: 10px;
  text-align: justify;
}

.quality p {
  margin: 0 0 15px;
  padding: 15px;
  text-align: justify;
}

.about .quality .content {
  display: inline-block;
  background: #000;
  padding: 6px 44px 8px 30px;
  color: rgb(255, 241, 241);
  border-radius: 50px;
  transition: 0.3s;
  position: relative;
}

.about-btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: -15px;
  background-color: #fff;
  color: #000;
  text-align: center;
  text-decoration: none;
  border: 1px solid #000;
  border-radius: 30px;
  cursor: pointer;
}

.about .quality .content .about-btn i {
  font-size: 18px;
  position: absolute;
  right: 18px;
  top: 9px;
}

.about .content .about-btn:hover {
  background: #000;
}

.about .quality .icon-boxes .icon-box {
  margin-top: 30px;
}

.about .quality .icon-boxes .icon-box i {
  font-size: 40px;
  color: #000;
  margin-bottom: 10px;
}

.about .quality .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.about .quality .icon-boxes .icon-box p {
  font-size: 15px;
  color: #000;
}


/* ==============================================================
   INTRO
   ============================================================== */

.intro .center h3 {
  font-weight: 500;
  font-size: 30px;
  text-align: left !important;
}

.intro .center p {
  margin-bottom: 30px;
  text-align: justify;
}

.intro .center .intro-btn {
  color: #000;
  border-radius: 50px;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #b71919d9;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.intro .center .intro-btn i {
  font-size: 16px;
  padding-left: 5px;
}

.intro .center .intro-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.intro .icon-box i {
  font-size: 40px;
  color: #b71919d9;
  margin-bottom: 10px;
}

.intro .icon-box h4 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 10px;
}

.intro .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.intro .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

.intro .icon-box:hover h4 a {
  color: var(--accent-color);
}


/* ==============================================================
   SECTION INTRO
   ============================================================== */

.section-intro {
  color: var(--default-color);
  background-color: #0000000d;
  padding: 40px;
  scroll-margin-top: 74px;
  overflow: clip;
  background:
    linear-gradient(rgb(255 255 255), rgb(255 255 255 / 42%)),
    url(../img/Body/cta-bg.jpg) fixed center center;
  background-size: cover;
}


/* ==============================================================
   SECTION TITLES
   ============================================================== */

.section-title-top,
.section-title-top-2 {
  padding-bottom: 60px;
  position: relative;
  text-align: left !important;
}

.section-title-top h2,
.section-title-top-2 h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000;
  position: relative;
}

.section-title-top h2::after,
.section-title-top-2 h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: rgb(173, 0, 0);
  margin: 4px 10px;
}

.section-title-top div,
.section-title-top-2 div {
  color: #000;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.carousel-caption,
.carousel-caption-2 {
  animation: fadeInUp 1s both 0.7s;
}


/* ==============================================================
   SERVICES TOP
   ============================================================== */

#map-container {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;
}

#map-container.show {
  opacity: 1;
  max-height: 800px;
  margin-top: 15px;
}

.services-top .service-item-top,
.services-top-2 .service-item-top-2 {
  text-align: center;
  padding: 20px 5px 10px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.services-top .service-item-top .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #b71919;
  box-shadow: -9px -5px 0 0 rgb(189 189 189);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.services-top-2 .service-item-top-2 .icon-2 {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #d9d5d5;
  box-shadow: -9px -5px 0 0 rgb(191 4 4 / 74%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.services-top .service-item-top .icon i,
.services-top-2 .service-item-top-2 .icon-2 i {
  color: #000;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services-top .service-item-top .icon::before,
.services-top-2 .service-item-top-2 .icon-2::before {
  position: absolute;
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services-top .service-item-top h3,
.services-top-2 .service-item-top-2 h3 {
  margin: 10px 0 15px;
  font-size: 20px;
}

.services-top .service-item-top p,
.services-top-2 .service-item-top-2 p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  text-align: center;
}

.services-top .service-item-top:hover,
.services-top-2 .service-item-top-2:hover {
  background: #b71919;
  border-color: #000;
}

.services-top .service-item-top:hover .icon,
.services-top-2 .service-item-top-2:hover .icon-2 {
  background: #fff;
}

.services-top .service-item-top:hover .icon i,
.services-top-2 .service-item-top-2:hover .icon-2 i {
  color: #b71919;
}

.services-top .service-item-top:hover .icon::before,
.services-top-2 .service-item-top-2:hover .icon-2::before {
  background: #b71919;
}

.services-top .service-item-top:hover h3,
.services-top .service-item-top:hover p,
.services-top-2 .service-item-top-2:hover h3,
.services-top-2 .service-item-top-2:hover p {
  color: #fff;
}


/* ==============================================================
   SECTION TOP
   ============================================================== */

.section-top,
.section-top-2 {
  color: #fff;
  padding: 60px 0;
  scroll-margin-top: 87px;
  overflow: clip;
}


/* ==============================================================
   CUSTOM COLUMNS
   ============================================================== */

.col-lg-25 {
  flex: 0 0 auto;
  width: 25%;
}

@media (min-width: 514px) {
  .col-lg-16 {
    flex: 0 0 auto;
    width: 33%;
  }
}

@media (max-width: 513px) {
  .col-lg-16 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 1460px) {
  .col-lg-16 {
    flex: 1;
    width: 16%;
    padding: 0 10px;
  }
}


/* ==============================================================
   CAROUSEL / SLIDES
   ============================================================== */

.col-md-4 h2 {
  font-size: 15px;
  margin-bottom: 10px;
  text-align: left;
  color: #b71919;
  font-weight: 500 !important;
}

.col-md-4 h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.text-carousel {
  width: 100%;
  padding: 25px;
  text-align: center;
}

.border-slide {
  box-shadow: -3px 3px 17px 6px rgb(0 0 0 / 17%);
}

.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transition: transform 0.5s ease-in-out;
}

.slide-inner {
  position: relative;
  z-index: 2;
}

.slide-content.animated.fadeIn {
  animation: fadeInAnimation 1s ease-in-out;
}

.slide-description {
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

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

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


/* ==============================================================
   SERVICES
   ============================================================== */

.services {
  padding: 20px;
  position: static;
  overflow: hidden;
  background: #ededed;
  z-index: 1;
  flex: 1;
}

.icon-box-plants {
  padding: 1px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 15px 0 rgb(46 50 60 / 39%);
  transition: all 0.3s ease-in-out;
  border-radius: 25px;
  z-index: 1;
  flex: 1;
}

.services .icon {
  margin-bottom: 15px;
  text-align: center;
}

.services .icon i {
  font-size: 40px;
  line-height: 1;
  color: #000;
  transition: all 0.3s ease-in-out;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 15px;
  text-align: center;
}

.services .title a {
  color: #111;
}

.services .description {
  font-size: 10px;
  line-height: 28px;
  margin-bottom: 0;
  text-align: center;
}

.plant-li {
  text-align: left;
  font-size: small;
}

.services .icon-boxa::before,
.services .icon-boxb::before,
.services .icon-boxc::before,
.services .icon-boxd::before,
.services .icon-boxe::before {
  content: "";
  position: absolute;
  background: #fff;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.services .icon-boxa:hover::before {
  background: #d80d0d;
  top: 0;
}

.services .icon-boxb:hover::before {
  background: #61c212;
  top: 0;
}

.services .icon-boxc:hover::before {
  background: #1688a5;
  top: 0;
}

.services .icon-boxd:hover::before {
  background: #2167b8;
  top: 0;
}

.services .icon-boxe:hover::before {
  background: #ffee00;
  top: 0;
}

.services .icon-box:hover .title a,
.services .icon-box:hover .description {
  color: #fff;
}

.services .icon-box:hover .icon i {
  color: #fff;
}

.services-allineamento {
  flex: 1;
  width: 25%;
}


/* ==============================================================
   COUNTS
   ============================================================== */

.counts {
  padding: 30px;
  width: 100%;
  overflow-x: hidden;
  margin-bottom: 30px;
}

.count-box {
  padding: 30px;
  width: 100%;
  margin-left: 25px;
}

.counts .count-box i {
  display: block;
  font-size: 44px;
  color: #fff;
  float: left;
  line-height: 0;
}

.counts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #fff;
  margin-left: 60px;
}

.counts .count-box p {
  padding: 15px 0 0;
  margin: 0 0 0 60px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #fff;
}

.counts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #fff;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.counts .count-box a:hover {
  color: #000;
}


/* ==============================================================
   CTA
   ============================================================== */

.cta {
  background:
    linear-gradient(rgb(213 227 233 / 80%), rgb(175 148 153 / 80%)),
    url(../img/Body/cta-bg.jpg) fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta .cta-btn:hover {
  border-color: #fff;
}


/* ==============================================================
   PORTFOLIO
   ============================================================== */

.portfolio {
  margin-bottom: 30px;
  padding: 25px;
  background-color: #fff;
}

.portfolio #portfolio-flters {
  padding: 2px 7px;
  margin: 0 auto 45px;
  list-style: none;
  text-align: left;
  color: rgb(97 97 97 / 82%);
  font-size: 35px;
  font-weight: 200;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 6px 8px 15px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 5px;
  border: 0;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: rgb(204 6 6);
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap,
.portfolio-wrap {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: 0.3s;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  opacity: 1;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: center;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  font-size: 28px;
  text-align: center;
  background: rgba(146, 152, 155, 0.75);
  transition: 0.3s;
  width: 50%;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: rgba(103, 176, 209, 0.95);
}

.portfolio .portfolio-wrap .portfolio-links a + a {
  border-left: 1px solid #8ec4dd;
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: 0;
}

.portfolio-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.portfolio-item {
  margin-bottom: 30px;
}

.img-portfolio {
  max-width: 100%;
  height: 120px;
}

.img-evidenza {
  max-width: 100%;
  height: auto;
}

.p1 {
  position: absolute;
}


/* ==============================================================
   PORTFOLIO DETAILS
   ============================================================== */

.portfolio-details {
  padding-top: 40px;
}

.portfolio-background {
  background-color: #000;
}

.portfolio-details .portfolio-details-slider img {
  width: 80%;
  text-align: center;
  box-shadow: -16px -20px 9px rgb(0 0 0 / 35%);
}

.portfolio-details .portfolio-info {
  box-shadow: 0 0 30px rgba(47, 77, 90, 0.08);
  background-color: #8b7f7f14;
}

.portfolio-details .portfolio-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  box-shadow: -20px -11px 0 0 rgb(177 177 177 / 68%);
}

.portfolio-details .portfolio-info ul li {
  border-bottom: none;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 1px;
}

.portfolio-details .portfolio-description {
  padding-top: 2px;
  text-align: justify;
}

.portfolio-details .portfolio-description h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.description-prod-cont,
.descrizione-h1 {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgb(235 6 6 / 23%);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  width: 45%;
  margin-left: 60%;
}

.descrizione-h1 {
  font-size: small;
}


/* ==============================================================
   TESTIMONIALS
   ============================================================== */

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #d5e9f2;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 35px;
  padding: 20px;
  background: #fff;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid #fff;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #dfdfdf;
  opacity: 1;
  border: 1px solid #fff;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #000;
}


/* ==============================================================
   TEAM
   ============================================================== */

.team {
  padding: 45px;
  position: relative;
}

.team .member {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.team .member .pic {
  overflow: hidden;
}

.video {
  overflow: hidden;
}

.team .member .member-info {
  position: absolute;
  top: 85%;
  left: 20px;
  right: 20px;
  background: #fffffff0;
  padding: 18px 0;
  color: #000;
  box-shadow: 4px 1px 5px 3px rgb(0 0 0 / 59%);
  max-height: 55px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.team .member:hover .member-info {
  max-height: 300px;
}

.team .member h4 {
  font-weight: 300;
  margin-bottom: 10px;
  font-size: 15px;
  color: #000;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #000;
  bottom: 0;
  left: calc(50% - 25px);
}

#team h2 {
  color: rgb(97 97 97 / 82%);
  text-align: left;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  margin-top: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: #000;
}

.team .member .social a:hover {
  color: red;
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}


/* ==============================================================
   CONTACT
   ============================================================== */

.file {
  margin: 0;
  font-family: sans-serif;
  line-height: normal;
}

.contact {
  height: 610px;
  padding: 20px;
}

.contact .info-box {
  color: #444;
  background: #fff;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px;
}

.contact .info-box i {
  font-size: 25px;
  color: #67b0d1;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #f0f7fa;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px;
  background: #fff;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  background-color: #67b0d1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  width: 20%;
  font-family: serif;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 2px 2px #000;
  margin-top: 8px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #fff;
}

@keyframes animate-loading {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/* ==============================================================
   FOOTER
   ============================================================== */

#footer {
  background: #000;
  padding: 0 0 30px;
  color: #fff;
  font-size: 14px;
  position: relative;
  margin-top: 0;
}

#footer .footer-top {
  padding: 60px 0 30px;
}

#footer .footer-top .footer-info {
  margin-top: -30px;
  margin-bottom: 15px;
  background: #e7e7e7;
  color: #000;
  border-top: 4px solid #0d0e0e;
  text-align: center;
  padding: 25px 10px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px;
  padding: 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #2f4d5a;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #67b0d1;
  color: #fff;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #b5d9e9;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  border-bottom: none;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #a2cfe3;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: #67b0d1;
  font-size: 16px;
  padding: 0 20px;
  color: #fff;
  transition: 0.3s;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #409cc5;
}

#footer .copyright {
  border-top: 1px solid #385b6b;
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}


/* ==============================================================
   IMMAGINE GRUPPO AZIENDALE
   ============================================================== */

.img-about {
  width: 50%;
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
  transition: transform 0.5s ease, width 0.5s ease;
}

.img-about:hover {
  transform: scale(1.1);
}

.img-stab {
  max-width: 100%;
  height: auto;
}

.left {
  margin-left: auto;
  max-width: 45%;
  height: auto;
  border: 3px solid #000;
}

.right {
  margin-right: auto;
  max-width: 45%;
  height: auto;
  border: 3px solid #000;
}


/* ==============================================================
   HERO
   ============================================================== */

.hero {
  padding: 0;
  box-shadow: 15px 6px 9px 0 rgb(0 0 0 / 54%);
}

.hero .carousel {
  width: 100%;
  min-height: 55vh;
  padding: 0;
  margin: 0;
  background-color: #fff;
  position: relative;
}

.dark-background {
  --default-color: #fff;
  --heading-color: #fff;
  --surface-color: #252525;
  --contrast-color: #fff;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #fff;
}

.hero .carousel-item::before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .carousel-container {
  position: absolute;
  inset: 90px 64px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}

.carousel-container p {
  font-size: 20px !important;
}

.hero h2 {
  margin-bottom: 20px;
  font-size: 38px !important;
  animation: fadeInDown 1s both;
}

.hero p {
  animation: fadeInDown 1s both 0.2s;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 4px;
  transition: 0.5s;
  margin: 10px;
  animation: fadeInUp 1s both 0.4s;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 10%;
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

.hero .carousel-indicators {
  list-style: none;
}

.hero .carousel-indicators li {
  cursor: pointer;
  border: 0;
  padding: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


/* ==============================================================
   CONTACT PARAGRAPHS
   ============================================================== */

.paragraph {
  color: #fff;
  background-color: transparent;
  transition: opacity 0.3s ease;
  text-align: justify;
}

.hidden {
  display: none;
}

.round-button {
  padding: 9px;
  font-size: 24px;
  color: #000;
  border: 2px solid #fff;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  margin-top: 50px;
  transition: background-color 0.3s, transform 0.2s;
}

.round-button:hover {
  background-color: rgba(215, 221, 228, 0.815);
  transform: scale(1.1);
}

.round-button:focus {
  outline: none;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.contenitore {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: center;
  width: 50%;
}

#paragraph1,
#paragraph2 {
  width: 100%;
  max-width: 700px;
  font-size: 1rem;
  line-height: 1.5;
  box-sizing: border-box;
  margin: 0 auto;
}


/* ==============================================================
   STABILIMENTI
   ============================================================== */

.section {
  background-color: #000;
  padding: 50px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-direction: row;
  overflow: hidden;
}

.slider,
.slider2 {
  position: relative;
  width: 80%;
  max-width: 700px;
  height: 400px;
  overflow: hidden;
  border: 2px solid rgb(245, 242, 242);
}

.slide.active {
  opacity: 1;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 10px;
}


/* ==============================================================
   PORTFOLIO SLIDER 2
   ============================================================== */

.slide2 {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.slide2.active2 {
  opacity: 1;
}

.inotrans {
  width: 100%;
  height: 100%;
  position: relative;
}

.image-inotra {
  width: 100%;
  height: auto;
}


/* ==============================================================
   QUALITY / SICUREZZA
   ============================================================== */

#quality h2 {
  text-decoration: underline;
  padding: 20px;
}

.quality {
  background-color: #fff;
  background-size: cover;
  padding: 60px 0;
  position: relative;
}

.flex-div {
  height: 100%;
  width: auto;
  margin-left: 200px;
}

.img-caravaggio1 {
  width: 80%;
  max-width: 100%;
  height: auto;
  box-shadow: 0 20px 10px rgba(0, 0, 0, 0.2);
}

.img-quality {
  width: 75%;
  max-width: 100%;
  height: auto;
}

.content {
  flex-direction: column;
  justify-content: center;
}


/* ==============================================================
   MAPPA
   ============================================================== */

.media-iframe {
  width: 100%;
  height: 180px;
  border: 0;
}

.map-container {
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin-bottom: 30px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
}


/* ==============================================================
   INOTRANS GALLERY
   ============================================================== */

#foto-gallery {
  background-color: #fff;
  padding: 50px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.gallery-header {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.gallery-header h2 {
  font-size: 2em;
  color: #2c3e50;
  margin-bottom: 10px;
}

.gallery-header p {
  font-size: 1.1em;
  color: #555;
  line-height: 1.6;
}

.gallery-container {
  position: relative;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
}

.image-slider {
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  align-items: center;
}

.gallery-image {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(155 155 155);
  color: #fff;
  border: none;
  padding: 15px 25px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.gallery-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.section-label {
  font-weight: bold;
  font-size: 1.8rem;
  color: #2c3e50;
  position: relative;
}

.section-label::before {
  content: '|';
  color: rgb(182, 11, 11);
  margin-right: 8px;
}


/* ==============================================================
   LINKEDIN
   ============================================================== */

.linkedin-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background-color: #0077b5;
  color: #fff;
  padding: 10px 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-family: sans-serif;
}

.linkedin-button .icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  object-fit: contain;
}

.linkedin-button:hover {
  background-color: #005983;
}


/* ==============================================================
   RESPONSIVE
   ============================================================== */

@media (max-width: 1366px) {

  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

@media (max-width: 1200px) {

  .about .content {
    display: block;
  }

  .col-xl-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .img-quality {
    max-width: 70%;
    margin: 20px auto;
    display: block;
  }

  .img-caravaggio1 {
    max-width: 70%;
    max-height: 70%;
    margin: 15px auto;
    display: block;
  }

  .section-intro {
    scroll-margin-top: 82px;
  }
}

@media (max-width: 1025px) {

  /*
     Il menu normale viene nascosto SOLO quando
     navbar-mobile NON è attiva.
  */

  .mobile-nav-toggle {
    display: block;
  }

  .navbar:not(.navbar-mobile) > ul {
    display: none;
  }

  .simple-section {
    width: auto;
  }

  .services-allineamento {
    flex: 1;
    width: 25%;
  }
}

@media (max-width: 998px) {

  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
    padding: 20px;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

@media (max-width: 992px) {

  .team .member {
    margin-bottom: 110px;
  }
}

@media (max-width: 991px) {

  .footer-top .row {
    display: flex;
    flex-direction: column;
  }

  .col-12 {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-info {
    text-align: center;
  }

  .footer-info h3 {
    font-size: 1.2rem;
  }

  .footer-info p {
    font-size: 0.9rem;
  }

  .social-links a {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {

  .logo {
    justify-content: center !important;
  }

  .about {
    text-align: center;
  }

  .icon-box {
    text-align: center;
    flex: 1;
  }

  .content {
    text-align: center;
  }

  .img-quality,
  .img-caravaggio1 {
    max-width: 90%;
  }

  .section {
    flex-direction: column;
    align-items: center;
  }

  .slider,
  .slider2 {
    width: 90%;
    right: 0;
    height: 300px;
    border: none;
  }

  .contenitore {
    width: 100%;
  }

  .carousel-container p {
    font-size: 15px !important;
  }

  .hero h2 {
    font-size: 25px;
  }

  .media-iframe {
    height: 180px;
  }

  .linkedin-button {
    padding: 8px 12px;
    font-size: 14px;
  }

  .linkedin-button .icon {
    width: 20px;
    height: 20px;
  }

  .footer-info h3 {
    font-size: 1.1rem;
  }

  .footer-info p {
    font-size: 0.8rem;
  }

  .social-links a {
    font-size: 1.2rem;
  }

  .footer-top {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer-info {
    text-align: center;
  }

  .logo-scroll {
    height: auto;
    width: 50%;
    padding: 10px;
    text-align: center;
    background-color: #000;
  }
}

@media (max-width: 760px) {

  .logo {
    justify-content: center !important;
  }
}

@media (max-width: 576px) {

  .footer-info h3 {
    font-size: 1.1rem;
  }

  .footer-info p {
    font-size: 0.8rem;
  }

  .social-links a {
    font-size: 1.2rem;
  }
}

@media (max-width: 575px) {

  #footer .footer-top .footer-info {
    margin: -20px 0 30px;
  }
}

@media (max-width: 450px) {

  .media-iframe {
    height: 160px;
  }
}

@media (min-width: 1200px) {

  .container-team {
    max-width: 85% !important;
  }
}

@media (min-width: 1400px) {

  .logo-scroll {
    display: none;
  }
}

@media (min-width: 1024px) {

  .hero p {
    color: #fff;
    max-width: 60%;
  }

  .hero h2 {
    color: #fff;
    max-width: 80%;
  }

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 5%;
  }
}


/* =========================================================
   NAVBAR - RESTYLING MODERNO
   ========================================================= */

/* Contenitore principale */
.navbar {
  position: static;
  padding: 0;
}

/* Menu principale */
.navbar > ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar > ul > li {
  position: relative;
  margin: 0 3px;
  padding: 0;
  list-style: none;
}

/* Voci principali */
.navbar > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  margin: 0;

  color: #fff;
  font-family: sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;

  border-radius: 4px;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

/* Hover voce principale */
.navbar > ul > li > a:hover,
.navbar > ul > li > a.active {
  color: #fff;
  background: rgba(220, 30, 30, 0.85);
}

/* Frecce */
.navbar > ul > li > a i {
  font-size: 12px;
  transition: transform 0.25s ease;
}


/* =========================================================
   DROPDOWN PRIMO LIVELLO - DESKTOP
   ========================================================= */

.navbar .dropdown > ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;

  min-width: 210px;
  margin: 0;
  padding: 8px 0;

  background: rgba(18, 18, 18, 0.96);

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);

  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;

  z-index: 9999;
}

/* Apertura dropdown desktop */
.navbar .dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Voci dropdown */
.navbar .dropdown ul li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Link dropdown */
.navbar .dropdown ul li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-width: 190px;
  padding: 10px 15px;
  margin: 0;

  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

/* Hover dropdown */
.navbar .dropdown ul li > a:hover {
  color: #fff;
  background: rgba(220, 30, 30, 0.85);
  padding-left: 19px;
}


/* =========================================================
   PRODUZIONE - DROPDOWN PRINCIPALE
   ========================================================= */

/*
   Produzione è l'ultimo dropdown della navbar.
   Lo ancoriamo al bordo destro della tendina,
   evitando che la tendina principale finisca fuori
   dallo schermo.
*/
.navbar > ul > li.dropdown:last-of-type > ul {
  left: auto;
  right: 0;
}


/* =========================================================
   SECONDO LIVELLO
   Production / Contact
   ========================================================= */

/*
   Production e Contact aprono verso SINISTRA
   rispetto alla tendina Produzione.
*/
.navbar > ul > li.dropdown > ul > li.dropdown > ul {
  top: -8px;

  left: auto !important;
  right: calc(100% + 8px) !important;

  margin: 0;

  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);

  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

/* Apertura secondo livello */
.navbar > ul > li.dropdown > ul > li.dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}


/* Freccia Production / Contact */
.navbar .dropdown .dropdown > a i {
  font-size: 11px;
}


/* =========================================================
   MOBILE
   ========================================================= */

.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.3s;
}


/* Menu mobile aperto */
.navbar-mobile {
  position: fixed !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 100vh;

  background: rgba(8, 8, 8, 0.97);

  overflow: hidden;

  z-index: 99999;
}


/* Pulsante X */
.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 30px;
  right: 25px;

  color: #fff;
  font-size: 30px;

  z-index: 100000;
}


/* Lista mobile */
.navbar-mobile > ul {
  display: block !important;

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  margin: 0;
  padding: 80px 25px 30px;

  background: transparent;

  overflow-y: auto;
}


/* Voci mobile */
.navbar-mobile > ul > li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* Link principali mobile */
.navbar-mobile > ul > li > a {
  width: 100%;
  padding: 15px 5px;

  font-size: 17px;
  color: #fff;

  border-radius: 0;
}


/* Hover mobile */
.navbar-mobile > ul > li > a:hover,
.navbar-mobile > ul > li > a.active {
  background: transparent;
  color: #e31b23;
}


/* =========================================================
   DROPDOWN MOBILE
   ========================================================= */

.navbar-mobile .dropdown > ul {
  position: static !important;

  display: none;

  width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 5px 0 10px !important;

  background: transparent !important;

  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}


/* Dropdown mobile aperto */
.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}


/* Link dei dropdown mobile */
.navbar-mobile .dropdown ul li > a {
  width: 100%;
  min-width: 0;

  padding: 11px 15px;

  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;

  background: transparent;
}


/* Hover dropdown mobile */
.navbar-mobile .dropdown ul li > a:hover {
  color: #e31b23;
  background: transparent;
  padding-left: 20px;
}


/* =========================================================
   MOBILE - PRODUCTION / CONTACT
   ========================================================= */

@media (max-width: 1025px) {

  .mobile-nav-toggle {
    display: block;
  }

  .navbar:not(.navbar-mobile) > ul {
    display: none;
  }

  /*
     Tutti i sottomenu mobile diventano verticali.
     Nessuna apertura laterale.
  */
  .navbar-mobile > ul > li.dropdown > ul,
  .navbar-mobile > ul > li.dropdown > ul > li.dropdown > ul {
    position: static !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 5px 0 10px 0 !important;

    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;

    transform: none !important;
  }

  /*
     Rientro visivo per le voci Production / Contact
     e per i relativi contenuti.
  */
  .navbar-mobile > ul > li.dropdown > ul > li.dropdown > a {
    padding-left: 15px !important;
  }

  .navbar-mobile > ul > li.dropdown > ul > li.dropdown > ul {
    padding-left: 20px !important;
  }

  .navbar-mobile > ul > li.dropdown > ul > li.dropdown > ul a {
    padding-left: 15px !important;
  }
}