/* ========================================
   FAQ Page Styles
======================================== */

/* FAQ Categories */
.faq-categories {
    padding: 3rem 0 2rem;
    background: #ffffff;
}

.faq-category-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    color: #64748b;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-tab i {
    font-size: 1.25rem;
}

.faq-tab:hover {
    background: #e0f2fe;
    color: #0078d4;
    transform: translateY(-2px);
}

.faq-tab.active {
    background: linear-gradient(135deg, #0078d4 0%, #0056a3 100%);
    color: #ffffff;
    border-color: #0078d4;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
}

/* FAQ Content */
.faq-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq-category-content {
    display: none;
}

.faq-category-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.faq-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

/* FAQ Items */
.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #0078d4;
}

.faq-question i {
    font-size: 1rem;
    color: #0078d4;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question i {
    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: 1000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1rem;
}

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

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 0.5rem;
}

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

/* FAQ CTA */
.faq-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0078d4 0%, #0056a3 100%);
}

.faq-cta .cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.faq-cta .cta-content {
    flex: 1;
}

.faq-cta .cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.faq-cta .cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.faq-cta .cta-action .btn {
    background: #ffffff;
    color: #0078d4;
    padding: 1rem 2rem;
}

.faq-cta .cta-action .btn:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .faq-category-tabs {
        gap: 0.75rem;
    }

    .faq-tab {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }

    .faq-cta .cta-banner {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .faq-categories {
        padding: 2rem 0 1.5rem;
        margin-top: 70px;  /* Add clearance for fixed navbar */
    }

    .faq-category-tabs {
        gap: 0.5rem;
    }

    .faq-tab {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .faq-tab i {
        font-size: 1rem;
    }

    .faq-content {
        padding: 3rem 0;
    }

    .faq-category-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    .faq-cta .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .faq-cta .cta-title {
        font-size: 1.75rem;
    }

    .faq-cta .cta-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-tab {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }

    .faq-tab i {
        font-size: 0.875rem;
    }

    .faq-category-title {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }

    .faq-answer p,
    .faq-answer li {
        font-size: 0.9375rem;
    }

    .faq-cta .cta-title {
        font-size: 1.5rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Social Icons - Horizontal Layout */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 120, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0078d4;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: #0078d4;
    color: #ffffff;
    transform: translateY(-3px);
}
