.login-menu {
  position: relative;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* optional: spacing */
.login-menu .menu-link {
  cursor: pointer;
  font-size: 16px;
  color: #4BABE0;
  font-weight: bold;
}
.site-header {
  position: relative;
  width: 100%;
  z-index: 999;
  transition: 0.3s;
}

.site-header .container-header {
  box-shadow: 0px 0px 30px 0px rgb(75 171 224 / 12%);
  border-radius: 80px;
/*   margin-top: 25px;
  margin-bottom: 25px; */
  max-width: 1500px;
  margin: 25px auto 25px; 
  background-color: #fff;
}

.site-header a {
  text-decoration: none;
  font-family: 'Karla', sans-serif;
}

.site-header a:hover {
  color: inherit;
}

.site-header .logo {
  margin-bottom: 0;
}

.site-header .logo img {
  height: 30px;
}

.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.site-header.default {
  background: transparent;
}

.site-header.transparent {
  background: transparent;
}

.site-header.scrolled {
/*   background: #fff !important; */
  
}

/* Layout */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
}

/* LOGO SWITCH */
.logo-light { display: none; }

.site-header.transparent .logo-dark { display: none; }
.site-header.transparent .logo-light { display: block; }

.site-header.scrolled .logo-dark { display: block; }
.site-header.scrolled .logo-light { display: none; }

/* NAV */
.main-menu {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  font-size:16px;
  font-family: 'Karla', sans-serif;
}

.menu-item {
  position: relative;
}

.nav .mega-menu a {
  text-decoration: none;
  font-size: 16px;
  color: #132543;
}

.nav .mega-menu a:before {
    content: '';
    width: 10px;
    height: 10px;
    background: #53BEE8;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}


/* WHITE MENU */
.site-header.transparent .nav a,
.site-header.transparent .login {
  color: #fff;
}

/* SCROLL BACK */
.site-header.scrolled .nav a,
.site-header.scrolled .login {
  color: #1a2a44;
}

/* =========================
   MEGA MENU
========================= */

.menu-item {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translateX(-35%);
  
  width: 1100px;
  background: #fff;

  border-radius: 30px;
  padding: 35px 40px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.12);

  opacity: 0;
  visibility: hidden;

  transition: all 0.3s ease;

  z-index: 999;
}

/* ONLY MAIN NAV MEGA MENU */
.nav .menu-item:hover > .mega-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 35px);
}

/* GRID */
.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 10px;
}

/* COLUMN */
.mega-column {
  min-width: 180px;
}

/* TITLE */
.mega-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #132543;
  margin-bottom: 15px;
}

/* SUBMENU */
.mega-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-submenu li {
  margin-bottom: 10px;
}

.mega-submenu a {
  color: #29446D;
  font-size: 15px;
  transition: 0.3s;
}

.mega-submenu a:hover {
  color: #4BABE0;
  padding-left: 4px;
}

/* =========================
   LOGIN DROPDOWN
========================= */

.login-menu {
  position: relative;
  font-family: 'Karla', sans-serif;
}

.login-menu .dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;

  min-width: 220px;

  background: #fff;
  border-radius: 16px;

  padding: 12px 15px;
  list-style: none;

  box-shadow: 0 10px 30px rgba(0,0,0,0.12);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s ease;

  z-index: 999;
}

/* OPEN ON HOVER */
.login-menu:hover .dropdown {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 10px);
}

/* LINKS */
.login-menu .dropdown li {
  margin-bottom: 8px;
}

.login-menu .dropdown li:last-child {
  margin-bottom: 0;
}

.login-menu .dropdown a {
  color: #132543;
  font-size: 14px;
  display: block;
  transition: 0.3s;
}

.login-menu .dropdown a:hover {
  color: #4BABE0;
}

/* REMOVE OLD DROPDOWN */
.level-3 {
  display: none;
}

/* CTA */
.cta-header {
    background: #AB9151;
    border-radius: 20px;
    color: #fff;
    padding: 10px 25px;
    font-size: 14px;
    text-transform: uppercase;
    font-family: inherit;
}

/* HAMBURGER */
.hamburger {
  display: none;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #000;
}

.site-header.transparent .hamburger span {
  background: #fff;
}

.mobile-menu:not(.active) {
  right: -100% !important;
}
.mobile-menu {
  display: none !important;
}
.cta-outside {
  display: none;
}
/* MOBILE */
@media (max-width: 992px) {

  .nav,
  .header-right {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 80%;
    height: 100%;
    background: #0f1f3d;
    padding: 30px;
    transition: 0.3s;
  }
  
  .mobile-menu ul {
    padding: 0;
  }
  
  .mobile-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: #fff;
    margin-bottom: 10px;
  }
  
  .mobile-link a {
    color: #fff;
    text-decoration: none;  
  }

  .mobile-menu.active {
    right: 0;
    z-index: 9999;
  }

  .mobile-sub {
    display: none;
    padding-left: 15px;
  }

  .mobile-item.open > .mobile-sub {
    display: block;
    padding-left: 25px;
  }

  .mobile-menu {
    display: block !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: #0f1f3d;
    padding: 40px;
    transition: 0.3s;
  }

  .mobile-menu.active {
    right: 0;
  }
  .toggle {
    cursor: pointer;
  }
  .site-header .container-header {
    margin: 15px;
    padding: 15px 20px;
  }
  
  
  .cta-outside {
  margin-left: auto;
}

  .mobile-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.close-menu {
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}
  
  
/* keep visible on mobile */
@media (max-width: 992px) {
  .header-right {
    display: none;
  }

  .cta-outside {
    display: inline-block;
    margin-right: 10px;
  }
  
  .cta-header {
    padding: 10px 16px;
    font-size: 12px;
  }
   .mega-menu {
    display: none !important;
  }

}
  
  
/* {% if request.path.startswith(item.url) %}active{% endif %} */