/* ======================================================
LG Recruitment Services
Clients FAQ Section
Responsive | Modern | Clean | Bootstrap Studio
====================================================== */

/* ==========================
SECTION
========================== */

.faq-section {
  padding: 100px 0;
  background: #f8fafc;
}

.faq-section .container {
  width: 100%;
  max-width: 1320px;
  margin: auto;
  padding-left: 25px;
  padding-right: 25px;
}

/* ==========================
HEADER
========================== */

.faq-header {
  max-width: 850px;
  margin: 0 auto 70px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  color: #2F855A;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.faq-header h2 {
  font-size: 52px;
  font-weight: 700;
  color: #073752;
  margin-bottom: 20px;
  line-height: 1.15;
}

.faq-header p {
  color: #667085;
  font-size: 18px;
  line-height: 1.9;
}

.faq-header {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 34px 0 !important;
  padding: 0 !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.faq-header .section-tag {
  display: inline-block !important;
  margin: 0 0 16px 0 !important;
  text-align: left !important;
}

.faq-header h2 {
  width: 100% !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
  text-align: left !important;
  color: #ffffff !important;
}

.faq-header p {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  color: #e6f8f3 !important;
  line-height: 1.8 !important;
}

/* ==========================
FAQ WRAPPER
========================== */

.faq-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* ==========================
FAQ CARD
========================== */

.faq-item {
  background: #ffffff;
  border: 1px solid #e7edf2;
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: .35s ease;
}

.faq-item:hover {
  border-color: #cfd8df;
  box-shadow: 0 12px 35px rgba(0,0,0,.06);
}

/* ==========================
QUESTION
========================== */

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  padding: 30px 35px;
  font-size: 20px;
  font-weight: 600;
  color: #073752;
  transition: .3s;
}

.faq-question:hover {
  background: #fbfcfd;
}

.faq-question span {
  min-width: 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #edf6f2;
  color: #2F855A;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: 300;
  transition: .35s;
}

/* ==========================
ANSWER
========================== */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
  padding: 0 35px;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 30px;
  color: #667085;
  font-size: 17px;
  line-height: 1.9;
}

/* ==========================
ACTIVE
========================== */

.faq-item.active {
  border-color: #2F855A;
}

.faq-item.active .faq-question {
  color: #2F855A;
}

.faq-item.active .faq-question span {
  background: #2F855A;
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==========================
TABLET
========================== */

@media (max-width:991px) {
  .faq-section {
    padding: 80px 0;
  }
}

@media (max-width:991px) {
  .faq-section .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width:991px) {
  .faq-wrapper {
    max-width: 100%;
  }
}

@media (max-width:991px) {
  .faq-header h2 {
    font-size: 40px;
  }
}

@media (max-width:991px) {
  .faq-header p {
    font-size: 17px;
  }
}

@media (max-width:991px) {
  .faq-question {
    padding: 24px;
    font-size: 18px;
  }
}

@media (max-width:991px) {
  .faq-answer {
    padding: 0 24px;
  }
}

@media (max-width:991px) {
  .faq-answer p {
    font-size: 16px;
    padding-bottom: 24px;
  }
}

/* ==========================
MOBILE
========================== */

@media (max-width:767px) {
  .faq-section {
    padding: 70px 0;
  }
}

@media (max-width:767px) {
  .faq-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width:767px) {
  .faq-header {
    margin-bottom: 50px;
  }
}

@media (max-width:767px) {
  .faq-header h2 {
    font-size: 30px;
  }
}

@media (max-width:767px) {
  .faq-header p {
    font-size: 15px;
    line-height: 1.8;
  }
}

@media (max-width:767px) {
  .faq-question {
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width:767px) {
  .faq-question span {
    width: 36px;
    min-width: 36px;
    height: 36px;
    font-size: 24px;
  }
}

@media (max-width:767px) {
  .faq-answer {
    padding: 0 20px;
  }
}

@media (max-width:767px) {
  .faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    padding-bottom: 20px;
  }
}

