/* Estilos base para el contenedor del formulario */
.contacto {
  margin-top: 100px !important;
  margin-bottom: 100px !important;
  border-radius: 50px;
  background-color: #f8f9fa;
  padding: 50px 0;
  width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Primer Row: Imagen con texto al lado */
.formulario-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
}

.formulario-header-content {
  transform: translate(-100px);
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Alinea los elementos horizontalmente a la izquierda */
  gap: 1rem;
}

.formulario-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.formulario-image {
  max-width: 80px;
  height: 110px;
}

/* Título */
.formulario-title-line1 {
  font-family: 'AvenusType', sans-serif;
  font-weight: 400;
  font-size: 60px;
  color: #010c4d;
  margin: 0;
  line-height: 0.5; /* Reduce el espacio entre líneas */
}

.formulario-title-line2 {
  font-family: 'CeraPro', sans-serif;
  font-weight: 900;
  font-size: 40px;
  color: #6dbf3d;
  margin: 0;
}

.textarea {
  border-top-left-radius: 5px; /* Redondea la esquina superior derecha */
  border-bottom-left-radius: 5px; /* Redondea la esquina inferior derecha */
}

/* Bordes de los inputs y textarea */
input, textarea {
  border: 2px solid #8cc63f; /* Verde claro */
  padding: 10px;
  border-top-right-radius: 5px; /* Redondea la esquina superior derecha */
  border-bottom-right-radius: 5px; /* Redondea la esquina inferior derecha */
  width: 100%; /* Por defecto, todos los inputs y textarea ocuparán todo el ancho */
  box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
}

input[type="text"]:focus, textarea:focus {
  outline: none;
  border-color: #6dbf3d; /* Cambiar el borde a un verde más oscuro al hacer foco */
}

/* Hacer que el input nombre ocupe toda la fila */
#nombre {
  width: 100%; /* Asegura que el input ocupe todo el ancho de la fila */
}

/* Los inputs correo y teléfono estarán en la misma fila */
.formualrio {
  display: flex;
  flex-wrap: wrap; /* Permite que los inputs se ajusten a varias filas */
  gap: 20px;
}

#correo, #telefono {
  width: calc(50% - 15px); /* Divide la fila en dos, restando el gap entre ellos */
}

/* Ajuste de tamaño para el textarea */
textarea {
  height: 150px; /* Puedes ajustar la altura del textarea según lo necesites */
}

/* Responsividad: Ajuste para pantallas pequeñas */
@media (max-width: 767px) {
  /* Contenedor principal */
  .contacto {
      width: 100%; /* Ocupa todo el ancho disponible */
      padding: 20px; /* Reducir el padding */
  }

  /* Encabezado */
  .formulario-header {
      flex-direction: column; /* Hace que los elementos del encabezado se apilen verticalmente */
      align-items: center; /* Centra los elementos del encabezado */
      text-align: center; /* Centra el texto */
  }

  .formulario-header-content {
      transform: translate(0); /* Elimina el desplazamiento */
      justify-content: center; /* Centra los elementos del encabezado */
  }

  /* Imágenes */
  .formulario-image {
      max-width: 60px; /* Ajusta el tamaño de la imagen */
      height: 80px; /* Ajusta la altura */
  }

  /* Títulos */
  .formulario-title-line1 {
      font-size: 36px; /* Reduce el tamaño del texto */
  }

  .formulario-title-line2 {
      font-size: 28px; /* Reduce el tamaño del texto */
  }

  /* Los inputs se apilan verticalmente */
  #correo, #telefono {
      width: 100%; /* Los inputs de correo y teléfono ocupan todo el ancho */
  }

  /* Ajustar el tamaño de los inputs */
  .formualrio {
      gap: 10px; /* Reduce el espacio entre los inputs */
  }

  /* Asegura que el botón ocupe todo el ancho */
  .formualrio .button {
      width: 100%;
      padding: 15px; /* Aumenta el padding para hacerlo más accesible */
  }

  /* Ajustar el textarea */
  textarea {
      height: 120px; /* Ajusta la altura del textarea */
  }
}

/* Estilo para el botón */
.formualrio .button {
  align-items: center !important;
  background-color: #8cc63f;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: auto; /* El botón se ajusta al contenido */
}

.input-container {
  display: flex;
  width: 100%;
  margin-bottom: 15px;
}

.icon {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding: 10px;
  background: #8cc63f;
  color: white;
  min-width: 50px;
  text-align: center;
}

.fa-phone {
  font-size: 20px;
}

.input-field {
  width: 100%;
  padding: 10px;
  outline: none;
}

.input-field:focus {
  border: 2px solid dodgerblue;
}

/* Botón de envío */
.btn {
  background-color: #8cc63f;
  color: white;
  padding: 15px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.btn:hover {
  opacity: 1;
}

.mensaje {
  margin-top: 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.button {
  color: #fff;
  font-family: 'CeraPro', sans-serif;
  font-weight: 900;
}


.modal-title{
  font-family: 'CeraPro', sans-serif;
  font-weight: 900;
  font-size: 2em;
  color: #010c4d;
}

.modal-body{
  font-family: 'CeraPro', sans-serif;
  font-weight: 400;
  font-size: 1.5em;
  color: #010c4d;
}
.modal-footer {
  display: flex;
  justify-content: center;
  gap: 10px; /* Espaciado entre botones */
}

.modal-footer button{
  border-radius: 5px;
  font-family: 'CeraPro', sans-serif;
  font-weight: 900;
  font-size: 1.5em;
  color: #fff;
  background-color: #8cc63f;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin: 10px;
  width: 50%;
  height: 50px;
}



.modal-transparent {
  background: transparent !important;
  border: none;
  box-shadow: none;
}

.modal-transparent .modal-content {
  background: transparent !important;
  border: none;
  box-shadow: none;
}
.modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* Asegura que ocupe toda la pantalla */
}

.modal-transparent .modal-content {
  background: transparent !important;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
