/* ==========================================================================
   SEZIONE 6: Contatti
   ========================================================================== */

#homepage #sixth-section .section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
}

#homepage #sixth-section .font-heading {
  font-family: var(--font-heading);
}

/* ==========================================================================
   FORM DI CONTATTO
   ========================================================================== */

#homepage #sixth-section .form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

#homepage #sixth-section .custom-input {
  background-color: var(--bg-light);
  border: 1px solid var(--color-secondary);
  border-radius: 5px;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

/* Effetto al click sull'input */
#homepage #sixth-section .custom-input:focus {
  box-shadow: none;
  border-color: var(--color-primary);
  background-color: var(--bg-main);
}

/* ==========================================================================
   CONTATTI DIRETTI (Colonna Destra)
   ========================================================================== */

#homepage #sixth-section .border-primary-custom {
  border-color: var(--color-primary) !important;
}

/* Icone circolari */
#homepage #sixth-section .contact-icon {
  width: 55px;
  height: 55px;
  font-size: 1.3rem;
  background-color: var(--color-primary);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

/* Effetto Hover sui link contatti */
#homepage #sixth-section .contact-link span {
  transition: color 0.3s ease;
}

#homepage #sixth-section .contact-link:hover span {
  color: var(--color-primary) !important;
}

#homepage #sixth-section .contact-link:hover .contact-icon {
  transform: scale(1.1);
  background-color: var(--color-accent) !important;
}

#homepage #sixth-section .form-check {
  display: flex;
  align-items: center;
}

#homepage #sixth-section input[type="checkbox"].custom-input {
  width: 1.2rem;
  height: 1.2rem;
  padding: 0;
  margin-top: 0;
  margin-right: 10px;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--bg-main);
  border: 2px solid var(--color-secondary);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

#homepage #sixth-section input[type="checkbox"].custom-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

#homepage #sixth-section input[type="checkbox"].custom-input:checked::before {
  content: "\2714";
  color: #fff;
  font-size: 0.9rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#homepage #sixth-section .form-check-label {
  cursor: pointer;
  margin-bottom: 0;
}
