/* ============================================
   FAQ Component Styles
   Shared across Contact Us and Who We Are pages
   ============================================ */

/* FAQ Section Container */
.faq-section {
    background: #000;
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100vw;
    position: relative;
    z-index: 20;
}

.faq-section .container,
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* FAQ Header */
.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* FAQ List Container */
.faq-list {
    margin-top: 2rem;
}

/* Individual FAQ Item */
.faq-item {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    padding-bottom: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(217, 119, 6, 0.3);
}

.faq-item.active {
    border-color: rgba(217, 119, 6, 0.5);
}

/* FAQ Question */
.faq-question {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: var(--neural-white, #fff);
    font-family: var(--font-primary, 'Open Sans', sans-serif);
    text-align: left;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    min-height: 35px;
}

.faq-question:hover {
    color: var(--neural-orange, #d97706);
}

/* FAQ Answer */
.faq-answer {
    color: #9ca3af;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 12px;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--neural-light-grey, #9ca3af);
    font-size: 1rem;
    line-height: 1.7;
}

/* FAQ Toggle Icon */
.faq-toggle {
    width: 20px;
    height: 20px;
    border: 2px solid var(--neural-light-grey, #9ca3af);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--neural-light-grey, #9ca3af);
    transition: all 0.3s ease;
}

.faq-toggle::before {
    width: 8px;
    height: 2px;
}

.faq-toggle::after {
    width: 2px;
    height: 8px;
}

.faq-item.active .faq-toggle {
    border-color: var(--neural-orange, #d97706);
}

.faq-item.active .faq-toggle::before,
.faq-item.active .faq-toggle::after {
    background: var(--neural-orange, #d97706);
}

.faq-item.active .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Section Title Styling */
.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 200;
    color: var(--neural-white, #fff);
    margin: 0 auto 3rem;
    position: relative;
    text-align: center;
    display: block;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 400px;
    height: 3px;
    background: linear-gradient(90deg, var(--neural-purple, #3c1361), var(--neural-orange, #d97706));
}

/* Responsive Styles */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-section .container,
    .faq-container {
        padding: 0 20px;
    }
    
    .faq-question {
        font-size: 1.1rem;
        padding: 1.25rem 1.5rem;
        min-height: auto;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
    
    .faq-item {
        margin-bottom: 0.75rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .faq-toggle {
        width: 18px;
        height: 18px;
    }
    
    .faq-answer-content {
        font-size: 0.9rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .faq-question {
        min-height: 60px;
        padding: 1.5rem;
    }
    
    .faq-item {
        transform: none !important;
    }
}

/* Accessibility - Focus States */
.faq-question:focus-visible {
    outline: 2px solid var(--neural-orange, #d97706);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .faq-item {
        page-break-inside: avoid;
        border: 1px solid #333;
    }
    
    .faq-answer {
        max-height: none !important;
    }
}