/* =========================================================
   HERO
========================================================= */

.dfmax-faq-hero {
  position: relative;
  overflow: hidden;

  background: linear-gradient(135deg, #006b87 0%, #009cc5 55%, #07b8d7 100%);

  padding: 68px 0 76px;
}

.dfmax-faq-hero-content {
  position: relative;
  z-index: 2;

  max-width: 850px;

  margin: auto;

  text-align: center;
}

.dfmax-faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 8px 15px;

  border: 1px solid rgba(255, 255, 255, 0.28);

  background: rgba(255, 255, 255, 0.12);

  color: #fff;

  border-radius: 50px;

  font-size: 13px;
  font-weight: 600;

  margin-bottom: 20px;

  backdrop-filter: blur(8px);
}

.dfmax-faq-hero h1 {
  color: #fff;

  font-size: clamp(38px, 5vw, 58px);

  line-height: 1.1;

  font-weight: 800;

  margin: 0 0 18px;

  letter-spacing: -1.5px;
}

.dfmax-faq-hero h1 span {
  display: block;
}

.dfmax-faq-hero p {
  max-width: 680px;

  margin: 0 auto;

  color: rgba(255, 255, 255, 0.88);

  font-size: 16px;

  line-height: 1.8;
}

/* =========================================================
   SEARCH
========================================================= */

.dfmax-faq-search {
  display: flex;

  align-items: center;

  max-width: 650px;

  margin: 30px auto 0;

  padding: 6px;

  background: #fff;

  border-radius: 11px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.14);
}

.dfmax-faq-search > i {
  color: #98a2b3;

  font-size: 15px;

  margin: 0 11px 0 14px;
}

.dfmax-faq-search input {
  flex: 1;

  min-width: 0;

  border: 0;

  outline: 0;

  background: transparent;

  color: #292929;

  font-size: 14px;

  padding: 12px 5px;
}

.dfmax-faq-search input::placeholder {
  color: #98a2b3;
}

.dfmax-faq-search button {
  border: 0;

  background: #009cc5;

  color: #fff;

  border-radius: 7px;

  padding: 11px 19px;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;

  transition: all 0.25s ease;
}

.dfmax-faq-search button:hover {
  background: #006b87;
}

/* =========================================================
   HERO SHAPES
========================================================= */

.dfmax-faq-hero-shape {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.14);

  border-radius: 50%;

  pointer-events: none;
}

.dfmax-faq-shape-one {
  width: 450px;
  height: 450px;

  right: -120px;
  top: -200px;
}

.dfmax-faq-shape-two {
  width: 300px;
  height: 300px;

  left: -130px;
  bottom: -190px;

  background: rgba(255, 255, 255, 0.04);
}

/* =========================================================
   CATEGORY
========================================================= */

.dfmax-faq-category-section {
  background: #fff;

  border-bottom: 1px solid #e7eaed;

  padding: 16px 0;
}

.dfmax-faq-category-wrapper {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 8px;
}

.dfmax-faq-category {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 9px 14px;

  border: 1px solid #e3e7eb;

  border-radius: 50px;

  background: #fff;

  color: #667085;

  font-size: 12px;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.25s ease;
}

.dfmax-faq-category i {
  color: #009cc5;

  font-size: 12px;
}

.dfmax-faq-category:hover {
  border-color: #b9e7f0;

  color: #009cc5;

  background: #f0fafd;
}

.dfmax-faq-category.active {
  background: #009cc5;

  border-color: #009cc5;

  color: #fff;
}

.dfmax-faq-category.active i {
  color: #fff;
}

/* =========================================================
   MAIN
========================================================= */

.dfmax-faq-main {
  background: #f7f8fa;

  padding: 50px 0 50px;
}

.dfmax-faq-heading {
  text-align: center;

  max-width: 700px;

  margin: 0 auto 35px;
}

.dfmax-faq-heading-label {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: #009cc5;

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.6px;

  margin-bottom: 9px;
}

.dfmax-faq-heading h2 {
  color: #292929;

  font-size: 34px;

  font-weight: 800;

  margin: 0 0 10px;
}

.dfmax-faq-heading p {
  color: #667085;

  font-size: 14px;

  line-height: 1.7;

  margin: 0;
}

/* =========================================================
   FAQ LIST
========================================================= */

.dfmax-faq-list {
  max-width: 900px;

  margin: auto;
}

.dfmax-faq-item {
  background: #fff;

  border: 1px solid #e4e8eb;

  border-radius: 12px;

  margin-bottom: 12px;

  overflow: hidden;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.dfmax-faq-item:hover {
  border-color: #c9eaf1;
}

.dfmax-faq-item.open {
  border-color: #bce8f1;

  box-shadow: 0 10px 30px rgba(0, 156, 197, 0.07);
}

.dfmax-faq-question {
  width: 100%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  border: 0;

  background: transparent;

  padding: 19px 20px;

  text-align: left;

  cursor: pointer;
}

.dfmax-faq-question-left {
  display: flex;

  align-items: center;

  gap: 14px;

  min-width: 0;

  color: #292929;

  font-size: 14px;

  font-weight: 650;

  line-height: 1.5;
}

.dfmax-faq-question-icon {
  display: flex;

  align-items: center;

  justify-content: center;

  flex: 0 0 auto;

  width: 39px;

  height: 39px;

  border-radius: 9px;

  background: #f0fafd;

  color: #009cc5;

  font-size: 14px;

  transition: all 0.25s ease;
}

.dfmax-faq-item.open .dfmax-faq-question-icon {
  background: #009cc5;

  color: #fff;
}

.dfmax-faq-toggle {
  display: flex;

  align-items: center;

  justify-content: center;

  flex: 0 0 auto;

  width: 30px;

  height: 30px;

  border-radius: 50%;

  background: #f7f8fa;

  color: #667085;

  font-size: 11px;

  transition: all 0.3s ease;
}

.dfmax-faq-item.open .dfmax-faq-toggle {
  background: #f0fafd;

  color: #009cc5;

  transform: rotate(45deg);
}

/* =========================================================
   ANSWER
========================================================= */

.dfmax-faq-answer {
  display: grid;

  grid-template-rows: 0fr;

  transition: grid-template-rows 0.35s ease;
}

.dfmax-faq-answer > div {
  overflow: hidden;

  padding: 0 20px;

  color: #667085;

  font-size: 14px;

  line-height: 1.8;
}

.dfmax-faq-item.open .dfmax-faq-answer {
  grid-template-rows: 1fr;
}

.dfmax-faq-item.open .dfmax-faq-answer > div {
  padding-bottom: 20px;
}

.dfmax-faq-answer p {
  margin: 0 0 11px;
}

.dfmax-faq-answer p:last-of-type {
  margin-bottom: 14px;
}

.dfmax-faq-answer-link {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: #009cc5;

  font-size: 12px;

  font-weight: 700;

  text-decoration: none;
}

.dfmax-faq-answer-link:hover {
  color: #006b87;
}

/* =========================================================
   NO RESULTS
========================================================= */

.dfmax-faq-no-results {
  max-width: 600px;

  margin: 25px auto 0;

  text-align: center;

  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 14px;

  padding: 40px 25px;
}

.dfmax-faq-no-results-icon {
  width: 55px;

  height: 55px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin: 0 auto 15px;

  background: #f0fafd;

  color: #009cc5;

  border-radius: 50%;

  font-size: 20px;
}

.dfmax-faq-no-results h3 {
  color: #292929;

  font-size: 20px;

  margin: 0 0 7px;
}

.dfmax-faq-no-results p {
  color: #667085;

  font-size: 13px;

  margin: 0 0 18px;
}

.dfmax-faq-no-results button {
  border: 0;

  background: #009cc5;

  color: #fff;

  border-radius: 7px;

  padding: 10px 17px;

  font-size: 12px;

  font-weight: 700;

  cursor: pointer;
}

/* =========================================================
   HELP SECTION
========================================================= */

.dfmax-faq-help {
  background: #fff;

  padding: 40px 0;
}

.dfmax-faq-help-heading {
  text-align: center;

  max-width: 650px;

  margin: 0 auto 35px;
}

.dfmax-faq-help-heading > span {
  color: #009cc5;

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.7px;
}

.dfmax-faq-help-heading h2 {
  color: #292929;

  font-size: 32px;

  font-weight: 800;

  margin: 7px 0 9px;
}

.dfmax-faq-help-heading p {
  color: #667085;

  font-size: 14px;

  line-height: 1.7;

  margin: 0;
}

/* =========================================================
   HELP CARDS
========================================================= */

.dfmax-faq-help-card {
  height: 100%;

  padding: 27px;

  border: 1px solid #e5e7eb;

  border-radius: 13px;

  background: #fff;

  transition: all 0.3s ease;
}

.dfmax-faq-help-card:hover {
  transform: translateY(-5px);

  border-color: #bce8f1;

  box-shadow: 0 15px 35px rgba(0, 156, 197, 0.08);
}

.dfmax-faq-help-icon {
  width: 48px;

  height: 48px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f0fafd;

  color: #009cc5;

  border-radius: 10px;

  margin-bottom: 17px;

  font-size: 18px;
}

.dfmax-faq-help-card h3 {
  color: #292929;

  font-size: 17px;

  font-weight: 700;

  margin: 0 0 8px;
}

.dfmax-faq-help-card p {
  color: #667085;

  font-size: 13px;

  line-height: 1.7;

  margin: 0 0 17px;
}

.dfmax-faq-help-card a {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: #009cc5;

  font-size: 12px;

  font-weight: 700;

  text-decoration: none;
}

.dfmax-faq-help-card a:hover {
  color: #006b87;
}

/* =========================================================
   FINAL CTA
========================================================= */

.dfmax-faq-cta {
  background: #f7f8fa;

  padding: 0 0 50px;
}

.dfmax-faq-cta-inner {
  position: relative;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  padding: 38px 42px;

  border-radius: 16px;

  background: linear-gradient(135deg, #006b87, #009cc5);
}

.dfmax-faq-cta-inner::after {
  content: "";

  position: absolute;

  width: 300px;

  height: 300px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 50%;

  right: -130px;

  top: -150px;

  pointer-events: none;
}

.dfmax-faq-cta-inner > div:first-child {
  position: relative;

  z-index: 1;
}

.dfmax-faq-cta-inner span {
  color: rgba(255, 255, 255, 0.7);

  font-size: 12px;

  font-weight: 600;
}

.dfmax-faq-cta-inner h2 {
  color: #fff;

  font-size: 27px;

  font-weight: 800;

  margin: 5px 0 7px;
}

.dfmax-faq-cta-inner p {
  color: rgba(255, 255, 255, 0.82);

  font-size: 13px;

  margin: 0;

  line-height: 1.7;
}

.dfmax-faq-cta-buttons {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  gap: 10px;

  flex: 0 0 auto;
}

.dfmax-faq-cta-primary,
.dfmax-faq-cta-secondary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  padding: 11px 18px;

  border-radius: 7px;

  text-decoration: none;

  font-size: 12px;

  font-weight: 700;

  transition: all 0.25s ease;
}

.dfmax-faq-cta-primary {
  background: #fff;

  color: #006b87;
}

.dfmax-faq-cta-primary:hover {
  color: #006b87;

  transform: translateY(-2px);
}

.dfmax-faq-cta-secondary {
  color: #fff;

  border: 1px solid rgba(255, 255, 255, 0.35);

  background: rgba(255, 255, 255, 0.08);
}

.dfmax-faq-cta-secondary:hover {
  color: #fff;

  background: rgba(255, 255, 255, 0.16);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
  .dfmax-faq-hero {
    padding: 55px 0 65px;
  }

  .dfmax-faq-main {
    padding: 60px 0 70px;
  }

  .dfmax-faq-help {
    padding: 65px 0;
  }

  .dfmax-faq-cta-inner {
    padding: 32px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .dfmax-faq-hero {
    padding: 45px 0 50px;
  }

  .dfmax-faq-hero h1 {
    font-size: 38px;

    letter-spacing: -1px;
  }

  .dfmax-faq-hero p {
    font-size: 14px;

    line-height: 1.75;
  }

  .dfmax-faq-search {
    margin-top: 24px;
  }

  .dfmax-faq-search button {
    padding: 11px 14px;
  }

  .dfmax-faq-category-section {
    padding: 12px 0;
  }

  .dfmax-faq-category-wrapper {
    justify-content: flex-start;

    flex-wrap: nowrap;

    overflow-x: auto;

    padding-bottom: 3px;

    scrollbar-width: none;
  }

  .dfmax-faq-category-wrapper::-webkit-scrollbar {
    display: none;
  }

  .dfmax-faq-category {
    flex: 0 0 auto;
  }

  .dfmax-faq-main {
    padding: 50px 0 60px;
  }

  .dfmax-faq-heading h2 {
    font-size: 28px;
  }

  .dfmax-faq-question {
    padding: 16px;
  }

  .dfmax-faq-question-left {
    gap: 10px;

    font-size: 13px;
  }

  .dfmax-faq-question-icon {
    width: 35px;

    height: 35px;
  }

  .dfmax-faq-answer > div {
    padding-left: 16px;

    padding-right: 16px;

    font-size: 13px;
  }

  .dfmax-faq-item.open .dfmax-faq-answer > div {
    padding-bottom: 17px;
  }

  .dfmax-faq-help {
    padding: 55px 0;
  }

  .dfmax-faq-help-heading h2 {
    font-size: 28px;
  }

  .dfmax-faq-cta {
    padding-bottom: 60px;
  }

  .dfmax-faq-cta-inner {
    flex-direction: column;

    align-items: flex-start;

    padding: 28px 22px;
  }

  .dfmax-faq-cta-buttons {
    width: 100%;
  }

  .dfmax-faq-cta-primary,
  .dfmax-faq-cta-secondary {
    flex: 1;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .dfmax-faq-hero {
    padding: 38px 0 43px;
  }

  .dfmax-faq-eyebrow {
    font-size: 11px;

    padding: 7px 12px;
  }

  .dfmax-faq-hero h1 {
    font-size: 32px;
  }

  .dfmax-faq-search {
    padding: 5px;
  }

  .dfmax-faq-search > i {
    margin-left: 10px;
  }

  .dfmax-faq-search input {
    font-size: 12px;

    padding: 11px 3px;
  }

  .dfmax-faq-search button {
    font-size: 11px;

    padding: 10px 12px;
  }

  .dfmax-faq-question {
    gap: 8px;
  }

  .dfmax-faq-question-left {
    font-size: 12px;
  }

  .dfmax-faq-question-icon {
    width: 32px;

    height: 32px;

    font-size: 12px;
  }

  .dfmax-faq-toggle {
    width: 27px;

    height: 27px;
  }

  .dfmax-faq-heading h2 {
    font-size: 25px;
  }

  .dfmax-faq-help-heading h2 {
    font-size: 25px;
  }

  .dfmax-faq-help-card {
    padding: 21px;
  }

  .dfmax-faq-cta-inner h2 {
    font-size: 23px;
  }

  .dfmax-faq-cta-buttons {
    flex-direction: column;

    width: 100%;
  }

  .dfmax-faq-cta-primary,
  .dfmax-faq-cta-secondary {
    width: 100%;

    flex: none;
  }
}
