/**
 * FAQ Page Styles
 * Styles for the Frequently Asked Questions page
 */

/* ============================================
   FAQ Page Layout
============================================ */
.faq-page {
    position: relative;
}

/* Page Header - Reuse from about.css */
.faq-page .page-header-area {
    background: url('../img/shape/banner-7.jpg') center/cover no-repeat;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.faq-page .page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.faq-page .page-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.faq-page .page-header-content .breadcrumb-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.faq-page .page-header-content .breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-page .page-header-content .breadcrumb-nav a:hover {
    color: #fff;
}

.faq-page .page-header-content .breadcrumb-nav span {
    color: #3366ff;
}

/* ============================================
   FAQ Introduction
============================================ */
.faq-intro-section {
    padding: 50px 0 30px;
    background: #f8f9fc;
}

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

.faq-intro-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.faq-intro-content a {
    color: #3366ff;
    font-weight: 500;
}

/* ============================================
   FAQ Content Section
============================================ */
.faq-content-section {
    padding: 60px 0 80px;
    background: #f8f9fc;
}

/* ============================================
   FAQ Sidebar
============================================ */
.faq-sidebar {
    position: sticky;
    top: 100px;
}

.faq-sidebar h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #232323;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.faq-nav li {
    margin-bottom: 8px;
}

.faq-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.faq-nav-link:hover {
    background: linear-gradient(135deg, #3366ff 0%, #5a8aff 100%);
    color: #fff;
    border-color: transparent;
    transform: translateX(5px);
}

.faq-nav-link i {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

/* FAQ Contact Card */
.faq-contact-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.faq-contact-card h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.faq-contact-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.faq-contact-card .btn {
    width: 100%;
}

/* ============================================
   FAQ Categories
============================================ */
.faq-category {
    margin-bottom: 50px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.faq-category-header i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3366ff 0%, #5a8aff 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.faq-category-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #232323;
    margin: 0;
}

/* ============================================
   FAQ Accordion
============================================ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.faq-item.active {
    border-color: #3366ff;
    box-shadow: 0 5px 25px rgba(51, 102, 255, 0.15);
}

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

.faq-question:hover {
    background-color: rgba(51, 102, 255, 0.03);
}

.faq-question span {
    font-size: 1rem;
    font-weight: 600;
    color: #232323;
    padding-right: 20px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.faq-question:hover span {
    color: #3366ff;
}

.faq-question i {
    font-size: 14px;
    color: #3366ff;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-item.active .faq-question span {
    color: #3366ff;
}

.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: 5px 25px 25px;
}

.faq-answer p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* ============================================
   FAQ CTA Section
============================================ */
.faq-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    text-align: center;
}

.faq-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.faq-cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.faq-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.faq-cta-buttons .btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.faq-cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Responsive Styles
============================================ */
@media (max-width: 991px) {
    .faq-page .page-header-area {
        padding: 120px 0 60px;
    }
    
    .faq-sidebar {
        position: static;
        margin-bottom: 40px;
    }
    
    .faq-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .faq-nav li {
        margin-bottom: 0;
    }
    
    .faq-nav-link {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .faq-contact-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .faq-page .page-header-area {
        padding: 100px 0 50px;
    }
    
    .faq-page .page-header-content h1 {
        font-size: 2.2rem;
    }
    
    .faq-intro-section {
        padding: 40px 0 20px;
    }
    
    .faq-content-section {
        padding: 40px 0 60px;
    }
    
    .faq-category-header h2 {
        font-size: 1.3rem;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question span {
        font-size: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .faq-cta-content h3 {
        font-size: 1.6rem;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .faq-page .page-header-content h1 {
        font-size: 1.8rem;
    }
    
    .faq-nav {
        flex-direction: column;
    }
    
    .faq-nav-link:hover {
        transform: none;
    }
    
    .faq-category-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}
