.faqs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-evenly;
  align-items: center;
  padding: 5vw 0;
  background-color: transparent;
  
  .text-box {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 60%;
    min-width: 310px;
    padding: 50px 0;
    button {
      margin-top: 10px;
    }
    
    .accordion {
      background-color: transparent;
      color: #ff6100;
      cursor: pointer;
      padding: 20px 18px;
      margin: 10px 0;
      width: 100%;
      text-align: left;
      border: none;
      outline: none;
      transition: 0.4s;
      font-weight: bolder;
      font-size: 1.3vmax;
      color: #ff6100 !important;
      position: relative;
      background-color: rgb(248, 247, 247);
      box-shadow: 0px 0px 20px rgba(165, 165, 165, 0.1);
    }

    .panel {
      padding: 0px 18px;
      font-size: medium;
      color: gray;
      max-height: 0;
      line-height: 1.4;
      letter-spacing: 1px;
      overflow: hidden;
      transition: max-height 1s ease-out;
    }

    .accordion:after {
      content: "+";
      font-size: 1.2rem;
      color: #ff6100; /* Orange color for the icon */
      position: absolute;
      right: 18px;
      transition: transform 0.7s ease; /* Smooth rotation */
    }

    .active:after {
      transform: rotate(45deg); /* Rotate to make a cross */
      content: "+"; /* Keep the plus sign but rotate it */
    }

    .active + .panel {
      /* max-height: 500px; Adjust based on your content */
      padding: 18px; /* Add padding when expanded */
    }
  }
}

@media screen and (max-width: 780px) {
  .accordion {
    font-size: 2vmax !important;
    padding-right: 50px !important;
  }
  .panel {
    font-size: small;
  }
}
