html{
  font-family: Montserrat;
}
/*header*/
.nav-item a {
  font-family: 'Montserrat';
  font-weight: 700;
  color: #F07E23 !important;
}

/*testate*/
.carousel-caption {
  left: 13% !important;
  top: 78%;
  text-align: left;
  width: 64%;
}


.carousel-caption h1{
font-size: 60px;
  font-family: Montserrat;
  font-weight: 700;
}

.menu-header {
  box-shadow: 0px 8px 8px -5px rgba(0,0,0,0.89);
}


/*body*/

body {
  background-color: white;
}

.titolo{
  text-align: center;
  color: #034990;
  font-size: 30px;
  font-weight: 600;
  margin-top: 35px;
}

.testi h3{
   text-align: center !important;
   color: #034990 !important;
   font-weight: 700 !important;
  font-size: 30px !important;
 }

.testi h4{
  color: #034990 !important;
  font-weight: 700 !important;
  font-size: 22px !important;
}

.testi strong{
  color: #034990 !important;
}

.home_prodotti_4 h2{
  text-align: center;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 30px;
  margin-bottom: 30px;
}

.home_prodotti_4 {
  background-image: url("/img_ins/images/CMT_chiusure_indusrtiali_sfondo_home_blu.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px;
}

.home_prodotti_5 h2{
  text-align: center;
  color: #034990;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 30px;
  margin-bottom: 30px;
}

.home_service h2{
  text-align: center;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 30px;
  margin-bottom: 30px;
}

.home_service {
  background-image: url("/img_ins/images/CMT_service_sfondo_home.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px;
}

.home_prodotti_4,.home_prodotti_5 {
  margin: 40px 0px;
}

.home_prodotti_5 .card-title-banner {
  background-color: #F07E23;
}

.home_prodotti_5 .card-title-banner h3 {
  color:white;
}

.btn-blu {
  display: inline-block;
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 10px;
  background: #034990;
  color: #ffffff;
  padding: 10px 30px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
  /* Transizioni fluide */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(3, 73, 144, 0.25);
}

/* Effetto di luce/brillantezza trasversale */
.btn-blu::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
          120deg,
          transparent,
          rgba(255, 255, 255, 0.25),
          transparent
  );
  transition: all 0.6s ease;
  z-index: -1;
}

/* Stato HOVER */
.btn-blu:hover {
  background: #02366b; /* Blu leggermente più scuro/intenso */
  color: #ffffff;
  transform: translateY(-3px); /* Sollevamento verso l'alto */
  box-shadow: 0 8px 20px rgba(3, 73, 144, 0.4); /* Ombra più profonda */
}

.btn-blu:hover::before {
  left: 100%; /* Fa scorrere il bagliore da sinistra a destra */
}

/* Stato CLICK (:active) */
.btn-blu:active {
  transform: translateY(-1px); /* Ritorna leggermente giù al click */
  box-shadow: 0 4px 10px rgba(3, 73, 144, 0.3);
}


/*footer*/
#contenitore_footer {
  background: linear-gradient(180deg,rgba(6, 97, 189, 1) 35%, rgba(0, 72, 145, 1) 100%);
}

.descrizione {
  text-align: center;
}

.descrizione h2 {
   color:#5A5B5D;
   font-weight: 600;
   font-size: 25px;
 }

.descrizione h3{
  color:#5A5B5D;
  font-weight: 600;
  font-size: 20px;
}

.descrizione span{
  color:#034990;
  font-weight: 600;
  font-size: 20px;
}

.number-badge {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.1);
  user-select: none;
}

.card-azienda .text-primary{
  color:#034990!important;
}

.card-prodotto {
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-prodotto:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-prodotto a {
  text-decoration: none;
  display: block;
}

/* Immagine */
.card-img-wrapper {
  height: 100%;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Banner inferiore con titolo */
.card-title-banner {
  background-color: #ffffff;
  padding: 10px 15px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

.card-title-banner h3 {
  color: #0b3b60; /* Colore blu scuro come da immagine */
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  text-transform: none;
}
#return-to-top {
  background: #f07e23;
}

hr {
  border-top: 2px solid #134990;
}

.punti_forza img{
  width: 35%;
}

.trecentosessanta {
  width: 20%;
}

.dropdown-item.active, .dropdown-item:active {
  color: var(--bs-dropdown-link-active-color);
  text-decoration: none;
  background-color: #034990;
}

.mediatica p{
  font-size: 13px;
}

@media screen and (min-width: 320px) and (max-width: 767px) {

  .punti_forza img{
    width: 30%;
  }

  .trecentosessanta {
    width: 100%;
  }

  .carousel-caption {
    display: block;
    left: 7% !important;
    top: 42%;
    text-align: left;
    width: 98%;
  }

  .carousel-caption h1 {
    font-size: 23px;
  }

  .testi h3 {
    font-size: 25px !important;
  }

  .descrizione h2 {
    font-size: 24px;
  }

}