/*=========================================================
  IBA FAQ SECTION
=========================================================*/

.iba-faq-section {
    padding: 70px 0;

    background: #ffffff;
}


.iba-faq-section .iba-container {
    width: 90%;

    max-width: 1500px;

    margin: 0 auto;
}


/*=========================================================
  SECTION HEADING
=========================================================*/

.iba-faq-section .iba-section-heading {
    max-width: 850px;

    margin-bottom: 32px;
}


.iba-faq-section .iba-section-heading h2 {
    margin: 0 0 10px 0;

    color: #15202b;
}


.iba-faq-section .iba-section-heading p {
    margin: 0;

    color: #4d5965;
}


/*=========================================================
  FAQ LIST
=========================================================*/

.iba-faq-list {
    width: 100%;

    max-width: none;
}


/*=========================================================
  INDIVIDUAL FAQ ITEM
=========================================================*/

.iba-faq-item {
    margin-bottom: 10px;

    overflow: hidden;

    background: #f2f9f2;

    border: 1px solid #6ea58d;

    border-radius: 8px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.iba-faq-item:last-child {
    margin-bottom: 0;
}


/*=========================================================
  QUESTION BUTTON
=========================================================*/

.iba-faq-question {
    width: 100%;

    min-height: 88px;

    padding: 24px 30px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;

    border: 0;

    background: #f2f9f2;

    text-align: left;

    cursor: pointer;

    color: #145f49;

    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.iba-faq-question:hover {
    background: #edf7ed;

    color: #0c503d;
}


/*=========================================================
  PLUS / X ICON
=========================================================*/

.iba-faq-icon {
    position: relative;

    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    margin-left: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 0;

    color: currentColor;

    transition:
        transform 0.3s ease,
        color 0.2s ease;
}


/* horizontal line */

.iba-faq-icon::before {
    content: "";

    position: absolute;

    width: 24px;
    height: 1.5px;

    background: currentColor;

    border-radius: 2px;
}


/* vertical line */

.iba-faq-icon::after {
    content: "";

    position: absolute;

    width: 1.5px;
    height: 24px;

    background: currentColor;

    border-radius: 2px;
}


/*=========================================================
  ANSWER WRAPPER
=========================================================*/

/*
  Don't use display:none here.

  max-height + opacity allows the answer
  to slide smoothly into view.
*/

.iba-faq-answer {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    background: #f4faf3;

    transition:
        max-height 0.45s ease,
        opacity 0.3s ease;
}


/*=========================================================
  ANSWER CONTENT
=========================================================*/

.iba-faq-answer-inner {
    max-width: none;

    padding: 36px 40px 42px;

    color: #17232d;

    font-size: 16px;
    line-height: 1.7;
}


.iba-faq-answer-inner p:first-child {
    margin-top: 0;
}


.iba-faq-answer-inner p:last-child {
    margin-bottom: 0;
}


/*=========================================================
  OPEN FAQ ITEM
=========================================================*/

.iba-faq-item.open {
    background: #f4faf3;

    border-color: #1b795b;

    box-shadow:
        0 8px 24px
        rgba(12, 74, 55, 0.08);
}


/*=========================================================
  OPEN QUESTION HEADER
=========================================================*/

.iba-faq-item.open .iba-faq-question {
    min-height: 88px;

    background: #0d4d3d;

    color: #ffffff;

    border-radius: 7px 7px 0 0;

    border-bottom: 3px solid #8fd625;
}


.iba-faq-item.open .iba-faq-question:hover {
    background: #0d4d3d;

    color: #ffffff;
}


/*=========================================================
  OPEN ANSWER
=========================================================*/

.iba-faq-item.open .iba-faq-answer {
    max-height: 1600px;

    opacity: 1;
}


/*=========================================================
  PLUS BECOMES X
=========================================================*/

.iba-faq-item.open .iba-faq-icon {
    transform: rotate(45deg);

    color: rgba(255, 255, 255, 0.82);
}


/*=========================================================
  OPTIONAL ANSWER HEADINGS
=========================================================*/

.iba-faq-answer-inner h3,
.iba-faq-answer-inner h4 {
    color: #126048;

    margin-top: 28px;
    margin-bottom: 12px;
}


.iba-faq-answer-inner h3:first-child,
.iba-faq-answer-inner h4:first-child {
    margin-top: 0;
}


/*=========================================================
  OPTIONAL LISTS
=========================================================*/

.iba-faq-answer-inner ul,
.iba-faq-answer-inner ol {
    margin-top: 12px;
    margin-bottom: 18px;

    padding-left: 24px;
}


.iba-faq-answer-inner li {
    margin-bottom: 6px;
}


/*=========================================================
  TABLET
=========================================================*/

@media (max-width: 900px) {

    .iba-faq-section {
        padding: 60px 0;
    }


    .iba-faq-question {
        min-height: 78px;

        padding: 22px 25px;

        font-size: 20px;
    }


    .iba-faq-item.open .iba-faq-question {
        min-height: 78px;
    }


    .iba-faq-answer-inner {
        padding:
            30px
            30px
            34px;
    }

}


/*=========================================================
  MOBILE
=========================================================*/

@media (max-width: 700px) {

    .iba-faq-section {
        padding: 50px 0;
    }


    .iba-faq-section .iba-container {
        width: 90%;
    }


    .iba-faq-item {
        margin-bottom: 9px;

        border-radius: 7px;
    }


    .iba-faq-question {
        min-height: 70px;

        padding: 18px 20px;

        gap: 18px;

        font-size: 17px;

        line-height: 1.35;
    }


    .iba-faq-item.open .iba-faq-question {
        min-height: 70px;
    }


    .iba-faq-icon {
        width: 28px;
        height: 28px;

        margin-left: 8px;
    }


    .iba-faq-icon::before {
        width: 20px;
    }


    .iba-faq-icon::after {
        height: 20px;
    }


    .iba-faq-answer-inner {
        padding:
            24px
            20px
            28px;

        font-size: 15px;
    }

}


/*=========================================================
  SMALL MOBILE
=========================================================*/

@media (max-width: 420px) {

    .iba-faq-question {
        padding: 17px 16px;

        font-size: 16px;
    }


    .iba-faq-answer-inner {
        padding:
            22px
            17px
            25px;
    }

}