/* Main Background */
.mainFooterImg {
  background-image: url("../Images/FQA/bussiness-people-working-team-office.png");
  background-repeat: no-repeat;
  background-size: cover;
  height: 482px;
  width: 100%;
}

/* Header Overlay Gradient */
.headFooterImg {
  height: 100%;
  gap: 2rem;
  background: linear-gradient(
    178.16deg,
    rgba(217, 217, 217, 0.28) 13.25%,
    rgba(0, 0, 0, 0.53) 68.38%
  );
}
.headFooterImg h6 {
  font-weight: 700;
  font-size: 24px;
  color: white;
}
.headFooterImg div p {
  font-weight: 700;
  font-size: 45px;
  color: white;
}

/* Tab Nav */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #fafdff !important;
  font-weight: 700;
  font-size: 28px;
}

/* FAQ Heading (section title) */
.faq-heading {
  font-weight: 700;
  font-size: 34px;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(90deg, #01989b 0%, #00aa6c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.faq-heading span img {
  width: 34px;
  height: 34px;
}

/* Accordion Item */
.faq-item {
  border-bottom: 1px solid #979797 !important;
  /* padding: 20px !important; */
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.faq-item:has(.faq-collapse.show) {
  background-image: linear-gradient(
    351.9deg,
    rgba(217, 217, 217, 0) 6.82%,
    rgba(1, 152, 155, 0.27) 94.4%
  ) !important;
}

/* Toggle Button */
.faq-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  font-weight: 700;
  font-size: 24px;
  gap: 1rem;
  padding: 12px 16px;
  background-color: transparent !important;
  color: #333;
  border: none;
  cursor: pointer;
  text-align: left;
  position: relative;
}
.faq-toggle:hover {
  background-color: #eef3f7;
}

/* Arrow icon */
.faq-toggle::before {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  content: "";
  background-image: url("../Images/FQA/Polygon.png");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
  transform: rotate(-90deg);
}
.faq-toggle:not(.collapsed)::before {
  transform: rotate(0deg);
}
.faq-toggle::after {
  display: none !important;
}
.faq-toggle:focus {
  outline: 0;
  box-shadow: none !important;
}

/* Accordion Content */
.faq-content {
  padding: 15px 20px;
 /* background: linear-gradient(351.9deg, rgba(217, 217, 217, 0) 6.82%, rgba(1, 152, 155, 0.27) 94.4%); */
  color: #444;
  font-size: 18px;
}

.nav-link.active{
    border-left: 5px solid #01989b !important;
    border: 1px solid #01989b;
    color: #01989B !important;
}

/* Responsive Adjustments */
@media screen and (max-width: 1024px) and (min-width: 320px) and (max-height: 1366px) and (min-height: 300px) {
  .mainFooterImg {
    height: 253%;
    width: 100%;
  }
  .headFooterImg div p {
    font-size: 34px;
  }
  .faq-heading {
    font-size: 24px;
  }
  .faq-item {
    /* padding: 10px !important; */
  }
  .faq-toggle {
    font-size: 16px !important;
  }
  .faq-content {
    font-size: 14px;
    background: linear-gradient(
      358deg,
      rgba(217, 217, 217, 0) -18.18%,
      rgba(1, 153, 155, 0.27) 177.4%
    ) !important;
  }
  .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    font-size: 14px;
}
.nav-link.active{
    border-left: 5px solid #01989b !important;
    border: 1px solid #01989b;
    color: #01989B !important;
}
  #faq-tab {
    flex-direction: row !important;
  }
}
