/**
 * FAQ Page
 * V2 Theme - Fortune Academy
 */

/* ============================
   FAQ Page Section
   ============================ */
.faq-page-section {
    padding: 60px 0 80px;
}

.faq-page-container {
    margin-bottom: 60px;
}

.faq-page-container:last-of-type {
    margin-bottom: 0;
}

/* ============================
   Section Heading
   ============================ */
.faq-content-wrap .section-heading {
    margin-bottom: 30px;
}

.faq-content-wrap .section-heading h5.dash-style {
    font-size: 14px;
    font-weight: 700;
    color: #ff6f00;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.faq-content-wrap .section-heading h2 {
    font-size: 28px;
    font-weight: 800;
    color: #173C97;
    line-height: 1.3;
    margin-bottom: 15px;
}

.faq-content-wrap .section-heading p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

/* ============================
   Accordion
   ============================ */
.accordion {
    border: none;
}

.accordion .card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion .card:last-child {
    margin-bottom: 0;
}

.accordion .card:hover {
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-color: #173C97;
}

.accordion .card-header {
    background: transparent;
    border: none;
    padding: 0;
}

.accordion .card-header h4 {
    margin: 0;
}

.accordion .card-header .btn-link {
    width: 100%;
    text-align: left;
    padding: 18px 60px 18px 25px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.accordion .card-header .btn-link:hover,
.accordion .card-header .btn-link:focus {
    color: #173C97;
    text-decoration: none;
    box-shadow: none;
}

.accordion .card-header .btn-link::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #173C97;
    transition: transform 0.3s ease;
}

.accordion .card-header .btn-link.collapsed::after {
    transform: translateY(-50%) rotate(0deg);
}

.accordion .card-header .btn-link:not(.collapsed)::after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion .card-body {
    padding: 0 25px 25px;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.accordion .collapse {
    border-top: 1px solid #f0f0f0;
}

/* Active State */
.accordion .card-header .btn-link:not(.collapsed) {
    color: #173C97;
    background: #f8f9fc;
}

/* ============================
   Still Have Questions Section
   ============================ */
.qsn-form-container {
    background: linear-gradient(135deg, #173C97 0%, #2C75BA 100%);
    padding: 50px 40px;
    border-radius: 12px;
    color: #fff;
}

.qsn-form-container h3 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qsn-form-container p {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    opacity: 0.95;
    margin-bottom: 0;
}

.qsn-form-container .button-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #173C97;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.qsn-form-container .button-primary:hover {
    background: #f0f4f8;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    color: #173C97;
}

/* ============================
   Breadcrumb
   ============================ */
.breadcrumb-content {
    margin-top: 15px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

.breadcrumb li {
    font-size: 14px;
    color: #fff;
}

.breadcrumb li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.breadcrumb li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb li + li::before {
    content: '/';
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb li.active {
    opacity: 0.8;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 991px) {
    .faq-page-section {
        padding: 50px 0 60px;
    }

    .faq-page-container {
        margin-bottom: 50px;
    }

    .faq-content-wrap .section-heading h2 {
        font-size: 24px;
    }

    .faq-content-wrap {
        margin-bottom: 40px;
    }

    .faq-content-wrap:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .faq-page-section {
        padding: 40px 0 50px;
    }

    .faq-page-container {
        margin-bottom: 40px;
    }

    .faq-content-wrap .section-heading h2 {
        font-size: 22px;
    }

    .faq-content-wrap .section-heading p {
        font-size: 14px;
    }

    .accordion .card-header .btn-link {
        padding: 15px 50px 15px 20px;
        font-size: 15px;
    }

    .accordion .card-header .btn-link::after {
        right: 20px;
        font-size: 18px;
    }

    .accordion .card-body {
        padding: 0 20px 20px;
        font-size: 14px;
    }

    .qsn-form-container {
        padding: 40px 30px;
    }

    .qsn-form-container h3 {
        font-size: 24px;
    }

    .qsn-form-container p {
        font-size: 15px;
    }

    .qsn-form-container .button-primary {
        padding: 13px 35px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .faq-content-wrap .section-heading h2 {
        font-size: 20px;
    }

    .accordion .card-header .btn-link {
        padding: 14px 45px 14px 18px;
        font-size: 14px;
    }

    .qsn-form-container {
        padding: 35px 25px;
    }

    .qsn-form-container h3 {
        font-size: 20px;
    }

    .qsn-form-container p {
        font-size: 14px;
    }
}
