/*=====================================
            PAGE BANNER
======================================*/

.page-banner{

    position:relative;

    height:350px;

    background:url("../images/building2.jpeg") center/cover no-repeat;

    display:flex;

    justify-content:center;

    align-items:center;

}

.banner-overlay{

    position:absolute;

    inset:0;

    background:rgba(76,29,149,.75);

}

.banner-content{

    position:relative;

    z-index:2;

    text-align:center;

    color:#fff;

}

.banner-content h1{

    font-size:50px;

    margin-bottom:15px;

}

.banner-content p{

    font-size:18px;

}

.banner-content a{

    color:#FBBF24;

    text-decoration:none;

    font-weight:600;

}

.banner-content span{

    margin:0 10px;

}

/*=====================================
            COURSES
======================================*/

.courses{

    padding:90px 8%;

    background:#F8F5FF;

}

.section-heading{

    text-align:center;

    margin-bottom:60px;

}

.section-heading h4{

    color:#6D28D9;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:18px;

}

.section-heading h2{

    font-size:42px;

    color:#2E1065;

    margin:12px 0;

}

.title-line{

    width:90px;

    height:4px;

    background:#FBBF24;

    margin:auto;

    border-radius:20px;

}

/*=====================================
        COURSE CARD
======================================*/

.course-card{

    max-width:1100px;

    margin:0 auto 35px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.course-card:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

/*=====================================
        HEADER
======================================*/

.course-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:28px 35px;

    cursor:pointer;

    background:#fff;

}

.course-info{

    display:flex;

    align-items:center;

    gap:22px;

}

.course-info i{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#4C1D95;

    color:#FBBF24;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:30px;

}

.course-info h3{

    font-size:28px;

    color:#2E1065;

    margin-bottom:8px;

}

.course-info p{

    color:#666;

    font-size:16px;

}

/*=====================================
        TOGGLE BUTTON
======================================*/

.course-toggle{

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:#4C1D95;

    color:#fff;

    font-size:18px;

    cursor:pointer;

    transition:.3s;

}

.course-toggle:hover{

    background:#FBBF24;

    color:#2E1065;

}

.course-toggle i{

    transition:.35s;

}

/* Rotate Arrow */

.course-card.active .course-toggle i{

    transform:rotate(180deg);

}

/*=====================================
        CONTENT
======================================*/

.course-content{

    max-height:0;

    overflow:hidden;

    transition:max-height .5s ease;

    padding:0 35px;

}

.course-card.active .course-content{

    max-height:1500px;

    padding:0 35px 35px;

}

.course-content h4{

    color:#6D28D9;

    margin-bottom:20px;

    font-size:22px;

}

/*=====================================
        SUBJECTS
======================================*/

.subject-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}

.subject{

    background:#F3ECFF;

    padding:15px 20px;

    border-left:5px solid #6D28D9;

    border-radius:10px;

    font-weight:500;

    color:#333;

    transition:.3s;

}

.subject:hover{

    background:#4C1D95;

    color:#fff;

    transform:translateX(8px);

}