/* FAQ Section Styles */
* {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6, .small-title, .feature-list li, .buttons, .nav-links a, .price-box {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

.faq-section {
    padding: 2.4rem 0;
    background: linear-gradient(135deg, #e8f0ff 0%, #f5f8ff 100%);
}

/* Container with 1600px max-width and consistent padding */
.faq-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-badge {
    display: inline-block;
    background: #0069ff;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

.faq-header h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0b1b4b;
    line-height: 1.2;
    padding: 2px;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 3rem;
}

/* FAQ Categories (Left Side) */
.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-category-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.faq-category-card:hover {
    border-color: #0069ff;
    box-shadow: 0 4px 12px rgba(0, 105, 255, 0.1);
}

.faq-category-card.active {
    border-color: #0069ff;
    background: #f0f7ff;
    box-shadow: 0 4px 12px rgba(0, 105, 255, 0.15);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.category-icon svg {
    width: 24px;
    height: 24px;
}

.category-icon-yellow {
    background: rgba(255, 204, 51, 0.15);
    color: #ffcc33;
}

.category-icon-red {
    background: rgba(255, 102, 102, 0.15);
    color: #ff6666;
}

.category-icon-gray {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.faq-category-card h3,
.faq-category-card h4,
.category-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0b1b4b;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    text-align: left;
}

.faq-category-card p,
.category-description {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    text-align: left;
}

/* FAQ Questions (Right Side) */
.faq-questions {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-questions-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.questions-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.questions-header-icon.category-icon-yellow {
    background: rgba(255, 204, 51, 0.15);
    color: #ffcc33;
}

.questions-header-icon svg {
    width: 24px;
    height: 24px;
}

.faq-questions-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0b1b4b;
    margin: 0;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

.faq-questions-header p {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
    line-height: 1.6;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

/* FAQ Items */
.faq-items {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.faq-items.active {
    display: flex;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
}

.faq-question span {
    font-size: 1rem;
    font-weight: 600;
    color: #0b1b4b;
    flex: 1;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

.faq-toggle {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle svg {
    width: 24px;
    height: 24px;
    color: #64748b;
    transition: transform 0.3s ease;
}

.faq-toggle:hover {
    background: #f0f7ff;
}

.faq-toggle:hover svg {
    color: #0069ff;
}

.faq-item.active .faq-toggle svg {
    transform: rotate(45deg);
    color: #0069ff;
}

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

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

.faq-answer p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

/* Responsive Design */

/* Large Tablets and Small Desktops (≤1200px) */
@media (max-width: 1200px) {
    .faq-container {
        padding: 0 2.5rem;
    }

    .faq-content {
        gap: 1.5rem;
    }
}

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
    .faq-container {
        padding: 0 2rem;
    }

    .faq-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-categories {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 1rem;
        /* Hide scrollbar for cleaner look */
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .faq-categories::-webkit-scrollbar {
        height: 6px;
    }

    .faq-categories::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .faq-categories::-webkit-scrollbar-thumb {
        background: #0069ff;
        border-radius: 10px;
    }

    .faq-category-card {
        min-width: 250px;
        flex-shrink: 0;
    }

    .faq-header h2 {
        font-size: 2.4rem;
    }
}

/* Small Tablets (≤992px) */
@media (max-width: 992px) {
    .faq-container {
        padding: 0 2rem;
    }

    .faq-header {
        margin-bottom: 2.5rem;
    }

    .faq-header h2 {
        font-size: 2.2rem;
    }
}

/* Mobile Devices (≤768px) */
@media (max-width: 768px) {
    .faq-container {
        padding: 0 1.5rem;
    }

    .faq-header h2 {
        font-size: 2rem;
    }

    .faq-section {
        padding: 2rem 0;
    }

    .faq-questions {
        padding: 1.5rem;
    }

    .faq-categories {
        flex-direction: column;
        overflow-x: visible;
    }

    .faq-category-card {
        min-width: auto;
    }

    .faq-content {
        margin-top: 2rem;
    }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
    .faq-container {
        padding: 0 1rem;
    }

    .faq-header h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .faq-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }

    .faq-header {
        margin-bottom: 2rem;
    }

    .faq-question span {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .faq-answer p {
        font-size: 0.875rem;
    }

    .faq-questions {
        padding: 1rem;
    }

    .faq-category-card {
        padding: 1.25rem;
    }

    .faq-question {
        padding: 0.75rem 0;
    }

    .category-icon,
    .questions-header-icon {
        width: 40px;
        height: 40px;
    }

    .category-icon svg,
    .questions-header-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Extra Small Devices (≤360px) */
@media (max-width: 360px) {
    .faq-container {
        padding: 0 0.75rem;
    }

    .faq-header h2 {
        font-size: 1.5rem;
    }

    .faq-questions {
        padding: 0.75rem;
    }

    .faq-category-card {
        padding: 1rem;
    }
}