:root {
  --navy: #07151f;
  --scrollbar-width: 0px;
  --gold: #ca9228;
  --white: #fff;
  --muted: #dfe4e6;
  --line: rgba(255, 255, 255, .24);
  --photo: url('/images/education1.webp');
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 0;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  padding-top: 7.25rem;
  overflow-x: hidden;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  overflow-anchor: none;
}

body.nav-open {
  overflow: hidden;
}

.page {
  padding-top: 0;
}

.page,
.topbar,
.nav-package {
  width: 100%;
  max-width: 100vw;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 7.25rem;
  padding: 1rem max(1.5rem, calc((100% - 1115px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(90deg, rgba(7, 21, 31, .94), rgba(7, 21, 31, .72)), var(--photo) center/cover;
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: #fff;
  text-decoration: none;
}

.brand-symbol {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  font-size: 4rem;
  line-height: .9;
}

.brand-copy {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.02;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 1.45rem;
}

.brand-copy small {
  display: block;
  color: #ce2429;
  font-size: .75rem;
  letter-spacing: .04em;
}

.brand-partner {
  display: flex;
  align-items: center;
  gap: .7rem;
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.02;
}

.brand-partner b {
  font-size: 2.1rem;
}

.brand-partner small {
  color: #fff;
  font-size: 1rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.language {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1.1rem;
}

.close-button {
  position: relative;
  width: 3rem;
  height: 3rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.close-button span {
  position: absolute;
  left: .2rem;
  top: 1.4rem;
  width: 2.55rem;
  height: 2px;
  background: #fff;
}

.close-button span:first-child {
  transform: rotate(45deg);
}

.close-button span+span {
  transform: rotate(-45deg);
}

.nav-package {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  background-image: linear-gradient(90deg, rgba(2, 9, 16, .92), rgba(2, 9, 16, .82)), var(--photo);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  transition: opacity .25s ease, visibility .25s ease;
}

.page.is-open .nav-package {
  visibility: visible;
  opacity: 1;
}

.menu-stage {
  overflow: auto;
  flex: 1;
  padding: 10.5rem max(1.5rem, calc((100% - 1115px) / 2)) 3rem;
}

.nav-brand-row {
  display: none;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.8rem;
  max-width: 1115px;
  margin: auto;
}

.nav-column {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.nav-group h2 {
  margin: 0 0 .8rem;
  color: var(--gold);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 2.15rem;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-group a {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: .22rem 0;
  color: #fff;
  text-decoration: none;
  font-size: 1.22rem;
  line-height: 1.35;
}

.nav-group a:hover,
.nav-group a:focus-visible {
  color: var(--gold);
}

.nav-bottom {
  padding: 0 max(1.5rem, calc((100% - 1115px) / 2)) 1.5rem;
  background: rgba(2, 9, 16, .8);
}

.menu-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 1.2rem;
}

.nav-contact-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  font-size: .85rem;
}

.nav-contact-details strong {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  color: var(--gold);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.nav-contact-details p {
  margin: .25rem 0;
}

.nav-contact-social,
.nav-login-links {
  display: flex;
  gap: 1rem;
}

.nav-contact-footer a {
  color: #fff;
  text-decoration: none;
}

.nav-accessibility {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
}

@media (max-width: 760px) {
  .brand-partner {
    display: none;
  }

  .brand-copy {
    font-size: .8rem;
  }

  .brand-copy strong {
    font-size: 1.1rem;
  }

  .topbar {
    padding-inline: 1rem;
  }

  .menu-stage {
    padding: 9rem 1rem 2rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav-column {
    gap: 2.5rem;
  }

  .nav-group h2 {
    font-size: 1.7rem;
  }

  .nav-group a {
    font-size: 1rem;
  }

  .nav-contact-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-bottom {
    padding-inline: 1rem;
  }
}

/* ---------- WHATSAPP + BACK TO TOP ---------- */
.fixed-actions {
  position: fixed;
  right: 24px;
  bottom: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  z-index: 999;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 56px;
  height: 56px;
  border-radius: 56px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  background: #20d66b;
  color: #fff;
  transition:
    width 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-radius 0.7s ease,
    transform 0.25s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(32, 214, 107, 0.3);
  position: relative;
  padding: 0;
  will-change: width, transform;
}

.whatsapp-btn .wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-width: 56px;
  height: 56px;
  background: #20d66b;
  border-radius: 50%;
  color: white;
  font-size: 30px;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 2;
  position: relative;
  flex-shrink: 0;
}

.whatsapp-btn .wa-label {
  display: inline-block;
  padding: 0 18px 0 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: white;
  background: #20d66b;
  opacity: 0;
  transition: opacity 0.5s ease 0.15s;
  white-space: nowrap;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 56px;
  height: 56px;
  flex-shrink: 0;
  z-index: 1;
  text-transform: none;
}

.whatsapp-btn:hover {
  width: 250px;
  border-radius: 56px;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(32, 214, 107, 0.4);
}

.whatsapp-btn:hover .wa-icon {
  transform: translateX(-6px);
}

.whatsapp-btn:hover .wa-label {
  opacity: 1;
}

.backtop-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  background: #ffffff;
  color: #0d3ba8;
  font-size: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.backtop-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.backtop-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 640px) {
  .fixed-actions {
    right: 16px;
    bottom: 16px;
    gap: 12px;
  }

  .whatsapp-btn {
    width: 48px;
    height: 48px;
    border-radius: 48px;
  }

  .whatsapp-btn .wa-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .whatsapp-btn .wa-label {
    font-size: 0.75rem;
    line-height: 48px;
    height: 48px;
    padding: 0 14px 0 4px;
  }

  .whatsapp-btn:hover {
    width: 210px;
    border-radius: 48px;
  }

  .whatsapp-btn:hover .wa-icon {
    transform: translateX(-4px);
  }

  .backtop-btn {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
}

@media (max-width: 420px) {
  .whatsapp-btn {
    width: 42px;
    height: 42px;
    border-radius: 42px;
  }

  .whatsapp-btn .wa-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .whatsapp-btn .wa-label {
    font-size: 0.65rem;
    line-height: 42px;
    height: 42px;
    padding: 0 10px 0 4px;
  }

  .whatsapp-btn:hover {
    width: 180px;
    border-radius: 42px;
  }

  .backtop-btn {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .fixed-actions {
    gap: 10px;
    right: 12px;
    bottom: 14px;
  }
}

@media (max-width: 800px) {
  .iom-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 500px) {
  .iom-footer-grid {
    grid-template-columns: 1fr;
  }
}