
/* =========================================
   GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.faq-page {
    width: 100%;
    font-family: Arial, sans-serif;
    color: #303b32;
    background: #f8faf6;
    min-height: 100vh;
}


/* =========================================
   HERO BANNER
   ORIGINAL DESIGN - UNCHANGED
========================================= */

.faq-hero {
    position: relative;
    width: 100%;
    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px 5%;

    background: rgba(0, 39, 0, 0.788);

    color: #ffffff;
    text-align: center;
}

.faq-hero-content {
    max-width: 850px;
}

.faq-hero h1 {
    color: #ffffff;
    font-size: clamp(30px, 4vw, 20px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
}

/* =========================================
   FAQ CONTAINER
========================================= */

.faq-container {
    width: 92%;
    max-width: 1350px;

    margin: 0 auto;

    padding: 25px 0 75px;
}


/* =========================================
   INTRODUCTION
========================================= */

.faq-intro {
    margin-bottom: 10px;
}

.faq-intro p {
    max-width: 750px;

    line-height: 1.7;

    color: #2f4b36;
    font-size: 15px;
}


/* =========================================
   SINGLE FAQ MAIN CONTAINER
========================================= */

.faq-list {
    width: 100%;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #164d24;
    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 4px 18px rgba(30, 70, 35, 0.045);
}


/* =========================================
   FAQ ITEMS
   NO INDIVIDUAL CARD BORDERS
========================================= */

.faq-item {
    width: 100%;

    background: #ffffff;

    border: none;
    border-bottom: 1px solid #638163;

    overflow: hidden;

    transition: background 0.25s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background: #f9fbf8;
}

.faq-item.active {
    background: #ffffff;
}


/* =========================================
   QUESTION BUTTON
========================================= */

.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 19px 25px;

    border: none;
    background: transparent;

    text-align: left;

    color: #285f37;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: background 0.25s ease;
}

.faq-question:hover {
    background: #f4f8f1;
}

.faq-question:focus-visible {
    outline: 3px solid #8caf62;
    outline-offset: -3px;
}

.faq-question span:first-child {
    line-height: 1.5;
}


/* =========================================
   FAQ ICON
========================================= */

.faq-icon {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #e8f1d9;
    color: #34733b;

    font-size: 21px;
    font-weight: normal;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);

    background: #347c3d;
    color: #ffffff;
}


/* =========================================
   FAQ ANSWER
========================================= */

.faq-answer {
    max-height: 0;
    overflow: hidden;

    padding: 0 25px;

    background: #ffffff;

    transition:
        max-height 0.35s ease,
        padding 0.35s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 22px;
}

.faq-answer-content {
    max-width: 1100px;
}

.faq-answer p {
    margin: 0;

    color: #2d362f;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================
   ANSWER LIST
========================================= */

.faq-answer ul {
    margin: 12px 0 0;
    padding-left: 23px;
}

.faq-answer li {
    padding: 0 0 8px 5px;

    color: #68746b;

    font-size: 14px;
    line-height: 1.7;
}

.faq-answer li::marker {
    color: #347c3d;
}


/* =========================================
   ANSWER LINKS
========================================= */

.faq-answer a {
    color: #347c3d;

    font-weight: 600;
    text-decoration: none;

    transition: color 0.2s ease;
}

.faq-answer a:hover {
    color: #174d28;
    text-decoration: underline;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media screen and (max-width: 768px) {

    .faq-container {
        width: 94%;
        padding: 40px 0 60px;
    }

    .faq-hero {
        min-height: 250px;
    }

    .faq-hero h1 {
        font-size: 32px;
    }

    .faq-intro {
        margin-bottom: 22px;
    }

    .faq-question {
        padding: 17px 20px;
        font-size: 14px;
    }

    .faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media screen and (max-width: 480px) {

    .faq-hero {
        min-height: 120px;
        padding: 40px 20px;
    }
    
    .faq-hero h1 {
        font-size: 20px;
    }

    .faq-hero p {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .faq-container {
        width: 94%;
        padding: 35px 0 50px;
    }

    .faq-intro {
        margin-bottom: 20px;
    }

    .faq-intro h2 {
        font-size: 24px;
    }

    .faq-intro p {
        font-size: 13px;
    }

    .faq-list {
        border-radius: 9px;
    }

    .faq-question {
        padding: 15px 13px;
        font-size: 13px;
        gap: 10px;
    }

    .faq-icon {
        width: 27px;
        height: 27px;
        font-size: 18px;
    }

    .faq-answer {
        padding-left: 13px;
        padding-right: 13px;
    }

    .faq-item.active .faq-answer {
        padding: 0 13px 17px;
    }

    .faq-answer p,
    .faq-answer li {
        font-size: 12px;
        line-height: 1.7;
    }

    .faq-answer ul {
        padding-left: 20px;
    }

}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .faq-answer,
    .faq-icon,
    .faq-question,
    .faq-item {
        transition: none;
    }

}
