/* CSS to faqs */

#faqs{
    height:auto;
}

.faqs{
    height:100%;
    background-color: #BCE7D2;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding-left: 20vw; /*9+x*/
    padding-right: 20vw;
}

.content-faqs{
    width:100%;
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10%;
}

.content-faqs h1{
    margin-top: 8vh;
    margin-bottom: 4vh;
    width:100%;
    text-align: center;
    background-color: transparent;
}

.cards-faqs{
    width:100%;
    margin-top: 2%;
    background-color: #ffffff;
    border-radius: 20px;
    height:40%;
    padding:3%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.cards-faqs:hover {
    transform: translateY(-2px); /* Moves the element up by 10px */
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.1); /* Enhances shadow on hover */
}

.faqs p{
    font-size: 17px;
    line-height: 25px;
}

/* Initially hide the answer */
.faq-answer {
    max-height: 0;
    margin-top:1%;
    overflow:hidden;
    transition: max-height 0.3s ease;
    background-color: #f5f5f5;
    border-left: 4px solid #F3DCED;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0 3%; /* Reset padding when hidden */
    padding-right: 5%;
  }
  
  /* Show the answer when expanded */
  .cards-faqs.expanded .faq-answer {
    max-height: 220px; /* Adjust based on expected content size */
    padding: 2% 3%; /* Add padding when visible */
    padding-right: 5%;
    overflow-y: auto;
  }

  .cards-faqs a{
    font-size: 16px;
  }

