/* Study-abroad mega menu — Figma-style panel (desktop + mobile) */
/* Brand colors come from theme.css (--edu-mega-* tokens) */

:root {
  --edu-mega-radius: 16px;
}

@keyframes eduMegaReveal {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes eduMegaContentIn {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.edu-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* Conference footer — match demo-conference.html */
.bg-dark-midnight-blue {
  background-color: #17161a;
}

/* Marketing-style footer (demo-marketing) + IMS brand accents */
.edu-footer {
  --edu-footer-accent: var(--brand-secondary, #a9cf3b);
  position: relative;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 30px;
  overflow: visible;
}

/* True 50% straddle: half on page, half on dark footer */
.edu-footer-cta {
  position: relative;
  z-index: 6;
  transform: translateY(-50%);
  margin: 0 0 -32px;
  padding: 0;
}

.edu-footer-cta-card {
  margin-bottom: 0 !important;
}

.edu-footer-body {
  margin-top: 28px;
  padding-top: 12px;
}

.edu-footer .footer-logo img {
  max-height: 56px;
}

.edu-footer-intro {
  margin: 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.7;
}

.edu-footer .edu-footer-cta-card.bg-base-color,
.edu-footer .bg-base-color {
  background-color: var(--brand-primary, #014296) !important;
}

h6.edu-footer-cta-email,
h6.edu-footer-cta-email a {
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.edu-footer .bg-base-color a.text-white {
  color: #fff !important;
}

.edu-footer .bg-base-color a.text-white:hover {
  color: var(--edu-footer-accent) !important;
}

.edu-footer .footer-navbar .nav-link:hover,
.edu-footer .footer-navbar .nav-item.active .nav-link {
  color: #fff;
}

.edu-footer .newsletter-style-02 .form-control {
  color: #fff;
}

.edu-footer .newsletter-style-02 .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.edu-footer .newsletter-style-02 .submit:hover {
  color: var(--edu-footer-accent) !important;
}

.edu-footer-menu li + li {
  margin-top: 8px;
}

.edu-footer-menu a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.edu-footer-menu a:hover {
  color: var(--edu-footer-accent);
}

.edu-footer-contact {
  display: grid;
  gap: 18px;
}

.edu-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
}

.edu-footer-contact li + li {
  margin-top: 0;
}

.edu-footer-contact-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--edu-footer-accent, #a9cf3b);
  font-size: 1rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.edu-footer-contact li:hover .edu-footer-contact-icon {
  background: rgba(169, 207, 59, 0.14);
  border-color: rgba(169, 207, 59, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.edu-footer-contact-body {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 1px;
}

.edu-footer-contact-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 5px;
  font-weight: 600;
}

.edu-footer-contact a,
.edu-footer-contact-body > span:not(.edu-footer-contact-label) {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.55;
  word-break: break-word;
  transition: color 0.2s ease;
}

.edu-footer-contact a:hover {
  color: var(--edu-footer-accent, #a9cf3b);
}

@media (max-width: 991px) {
  .edu-footer-contact {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}

.edu-footer .elements-social .edu-footer-social-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.edu-footer .elements-social ul.medium-icon {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  align-items: center;
}

@media (max-width: 767px) {
  .edu-footer-cta {
    transform: none;
    margin-top: 0;
    padding-top: 24px;
  }

  .edu-footer-body {
    margin-top: 0;
    padding-top: 0;
  }
}

/* Home hero — Vimeo background */
.edu-hero {
  background: #0b1020;
}

.edu-hero .edu-hero-video {
  z-index: 0;
}

.edu-hero > .opacity-light,
.edu-hero > .opacity-very-light,
.edu-hero > .opacity-medium,
.edu-hero-slide > .opacity-light {
  z-index: 1;
}

.edu-hero > .container {
  position: relative;
  z-index: 2;
}

.edu-hero .edu-hero-video iframe {
  border: 0;
}

/* Header Get Started — solid brand green */
.edu-header .edu-cta-btn,
.edu-cta-btn {
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  background: var(--brand-secondary, #a9cf3b) !important;
  border: 1px solid var(--brand-secondary, #a9cf3b) !important;
  color: #0b1f3d !important;
  box-shadow: 0 8px 22px rgba(169, 207, 59, 0.28);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.edu-header .edu-cta-btn:hover,
.edu-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(169, 207, 59, 0.34);
}

.edu-header .edu-cta-btn i,
.edu-cta-btn i {
  color: inherit !important;
}

.edu-header .edu-cta-btn:hover,
.edu-header .edu-cta-btn:focus,
.edu-header .edu-cta-btn:active,
.edu-cta-btn:hover,
.edu-cta-btn:focus,
.edu-cta-btn:active {
  background: #9bc232 !important;
  border-color: #9bc232 !important;
  color: #0b1f3d !important;
}

header.sticky .edu-cta-btn,
header.sticky-active .edu-cta-btn,
.header-reverse.sticky .edu-cta-btn,
.navbar.header-light .edu-cta-btn {
  background: var(--brand-secondary, #a9cf3b) !important;
  border-color: var(--brand-secondary, #a9cf3b) !important;
  color: #0b1f3d !important;
}

/* Desktop nav polish + vertical centering with logo / CTA */
@media (min-width: 992px) {
  .edu-header .navbar > .container,
  .edu-header .navbar > .container-fluid {
    display: flex;
    align-items: center;
  }

  .edu-header .navbar [class*="col-"] {
    align-items: center;
  }

  .edu-header .menu-order .navbar-collapse {
    display: flex !important;
    align-items: center;
    align-self: stretch;
    width: 100%;
    height: 100%;
  }

  .edu-navbar {
    gap: 2px;
    height: 100%;
    align-items: center !important;
  }

  .edu-navbar > .nav-item {
    display: flex !important;
    align-items: center !important;
    align-self: center;
  }

  .edu-navbar > .nav-item > .nav-link {
    letter-spacing: 0.01em;
    font-weight: 600;
    white-space: nowrap;
    padding: 10px 14px !important;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease;
    display: inline-flex !important;
    align-items: center !important;
    align-self: center !important;
    line-height: 1.2 !important;
  }

  .edu-navbar > .nav-item > .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  header.sticky .edu-navbar > .nav-item > .nav-link:hover,
  .sticky .edu-navbar > .nav-item > .nav-link:hover,
  .sticky-active .edu-navbar > .nav-item > .nav-link:hover {
    background: rgba(7, 78, 185, 0.06);
  }

  .edu-home-link {
    width: 42px !important;
    min-width: 42px;
    height: 42px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    line-height: 1 !important;
  }

  .edu-home-link i {
    font-size: 18px;
    line-height: 1;
  }

  .edu-mega-item > .dropdown-toggle {
    margin-left: -6px;
    opacity: 0.75;
    font-size: 11px;
  }

  /* Stretch only mega items so hover bridge still covers the bar height */
  .edu-mega-item.dropdown.submenu {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    align-self: stretch;
  }
}

.edu-mega-item > .nav-link.active,
.edu-navbar > .nav-item > .nav-link.active,
.edu-home-link.active {
  color: var(--edu-mega-accent) !important;
}

@media (min-width: 992px) {

  /*
   * Transparent hover bridge: pulls panel up into the header so cursor
   * never leaves the .dropdown while moving into the menu content.
   */
  .edu-mega-item .dropdown-menu.submenu-content.edu-mega-panel {
    width: min(1140px, calc(100% - 90px)) !important;
    max-width: 1140px !important;
    padding: 28px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    left: 50% !important;
    right: auto !important;
    top: 100% !important;
    margin-top: -28px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%) translateY(0);
    z-index: 1040 !important;
    -webkit-animation: eduMegaReveal 0.36s cubic-bezier(0.22, 1, 0.36, 1) both !important;
    animation: eduMegaReveal 0.36s cubic-bezier(0.22, 1, 0.36, 1) both !important;
    will-change: transform, opacity;
    pointer-events: auto;
  }

  .edu-mega-item.open .edu-mega-columns,
  .edu-mega-item.open .edu-mega-featured {
    -webkit-animation: eduMegaContentIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation: eduMegaContentIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .edu-mega-item.open .edu-mega-col:nth-child(1) { animation-delay: 0.04s; }
  .edu-mega-item.open .edu-mega-col:nth-child(2) { animation-delay: 0.08s; }
  .edu-mega-item.open .edu-mega-col:nth-child(3) { animation-delay: 0.12s; }
  .edu-mega-item.open .edu-mega-col:nth-child(4) { animation-delay: 0.16s; }
  .edu-mega-item.open .edu-mega-featured { animation-delay: 0.14s; }

  .edu-mega-item .mega-menu.edu-mega-inner,
  .navbar .navbar-nav .submenu-content .mega-menu.edu-mega-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border-radius: 0 0 var(--edu-mega-radius) var(--edu-mega-radius);
    border-top: 1px solid #e6ebf2;
    background: var(--edu-mega-panel);
    box-shadow: var(--edu-mega-shadow);
  }

  @media (min-width: 1400px) {
    .edu-mega-item .dropdown-menu.submenu-content.edu-mega-panel {
      width: min(1320px, calc(100vw - 90px)) !important;
      max-width: 1320px !important;
    }
  }

  .edu-mega-columns {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px 32px;
    padding: 28px 32px;
    background: var(--edu-mega-panel);
  }

  /* Short menus (e.g. Scholarships) shouldn't leave a big empty right void */
  .edu-mega-columns:not(.has-featured) {
    grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
    justify-content: start;
  }

  .edu-mega-columns.has-featured {
    flex: 1 1 72%;
  }

  .edu-mega-col {
    min-width: 0;
  }

  .edu-mega-heading {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--edu-mega-brand);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--edu-mega-line);
  }

  .edu-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .edu-mega-list li {
    margin: 0;
    padding: 0;
  }

  .edu-mega-list a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--edu-mega-ink) !important;
    text-decoration: none;
    transition: color 0.25s cubic-bezier(0.22, 1, 0.36, 1), transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .edu-mega-list a:hover {
    color: var(--edu-mega-accent) !important;
    transform: translateX(4px);
  }

  .edu-mega-featured {
    width: 280px;
    flex: 0 0 280px;
    padding: 36px 28px;
    background: linear-gradient(160deg, rgba(7, 78, 185, 0.96), rgba(20, 33, 61, 0.97));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .edu-mega-featured::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    right: -40px;
    top: -40px;
  }

  .edu-mega-featured-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .edu-mega-featured-title {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
  }

  .edu-mega-featured-text {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
  }

  .edu-mega-featured-cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 11px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--edu-mega-ink) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  }

  .edu-mega-featured-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    color: var(--edu-mega-accent) !important;
  }

  .edu-mega-panel .edu-mega-list:before,
  .edu-mega-panel ul:before {
    display: none !important;
  }

  /* Study Abroad — premium destination rows with flags */
  .edu-mega-item--destinations .edu-mega-inner--destinations {
    border-top-color: rgba(1, 66, 150, 0.08);
    box-shadow:
      0 28px 70px rgba(11, 31, 61, 0.12),
      0 2px 0 rgba(255, 255, 255, 0.9) inset;
  }

  .edu-mega-item--destinations .dropdown-menu.submenu-content.edu-mega-panel {
    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: 1180px !important;
  }

  .edu-mega-item--destinations .edu-mega-columns.has-featured {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  .edu-mega-columns--destinations {
    display: block;
    padding: 0;
    background: #fff;
  }

  .edu-mega-destinations-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
  }

  .edu-mega-destinations-title-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 24px 18px 0;
    background: #fff;
    border-bottom: 0;
  }

  .edu-mega-destination-title-cell {
    display: flex;
    align-items: flex-end;
    min-height: auto;
    padding: 0 14px 0;
    border-right: 1px solid rgba(11, 31, 61, 0.06);
  }

  .edu-mega-destination-title-cell:last-child {
    border-right: 0;
  }

  .edu-mega-destination-heading {
    display: block;
    width: 100%;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--edu-mega-line);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .edu-mega-destination-heading::before {
    display: none;
  }

  .edu-mega-destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
  }

  .edu-mega-col--destinations {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    padding: 16px 18px 22px;
    border-right: 1px solid rgba(11, 31, 61, 0.06);
  }

  .edu-mega-col--destinations:last-child {
    border-right: 0;
  }

  .edu-mega-destination-list {
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
    border: 1px solid rgba(11, 31, 61, 0.08);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }

  .edu-mega-destination-list li + li {
    border-top: 1px solid rgba(11, 31, 61, 0.07);
  }

  .edu-mega-destination-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 12px 14px;
    color: var(--edu-mega-ink) !important;
    text-decoration: none !important;
    background: #fff;
    transition:
      background 0.22s ease,
      transform 0.22s ease,
      box-shadow 0.22s ease;
  }

  .edu-mega-destination-link:hover {
    background: linear-gradient(90deg, rgba(1, 66, 150, 0.04), rgba(169, 207, 59, 0.06));
    transform: none;
  }

  .edu-mega-destination-flag {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f3f6fb;
    border: 1px solid rgba(11, 31, 61, 0.08);
    box-shadow: 0 6px 16px rgba(11, 31, 61, 0.06);
    overflow: hidden;
  }

  .edu-mega-destination-flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .edu-mega-destination-flag .bi {
    font-size: 18px;
    color: var(--edu-mega-brand);
  }

  .edu-mega-destination-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .edu-mega-destination-label {
    display: block;
    color: #0b1f3d;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  .edu-mega-destination-meta {
    display: block;
    color: #6b7a8f;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .edu-mega-destination-arrow {
    flex-shrink: 0;
    color: #9aa8ba;
    font-size: 13px;
    transition: transform 0.22s ease, color 0.22s ease;
  }

  .edu-mega-destination-link:hover .edu-mega-destination-arrow {
    color: var(--edu-mega-brand);
    transform: translateX(3px);
  }

  .edu-mega-item--destinations .edu-mega-featured {
    width: 300px;
    flex: 0 0 300px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Mobile hamburger — always high-contrast (visible on gray / light / dark heroes) */
.edu-drawer-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(20, 33, 61, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(20, 33, 61, 0.12);
  padding: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.edu-drawer-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--edu-mega-ink);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

body.edu-drawer-open .edu-drawer-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.edu-drawer-open .edu-drawer-toggle span:nth-child(2) {
  opacity: 0;
}

body.edu-drawer-open .edu-drawer-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.edu-mobile-cta {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: var(--brand-secondary, #a9cf3b);
  color: #0b1f3d !important;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .edu-brand-cluster {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .edu-drawer-toggle {
    display: inline-flex !important;
  }

  /* Drawer shell */
  .edu-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
  }

  .edu-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 32, 0.52);
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .edu-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(88vw, 380px);
    height: 100%;
    background: #fff;
    box-shadow: 24px 0 60px rgba(20, 33, 61, 0.18);
    display: flex;
    flex-direction: column;
    transform: translateX(-104%);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  body.edu-drawer-open {
    overflow: hidden;
  }

  body.edu-drawer-open .edu-drawer {
    pointer-events: auto;
  }

  body.edu-drawer-open .edu-drawer-overlay {
    opacity: 1;
  }

  body.edu-drawer-open .edu-drawer-panel {
    transform: translateX(0);
  }

  .edu-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--edu-mega-line);
  }

  .edu-drawer-logo {
    display: inline-flex !important;
    align-items: center;
    flex: 1 1 auto;
    min-width: 120px;
    max-width: calc(100% - 56px);
    line-height: 0;
  }

  .edu-drawer-logo img {
    display: block !important;
    width: auto !important;
    max-width: 180px !important;
    height: 42px !important;
    max-height: 42px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.edu-drawer-open .scroll-progress {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .edu-drawer-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--edu-mega-line);
    border-radius: 12px;
    background: #fff;
    color: var(--edu-mega-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .edu-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 12px 24px;
  }

  .edu-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .edu-drawer-link,
  .edu-drawer-accordion {
    width: 100%;
    appearance: none;
    border: 0;
    background: transparent;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 12px;
    border-radius: 14px;
    color: var(--edu-mega-ink) !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .edu-drawer-link:hover,
  .edu-drawer-accordion:hover,
  .edu-drawer-link.is-active {
    background: rgba(7, 78, 185, 0.07);
    color: var(--edu-mega-brand) !important;
  }

  .edu-drawer-home-inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .edu-drawer-home-inner i {
    font-size: 18px;
    line-height: 1;
  }

  .edu-drawer-accordion i {
    font-size: 12px;
    color: #8b93a7;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .edu-drawer-accordion[aria-expanded="true"] {
    background: rgba(7, 78, 185, 0.07);
    color: var(--edu-mega-brand) !important;
  }

  .edu-drawer-accordion[aria-expanded="true"] i {
    transform: rotate(180deg);
    color: var(--edu-mega-brand);
  }

  .edu-drawer-submenu {
    padding: 4px 8px 12px 12px;
    margin: 0 0 6px;
    border-left: 2px solid rgba(7, 78, 185, 0.14);
    animation: eduDrawerSubIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes eduDrawerSubIn {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .edu-drawer-section {
    margin-bottom: 14px;
  }

  .edu-drawer-section-title {
    display: block;
    margin: 0 0 6px;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--edu-mega-brand);
  }

  .edu-drawer-sublink {
    display: block;
    padding: 9px 8px;
    border-radius: 10px;
    color: #2c3550 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .edu-drawer-sublink:hover {
    background: rgba(232, 93, 4, 0.08);
    color: var(--edu-mega-accent) !important;
    transform: translateX(3px);
  }

  .edu-drawer-sublink--destination {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px;
  }

  .edu-drawer-destination-flag {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f6fb;
    border: 1px solid rgba(11, 31, 61, 0.08);
  }

  .edu-drawer-destination-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .edu-drawer-destination-flag .bi {
    font-size: 15px;
    color: var(--edu-mega-brand);
  }

  .edu-drawer-sublink--destination:hover {
    transform: none;
  }

  .edu-drawer-featured {
    display: block;
    margin-top: 8px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(7, 78, 185, 0.96), rgba(20, 33, 61, 0.97));
    color: #fff !important;
    text-decoration: none;
  }

  .edu-drawer-featured-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
  }

  .edu-drawer-featured strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
  }

  .edu-drawer-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
  }

  .edu-drawer-foot {
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--edu-mega-line);
    background: #fbfcfe;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .edu-drawer-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    background: var(--brand-secondary, #a9cf3b);
    color: #0b1f3d !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(169, 207, 59, 0.28);
  }

  .edu-drawer-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--edu-mega-ink) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
  }
}

@media (min-width: 992px) {
  .edu-drawer,
  .edu-drawer-toggle,
  .edu-mobile-cta {
    display: none !important;
  }

  .edu-brand-cluster {
    display: block;
  }
}

