* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Prevents horizontal scrollbars */
}
@font-face {
  font-family: "Grifter";
  src: url("/assets/fonts/GRIFTERBold.woff2") format("woff2"),
    url("/assets/fonts/GRIFTERBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins Medium";
  src: url("/assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: normal; /* This defines the Black weight */
  font-style: normal;
}
* {
  font-family: "Grifter", sans-serif;
}

p {
  font-family: "Poppins Medium", sans-serif;
  color: #07084c;
}
.faq-page {
  background-color: #f0f3fa;
  height: 100%;
  min-height: fit-content;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  padding-bottom: 10%;
  padding-top: 10%;
}

.faq-large-screen {
  display: block;
  width: 100%;
  text-align: left;
  width: 988px;
}

.faq-smalll-screen {
  display: none;
}

.faq-small-screen {
  background-image: url("/assets/images/faq/Rectangle-1559.svg");
  background-size: cover; /* Ensure the image covers the section */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent repeating the image */
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
  width: 100%;
  margin-bottom: 10%;
  display: none;
}

.faq-large-screen h1 {
  height: 35px;
  color: #07084c;
  font-weight: 700;
  font-size: 40px;
  line-height: 41px;
  margin-bottom: 10%;
}

.faq-small-screen h1 {
  height: 24px;
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  margin-bottom: 5%;
  margin-top: 5%;
  text-align: center;
}

.question-container {
  border-radius: 10px;
  background-color: #ffffff;
  padding: 3%;
  margin-bottom: 3% !important;
  position: relative;
  width: 988px;
  height: 120px; /* Set initial height to 120px when closed */
  overflow: hidden; /* Hide content that overflows the closed container */
  transition: height 0.3s ease; /* Smooth transition for height change */
}

.question-title-container{
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.question-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 18px;
  color: #07084c;
  margin-bottom: 2% !important;
  display: block;
  width: 80%;
}

.question-content {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.05em;
  color: #07084c;
}

.chevron {
  position: absolute;
  top: 1%;
  right: 0%;
  cursor: pointer;
  transition: transform 0.3s;
}

.question-content {
  display: none;
  margin-top: 10px;
  width: 90%;
}

.question-container.open {
  min-height: 192px; /* Set height to 192px when opened */
  height: fit-content;
}

.question-container.open .question-content {
  display: block;
}
/* Media query for phone screens (up to 768px) */
@media screen and (max-width: 768px) {
  .faq-large-screen {
    display: none; /* Hide large screen section */
  }

  .faq-small-screen {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .faq-page {
    padding-top: 20%;
  }
  .question-container {
    width: 304px;
    height: fit-content; /* Set initial height to 120px when closed */
    background-color: #F0F3FA;
    box-shadow: 0px 12px 28.2px 0px #0000000D;
    margin-bottom: 6% !important;

  }
  .question-container.open {
    min-height: 308px; /* Set height to 192px when opened */
    height: fit-content;
    background-color: #ffffff;
  }

  .question-title {
    font-size: 16px;
    line-height: 16px;
    max-width: 90%;
  }

  .question-content {
    font-size: 14px;
    line-height: 14px;
  }

  .chevron {
    width: 26px;
    height: 26px;
  }
}
