/*==========================================================
  DesalTech - FAQ page
  (self-contained; loaded only on faqs.php)
==========================================================*/

.dt-faq-page {
  position: relative;
  background: #f5f8fc;
  color: #172746;
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/*--------------------------------------------------------
  Hero
--------------------------------------------------------*/
.dt-faq-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 52px;
  text-align: center;
  background: linear-gradient(140deg, #f6f9fd 0%, #eaf3fb 52%, #e0eefb 100%);
  border-bottom: 1px solid #e6eef7;
}

.dt-faq-hero::after {
  content: '';
  position: absolute;
  top: -140px;
  right: -110px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(32, 149, 211, .16), rgba(32, 149, 211, 0) 70%);
  pointer-events: none;
}

.dt-faq-hero::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0, 44, 143, .10), rgba(0, 44, 143, 0) 70%);
  pointer-events: none;
}

.dt-faq-crumbs {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-family: 'Spartan', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4a5978;
}

.dt-faq-crumbs li {
  display: inline-block;
}

.dt-faq-crumbs li a {
  color: #5b6a88;
  transition: color .2s ease;
}

.dt-faq-crumbs li a:hover {
  color: #2095d3;
}

.dt-faq-crumbs li::after {
  content: '/';
  margin: 0 11px;
  color: #b9c6da;
}

.dt-faq-crumbs li:last-child::after {
  display: none;
}

.dt-faq-hero h1 {
  position: relative;
  z-index: 2;
  font-family: 'Spartan', sans-serif;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 800;
  color: #12244e;
  margin: 0 0 14px;
}

.dt-faq-hero h1 span {
  color: #2095d3;
}

.dt-faq-lead {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.7;
  color: #5b6a88;
}

/*--------------------------------------------------------
  Search
--------------------------------------------------------*/
.dt-faq-searchwrap {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.dt-faq-search {
  position: relative;
}

.dt-faq-search input {
  width: 100%;
  height: 58px;
  padding: 0 56px;
  border: 1px solid #dfe8f3;
  border-radius: 32px;
  background: #fff;
  font-size: 16px;
  color: #172746;
  box-shadow: 0 12px 30px rgba(23, 39, 70, .08);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.dt-faq-search input::placeholder {
  color: #9aa6bd;
}

.dt-faq-search input:focus {
  border-color: #2095d3;
  box-shadow: 0 14px 34px rgba(32, 149, 211, .18);
}

.dt-faq-search .dt-faq-search-ic {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #9aa6bd;
  pointer-events: none;
}

.dt-faq-search .dt-faq-search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #eef3f9;
  color: #5b6a88;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: none;
  transition: background .2s ease, color .2s ease;
}

.dt-faq-search .dt-faq-search-clear:hover {
  background: #2095d3;
  color: #fff;
}

.dt-faq-search.has-value .dt-faq-search-clear {
  display: block;
}

/*--------------------------------------------------------
  Topic chips
--------------------------------------------------------*/
.dt-faq-chips {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.dt-faq-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid #e1e9f2;
  border-radius: 24px;
  background: #fff;
  font-family: 'Spartan', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #33405c;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.dt-faq-chip i {
  color: #2095d3;
}

.dt-faq-chip:hover {
  border-color: #2095d3;
  color: #0d5f8f;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(32, 149, 211, .14);
}

/*--------------------------------------------------------
  Main layout
--------------------------------------------------------*/
.dt-faq-main {
  padding: 44px 0 96px;
}

.dt-faq-countline {
  margin: 0 0 20px;
  font-size: 14px;
  color: #7b879f;
}

.dt-faq-countline strong {
  color: #172746;
}

/*--------------------------------------------------------
  Accordion
--------------------------------------------------------*/
.dt-faq-list {
  margin: 0;
}

.dt-faq-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(23, 39, 70, .05);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.dt-faq-card:hover {
  border-color: #d4e6f5;
  box-shadow: 0 12px 30px rgba(23, 39, 70, .09);
}

.dt-faq-card.is-open {
  border-color: #bfe1f5;
  box-shadow: 0 16px 40px rgba(23, 39, 70, .1);
}

.dt-faq-card.is-hidden {
  display: none;
}

.dt-faq-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  user-select: none;
}

.dt-faq-ic {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f2f5fa;
  color: #5b6a88;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background .3s ease, color .3s ease;
}

.dt-faq-card.is-open .dt-faq-ic {
  background: #e8f4fc;
  color: #2095d3;
}

.dt-faq-qt {
  flex: 1 1 auto;
  min-width: 0;
}

.dt-faq-idx {
  display: block;
  margin-bottom: 2px;
  font-family: 'Spartan', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #9aa6bd;
}

.dt-faq-q {
  margin: 0;
  font-family: 'Spartan', sans-serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: #172746;
}

.dt-faq-chev {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f2f5fa;
  color: #9aa6bd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background .3s ease, color .3s ease, transform .35s ease;
}

.dt-faq-card.is-open .dt-faq-chev {
  background: #2095d3;
  color: #fff;
  transform: rotate(180deg);
}

.dt-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4, 0, .2, 1);
}

.dt-faq-body-in {
  padding: 6px 24px 24px 84px;
  border-top: 1px solid #f0f4f9;
}

/* Answer / sub-questions */
.dt-faq-sub {
  padding: 16px 0;
  border-top: 1px dashed #edf1f7;
}

.dt-faq-sub:first-child {
  border-top: 0;
  padding-top: 10px;
}

.dt-faq-subq {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 8px;
  font-family: 'Spartan', sans-serif;
  font-size: 15.5px;
  line-height: 1.5;
  font-weight: 600;
  color: #0d5f8f;
}

.dt-faq-subq i {
  margin-top: 3px;
  font-size: 13px;
  color: #2095d3;
}

.dt-faq-suba {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: #48546e;
}

.dt-faq-suba strong {
  color: #172746;
}

.dt-faq-answer ul {
  margin: 0 0 4px;
  padding-left: 18px;
}

.dt-faq-answer li {
  font-size: 15.5px;
  line-height: 1.8;
  color: #48546e;
  margin-bottom: 6px;
}

.dt-faq-answer strong {
  color: #172746;
}

/*--------------------------------------------------------
  Empty state
--------------------------------------------------------*/
.dt-faq-empty {
  display: none;
  padding: 54px 20px;
  text-align: center;
  background: #fff;
  border: 1px dashed #dbe6f2;
  border-radius: 14px;
  color: #7b879f;
}

.dt-faq-empty i {
  display: block;
  margin-bottom: 14px;
  font-size: 40px;
  color: #c6d3e4;
}

.dt-faq-empty h4 {
  font-family: 'Spartan', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #12244e;
  margin: 0 0 8px;
}

.dt-faq-empty p {
  margin: 0;
  font-size: 15px;
}

/*--------------------------------------------------------
  Help sidebar
--------------------------------------------------------*/
.dt-faq-help {
  position: sticky;
  top: 108px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(23, 39, 70, .06);
}

.dt-faq-help h4 {
  margin: 0 0 8px;
  font-family: 'Spartan', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #12244e;
}

.dt-faq-help > p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #66738d;
}

.dt-faq-help-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #f0f4f9;
}

.dt-faq-help-item i {
  margin-top: 3px;
  font-size: 16px;
  color: #2095d3;
}

.dt-faq-help-item .dt-faq-help-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9aa6bd;
  margin-bottom: 2px;
}

.dt-faq-help-item a,
.dt-faq-help-item span {
  font-size: 15px;
  font-weight: 600;
  color: #172746;
  line-height: 1.5;
  transition: color .2s ease;
}

.dt-faq-help-item a:hover {
  color: #2095d3;
}

.dt-faq-help-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: 30px;
  background: #2095d3;
  color: #fff !important;
  font-family: 'Spartan', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background .25s ease, transform .25s ease;
}

.dt-faq-help-btn:hover {
  background: #002c8f;
  transform: translateY(-2px);
}

.dt-faq-hours {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid #f0f4f9;
  font-size: 13.5px;
  line-height: 1.7;
  color: #66738d;
}

.dt-faq-hours strong {
  color: #172746;
}

.dt-faq-hours i {
  color: #2095d3;
  margin-right: 6px;
}

/*--------------------------------------------------------
  Responsive
--------------------------------------------------------*/
@media (max-width: 1199.98px) {
  .dt-faq-help {
    position: static;
    margin-top: 26px;
  }
}

@media (max-width: 767.98px) {
  .dt-faq-hero {
    padding: 156px 0 34px;
  }

  .dt-faq-crumbs {
    font-size: 11.5px;
    letter-spacing: .1em;
  }

  .dt-faq-hero h1 {
    font-size: 30px;
  }

  .dt-faq-lead {
    font-size: 15.5px;
  }

  .dt-faq-search input {
    height: 52px;
    font-size: 15px;
    padding: 0 50px;
  }

  .dt-faq-search .dt-faq-search-ic {
    left: 18px;
  }

  .dt-faq-head {
    padding: 16px;
    gap: 12px;
  }

  .dt-faq-ic {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .dt-faq-q {
    font-size: 15.5px;
  }

  .dt-faq-body-in {
    padding: 6px 18px 20px;
  }

  .dt-faq-subq {
    font-size: 15px;
  }

  .dt-faq-suba,
  .dt-faq-answer li {
    font-size: 14.5px;
  }
}
