    /*=========================================================
    RAAFIAH COLLEGE
    PREMIUM FAQ SECTION
=========================================================*/

:root{

    --primary:#0f3d5e;
    --primary-dark:#08273d;
    --secondary:#c79a3b;
    --secondary-light:#e8c779;

    --white:#ffffff;
    --black:#121212;

    --text:#4b5563;
    --heading:#111827;

    --border:#e5e7eb;

    --bg:#f5f7fb;

    --shadow:0 18px 45px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.35s ease;

}

/*====================================*/

.faq-section{

    position:relative;

    padding:110px 0;

    background:
    linear-gradient(180deg,#ffffff 0%,#f7f9fc 100%);

    overflow:hidden;

}

/* Background Decoration */

.faq-section::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    border-radius:50%;

    background:rgba(199,154,59,.08);

    left:-150px;

    top:-120px;

    filter:blur(20px);

}

.faq-section::after{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    border-radius:50%;

    background:rgba(15,61,94,.05);

    right:-180px;

    bottom:-180px;

}

/*====================================*/

.faq-section .container{

    position:relative;

    z-index:2;

    max-width:1180px;

    margin:auto;

    padding:0 20px;

}

/*====================================*/

.section-header{

    text-align:center;

    margin-bottom:70px;

}

.section-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 24px;

    border-radius:50px;

    background:rgba(199,154,59,.10);

    color:var(--secondary);

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    font-size:13px;

}

/*====================================*/

.section-header h1{

    margin-top:22px;

    font-size:48px;

    line-height:1.2;

    color:var(--heading);

    font-weight:800;

}

.section-header h1 span{

    color:var(--primary);

}

/*====================================*/

.section-header p{

    width:100%;

    max-width:850px;

    margin:22px auto 0;

    font-size:18px;

    line-height:1.9;

    color:var(--text);

}

/*====================================*/

.faq-wrapper{

    max-width:980px;

    margin:auto;

}

/*====================================*/

.faq-item{

    position:relative;

    margin-bottom:24px;

    background:#fff;

    border-radius:20px;

    border:1px solid rgba(0,0,0,.05);

    overflow:hidden;

    transition:var(--transition);

    box-shadow:var(--shadow);

}

.faq-item:hover{

    transform:translateY(-5px);

    box-shadow:
    0 25px 60px rgba(0,0,0,.12);

}

/*====================================*/

.faq-question{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    padding:28px 35px;

    background:none;

    border:none;

    cursor:pointer;

    text-align:left;

}

/*====================================*/

.faq-left{

    display:flex;

    align-items:center;

    gap:25px;

}

/*====================================*/

.faq-number{

    min-width:68px;

    height:68px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:18px;

    font-size:22px;

    font-weight:800;

    color:#fff;

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

    box-shadow:

    0 10px 25px rgba(15,61,94,.25);

}

/*====================================*/

.faq-left h3{

    margin:0;

    font-size:22px;

    line-height:1.5;

    color:var(--heading);

    font-weight:700;

}

/*====================================*/

.faq-icon{

    position:relative;

    min-width:54px;

    width:54px;

    height:54px;

    border-radius:50%;

    background:var(--primary);

    transition:.35s;

}

/* Horizontal */

.faq-icon::before{

    content:"";

    position:absolute;

    width:22px;

    height:3px;

    background:#fff;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%);

}

/* Vertical */

.faq-icon::after{

    content:"";

    position:absolute;

    width:3px;

    height:22px;

    background:#fff;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%);

    transition:.35s;

}

/*====================================*/

.faq-answer{

    height:0;

    overflow:hidden;

    transition:height .45s cubic-bezier(.4,0,.2,1);

    will-change:height;

}

.faq-answer p{

    padding:0 35px 35px 128px;

    margin:0;

    font-size:17px;

    color:var(--text);

    line-height:2;

}

/*====================================*/

.faq-item.active{

    border-color:rgba(199,154,59,.4);

}

.faq-item.active .faq-number{

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

}

.faq-item.active .faq-left h3{

    color:var(--primary);

}

.faq-item.active .faq-icon{

    background:var(--secondary);

    transform:rotate(180deg);

}

.faq-item.active .faq-icon::after{

    opacity:0;

}

/*====================================*/

@media(max-width:991px){

.section-header h1{

font-size:38px;

}

.faq-left{

align-items:flex-start;

}

.faq-left h3{

font-size:19px;

}

.faq-answer p{

padding-left:35px;

}

}

/*====================================*/

@media(max-width:767px){

.faq-section{

padding:70px 0;

}

.section-header{

margin-bottom:45px;

}

.section-header h1{

font-size:30px;

}

.section-header p{

font-size:15px;

line-height:1.8;

}

.faq-question{

padding:22px;

align-items:flex-start;

}

.faq-left{

gap:15px;

}

.faq-number{

min-width:52px;

height:52px;

font-size:18px;

border-radius:14px;

}

.faq-left h3{

font-size:17px;

line-height:1.5;

}

.faq-icon{

min-width:42px;

width:42px;

height:42px;

}

.faq-answer p{

padding:0 22px 22px 22px;

font-size:15px;

line-height:1.8;

}

}

/*====================================*/

@media(max-width:480px){

.section-header h1{

font-size:26px;

}

.section-tag{

font-size:11px;

padding:8px 18px;

}

.faq-question{

padding:18px;

}

.faq-left{

gap:12px;

}

.faq-number{

min-width:45px;

height:45px;

font-size:16px;

}

.faq-left h3{

font-size:16px;

}

}
