/**
 * ========================================
 * // all
 * ========================================
 */

#contact {
  background-color: #0a0a0a;
  margin-top: -90px;
}

/**
 * ========================================
 * // intro
 * ========================================
 */

#bg_contact {
  background-image: url("../images/bg_contact.png");
  background-repeat: no-repeat;
  display: block;
  background-size: cover;
  position: relative;
  z-index: 0;
}

#con_intro {
  height: 105vh;
}

.con_head {
  font-weight: 900;
  font-size: 90px;
  color: #ffffff;
  line-height: 1em;
  padding-top: calc((100vh - 240px) / 2);
  max-width: 1200px;
  width: 100%;
  margin: auto;
}

.br_head {
  display: none;
}

.con_animate {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  margin: auto;
  margin-top: 50px;
}

.con_arrow {
  width: 0;
  height: 2px;
  background: white;
  position: relative;
  animation: drawLine 1s ease forwards;
  animation-delay: 0.2s;
}

@keyframes drawLine {
  from {
    width: 0;
  }
  to {
    width: 700px; /* Adjust based on your design */
  }
}

/* Arrowhead (optional) */
.con_arrow::after {
  content: "";
  position: absolute;
  right: 3px;
  top: -10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  padding: 10px;
  transform: rotate(-45deg);
  opacity: 0;
  animation: arrowHead 0.3s ease forwards;
  animation-delay: 1s;
}

@keyframes arrowHead {
  to {
    opacity: 1;
  }
}

.con_icons {
  display: flex;
  gap: 15px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIcons 0.5s ease-out forwards;
  animation-delay: 1.2s;
  align-items: baseline;
  margin-left: 50px;
}

#con_mail {
  width: 50px;
}

#con_wa {
  width: 45px;
  margin-left: 5px;
}

#con_linkedin {
  width: 45px;
}

@keyframes fadeIcons {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (min-width: 1025px) and (max-width: 1440px) {
  #wrap-contact {
    padding-top: 80px;
  }

  .con_head {
    max-width: 70vw;
  }

  .con_animate {
    max-width: 70vw;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  #wrap-contact {
    padding-top: 80px;
  }

  #con_intro {
    height: 110vh;
  }

  .con_head {
    max-width: 70vw;
    text-align: center;
    padding-top: calc((100vh - 362px) / 2);
    line-height: 1.1em;
  }

  .br_head {
    display: block;
  }

  .con_animate {
    max-width: 70vw;
    justify-content: center;
    margin-top: 120px;
  }

  .con_arrow {
    display: none;
  }

  .con_icons {
    margin-left: 0;
    gap: 30px;
  }
}

@media screen and (max-width: 767px) {
  #wrap-contact {
    padding-top: 20px;
  }

  #con_intro {
    height: 110vh;
  }

  .con_head {
    max-width: 85vw;
    text-align: center;
    padding-top: calc((100vh - 262px) / 2);
    font-size: 60px;
    line-height: 1.1em;
  }

  .br_head {
    display: block;
  }

  .con_animate {
    max-width: 85vw;
    justify-content: center;
    margin-top: 80px;
  }

  .con_arrow {
    display: none;
  }

  .con_icons {
    margin-left: 0;
    gap: 30px;
  }

  #con_mail {
    width: 40px;
  }

  #con_wa {
    width: 35px;
  }

  #con_linkedin (
    width: 35px;
  );
}

/**
 * ========================================
 * // form
 * ========================================
 */

#con_form {
  margin: 80px 0 150px 0;
}

.con_text {
  font-weight: 600;
  font-size: 22px;
  color: #e6e6e6;
  margin-bottom: 35px;
}

#txt_name,
#txt_email,
#txt_sub,
#txt_mes {
  font-size: 18px;
  font-weight: 900;
  color: #ef5323;
  cursor: url("https://joevisualstudio.com/wp-content/themes/joe-visual/images/cursor/orange.cur") 8 8, pointer;
}

/* #txt_company,
#txt_num,
#txt_mes {
  font-size: 18px;
  font-weight: 900;
  color: #e6e6e6;
} */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="number"],
.wpcf7 textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid #4d4d4d;
  outline: none;
  padding: 12px 4px;
  font-size: 16px;
  font-family: Montserrat;
  color: #ffffff;
  width: 50%;
  box-sizing: border-box;
  margin-top: 10px;
  cursor: url("https://joevisualstudio.com/wp-content/themes/joe-visual/images/cursor/white.cur") 8 8, pointer;
}

.wpcf7 textarea {
  height: 120px;
}

.formsubmit {
  font-size: 24px;
  font-weight: 900;
  padding: 15px 45px;
  border: solid 2px #ef5323;
  border-radius: 50px;
  background-color: transparent;
  font-family: Montserrat;
  margin-top: 10px;
  color: #fff;
  cursor: url("https://joevisualstudio.com/wp-content/themes/joe-visual/images/cursor/white.cur") 8 8, pointer;
}

.wpcf7-not-valid-tip {
  font-size: 12px !important;
  color: #4d4d4d !important;
  font-family: Montserrat;
}

.wpcf7 form.init .wpcf7-response-output {
  display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
  display: none;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border: none; /* Orange */
  color: #c63c17;
  text-align: left;
  padding: 0;
}

.wpcf7 form.spam .wpcf7-response-output {
  border: none; /* Orange */
  color: #c63c17;
  text-align: left;
  padding: 0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  display: none;
}

.grecaptcha-badge {
  display: none;
}

@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .con_text {
    font-size: 20px;
    margin-bottom: 30px;
  }

  #txt_name,
  #txt_email,
  #txt_sub,
  #txt_mes {
    font-size: 16px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="number"],
  .wpcf7 textarea {
    padding: 8px 4px;
    font-size: 14px;
    min-width: 717px;
    max-width: 70%;
    width: 100%;
    margin-top: 5px;
  }

  .wpcf7 textarea {
    height: 100px;
  }

  .formsubmit {
    font-size: 22px;
    padding: 12px 40px;
    border-radius: 50px;
    margin-top: 5px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .con_text {
    font-size: 18px;
    margin-bottom: 30px;
  }

  #txt_name,
  #txt_email,
  #txt_sub,
  #txt_mes {
    font-size: 16px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="number"],
  .wpcf7 textarea {
    padding: 8px 4px;
    font-size: 14px;
    max-width: 70vw;
    width: 100%;
    margin-top: 5px;
  }

  .formsubmit {
    font-size: 22px;
    padding: 12px 40px;
    border-radius: 50px;
    margin-top: 5px;
  }
}

@media screen and (max-width: 767px) {
  #con_form {
    margin: 80px 0 100px 0;
  }

  .con_text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  #txt_name,
  #txt_email,
  #txt_sub,
  #txt_mes {
    font-size: 14px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="number"],
  .wpcf7 textarea {
    padding: 4px 4px;
    font-size: 14px;
    max-width: 85vw;
    width: 100%;
    margin-top: 5px;
  }

  .wpcf7 textarea {
    height: 80px;
  }

  .formsubmit {
    font-size: 18px;
    padding: 10px 35px;
    border-radius: 50px;
    margin-top: 5px;
  }
}
