.faq-section {
  width: 100%;
  min-height: 100vh;

  margin-top: 20px;
  margin-bottom: 80px;

  padding: 0 16px 60px;

  background-color: #eeeef6;
}


/* ==========================================
   PAGE TITLE
========================================== */

.faq-page-title {
  margin: 0 0 56px;

  text-align: center;

  color: #2c3e5a;

  font-size: 1.85rem;
  font-weight: 400;

  letter-spacing: -0.01em;
}


/* ==========================================
   MAIN CONTAINER
========================================== */

.faq-container {
  width: 100%;
  max-width: 1152px;

  margin: 0 auto;

  display: flex;

  flex-direction: row;

  gap: 40px;
}


/* ==========================================
   LEFT COLUMN
========================================== */

.faq-left {
  width: 38%;

  display: flex;

  flex-direction: column;

  gap: 40px;
}


/* ==========================================
   INTRO
========================================== */

.faq-intro {
  width: 100%;
}


.faq-main-title {
  margin: 0;

  font-size: 2.1rem;

  font-weight: 900;

  line-height: 1.15;

  text-transform: uppercase;

  background: linear-gradient(
    135deg,
    #1a8fd1 0%,
    #353a80 35%,
    #7c3aed 65%,
    #4a0750 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}


.faq-intro-text {
  margin: 16px 0 0;

  color: #888899;

  font-size: 13.5px;

  line-height: 1.4;
}


/* ==========================================
   CONTACT CARD
========================================== */

.faq-contact-card {
  padding: 24px;

  border-radius: 12px;

  background-color: #e2e2f0;
}


.faq-contact-title {
  margin: 0 0 12px;

  color: #4a90d9;

  font-size: 16px;

  font-weight: 700;
}


.faq-contact-text {
  margin: 0 0 20px;

  color: #7a7a95;

  font-size: 13px;

  line-height: 1.6;
}


.faq-demo-button {
  padding: 8px 20px;

  border: none;

  border-radius: 999px;

  background-color: #111827;

  color: #ffffff;

  font-size: 14px;

  font-weight: 500;

  cursor: pointer;

  transition: opacity 0.3s ease;
}


.faq-demo-button:hover {
  opacity: 0.9;
}


/* ==========================================
   RIGHT COLUMN
========================================== */

.faq-right {
  width: 62%;

  align-self: flex-start;
}


.faq-top-border {
  width: 100%;

  border-top: 1px solid #ccccdd;
}


/* ==========================================
   FAQ ITEM
========================================== */

.faq-item {
  border-bottom: 1px solid #ccccdd;
}


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

.faq-question {
  width: 100%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  padding: 21.6px 0;

  border: none;

  background: transparent;

  text-align: left;

  cursor: pointer;
}


.faq-question-text {
  color: #2c3e5a;

  font-size: 15px;

  font-weight: 500;

  line-height: 1.4;

  transition: color 0.2s ease;
}


.faq-item.active .faq-question-text {
  color: #1565c0;
}


/* ==========================================
   FAQ ICON
========================================== */

.faq-icon {
  width: 28px;
  height: 28px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background-color: transparent;

  border: 1.5px solid #b0b0c8;

  color: #2c3e5a;

  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}


.faq-icon svg {
  width: 15px;
  height: 15px;

  transition:
    transform 0.3s ease;
}


.faq-item.active .faq-icon {
  background-color: #1565c0;

  border-color: #1565c0;

  color: #ffffff;
}


.faq-item.active .faq-icon svg {
  transform: rotate(90deg);
}


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

.faq-answer-wrapper {
  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
}


.faq-item.active .faq-answer-wrapper {
  max-height: 160px;

  opacity: 1;
}


.faq-answer {
  margin: 0;

  padding-bottom: 20px;

  color: #7a7a95;

  font-size: 13.5px;

  line-height: 1.6;
}


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

@media (max-width: 1024px) {

  .faq-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .faq-container {
    gap: 32px;
  }

  .faq-main-title {
    font-size: 1.9rem;
  }

}


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

@media (max-width: 768px) {

  .faq-section {
    padding: 50px 16px 60px;
  }

  .faq-page-title {
    margin-bottom: 40px;

    font-size: 1.65rem;
  }

  .faq-container {
    flex-direction: column;

    gap: 40px;
  }

  .faq-left,
  .faq-right {
    width: 100%;
  }

  .faq-main-title {
    font-size: 2rem;
  }

}


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

@media (max-width: 480px) {

  .faq-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .faq-page-title {
    font-size: 1.45rem;
  }

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

  .faq-question {
    gap: 16px;

    padding: 18px 0;
  }

  .faq-question-text {
    font-size: 14px;
  }

  .faq-contact-card {
    padding: 20px;
  }

}