#welcome {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#welcome div h2 {
  color: #fff;
  font-size: 3.3rem;
  max-width: 800px;
}
#welcome div button {
  border: none;
  background-color: #e4d500;
  width: 170px;
  height: 50px;
  color: #333;
  font-size: 1rem;
  border-radius: 120px;
  transition: all 0.3s;
}

#welcome div button:hover {
  background-color: #e4d500dc;
}
#welcome::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/contact/pc/bcg.jpg");
  filter: brightness(0.4);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #f0f0f0;
  z-index: -1;
}

#instruction {
  text-align: center;
  margin-top: 50px;
}

#instruction h3 {
  font-size: 2.5rem;
}
#instruction .social-media-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

#instruction .social-media-container .c-margin {
  width: 330px;
}
#instruction .i-container {
  display: grid;
  place-content: center;
  background-color: #e4d500;
  width: 90px;
  height: 90px;
  margin-inline: auto;
  border-radius: 50%;
  font-size: 2.7rem;
  color: #333;
}
#instruction h5 {
  margin-top: 10px;
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0px;
}
#instruction span {
  font-size: 1.1rem;
  color: #333333de;
}

#faq {
  margin-top: 50px;
  background-color: #3333330c;
  padding-bottom: 50px;
}

#faq .title h3 {
  padding-top: 20px;
  text-align: center;
  font-size: 2.5rem;
  letter-spacing: 20px;
}
#faq .flex-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1250px;
  margin-inline: auto;
  margin-top: 50px;
}
#faq .c-card {
  width: 31%;
  background-color: #fff;
  margin-inline: 10px;
  height: 400px;
  border-top: 30px solid #ffec00;
  border-radius: 35px 35px 10px 10px;
}
#faq .c-card div {
  padding-inline: 20px;
  padding-top: 40px;
}
#faq .c-card div h4 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}
#faq .c-card div p {
  font-size: 1.05rem;
  color: #333;
  line-height: 35px;
}
#faq .c-card div a {
  color: #e4d500;
}

#form {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

#form .form-container {
  width: 90%;
  max-width: 1023px;
}

#form .title h3 {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
}

#form .top {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-inline: auto;
}

#form label {
  display: block;
  margin-left: 8px;
}

#form .div-input {
  width: 48%;
  margin-inline: 10px;
}

#form .text-input {
  margin-top: 20px;
  width: 100%;
}
#form .text-input label {
  margin-left: 17px;
}
#form input {
  width: 100%;
  height: 50px;
  padding-left: 10px;
  border: none;
  border-radius: 20px;
}
#form input:focus {
  outline: none;
}
#form textarea {
  width: 98%;
  height: 230px;
  margin-inline: 10px;
  padding-top: 10px;
  padding-left: 10px;
  border: none;
  border-radius: 20px;
}
#form textarea:focus {
  outline: none;
}
#form .div-btn {
  text-align: center;
  margin-top: 20px;
}
#form .div-btn button {
  width: 200px;
  height: 55px;
  background-color: #ffec00;
  border: none;
  font-size: 1rem;
  letter-spacing: 1px;
  border-radius: 100px;
  transition: all 0.3s;
}
#form .div-btn button:hover {
  background-color: #c5b800;
}

@media only screen and (max-width: 1279px) {
  #welcome div h2 {
    font-size: 2.9rem;
  }
  #welcome div button {
    width: 150px;
    height: 47px;
    font-size: 0.95rem;
  }

  #faq .c-card {
    height: 370px;
  }

  #faq .c-card div h4 {
    font-size: 1.7rem;
  }

  #faq .c-card div p {
    font-size: 1rem;
    line-height: 33px;
  }
  #faq .flex-container {
    margin-top: 30px;
  }
  #form .div-input {
    width: 47%;
  }
  #form textarea {
    width: 97%;
  }
  #form .div-btn button {
    width: 180px;
    height: 52px;
  }
}

@media only screen and (max-width: 1023px) {
  #faq .flex-container {
    margin-top: 0px;
  }
  #faq .c-card {
    margin-top: 30px;
    width: 47%;
  }

  #faq .c-l-card {
    width: 97%;
  }
}
@media only screen and (max-width: 767px) {
  #welcome {
    height: 500px;
  }

  #welcome div h2 {
    font-size: 2.6rem;
  }
  #welcome div button {
    font-size: 0.9rem;
  }
  #instruction h3 {
    font-size: 2.2rem;
  }

  #instruction .social-media-container {
    margin-top: 0px;
    flex-wrap: wrap;
  }

  #faq .c-card {
    width: 97%;
    height: 300px;
  }
  #instruction .social-media-container .c-margin {
    width: 48%;
    margin-top: 50px;
    margin-inline: 5px;
  }

  #form .form-container {
    width: 100%;
  }

  #form .div-input {
    width: 47%;
    margin-inline: 5px;
  }
}

@media only screen and (max-width: 499px) {
  #welcome div h2 {
    font-size: 2rem;
  }

  #instruction .social-media-container .c-margin {
    width: 100%;
  }
  #faq .c-card {
    width: 98%;
    height: 380px;
  }
  #faq .c-card div a {
    font-size: 0.9rem;
  }
  #form .div-input {
    width: 100%;
    margin-bottom: 20px;
  }
  #form .text-input {
    margin-top: 0px;
  }
  #form textarea {
    width: 95%;
    margin-left: 9px;
  }
}
