/* =====================================================
   CCSOL ENTERPRISE FAQ SYSTEM
   File: faqs.css
===================================================== */

/* ---------- BODY TARGET ---------- */

body.page-template-page-faqs {
    background: #021924;
    color: #e2e8f0;
}


/* =====================================================
   HERO SECTION
===================================================== */

.ccsol-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #021924, #063255);
    text-align: center;
}

.ccsol-breadcrumb {
    font-size: 14px;
    margin-bottom: 25px;
    color: #94a3b8;
}

.ccsol-breadcrumb a {
    color: #00c6ff;
    text-decoration: none;
}

.ccsol-breadcrumb span {
    margin: 0 8px;
}

.ccsol-hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.ccsol-hero-content p {
    max-width: 750px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 18px;
}


/* =====================================================
   FAQ SECTION WRAPPER
===================================================== */

.ccsol-faq-system {
    padding: 90px 0;
    background: #021924;
}

.ccsol-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}


/* =====================================================
   CATEGORY FILTER NAVIGATION
===================================================== */

.ccsol-faq-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
}

.ccsol-faq-filter-btn {
    background: transparent;
    border: 1px solid #334155;
    color: #cbd5e1;
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

.ccsol-faq-filter-btn:hover,
.ccsol-faq-filter-btn.active {
    background: #00c6ff;
    border-color: #00c6ff;
    color: #021924;
}


/* =====================================================
   FAQ CATEGORY
===================================================== */

.ccsol-faq-category {
    margin-bottom: 70px;
}

.ccsol-faq-category h2 {
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #ffffff;
}


/* =====================================================
   FAQ ITEMS
===================================================== */

.ccsol-faq-item {
    background: #0f172a;
    border-radius: 14px;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s ease;
}

.ccsol-faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}


/* =====================================================
   QUESTION BUTTON
===================================================== */

.ccsol-faq-question {
    width: 100%;
    padding: 22px 28px;
    text-align: left;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.ccsol-faq-question::after {
    content: "+";
    position: absolute;
    right: 28px;
    font-size: 22px;
    transition: 0.3s ease;
}

.ccsol-faq-item.active .ccsol-faq-question::after {
    content: "−";
}


/* =====================================================
   ANSWER
===================================================== */

.ccsol-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.ccsol-faq-item.active .ccsol-faq-answer {
    max-height: 500px;
    padding: 0 28px 22px 28px;
}

.ccsol-faq-answer p {
    color: #cbd5e1;
    line-height: 1.7;
}


/* =====================================================
   CTA SECTION
===================================================== */

.ccsol-faq-cta {
    padding: 90px 0;
    text-align: center;
    background: linear-gradient(135deg, #063255, #021924);
}

.ccsol-faq-cta h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 15px;
}

.ccsol-faq-cta p {
    color: #cbd5e1;
    margin-bottom: 30px;
}

.ccsol-btn-primary {
    display: inline-block;
    background: #00c6ff;
    color: #021924;
    padding: 14px 34px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.ccsol-btn-primary:hover {
    background: #ffffff;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .ccsol-hero-content h1 {
        font-size: 32px;
    }

    .ccsol-faq-navigation {
        flex-direction: column;
        align-items: center;
    }

    .ccsol-faq-filter-btn {
        width: 100%;
        text-align: center;
    }

}
