/* ==========================================================================
   Premium FAQ Section Styles with Dynamic Ambient Background
   ========================================================================== */
.faq-container.background-image-bg {
    position: relative;
    width: 100%;
    padding: 95px 0 100px 0;
    background: linear-gradient(145deg, #0b0914 0%, #130d24 45%, #1c102e 100%) !important;
    overflow: hidden;
    color: #ffffff;
    box-sizing: border-box;
}

/* Subtle Tech Grid Lines Overlay */
.faq-container.background-image-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* Ambient Glowing Orbs */
.faq-ambient-orb-1 {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 93, 37, 0.22) 0%, rgba(228, 93, 37, 0) 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(40px);
}

.faq-ambient-orb-2 {
    position: absolute;
    bottom: -120px;
    right: -80px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.24) 0%, rgba(147, 51, 234, 0) 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(45px);
}

/* 2-Column Flex Wrapper */
.faq-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
}

/* Left Column Styling */
.faq-left {
    flex: 0 0 calc(40% - 24px);
    max-width: 460px;
    position: sticky;
    top: 100px;
    z-index: 3;
    display: flex;
    flex-direction: column;
}

.faq-badge-wrapper {
    margin-bottom: 14px;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 130, 32, 0.12);
    border: 1px solid rgba(245, 130, 32, 0.35);
    color: #f58220;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 30px;
}

.faq-title {
    font-family: "Roboto Slab", serif !important;
    font-size: clamp(2.2rem, 3.8vw, 3rem) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin: 0 0 16px 0 !important;
}

.faq-title-accent {
    background: linear-gradient(90deg, #f58220, #e45d25);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.faq-description {
    font-family: "Roboto", sans-serif !important;
    font-size: 0.98rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    margin: 0 0 32px 0 !important;
}

/* Support Help Box */
.faq-support-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 22px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.faq-support-box:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(245, 130, 32, 0.35);
    transform: translateY(-3px);
}

.faq-support-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e45d25, #f58220);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(228, 93, 37, 0.35);
}

.faq-support-content {
    flex: 1;
}

.faq-support-title {
    font-family: "Roboto Slab", serif !important;
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
}

.faq-support-desc {
    font-family: "Roboto", sans-serif !important;
    font-size: 0.88rem !important;
    color: rgba(255, 255, 255, 0.65) !important;
    line-height: 1.5 !important;
    margin: 0 0 12px 0 !important;
}

.faq-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f58220;
    font-family: "Roboto", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.faq-support-btn:hover {
    color: #ff9d47;
    gap: 12px;
}

/* Right Column: Accordion */
.faq-right {
    flex: 1;
    min-width: 300px;
    z-index: 3;
}

.modern-faq-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modern-faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modern-faq-item:hover {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(245, 130, 32, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.modern-faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    transition: all 0.3s ease;
    gap: 16px;
}

.modern-faq-question span {
    flex: 1;
    line-height: 1.45;
}

.modern-faq-question.active {
    color: #f58220;
}

.modern-faq-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-faq-question:hover .modern-faq-icon {
    background: rgba(245, 130, 32, 0.2);
    border-color: rgba(245, 130, 32, 0.5);
    color: #f58220;
}

.modern-faq-question.active .modern-faq-icon {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #e45d25, #f58220);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(228, 93, 37, 0.4);
}

.modern-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-faq-answer-inner {
    padding: 0 24px 22px 24px;
    font-size: 0.94rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
    padding-top: 16px;
}

/* Fallback styling for legacy .faq-list-box markup */
.faq-list-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.faq-list-box:hover {
    border-color: rgba(245, 130, 32, 0.35);
    transform: translateY(-2px);
}

.faq-quest {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-quest p {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.faq-body {
    padding: 0 22px 20px 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .faq-wrapper {
        flex-direction: column;
        gap: 36px;
    }

    .faq-left {
        flex: 0 0 100%;
        max-width: 100%;
        position: static;
    }

    .faq-right {
        width: 100%;
    }

    .faq-support-box {
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .faq-container.background-image-bg {
        padding: 60px 0 70px 0;
    }

    .faq-title {
        font-size: 2.1rem !important;
    }

    .modern-faq-question {
        padding: 16px 18px;
        font-size: 0.96rem;
    }

    .modern-faq-icon {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .modern-faq-answer-inner {
        padding: 12px 18px 18px 18px;
        font-size: 0.88rem;
    }
}
