html,
body {
  background-color: #f8f9fa;
  font-family: 'Poppins';
}

.page-bg{
  background-color: #f8f9fa;
}

.title {
  font-weight: bold;
  font-family: 'Poppins';
}

.partner-img{
  max-width: 100%;
}

/* Media Queries */

@media screen and (max-width: 1440px) {
  .prova-hover-title {
    font-size: 22px;
  }
  .text-preview-service {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .partner-img{
    max-height: 200px;
  }
  .carousel-item img {
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    height: 50vh;
  }
  .company-description {
    width: 100%;
  }
  .company-logo {
    height: 60px;
  }
}

@media screen and (min-width: 768px) {
  .carousel-item img {
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    height: 80vh;
  }
}

@media screen and (max-width: 992px) {
  .text-preview-service {
    font-size: 14px;
    word-break: break-word;
  }

  .text-preview-service h2 {
    font-size: 16px;
  }

  .contact-form-cont {
    width: 100%;
  }

  .prova-hover-title {
    font-size: 24px;
  }
}

@media screen and (min-width: 992px) {
  .contact-form-cont {
    width: 50%;
  }
}

/* End Media Queries */

/* Navbar */
.navbar {
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.17);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.17);
  z-index: 999;
}

.navbar-brand {
  margin-left: 5%;
}
.navbar-collapse {
  margin-right: 5%;
}

.nav-link:hover {
  font-weight: bold;
}

/* End navbar */

/* Stats */
.stats h2 {
  font-family: Bower;
  font-weight: bold;
  font-size: 70px;
  letter-spacing: 3px;
}

.stats h3 {
  font-weight: 400;
}

.vr {
  padding: 0;
}

/* End Stats */

.prova {
  width: 95%;
}

/* General */

.relative {
  position: relative;
}

.btn-blue {
  background-color: #0e76a8;
  border-color: #0e76a8;
}

.bg-blue {
  background-color: #0e76a8;
}

.text-blue {
  color: #0e76a8;
}

.text-lightblue {
  color: #1293d2;
}

.bg-darkblue {
  background-color: #4267b2;
}
.text-darkblue {
  color: #4267b2;
}

.bg-gray {
  background-color: #898f9c;
}

.btn-primary {
  background-color: #0e76a8;
  border-color: #0e76a8;
  border-radius: 20px;
}
.btn-primary:hover {
  background-color: #1293d2;
  border-color: #1293d2;
}
.btn-primary:focus:active {
  background-color: #0b5e86;
  border-color: #0b5e86;
}
.btn-primary:active {
  background-color: #0b5e86;
  border-color: #0b5e86;
}
.btn-primary:focus {
  background-color: #0b5e86;
  border-color: #0b5e86;
  box-shadow: 0 0 0 0.2rem rgba(11, 94, 134, 0.5);
}

/* Btn for services */
.btn-outline-light-pers {
  padding: 7px 25px;
  border: 1px solid #fff;
  border-radius: 10px;
  color: #fff;
}

.btn-outline-light-pers:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.cover-img {
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  /*border-radius: 15px;*/
}

/* End General */

/* Services Preview */
.service-img {
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  height: 100%;
  /*border-radius: 15px;*/
}

.services-container {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
  overflow: hidden;
  width: 98%;
  margin: auto;
  height: 0;
  border-radius: 5px;

  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

.services-container:hover .overlay {
  height: 100%;
}

.text-preview-service {
  color: white;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-preview-service p {
  width: 95%;
  margin-top: auto;
  margin-bottom: auto;
}

.text-preview-service a {
  position: relative;
  bottom: 10%;
}

.overlay * {
  z-index: 99;
}

.prova-hover-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 99;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

.services-container:hover .prova-hover-title {
  background: transparent;
  top: 15%;
}

/* End Services Preview*/

/* Company Description Home */

.company-description-text {
  font-family: 'Poppins', sans-serif;
}

.company-description-text h2 {
  font-weight: bold;
}

.company-description-text p {
  font-size: 18px;
}

.company-description-text button {
  font-size: 18px;
}

/* End Company Description Home */

/* Contact Form */
.submit-contact {
  padding: 7px 35px;
}
/* End Contact Form*/

/* Cookies Popup */

#cookies-popup {
  position: fixed;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background-color: #f8f9fa;
  z-index: 999999;
}

#obscure-body {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: #00000075;
  z-index: 999998;
}

/* End Cookies Popup */

/* PopUp Minverva Green Solution */
.popup-centered{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  background-color: #fff;

  border-radius: 20px;
  padding: 25px 30px;
  box-shadow: 8.0px 16.0px 16.0px hsl(0deg 0% 0% / 0.25);
}
.title-popup{
  font-weight: 700;
}

.gradient-text {
  background: -webkit-linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(0,122,58,1) 50%, rgba(93,176,76,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-new {
  width: 100%;
  object-fit: contain;
  object-position: center;
  overflow: hidden;
}
/* End PopUp Minverva Green Solution */

/**
@media screen and (min-width: 992px) {
  .prova-ul-2 {
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
  }

  .prova-ul-2 li:nth-child(5) {
    -webkit-column-break-after: always;
    break-after: always;
  }
}
*/
/*
.prova-anim{
  animation-name: example;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

@keyframes example {
  5% {
    transform: translateY(-25%);
  }
  15% {
    transform: translateY(0%);
  }
}
*/

.grass-bg-text{
  font-size: 56px;
  font-weight: bold;
  background-image: url("../img/grass.webp");
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-font-smoothing: antialiased;
}

.shadow-1{
  box-shadow: 8.0px 16.0px 16.0px hsl(0deg 0% 0% / 0.25);
}

.custom-card-img{
  border-radius: 10px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -20px;
}

.custom-card-img .img-lg{
  
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: 0 45%;
  border-radius: 10px;
}

.custom-card-img img{
  max-height: 400px;
  min-width: 100%;
  object-fit:cover;
  border-radius: 10px;
  padding: 0;
}

.custom-card-text{
  position: relative;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  border-radius: 20px;
}

.custom-card-img-right{
  border-radius: 10px;
  padding: 0;
  object-fit: cover;
  max-width: 100%;
  min-height: 100%;
}

.custom-card-img-right img{
  max-width: 100%;
  min-height: 100%;
  border-radius: 0 10px 10px 0;
  padding: 0;
}

.img-about {
  padding: 0;
  margin: 0;
  object-fit: contain;
  object-position: 0%;

  
}
.img-about img{
  width: 100%;
  max-height: 100vh;
  padding: 0;
  margin: 0;
}

.cookies-btn{
  padding-left: 25px;
  padding-right: 25px;
}

/* PARTNER CAROUSEL */

.partner-carousel {
  overflow: hidden;
}

.partner-logos {
  display: flex;
  animation: scroll-logos 30s linear infinite;
}

.partner-logos img {
  margin-right: 125px; /* Adjust the spacing between logos as needed */
  height: 100px;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(100%);
  }
  
  100% {
    transform: translateX(-100%);
  }
}


/* NUOVE PROVE: OMBRE, DIVIDER ECC*/
.shadowed-text {
  text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.5);
}

.divider {
  position: relative;
  width: auto;
}

.divider-line {
  width: calc(100% + 15%); /* Lunghezza del divisore leggermente più lunga rispetto al titolo */
  padding: 2px;
  background-color: #007A3A;
}

.divider-line-sm {
  width: calc(100% + 15%); /* Lunghezza del divisore leggermente più lunga rispetto al titolo */
  padding: 1px;
  background-color: #007A3A;
}

.green-solution-card-text h1{
  margin-top: 1rem;
  font-weight: bold;
  margin-bottom: 0;
}

.text-green{
  color: #007A3A;
}

.list-green li::marker{
  color: #007A3A;
}

.text-academy{
  color: #71122a;
}
.text-academy-2{
  color: #f1b600;
}

.list-academy li::marker{
  color: #f1b600;
}

.academy-divider-line {
  width: calc(100% + 15%); /* Lunghezza del divisore leggermente più lunga rispetto al titolo */
  padding: 2px;
  background-color: #f1b600;
}

.academy-divider-line-sm {
  width: calc(100% + 15%); /* Lunghezza del divisore leggermente più lunga rispetto al titolo */
  padding: 1px;
  background-color: #f1b600;
}

.custom-card-img .img-lg-academy{
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: 0 20%;
  border-radius: 10px;
}

.homepage-divider {
  width:fit-content;
}

.homepage-divider-line {
  width: calc(100% + 15%); /* Lunghezza del divisore leggermente più lunga rispetto al titolo */
  padding: 2px;
  background-color: #0e76a8;
}

.divider-line-sm {
  width: calc(100% + 15%); /* Lunghezza del divisore leggermente più lunga rispetto al titolo */
  padding: 1px;
  background-color: #007A3A;
}

/* Ultime aggiunte  */
.js-scroll{
  opacity: 0;
  overflow: hidden;
}

.show{
  opacity: 1;
  filter: blur(0px);
}


/* ANIMATION */
.show.fade-in {
  animation: fade-in 1s ease-in-out both;
}

.show.fade-in-bottom {
  animation: fade-in-bottom 1s ease-in-out both;
}

.show.fade-in-top {
  animation: fade-in-top 1s ease-in-out both;
}

.fade-in-top-100 {
  animation: fade-in-top-100 3s ease-in-out both;
}

.show.slide-left {
  animation: slide-in-left 1s ease-in-out both;
}

.show.slide-right {
  animation: slide-in-right 1s ease-in-out both;
}

.show.slide-down {
  animation: slide-in-bottom 2s ease-in-out both;
}

@keyframes slide-in-left {
  0% {
  transform: translateX(-100%);
  opacity: 0;
  filter: blur(5px);
  }
  100% {
  transform: translateX(0);
  opacity: 1;
  filter: blur(0px);
  }
}

@keyframes slide-in-right {
  0% {
  transform: translateX(100%);
  opacity: 0;
  filter: blur(5px);
  }
  100% {
  transform: translateX(0);
  opacity: 1;
  filter: blur(0px);
  }
}

@keyframes fade-in-bottom {
  0% {
  transform: translateY(50%);
  opacity: 0;
  filter: blur(5px);
  }
  100% {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0px);
  }
}

@keyframes fade-in-top {
  0% {
  transform: translateY(-10%);
  opacity: 0;
  filter: blur(5px);
  }
  100% {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0px);
  }
}

@keyframes fade-in-top-100 {
  0% {
      transform: translateY(-15%);
      opacity: 0;
      filter: blur(5px);
      }
      100% {
      transform: translateY(0);
      opacity: 1;
      filter: blur(0px);
      }
}

@keyframes fade-in {
  0% {
  opacity: 0;
  filter: blur(5px);
  }
  100% {
  opacity: 1;
  filter: blur(0px);
  }
}

@media screen and (max-width: 1300px){
  @keyframes slide-in-bottom {
    0% {
        font-size: 54px;
        transform: translateY(-100%);
        opacity: 0;
        filter: blur(5px);
        }
        100% {
        font-size: 45px;
        transform: translateY(0);
        opacity: 1;
        filter: blur(0px);
        }
  }
}
@media screen and (min-width: 1300px){
  @keyframes slide-in-bottom {
    0% {
        font-size: 72px;
        transform: translateY(-100%);
        opacity: 0;
        filter: blur(5px);
        }
        100% {
        font-size: 54px;
        transform: translateY(0);
        opacity: 1;
        filter: blur(0px);
        }
  }
}


.test {
  animation-delay: 0.7s;
}

.list-academy li, .list-green li{
  animation-delay: 0.5s;
}

li.show{
  overflow: visible;
}

.btn-green {
  background-color: #007A3A;
  border-color: #007A3A;
  border-radius: 20px;
  color: white;
}
.btn-green:hover {
  background-color: #009b4b;
  border-color: #009b4b;
  color: white;
}
.btn-green:focus:active {
  background-color: #006b34;
  border-color: #006b34;
  color: white;
}
.btn-green:active {
  background-color: #006b34;
  border-color: #006b34;
  color: white;
}
.btn-green:focus {
  background-color: #006b34;
  border-color: #006b34;
  box-shadow: 0 0 0 0.2rem rgba(0, 134, 22, 0.25);
  color: white;
}


.contact-form-green a{
  color: #007A3A;
}


.contact-form-green .form-check-input[type="checkbox"] {
  border-color: #007A3A; /* Colore del bordo personalizzato */
}
.contact-form-green .form-check-input[type="checkbox"]:checked {
  background-color: #007A3A; /* Colore di sfondo personalizzato quando selezionata */
  border-color: #007A3A; /* Colore del bordo personalizzato quando selezionata */
}
.contact-form-green .form-check-input[type="checkbox"]:active {
  background-color: #007A3A;
}

.contact-form-green .form-check-input[type="checkbox"]:focus{
  border-color: #007A3A; /* Colore del bordo personalizzato quando selezionata */
}

.contact-form-green input:focus{
  border-color: #007A3A;
  box-shadow: 0 0 0 0.25rem rgba(0, 134, 22, 0.25)
}

.contact-form-green textarea:focus{
  border-color: #007A3A;
  box-shadow: 0 0 0 0.25rem rgba(0, 134, 22, 0.25)
}

/*Academy*/

.contact-form-academy a{
  color: #71122a;
}

.contact-form-academy .form-check-input[type="checkbox"] {
  border-color: #f1b600; /* Colore del bordo personalizzato */
}
.contact-form-academy .form-check-input[type="checkbox"]:checked {
  background-color: #71122a; /* Colore di sfondo personalizzato quando selezionata */
  border-color: #f1b600; /* Colore del bordo personalizzato quando selezionata */
}
.contact-form-academy .form-check-input[type="checkbox"]:active {
  background-color: rgb(113, 18, 42);
}
.contact-form-academy .form-check-input[type="checkbox"]:focus{
  border-color: #f1b600; /* Colore del bordo personalizzato quando selezionata */
}

.contact-form-academy input:focus{
  border-color: #71122a;
  box-shadow: 0 0 0 0.25rem rgba(177, 133, 1, 0.25)
}

.contact-form-academy textarea:focus{
  border-color: #71122a;
  box-shadow: 0 0 0 0.25rem rgba(177, 133, 1, 0.25)
}

.btn-academy {
  background-color: #71122a;
  border-color: #71122a;
  border-radius: 20px;
  color: white;
}
.btn-academy:hover {
  background-color: #ac1f42;
  border-color: #ac1f42;
  color: white;
}
.btn-academy:focus:active {
  background-color: #5e0d21;
  border-color: #5e0d21;
  color: white;
}
.btn-academy:active {
  background-color: #5e0d21;
  border-color: #5e0d21;
  color: white;
}
.btn-academy:focus {
  background-color: rgb(94, 13, 33);
  border-color: #5e0d21;
  box-shadow: 0 0 0 0.2rem rgba(94, 13, 33, 0.25);
  color: white;
}

.blurred-map{
  background-image: url(../img/map.webp) !important;
  background-size: auto !important;
  background-position: center left !important;
  background-repeat: no-repeat !important;
}

.border-20{
  border-radius: 20px;
}

.border-10{
  border-radius: 10px;
}

.bg-white-glass{
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
}