/*========================================
FAQ PAGE
========================================*/

.page-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#fff;
    padding:20px 0;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.page-header .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    text-decoration:none;
}

.logo h2{
    font-size:32px;
    color:var(--primary);
}

.page-header nav ul{
    display:flex;
    align-items:center;
    gap:35px;
    list-style:none;
}

.page-header nav a{
    text-decoration:none;
    color:var(--dark);
    font-weight:600;
    transition:.3s;
}

.page-header nav a:hover,
.page-header nav a.active{
    color:var(--primary);
}

/*========================================
HERO
========================================*/

.faq-hero{
    padding:110px 0;
    background:linear-gradient(135deg,#f8fbff,#edf5ff);
}

.hero-content{
    max-width:760px;
    margin:auto;
    text-align:center;
}

.hero-content .tag{
    display:inline-block;
    padding:10px 22px;
    background:#eaf3ff;
    color:var(--primary);
    border-radius:999px;
    font-weight:700;
    margin-bottom:20px;
}

.hero-content h1{
    font-size:54px;
    margin-bottom:20px;
    color:var(--dark);
}

.hero-content p{
    font-size:18px;
    line-height:1.8;
    color:var(--gray);
}

/*========================================
SECTION HEADER
========================================*/

.faq-section{
    padding:100px 0;
    background:#fff;
}

.section-header{
    text-align:center;
    margin-bottom:55px;
}

.section-header .tag{
    display:inline-block;
    padding:8px 20px;
    background:#eef5ff;
    color:var(--primary);
    border-radius:999px;
    font-weight:700;
    margin-bottom:18px;
}

.section-header h2{
    font-size:40px;
    color:var(--dark);
}

/*========================================
FAQ CONTAINER
========================================*/

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

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

.faq-item:hover{
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

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

.faq-question{
    width:100%;
    background:none;
    border:none;
    outline:none;
    cursor:pointer;
    padding:24px 30px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    font-size:18px;
    font-weight:600;
    color:var(--dark);
    text-align:left;
}

.faq-question span{
    flex:1;
    padding-right:20px;
}

.faq-question i{
    color:var(--primary);
    font-size:18px;
    transition:.3s;
}

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

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

.faq-answer p,
.faq-answer ul{
    padding:0 30px 28px;
    line-height:1.8;
    color:var(--gray);
}

.faq-answer ul{
    padding-left:50px;
}

.faq-answer li{
    margin-bottom:10px;
}

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

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

.faq-item.active .faq-question i{
    transform:rotate(45deg);
}
/*========================================
CTA SECTION
========================================*/

.faq-cta{
    padding:110px 0;
    background:#f8fbff;
}

.cta-card{
    max-width:850px;
    margin:auto;
    padding:70px 50px;
    border-radius:30px;
    text-align:center;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#fff;

    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.cta-card h2{
    font-size:42px;
    margin-bottom:18px;
    color:#fff;
}

.cta-card p{
    max-width:600px;
    margin:0 auto 35px;
    line-height:1.8;
    font-size:18px;
    opacity:.95;
}

.cta-card .btn{
    background:#fff;
    color:var(--primary);
    font-weight:700;
}

.cta-card .btn:hover{
    transform:translateY(-3px);
}

/*========================================
FOOTER
========================================*/

.page-footer{
    padding:35px 0;
    background:#fff;
    border-top:1px solid #e7edf6;
}

.page-footer p{
    text-align:center;
    color:var(--gray);
    font-size:15px;
}

/*========================================
SMOOTH EFFECTS
========================================*/

.faq-item,
.cta-card{
    transition:all .35s ease;
}

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

.faq-item.active{
    border-color:var(--primary);
}

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

@media (max-width:992px){

.hero-content h1{
    font-size:44px;
}

.section-header h2{
    font-size:36px;
}

.cta-card h2{
    font-size:34px;
}

}

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

@media (max-width:768px){

.page-header .container{
    flex-direction:column;
    gap:20px;
}

.page-header nav ul{
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
}

.faq-hero{
    padding:80px 0;
}

.hero-content h1{
    font-size:36px;
}

.hero-content p{
    font-size:16px;
}

.faq-section{
    padding:80px 0;
}

.section-header{
    margin-bottom:40px;
}

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

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

.faq-answer p,
.faq-answer ul{
    padding:0 20px 20px;
}

.cta-card{
    padding:50px 30px;
}

.cta-card h2{
    font-size:30px;
}

.cta-card p{
    font-size:16px;
}

}

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

@media (max-width:576px){

.logo h2{
    font-size:28px;
}

.hero-content h1{
    font-size:30px;
}

.hero-content p{
    font-size:15px;
}

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

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

.faq-question span{
    padding-right:12px;
}

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

.cta-card{
    padding:40px 20px;
}

.cta-card h2{
    font-size:26px;
}

.cta-card p{
    font-size:15px;
}

.page-footer{
    padding:25px 0;
}

.page-footer p{
    font-size:14px;
}

}