/* =====================================================================
   IHM Bhubaneswar - Redesign (Step 1: Header + Hero/Slider)
   Inspired by estudiar.vamtam.com — content is original.
   Scoped with .edu-* classes so it overrides the base theme cleanly
   without touching the rest of the site.
   ===================================================================== */

:root {
    --edu-navy: #292929;
    --edu-navy-dark: #14203b;
    --edu-gold: #FFC53A;
    --edu-gold-dark: #e0a200;
    --edu-white: #ffffff;
    --edu-text: #2b3245;
    --edu-display-font: "Work Sans", sans-serif;
}

/* Backstop: prevent any full-width section from creating a horizontal
   scrollbar. The theme uses fixed (not sticky) positioning, so clipping
   horizontal overflow here is safe. */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ---------------------------------------------------------------------
   1. HEADER
   --------------------------------------------------------------------- */

   /* =====================================================================
   TOP BAR — institution quick links (clean, aligned, on-brand)
   ===================================================================== */
.edu-topbar {
    display: block;
    background: #fff;
    border-bottom: 1px solid #ececf0;
    padding: 0;
}

.edu-topbar .container-fluid > .row {
    align-items: center;
    min-height: 34px;
}

/* Reset the theme's inline-block list into a clean flex row */
.edu-topbar .ltn__top-bar-menu > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    justify-content: center;
}

/* Left items pack from the left, right items push to the right */
.edu-topbar .top-bar-right .ltn__top-bar-menu > ul {
    justify-content: center;
}

.edu-topbar .ltn__top-bar-menu > ul > li {
    margin: 0;
    padding: 0 16px;
    position: relative;
    line-height: 1.4;
}

/* Thin gold dividers between items */
.edu-topbar .ltn__top-bar-menu > ul > li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.18);
}

.edu-topbar .ltn__top-bar-menu > ul > li:first-child { padding-left: 0; }
.edu-topbar .top-bar-right .ltn__top-bar-menu > ul > li:last-child { padding-right: 0; }

.edu-topbar .ltn__top-bar-menu > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--edu-body-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #000;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.edu-topbar .ltn__top-bar-menu > ul > li > a > i {
    font-size: 13px;
    color: var(--edu-gold);
    margin: 0;
    transition: color 0.25s ease;
}

.edu-topbar .ltn__top-bar-menu > ul > li > a:hover {
    color: #000;
}

.edu-topbar .ltn__top-bar-menu > ul > li > a:hover > i {
    color: #ffce4d;
}

/* Responsive top bar */
@media (max-width: 991px) {
    .edu-topbar { padding: 8px 0; }
    .edu-topbar .container > .row { min-height: 0; }

    /* Stacked, centered groups with a little breathing room between them */
    .edu-topbar .col-md-5,
    .edu-topbar .col-md-7 {
        text-align: center;
    }
    .edu-topbar .col-md-5 { margin-bottom: 6px; }

    .edu-topbar .ltn__top-bar-menu > ul,
    .edu-topbar .top-bar-right .ltn__top-bar-menu > ul {
        justify-content: center;
    }
    .edu-topbar .top-bar-right { text-align: center; }

    /* Allow items to wrap cleanly, and drop dividers on wrapped rows */
    .edu-topbar .ltn__top-bar-menu > ul { row-gap: 6px; }
    .edu-topbar .ltn__top-bar-menu > ul > li + li::before { display: none; }
    .edu-topbar .ltn__top-bar-menu > ul > li:first-child { padding-left: 12px; }
}

@media (max-width: 767px) {
    .edu-topbar .ltn__top-bar-menu > ul > li {
        padding: 2px 10px;
    }
    .edu-topbar .ltn__top-bar-menu > ul > li > a { font-size: 12.5px; }
}

@media (max-width: 400px) {
    /* Very narrow: stack each quick link on its own line, still centered */
    .edu-topbar .top-bar-right .ltn__top-bar-menu > ul { flex-direction: column; }
    .edu-topbar .top-bar-right .ltn__top-bar-menu > ul > li { padding: 3px 0; }
}



/* Header base: full-width navy bar.
   High z-index so it stays above the fixed mega menu panel (z-index 1200)
   and its overlay (z-index 1100) — keeps the toggle/language controls usable. */
.edu-header {
    position: relative;
    z-index: 1300;
}

/* Full-width header container with comfortable side padding.
   box-sizing keeps custom padding inside the 100% width so it never
   adds up to more than the viewport. */
.edu-header-container {
    width: 100%;
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Neutralise Bootstrap's negative row gutters inside full-width containers. */
.edu-header-container > .row {
    margin-left: 0;
    margin-right: 0;
}

/* ---- Row 1: centered logo bar (white) ---- */
.edu-logo-bar {
    background-color: #fff;
    padding: 18px 0;
    text-align: center;
}

.edu-logo-centered a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    line-height: 1;
}

.edu-logo-centered .edu-logo-badge {
    width: 54px;
    height: 54px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.edu-logo-centered .edu-logo-text {
    
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
    white-space: nowrap;
    font-family: var(--font-heading);
}

/* ---- Row 2: full-width navigation bar (light) ---- */
.edu-header-middle {
    background-color: #fff;
    box-shadow: none;
    padding: 0;
    border-top: 1px solid #ececf0;
    border-bottom: 1px solid #ececf0;
}

.edu-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.edu-header-menu-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

/* --- Main navigation --- */
.edu-main-menu {
    text-align: left;
}

.edu-main-menu > ul {
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}
.ltn__main-menu li > ul, .ltn__main-menu .sub-menu{
    border-color:var(--edu-gold) ;
}
.ltn__main-menu li{
    color: #000;
}
.ltn__main-menu li ul li, .ltn__main-menu .sub-menu li {
    padding: 12px 2px 0px 30px;
}
.ltn__main-menu li:hover > a{
    color:var(--edu-gold);
}

.edu-main-menu > ul > li {
    margin-right: 2px;
    position: relative;
}

.edu-main-menu > ul > li > a {
    
    font-size: 14px;
    font-weight: 600;
    color: #222834 !important;
    padding: 16px 11px;
    border-radius: 0;
    transition: color 0.25s ease;
    white-space: nowrap;
}

/* Home icon item */
.edu-home-item > a {
    font-size: 16px;
    padding: 16px 12px;
}

.edu-home-item > a i {
    position: relative;
    top: 1px;
}

/* Remove the base theme's built-in "+" (\f067) so we don't get a double icon */
.edu-main-menu > ul > li.menu-icon > a::before {
    content: none !important;
    display: none !important;
}

/* Single clean chevron indicator */
.edu-main-menu > ul > li.menu-icon > a::after {
    content: "\f107"; /* fa chevron-down */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.55;
    position: static;
    border: 0;
    display: inline-block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.edu-main-menu > ul > li.menu-icon:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

.edu-main-menu > ul > li:hover > a {
    color: var(--edu-gold-dark) !important;
    background-color: transparent;
}

/* Active item (Home) */
.edu-main-menu > ul > li.current-menu-item > a {
    background-color: transparent;
    color: var(--edu-gold-dark) !important;
}

.edu-main-menu > ul > li.current-menu-item:hover > a {
    background-color: transparent;
    color: var(--edu-gold-dark) !important;
}

/* ---- Dropdown submenus (redesigned) ---- */
.edu-main-menu .sub-menu {
    background: #fff;
    border: 0;
    border-top: 3px solid var(--edu-gold);
    box-shadow: 0 18px 40px rgba(27, 42, 78, 0.16);
    border-radius: 0 0 10px 10px;
    padding: 10px 0;
    min-width: 268px;
    /* Entry animation */
    transform: translateY(10px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.edu-main-menu > ul > li:hover > .sub-menu {
    transform: translateY(0);
}

.edu-main-menu .sub-menu li {
    padding: 0 !important;
    border: 0;
    line-height: 1.4;
}

.edu-main-menu .sub-menu li > a {
    display: block;
    
    font-size: 14px;
    font-weight: 500;
    color: #4a5162;
    padding: 11px 24px 11px 24px;
    position: relative;
    border-left: 3px solid transparent;
    transition: color 0.22s ease, background-color 0.22s ease,
                padding-left 0.22s ease, border-color 0.22s ease;
}

/* Thin divider between items */
.edu-main-menu .sub-menu li + li > a {
    border-top: 1px solid #f1f2f5;
}

.edu-main-menu .sub-menu li:hover > a {
    color: var(--edu-gold-dark);
    background-color: #fbf6e9;
    padding-left: 30px;
    border-left-color: var(--edu-gold);
}

/* Hide the leftover "home demos" image submenu from the base theme */
.edu-hidden-submenu {
    display: none !important;
}

/* --- Header right-side options (search + menu grid) --- */
.edu-header .edu-header-options {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: auto;
    margin-left: 12px !important;
}

.edu-header .edu-header-options > div {
    margin-right: 0 !important;
}

/* Mega-menu grid toggle button */
.edu-megamenu-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.edu-megamenu-btn:hover {
    background-color: rgba(27, 42, 78, 0.06);
}

/* 2x2 grid icon */
.edu-grid-icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    width: 18px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.edu-grid-icon span {
    display: block;
    width: 100%;
    height: 7px;
    background-color: var(--edu-navy);
    border-radius: 2px;
    transition: background-color 0.25s ease;
}

/* Golden accent on first cell to echo the reference */
.edu-grid-icon span:first-child {
    background-color: var(--edu-gold);
}

.edu-megamenu-btn:hover .edu-grid-icon span {
    background-color: var(--edu-gold-dark);
}

/* Close (×) shown only when open */
.edu-close-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--edu-navy);
    font-size: 28px;
    line-height: 1;
    opacity: 0;
    transform: scale(0.6) rotate(-90deg);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Open state */
.edu-megamenu-btn.edu-open {
    background-color: rgba(27, 42, 78, 0.08);
}

.edu-megamenu-btn.edu-open .edu-grid-icon {
    opacity: 0;
    transform: scale(0.6);
}

.edu-megamenu-btn.edu-open .edu-close-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ---- Language selector ---- */
.edu-lang-toggle {
    position: relative;
}

.edu-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #e3e6eb;
    background: #fff;
    color: var(--edu-navy);
    
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.edu-lang-btn:hover {
    border-color: var(--edu-gold);
    color: var(--edu-gold-dark);
}

.edu-lang-btn > i:first-child {
    font-size: 15px;
    color: var(--edu-gold-dark);
}

.edu-lang-caret {
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.25s ease;
}

.edu-lang-toggle.edu-lang-open .edu-lang-caret {
    transform: rotate(180deg);
}

/* Dropdown menu */
.edu-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border-radius: 8px;
    border-top: 3px solid var(--edu-gold);
    box-shadow: 0 16px 34px rgba(27, 42, 78, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 60;
}

.edu-lang-toggle.edu-lang-open .edu-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.edu-lang-menu li a {
    display: block;
    padding: 10px 18px;
    
    font-size: 14px;
    font-weight: 500;
    color: #4a5162;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.edu-lang-menu li a:hover {
    color: var(--edu-gold-dark);
    background: #fbf6e9;
    padding-left: 24px;
}

.edu-lang-menu li a.is-active {
    color: var(--edu-navy);
    font-weight: 600;
    position: relative;
}

.edu-lang-menu li a.is-active::after {
    content: "\f00c"; /* fa check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 11px;
    color: var(--edu-gold-dark);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* Sticky state — the nav bar sticks to the top (logo bar scrolls away) */
.edu-header-middle.sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 18px rgba(27, 42, 78, 0.12);
    border-top: 0;
    animation: eduSlideDown 0.4s ease;
    /* Keep the sticky nav bar above the mega menu panel + overlay so the
       close (×) toggle and language selector stay clickable. */
    z-index: 1300;
}

@keyframes eduSlideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/* ---------------------------------------------------------------------
   1b. MEGA MENU PANEL (opens from grid icon, full-width)
   --------------------------------------------------------------------- */

.edu-megamenu {
    /* Always fixed to the viewport. `top` is set dynamically by JS so the
       panel opens directly under the header wherever the user has scrolled. */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    z-index: 1200;
    box-shadow: 0 24px 40px rgba(15, 22, 40, 0.16);
    /* Never taller than the space below the header; scroll internally. */
    max-height: calc(100vh - var(--edu-mm-top, 60px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Closed state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    pointer-events: none;
    transition: opacity 0.32s ease,
                transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s linear 0.42s;
}

.edu-megamenu.edu-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.35s ease,
                transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s;
}

.edu-megamenu-body {
    padding: 55px 0 45px;
}

.edu-megamenu-row {
    align-items: stretch;
}

/* Primary nav inside mega menu — desktop hides it (top bar handles nav) */
.edu-mm-nav {
    display: none;
    margin-bottom: 30px;
    border-bottom: 1px solid #ececf0;
    padding-bottom: 10px;
}

.edu-mm-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.edu-mm-nav li a {
    display: block;
    
    font-size: 18px;
    font-weight: 600;
    color: var(--edu-navy);
    padding: 12px 0;
    border-bottom: 1px solid #f0f1f4;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.edu-mm-nav li a:hover {
    color: var(--edu-gold-dark);
    padding-left: 8px;
}

@media (max-width: 1199px) {
    .edu-mm-nav { display: block; }
}

.edu-mm-col {
    padding-top: 6px;
    padding-bottom: 6px;
    /* Subtle staggered reveal of columns */
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.edu-megamenu.edu-open .edu-mm-col {
    opacity: 1;
    transform: translateY(0);
}

.edu-megamenu.edu-open .edu-mm-col:nth-child(1) { transition-delay: 0.10s; }
.edu-megamenu.edu-open .edu-mm-col:nth-child(2) { transition-delay: 0.16s; }
.edu-megamenu.edu-open .edu-mm-col:nth-child(3) { transition-delay: 0.22s; }
.edu-megamenu.edu-open .edu-mm-col:nth-child(4) { transition-delay: 0.28s; }

.edu-mm-title {
    
    font-size: 22px;
    font-weight: 700;
    color: var(--edu-navy);
    margin-bottom: 20px;
}

.edu-mm-text {
    font-size: 14px;
    line-height: 1.7;
    color: #5c6474;
    margin-bottom: 22px;
}

/* Arrow link used across columns */
.edu-mm-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    
    font-size: 14px;
    font-weight: 600;
    color: var(--edu-navy);
    transition: color 0.25s ease, gap 0.25s ease;
}

.edu-mm-link i {
    font-size: 12px;
    color: var(--edu-gold-dark);
    transition: transform 0.25s ease;
}

.edu-mm-link:hover {
    color: var(--edu-gold-dark);
    gap: 13px;
}

.edu-mm-link:hover i {
    transform: translateX(3px);
}

/* News / blog post list */
.edu-mm-postlist {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.edu-mm-postlist li {
    padding: 0 0 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #ececf0;
}

.edu-mm-post-title {
    display: block;
    
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--edu-navy);
    margin-bottom: 6px;
    transition: color 0.25s ease;
}

.edu-mm-post-title:hover { color: var(--edu-gold-dark); }

.edu-mm-post-date {
    font-size: 12px;
    color: #9aa0ac;
}

/* Directory link list */
.edu-mm-linklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.edu-mm-linklist li {
    border-bottom: 1px solid #ececf0;
}

.edu-mm-linklist li a {
    display: block;
    padding: 13px 0;
    font-size: 14px;
    font-weight: 500;
    color: #4a5162;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.edu-mm-linklist li a:hover {
    color: var(--edu-navy);
    padding-left: 8px;
}

/* ---- Alumni testimonial card (clean, no image overlap) ---- */
.edu-mm-col-alumni {
    padding-left: 0;
    padding-right: 0;
    display: flex;
}

.edu-mm-alumni {
    position: relative;
    width: 100%;
    background: linear-gradient(160deg, #eef4fb 0%, #dfeaf5 100%);
    border: 1px solid #dce6f2;
    border-radius: 12px;
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 26px rgba(27, 42, 78, 0.06);
}

/* Header: quote mark + label */
.edu-mm-alumni-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.edu-mm-alumni-head .edu-mm-title {
    margin-bottom: 0;
}

.edu-mm-quote-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--edu-gold);
    color: var(--edu-navy);
    
    font-size: 34px;
    line-height: 0;
    padding-top: 14px;
    flex-shrink: 0;
}

.edu-mm-quote {
    font-size: 14px;
    line-height: 1.65;
    color: #34405a;
    font-style: italic;
    margin-bottom: 20px;
}

/* Person row: avatar + name */
.edu-mm-alumni-person {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    margin-bottom: 18px;
    border-top: 1px solid #d3e0ee;
}

.edu-mm-alumni-avatar {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(27, 42, 78, 0.15);
}

.edu-mm-alumni-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.edu-mm-alumni-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.edu-mm-alumni-meta strong {
    
    font-size: 15px;
    font-weight: 700;
    color: var(--edu-navy);
}

.edu-mm-alumni-meta span {
    font-size: 12.5px;
    color: #5c6474;
}

.edu-mm-alumni .edu-mm-link {
    margin-top: auto;
}

/* Bottom CTA bar */
.edu-megamenu-cta {
    background: #f4f5f7;
    border-top: 1px solid #e7e8ec;
    padding: 26px 20px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.edu-mm-btn {
    min-width: 190px;
    text-align: center;
    padding: 15px 26px;
    background: var(--edu-navy);
    color: #fff !important;
    
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.25s ease, transform 0.2s ease;
}

.edu-mm-btn:hover {
    background: var(--edu-navy-dark);
    transform: translateY(-2px);
}

.edu-mm-btn-primary {
    background: var(--edu-gold);
    color: var(--edu-navy) !important;
}

.edu-mm-btn-primary:hover {
    background: var(--edu-gold-dark);
    color: var(--edu-navy) !important;
}

/* Dim overlay behind the mega menu */
.edu-megamenu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 22, 40, 0.45);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.edu-megamenu-overlay.edu-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease;
}

body.edu-menu-open {
    overflow: hidden;
}

/* ---------------------------------------------------------------------
   2. HERO / SLIDER  (premium, hospitality-grade)
   --------------------------------------------------------------------- */


/* =====================================================================
   HERO / SLIDER  (full-image, no crop — responsive)
   ===================================================================== */

.edu-hero-area {
    position: relative;
    background-color: #0b1120;
}

.edu-hero-slider {
    position: relative;
}

/* Each slide: height follows the image so nothing is cropped */
.edu-hero-item {
    position: relative;
    overflow: hidden;
}

/* Full image — no crop, no stretch, no distortion */
.edu-hero-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Bottom gradient so the caption stays readable over any image area */
.edu-hero-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top,
        rgba(11, 17, 32, 0.78) 0%,
        rgba(11, 17, 32, 0.40) 45%,
        rgba(11, 17, 32, 0) 100%);
}

/* Caption anchored to the bottom-right corner */
.edu-hero-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    max-width: min(680px, 80%);
    padding: 0 clamp(24px, 5vw, 70px) clamp(24px, 4vw, 56px) 40px;
    text-align: right;
}

.edu-hero-title {
    color: #fff !important;
    font-family: var(--edu-display-font);
    font-weight: 700;
    font-size: clamp(22px, 2.8vw, 40px);
    line-height: 1.22;
    letter-spacing: -0.2px;
    margin: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.edu-hero-accent {
    color: var(--edu-gold);
    font-style: italic;
    font-weight: 700;
}

/* ---- Content reveal animation (only when slick is initialized) ---- */
.edu-hero-slider.slick-initialized .edu-hero-caption [data-anim] {
    opacity: 0;
    transform: translateY(20px);
}

.edu-hero-slider.slick-initialized .slick-current .edu-hero-caption [data-anim] {
    animation: eduHeroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.35s;
}

@keyframes eduHeroReveal {
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Slick arrows ---- */
.edu-hero-slider .slick-prev,
.edu-hero-slider .slick-next {
    width: 56px;
    height: 56px;
    z-index: 6;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.edu-hero-slider .slick-prev { left: 34px; }
.edu-hero-slider .slick-next { right: 34px; }

.edu-hero-slider .slick-prev:hover,
.edu-hero-slider .slick-next:hover {
    background: var(--edu-gold);
    border-color: var(--edu-gold);
    transform: translateY(-50%) scale(1.06);
}

.edu-hero-slider .slick-prev:before,
.edu-hero-slider .slick-next:before {
    display: none;
}

.edu-hero-slider .slick-prev i,
.edu-hero-slider .slick-next i {
    color: #fff;
    font-size: 17px;
    transition: color 0.3s ease;
}

.edu-hero-slider .slick-prev:hover i,
.edu-hero-slider .slick-next:hover i {
    color: var(--edu-navy);
}

/* ---- Slick dots (progress-bar style) ---- */
.edu-hero-slider .slick-dots {
    bottom: 26px;
    text-align: left;
    z-index: 6;
    width: auto;
    left: 0;
    right: 0;
    padding-left: max(40px, calc((100% - 1140px) / 2 + 12px));
}

.edu-hero-slider .slick-dots li {
    width: auto;
    height: auto;
    margin: 0 6px 0 0;
}

.edu-hero-slider .slick-dots li button {
    width: 34px;
    height: 4px;
    padding: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease, width 0.3s ease;
}

.edu-hero-slider .slick-dots li button:before {
    display: none;
}

.edu-hero-slider .slick-dots li.slick-active button {
    background: var(--edu-gold);
    width: 54px;
}

/* ---- Stats / trust bar under the slider ---- */
.edu-hero-stats {
    position: relative;
    z-index: 5;
    background: var(--edu-navy);
    padding: 26px 0;
}

.edu-hero-stats ul {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.edu-hero-stats li {
    display: flex;
    flex-direction: column;
    color: #fff;
    flex: 1;
    text-align: center;
    position: relative;
}

.edu-hero-stats li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 34px;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.edu-hero-stats strong {
    font-family: var(--edu-display-font);
    font-size: 32px;
    font-weight: 700;
    color: var(--edu-gold);
    line-height: 1.1;
}

.edu-hero-stats span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.4px;
    margin-top: 4px;
}

/* =====================================================================
   HERO / SLIDER — RESPONSIVE
   ===================================================================== */

/* Tablet / landscape */
@media (max-width: 1199px) {
    .edu-hero-slider .slick-dots { padding-left: 28px; bottom: 20px; }
    .edu-hero-slider .slick-prev { left: 18px; }
    .edu-hero-slider .slick-next { right: 18px; }
    .edu-hero-slider .slick-prev,
    .edu-hero-slider .slick-next { width: 48px; height: 48px; }
    .edu-hero-caption { padding: 0 clamp(20px, 4vw, 44px) clamp(20px, 3.5vw, 40px) 30px; }
    .edu-hero-title { font-size: clamp(20px, 3vw, 30px); }
}

/* Small tablet */
@media (max-width: 991px) {
    .edu-hero-stats strong { font-size: 26px; }
    .edu-hero-slider .slick-dots { bottom: 16px; padding-left: 22px; }
    .edu-hero-caption {
        max-width: 100%;
        left: 0;
        padding: 0 22px 22px 22px;
    }
    .edu-hero-title { font-size: clamp(19px, 3.4vw, 26px); }
    .edu-hero-item::after { height: 62%; }
}

/* Mobile */
@media (max-width: 767px) {
    /* Caption moves BELOW the image into a navy bar */
    .edu-hero-caption {
        position: static;
        max-width: 100%;
        text-align: center;
        padding: 18px 20px 20px;
        background: var(--edu-navy);
    }
    .edu-hero-title {
        font-size: clamp(18px, 5.2vw, 24px);
        line-height: 1.3;
        text-shadow: none;
    }
    .edu-hero-item::after { display: none; }

    /* Hide side arrows (swipe instead) */
    .edu-hero-slider .slick-prev,
    .edu-hero-slider .slick-next { display: none !important; }

    /* Dots centered in the navy strip */
    .edu-hero-slider .slick-dots {
        position: static;
        padding: 12px 0 4px;
        text-align: center;
        background: var(--edu-navy);
        margin: 0;
    }

    /* Stats bar: 2x2 grid */
    .edu-hero-stats ul { flex-wrap: wrap; }
    .edu-hero-stats li { flex: 0 0 50%; padding: 12px 0; }
    .edu-hero-stats li:nth-child(odd)::before { display: none; }
    .edu-hero-stats li:nth-child(3)::before,
    .edu-hero-stats li:nth-child(4)::before { display: none; }
}

@media (max-width: 480px) {
    .edu-hero-stats strong { font-size: 22px; }
    .edu-hero-stats span { font-size: 11.5px; }
}


/* ---------------------------------------------------------------------
   3. RESPONSIVE
   --------------------------------------------------------------------- */

/* Show desktop nav on xl */
@media (min-width: 1200px) {
    .edu-header .header-menu.d-none.d-xl-block { display: block !important; }
}

/* Large desktop down: tighten side padding */
@media (max-width: 1400px) {
    .edu-header-container { padding-left: 28px; padding-right: 28px; }
}

/* Tablet & down: hide inline nav, mega-menu grid becomes primary nav trigger.
   The nav bar keeps only the menu + search icons (aligned to the right). */
@media (max-width: 1199px) {
    .edu-main-menu { display: none; }

    .edu-header-menu-wrap { flex: 0 0 auto; }
    .edu-navbar-inner { justify-content: flex-end; padding: 6px 0; }
    .edu-header .edu-header-options { margin-left: 0 !important; }

    .edu-hero-item { height: 78vh;}
    .edu-hero-slider .slick-dots { padding-left: 40px; }

    /* Tighter internal padding on smaller screens (height/scroll handled
       by the base fixed-positioning rule + JS-set --edu-mm-top). */
    .edu-megamenu-body { padding: 40px 0 30px; }
}

@media (max-width: 991px) {
    .edu-header-container { padding-left: 20px; padding-right: 20px; }

    .edu-logo-bar { padding: 14px 0; }
    .edu-logo-centered .edu-logo-badge { width: 44px; height: 44px; }
    .edu-logo-centered .edu-logo-text { font-size: 22px; }

    /* Hero */
    .edu-hero-item { height: auto; }
    .edu-hero-inner { padding: 70px 0 130px; }
    .edu-hero-overlay {
        background:
            linear-gradient(90deg,
                rgba(11, 17, 32, 0.92) 0%,
                rgba(11, 17, 32, 0.72) 55%,
                rgba(11, 17, 32, 0.45) 100%),
            linear-gradient(0deg, rgba(11, 17, 32, 0.6) 0%, rgba(11, 17, 32, 0) 45%);
    }
    .edu-hero-stats strong { font-size: 24px; }
    .edu-hero-slider .slick-dots { bottom: 128px; }

    /* Stack mega-menu columns 2-up on tablet */
    .edu-mm-col { margin-bottom: 26px; }
    .edu-mm-col-alumni { display: block; }

    /* CTA bar full-width buttons */
    .edu-megamenu-cta { padding: 22px; }
}

@media (max-width: 767px) {
    .edu-logo-bar { padding: 12px 0; }
    .edu-logo-centered .edu-logo-badge { width: 40px; height: 40px; }
    .edu-logo-centered .edu-logo-text { font-size: 19px; }

    /* Mega menu: single column stack, alumni card resets */
    .edu-megamenu-body { padding: 30px 0 20px; }
    .edu-mm-col { margin-bottom: 24px; text-align: left; }
    .edu-mm-title { font-size: 20px; margin-bottom: 16px; }

    .edu-mm-alumni { padding: 22px 20px 24px; }
    .edu-mm-alumni-head .edu-mm-title { margin-bottom: 0; }

    .edu-megamenu-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .edu-mm-btn { min-width: 0; width: 100%; }

    /* Hero — mobile */
    .edu-hero-inner { padding: 60px 0 30px; }
    .edu-hero-content { max-width: 100%; }
    .edu-hero-kicker { font-size: 11px; letter-spacing: 1.5px; margin-bottom: 16px; }
    .edu-hero-subtitle { margin-bottom: 26px; }
    .edu-hero-actions { gap: 12px; }
    .edu-btn { padding: 13px 24px; font-size: 14px; }

    /* Simpler top-down overlay so text stays readable on portrait images */
    .edu-hero-overlay {
        background: linear-gradient(180deg,
            rgba(11, 17, 32, 0.55) 0%,
            rgba(11, 17, 32, 0.72) 55%,
            rgba(11, 17, 32, 0.92) 100%);
    }

    /* Hide arrows on mobile (swipe instead); keep progress dots */
    .edu-hero-slider .slick-prev,
    .edu-hero-slider .slick-next { display: none !important; }
    .edu-hero-slider .slick-dots { position: static; padding: 0; text-align: center; margin-top: -6px; }

    /* Stats bar: static below the slider, 2x2 grid */
    .edu-hero-stats {
        position: static;
        padding: 26px 0;
    }
    .edu-hero-stats ul { flex-wrap: wrap; }
    .edu-hero-stats li { flex: 0 0 50%; padding: 12px 0; }
    .edu-hero-stats li:nth-child(odd)::before { display: none; }
    .edu-hero-stats li:nth-child(3)::before,
    .edu-hero-stats li:nth-child(4)::before { display: none; }

    /* Compact language button on mobile */
    .edu-lang-btn { padding: 0 10px; font-size: 13px; }
}

@media (max-width: 480px) {
    .edu-header-options { min-width: auto; }
    .edu-hero-actions .edu-btn { width: 100%; justify-content: center; }
    .edu-hero-stats strong { font-size: 22px; }
    .edu-hero-stats span { font-size: 11.5px; }
}

/* ---------------------------------------------------------------------
   4. HOW TO APPLY  +  SCHOLARSHIP BAND
   --------------------------------------------------------------------- */

/* Shared section title */
.edu-section-title {
    
    font-weight: 800;
    font-size: clamp(28px, 3.4vw, 42px);
    color: var(--edu-navy);
    letter-spacing: -0.5px;
    margin: 0;
}

/* ---- How to Apply ---- */
.edu-apply-area {
    background: #fff;
    padding: 100px 0 110px;
}

.edu-apply-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 64px;
}

.edu-underline-link {
    
    font-size: 15px;
    font-weight: 600;
    color: var(--edu-navy);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    transition: color 0.25s ease, text-underline-offset 0.25s ease;
}

.edu-underline-link:hover {
    color: var(--edu-gold-dark);
    text-underline-offset: 8px;
}

.edu-apply-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.edu-apply-step {
    padding: 6px 46px;
    position: relative;
}

.edu-apply-step:first-child { padding-left: 0; }
.edu-apply-step:last-child { padding-right: 0; }

/* Thin vertical dividers between steps */
.edu-apply-step + .edu-apply-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: #e6e8ec;
}

.edu-apply-icon {
    font-size: 30px;
    color: var(--edu-navy);
    margin-bottom: 22px;
    line-height: 1;
}

.edu-apply-title {
    
    font-weight: 700;
    font-size: 22px;
    color: var(--edu-navy);
    margin-bottom: 14px;
}

.edu-apply-step p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #292929;
    margin: 0;
}

/* ---- Scholarship band ---- */
.edu-scholarship-band {
    background: var(--edu-gold);
    padding: 74px 0;
}

.edu-scholarship-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr auto;
    align-items: center;
    gap: 40px;
}

.edu-scholarship-title {
    
    font-weight: 800;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    color: var(--edu-navy);
    letter-spacing: -0.5px;
    margin: 0;
}

.edu-scholarship-text {
    font-size: 16px;
    line-height: 1.7;
    color: #4a3d10;
    margin: 0;
    max-width: 560px;
}

.edu-scholarship-action {
    justify-self: end;
}

.edu-scholarship-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-width: 230px;
    padding: 20px 30px;
    background: #1a1d24;
    color: #fff !important;
    
    font-size: 15px;
    font-weight: 600;
    border-radius: 3px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.edu-scholarship-btn i {
    transition: transform 0.25s ease;
    color: var(--edu-gold);
}

.edu-scholarship-btn:hover {
    background: #000;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.edu-scholarship-btn:hover i {
    transform: translateX(6px);
}

/* ---- Responsive: How to Apply + Scholarship ---- */
@media (max-width: 991px) {
    .edu-apply-area { padding: 72px 0 80px; }
    .edu-apply-head { margin-bottom: 48px; }

    .edu-apply-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 0;
    }
    .edu-apply-step { padding: 6px 34px; }
    .edu-apply-step:nth-child(odd) { padding-left: 0; }
    /* Reset first-child divider logic for 2-col layout */
    .edu-apply-step + .edu-apply-step::before { display: none; }
    .edu-apply-step:nth-child(even)::before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        top: 4px;
        bottom: 4px;
        width: 1px;
        background: #e6e8ec;
    }

    .edu-scholarship-band { padding: 56px 0; }
    .edu-scholarship-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: left;
    }
    .edu-scholarship-action { justify-self: start; }
    .edu-scholarship-text { max-width: 100%; }
}

@media (max-width: 767px) {
    .edu-apply-area { padding: 56px 0 60px; }
    .edu-apply-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 36px;
    }

    .edu-apply-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .edu-apply-step { padding: 0 0 34px; border-bottom: 1px solid #eef0f3; }
    .edu-apply-step:last-child { padding-bottom: 0; border-bottom: 0; }
    /* Remove vertical dividers on single column */
    .edu-apply-step::before,
    .edu-apply-step:nth-child(even)::before { display: none !important; }

    .edu-scholarship-band { padding: 46px 0; }
    .edu-scholarship-btn { width: 100%; }
}

/* ---------------------------------------------------------------------
   5. FOOTER  (clean, light, hospitality-grade)
   --------------------------------------------------------------------- */

.edu-footer {
    position: relative;
    background: #ffffff;
    border-top: 1px solid #eef0f3;
}

.edu-footer-top {
    padding: 72px 0 44px;
}

.edu-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.2fr;
    gap: 40px;
}

.edu-footer-title {
    
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--edu-navy);
    margin-bottom: 22px;
}

.edu-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.edu-footer-links li {
    margin-bottom: 2px;
}

.edu-footer-links li a {
    
    font-size: 14.5px;
    font-weight: 500;
    color: #292929;
    transition: color 0.22s ease, padding-left 0.22s ease;
}

.edu-footer-links li a:hover {
    color: var(--edu-gold-dark);
    padding-left: 4px;
}

/* Contact / logo column */
.edu-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.edu-footer-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.edu-footer-logo-text {
    
    font-size: 20px;
    font-weight: 700;
    color: var(--edu-navy);
    letter-spacing: -0.3px;
}

.edu-footer-address {
    font-style: normal;
    font-size: 14.5px;
    line-height: 1.7;
    color: #000;
    margin-bottom: 16px;
}

.edu-footer-phone {
    margin: 0;
}

.edu-footer-phone a {
    
    font-size: 15px;
    font-weight: 700;
    color: var(--edu-navy);
    transition: color 0.22s ease;
}

.edu-footer-phone a:hover {
    color: var(--edu-gold-dark);
}

/* Social row */
.edu-footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 54px;
}

.edu-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--edu-navy);
    color: #fff;
    font-size: 15px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.edu-footer-social a:hover {
    background: var(--edu-gold);
    color: var(--edu-navy);
    transform: translateY(-3px);
}

/* Bottom bar */
.edu-footer-bottom {
    background: #f5f6f8;
    border-top: 1px solid #eceef1;
    padding: 20px 0;
}

.edu-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.edu-footer-copy {
    margin: 0;
    font-size: 13.5px;
    color: #7a8494;
}

.edu-footer-legal {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.edu-footer-legal li a {
    font-size: 13.5px;
    color: #7a8494;
    transition: color 0.22s ease;
}

.edu-footer-legal li a:hover {
    color: var(--edu-gold-dark);
}

/* Hide the theme's jQuery scrollUp button (we use our own .edu-scroll-top) */
#scrollUp {
    display: none !important;
}

/* Scroll to top */
.edu-scroll-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--edu-navy);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.25s ease;
    box-shadow: 0 8px 22px rgba(27, 42, 78, 0.28);
}

.edu-scroll-top.edu-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.edu-scroll-top:hover {
    background: var(--edu-gold);
    color: var(--edu-navy);
}

/* ---- Footer responsive ---- */
@media (max-width: 991px) {
    .edu-footer-top { padding: 56px 0 36px; }
    .edu-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 30px;
    }
    .edu-footer-contact { grid-column: 1 / -1; }
    .edu-footer-social { margin-top: 40px; }
}

@media (max-width: 767px) {
    .edu-footer-top { padding: 46px 0 30px; }
    .edu-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .edu-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .edu-footer-legal { gap: 20px; flex-wrap: wrap; justify-content: center; }

    .edu-scroll-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
    .edu-footer-social { gap: 10px; }
    .edu-footer-social a { width: 38px; height: 38px; font-size: 14px; }
}

/* ---------------------------------------------------------------------
   6. ANNOUNCEMENTS  (tabbed notice board)
   --------------------------------------------------------------------- */

.edu-announce-area {
    background: #f4f6f8;
    padding: 90px 0 100px;
}

.edu-announce-head {
    margin-bottom: 36px;
}

.edu-announce-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--edu-gold-dark);
    margin-bottom: 14px;
}

.edu-announce-eyebrow .edu-kicker-line {
    background: var(--edu-gold);
}

/* Card */
.edu-announce-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 46px rgba(27, 42, 78, 0.08);
    overflow: hidden;
}

/* Tabs */
.edu-announce-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 26px 0;
}

.edu-tab {
    border: 0;
    cursor: pointer;
    
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--edu-navy);
    padding: 11px 20px;
    border-radius: 6px;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.edu-tab:hover {
    background: var(--edu-navy-dark);
    transform: translateY(-2px);
}

.edu-tab.is-active {
    background: var(--edu-gold);
    color: var(--edu-navy);
    box-shadow: 0 8px 18px rgba(245, 179, 1, 0.32);
}

/* Panels */
.edu-tab-panel {
    display: none;
    padding: 8px 26px 26px;
}

.edu-tab-panel.is-active {
    display: block;
    animation: eduFadeUp 0.4s ease;
}

@keyframes eduFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.edu-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0 16px;
    border-bottom: 2px solid #f0f1f4;
    margin-bottom: 6px;
}

.edu-panel-title {
    
    font-size: 20px;
    font-weight: 700;
    color: var(--edu-navy);
    margin: 0;
}

.edu-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--edu-navy);
    color: #fff !important;
    
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.2s ease;
}

.edu-browse-btn i { font-size: 12px; color: var(--edu-gold); }

.edu-browse-btn:hover {
    background: var(--edu-gold);
    color: var(--edu-navy) !important;
    transform: translateY(-2px);
}

.edu-browse-btn:hover i { color: var(--edu-navy); }

/* Table */
.edu-table-wrap {
    width: 100%;
}

.edu-announce-table {
    width: 100%;
    border-collapse: collapse;
}

.edu-announce-table th {
    
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #8a93a3;
    text-align: left;
    padding: 14px 14px;
}

.edu-col-date { width: 130px; }
.edu-col-action { width: 160px; text-align: right; }

.edu-announce-table td {
    padding: 3px 14px;
    font-size: 14.5px;
    color: #46505f;
    border-top: 1px solid #eef0f3;
    vertical-align: middle;
}

.edu-announce-table tbody tr {
    transition: background 0.2s ease;
}

.edu-announce-table tbody tr:hover {
    background: #fbfaf4;
}

.edu-announce-table td:first-child {
    color: #6b7482;
    font-weight: 500;
    white-space: nowrap;
}

.edu-announce-table td:last-child {
    text-align: right;
}

/* NEW badge */
.edu-badge-new {
    display: inline-block;
    margin-left: 8px;
    
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    background: #e74c4c;
    padding: 2px 8px;
    border-radius: 20px;
    vertical-align: middle;
    animation: eduPulse 1.8s ease-in-out infinite;
}

@keyframes eduPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 76, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(231, 76, 76, 0); }
}

/* Download button */
.edu-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22293a;
    color: #fff !important;
    
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 6px;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.edu-dl-btn i { font-size: 12px; color: var(--edu-gold); transition: transform 0.25s ease; }

.edu-dl-btn:hover {
    background: var(--edu-navy);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(27, 42, 78, 0.24);
}

.edu-dl-btn:hover i { transform: translateY(2px); }

/* ---- Announcements responsive ---- */
@media (max-width: 991px) {
    .edu-announce-area { padding: 66px 0 74px; }
    .edu-announce-tabs { padding: 18px 18px 0; }
    .edu-tab-panel { padding: 8px 18px 22px; }
    .edu-col-action { width: 150px; }
}

@media (max-width: 767px) {
    .edu-announce-area { padding: 50px 0 56px; }

    /* Tabs scroll horizontally instead of wrapping awkwardly */
    .edu-announce-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 16px 16px 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .edu-announce-tabs::-webkit-scrollbar { display: none; }
    .edu-tab { white-space: nowrap; flex: 0 0 auto; }

    .edu-panel-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* Turn the table into stacked cards */
    .edu-announce-table thead { display: none; }
    .edu-announce-table,
    .edu-announce-table tbody,
    .edu-announce-table tr,
    .edu-announce-table td { display: block; width: 100%; }

    .edu-announce-table tr {
        border: 1px solid #eef0f3;
        border-radius: 10px;
        padding: 12px 14px;
        margin-bottom: 14px;
    }
    .edu-announce-table tr:hover { background: #fbfaf4; }

    .edu-announce-table td {
        border: 0;
        padding: 6px 0;
        text-align: left !important;
    }

    .edu-announce-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: #9aa1ad;
        margin-bottom: 3px;
    }

    .edu-announce-table td:last-child { padding-top: 10px; }
    .edu-dl-btn { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------------
   Mega menu: Student Testimonials (horizontally scrollable cards)
   --------------------------------------------------------------------- */
.edu-mm-testi-row {
    margin-top: 10px;
}

.edu-mm-testi-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 6px 4px 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--edu-gold) #ececf0;
}

.edu-mm-testi-scroll::-webkit-scrollbar { height: 8px; }
.edu-mm-testi-scroll::-webkit-scrollbar-track { background: #ececf0; border-radius: 8px; }
.edu-mm-testi-scroll::-webkit-scrollbar-thumb { background: var(--edu-gold); border-radius: 8px; }

.edu-mm-testi-card {
    position: relative;
    flex: 0 0 340px;
    max-width: 340px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px 24px 22px;
    background: #fff;
    border: 1px solid #ececf0;
    border-top: 4px solid var(--edu-gold);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(20, 32, 59, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.edu-mm-testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(20, 32, 59, 0.13);
}

.edu-mm-testi-quote {
    font-family: Georgia, serif;
    font-size: 54px;
    line-height: 0.8;
    color: var(--edu-gold);
    display: block;
    margin-bottom: 6px;
}

.edu-mm-testi-text {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--edu-text);
}

.edu-mm-testi-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #ececf0;
}

.edu-mm-testi-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--edu-navy);
    color: var(--edu-gold);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-mm-testi-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.edu-mm-testi-meta strong {
    font-size: 15px;
    color: var(--edu-navy);
}

.edu-mm-testi-meta span {
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 767px) {
    .edu-mm-testi-card {
        flex-basis: 85%;
        max-width: 85%;
        padding: 22px 18px 18px;
    }
}

/* Student Testimonials: one card at a time with arrow navigation */
.edu-mm-testi-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.edu-mm-testi-head .edu-mm-title {
    margin-bottom: 0;
}

.edu-mm-testi-nav {
    display: flex;
    gap: 8px;
}

.edu-mm-testi-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #dcdce3;
    background: #fff;
    color: var(--edu-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.edu-mm-testi-arrow:hover:not(:disabled) {
    background: var(--edu-gold);
    border-color: var(--edu-gold);
}

.edu-mm-testi-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.edu-mm-testi-scroll {
    gap: 0;
    padding: 6px 0 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.edu-mm-testi-scroll::-webkit-scrollbar { display: none; }

.edu-mm-testi-card {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

@media (max-width: 767px) {
    .edu-mm-testi-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}


/* =====================================================================
   APPLY NOW — form page + sticky button
   ===================================================================== */
.edu-apply {
    padding: 70px 0;
    background: #f6f7fa;
}

.edu-apply-card {
    display: flex;
    background: var(--edu-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(20, 32, 59, 0.12);
}

.edu-apply-intro {
    flex: 0 0 38%;
    padding: 48px 40px;
    background: #36348e;
    color: var(--edu-white);
}

.edu-apply-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--edu-gold);
    color: var(--edu-navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.edu-apply-intro h2 {
    margin: 0 0 16px;
    color: var(--edu-white);
    font-family: var(--edu-display-font);
    font-size: 30px;
    line-height: 1.25;
}

.edu-apply-intro p {
    color: rgba(255, 255, 255, 0.8);
}

.edu-apply-points {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.edu-apply-points li {
    margin-bottom: 10px;
    color: var(--edu-white);
}

.edu-apply-points i {
    margin-right: 8px;
    color: var(--edu-gold);
}

.edu-apply-formwrap {
    flex: 1;
    padding: 48px 40px;
}

.edu-apply-row {
    display: flex;
    gap: 20px;
}

.edu-apply-row .edu-apply-field {
    flex: 1;
    min-width: 0;
}

.edu-apply-field {
    margin-bottom: 20px;
}

.edu-apply-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--edu-text);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
}

.edu-apply-field input,
.edu-apply-field select,
.edu-apply-field textarea {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #dcdfe8;
    border-radius: 8px;
    background: #fff;
    color: var(--edu-text);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--font-body);
}

.edu-apply-field input,
.edu-apply-field select {
    height: 48px;
}

.edu-apply-field textarea {
    resize: vertical;
}

.edu-apply-field input:focus,
.edu-apply-field select:focus,
.edu-apply-field textarea:focus {
    outline: none;
    border-color: var(--edu-gold-dark);
    box-shadow: 0 0 0 3px rgba(255, 197, 58, 0.3);
}

.edu-apply-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    border: 0;
    border-radius: 8px;
    background: var(--edu-gold);
    color: var(--edu-navy);
    font-family: var(--edu-display-font);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.edu-apply-submit:hover {
    background: var(--edu-gold-dark);
    transform: translateY(-2px);
}

.edu-apply-alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-left: 4px solid #2e9b57;
    border-radius: 6px;
    background: #e8f6ee;
    color: #1f6b3b;
}

/* Sticky Apply Now button (left edge, so it doesn't collide with scroll-to-top) */
.edu-apply-sticky {
    position: fixed;
    left: 20px;
    bottom: 24px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    background: var(--edu-gold);
    color: var(--edu-navy);
    font-family: var(--edu-display-font);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    animation: edu-apply-pulse 2.4s infinite;
    transition: background 0.2s, transform 0.2s;
}

.edu-apply-sticky:hover {
    background: var(--edu-gold-dark);
    color: var(--edu-navy);
    transform: translateY(-3px);
}

@keyframes edu-apply-pulse {
    0% { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(255, 197, 58, 0.6); }
    70% { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25), 0 0 0 16px rgba(255, 197, 58, 0); }
    100% { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(255, 197, 58, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .edu-apply-sticky { animation: none; }
}

@media (max-width: 991px) {
    .edu-apply-card { flex-direction: column; }
    .edu-apply-intro,
    .edu-apply-formwrap { padding: 32px 28px; }
}

@media (max-width: 575px) {
    .edu-apply { padding: 40px 0; }
    .edu-apply-row { flex-direction: column; gap: 0; }
    .edu-apply-intro,
    .edu-apply-formwrap { padding: 26px 20px; }
    .edu-apply-intro h2 { font-size: 24px; }
    .edu-apply-submit { width: 100%; justify-content: center; }
    .edu-apply-sticky { left: 12px; bottom: 14px; padding: 10px 18px; font-size: 14px; }
}
