h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff; /* ottimo con overlay scuro */
}

p {
  color: #232323;
}

p, li, a, span {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.2rem;
}

.button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}



.py-8 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.services-wrapper .service-central p {
  color: #222;
}

.service-central > span > img {
    position: relative;
    z-index: 1;
    -webkit-background-clip: text;
    background-clip: text;
}

.team-slide:hover .team-photo > img {
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

.team-slide .team-photo > img {
    width: 100%;
    height: auto;
    cursor: pointer;
    margin-bottom: 20px;
}

.team-slide .team-photo {
    width: auto;
    height: 350px;
}

.recapiti {
  padding-left: 5px;
}

.recapiti i {
  font-size: 1.1rem;
  color: #3e5d9b !important;
}

.recapiti a {
  color: #3e5d9b;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.recapiti a:hover {
  color: #2c4372;
  text-decoration: underline;
}

.recapiti li {
  padding: 6px 0;
  border-bottom: 1px solid #e9ecef;
}

.recapiti li:last-child {
  border-bottom: none;
}

.rev-scroll-btn.revs-dark span {
    background: #fff;
}



#contact-form {
    background: #f7f8fa;
    padding: 80px 0;
}

#contact-form h3 {
    color: #333;
    font-weight: 700;
    letter-spacing: 1px;
}

#contact-form .defaultcolor {
    color: #3e5d9b; /* colore principale */
    font-weight: 700;
}



.contactus {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e6e6e6;
    transition: all 0.3s ease;
}

.contactus:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.form-control, .form-select {
    border: 1px solid #dcdfe6;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease-in-out;
    background-color: #fafafa;
}

.form-control:focus, .form-select:focus {
    border-color: #3e5d9b;
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(62, 93, 155, 0.15);
}

.form-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 0.4rem;
}

textarea.form-control {
    resize: none;
}

.link-accettazione {
    color: #3e5d9b;
    text-decoration: underline;
}

.link-accettazione:hover {
    text-decoration: none;
}

.button.defaulthole {
    background: #3e5d9b;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button.defaulthole:hover {
    background: #334d82;
    transform: translateY(-2px);
}


.contactus .form-select {
    background: #fff;
    height: 50px;
    border-radius: 0;
}

.contactus .form-select {
    border: none;
    border-bottom: 1px solid #d6d5d5;
}

.contactus .form-control, .getin_form .form-control {
    height: 50px;
}

footer p {
  margin-bottom: 0;
}

footer p a:hover {
  color: #f69860;
}

.navbar-toggle {
    margin: 26px 0 16px 20px;
}

.tp-caption h2, .tp-caption p {
  text-shadow: 2px 2px 2px #222 !important;
}

.consorzioImage {
  max-height: 200px;
}

.bgintro-seven span,
.bgintro-seven h2,
.bgintro-seven p,
.tp-mask-wrap {
  text-shadow: 2px 2px 2px #222 !important;
}



.tp-caption p { 
  color: #fff;
}

.bgintro-seven p {
  color: #fff;
}

  .contatcSection {
    padding: 20px 0px;
  }





@media screen and (max-width: 767px) {
  .navbar-brand > img {
      width: 50px;
  }

  .lighttransparent .navbar-default .navbar-nav > li > a {
    color: #222;
  }

  .team-slide {
    margin-bottom: 50px;
  }

  .team-slide .team-text {
    text-align: center;
    background: #3e5d9b;
    margin-top: 10px;
  }

  .team-slide .team-text h3 {
    color: #fff;
  }
  
  .team-slide .team-text p {
    text-align: justify;
    color: #fff;
  }

  .team-slide .team-photo {
    width: auto;
    height: auto;
  }

  .team-slide ul.social li a {
    color: #fff;
  }

  .tp-caption p { 
    white-space: normal !important;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
  }

  .team-slide .team-text span {
    font-size: 1.5rem;
    padding: 5px 0;
    color: #fff;
  }

  .team-slide .team-text h3 {
      font-size: 2rem;
  }

  .py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

}

@media screen and (min-width: 992px) {
  .navbar-brand {
      position: absolute;
      top: 0;
      left: 0;
      padding: 14px 0;
      width: 200px;
  }

  #navigation.fixed .navbar-brand  {
      padding: 15px;
      background-color: #fff;
      border-radius: 50%;
      width: 120px;
  }

  .lighttransparent .navbar-default .navbar-nav > li > a {
      color: #fff;
      font-size: 1rem;
  }

  .tp-mask-wrap > .tp-caption > p {
    font-size: 1.5rem !important;
    line-height: 1.2rem !important;
  }

}

