/*==========================================
        FAQ PAGE SECTION
==========================================*/
body {
    background-color: #f6f7f8;
}

:root {
    --brand: #c3f842;
    --text: #222;
    --muted: #556;
}

.cv-faq-page-section {
    position: relative;
    max-width: 1200px;
    padding: 64px 16px;
    margin: 0 auto;
    /* padding: 110px 0; */
    /* background: #fff; */
    overflow: hidden;
}

.cv-faq-page-section .containers {
    max-width: 1280px;
}

/*==========================================
        HEADER
==========================================*/

.cv-faq-page-header {
    display: grid;
    grid-template-columns: 1fr 550px;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.cv-faq-page-left h2 {
    margin: 0;
    font-size: 32px;
    margin-bottom: .5rem;
    /* font-weight: 500; */
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
    /* letter-spacing: -1px; */
    color: #172000;

}

.cv-faq-page-right p {
    margin: 0;
    font-size: 15px;
    line-height: 2;
    color: #556;
}

/*==========================================
        CATEGORY
==========================================*/

.cv-faq-category {
    margin-bottom: 70px;
}

.cv-faq-category:last-child {
    margin-bottom: 0;
}

.cv-faq-category-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: -18px;
}

.cv-faq-category-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff6d8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.cv-faq-category-title h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin: 40px 0 18px;
    padding-bottom: 8px;
    /* border-bottom: 2px solid var(--brand); */
}

.cv-faq-category-line {
    width: 100%;
    height: 2px;
    background: #b9e322;
    margin-bottom: 24px;
}

/*==========================================
        ACCORDION
==========================================*/

.cv-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cv-faq-item {

    background: #fff;

    border: 1px solid #efefef;

    border-radius: 10px;

    overflow: hidden;

    transition: .35s;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .04);

}

.cv-faq-item:hover {

    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);

}


/*==========================================
        QUESTION
==========================================*/

.cv-faq-question {

    width: 100%;

    min-height: 74px;

    padding: 22px 28px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: linear-gradient(180deg, #ffffff 0%, #fbffed 100%);

    border: none;

    outline: none;

    cursor: pointer;

    font-family: inherit;

    text-align: left;

}

.cv-faq-question span {

    font-size: 16px;

    font-weight: 700;

    line-height: 1.45;

    color: #111;

    width: calc(100% - 45px);

}

.cv-faq-question i {

    font-size: 16px;

    color: #333;

    transition: .35s;

    flex-shrink: 0;

}


/*==========================================
        ANSWER
==========================================*/

.cv-faq-answer {

    max-height: 0;

    overflow: hidden;

    transition: max-height .45s ease;

}

.cv-faq-answer-inner {
    padding: 20px 22px 26px;

}

.cv-faq-answer p {

    margin: 0;
    background: #fff;
    color: #444;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.6;

}


/*==========================================
        ACTIVE
==========================================*/

.cv-faq-item.active {

    box-shadow: 0 10px 24px rgba(0, 0, 0, .05);

}

.cv-faq-item.active .cv-faq-answer {

    max-height: 500px;

}

.cv-faq-item.active .cv-faq-question {

    border-bottom: 1px solid #eeeeee;

}

.cv-faq-item.active .cv-faq-question i {

    transform: rotate(180deg);

}


/*==========================================
        RESPONSIVE
==========================================*/

@media(max-width:991px) {

    .cv-faq-question {

        min-height: 70px;

        padding: 20px;

    }

    .cv-faq-question span {

        font-size: 18px;

    }

    .cv-faq-answer-inner {

        padding: 0 20px 22px;

    }

}

@media(max-width:767px) {

    .cv-faq-question {

        min-height: 64px;

        padding: 18px;

    }

    .cv-faq-question span {

        font-size: 17px;

        line-height: 1.5;

    }

    .cv-faq-answer-inner {

        padding: 0 18px 20px;

    }

    .cv-faq-answer p {

        font-size: 15px;

        line-height: 1.9;

    }

}

@media(max-width:480px) {

    .cv-faq-question {

        align-items: flex-start;

        padding: 18px 16px;

    }

    .cv-faq-question span {

        width: calc(100% - 30px);

        font-size: 16px;

    }

    .cv-faq-question i {

        margin-top: 3px;

        font-size: 15px;

    }

    .cv-faq-answer-inner {

        padding: 0 16px 18px;

    }

}

.cv-faq-item.active .cv-faq-question {
    background: #c3f842;
    border-radius: 10px 10px 0 0;
}

.cv-faq-item.active .cv-faq-answer {
    background: #ffffff;
}

/*==========================================
        LARGE LAPTOP
==========================================*/

@media (max-width:1400px) {

    .cv-faq-page-header {
        gap: 10px;
    }

    .cv-faq-page-left h2 {
        font-size: 32px;
    }

    .cv-faq-page-right p {
        font-size: 15px;
        font-weight: 300;
    }

    .cv-faq-question span {
        font-size: 16px;
    }

}

/*==========================================
        LAPTOP
==========================================*/

@media (max-width:1199px) {

    .cv-faq-page-section {
        padding: 90px 0;
    }

    .cv-faq-page-header {

        grid-template-columns: 1fr 430px;

        gap: 45px;

        margin-bottom: 55px;

    }

    .cv-faq-page-left h2 {

        font-size: 44px;

    }

    .cv-faq-page-right p {

        font-size: 18px;

        line-height: 1.9;

    }

    .cv-faq-category-title h3 {

        font-size: 30px;

    }

    .cv-faq-question {

        height: 76px;

        padding: 0 24px;

    }

    .cv-faq-question span {

        font-size: 20px;

    }

    .cv-faq-answer-inner {

        padding: 0 24px 24px;

    }

    .cv-faq-answer p {

        font-size: 17px;

    }

}

/*==========================================
        TABLET
==========================================*/

@media (max-width:991px) {

    .cv-faq-page-section {

        padding: 80px 0;

    }

    .cv-faq-page-header {

        grid-template-columns: 1fr;

        gap: 25px;

        margin-bottom: 45px;

    }

    .cv-faq-page-right {

        max-width: 100%;

    }

    .cv-faq-page-left h2 {

        font-size: 38px;

    }

    .cv-faq-page-right p {

        font-size: 17px;

        line-height: 1.8;

    }

    .cv-faq-category {

        margin-bottom: 55px;

    }

    .cv-faq-category-title {

        gap: 12px;

        margin-bottom: 16px;

    }

    .cv-faq-category-title h3 {

        font-size: 27px;

    }

    .cv-faq-question {

        height: 72px;

        padding: 0 22px;

    }

    .cv-faq-question span {

        font-size: 18px;

        padding-right: 15px;

    }

    .cv-faq-question i {

        font-size: 17px;

    }

    .cv-faq-answer-inner {

        padding: 0 22px 22px;

    }

    .cv-faq-answer p {

        font-size: 16px;

        line-height: 1.9;

    }

}

/*==========================================
        MOBILE
==========================================*/

@media (max-width:767px) {

    .cv-faq-page-section {

        padding: 70px 0;

    }

    .cv-faq-page-left h2 {

        font-size: 31px;

        line-height: 1.2;

        letter-spacing: 0;

    }

    .cv-faq-page-right p {

        font-size: 16px;

        line-height: 1.8;

    }

    .cv-faq-category {

        margin-bottom: 45px;

    }

    .cv-faq-category-title {

        gap: 10px;

        flex-wrap: wrap;

    }

    .cv-faq-category-icon {

        width: 30px;

        height: 30px;

        font-size: 15px;

    }

    .cv-faq-category-title h3 {

        font-size: 23px;

    }

    .cv-faq-category-line {

        margin-bottom: 20px;

    }

    .cv-faq-accordion {

        gap: 15px;

    }

    .cv-faq-item {

        border-radius: 12px;

    }

    .cv-faq-question {

        height: 68px;

        padding: 0 18px;

    }

    .cv-faq-question span {

        font-size: 17px;

        line-height: 1.45;

    }

    .cv-faq-question i {

        font-size: 16px;

    }

    .cv-faq-answer-inner {

        padding: 0 18px 20px;

    }

    .cv-faq-answer p {

        font-size: 15px;

        line-height: 1.85;

    }

}

/*==========================================
        SMALL MOBILE
==========================================*/

@media (max-width:480px) {

    .cv-faq-page-section {

        padding: 60px 0;

    }

    .cv-faq-page-left h2 {

        font-size: 27px;

    }

    .cv-faq-page-right p {

        font-size: 15px;

    }

    .cv-faq-category-title h3 {

        font-size: 21px;

    }

    .cv-faq-question {

        min-height: 66px;

        height: auto;

        padding: 18px 16px;

        align-items: flex-start;

    }

    .cv-faq-question span {

        font-size: 16px;

        width: calc(100% - 35px);

    }

    .cv-faq-question i {

        margin-top: 3px;

        font-size: 15px;

    }

    .cv-faq-answer-inner {

        padding: 0 16px 18px;

    }

    .cv-faq-answer p {

        font-size: 14px;

        line-height: 1.8;

    }

}

/* CTA section */
.faq-cta {
    background: linear-gradient(135deg, var(--brand) 0%, #a8e234 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 50px;
}

.faq-cta h3 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    font-weight: 800;
}

.faq-cta p {
    margin: 0 0 20px;
    font-size: 1rem;
}

.faq-cta .btn-grp {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-cta a {
    background: #222;
    color: #c3f842;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: opacity .2s ease;
}

.faq-cta a:hover {
    opacity: 0.9;
}

/* Responsive tweaks */
@media (max-width:576px) {
    .faq-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .faq-head h2 {
        font-size: 1.5rem;
    }

    .accordion-button {
        padding: 14px 16px;
        font-size: .98rem;
    }

    .accordion-body {
        padding: 16px;
    }

    .faq-cta {
        padding: 28px 20px;
    }
}