/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f5f7fb;
}

.faq-section{
    padding:80px 20px;
    background:linear-gradient(135deg,#eef4ff,#ffffff);
}

.faq-container{
    max-width:900px;
    margin:auto;
}

.faq-header{
    text-align:center;
    margin-bottom:50px;
}

.faq-tag{
    display:inline-block;
    background:#2563eb;
    color:#fff;
    padding:8px 18px;
    border-radius:50px;
    font-size:.9rem;
    margin-bottom:15px;
}

.faq-header h2{
    font-size:2.6rem;
    color:#1e293b;
    margin-bottom:15px;
}

.faq-header p{
    max-width:650px;
    margin:auto;
    color:#64748b;
    line-height:1.8;
}

.faq-item{
    background:#fff;
    border-radius:16px;
    margin-bottom:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    overflow:hidden;
    transition:.3s;
}

.faq-item:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.faq-question{
    width:100%;
    background:none;
    border:none;
    outline:none;
    padding:22px 28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    font-size:1.08rem;
    font-weight:600;
    color:#1e293b;
    text-align:left;
}

.icon{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#2563eb;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.4rem;
    transition:.35s;
    flex-shrink:0;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .45s ease,padding .4s ease;
    padding:0 28px;
}

.faq-answer p{
    color:#64748b;
    line-height:1.8;
    padding-bottom:22px;
}

.faq-item.active .faq-answer{
    max-height:250px;
    padding:0 28px;
}

.faq-item.active .icon{
    transform:rotate(45deg);
    background:#0f172a;
}

/* Tablet */

@media(max-width:768px){

.faq-section{
    padding:60px 18px;
}

.faq-header h2{
    font-size:2rem;
}

.faq-question{
    font-size:1rem;
    padding:18px;
}

.faq-answer{
    padding:0 18px;
}

.faq-item.active .faq-answer{
    padding:0 18px;
}

.icon{
    width:36px;
    height:36px;
    font-size:1.2rem;
}
}

/* Mobile */

@media(max-width:480px){

.faq-section{
    padding:50px 15px;
}

.faq-header h2{
    font-size:1.7rem;
}

.faq-header p{
    font-size:.95rem;
}

.faq-question{
    font-size:.95rem;
    padding:16px;
    gap:10px;
}

.faq-answer p{
    font-size:.9rem;
}

.icon{
    width:32px;
    height:32px;
    font-size:1rem;
}
}