:root {
    --Gradient-Linear-84: linear-gradient(90deg, #7873F5 0%, #EC77AB 100%);
}

/* Page hero override (FAQ has no hero stack content) */
.hero {
    min-height: 0 !important;
    overflow: visible !important;
}

.navbar-collapse{
    z-index: 9999;
}

.hero::before,
.hero::after {
    background: unset !important;
}

.overlay-hero {
    z-index: 3;
}

/* Typography */
.gradient-text-ai {
    background: linear-gradient(90deg, #7873F5 0%, #EC77AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-title {
    color: #393939;
}

.faq-subtitle {
    color: #717680;
}

.faq-help-title {
    color: #535862;
}

/* Pills and buttons */
#powered-by-ai {
    background:
        linear-gradient(#FAFAFF, #FAFAFF) padding-box,
        linear-gradient(90deg, #7873F5 0%, #EC77AB 100%) border-box;
    border: 1px solid transparent;
    border-radius: 100px;
    padding: 8px 16px 8px 12px;
    white-space: nowrap;
}

#powered-by-ai span {
    color: #5925DC;
}

.line-custom {
    border: 1px solid transparent;
    border-image-source: linear-gradient(90deg, #7873F5 0%, #EC77AB 100%);
    border-image-slice: 1;
    width: 100%;
}

.hero-btn {
    padding: 12px 32px !important;
    justify-content: center !important;
}

.hero-btn h5 {
    font-size: 20px !important;
}

.hero-btn:hover {
    background-color: #0041d6 !important;
    color: #fff !important;
    box-shadow: 0 6px 16px 0 #0041d666 !important;
}

.faq-contact-icon {
    width: 25px;
    height: 25px;
    margin-top: 0.2rem;
}

.hero-btn-wrapper {
    flex: 1;
    text-align: center;
}

.btn-find-jobs {
    background-color: #004EEB;
    box-shadow: 0 4px 12px 0 #004EEB66;
    padding: 18px 32px;
    color: #fff;
}

.btn-find-jobs:hover {
    background-color: #0041d6;
    box-shadow: 0 6px 16px 0 #0041d666;
}

.need-help-section {
    opacity: 1;
    gap: 40px;
    border-radius: 24px;
    padding: 32px;
    background: linear-gradient(0deg, #F4F3FF, #F4F3FF),
        linear-gradient(222.04deg, rgba(255, 255, 255, 0) 22.14%, rgba(255, 255, 255, 0.6) 78.84%);
    border: 1px solid #D9D6FE;
}

/* FAQ accordion */
.faq-list {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #E4E7EC;
    text-align: start;
}

.faq-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    cursor: pointer;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    color: #535862;
    line-height: 48px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #A4A7AE;
    font-size: 40px;
    line-height: 1;
}

.faq-icon::before {
    content: "+";
}

.faq-answer,
.faq-answer-list {
    color: #717680;
    line-height: 38px;
    padding: 0 0 20px;
    max-width: 980px;
    text-align: start;
}

.faq-answer-list {
    list-style: disc;
    padding-left: 20px;
}

.faq-item[open] .faq-question,
.faq-item[open] .faq-icon {
    background: var(--Gradient-Linear-84, linear-gradient(90deg, #7873F5 0%, #EC77AB 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-item[open] .faq-icon::before {
    content: "−";
}

/* Responsive */
@media (max-width: 991px) {
    .faq-question {
        line-height: 40px;
    }

    .faq-answer {
        line-height: 32px;
    }
}

@media (max-width: 767px) {
    .h1-nohemi {
        font-size: 28px;
    }

    .hero-texts {
        max-width: 400px;
    }
}

@media (max-width: 500px) {
    .faq-hero-section{
        gap: .5rem !important;
        padding: 2rem !important;
    }

    .hero-texts{
        margin-bottom: 0 !important;
    }

    .need-help-section{
        margin-top: 0 !important;
    }

    h4{
        font-size: 20px !important;
    }

    .title1-sophia{
        font-size: 16px !important;
    }

    .faq-question-section{
        padding: 0 2rem !important;
    }

    .faq-list{
        padding-right: 0 !important;
    }
}

@media (max-width: 360px) {
    .faq-hero-section{
        padding-top: 0 !important;
    }
    
    h4{
        font-size: 16px !important;
    }

    .title1-sophia{
        font-size: 14px !important;
    }
}
