@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

.text_container {
  display: none !important;
}

.photos .people{
  max-width: 350px;
  bottom: 30px !important;
}

.photos .logo {
  width: 470px;
  bottom: 0 !important;
}

.photos .city {
  width: 300% !important;
}

.hero {
  min-height: 700px !important;
}

.form-container-contatti {
  background-color: #fff;
  max-width: 700px;              /* Puoi regolare la larghezza a piacere */
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  position: relative;
}

.form-group-contatti {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #97979b;
  text-align: center;
  font-size: 15px;
}

/* Input generici e textarea */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 0px solid #ccc;
  border-radius: 25px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color 0.2s ease;
  text-align: left;
  background: #efefef;
  position: relative;
}

/* Placeholder */
::placeholder {
  color: #bbb;
}

/* Hover e focus sugli input */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #2a8d99;
}

/* Stile della textarea */
textarea {
  resize: none;           /* Nessun ridimensionamento manuale */
  height: 120px;
}

/* Contatore caratteri */
.char-counter {
  text-align: right;
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

#form-contatti {
  background: var(--teal-green);
  padding: 25px 10px 60px;
  margin-top: 100px;
  border-radius: 25px;
}

.btn-submit-form-contatti {
  position: absolute;
  bottom: -20px;
  padding: 15px 25px;
  outline: none;
  border:0;
  border-radius:25px;
  background: var(--theme-color);
  color: var(--bg-light);
  text-transform: uppercase;
  font-weight: bold;
  left: 50%;
  transform: translate(-50%, 0);
  font-size: 13px;
}

.professional-section .text-content {
  padding-top: 60px;
  color: var(--bg-light);
}

.professional-section .card {
  position: relative;
  align-items: center;
  background-color: transparent;
  border: none;
}

.professional-section .card-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding-right: 10px;
  z-index: 1000;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.professional-section .card-body{
  width: 80%;
  background-color: var(--bg-light);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  position: relative;
  top: -40px;
  padding-top: 50px;
}

.professional-section .card-body p {
  line-height:20px; 
  font-size: 1.6rem;
  font-weight: 400;
}
.professional-section .card-body::before {
  content: "";
  position: absolute;
  top: -10px; /* Moves border up */
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--bg-light); 
}
.professional-section .owl-nav {
  position: relative;
  top: -265px;
  display: flex;
  justify-content: space-between;
}

.professional-section .owl-dots {
  display: flex;               
  justify-content: center;  
  margin-top: 20px;    
  margin-bottom: 20px;  
}

.professional-section .owl-dot span {
  width: 12px;         
  height: 12px;
  background-color: #fff;  
  display: block;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Pallino attivo */
.professional-section .owl-dot.active span {
  background-color: var(--theme-color);  /* Colore selezionato */
}

.explain_container p,
.mutuo_text p {
  margin: 15px auto;
  font-size: 20px;
  text-align: center;
}


@media (min-width: 768px) and (max-width: 1800px) {
  .label-text{
    text-align: center;
  }
  .age-toggle-container{
    flex-direction: column;
  }
}


@media(min-width: 768px) {

  .photos .city {
      width: 150% !important;
  }

  svg{
      width: 40px;
  }

}

@media(min-width: 1200px) {
  .container-sezioni {
    display: flex;
    flex-wrap: wrap;
  } 

  section {
    width: 100%;
  }
  
  .active-text{
    display: none;
  }

  .hidden-text{
    display: flex;

  }

  .photos .city {
      width: 100% !important;
  }

  .photos .people{
      max-width: inherit;
  }

  .people{
      height: 100% !important;
  }

  .photos .logo {
      bottom: 60px !important;
  }

  .hero {
      min-height: 535px !important;
  }

  svg{
      width: 25px;
  }
  

}