/*==========================================================
 FAQ SECTION
 Trade by Ray
==========================================================*/

.faq-section{

    position:relative;

    overflow:hidden;

    padding:120px 0;

    background:#f8faf8;

}

/*=========================================
BACKGROUND
=========================================*/

.faq-section::before{

    content:"";

    position:absolute;

    width:600px;

    height:600px;

    top:-250px;

    left:-250px;

    border-radius:50%;

    background:rgba(15,81,50,.05);

    filter:blur(100px);

}

.faq-section::after{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    right:-200px;

    bottom:-200px;

    border-radius:50%;

    background:rgba(212,175,55,.08);

    filter:blur(100px);

}

/*=========================================
WRAPPER
=========================================*/

.faq-wrapper{

    position:relative;

    z-index:2;

    max-width:900px;

    margin:60px auto 0;

}

/*=========================================
ITEM
=========================================*/

.faq-item{

    background:#ffffff;

    border-radius:22px;

    overflow:hidden;

    margin-bottom:20px;

    border:1px solid rgba(15,81,50,.08);

    box-shadow:

        0 15px 35px rgba(0,0,0,.05);

    transition:.35s;

}

.faq-item:hover{

    transform:translateY(-4px);

    box-shadow:

        0 25px 55px rgba(0,0,0,.08);

}

/*=========================================
QUESTION
=========================================*/

.faq-question{

    width:100%;

    border:none;

    background:transparent;

    cursor:pointer;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:28px 32px;

    text-align:left;

    font-size:18px;

    font-weight:700;

    color:var(--primary);

}

/*=========================================
ICON
=========================================*/

.faq-icon{

    width:42px;

    height:42px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#ffffff;

    font-size:24px;

    font-weight:700;

    transition:.35s;

    flex-shrink:0;

}

/*=========================================
ANSWER
=========================================*/

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:

        max-height .4s ease,

        padding .4s ease;

    padding:0 32px;

}

.faq-answer p{

    margin:0;

    color:var(--text-light);

    line-height:1.9;

    padding-bottom:28px;

    font-size:16px;

}

/*=========================================
ACTIVE
=========================================*/

.faq-item.active .faq-answer{

    max-height:300px;

    padding:0 32px;

}

.faq-item.active .faq-icon{

    transform:rotate(45deg);

}

/*=========================================
BOTTOM CTA
=========================================*/

.faq-bottom{

    text-align:center;

    margin-top:60px;

}

.faq-bottom p{

    color:var(--text-light);

    margin-bottom:20px;

}

.faq-bottom .btn{

    display:inline-flex;

}

/*=========================================
TABLET
=========================================*/

@media(max-width:1100px){

.faq-wrapper{

max-width:100%;

}

}

/*=========================================
MOBILE
=========================================*/

@media(max-width:768px){

.faq-section{

padding:80px 0;

}

.faq-wrapper{

margin-top:40px;

}

.faq-question{

padding:22px;

font-size:16px;

gap:18px;

}

.faq-answer{

padding:0 22px;

}

.faq-item.active .faq-answer{

padding:0 22px;

}

.faq-answer p{

font-size:14px;

padding-bottom:22px;

}

.faq-icon{

width:36px;

height:36px;

font-size:20px;

}

}