/*=========================================================
MERCY INSTITUTE COURSE ARCHIVE
VERSION 2.0
PART 1
FOUNDATION
=========================================================*/


/*=========================================================
ROOT VARIABLES
=========================================================*/

:root{

    /* Brand */

    --primary:#0d2d75;
    --primary-dark:#082459;
    --primary-light:#1f4fa6;

    --secondary:#1b75d0;
    --secondary-light:#57a8f5;

    --accent:#16a34a;
    --warning:#f59e0b;
    --danger:#dc2626;

    /* Neutral */

    --white:#ffffff;
    --black:#0f172a;

    /* Background */

    --bg:#f4f7fb;
    --bg-light:#fbfcfe;
    --surface:#ffffff;

    /* Text */

    --text:#1e293b;
    --text-light:#64748b;
    --text-muted:#94a3b8;

    /* Borders */

    --border:#dbe5f1;
    --border-light:#edf2f7;

    /* Radius */

    --radius-xs:8px;
    --radius-sm:12px;
    --radius:18px;
    --radius-lg:24px;
    --radius-xl:32px;

    /* Shadows */

    --shadow-xs:
        0 2px 6px rgba(15,23,42,.04);

    --shadow-sm:
        0 6px 18px rgba(15,23,42,.06);

    --shadow:
        0 12px 35px rgba(15,23,42,.08);

    --shadow-lg:
        0 25px 60px rgba(15,23,42,.12);

    /* Transition */

    --transition:.30s ease;

    /* Width */

    --container:1320px;

}



/*=========================================================
RESET
=========================================================*/

*,
*::before,
*::after{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;

}

body{

    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        sans-serif;

    font-size:16px;
    font-weight:400;
    line-height:1.7;

    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;

    text-rendering:optimizeLegibility;

    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;

}



/*=========================================================
TYPOGRAPHY
=========================================================*/

h1,
h2,
h3,
h4,
h5,
h6{

    margin:0;

    color:var(--primary);

    font-weight:700;

    line-height:1.2;

}

h1{

    font-size:clamp(2.4rem,5vw,4.5rem);

}

h2{

    font-size:clamp(2rem,4vw,3rem);

}

h3{

    font-size:1.5rem;

}

p{

    color:var(--text-light);

    line-height:1.8;

}

small{

    font-size:.875rem;

}

strong{

    font-weight:700;

}



/*=========================================================
LINKS
=========================================================*/

a{

    color:inherit;

    text-decoration:none;

    transition:all var(--transition);

}

a:hover{

    color:var(--secondary);

}



/*=========================================================
MEDIA
=========================================================*/

img{

    display:block;

    width:100%;

    max-width:100%;

    height:auto;

}

svg{

    display:block;

}



/*=========================================================
FORMS
=========================================================*/

button,
input,
select,
textarea{

    font:inherit;

}

button{

    border:none;

    background:none;

    cursor:pointer;

}

input,
select,
textarea{

    outline:none;

}



/*=========================================================
LISTS
=========================================================*/

ul,
ol{

    list-style:none;

}



/*=========================================================
LAYOUT
=========================================================*/

.container{

    width:100%;

    max-width:var(--container);

    margin-inline:auto;

    padding-inline:20px;

}



/*=========================================================
SECTION SPACING
=========================================================*/

.section{

    padding:80px 0;

}

.section-sm{

    padding:55px 0;

}



/*=========================================================
COMMON CARD
=========================================================*/

.card{

    background:var(--surface);

    border:1px solid rgba(15,23,42,.06);

    border-radius:var(--radius-lg);

    box-shadow:var(--shadow);

}



/*=========================================================
BUTTON TRANSITIONS
=========================================================*/

.course-btn,
.category-tab,
.reset-filter-btn,
.mi-select,
.course-card,
.hero-search button{

    transition:all var(--transition);

}



/*=========================================================
UTILITY CLASSES
=========================================================*/

.text-center{

    text-align:center;

}

.text-left{

    text-align:left;

}

.text-right{

    text-align:right;

}

.w-100{

    width:100%;

}

.hidden{

    display:none !important;

}

.rounded{

    border-radius:var(--radius);

}

.shadow{

    box-shadow:var(--shadow);

}

.shadow-lg{

    box-shadow:var(--shadow-lg);

}



/*=========================================================
ACCESSIBILITY
=========================================================*/

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{

    outline:3px solid rgba(27,117,208,.25);

    outline-offset:3px;

}



/*=========================================================
SELECTION
=========================================================*/

::selection{

    background:var(--secondary);

    color:#fff;

}



/*=========================================================
SCROLLBAR
=========================================================*/

::-webkit-scrollbar{

    width:10px;

    height:10px;

}

::-webkit-scrollbar-track{

    background:#edf2f7;

}

::-webkit-scrollbar-thumb{

    background:#c7d5e7;

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:#9fb8d8;

}



/*=========================================================
COMMON ANIMATIONS
=========================================================*/

.fade-up{

    animation:fadeUp .6s ease both;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(24px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

.spin{

    animation:spin .8s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}



/*=========================================================
REDUCED MOTION
=========================================================*/

@media(prefers-reduced-motion:reduce){

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}



/*=========================================================
TABLET
=========================================================*/

@media(max-width:991px){

    .container{

        padding-inline:18px;

    }

}



/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    body{

        font-size:15px;

    }

    .container{

        padding-inline:16px;

    }

    .section{

        padding:60px 0;

    }

    .section-sm{

        padding:40px 0;

    }

}
/*=========================================================
VERSION 2.0
PART 2A
PREMIUM HERO SECTION
=========================================================*/


/*=========================================================
HERO
=========================================================*/

.course-archive-hero{

    position:relative;

    overflow:hidden;

    isolation:isolate;

    padding:110px 0 90px;

    background:
        linear-gradient(
            135deg,
            #0b255d 0%,
            #0d3d91 45%,
            #1b75d0 100%
        );

}


/*=========================================================
BACKGROUND SHAPES
=========================================================*/

.course-archive-hero::before{

    content:"";

    position:absolute;

    width:620px;
    height:620px;

    right:-220px;
    top:-220px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.16),
            transparent 70%
        );

    filter:blur(10px);

    animation:floatShapeOne 18s ease-in-out infinite;

}

.course-archive-hero::after{

    content:"";

    position:absolute;

    width:520px;
    height:520px;

    left:-180px;
    bottom:-220px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.08),
            transparent 72%
        );

    animation:floatShapeTwo 20s ease-in-out infinite;

}


/*=========================================================
DECORATIVE GRID
=========================================================*/

.course-archive-hero .container{

    position:relative;

    z-index:5;

}

.course-archive-hero .container::before{

    content:"";

    position:absolute;

    inset:0;

    background-image:

        linear-gradient(
            rgba(255,255,255,.04) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.04) 1px,
            transparent 1px
        );

    background-size:60px 60px;

    mask-image:
        radial-gradient(
            circle,
            #000 45%,
            transparent 100%
        );

    opacity:.45;

    pointer-events:none;

}


/*=========================================================
HERO CONTENT
=========================================================*/

.hero-inner{

    position:relative;

    z-index:10;

    max-width:940px;

    margin:auto;

    text-align:center;

}


/*=========================================================
BADGE
=========================================================*/

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:12px 24px;

    margin-bottom:30px;

    border-radius:999px;

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.20);

    backdrop-filter:blur(16px);

    color:#ffffff;

    font-size:14px;

    font-weight:700;

    letter-spacing:.3px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.15);

}

.hero-badge svg{

    width:18px;
    height:18px;

}


/*=========================================================
TITLE
=========================================================*/

.hero-title{

    color:#ffffff;

    font-size:clamp(44px,6vw,72px);

    font-weight:800;

    line-height:1.08;

    letter-spacing:-1.2px;

    margin-bottom:24px;

    text-shadow:

        0 10px 28px rgba(0,0,0,.20);

}


/*=========================================================
DESCRIPTION
=========================================================*/

.hero-description{

    max-width:760px;

    margin-inline:auto;

    margin-bottom:40px;

    color:rgba(255,255,255,.90);

    font-size:20px;

    line-height:1.85;

}


/*=========================================================
DIVIDER
=========================================================*/

.hero-divider{

    width:90px;

    height:5px;

    margin:0 auto 38px;

    border-radius:999px;

    background:

        linear-gradient(

            90deg,

            #ffffff,

            rgba(255,255,255,.35)

        );

}


/*=========================================================
ENTRANCE ANIMATION
=========================================================*/

.hero-inner>*{

    opacity:0;

    animation:heroFadeUp .8s ease forwards;

}

.hero-inner>*:nth-child(2){

    animation-delay:.10s;

}

.hero-inner>*:nth-child(3){

    animation-delay:.20s;

}

.hero-inner>*:nth-child(4){

    animation-delay:.30s;

}

.hero-inner>*:nth-child(5){

    animation-delay:.40s;

}


/*=========================================================
KEYFRAMES
=========================================================*/

@keyframes heroFadeUp{

    from{

        opacity:0;

        transform:translateY(28px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes floatShapeOne{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-35px);

    }

}

@keyframes floatShapeTwo{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(25px);

    }

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:991px){

    .course-archive-hero{

        padding:85px 0 70px;

    }

    .hero-title{

        font-size:54px;

    }

    .hero-description{

        font-size:18px;

    }

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    .course-archive-hero{

        padding:65px 0 50px;

    }

    .course-archive-hero::before{

        width:340px;

        height:340px;

        right:-120px;

        top:-120px;

    }

    .course-archive-hero::after{

        width:260px;

        height:260px;

        left:-100px;

        bottom:-120px;

    }

    .course-archive-hero .container::before{

        background-size:40px 40px;

    }

    .hero-badge{

        padding:9px 18px;

        font-size:13px;

        margin-bottom:22px;

    }

    .hero-title{

        font-size:36px;

        line-height:1.18;

        margin-bottom:18px;

    }

    .hero-description{

        font-size:16px;

        line-height:1.7;

        margin-bottom:28px;

    }

    .hero-divider{

        width:70px;

        height:4px;

        margin-bottom:30px;

    }

}
/*=========================================================
VERSION 2.0
PART 2B
PREMIUM SEARCH + HERO STATS
=========================================================*/


/*=========================================================
SEARCH WRAPPER
=========================================================*/

.hero-search{

    position:relative;

    max-width:920px;

    margin:0 auto;

    z-index:20;

}


/*=========================================================
SEARCH FORM
=========================================================*/

.hero-search form{

    display:flex;

    align-items:center;

    gap:10px;

    padding:10px;

    border-radius:999px;

    background:rgba(255,255,255,.10);

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.18);

    box-shadow:

        0 25px 60px rgba(0,0,0,.18);

}


/*=========================================================
SEARCH INPUT
=========================================================*/

.hero-search input{

    flex:1;

    height:64px;

    border:none;

    background:transparent;

    color:#ffffff;

    font-size:17px;

    font-weight:500;

    padding:0 24px;

    border-radius:999px;

}

.hero-search input:focus{

    background:rgba(255,255,255,.05);

}

.hero-search input::placeholder{

    color:rgba(255,255,255,.75);

}


/*=========================================================
SEARCH BUTTON
=========================================================*/

.hero-search button{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    height:64px;

    padding:0 34px;

    border-radius:999px;

    background:#ffffff;

    color:var(--primary);

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

    box-shadow:

        0 10px 30px rgba(0,0,0,.18);

}

.hero-search button:hover{

    transform:translateY(-3px);

    background:#f8fafc;

    box-shadow:

        0 18px 36px rgba(0,0,0,.22);

}

.hero-search button svg{

    width:18px;

    height:18px;

    transition:.3s;

}

.hero-search button:hover svg{

    transform:translateX(3px);

}


/*=========================================================
SEARCH GLOW
=========================================================*/

.hero-search::after{

    content:"";

    position:absolute;

    inset:-8px;

    border-radius:999px;

    background:

        radial-gradient(

            rgba(255,255,255,.15),

            transparent 70%

        );

    opacity:.45;

    filter:blur(20px);

    z-index:-1;

}


/*=========================================================
HERO STATS
=========================================================*/

.hero-stats{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

}


/*=========================================================
STAT CARD
=========================================================*/

.hero-stat{

    position:relative;

    overflow:hidden;

    text-align:center;

    padding:32px 20px;

    border-radius:24px;

    background:

        rgba(255,255,255,.10);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.18);

    transition:.35s;

}


/*=========================================================
TOP HIGHLIGHT
=========================================================*/

.hero-stat::before{

    content:"";

    position:absolute;

    left:0;

    right:0;

    top:0;

    height:3px;

    background:

        linear-gradient(

            90deg,

            #ffffff,

            rgba(255,255,255,.15)

        );

}


/*=========================================================
HOVER
=========================================================*/

.hero-stat:hover{

    transform:translateY(-8px);

    background:

        rgba(255,255,255,.15);

}


/*=========================================================
NUMBER
=========================================================*/

.hero-stat-number{

    font-size:52px;

    font-weight:800;

    line-height:1;

    color:#ffffff;

    margin-bottom:12px;

    text-shadow:

        0 8px 20px rgba(0,0,0,.15);

}


/*=========================================================
LABEL
=========================================================*/

.hero-stat-label{

    color:rgba(255,255,255,.92);

    font-size:16px;

    font-weight:500;

}


/*=========================================================
BLOCKSY FIXES
=========================================================*/

.course-archive-hero h1,
.course-archive-hero h2,
.course-archive-hero h3,
.hero-title{

    color:#ffffff !important;

}

.hero-search input{

    color:#ffffff !important;

}

.hero-search input::placeholder{

    color:rgba(255,255,255,.78)!important;

}

.hero-search button{

    color:var(--primary)!important;

}

.hero-stat-number{

    color:#ffffff!important;

}

.hero-stat-label{

    color:rgba(255,255,255,.92)!important;

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:991px){

    .hero-search input{

        height:60px;

        font-size:16px;

    }

    .hero-search button{

        height:60px;

        padding:0 28px;

    }

    .hero-stats{

        gap:18px;

    }

    .hero-stat{

        padding:26px 18px;

    }

    .hero-stat-number{

        font-size:42px;

    }

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    .hero-search form{

        flex-direction:column;

        border-radius:22px;

        padding:14px;

    }

    .hero-search input{

        width:100%;

        height:56px;

        border-radius:14px;

        background:rgba(255,255,255,.08);

        border:1px solid rgba(255,255,255,.12);

        font-size:15px;

    }

    .hero-search button{

        width:100%;

        height:56px;

        border-radius:14px;

        font-size:15px;

    }

    .hero-search::after{

        display:none;

    }

    .hero-stats{

        margin-top:36px;

        grid-template-columns:1fr;

        gap:14px;

    }

    .hero-stat{

        border-radius:18px;

        padding:22px;

    }

    .hero-stat-number{

        font-size:36px;

    }

    .hero-stat-label{

        font-size:14px;

    }

}
/*=========================================================
VERSION 2.0
PART 3A
PREMIUM FILTER BAR
=========================================================*/


/*=========================================================
FILTER SECTION
=========================================================*/

.course-filter-bar{

    position:relative;

    padding:70px 0 45px;

    z-index:10;

}


/*=========================================================
FILTER CARD
=========================================================*/

.course-filter-wrap{

    position:relative;

    display:flex;

    align-items:flex-end;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:36px;

    padding:38px;

    background:#ffffff;

    border-radius:28px;

    border:1px solid rgba(15,23,42,.06);

    box-shadow:

        0 18px 55px rgba(15,23,42,.08);

    overflow:hidden;

}

.course-filter-wrap::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    right:0;

    height:5px;

    background:

        linear-gradient(

            90deg,

            var(--primary),

            var(--secondary)

        );

}


/*=========================================================
LEFT CONTENT
=========================================================*/

.filter-title{

    flex:1;

    min-width:280px;

}

.filter-title h2{

    font-size:34px;

    font-weight:800;

    color:var(--primary);

    margin-bottom:10px;

    line-height:1.2;

}

.filter-title p{

    max-width:520px;

    font-size:16px;

    line-height:1.8;

    color:var(--text-light);

}


/*=========================================================
FORM
=========================================================*/

.course-filter-form{

    display:flex;

    flex-wrap:wrap;

    align-items:flex-end;

    justify-content:flex-end;

    gap:18px;

    flex:2;

}


/*=========================================================
GROUP
=========================================================*/

.filter-group{

    display:flex;

    flex-direction:column;

    gap:8px;

    min-width:240px;

    flex:1;

}

.filter-group label{

    font-size:14px;

    font-weight:700;

    color:var(--text);

}


/*=========================================================
SELECT
=========================================================*/

.mi-select{

    width:100%;

    height:58px;

    padding:0 18px;

    border-radius:14px;

    border:1px solid var(--border);

    background:#f8fbff;

    color:var(--text);

    font-size:15px;

    font-weight:500;

    appearance:none;

    cursor:pointer;

    transition:.3s;

    background-image:

        linear-gradient(45deg,transparent 50%,#64748b 50%),

        linear-gradient(135deg,#64748b 50%,transparent 50%);

    background-position:

        calc(100% - 22px) calc(50% - 3px),

        calc(100% - 16px) calc(50% - 3px);

    background-size:6px 6px;

    background-repeat:no-repeat;

}

.mi-select:hover{

    border-color:#b9d4f2;

    background:#ffffff;

}

.mi-select:focus{

    border-color:var(--secondary);

    box-shadow:

        0 0 0 4px rgba(27,117,208,.12);

}


/*=========================================================
BUTTON AREA
=========================================================*/

.filter-buttons{

    display:flex;

    align-items:flex-end;

}


/*=========================================================
RESET BUTTON
=========================================================*/

.reset-filter-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    height:58px;

    padding:0 30px;

    border-radius:14px;

    background:#eef5ff;

    color:var(--primary);

    font-size:15px;

    font-weight:700;

    transition:.35s;

}

.reset-filter-btn:hover{

    background:

        linear-gradient(

            135deg,

            var(--primary),

            var(--secondary)

        );

    color:#ffffff;

    transform:translateY(-3px);

    box-shadow:

        0 14px 30px rgba(27,117,208,.22);

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:991px){

    .course-filter-wrap{

        padding:30px;

    }

    .filter-title{

        width:100%;

    }

    .course-filter-form{

        width:100%;

        justify-content:flex-start;

    }

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    .course-filter-bar{

        padding:45px 0 30px;

    }

    .course-filter-wrap{

        padding:24px;

        border-radius:20px;

        gap:24px;

    }

    .filter-title h2{

        font-size:26px;

    }

    .filter-title p{

        font-size:14px;

    }

    .course-filter-form{

        flex-direction:column;

        align-items:stretch;

        width:100%;

        gap:16px;

    }

    .filter-group{

        width:100%;

        min-width:100%;

    }

    .mi-select{

        height:54px;

        font-size:14px;

    }

    .filter-buttons{

        width:100%;

    }

    .reset-filter-btn{

        width:100%;

        height:54px;

    }

}
/*=========================================================
VERSION 2.0
PART 3B
CATEGORY TABS + RESULTS HEADER
=========================================================*/


/*=========================================================
CATEGORY SECTION
=========================================================*/

.course-tabs{

    padding:20px 0 35px;

}


/*=========================================================
TAB WRAPPER
=========================================================*/

.course-tab-list{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:14px;

}


/*=========================================================
CATEGORY TAB
=========================================================*/

.category-tab{

    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    min-height:54px;

    padding:0 24px;

    border-radius:999px;

    border:1px solid var(--border);

    background:#ffffff;

    color:var(--text);

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:all .30s ease;

    box-shadow:var(--shadow-xs);

}

.category-tab:hover{

    transform:translateY(-3px);

    border-color:var(--secondary);

    color:var(--primary);

    box-shadow:var(--shadow-sm);

}


/*=========================================================
ACTIVE TAB
=========================================================*/

.category-tab.active{

    background:

        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color:#ffffff;

    border-color:transparent;

    box-shadow:

        0 16px 36px rgba(13,45,117,.22);

}

.category-tab.active:hover{

    transform:translateY(-3px);

}


/*=========================================================
COUNT BADGE
=========================================================*/

.category-tab .count{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:28px;

    height:28px;

    padding:0 8px;

    border-radius:999px;

    background:rgba(13,45,117,.08);

    color:var(--primary);

    font-size:13px;

    font-weight:700;

}

.category-tab.active .count{

    background:rgba(255,255,255,.20);

    color:#ffffff;

}


/*=========================================================
RESULT HEADER
=========================================================*/

.course-results-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    margin:0 0 35px;

}


/*=========================================================
TITLE
=========================================================*/

.course-results-title{

    display:flex;

    flex-direction:column;

    gap:6px;

}

.course-results-title h2{

    font-size:34px;

    font-weight:800;

    color:var(--primary);

}

.course-results-title p{

    font-size:15px;

    color:var(--text-light);

}


/*=========================================================
RESULT COUNT
=========================================================*/

.course-count{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:12px 20px;

    border-radius:999px;

    background:#eef5ff;

    color:var(--primary);

    font-size:15px;

    font-weight:700;

}


/*=========================================================
COUNT NUMBER
=========================================================*/

.course-count strong{

    color:var(--secondary);

    font-size:18px;

}


/*=========================================================
AJAX LOADING
=========================================================*/

#course-results.loading{

    position:relative;

    opacity:.55;

    pointer-events:none;

    transition:.25s;

}

#course-results.loading::after{

    content:"";

    position:absolute;

    top:50%;

    left:50%;

    width:46px;

    height:46px;

    margin:-23px;

    border-radius:50%;

    border:4px solid rgba(27,117,208,.15);

    border-top-color:var(--secondary);

    animation:spin .8s linear infinite;

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:991px){

    .course-results-header{

        flex-direction:column;

        align-items:flex-start;

    }

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    .course-tabs{

        padding:15px 0 25px;

    }

    .course-tab-list{

        justify-content:flex-start;

        overflow-x:auto;

        flex-wrap:nowrap;

        padding-bottom:8px;

        scrollbar-width:none;

    }

    .course-tab-list::-webkit-scrollbar{

        display:none;

    }

    .category-tab{

        white-space:nowrap;

        min-height:48px;

        padding:0 18px;

        font-size:14px;

    }

    .course-results-title h2{

        font-size:26px;

    }

    .course-results-title p{

        font-size:14px;

    }

    .course-count{

        width:100%;

        justify-content:center;

    }

}
/*=========================================================
VERSION 2.0
PART 4A
PREMIUM COURSE CARD
GRID + IMAGE
=========================================================*/


/*=========================================================
COURSE GRID
=========================================================*/

.course-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fill,minmax(340px,1fr));

    gap:32px;

    align-items:stretch;

    margin-bottom:50px;

}


/*=========================================================
COURSE CARD
=========================================================*/

.course-card{

    position:relative;

    display:flex;

    flex-direction:column;

    height:100%;

    overflow:hidden;

    border-radius:24px;

    background:#ffffff;

    border:1px solid rgba(15,23,42,.06);

    box-shadow:
        0 10px 35px rgba(15,23,42,.08);

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}

.course-card:hover{

    transform:translateY(-10px);

    box-shadow:
        0 28px 60px rgba(15,23,42,.14);

}


/*=========================================================
IMAGE WRAPPER
=========================================================*/

.course-card-image{

    position:relative;

    overflow:hidden;

    aspect-ratio:16/9;

    background:#edf2f7;

}


/*=========================================================
IMAGE
=========================================================*/

.course-card-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:
        transform .6s ease;

}

.course-card:hover
.course-card-image img{

    transform:scale(1.08);

}


/*=========================================================
IMAGE OVERLAY
=========================================================*/

.course-card-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(

            to top,

            rgba(0,0,0,.55),

            rgba(0,0,0,.08),

            transparent

        );

    opacity:.95;

}


/*=========================================================
TOP BADGES
=========================================================*/

.course-card-badges{

    position:absolute;

    top:18px;

    left:18px;

    right:18px;

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:12px;

    z-index:5;

}


/*=========================================================
CATEGORY BADGE
=========================================================*/

.course-category{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 14px;

    border-radius:999px;

    background:
        rgba(255,255,255,.92);

    color:var(--primary);

    font-size:12px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.4px;

    backdrop-filter:blur(12px);

}


/*=========================================================
STATUS BADGE
=========================================================*/

.course-status{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 14px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.4px;

    color:#ffffff;

}


/*=========================================================
STATUS COLORS
=========================================================*/

.course-status.open{

    background:#16a34a;

}

.course-status.closing{

    background:#f59e0b;

}

.course-status.closed{

    background:#dc2626;

}


/*=========================================================
BOTTOM IMAGE INFO
=========================================================*/

.course-image-footer{

    position:absolute;

    left:22px;

    right:22px;

    bottom:18px;

    z-index:5;

    display:flex;

    align-items:center;

    justify-content:space-between;

}


/*=========================================================
INSTITUTION PILL
=========================================================*/

.course-institution{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 16px;

    border-radius:999px;

    background:
        rgba(255,255,255,.14);

    color:#ffffff;

    font-size:13px;

    font-weight:600;

    backdrop-filter:blur(18px);

}


/*=========================================================
IMAGE ICON
=========================================================*/

.course-institution svg{

    width:16px;

    height:16px;

}


/*=========================================================
FEATURED TAG
=========================================================*/

.course-featured{

    display:inline-flex;

    align-items:center;

    gap:6px;

    padding:8px 12px;

    border-radius:999px;

    background:

        linear-gradient(
            135deg,
            #f59e0b,
            #facc15
        );

    color:#ffffff;

    font-size:11px;

    font-weight:700;

    letter-spacing:.4px;

}


/*=========================================================
SHINE EFFECT
=========================================================*/

.course-card::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:60%;

    height:100%;

    background:

        linear-gradient(

            90deg,

            transparent,

            rgba(255,255,255,.22),

            transparent

        );

    transform:skewX(-25deg);

    transition:1s;

    z-index:20;

}

.course-card:hover::before{

    left:160%;

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:991px){

    .course-grid{

        grid-template-columns:
            repeat(2,1fr);

        gap:24px;

    }

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    .course-grid{

        grid-template-columns:1fr;

        gap:20px;

    }

    .course-card{

        border-radius:20px;

    }

    .course-card-badges{

        top:14px;

        left:14px;

        right:14px;

    }

    .course-image-footer{

        left:16px;

        right:16px;

        bottom:14px;

    }

    .course-category,
    .course-status{

        font-size:11px;

        padding:7px 12px;

    }

    .course-institution{

        font-size:12px;

        padding:8px 14px;

    }

}
/*=========================================================
VERSION 2.0
PART 4B
COURSE CARD CONTENT
=========================================================*/


/*=========================================================
CONTENT
=========================================================*/

.course-card-content{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:28px;

}


/*=========================================================
SMALL LABEL
=========================================================*/

.course-card-label{

    display:inline-flex;

    align-items:center;

    gap:8px;

    margin-bottom:14px;

    color:var(--secondary);

    font-size:13px;

    font-weight:700;

    letter-spacing:.5px;

    text-transform:uppercase;

}

.course-card-label:empty{

    display:none;

}

.course-card-label::before{

    content:"";

    width:8px;

    height:8px;

    border-radius:50%;

    background:var(--secondary);

}


/*=========================================================
TITLE
=========================================================*/

.course-card-title{

    margin:0 0 14px;

    min-height:64px;

}

.course-card-title a{

    display:block;

    color:var(--primary);

    font-size:24px;

    font-weight:800;

    line-height:1.3;

    transition:.3s;

}

.course-card:hover .course-card-title a{

    color:var(--secondary);

}


/*=========================================================
DESCRIPTION
=========================================================*/

.course-card-excerpt{

    flex:1;

    margin-bottom:24px;

    color:var(--text-light);

    font-size:15px;

    line-height:1.8;

    display:-webkit-box;

    -webkit-line-clamp:3;

    -webkit-box-orient:vertical;

    overflow:hidden;

}


/*=========================================================
DIVIDER
=========================================================*/

.course-divider{

    width:100%;

    height:1px;

    margin-bottom:22px;

    background:

        linear-gradient(

            90deg,

            rgba(15,23,42,.08),

            rgba(15,23,42,.03),

            transparent

        );

}


/*=========================================================
CONTENT SPACING
=========================================================*/

.course-card-content>*:last-child{

    margin-bottom:0;

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:991px){

    .course-card-content{

        padding:24px;

    }

    .course-card-title{

        min-height:60px;

    }

    .course-card-title a{

        font-size:22px;

    }

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    .course-card-content{

        padding:20px;

    }

    .course-card-title{

        min-height:auto;

    }

    .course-card-title a{

        font-size:20px;

    }

    .course-card-excerpt{

        font-size:14px;

        -webkit-line-clamp:3;

    }

}
/*=========================================================
VERSION 2.0
PART 4C
META + CTA
=========================================================*/


/*=========================================================
CARD BODY
=========================================================*/

.course-card-body{

    display:flex;

    flex-direction:column;

    flex:1;

}


/*=========================================================
META
=========================================================*/

.course-meta{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:auto;

    margin-bottom:26px;

}


/*=========================================================
META ITEM
=========================================================*/

.course-meta-item{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 16px;

    border-radius:14px;

    background:#f7fafd;

    border:1px solid rgba(15,23,42,.06);

    transition:.30s;

}

.course-meta-item:hover{

    background:#eef6ff;

    border-color:#c6dcfb;

}


/*=========================================================
ICON
=========================================================*/

.course-meta-item svg{

    width:18px;

    height:18px;

    color:var(--secondary);

    flex-shrink:0;

}


/*=========================================================
TEXT
=========================================================*/

.course-meta-item span{

    color:var(--text);

    font-size:14px;

    font-weight:600;

}


/*=========================================================
DURATION
=========================================================*/

.course-duration{

    background:#eef8ff;

}


/*=========================================================
MODE
=========================================================*/

.course-mode{

    background:#f7fff4;

}


/*=========================================================
STATUS
=========================================================*/

.course-status{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 16px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

    letter-spacing:.5px;

    text-transform:uppercase;

}


/*=========================================================
CTA AREA
=========================================================*/

.course-card-footer{

    margin-top:auto;

}


/*=========================================================
BUTTON
=========================================================*/

.course-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    width:100%;

    height:56px;

    border-radius:16px;

    text-decoration:none;

    font-size:15px;

    font-weight:700;

    color:#ffffff;

    background:

        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    transition:.35s;

    overflow:hidden;

    position:relative;

}


/*=========================================================
BUTTON SHINE
=========================================================*/

.course-btn::before{

    content:"";

    position:absolute;

    left:-100%;

    top:0;

    width:50%;

    height:100%;

    background:

        linear-gradient(

            90deg,

            transparent,

            rgba(255,255,255,.28),

            transparent

        );

    transform:skewX(-25deg);

    transition:1s;

}

.course-btn:hover::before{

    left:160%;

}


/*=========================================================
BUTTON HOVER
=========================================================*/

.course-btn:hover{

    transform:translateY(-3px);

    color:#ffffff;

    box-shadow:

        0 18px 40px rgba(27,117,208,.28);

}


/*=========================================================
ARROW
=========================================================*/

.course-btn svg{

    width:18px;

    height:18px;

    transition:.3s;

}

.course-btn:hover svg{

    transform:translateX(5px);

}


/*=========================================================
CARD HOVER
=========================================================*/

.course-card:hover .course-meta-item{

    border-color:#d7e7fb;

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:991px){

    .course-meta{

        gap:10px;

    }

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    .course-meta{

        flex-direction:column;

    }

    .course-meta-item{

        width:100%;

    }

    .course-btn{

        height:52px;

        font-size:14px;

    }

}
/*=========================================================
VERSION 2.0
PART 5
AJAX + PAGINATION + EMPTY STATE
=========================================================*/


/*=========================================================
RESULTS CONTAINER
=========================================================*/

#course-results{

    position:relative;

    min-height:280px;

    transition:opacity .30s ease;

}


/*=========================================================
AJAX LOADING
=========================================================*/

#course-results.loading{

    opacity:.45;

    pointer-events:none;

}

#course-results.loading::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(255,255,255,.65);

    backdrop-filter:blur(2px);

    z-index:20;

}

#course-results.loading::after{

    content:"";

    position:absolute;

    top:50%;

    left:50%;

    width:54px;

    height:54px;

    margin:-27px;

    border-radius:50%;

    border:4px solid rgba(27,117,208,.15);

    border-top-color:var(--secondary);

    animation:spin .8s linear infinite;

    z-index:25;

}


/*=========================================================
SKELETON GRID
=========================================================*/

.course-skeleton-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(340px,1fr));

    gap:32px;

}


/*=========================================================
SKELETON CARD
=========================================================*/

.course-skeleton{

    overflow:hidden;

    border-radius:24px;

    background:#ffffff;

    border:1px solid rgba(15,23,42,.05);

}


/*=========================================================
SKELETON IMAGE
=========================================================*/

.skeleton-image{

    aspect-ratio:16/9;

    background:#edf2f7;

}


/*=========================================================
SKELETON CONTENT
=========================================================*/

.skeleton-content{

    padding:24px;

}

.skeleton-line{

    height:14px;

    border-radius:8px;

    background:#edf2f7;

    margin-bottom:16px;

}

.skeleton-line.large{

    height:22px;

    width:78%;

}

.skeleton-line.medium{

    width:62%;

}

.skeleton-line.small{

    width:42%;

}

.skeleton-button{

    margin-top:28px;

    height:52px;

    border-radius:14px;

    background:#edf2f7;

}


/*=========================================================
SHIMMER
=========================================================*/

.course-skeleton *{

    position:relative;

    overflow:hidden;

}

.course-skeleton *::after{

    content:"";

    position:absolute;

    inset:0;

    transform:translateX(-100%);

    background:

        linear-gradient(

            90deg,

            transparent,

            rgba(255,255,255,.55),

            transparent

        );

    animation:skeletonShimmer 1.4s infinite;

}

@keyframes skeletonShimmer{

    100%{

        transform:translateX(100%);

    }

}


/*=========================================================
EMPTY STATE
=========================================================*/

.course-empty{

    text-align:center;

    padding:80px 30px;

    background:#ffffff;

    border-radius:24px;

    border:1px dashed var(--border);

}

.course-empty-icon{

    width:90px;

    height:90px;

    margin:0 auto 24px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#eef5ff;

    color:var(--secondary);

}

.course-empty-icon svg{

    width:42px;

    height:42px;

}

.course-empty h3{

    margin-bottom:12px;

    font-size:28px;

    color:var(--primary);

}

.course-empty p{

    max-width:520px;

    margin:0 auto 28px;

    color:var(--text-light);

}

.course-empty .reset-filter-btn{

    display:inline-flex;

}


/*=========================================================
PAGINATION
=========================================================*/

.course-pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:12px;

    margin-top:50px;

}


/*=========================================================
PAGE LINKS
=========================================================*/

.course-pagination a,
.course-pagination span{

    width:46px;

    height:46px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:14px;

    background:#ffffff;

    border:1px solid var(--border);

    color:var(--text);

    font-weight:600;

    transition:.30s;

}


/*=========================================================
HOVER
=========================================================*/

.course-pagination a:hover{

    background:var(--secondary);

    border-color:var(--secondary);

    color:#ffffff;

    transform:translateY(-2px);

}


/*=========================================================
CURRENT PAGE
=========================================================*/

.course-pagination .current{

    background:

        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color:#ffffff;

    border-color:transparent;

    box-shadow:

        0 10px 24px rgba(27,117,208,.22);

}


/*=========================================================
PREV NEXT
=========================================================*/

.course-pagination .prev,
.course-pagination .next{

    width:auto;

    padding:0 18px;

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:991px){

    .course-skeleton-grid{

        grid-template-columns:repeat(2,1fr);

    }

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    .course-skeleton-grid{

        grid-template-columns:1fr;

    }

    .course-empty{

        padding:50px 20px;

    }

    .course-empty h3{

        font-size:22px;

    }

    .course-pagination{

        gap:8px;

    }

    .course-pagination a,
    .course-pagination span{

        width:42px;

        height:42px;

        border-radius:12px;

    }

}
/*=========================================================
VERSION 2.0
PART 6
CTA + FEATURES + FINAL POLISH
=========================================================*/


/*=========================================================
WHY CHOOSE SECTION
=========================================================*/

.why-choose-section{

    padding:90px 0;

    background:var(--bg-light);

}

.why-choose-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:28px;

    margin-top:50px;

}

.why-card{

    padding:34px 28px;

    background:#ffffff;

    border-radius:22px;

    border:1px solid rgba(15,23,42,.06);

    box-shadow:var(--shadow-sm);

    transition:.35s;

}

.why-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-lg);

}

.why-card-icon{

    width:64px;

    height:64px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:18px;

    margin-bottom:22px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#ffffff;

}

.why-card-icon svg{

    width:30px;

    height:30px;

}

.why-card h3{

    margin-bottom:12px;

    font-size:22px;

    color:var(--primary);

}

.why-card p{

    color:var(--text-light);

    line-height:1.8;

}


/*=========================================================
PARTNER UNIVERSITIES
=========================================================*/

.partner-section{

    padding:90px 0;

}

.partner-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:24px;

    margin-top:45px;

}

.partner-card{

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:140px;

    padding:24px;

    border-radius:20px;

    background:#ffffff;

    border:1px solid rgba(15,23,42,.05);

    box-shadow:var(--shadow-xs);

    transition:.35s;

}

.partner-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow);

}

.partner-card img{

    max-height:70px;

    width:auto;

    object-fit:contain;

    filter:grayscale(.1);

    transition:.30s;

}

.partner-card:hover img{

    transform:scale(1.05);

    filter:none;

}


/*=========================================================
FINAL CTA
=========================================================*/

.archive-cta{

    position:relative;

    overflow:hidden;

    padding:90px 40px;

    border-radius:30px;

    text-align:center;

    background:

        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color:#ffffff;

}

.archive-cta::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    right:-180px;

    top:-180px;

    border-radius:50%;

    background:

        radial-gradient(
            rgba(255,255,255,.15),
            transparent 70%
        );

}

.archive-cta>*{

    position:relative;

    z-index:2;

}

.archive-cta h2{

    color:#ffffff;

    font-size:clamp(32px,5vw,52px);

    margin-bottom:18px;

}

.archive-cta p{

    max-width:760px;

    margin:0 auto 34px;

    color:rgba(255,255,255,.92);

    font-size:18px;

}

.archive-cta .course-btn{

    display:inline-flex;

    width:auto;

    padding:0 34px;

    background:#ffffff;

    color:var(--primary);

}

.archive-cta .course-btn:hover{

    color:var(--primary);

}


/*=========================================================
SECTION TITLES
=========================================================*/

.section-header{

    text-align:center;

    max-width:760px;

    margin:0 auto 20px;

}

.section-header h2{

    margin-bottom:14px;

}

.section-header p{

    font-size:17px;

}


/*=========================================================
IMAGE OPTIMIZATION
=========================================================*/

.course-card img,
.partner-card img{

    image-rendering:auto;

}


/*=========================================================
HOVER IMPROVEMENTS
=========================================================*/

.course-card,
.partner-card,
.why-card,
.category-tab,
.reset-filter-btn,
.course-btn{

    will-change:transform;

}


/*=========================================================
UTILITY SPACING
=========================================================*/

.mt-0{margin-top:0!important;}
.mt-1{margin-top:10px!important;}
.mt-2{margin-top:20px!important;}
.mt-3{margin-top:30px!important;}
.mt-4{margin-top:40px!important;}

.mb-0{margin-bottom:0!important;}
.mb-1{margin-bottom:10px!important;}
.mb-2{margin-bottom:20px!important;}
.mb-3{margin-bottom:30px!important;}
.mb-4{margin-bottom:40px!important;}


/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:991px){

    .archive-cta{

        padding:70px 30px;

    }

}

@media(max-width:768px){

    .why-choose-section,
    .partner-section{

        padding:60px 0;

    }

    .why-card{

        padding:26px 22px;

    }

    .partner-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .archive-cta{

        padding:60px 24px;

        border-radius:22px;

    }

    .archive-cta h2{

        font-size:30px;

    }

    .archive-cta p{

        font-size:16px;

    }

}

@media(max-width:480px){

    .partner-grid{

        grid-template-columns:1fr;

    }

}