/* ==========================================================================
   HOMEPAGE FAQ SECTION (UPGRADED 2-COLUMN GRID)
   Location: css/homepage-faq.css
   ========================================================================== */

/* 🚀 Ignore any accidental empty paragraphs */
.tc-home-faq-section > p,
.tc-home-faq-section p:empty,
.tc-home-faq-section br {
    display: none !important;
}

.tc-home-faq-section,
.tc-home-faq-section * {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    box-sizing: border-box !important;
}

/* 🚀 STRICT 2-COLUMN GRID CONTAINER */
.tc-home-faq-section {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 80px auto 100px auto !important;
    padding: 0 40px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 400px !important;
    gap: 70px !important;
    align-items: start !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   👈 COLUMN 1: LEFT SIDE (FAQ QUESTIONS)
   ========================================================================== */
.tc-home-faq-questions-col {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    width: 100% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    grid-column: 1 !important;
}

.tc-home-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: transparent !important;
    width: 100% !important;
}

.tc-faq-question-btn {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: none !important;
    border: none !important;
    padding: 28px 0 !important;
    cursor: pointer !important;
    text-align: left !important;
    gap: 20px !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.tc-faq-question-text {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.45 !important;
    transition: color 0.2s ease !important;
}

.tc-faq-question-btn:hover .tc-faq-question-text,
.tc-home-faq-item.is-open .tc-faq-question-text {
    color: #a78bfa !important;
}

/* 🚀 STATIC DASHED SVG ICON */
.tc-faq-icon-wrapper {
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
    color: #94a3b8 !important;
    transition: color 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tc-home-faq-item.is-open .tc-faq-icon-wrapper {
    color: #7c3aed !important;
    transform: rotate(180deg) !important;
}

.tc-faq-question-btn:hover .tc-faq-icon-wrapper {
    color: #a78bfa !important;
}

.tc-faq-svg {
    width: 100% !important;
    height: 100% !important;
}

.tc-faq-dashed-circle {
    stroke-dasharray: 4 4 !important;
}

.tc-faq-vertical-line {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease !important;
    transform-origin: center !important;
}

.tc-home-faq-item.is-open .tc-faq-vertical-line {
    transform: rotate(90deg) scale(0) !important;
    opacity: 0 !important;
}

/* Accordion Expansion */
.tc-faq-answer-wrapper {
    display: grid !important;
    grid-template-rows: 0fr !important;
    transition: grid-template-rows 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.tc-home-faq-item.is-open .tc-faq-answer-wrapper {
    grid-template-rows: 1fr !important;
}

.tc-faq-answer-inner {
    overflow: hidden !important;
}

.tc-faq-answer-text {
    padding: 0 0 28px 0 !important;
    font-size: 1.05rem !important;
    color: #94a3b8 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* ==========================================================================
   👉 COLUMN 2: RIGHT SIDE (STICKY HEADER & BUTTONS)
   ========================================================================== */
.tc-home-faq-header-col {
    position: sticky !important;
    top: 110px !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    width: 100% !important;
    grid-column: 2 !important;
}

.tc-home-faq-header-col h2 {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.8px !important;
}

.tc-home-faq-header-col p {
    font-size: 1.1rem !important;
    color: #94a3b8 !important;
    margin: 0 0 30px 0 !important;
    line-height: 1.6 !important;
}

.tc-faq-actions-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
}

.tc-faq-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    height: 54px !important;
    width: 100% !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    outline: none !important;
}

.tc-faq-action-btn svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 2.5 !important;
    flex-shrink: 0 !important;
}

/* Ask Button */
.tc-faq-btn-ask {
    background-color: #7c3aed !important;
    color: #ffffff !important;
    border: 1.5px solid #7c3aed !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35) !important;
}

.tc-faq-btn-ask:hover {
    background-color: #6d28d9 !important;
    border-color: #6d28d9 !important;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5) !important;
}

/* Blog Button */
.tc-faq-btn-blog {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
}

.tc-faq-btn-blog:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   📱 RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 860px) {
    .tc-home-faq-section {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        margin: 50px auto !important;
        padding: 0 20px !important;
    }

    .tc-home-faq-questions-col {
        grid-column: 1 !important;
    }

    .tc-home-faq-header-col {
        grid-column: 1 !important;
        position: relative !important;
        top: 0 !important;
        order: -1 !important;
    }

    .tc-home-faq-header-col h2 {
        font-size: 2.2rem !important;
    }

    .tc-faq-actions-group {
        flex-direction: row !important;
    }
}

@media (max-width: 540px) {
    .tc-faq-actions-group {
        flex-direction: column !important;
    }

    .tc-faq-question-text {
        font-size: 1.05rem !important;
    }

    .tc-faq-question-btn {
        padding: 20px 0 !important;
    }

    .tc-faq-icon-wrapper {
        width: 32px !important;
        height: 32px !important;
    }
}