*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #333333;
  background-color: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: unset;
}

.m-y-smal {
  margin: 1.5rem 0;
}

.m-b-small {
  margin-bottom: 1.5rem;
}

.m-b-large {
  margin-bottom: 2.5rem;
}

.m-t-small {
  margin-top: 1.5rem;
}

.m-t-large {
  margin-top: 2.5rem;
}

.m-y-lg {
  margin: 2.5rem 0;
}

.m-0 {
  margin: 0 !important;
}

.container {
  max-width: 120rem;
  width: min(100% - 3rem);
  margin: 0 auto;
}

.faq-page {
  margin: 2.5rem 0;
}

.faq-title {
  text-align: center;
  font-weight: bold;
  font-size: 40px;
  color: #ff6600;
}

.faq-desc {
  margin-top: 1.2rem;
  text-align: center;
  letter-spacing: 0.3px;
  color: #434343;
  font-weight: 500;
}

.category-faq {
  margin: 3.5rem 0;
}

.category-title {
  font-size: 3.6rem;
  font-weight: bold;
  color: #ff6600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.category-faq-question {
  background-color: #333333;
  color: #ffffff;
  padding: 12px;
  font-size: 2rem;
  font-weight: 500;
  border-radius: 5px;
  display: flex;
  align-items: center;
  margin-top: 2.5rem;
  column-gap: 1.5rem;
}

.category-faq-question:nth-child(1) {
  margin-top: 0;
}

.category-faq-question > i {
  color: rgb(255, 102, 0);
}

.category-faq-answer {
  padding: 25px;
  margin-top: 1.2rem;
  border-radius: 5px;
  border: 2px solid #ededed;
}

.category-faq-answer-title {
  color: #ff6600;
  font-size: 2.2rem;
  font-weight: 500;
  text-align: center;
  padding-bottom: 10px;
  width: fit-content;
  margin: 0 auto;
  border-bottom: 1px solid #ff6600;
  margin-bottom: 2.5rem;
}

.category-faq-answer-single {
  margin: 2.5rem 0;
}

.category-faq-answer-single-title {
  background-color: #ff6600;
  color: #ffffff;
  padding: 12px 25px;
  font-size: 2rem;
  font-weight: 500;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.category-faq-answer-text {
  font-size: 1.6rem;
  margin: 1.2rem 0;
}

.category-faq-images {
  display: flex;
  justify-content: space-evenly;
  gap: 25px;
  margin: 2.5rem 0;
}

.category-faq-images > img {
  display: block;
  width: 35rem;
  object-fit: cover;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
  border-radius: 5px;
}

.category-faq-answer-multi {
  margin-top: 5rem;
}

.category-faq-answer-multi > img,
.category-faq-answer > img {
  display: block;
  margin: 2.5rem auto;
  box-shadow: rgb(14 30 37 / 12%) 0px 2px 4px 0px,
    rgb(14 30 37 / 32%) 0px 2px 16px 0px;
  border-radius: 5px;
}

.category-images-flex {
  display: flex;
  justify-content: space-between;
  gap: 5rem 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.category-images-text {
  width: 38rem;
}

.category-images-text > img {
  display: block;
  width: 100%;
  margin: 0 auto;
  object-fit: cover;
  box-shadow: rgb(14 30 37 / 12%) 0px 2px 4px 0px,
    rgb(14 30 37 / 32%) 0px 2px 16px 0px;
  border-radius: 5px;
}

.mt-large {
  margin-top: 5rem;
}

.category-link {
  color: #2b74c7;
}

.category-types {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 3.5rem 0;
}

.category-type {
  width: 14rem;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  padding: 2.5rem;
  text-align: center;
  border-radius: 5px;
  transition: all 300ms ease;
}

.category-type:hover {
  color: #ffffff;
  background-color: #ff6600;
}

.category-type > i {
  font-size: 2.8rem;
}

.category-type-text {
  display: block;
  padding-top: 8px;
  font-size: 2rem;
}

.category-questions {
  margin: 5rem 0;
}

.category-question {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 12px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  border-radius: 5px;
}

.category-question:last-child {
  margin-bottom: 0;
}

.category-question-no {
  display: block;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 5px;
  background-color: #ff6600;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-question-text {
  flex: 1;
}

.category-faq-question-text {
  flex: 1;
}

/* Back-To-Top */
#button {
  display: inline-block;
  background-color: #ff6600;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#button::after {
  content: '\f077';
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

#button:hover {
  cursor: pointer;
  background-color: #333;
}

#button:active {
  background-color: #555;
}

#button.show {
  opacity: 1;
  visibility: visible;
}

/* Media Queries */

@media (max-width: 875px) {
  .category-images-flex {
    flex-direction: column;
  }

  .category-images-text {
    width: 100%;
  }

  .category-images-text > img {
    width: 30rem;
  }
}

@media (max-width: 767px) {
  .category-faq-images {
    flex-direction: column;
    row-gap: 5rem;
  }

  .category-faq-images > img {
    width: 30rem;
    margin: 0 auto;
  }
}

@media (max-width: 550px) {
  body {
    font-size: 1.6rem;
  }

  .faq-title {
    font-size: 3.2rem;
  }

  .category-faq-question {
    padding: 12px;
    font-size: 1.8rem;
    font-weight: 500;
  }

  .category-faq-answer-title {
    font-size: 1.8rem;
  }

  .category-faq-answer-single-title {
    width: 100%;
    justify-content: space-between;
  }

  .category-faq-answer-single-title {
    padding: 12px;
    font-size: 1.8rem;
  }

  .category-faq-answer {
    padding: 12px;
  }

  .category-faq-answer-multi > img,
  .category-faq-answer > img {
    width: 30rem;
  }
}
