/* FAQ Hero Section */
.faq-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #6b52df 0%, #9b59b6 100%);
    overflow: hidden;
}

.faq-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.faq-hero-shape-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.faq-hero-shape-2 {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(255, 153, 51, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.faq-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb-faq {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-faq a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-faq a:hover {
    color: #f06c19;
}

.breadcrumb-faq i {
    font-size: 12px;
}

.breadcrumb-faq span {
    color: #f06c19;
}

.faq-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.faq-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* FAQ Search Section */
.faq-search-section {
    padding: 40px 0;
    background: #fff;
    transform: translateY(-30px);
}

.faq-search-box {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-search-box i {
    color: #6b52df;
    font-size: 20px;
}

.faq-search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 0;
    font-size: 16px;
    color: #333;
}

.faq-search-box input::placeholder {
    color: #999;
}

/* FAQ Categories Section */
.faq-categories-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.faq-categories-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.faq-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-tab i {
    font-size: 16px;
}

.faq-tab:hover {
    border-color: #6b52df;
    color: #6b52df;
    transform: translateY(-2px);
}

.faq-tab.active {
    background: linear-gradient(135deg, #6b52df 0%, #9b59b6 100%);
    border-color: #6b52df;
    color: #fff;
}

/* FAQ Accordion Section */
.faq-accordion-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.faq-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-category-group {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-category-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #6b52df;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #6b52df;
}

.faq-question i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: #6b52df;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    background: #6b52df;
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* FAQ Sidebar */
.faq-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-sidebar-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-sidebar-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

/* Popular Questions */
.popular-questions-list {
    list-style: none;
}

.popular-questions-list li {
    margin-bottom: 15px;
}

.popular-questions-list li:last-child {
    margin-bottom: 0;
}

.popular-questions-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.popular-questions-list a:hover {
    color: #6b52df;
    background: #f8f9fa;
    padding-left: 15px;
}

.popular-questions-list i {
    color: #6b52df;
    font-size: 16px;
}

/* Help Card */
.help-card {
    background: linear-gradient(135deg, #6b52df 0%, #9b59b6 100%);
    text-align: center;
}

.help-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-icon i {
    font-size: 28px;
    color: #fff;
}

.help-card h3 {
    color: #fff;
}

.help-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.help-button {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #6b52df;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.help-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Resources Card */
.resources-list {
    list-style: none;
}

.resources-list li {
    margin-bottom: 12px;
}

.resources-list li:last-child {
    margin-bottom: 0;
}

.resources-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.resources-list a:hover {
    color: #6b52df;
    background: #f8f9fa;
    padding-left: 15px;
}

.resources-list i {
    color: #f06c19;
    font-size: 16px;
}

/* FAQ CTA Section */
.faq-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #6b52df 0%, #9b59b6 100%);
    position: relative;
    overflow: hidden;
}

.faq-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.faq-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.faq-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.faq-cta-icon i {
    font-size: 36px;
    color: #fff;
}

.faq-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.faq-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.faq-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.faq-cta-buttons .btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
}

.faq-cta-buttons .btn-primary {
    background: #fff;
    color: #6b52df;
    border: none;
}

.faq-cta-buttons .btn-primary:hover {
    background: #f06c19;
    color: #fff;
    transform: translateY(-2px);
}

.faq-cta-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.faq-cta-buttons .btn-outline:hover {
    background: #fff;
    color: #6b52df;
}

/* Responsive Design */
@media (max-width: 992px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        padding: 80px 0 60px;
    }

    .faq-hero-title {
        font-size: 36px;
    }

    .faq-categories-tabs {
        gap: 10px;
    }

    .faq-tab {
        padding: 10px 18px;
        font-size: 13px;
    }

    .faq-category-title {
        font-size: 24px;
    }

    .faq-question {
        padding: 20px;
        font-size: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .faq-sidebar-card {
        padding: 25px;
    }

    .faq-cta-content h2 {
        font-size: 28px;
    }

    .faq-cta-buttons {
        flex-direction: column;
    }

    .faq-cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .faq-hero-title {
        font-size: 28px;
    }

    .faq-hero-desc {
        font-size: 16px;
    }

    .faq-search-box {
        padding: 10px 20px;
    }

    .faq-categories-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .faq-tab {
        justify-content: center;
    }
}
