

/* =========================================================
   09. Drupal Performance FAQs
   ========================================================= */

.performance-faq-section {
  background:
    radial-gradient(
      circle at top right,
      rgba(13, 110, 253, 0.06),
      transparent 24%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.performance-faq-head {
  max-width: 980px;
}

.performance-faq-kicker {
  color: #ff5a00;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.performance-faq-line {
  position: relative;
  width: 44px;
  height: 2px;
  background: #ff5a00;
}

.performance-faq-line::before,
.performance-faq-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5a00;
  transform: translateY(-50%);
}

.performance-faq-line::before {
  left: 0;
}

.performance-faq-line::after {
  right: 0;
}

.performance-faq-head h2 {
  color: #071333;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.performance-faq-head > p {
  color: #26345d;
  font-size: 18px;
  line-height: 1.5;
}

.performance-faq-accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
}

.performance-faq-column {
  height: 100%;
}

.performance-faq-item {
  overflow: hidden;
  border: 1px solid #d6e3f5 !important;
  border-radius: 14px !important;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 40, 80, 0.05);
}

.performance-faq-item:has(.accordion-collapse.show) {
  border-color: #75a9ff !important;
  box-shadow: 0 14px 32px rgba(13, 110, 253, 0.09);
}

.performance-faq-button {
  min-height: 70px;
  padding: 15px 22px;
  gap: 16px;
  color: #07135c;
  background: #ffffff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
  box-shadow: none !important;
}

.performance-faq-button:not(.collapsed) {
  color: #075be8;
  background:
    linear-gradient(90deg, rgba(13, 110, 253, 0.06), transparent 75%), #ffffff;
}

.performance-faq-button::after {
  width: 32px;
  min-width: 32px;
  height: 32px;
  margin-left: auto;
  border: 2px solid #0865f1;
  border-radius: 50%;
  background-image: none;
  transform: none;
}

.performance-faq-button::before {
  content: "+";
  position: absolute;
  right: 30px;
  z-index: 2;
  color: #0865f1;
  font-size: 25px;
  line-height: 1;
  font-weight: 400;
}

.performance-faq-button:not(.collapsed)::before {
  content: "−";
  color: #ffffff;
}

.performance-faq-button:not(.collapsed)::after {
  border-color: #0865f1;
  background: #0865f1;
}

.performance-faq-number {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #0865f1;
  font-size: 16px;
  font-weight: 900;
}

.performance-faq-question {
  min-width: 0;
  padding-right: 30px;
  overflow-wrap: break-word;
}

.performance-faq-body {
  padding: 0 22px 18px 70px;
}

.performance-faq-body p {
  color: #26345d;
  font-size: 18px;
  line-height: 1.5;
}

.performance-faq-answer-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #126af1;
  background: #eef4ff;
  font-size: 47px;
}

.performance-faq-cta {
  padding: 16px 28px;
  border: 1px solid #acd0ff;
  border-radius: 15px;
  background:
    radial-gradient(circle at left, rgba(13, 110, 253, 0.1), transparent 24%),
    linear-gradient(135deg, #f3f8ff, #ffffff);
  box-shadow: 0 12px 32px rgba(13, 40, 88, 0.05);
}
/* 
.performance-faq-cta-visual {
  width: 280px;
  height: 130px;
} */

.performance-faq-cta-screen {
  position: absolute;
  top: 3px;
  left: 16px;
  width: 175px;
  height: 120px;
  overflow: hidden;
  border: 7px solid #284779;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 76, 167, 0.17);
}

.performance-faq-cta-screen-top {
  height: 16px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #284779;
}

.performance-faq-cta-screen-top span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
}

.performance-faq-cta-meter {
  position: relative;
  height: 97px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.performance-faq-cta-meter > i {
  position: absolute;
  color: #17326f;
  font-size: 75px;
}

.performance-faq-cta-meter strong {
  position: relative;
  z-index: 2;
  margin-top: 43px;
  color: #0aa04a;
  font-size: 23px;
}

.performance-faq-cta-meter span {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  color: #26345d;
  font-size: 9px;
}

.performance-faq-clipboard {
  position: absolute;
  top: 0;
  right: 10px;
  color: #7ea5e8;
  font-size: 100px;
}

.performance-faq-cta-drupal {
  position: absolute;
  right: 45px;
  bottom: -4px;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(145deg, #2685ff, #075be8);
  font-size: 36px;
  box-shadow: 0 9px 22px rgba(13, 110, 253, 0.24);
}

.performance-faq-cta-content {
  min-width: 0;
}

.performance-faq-cta-content h3 {
  color: #07135c;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

.performance-faq-cta-content > p {
  color: #26345d;
  font-size: 18px;
  line-height: 1.45;
}

.performance-faq-cta-features {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap !important;
  row-gap: 10px;
}

.performance-faq-cta-features > span {
  position: relative;
  min-width: 0;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #07135c;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.performance-faq-cta-features > span:first-child {
  padding-left: 0;
}

.performance-faq-cta-features > span:last-child {
  padding-right: 0;
}

.performance-faq-cta-features > span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 24px;
  background: #bfd2ef;
  transform: translateY(-50%);
}

.performance-faq-cta-features > span > i {
  width: 20px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2878ee;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.performance-faq-cta-btn {
  min-height: 58px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
  box-shadow: 0 12px 28px rgba(255, 90, 0, 0.25);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.performance-faq-cta-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(255, 90, 0, 0.3);
}

.performance-faq-trust {
  color: #07135c;
  font-size: 12px;
  font-weight: 700;
}

.performance-faq-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.performance-faq-trust i {
  color: #126af1;
  font-size: 16px;
}

.performance-faq-trust-divider {
  width: 1px;
  height: 17px;
  background: #c3d4eb;
}

/* =========================================================
   Drupal Performance FAQs Responsive
   ========================================================= */

@media (max-width: 1600px) {
  .performance-faq-kicker {
    font-size: 14px;
  }

  .performance-faq-head h2 {
    font-size: 32px;
  }

  .performance-faq-head > p {
    font-size: 15px;
  }

  .performance-faq-button {
    font-size: 15px;
  }

  .performance-faq-description p{
    font-size: 15px;
  }

  .performance-faq-body p {
    font-size: 15px;
  }

  .performance-faq-cta-content h3 {
    font-size: 22px;
  }

  .performance-faq-cta-content > p {
    font-size: 15px;
  }

  .performance-faq-cta-features > span {
    padding: 0 9px;
    gap: 5px;
    font-size: 10px;
  }

  .performance-faq-cta-features > span > i {
    width: 17px;
    min-width: 17px;
    font-size: 17px;
  }

  .performance-faq-cta-features > span:not(:last-child)::after {
    height: 20px;
  }

  .performance-faq-cta-btn {
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  .performance-faq-cta {
    text-align: center;
  }

  .performance-faq-cta-content {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
  }

  .performance-faq-cta-features {
    justify-content: center;
    flex-wrap: nowrap !important;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .performance-faq-cta-features > span {
    padding: 0 11px;
    font-size: 11px;
  }

  .performance-faq-cta-features > span > i {
    width: 18px;
    min-width: 18px;
    font-size: 18px;
  }

  .performance-faq-cta-action {
    text-align: center;
  }

  .performance-faq-trust {
    justify-content: center !important;
  }
}

@media (max-width: 991px) {
  .performance-faq-column {
    height: auto;
  }

  .performance-faq-button {
    min-height: 66px;
  }

  .performance-faq-cta-features {
    justify-content: center;
    flex-wrap: wrap !important;
    row-gap: 16px;
  }

  .performance-faq-cta-features > span {
    padding: 0 15px;
    font-size: 13px;
  }

  .performance-faq-cta-features > span > i {
    width: 21px;
    min-width: 21px;
    font-size: 21px;
  }
}

@media (max-width: 767px) {
  .performance-faq-kicker {
    gap: 10px !important;
    font-size: 13px;
  }

  .performance-faq-line {
    width: 34px;
  }

  .performance-faq-head h2 {
    font-size: 22px;
  }

  .performance-faq-head > p {
    font-size: 16px;
  }
  .performance-faq-question{
    font-size: 16px;
  }

  .performance-faq-button {
    align-items: flex-start;
    padding: 15px 16px;
    gap: 11px;
    font-size: 14px;
  }

  .performance-faq-button::before {
    /* top: 19px; */
    right: 22px;
  }

  .performance-faq-button::after {
    width: 28px;
    min-width: 28px;
    height: 28px;
  }

  .performance-faq-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .performance-faq-question {
    padding-right: 26px;
  }

  .performance-faq-body {
    padding: 0 16px 17px 59px;
  }

  .performance-faq-body p {
    font-size: 14px;
  }

  .performance-faq-open-layout {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 12px !important;
  }

  .performance-faq-answer-icon {
    width: 62px;
    height: 62px;
    font-size: 37px;
  }

  .performance-faq-cta {
    padding: 20px 16px;
  }

  .performance-faq-cta-visual {
    transform: scale(0.82);
  }

  .performance-faq-cta-content h3 {
    font-size: 18px;
  }

  .performance-faq-cta-content > p {
    font-size: 14px;
  }

  .performance-faq-cta-features {
    width: max-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap !important;
    gap: 14px;
  }

  .performance-faq-cta-features > span {
    width: 100%;
    padding: 0;
    gap: 10px;
    justify-content: flex-start;
    font-size: 14px;
    white-space: normal;
  }

  .performance-faq-cta-features > span:not(:last-child)::after {
    display: none;
  }

  .performance-faq-cta-features > span > i {
    width: 23px;
    min-width: 23px;
    font-size: 22px;
  }

  .performance-faq-cta-btn {
    width: 100%;
    min-width: 0;
    padding: 13px 16px;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .performance-faq-trust {
    font-size: 12px;
  }
  .performance-faq-description p {
    font-size: 15px;
  }
  .performance-faq-body p {
    font-size: 13px;
  }

  .performance-faq-cta-description p {
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .performance-faq-kicker .performance-faq-line:last-child {
    display: none;
  }

  .performance-faq-body {
    padding-left: 16px;
  }

  .performance-faq-cta-visual {
    margin-top: -14px;
    margin-bottom: -14px;
    transform: scale(0.72);
  }

  .performance-faq-trust {
    flex-direction: column;
  }

  .performance-faq-trust-divider {
    display: none;
  }
}

/* base styles */
h2 {
  font-size: 44px !important;
}

@media (max-width: 1599.98px) {
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 1399.98px) {
  h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 1199.98px) {
  h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 991.98px) {
  h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  h2 {
    font-size: 22px !important;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 21px !important;
  }
}

@media (max-width: 374.98px) {
  h2 {
    font-size: 20px !important;
  }
}

