/* SELECTED PAGE FAQS*/

.header-middle li:nth-child(4) a::after {
    width: 110%; /* selected page highlighted underline */
}

.header-middle li:nth-child(4) a {
    color: #6164b8; /* selected page highlighted color */
}

/* ---------------- */

h2 {
      font-family: Arial;
      color: #fff;
      margin-left: 20px;
}

.faq-grouping {
    overflow: hidden;
    margin-bottom: 20px;
   /* background-color: rgba(255, 255, 255, 0.1);*/
    color: #222;
}

.toggle-checkbox {
    display: none;
}

.question-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  /*  background-color: rgba(255, 255, 255, 0.1); */
    padding: 5px 20px;
    cursor: pointer;
}

.question-text {
    color: var(--light_bird_color);
    font-size: 18px;
    opacity: 0.7;
}

.question-text:hover {

    opacity: 1;
}

.toggle-button {
    font-size: 30px;
    transition: transform 0.3s ease;
    font-family: Arial;
    color: rgba(255, 255, 255, 0.7);
}

.toggle-button:hover {
    color: #92BDC4;
}

.answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 20px; /* Initial padding */
    transition:
        height 0.3s ease, /* Transition for height */
        padding 0.3s ease,    /* Transition for padding */
        opacity 0.6s ease;    /* Transition for opacity */
   /* background-color: rgba(255, 255, 255, 0.1); */
}

.answer p {
    margin: 5px 0;
    font-size: 16px;
    padding-left: 20px;
    padding-right: 40px;
    color: rgba(255, 255, 255, 0.8);
    text-align: justify;
}

.toggle-checkbox:checked + .question-container .toggle-button {
    transform: rotate(135deg);
}

.toggle-checkbox:checked + .question-container + .answer {
    max-height: 1000px; /* Adjust based on content height */
    padding: 10px 20px;
    opacity: 1; /* Fully visible */
}

.faq_section {
    padding-top: 10px; /* Adjust this value based on the height of your fixed header */
    padding-bottom: 10px;
    box-sizing: border-box;
    width: 90%;
    display: flex;
    align-items: space-around;
    margin: 0 auto;
   /* text-align: center; */
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid #fff;
    border-radius: 25px 7px;
    margin-top: 50px;
    margin-bottom: 30px;
    overflow: hidden;
}

.faq1, .faq2 {
    width: 50%; /* Adjust to fit within the container with some space between them */
   /* background-color: rgba(255, 255, 255, 0.1); */
    box-sizing: border-box;
    padding-top: 0px;
    flex: 1;
    flex-direction: rows;
}

.faq2 h2 {
    color: rgba(255, 255, 255, 0);
    cursor: default;
}

.divider {
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 95%;

}


@media (max-width: 860px) {
    .faq_section {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin: 5%;
    }

    .faq1, .faq2 {
        flex: 1 1 100%; /* 50% width for each section on small screens */
        box-sizing: border-box;
        width: 100%;
    }

    .faq2 h2 {
       display: none; /* Hide <h2> in .faq2 on small screens */
    }

    .faq2 .faq-grouping > hr:first-of-type {
        display: none; /* Hide the first <hr> in .faq2 */
    }

     .faq-grouping {
        width: 100%;
    }

    .faq2 .faq-grouping {
        margin-top: -20px;
    }