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

.faq{

    padding:120px 0;

    position:relative;

}

.faq-container{

    max-width:900px;

    margin:60px auto 0;

}

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

.faq-item{

    margin-bottom:20px;

    border-radius:22px;

    overflow:hidden;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    transition:.35s;

}

.faq-item:hover{

    border-color:var(--primary);

    box-shadow:
        0 15px 40px rgba(56,189,248,.15);

}

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

.faq-question{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:26px 30px;

    background:none;

    border:none;

    color:#fff;

    cursor:pointer;

    font-size:18px;

    font-weight:600;

    text-align:left;

}

.faq-question span{

    font-size:28px;

    color:var(--primary);

    transition:.35s;

}

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

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .45s ease;

}

.faq-answer p{

    padding:0 30px 28px;

    color:var(--gray);

    line-height:1.8;

    font-size:15px;

}

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

.faq-item.active{

    border-color:var(--primary);

}

.faq-item.active .faq-question span{

    transform:rotate(45deg);

}

/* =====================================================
   GLOW
====================================================== */

.faq-item::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(56,189,248,.12),
        transparent 65%
    );

    opacity:0;

    transition:.35s;

    pointer-events:none;

}

.faq-item:hover::before{

    opacity:1;

}

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

@media(max-width:768px){

.faq{

padding:90px 0;

}

.faq-question{

padding:22px;

font-size:16px;

}

.faq-answer p{

padding:0 22px 22px;

}

}