/* ============================================================
   EDU HEADER + PROGRAM FILTER
   ============================================================ */

.edu-header,
.edu-filter {
    --edu-navy: #243b87;
    --edu-navy-dark: #1b2d6b;
    --edu-blue: #3f51e0;
    --edu-text: #1f2937;
    --edu-muted: #6b7280;
    --edu-line: #e5e7eb;
    --edu-radius: 22px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.edu-header *,
.edu-header *::before,
.edu-header *::after,
.edu-filter *,
.edu-filter *::before,
.edu-filter *::after {
    box-sizing: border-box;
}

.edu-header ul,
.edu-filter ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.edu-header :focus-visible,
.edu-filter :focus-visible {
    outline: 2px solid var(--edu-blue);
    outline-offset: 2px;
}


/* ------------------------------------------------------------
   HEADER (desktop)
   ------------------------------------------------------------ */
.edu-header {
    position: relative;
    z-index: 1000;
background: rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(3px);
  padding: 5px 0px;

}

.edu-header__inner {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    width: min(1200px, calc(100% - 100px));
    min-height: 84px;
    margin: 0 auto;
    padding: 0;
}



.edu-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.edu-logo a {
    color: var(--edu-navy);
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

.edu-logo img {
    display: block;
    width: auto;
    max-height: 56px;
}

.edu-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex: 1;
    gap: 24px;
	z-index:9999;
}

.edu-menu {
    display: flex;
    align-items: stretch;
    gap: 36px;
    margin: 0 0px 0px auto !important;
}

.edu-menu__item {
    display: flex;
    align-items: center;
    margin: 0;
}

.edu-menu__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    background: none;
    border: 0;
    color: #000;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s;
}

.edu-menu__link:hover,
.edu-has-mega.is-open > .edu-mega-toggle {
    color: var(--edu-navy);
    background: none;
}

.edu-caret {
    width: 10px;
    height: 6px;
    transition: transform .2s;
}

.edu-has-mega:not(.is-open) .edu-mega-toggle .edu-caret {
    transform: rotate(180deg);
}

.edu-cta {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--edu-navy);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
}

.edu-cta:hover {
    background: var(--edu-navy-dark);
    color: #fff;
}

.edu-cta svg {
    width: 7px;
    height: 11px;
}

.edu-burger {
    display: none;
}


/* ------------------------------------------------------------
   MEGA DROPDOWN (desktop)
   ------------------------------------------------------------ */
.edu-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}

.edu-has-mega.is-open .edu-mega {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.edu-mega__card {
    position: relative;
    min-height: 340px;
    padding: 12px 0 60px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
}

.edu-unis {
    width: 300px;
    padding: 8px 12px !important;
}

.edu-uni__row {
    display: flex;
    align-items: center;
}

.edu-uni__link {
    display: block;
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--edu-muted);
    font-size: 14px;
    font-weight:600;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.edu-uni.is-active > .edu-uni__row > .edu-uni__link {
    background: #eef1fb;
    color: var(--edu-navy);
    font-weight: 600;
}

.edu-uni__toggle {
    display: none;
}

.edu-uni__list {
    position: absolute;
    top: 0;
    bottom: 60px;
    left: 300px;
    right: 0;
    display: none;
    padding: 22px 28px !important;
    border-left: 1px solid var(--edu-line);
    overflow: auto;
}

.edu-uni.is-active > .edu-uni__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: max-content;
    gap: 16px;
    align-content: start;
}

.edu-uni__empty {
    grid-column: 1 / -1;
    padding: 9px 0;
    color: var(--edu-muted);
    font-size: 15px;
}

.edu-mega__all {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 28px;
    border-top: 1px solid var(--edu-line);
    text-align: right;
}

.edu-mega__all a {
    color: var(--edu-navy);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.edu-mega__all a:hover {
    text-decoration: underline;
}


/* ------------------------------------------------------------
   PROGRAM FILTER LAYOUT
   ------------------------------------------------------------ */
.edu-filter {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 25px;
    align-items: start;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0;
}

.edu-filter__sidebar {
    position: sticky;
    top: 24px;
    padding: 28px 34px;
    background: #fff;
    border-radius: 22px;
}

.edu-filter__btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--edu-muted);
    font: inherit;
    font-size: 17px;
    text-align: left;
    cursor: pointer;
    transition: color .15s;
}

.edu-filter__btn:hover {
    color: var(--edu-navy);
    background: none;
}

.edu-filter__btn.is-active {
    color: #111;
    font-weight: 600;
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}







/* ------------------------------------------------------------
   PROGRAM CARD
   ------------------------------------------------------------ */
.edu-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 237px;
    overflow: hidden;
    background: #fff;
    border-radius: var(--edu-radius);
    transition: transform .2s, box-shadow .2s;
}

.edu-card[hidden] {
    display: none;
}

.edu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(36, 59, 135, .18);
}

.edu-card__head {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 16px 20px;
    background: var(--edu-navy);
    text-align: center;
}

.edu-filter .edu-card__title {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.edu-card__title a {
    color: inherit;
    text-decoration: none;
}

/* whole card is clickable */
.edu-card__title a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.edu-card__meta {
    display: grid;
    gap: 10px;
    padding: 22px 26px !important;
}

.edu-card__meta li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111;
    font-weight: 500;
}

.edu-card__meta svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--edu-blue);
}

.edu-empty {
    padding: 28px;
    background: #fff;
    border-radius: 22px;
    color: var(--edu-muted);
    text-align: center;
}

.edu-empty[hidden] {
    display: none;
}




/* ------------------------------------------------------------
   TABLET / MOBILE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
    
    
    .edu-header__inner {
  width: min(1024px, calc(100% - 60px));
    }
}   
   
   
   
@media (max-width: 991px) {

    .edu-header__inner {
        position: static;
        width: calc(100% - 60px);
        min-height: 72px;
        padding: 0;
    }

    .edu-burger {
        position: relative;
        display: block;
        align-self: center;
        width: 44px;
        height: 44px;
        padding: 0;
        background: none;
        border: 1px solid rgba(0, 0, 0, .15);
        border-radius: 10px;
        cursor: pointer;
    }

    .edu-burger span,
    .edu-burger span::before,
    .edu-burger span::after {
        position: absolute;
        height: 2px;
        background: var(--edu-navy);
        transition: transform .2s, background .2s;
    }

    .edu-burger span {
        top: 20px;
        left: 11px;
        right: 11px;
    }

    .edu-burger span::before,
    .edu-burger span::after {
        content: '';
        left: 0;
        right: 0;
    }

    .edu-burger span::before { top: -7px; }
    .edu-burger span::after  { top: 7px; }

    .edu-burger[aria-expanded="true"] span { background: transparent; }
    .edu-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
    .edu-burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

    .edu-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        max-height: calc(100vh - 72px);
        padding: 8px 20px 24px;
        overflow-y: auto;
        background: #fff;
        box-shadow: 0 16px 30px rgba(15, 23, 42, .12);
    }

    .edu-nav.is-open {
        display: flex;
    }

    .edu-menu {
        flex-direction: column;
        gap: 0;
        margin: 0 !important;
    }

    .edu-menu__item {
        display: block;
        border-bottom: 1px solid #eef0f4;
    }

    .edu-menu__link {
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
    }

    .edu-cta {
        align-self: stretch;
        justify-content: center;
    }

    /* dropdown becomes an accordion */
    .edu-mega {
        position: static;
        display: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .edu-has-mega.is-open .edu-mega {
        display: block;
    }

    .edu-mega__card {
        min-height: 0;
        padding: 0 0 8px;
        border-radius: 0;
        box-shadow: none;
    }

    .edu-unis {
        width: auto;
        padding: 0 !important;
    }

    .edu-uni__link {
        padding: 12px 8px;
    }

    .edu-uni__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        background: none;
        border: 0;
        color: var(--edu-navy);
        cursor: pointer;
    }

    .edu-uni.is-active > .edu-uni__list {
        grid-template-columns: 1fr;
    }

    .edu-uni__toggle .edu-caret {
        transform: rotate(180deg);
    }

    .edu-uni.is-active > .edu-uni__row .edu-uni__toggle .edu-caret {
        transform: none;
    }

    .edu-uni__list {
        position: static;
        padding: 4px 0 12px !important;
        border-left: 0;
        overflow: visible;
    }

    .edu-mega__all {
        position: static;
        padding: 8px;
        border-top: 0;
        text-align: left;
    }

    /* filter: sidebar becomes a scrolling chip row */
    .edu-filter {
        grid-template-columns: 1fr;
        gap: 16px;
        width: calc(100% - 40px);
        padding: 0;
    }

    .edu-filter__sidebar {
        position: static;
        padding: 12px;
        border-radius: 16px;
    }

    .edu-filter__list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .edu-filter__btn {
        width: auto;
        padding: 10px 16px;
        border-radius: 999px;
        background: #f3f4f8;
        font-size: 15px;
        white-space: nowrap;
    }

    .edu-filter__btn:hover {
        background: #e7eaf6;
    }

    .edu-filter__btn.is-active {
        background: var(--edu-navy);
        color: #fff;
    }
}

@media (max-width: 560px) {
    .edu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .edu-card {
        min-height: 0;
    }
    
        .edu-header__inner {
  width: calc(100% - 30px);
    }
    
    
}

@media (prefers-reduced-motion: reduce) {
    .edu-header *,
    .edu-filter * {
        transition: none !important;
    }
}


/* ------------------------------------------------------------
   HELLO ELEMENTOR RESET OVERRIDES
   (its default button/link hover + focus colors are pink/purple)
   ------------------------------------------------------------ */
.edu-header .edu-menu__link:hover,
.edu-header .edu-menu__link:focus,
.edu-header .edu-burger:hover,
.edu-header .edu-burger:focus,
.edu-header .edu-uni__toggle:hover,
.edu-header .edu-uni__toggle:focus {
    background: none;
    color: var(--edu-navy);
}

.edu-header .edu-logo a:hover,
.edu-header .edu-logo a:focus {
    color: var(--edu-navy);
}

.edu-header .edu-cta:hover,
.edu-header .edu-cta:focus {
    background: var(--edu-navy-dark);
    color: #fff;
}

.edu-filter .edu-filter__btn:hover,
.edu-filter .edu-filter__btn:focus {
    background: none;
    color: var(--edu-navy);
}

.edu-filter .edu-filter__btn.is-active,
.edu-filter .edu-filter__btn.is-active:hover,
.edu-filter .edu-filter__btn.is-active:focus {
    color: #111;
}

.edu-filter .edu-card__title a,
.edu-filter .edu-card__title a:hover,
.edu-filter .edu-card__title a:focus {
    color: #fff;
}

@media (max-width: 991px) {
    .edu-filter .edu-filter__btn {
        background: #f3f4f8;
    }

    .edu-filter .edu-filter__btn:hover,
    .edu-filter .edu-filter__btn:focus {
        background: #e7eaf6;
        color: var(--edu-navy);
    }

    .edu-filter .edu-filter__btn.is-active,
    .edu-filter .edu-filter__btn.is-active:hover,
    .edu-filter .edu-filter__btn.is-active:focus {
        background: var(--edu-navy);
        color: #fff;
    }
}


/* ------------------------------------------------------------
   PROGRAM CARDS INSIDE THE DROPDOWN
   ------------------------------------------------------------ */
.edu-uni__list .edu-pcard {
    margin: 0;
}

.edu-uni__list .edu-pcard__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 150px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6e9f4;
    border-radius: 16px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.edu-uni__list .edu-pcard__link:hover,
.edu-uni__list .edu-pcard__link:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(36, 59, 135, .18);
}

.edu-pcard__head {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px 14px;
    background: var(--edu-navy);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.edu-pcard__meta {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
}

.edu-pcard__row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #767676;
    font-size: 12px;
    font-weight: 500;
}

.edu-pcard__row svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: var(--edu-blue);
}


/* Poppins everywhere inside the header dropdown and filter */
.edu-header button,
.edu-header a,
.edu-filter button,
.edu-filter a,
.edu-filter h3 {
    font-family: inherit;
}