@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.container-form{
    width: 100%;
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 50px;
    margin-top: 50px;
}
.container-form h2{
  color: #54749C;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: justify;
}
.container-form p{
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: justify;
}
.container-form a{
    font-size: 16px;
    display: inline-block;
    text-decoration: none;
    width: 100%;
    margin-bottom: 15px;
    color: black;
    font-weight: 700;
}
.container-form a i{
    color: #65A5DC;
    margin-right: 10px;
}

.input-field {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

/* Icono dentro del campo, alineado al inicio del texto */
.input-field i {
  position: absolute;
  top: 16px;      /* Igual que padding-top del campo */
  left: 15px;     /* Separación del borde */
  color: #888;
  font-size: 14px;
  pointer-events: none; /* Para que no interfiera al hacer click en el input */
}

/* Inputs y selects */
.input-field input,
.input-field select {
  width: 100%;
  padding: 12px 15px 12px 40px; /* padding-left = espacio para el icono */
  border: none;
  outline: none;
  background: #f3f3f3;
  border-radius: 6px;
  font-size: 14px;
}

/* Textarea */
.input-field textarea {
  width: 100%;
  /*height: 200px;*/
  min-height: 150px;/* Permite crecer si el contenido es mayor */
  padding: 12px 15px 12px 40px; /* igual padding-left para icono */
  border: none;
  outline: none;
  background: #f3f3f3;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.3s;
  resize: none;
}

/* Focus effect */
.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(36, 59, 85, 0.3);
}


.container-form .btn-enviar{
    padding: 0.6rem 1.5rem;
    font-size: 13px;
    font-weight: 600;
    border: none;
    outline: 0px;
    background: #65A5DC;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    margin-bottom: 100px;
}
.container-form .btn-enviar:hover{
    background: #5291c8;
}

/* Responsivo para telefonos xd */
@media (max-width: 768px){
  .container-form{
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .container-form h2{
    text-align:center;

  }

  .container-form p{
    text-align: justify;
    
  }

  /*boton*/
  .btn-enviar{
    width: 100%;
  }
}
