/* =================================
   FAQ SECTION
================================= */

.faq-section {
  width: 100%;
  padding: 90px 6.7%;
  background: #ffffff;
  overflow: hidden;
}

.faq-container {
  max-width: 1250px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1.12fr;
  column-gap: 80px;
  align-items: start;
}


/* =================================
   LEFT CONTENT
================================= */

.faq-intro {
  padding-top: 0;
}

.faq-intro h2 {
  font-size: 48px;
  line-height: 1.16;
  font-weight: 700;
  color: #080808;

  margin: 0 0 18px;
}

.faq-intro p {
  max-width: 390px;

  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  color: #222222;

  margin: 0 0 32px;
}


/* View All Button */

.faq-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 162px;
  height: 47px;
  padding: 0 28px;

  background: #003399;
  color: #ffffff;

  font-size: 12px;
  font-weight: 500;
  text-decoration: none;

  border: 1px solid #000000;
  border-radius: 50px;
  box-shadow: 1px 2px 0 #000000;

  transition: all 0.3s ease;
}

.faq-view-btn:hover {
  background: #ED8E2F;
  transform: translateY(-3px);
  box-shadow: 1px 5px 0 #000000;
}


/* =================================
   FAQ ACCORDION
================================= */

.faq-list {
  width: 100%;
}

.faq-item {
  width: 100%;
  border-bottom: 1px solid #dddddd;
}


/* Question Button */

.faq-question {
  width: 100%;
  min-height: 51px;

  display: flex;
  align-items: center;
  gap: 9px;

  padding: 10px 0;

  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;

  color: #080808;
  font-family: inherit;
}


/* Question Mark Icon */

.faq-question-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #f1efee;

  font-size: 13px;
  font-weight: 700;
  color: #111111;
}


/* Question Text */

.faq-question-text {
  flex: 1;

  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: #080808;
}


/* Plus / Minus Icon */

.faq-toggle {
  width: 20px;
  height: 20px;
  min-width: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #f1efee;

  font-size: 17px;
  line-height: 1;
  font-weight: 500;
  color: #111111;

  transition: transform 0.3s ease;
}


/* Active Question */

.faq-item.active .faq-question-icon {
  background: #003399;
  color: #ffffff;
}

.faq-item.active .faq-toggle {
  background: #f1efee;
}


/* =================================
   ANSWER
================================= */

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;

  transition: grid-template-rows 0.35s ease;
}

.faq-answer p {
  overflow: hidden;

  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  color: #222222;

  margin: 0;
  padding: 0 28px 0 29px;

  transition: padding 0.35s ease;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 15px;
}


/* =================================
   SCROLL REVEAL ANIMATION
================================= */

.faq-reveal {
  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* =================================
   TABLET
================================= */

@media (max-width: 992px) {

  .faq-section {
    padding: 75px 5%;
  }

  .faq-container {
    grid-template-columns: 0.9fr 1.1fr;
    column-gap: 40px;
  }

  .faq-intro h2 {
    font-size: 40px;
  }

}


/* =================================
   MOBILE
================================= */

@media (max-width: 650px) {

  .faq-section {
    padding: 60px 6%;
  }

  .faq-container {
    grid-template-columns: 1fr;
    row-gap: 45px;
  }

  .faq-intro h2 {
    font-size: 34px;
  }

  .faq-intro p {
    font-size: 14px;
  }

  .faq-question-text {
    font-size: 13px;
  }

  .faq-answer p {
    font-size: 13px;
  }

}
.faq-answer p {
  min-height: 0;
}