.faq-banner {
    background: url('../img/FAQ-Banner.jpg') left center no-repeat;
    background-size: cover;
    height: 65.41vh;
}

.container-fluid {
    height: 100%;
}

section.faq-section h2 {
    font-size: 30px !important;
    color: #BF282F !important;
}

.wrapper {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;

}

section.faq-banner .row,
section.faq-section .row {
    height: 100%;
}

section.faq-banner .col-sm-12,
section.faq-section .col-sm-12,
section.faq-section .col-12,
section.faq-banner .col-12 {
    padding-left: 30px;
    padding-right: 30px;
}

section.faq-banner .faq-header {
    max-width: 527px;
    height: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

section.faq-banner h1 {
    color: #666;
    font-size: 40px !important;
    font-style: normal !important;
    font-weight: 400 !important;
}

section {
    padding: 100px 37px;

}

section.faq-section .faq-content {
    display: flex;
    gap: 30px;
    flex-direction: column;
}

section.faq-section .tab-content button {
    background: none;
    border: none;
    padding: 0;
    text-align: start;
}

section.faq-section .tab-content p {
    margin: 0;
}

section.faq-section .tab-content .accordion-header {
    font-family: 'Raleway-Bold' !important;
    text-align: start;
    color: #BF282F;
    font-size: 17px;
    font-weight: 700;
    line-height: normal;
}

section.faq-section .accordion-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

section.faq-section .accordion {
    background: #F6F6F6;
    padding: 30px;
}

section.faq-section hr,
section.faq-banner hr {
    margin-top: 11px;
    margin-bottom: 30px;
    background: #BF282F;
    height: 3px;
    width: 63px;
}

section.faq-banner p {
    font-size: 17px !important;
}

section.faq-section .tab-pane .accordion {
    margin-bottom: 10px;
}

section.faq-section .tab-pane .accordion:last-of-type {
    margin-bottom: 10px;
}

section.faq-section .accordion-button {
    align-items: center;
    display: flex;
    width: 100%;
    justify-content: space-between;
}


section.faq-section .accordion-body {
    flex-direction: column;
    display: flex;
    gap: 20px;
}

section.faq-section .long-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

section.faq-section .nav {
    height: 100% !important;
    width: 100% !important;
    position: unset !important;
    top: 0%;
    left: 0%;
    z-index: 1 !important;
    background-color: white;
    overflow-x: hidden !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    transition: 0.7s;
}

.nav-link {
    align-items: center !important;
    flex-wrap: flex !important;
    display: flex !important;
    gap: 10px !important;
    padding: 12px !important;
    text-decoration: none !important;
    color: #BF282F !important;
    font-family: Raleway-Regular !important;
    font-weight: 500 !important;
    font-size: 17px !important;
    line-height: 30.6px !important;
    border: 1px solid #BF282F !important;
    position: unset !important;
    border-radius: 0 !important;
    transition: 0.7s;
}

.nav-link.active {
    color: #fff !important;
    background-color: #BF282F !important;
    transition: 0.7s;
}

section.faq-section .tab-pane p:not(.accordion-header) {
    color: #666 !important;
    font-family: Raleway-Regular !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 30px !important;
    /* 176.471% */
}

section.faq-section .tab-pane ul {
    color: #666 !important;
    font-family: Raleway-Regular !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 30px !important;
    margin: 0 !important;
}

section.faq-section .tab-pane li {
    color: #666 !important;
    font-family: Raleway-Regular !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 30px !important;
    margin-left: 20px !important;
    list-style: disc !important;
}

section.faq-section .tab-pane a {
    color: #BF282F !important;
    font-family: Raleway !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 30px !important;
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
    text-decoration-skip-ink: auto !important;
    text-decoration-thickness: auto !important;
}

section.faq-section .accordion-body a {
    color: #BF282F !important;
    font-family: 'Raleway-Regular' !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 30px !important;
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
    text-decoration-skip-ink: auto !important;
    text-decoration-thickness: auto !important;
    text-underline-offset: auto !important;
    text-underline-position: from-font !important;
}

section.faq-section svg {
    /* Sets a fixed size to prevent it from shrinking */
    width: 15px;
    height: 10px;

    /* Ensures the element never gets smaller than this size */
    min-width: 15px;
    min-height: 10px;

    /* Optional: Prevents the SVG from growing larger than its intended size */
    max-width: 15px;
    max-height: 10px;

    /* Important: Prevents the browser from trying to shrink the SVG if the parent is a flexbox container */
    flex-shrink: 0;
    transition: transform 0.3 ease-in-out;
}

.banner-hide {
    display: none;
}

.mobile-banner {
    background-color: #FAFAFA;
}

.mobile-banner img {
    transform: translate(20%, -20%);
}

svg.flipped {
    transform: rotate(180deg);
}

@media (max-width: 1199px) {

    section.faq-banner,
    section.faq-section {
        padding: 70px 30px !important;
    }
}

@media (max-width:1024px) {
    section.faq-section .nav {
        margin-bottom: 30px;
    }

    section.faq-banner {
        padding-bottom: 0px!important;
    }

    .banner-hide {
        display: inline-block !important;
    }

    section.mobile-banner {
        height: 500px;
    }
}

@media (max-width: 768px) {

    section.faq-banner,
    section.faq-section {
        padding: 50px 20px !important;
    }

    section.faq-banner {
        padding-bottom: 0px!important;
    }

    section.mobile-banner {
        height: auto;
    }

}