<style>


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

.aq-courses-section{

    position:relative;

    padding:130px 0;

    background:#F8FAFC;
}


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

.aq-courses-header{

    width:min(900px,92%);

    margin:auto;

    text-align:center;

    margin-bottom:70px;
}

.aq-courses-header span{

    display:inline-flex;

    padding:14px 28px;

    border-radius:999px;

    background:
    rgba(124,58,237,.10);

    color:#6D28D9;

    font-weight:700;

    margin-bottom:24px;
}

.aq-courses-header h2{

    font-size:58px;

    line-height:1.2;

    color:#111827;

    margin-bottom:24px;

    font-weight:900;
}

.aq-courses-header p{

    font-size:19px;

    line-height:2;

    color:#64748B;
}


/* =================================================
GRID
================================================= */

.aq-courses-grid{

    width:min(1380px,94%);

    margin:auto;

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:34px;
}


/* =================================================
CARD
================================================= */

.aq-course-card{

    position:relative;

    background:#fff;

    border-radius:34px;

    overflow:hidden;

    border:
    1px solid rgba(109,40,217,.08);

    box-shadow:
    0 15px 40px rgba(15,23,42,.05);

    transition:
    transform .4s ease,
    box-shadow .4s ease;

    display:flex;

    flex-direction:column;

    height:100%;
}

.aq-course-card:hover{

    transform:
    translateY(-14px);

    box-shadow:
    0 30px 80px rgba(109,40,217,.16);
}


/* =================================================
IMAGE
================================================= */

.aq-course-image{

    position:relative;

    height:250px;

    overflow:hidden;
}

.aq-course-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.45),
        transparent
    );
}

.aq-course-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s ease;
}

.aq-course-card:hover img{

    transform:scale(1.08);
}


/* =================================================
CATEGORY
================================================= */

.aq-course-category{

    position:absolute;

    top:20px;
    right:20px;

    padding:12px 20px;

    border-radius:999px;

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

    backdrop-filter:blur(10px);

    color:#6D28D9;

    font-size:14px;

    font-weight:700;

    z-index:2;
}


/* =================================================
BADGE
================================================= */

.aq-course-badge{

    position:absolute;

    bottom:20px;
    left:20px;

    padding:10px 18px;

    border-radius:999px;

    background:
    rgba(0,0,0,.55);

    backdrop-filter:blur(14px);

    color:#fff;

    font-size:13px;

    font-weight:700;

    z-index:2;
}


/* =================================================
CONTENT
================================================= */

.aq-course-content{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:32px;
}


/* =================================================
META
================================================= */

.aq-course-meta{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:16px;

    margin-bottom:22px;
}

.aq-course-meta span{

    font-size:14px;

    color:#64748B;

    font-weight:600;
}


/* =================================================
TITLE
================================================= */

.aq-course-content h3{

    font-size:25px;

    line-height:1.5;

    color:#111827;

    margin-bottom:18px;

    font-weight:800;
}


/* =================================================
INSTRUCTOR
================================================= */

.aq-course-instructor{

    color:#64748B;

    font-size:15px;

    margin-bottom:28px;
}


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

.aq-course-footer{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:18px;

    margin-top:auto;
}


/* =================================================
PRICE
================================================= */

.aq-course-price{

    font-size:24px;

    font-weight:900;

    color:#6D28D9;
}


/* =================================================
BUTTON
================================================= */

.aq-course-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:160px;

    height:54px;

    padding:0 24px;

    border-radius:18px;

    background:
    linear-gradient(
        135deg,
        #6D28D9,
        #8B5CF6
    );

    color:#fff;

    text-decoration:none;

    font-weight:800;

    transition:.35s ease;
}

.aq-course-btn:hover{

    transform:translateY(-4px);

    color:#fff;

    box-shadow:
    0 15px 35px rgba(109,40,217,.28);
}


/* =================================================
BOTTOM BUTTON
================================================= */

.aq-courses-more{

    text-align:center;

    margin-top:60px;
}

.aq-courses-main-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 34px;

    border-radius:18px;

    background:#111827;

    color:#fff;

    text-decoration:none;

    font-weight:700;

    transition:.3s ease;
}

.aq-courses-main-btn:hover{

    background:#6D28D9;

    color:#fff;

    transform:translateY(-3px);
}


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

@media(max-width:992px){

    .aq-courses-grid{

        grid-template-columns:
        repeat(2,1fr);
    }

    .aq-courses-header h2{

        font-size:42px;
    }

}


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

@media(max-width:768px){

    .aq-courses-section{

        padding:90px 0;
    }

    .aq-courses-header h2{

        font-size:36px;
    }

    .aq-courses-grid{

        grid-template-columns:1fr;
    }

    .aq-course-content{

        padding:26px;
    }

    .aq-course-footer{

        flex-direction:column;

        align-items:flex-start;
    }

    .aq-course-btn{

        width:100%;
    }

}

</style>