
.header-contact {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-bottom: 1px solid var(--primary-border-color);
  margin-bottom: 50px;
  padding: 0 10px;
}

.header-contact h1 {
  font-size: 4em;
  font-weight: 700;
  color: var(--primary-color);
}

.header-contact p {
  max-width: 700px;
  text-align: center;
  color: var(--primary-text2-color);
}

.section1 {
  display: flex;
  margin-bottom: 50px;
  padding: 0 10px;
}

.section1 form {
  position: relative;
}

.section1 form {
  position: relative;
  width: calc( 100% - 330px);
  display: flex;
  flex-direction: column;
}

.section1 .bxinput {
  display: flex;
  width: 100%;
  gap: 15px;
  justify-content: space-between;
}

.section1 .bxinput input {
  width: 50%;
}

.section1 input, .section1 textarea {
  padding: 10px;
  background: var(--primary-bg15-color);
  border: 1px solid var(--primary-border-color);
  color: var(--primary-text1-color);
  font-family: 'poppins';
  margin-bottom: 15px;
  font-size: 0.9em;
}

.section1 input:focus, .section1 textarea:focus {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05), 0 0 1px 0px var(--primary-color);
  border: 1px solid var(--primary-color);
}

.section1 textarea {
  resize: vertical;
  height: 150px;
}

.section1 input[type="submit"] {
  width: fit-content;
  background: var(--primary-color);
  padding: 10px 25px;
  border: none;
  font-weight: 600;
  color: var(--light-color);
  cursor: pointer;
}

.section1 .content-newsletter {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 25px 10px;
  width: 290px; height: fit-content;
  background: var(--primary-color);
  margin-left: 30px
}

.section1 .content-newsletter .whatsapp-button {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--whatsapp-color);
  margin-top: 5px;
}

.section1 .content-newsletter svg {
  width: 60px;
}

.section1 .content-newsletter h3 {
  margin-top: 10px;
  color: var(--light-color);
}

.section1 .content-newsletter .whatsapp-button .svg {
  display: flex;
  margin-right: 5px;
}

.section1 .content-newsletter .whatsapp-button .svg svg {
  width: 25px;
}

.section1 .content-newsletter .whatsapp-button span.text {
  margin: 0;
  color: var(--light-color);
  font-size: 0.9em;
  font-weight: 500;
}

.section1 .content-newsletter > span {
  margin-top: 10px;
  font-size: 0.8em;
  color: var(--light-color);
}

.section2 {
  position: relative;
  margin-bottom: 40px;
  padding: 0 10px;
}

.section2 ul {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax( 300px, 1fr));
  grid-gap: 30px;
}

.section2 ul li {
  display: flex;
  align-items: center;
  flex-direction: column;
  background: var(--primary-bg15-color);
  border: 1px solid var(--primary-border-color);
  width: 100%;
  padding: 30px 20px;
  transition: 0.1s transform;
}

.section2 ul li:hover {
  transform: translateY(-10px);
}

.section2 ul li h2 {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

.section2 ul li h2 span.svg {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  margin-bottom: 10px;
  width: 50px; height: 50px;
  border-radius: 50%;
}

.section2 ul li h2 span.svg svg {
  fill: var(--light-color);
  width: 20px;
}

.section2 ul li p {
  font-size: 0.9em;
  text-align: center;
}

.section2 ul li p a {
  color: var(--primary-color);
}


@media all and ( max-width: 1000px ) {
  .header-contact {
    height: 250px;
  }
  .header-contact h1 {
    font-size: 3em;
  }
  .header-contact p {
    max-width: 600px;
    font-size: 0.9em;
  }
}


@media all and ( max-width: 900px ) {
  .section1 {
    display: flex;
    flex-direction: column;
  }
  .section1 form {
    width: 100%;
    margin-bottom: 30px;
  }
  .section1 .content-newsletter {
    margin: 0;
    width: 100%;
  }
}



@media all and ( max-width: 700px ) {
  .header-contact h1 {
    font-size: 2.5em;
  }
  .header-contact p {
    max-width: 500px;
    font-size: 0.85em;
  }
}


@media all and ( max-width: 500px ) {
  .section1 input, .section1 textarea {
    padding: 10px 5px;
    margin-bottom: 10px;
    font-size: 0.85em;
  }
}


@media all and ( max-width: 400px ) {
  .header-contact h1 {
    line-height: 40px;
    text-align: center;
    margin-bottom: 15px;
  }
}

