:root {
  --shared-font-display: "Bebas Neue", Arial Narrow, sans-serif;
  --shared-font-body: "Manrope", system-ui, sans-serif;
}

#shared-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  isolation: isolate;
  width: 100%;
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#shared-site-header .shared-header-inner {
  position: relative;
  min-height: 98px;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    min-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    padding-top 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#shared-site-header .shared-logo-white,
#shared-site-header .shared-logo-color {
  width: 90px;
  height: auto;
  display: block;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#shared-site-header .shared-logo-color {
  display: none;
}

#shared-site-header .shared-brand-logo,
#shared-site-header .shared-mobile-logo {
  opacity: 0;
  transform: scale(0.94);
  animation: sharedHeaderLogoIntro 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s
    forwards;
}

@keyframes sharedHeaderLogoIntro {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#shared-site-header .shared-desktop-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: clamp(24px, 2.2vw, 40px);
  justify-content: center;
  max-width: calc(100% - 420px);
  display: flex;
  align-items: center;
  z-index: 2;
}

#shared-site-header .shared-desktop-nav a,
#shared-site-header .shared-desktop-nav .shared-nav-link-btn {
  font-family: var(--shared-font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #f3f0ec;
  text-decoration: none;
  position: relative;
  padding: 0 0 4px;
  line-height: 1;
  white-space: nowrap;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.2s;
}

#shared-site-header .shared-desktop-nav a:hover,
#shared-site-header .shared-desktop-nav .shared-nav-link-btn:hover {
  color: #ffffff;
}

#shared-site-header .shared-desktop-nav a.active::after,
#shared-site-header .shared-desktop-nav .shared-nav-link-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff;
}

#shared-site-header .shared-programmes-item {
  position: static;
}

#shared-site-header .shared-programmes-mega-menu {
  position: absolute;
  left: 50%;
  top: var(--shared-programmes-menu-top, calc(100% + 10px));
  width: 838px;
  padding: 34px 38px 36px;
  background: #141414;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 240ms step-end;
}

#shared-site-header .shared-programmes-mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition:
    opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0ms;
}

#shared-site-header .shared-programmes-mega-menu.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translate(-50%, 10px);
}

#shared-site-header .shared-programmes-section-title {
  margin: 0 0 16px;
  font-family: var(--shared-font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-transform: uppercase;
}

#shared-site-header .shared-programmes-level-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

#shared-site-header .shared-programmes-level-title {
  margin: 0 0 10px;
  font-family: var(--shared-font-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #5f5f5f;
  text-transform: uppercase;
}

#shared-site-header .shared-programmes-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

#shared-site-header .shared-programmes-links a {
  font-family: var(--shared-font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
  color: #dadada;
  text-decoration: none;
  transition: color 180ms ease;
}

#shared-site-header .shared-programmes-links a:hover,
#shared-site-header .shared-programmes-links a:focus-visible {
  color: #ffffff;
  outline: none;
}

#shared-site-header .shared-programmes-pro-title {
  margin: 34px 0 14px;
  font-family: var(--shared-font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-transform: uppercase;
}

#shared-site-header .shared-programmes-pro-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  max-width: 780px;
}

#shared-site-header .shared-programmes-pro-list a {
  font-family: var(--shared-font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
  color: #dadada;
  text-decoration: none;
  transition: color 180ms ease;
}

#shared-site-header .shared-programmes-pro-list a:hover,
#shared-site-header .shared-programmes-pro-list a:focus-visible {
  color: #ffffff;
  outline: none;
}

#shared-site-header .shared-apply-btn {
  font-family: var(--shared-font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #f3f0ec;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  padding: 12px 24px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
  white-space: nowrap;
}

#shared-site-header .shared-apply-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

#shared-site-header .shared-mobile-top-left {
  display: none;
  align-items: center;
  gap: 12px;
}

#shared-site-header .shared-mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #f3f0ec;
  align-items: center;
  justify-content: center;
}

#shared-site-header .shared-mobile-logo .shared-logo-white,
#shared-site-header .shared-mobile-logo .shared-logo-color {
  width: 74px;
  height: auto;
}

#shared-site-header .shared-mobile-logo .shared-logo-color {
  display: none;
}

#shared-site-header .shared-mobile-apply-wrap {
  display: none;
}

#shared-site-header .shared-mobile-apply {
  display: inline-block;
  padding: 10px 16px;
  font-size: 16px;
}

#shared-site-header .shared-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 2;
  background: rgba(24, 20, 20, 0.98);
  backdrop-filter: blur(2px);
  padding: 12px 0;
  max-height: var(--shared-mobile-nav-max-height, calc(100dvh - 84px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

#shared-site-header .shared-mobile-nav > a {
  font-family: var(--shared-font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #f3f0ec;
  text-decoration: none;
  padding: 14px 24px;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}

#shared-site-header .shared-mobile-nav > a:hover {
  background: rgba(255, 255, 255, 0.06);
}

#shared-site-header .shared-mobile-nav > a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

#shared-site-header .shared-mobile-programmes-toggle {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #f3f0ec;
  font-family: var(--shared-font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s ease;
}

#shared-site-header .shared-mobile-programmes-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

#shared-site-header .shared-mobile-programmes-toggle::after {
  content: "+";
  font-family: var(--shared-font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  color: #dadada;
  transition: transform 220ms ease;
}

#shared-site-header
  .shared-mobile-programmes-toggle[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

#shared-site-header .shared-mobile-programmes-panel {
  position: relative;
  z-index: 1;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  overflow-x: hidden;
  pointer-events: none;
  background: #141414;
  transition:
    max-height 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    visibility 220ms step-end;
}

#shared-site-header .shared-mobile-programmes-panel.is-open {
  max-height: min(980px, 70dvh);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transition:
    max-height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    visibility 0ms;
}

#shared-site-header .shared-mobile-programmes-inner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 16px 24px 18px;
}

#shared-site-header .shared-mobile-programmes-heading,
#shared-site-header .shared-mobile-programmes-pro-heading {
  margin: 0;
  font-family: var(--shared-font-display);
  font-size: clamp(20px, 6vw, 24px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-transform: uppercase;
}

#shared-site-header .shared-mobile-programmes-levels {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

#shared-site-header .shared-mobile-programmes-level-title {
  margin: 0 0 8px;
  font-family: var(--shared-font-display);
  font-size: clamp(16px, 4.8vw, 18px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #5f5f5f;
  text-transform: uppercase;
}

#shared-site-header .shared-mobile-programmes-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

#shared-site-header .shared-mobile-programmes-links a {
  display: block;
  text-decoration: none;
  font-family: var(--shared-font-body);
  font-size: clamp(13px, 3.8vw, 14px);
  font-weight: 500;
  line-height: 1.35;
  color: #dadada;
  padding: 6px 0;
  transition: color 180ms ease;
}

#shared-site-header .shared-mobile-programmes-links a:hover,
#shared-site-header .shared-mobile-programmes-links a:focus-visible {
  color: #ffffff;
  outline: none;
}

#shared-site-header .shared-mobile-programmes-pro-heading {
  margin-top: 18px;
}

#shared-site-header.shared-mobile-open .shared-mobile-nav {
  display: flex;
}

#shared-site-header.scrolled {
  background: rgba(12, 12, 12, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#shared-site-header.scrolled .shared-header-inner {
  min-height: 68px;
  padding-top: 0;
  padding-bottom: 0;
}

#shared-site-header.scrolled .shared-logo-white {
  display: none;
}

#shared-site-header.scrolled .shared-logo-color {
  display: block;
  width: 70px;
}

#shared-site-header.scrolled .shared-mobile-logo .shared-logo-white {
  display: none;
}

#shared-site-header.scrolled .shared-mobile-logo .shared-logo-color {
  display: block;
  width: 62px;
}

#shared-site-header.scrolled .shared-desktop-nav a {
  color: #f5f5f5;
}

#shared-site-header.scrolled .shared-desktop-nav a.active::after {
  background: #f5f5f5;
}

#shared-site-header.scrolled .shared-apply-btn {
  color: #f5f5f5;
  border-color: rgba(255, 255, 255, 0.8);
}

#shared-site-header.scrolled .shared-mobile-menu-btn {
  color: #f5f5f5;
}

#shared-site-header.scrolled .shared-mobile-nav {
  background: rgba(12, 12, 12, 0.98);
}

#shared-site-footer {
  position: relative;
  z-index: 20;
  background: #1e1e1e;
  color: #ffffff;
}

#shared-site-footer .shared-footer-shell {
  width: 100%;
  margin: 0;
  padding: 64px 44px 0;
  box-sizing: border-box;
}

#shared-site-footer .shared-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 44px;
  align-items: start;
}

#shared-site-footer .shared-footer-grid > div {
  min-width: 0;
}

#shared-site-footer .shared-footer-logo {
  width: 90px;
  height: auto;
  display: block;
}

#shared-site-footer .shared-footer-tagline {
  margin: 22px 0 0;
  font-family: var(--shared-font-display);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  max-width: 360px;
}

#shared-site-footer .shared-footer-contact-row {
  margin: 26px 0 0;
  font-family: var(--shared-font-display);
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: #ffffff;
}

#shared-site-footer .shared-footer-heading {
  margin: 0 0 18px;
  font-family: var(--shared-font-display);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

#shared-site-footer .shared-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

#shared-site-footer .shared-footer-list a,
#shared-site-footer .shared-footer-list span {
  font-family: var(--shared-font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #787878;
  text-decoration: none;
  transition: color 220ms ease;
}

#shared-site-footer .shared-footer-list a:hover,
#shared-site-footer .shared-footer-list a:focus-visible {
  color: #b9b9b9;
  outline: none;
}

#shared-site-footer .shared-footer-meta {
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#shared-site-footer .shared-footer-copyright {
  margin: 0 auto;
  width: 100%;
  padding: 16px 44px 20px;
  box-sizing: border-box;
  font-family: var(--shared-font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #c7c7c7;
}

@media (max-width: 1400px) {
  #shared-site-header .shared-programmes-mega-menu {
    width: 838px;
    padding: 30px 30px 32px;
  }

  #shared-site-header .shared-programmes-level-grid {
    gap: 20px;
  }
}

@media (max-width: 1300px) {
  #shared-site-header .shared-desktop-nav {
    gap: clamp(18px, 1.8vw, 28px);
    max-width: calc(100% - 360px);
  }
}

@media (max-width: 1200px) {
  #shared-site-footer .shared-footer-shell {
    padding: 58px 34px 0;
  }

  #shared-site-footer .shared-footer-grid {
    gap: 30px;
  }

  #shared-site-footer .shared-footer-copyright {
    padding-left: 34px;
    padding-right: 34px;
  }
}

@media (max-width: 1180px) {
  #shared-site-header .shared-desktop-nav {
    gap: clamp(14px, 1.5vw, 22px);
    max-width: calc(100% - 330px);
  }

  #shared-site-header .shared-programmes-mega-menu {
    width: 838px;
  }

  #shared-site-header .shared-programmes-level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }
}

@media (max-width: 1024px) {
  #shared-site-header .shared-header-inner {
    min-height: 84px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #shared-site-header .shared-desktop-nav,
  #shared-site-header .shared-desktop-apply,
  #shared-site-header .shared-brand-logo {
    display: none !important;
  }

  #shared-site-header .shared-mobile-top-left {
    display: flex !important;
  }

  #shared-site-header .shared-mobile-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  #shared-site-header .shared-mobile-apply-wrap {
    display: flex !important;
    align-items: center;
  }

  #shared-site-header .shared-mobile-apply {
    display: inline-block !important;
  }

  #shared-site-header .shared-programmes-mega-menu {
    display: none !important;
  }

  #shared-site-footer .shared-footer-shell {
    padding: 52px 28px 0;
  }

  #shared-site-footer .shared-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  #shared-site-footer .shared-footer-copyright {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 900px) {
  #shared-site-footer .shared-footer-shell {
    padding: 48px 26px 0;
  }

  #shared-site-footer .shared-footer-grid {
    gap: 30px;
  }

  #shared-site-footer .shared-footer-meta {
    margin-top: 42px;
  }

  #shared-site-footer .shared-footer-copyright {
    padding-left: 26px;
    padding-right: 26px;
  }
}

@media (max-width: 520px) {
  #shared-site-footer .shared-footer-shell {
    padding: 44px 22px 0;
  }

  #shared-site-footer .shared-footer-tagline {
    margin-top: 18px;
    font-size: 18px;
  }

  #shared-site-footer .shared-footer-contact-row {
    margin-top: 20px;
    font-size: 21px;
  }

  #shared-site-footer .shared-footer-heading {
    margin-bottom: 14px;
  }

  #shared-site-footer .shared-footer-list {
    gap: 8px;
  }

  #shared-site-footer .shared-footer-meta {
    margin-top: 34px;
  }

  #shared-site-footer .shared-footer-copyright {
    padding: 14px 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #shared-site-header .shared-brand-logo,
  #shared-site-header .shared-mobile-logo {
    animation: none;
    opacity: 1;
    transform: scale(1);
  }
}

#shared-site-header .shared-brand-logo,
#shared-site-header .shared-desktop-apply {
  position: relative;
  z-index: 4;
}

/* ── Floating WhatsApp Button ── */
#shared-whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 4px 18px rgba(37, 211, 102, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease;
}

#shared-whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-4px) scale(1.08);
  box-shadow:
    0 8px 28px rgba(37, 211, 102, 0.55),
    0 4px 14px rgba(0, 0, 0, 0.26);
}

#shared-whatsapp-float:active {
  transform: translateY(-1px) scale(1.02);
}

@media (max-width: 640px) {
  #shared-whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 18px;
  }

  #shared-whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #shared-whatsapp-float {
    transition: background 0.2s ease;
  }

  #shared-whatsapp-float:hover {
    transform: none;
  }
}
