/* ================ About Hero Section =================*/
.faq-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px 0;
    gap: 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
}


.faq-hero .hero-content {
    max-width: 680px;
}

.faq-hero .section-title {
    color: var(--color-primary);
    text-align: left;
}

.faq-hero .banner-desc {
    color: var(--color-primary);
}

@media(max-width:1024px) {
    .faq-hero {
        min-height: 500px;
    }

    .faq-hero .hero-content {
        max-width: 475px;
    }
}

@media(max-width:768px) {
    .faq-hero {
        min-height: 400px;
    }
}

/* ================ About Hero Section  End=================*/

/* ================ Faq Features Start =================*/

/* Quick Links */
.quick-links {
    padding: 40px 0;
}

.quick-links .faq-feature {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    /* margin-bottom: 80px; */
    background-color: var(--color-primary);
    border-radius: 10px;
    border: 1px solid var(--color-secondary);
}

.quick-links .quick-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background-color: var(--card-bg);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
}

.quick-links .quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #ddd;
}

.quick-links .quick-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-links .quick-text {
    text-align: center;
}

.quick-links .quick-icon {
    width: 100%;
    height: 100%;
    color: var(--text-main);
}

.quick-links .quick-text h3 {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 700;
    color: #ffffff;
}

.quick-links .quick-text p {
    font-size: 13px;
    color: #f5f5f5;
}

@media(max-width:1024px) {
    .quick-links .quick-card {
        background: #262626;
        min-width: 300px;
        width: 100%;
        scroll-snap-align: start;
    }

    .quick-links .faq-feature {
        padding: 15px;
        overflow-x: auto;
        scroll-snap-align: start;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}

@media(max-width: 767px) {
    .quick-links {
        padding: 20px 0;
    }
}

/* ================ Faq Features Start =================*/

.faq-section {
    padding: 40px 0;
}

.faq-section .faq-innner {
    display: flex;
    gap: 30px;
}

/* Sidebar */
.faq-section .faq-sidebar {
    width: 400px;
    flex-shrink: 0;
    /* margin: 0 0 50px; */
}

.faq-section .sidebar-heading,
.faq-section .content-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    line-height: 100%;
    text-transform: uppercase;
}

.faq-section .content-heading {
    color: var(--color-primary);
}

.faq-section .topic-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.faq-section .topic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-section .topic-item:hover {
    border-color: #d1d1d1;
}

.faq-section .topic-item.active {
    background-color: #fcfee8;
    border-color: var(--color-secondary);
}

.faq-section .topic-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-section .topic-icon,
.faq-section .topic-icon-wrap svg {
    width: 20px;
    height: 20px;
    color: var(--text-main);
}

.faq-section .topic-item.active .topic-name {
    font-weight: 600;
}

.faq-section .topic-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.faq-section .topic-count {
    background-color: #f5f5f5;
    color: #555555;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.faq-section .topic-item.active .topic-count {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
}

/* Support Card */
.faq-section .support-card {
    background-color: #fdfdfd;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-section .support-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.faq-section .support-icon-wrap {
    color: var(--color-secondary);
}

.faq-section .support-icon-wrap svg {
    width: 50px;
    height: 50px;
}

.faq-section .support-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.faq-section .support-text {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

/* Main Content */
.faq-section .faq-content {
    flex-grow: 1;
}

.faq-section .faq-section .content-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    color: #111111;
    text-transform: uppercase;
}

.faq-section .accordion-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* margin-bottom: 2rem; */
}

.faq-section .accordion-item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
}

.faq-section .accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #111111;
    font-family: inherit;
}

.faq-section .accordion-title {
    font-size: 18px;
    font-weight: 600;
}

.faq-section .accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-section .icon-minus,
.faq-section .icon-plus {
    width: 100%;
    height: 100%;
    transition: opacity 0.2s ease;
}

.faq-section .accordion-item:not(.expanded) .icon-minus {
    display: none;
}

.faq-section .accordion-item.expanded .icon-plus {
    display: none;
}

.faq-section .accordion-body {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.faq-section .accordion-body-inner {
    padding: 0 1.25rem 1.25rem;
}

.faq-section .accordion-item.expanded {
    border-color: var(--color-secondary);
}

.faq-section .accordion-header {
    transition: background-color .3s ease;
}

.faq-section .accordion-body p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

.faq-section .faq-innner .faq-content .accordion-list .accordion-body-inner ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .faq-section .faq-innner {
        flex-direction: column;
    }

    .faq-section .faq-sidebar {
        width: 100%;
        margin: 0;
    }
}

@media(max-width:768px) {

    /* Main Content */
    .faq-section .faq-content {
        flex-grow: 1;
        margin-bottom: 20px;
    }

    .faq-section {
        padding: 0 0 50px;
    }

    .faq-section .sidebar-heading,
    .faq-section .content-heading {
        font-size: 18px;
    }

    .faq-section .accordion-title {
        font-size: 16px;
    }
}

/* Dynamic Tab Visibility */
.faq-section .faq-topic-content.hidden {
    display: none;
}

.faq-section .faq-topic-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}