/* ═══════════════════════════════════════
   FAQ PAGE - STYLES
   ═══════════════════════════════════════ */

/* CSS Variables - Using Theme Colors */
:root {
    --faq-primary: #008B8B;
    --faq-primary-light: #20B2AA;
    --faq-primary-dark: #006969;
    --faq-accent: #FF7F50;
    --faq-text-dark: #1A3A52;
    --faq-text-light: #6B7280;
    --faq-bg-light: #F9FAFB;
    --faq-white: #FFFFFF;
    --faq-border: #E5E7EB;
}

/* ═══ HERO SECTION (BREADCRUMB) ═══ */
.rts-breadcrumb-area {
    margin-bottom: 60px;
}

/* ═══ MAIN FAQ SECTION ═══ */
.faq-section {
    padding: 0 0 80px;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

/* ═══ SIDEBAR - CATEGORIES ═══ */
.faq-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--faq-text-light);
    margin-bottom: 20px;
}

.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--faq-white);
    border-radius: 12px;
    border: 2px solid transparent;
    color: var(--faq-text-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-item svg {
    color: var(--faq-text-light);
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.category-item:hover {
    background: var(--faq-bg-light);
    transform: translateX(4px);
}

.category-item.active {
    background: var(--faq-primary);
    color: var(--faq-white);
    border-color: var(--faq-primary);
    box-shadow: 0 4px 15px rgba(0, 139, 139, 0.2);
}

.category-item.active svg {
    color: var(--faq-white);
}

/* Help Card */
.help-card {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid rgba(0, 139, 139, 0.1);
}

.help-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--faq-text-dark);
    margin: 0 0 10px 0;
}

.help-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--faq-text-light);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--faq-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.help-link:hover {
    gap: 10px;
    color: var(--faq-primary-dark);
}

.help-link svg {
    transition: transform 0.3s ease;
}

.help-link:hover svg {
    transform: translateX(3px);
}

/* ═══ FAQ CONTENT ═══ */
.faq-content {
    max-width: 800px;
}

.faq-header {
    margin-bottom: 40px;
}

.faq-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--faq-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.faq-subtitle svg {
    color: var(--faq-primary);
}

.faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--faq-text-dark);
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.faq-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    color: var(--faq-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ═══ FAQ ACCORDION ═══ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--faq-white);
    border-radius: 14px;
    border: 2px solid var(--faq-border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--faq-primary);
    box-shadow: 0 4px 20px rgba(0, 139, 139, 0.08);
}

.faq-item.active {
    border-color: var(--faq-primary);
    box-shadow: 0 6px 25px rgba(0, 139, 139, 0.12);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--faq-bg-light);
}

.faq-item.active .faq-question {
    background: rgba(0, 139, 139, 0.03);
}

.faq-question span {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--faq-text-dark);
    line-height: 1.4;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--faq-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

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

.faq-answer p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--faq-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ═══ CTA SECTION ═══ */
.faq-cta-section {
    background: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 100%);
    padding: 80px 20px;
    margin-top: 60px;
}

.faq-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--faq-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 8px 30px rgba(0, 139, 139, 0.25);
}

.cta-icon svg {
    color: var(--faq-white);
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--faq-text-dark);
    margin: 0 0 16px 0;
}

.cta-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    color: var(--faq-text-light);
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-chat,
.btn-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-chat {
    background: var(--faq-primary);
    color: var(--faq-white);
    box-shadow: 0 4px 20px rgba(0, 139, 139, 0.3);
}

.btn-chat:hover {
    background: var(--faq-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 139, 139, 0.4);
    color: var(--faq-white);
}

.btn-email {
    background: var(--faq-white);
    color: var(--faq-text-dark);
    border: 2px solid var(--faq-border);
}

.btn-email:hover {
    border-color: var(--faq-primary);
    color: var(--faq-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ═══ RESPONSIVE DESIGN ═══ */

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
    .faq-wrapper {
        grid-template-columns: 250px 1fr;
        gap: 40px;
    }

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

    .cta-title {
        font-size: 32px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .faq-section {
        padding: 0 0 60px;
    }

    .faq-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-sidebar {
        position: static;
    }

    .faq-categories {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-item {
        padding: 12px 14px;
        font-size: 14px;
        justify-content: flex-start;
    }

    .category-item span {
        display: block;
    }

    .category-item svg {
        margin: 0;
    }

    .help-card {
        padding: 20px;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-description {
        font-size: 15px;
    }

    .faq-question {
        padding: 18px 20px;
    }

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

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

    .faq-cta-section {
        padding: 60px 20px;
    }

    .cta-icon {
        width: 64px;
        height: 64px;
    }

    .cta-icon svg {
        width: 36px;
        height: 36px;
    }

    .cta-title {
        font-size: 26px;
    }

    .cta-description {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-chat,
    .btn-email {
        width: 100%;
        max-width: 400px;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
    .faq-title {
        font-size: 24px;
    }

    .cta-title {
        font-size: 22px;
    }

    .faq-categories {
        grid-template-columns: 1fr;
    }

    .category-item span {
        display: block;
    }
}