
:root {
    --green: #00aa31;
    --green-dark: #00992c;
    --text-heading: #404041;
    --text-muted: #7c7c7c;
    --bg-collapsed:#F7F7F7;;
    --border-light: #ececec;
    --grey-light: #DEDEDE;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text-heading);
    background: #ffffff;
}

a {
    color: inherit;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ---------------------------- Typography --------------------------------- */

@font-face {
    font-family: avenirBold;
    src: url(../assets/fonts/AvenirNextWorld-Bold.otf);
}

@font-face {
    font-family: avenirDemi;
    src: url(../assets/fonts/AvenirNextWorldDemi.ttf);
}

@font-face {
    font-family: avenirBlack;
    src: url(../assets/fonts/AvenirNextWorld-Black.otf);
}

@font-face {
    font-family: avenirRglr;
    src: url(../assets/fonts/AvenirNextWorld-Regular.ttf);
}

@font-face {
    font-family: avenirBlackIt;
    src: url(../assets/fonts/AvenirNextWorld-BlackIt.otf);
}

@font-face {
    font-family: avenirBoldItalic;
    src: url(../assets/fonts/AvenirNextWorld-BoldIt.otf);
}

.avenirBoldItalic {
    font-family: avenirBoldItalic;
}

.avenirBlackIt {
    font-family: avenirBlackIt;
}

.avenirRglr {
    font-family: avenirRglr;
}
.avenirDemi,h4 {
    font-family: avenirDemi;
}
.avenirBold {
    font-family: avenirBold;
}

.avenirBlack {
    font-family: avenirBlack;
}

.f_48 {
    font-size: 48px;
    line-height: 1.2;
}

.f_16 {
    font-size: 16px;
    line-height: 1.5;
}

.f_15,
.f15 {
    font-size: 15px;
    line-height: 1.6;
}
.f_24 {
    font-size: 24px;
    line-height: 1.5;
}
.black{
color: #000;
}
.black_color {
    color: var(--text-heading);
}

/* ------------------------------- Header ----------------------------------- */

.header.white_back {
    background: #ffffff;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.08);
}

.header img {
    height: 36px;
}

.dropdown-toggle {
    font-weight: 600;
    text-decoration: none;
}

.dropdown-toggle:hover {
    font-family: avenirBold !important;
}

.dropdown-menu {
    min-width: 4rem !important;
}

.dropdown-item:hover {
    color: var(--green) !important;
}

.dropdown-item:active {
    background-color: #fff !important;
}

/* ------------------------------- Footer ------------------------------------ */

.darkgreen_back {
    background: var(--green-dark);
}

/* -------------------------------- Layout ------------------------------------ */

.padding_top {
    padding-top: 24px;
}

.faq_intro {
    /* max-width: 720px; */
    margin: 12px 0 0;
}

.thick_hr {
    border: none;
    border-top: 3px solid var(--green);
    width: 184px;
    margin: 16px 0 0;
}

.thin_hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 16px 0;
}

.light_grey_back {
    background: var(--bg-collapsed);
}

.br_10 {
    border-radius: 10px;
}

.faq_ul {
    padding-left: 20px;
    margin: 8px 0 0;
}

.faq_ul li {
    margin-bottom: 6px;
}

/* --------------------------- Collapse +/- icon ------------------------------- */

.circle {
    position: relative;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-left: 16px;
    border-radius: 50%;
    transition: background-color 0.15s ease;
}


.plus_sign {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -6px 0 0 -5px;
    background: none;
    border-right: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(45deg);
    transition: transform 0.2s ease, margin 0.2s ease;
}

.minus_sign {
    display: none;
}

a[aria-expanded="true"] .plus_sign {
    margin: -3px 0 0 -5px;
    transform: rotate(225deg);
}
.p-4.light_grey_back:has(> a[aria-expanded="true"]) {
   border-radius: 8px;
background: #FFF;
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.07);
}
a[aria-expanded="true"] h3.black {
    color: var(--green);
}
/* ------------------------------- Category tabs -------------------------------- */

.faq_app {
    display: flex;
    flex-wrap: wrap;
    gap: 32px; 
    align-items: flex-start;
}

.faq_nav_col {
    flex: 0 0 350px;
    max-width: 100%;
}

.faq_nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 4px 20px;
}

.faq_nav_link {
    display: block;
    padding: 16px 24px;
    margin-bottom: 24px;
    border-left: 2px solid transparent;
    border-bottom: none;
    color: var(--text-muted);
    border-radius: 0;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.faq_nav_link:hover,
.faq_nav_link:focus {
    color: var(--text-heading);
    text-decoration: none;
}

.faq_nav_link.active {
    border-left-color: var(--green);
    border-bottom-color: transparent;
    color: var(--text-heading);
    background: transparent;
}

.faq_tab_content {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

[dir="rtl"] .faq_nav_link {
    border-left: none;
    border-right: 2px solid transparent;
}

[dir="rtl"] .faq_nav_link.active {
    border-left-color: transparent;
    border-right-color: var(--green);
}

/* Bootstrap's .fade already animates opacity; add a subtle rise so switching
   categories reads as a deliberate transition rather than a hard swap. */
.faq_tab_content .tab-pane {
    transition: opacity 250ms ease, transform 250ms ease;
    transform: translateY(12px);
}

.faq_tab_content .tab-pane.show {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .faq_tab_content .tab-pane {
        transition: none;
        transform: none;
    }
}

.faq_coming_soon {
    color: #9b9b9b;
    font-style: italic;
}

/* -------------------------------- Responsive ---------------------------------
   Figma breakpoints: 1920 / 1440 / 1280 / 768 / 415 / 360
   -------------------------------------------------------------------------- */

/* 1280 and down: tighten the big heading a touch */
@media (max-width: 1280px) {
    .f_48 {
        font-size: 40px;
    }
}

/* 991.98 and down (nav/content stack point, matches Bootstrap's md breakpoint
   used by flex-lg-nowrap in the markup): category list moves above content
   and becomes a horizontal, wrapping row of links instead of a sidebar. */
@media (max-width: 991.98px) {
    .faq_app {
        flex-direction: column;
        gap: 8px;
    }

    .faq_nav_col {
        flex: none;
        width: 100%;
    }

    .faq_nav {
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
    .padding_top {
        padding-top: 16px;
    }

    .f_48 {
        font-size: 32px;
    }

    .header img {
        height: 28px;
    }

    .faq_nav_link .f_24 {
        font-size: 16px;
    }

    .faq_nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .faq_nav_link {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 8px 0 8px 12px;
        margin-bottom: 0;
        border-left: none;
        border-right: none;
        border-bottom: 2px solid transparent;
    }

    .faq_nav_link.active {
        border-left-color: transparent;
        border-right-color: transparent;
        border-bottom-color: var(--green);
    }
}

/* 415 and down */
@media (max-width: 415px) {
    .f_48 {
        font-size: 26px;
    }

    .f_16 {
        font-size: 15px;
    }

    .circle {
        width: 24px;
        height: 24px;
        margin-left: 10px;
    }
}

/* 360 and down */
@media (max-width: 360px) {
    .f_48 {
        font-size: 22px;
    }

    .thick_hr {
        width: 48px;
    }
}