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

.faq{
    padding:60px 0;
    background:#f5f7fb;
}

/* =========================================================
   FAQ HEADER
========================================================= */

.faq-header{
    text-align:center;
    margin-bottom:35px;
}

.faq-header h2{
    font-size:40px;
    color:#111827;
    margin-bottom:10px;
    font-weight:700;
}

.faq-header p{
    max-width:700px;
    margin:0 auto;
    color:#6b7280;
    line-height:1.7;
    font-size:16px;
}

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

.faq-wrapper{
    max-width:900px;
    margin:0 auto;
}

/* =========================================================
   FAQ ITEM
========================================================= */

.faq-item{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    transition:.3s ease;
}

.faq-item:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

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

.faq-question{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 25px;
    background:#fff;
    border:none;
    outline:none;
    cursor:pointer;
    font-size:18px;
    font-weight:600;
    color:#111827;
    transition:.3s;
}

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

.faq-question span{
    flex:1;
    text-align:left;
}

.faq-question i{
    color:#2563eb;
    font-size:18px;
    transition:.35s;
}

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

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

.faq-answer p{
    padding:0 25px 22px;
    color:#6b7280;
    font-size:15px;
    line-height:1.8;
}

/* =========================================================
   ACTIVE
========================================================= */

.faq-item.active{
    border-color:#2563eb;
}

.faq-item.active .faq-question{
    color:#2563eb;
    background:#f8fbff;
}

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

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

/* =========================================================
   SMOOTH EFFECT
========================================================= */

.faq-item,
.faq-question,
.faq-answer,
.faq-question i{
    transition:all .3s ease;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width:992px){

    .faq{
        padding:50px 0;
    }

    .faq-header{
        margin-bottom:30px;
    }

    .faq-header h2{
        font-size:34px;
    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:768px){

    .faq{
        padding:45px 0;
    }

    .faq-header{
        margin-bottom:25px;
    }

    .faq-header h2{
        font-size:30px;
    }

    .faq-header p{
        font-size:15px;
    }

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

    .faq-answer p{
        padding:0 20px 20px;
        font-size:14px;
    }

}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:480px){

    .faq{
        padding:40px 0;
    }

    .faq-header{
        margin-bottom:20px;
    }

    .faq-header h2{
        font-size:26px;
    }

    .faq-header p{
        font-size:14px;
    }

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

    .faq-answer p{
        padding:0 18px 18px;
        font-size:14px;
    }

}