/* ==========================================================
   DOODLE UI PAGE
   Module  : FAQ
   File    : faq.css
   Version : 1.0.0
   Author  : Doodle IT Development
========================================================== */

.faq-page{
    padding-block:64px;
}

.faq-container{
    max-width:800px;
    margin:0 auto;
    padding-inline:24px;
}

.faq-title{
    text-align:center;
    font-size:32px;
    font-weight:700;
    color:#222;
    margin-bottom:8px;
}

.faq-subtitle{
    text-align:center;
    color:#777;
    font-size:15px;
    margin-bottom:48px;
}

.faq-category{
    font-size:20px;
    font-weight:700;
    color:#E64387;
    margin-top:40px;
    margin-bottom:16px;
    padding-bottom:8px;
    border-bottom:2px solid #E64387;
}

.faq-category:first-of-type{
    margin-top:0;
}

.faq-accordion{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.faq-item{
    border:1px solid #eee;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
}

.faq-question{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:16px 20px;
    background:#fff;
    border:none;
    text-align:left;
    font-size:15px;
    font-weight:600;
    color:#333;
    cursor:pointer;
    transition:background 0.2s ease;
}

.faq-question:hover{
    background:#fdf1f6;
}

.faq-icon{
    flex-shrink:0;
    width:24px;
    height:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#E64387;
    color:#fff;
    font-size:16px;
    font-weight:700;
    transition:transform 0.3s ease;
}

.faq-item.active .faq-icon{
    transform:rotate(45deg);
}

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

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

.faq-answer p{
    padding:0 20px 16px;
    font-size:14px;
    line-height:1.7;
    color:#555;
}

.faq-answer p + p{
    padding-top:0;
}

@media (max-width:767px){

    .faq-title{
        font-size:24px;
    }

    .faq-category{
        font-size:17px;
    }

    .faq-question{
        font-size:14px;
        padding:14px 16px;
    }

}
