/* ============================================================
   Shared site header + footer (applied to every page)
   ============================================================ */

/* ---------- Header ---------- */
.site-header {
  box-sizing: border-box;
  width: 1440px;
  height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 56px;
  background-color: #e62427;
  position: relative;
  z-index: 1000;
}

.site-header .sh-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.site-header .sh-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-header .sh-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header .sh-item {
  position: relative;
  display: flex;
  align-items: center;
}

.site-header .sh-link {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter-SemiBold", Helvetica;
  font-weight: 600;
  font-size: 16px;
  color: #f8f9fa;
  letter-spacing: -0.32px;
  white-space: nowrap;
  text-decoration: none;
}
.site-header .sh-link:hover {
  color: #ffd000;
}

.site-header .sh-caret {
  font-size: 10px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.site-header .sh-item:hover .sh-caret,
.site-header .sh-item:focus-within .sh-caret {
  transform: rotate(180deg);
}

.site-header .sh-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 215px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 1001;
}
.site-header .sh-item:hover .sh-menu,
.site-header .sh-item:focus-within .sh-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-header .sh-menu a {
  padding: 10px 18px;
  font-family: "Inter-Regular", Helvetica;
  font-weight: 400;
  font-size: 15px;
  color: #1a1d20;
  text-decoration: none;
  white-space: nowrap;
}
.site-header .sh-menu a:hover {
  background-color: #fff0eb;
  color: #e62427;
}

.site-header .sh-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffd000;
  color: #1a1d20;
  border-radius: 6px;
  padding: 9px 16px;
  font-family: "Inter-SemiBold", Helvetica;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
}
.site-header .sh-cta:hover {
  background-color: #f5c800;
}
.site-header .sh-cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* ---------- Footer (matches Figma export) ---------- */
.site-footer {
  box-sizing: border-box;
  width: 1440px;
  height: 412px;
  margin: 0 auto;
  background-color: #e62427;
  color: #f8f9fa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  position: relative;
}
.site-footer .sf-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 400px;
}
.site-footer .sf-brand {
  position: relative;
  width: 359px;
  height: 237px;
  flex: 0 0 auto;
}
.site-footer .sf-logo-link {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}
.site-footer .sf-logo {
  width: 240px;
  height: 119px;
  object-fit: contain;
  display: block;
}
.site-footer .sf-tagline {
  position: absolute;
  top: 124px;
  left: 0;
  width: 341px;
  font-family: var(--body-font-family);
  font-weight: var(--body-font-weight);
  font-size: var(--body-font-size);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  color: #f8f9fa;
}
.site-footer .sf-social {
  position: absolute;
  top: 201px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-footer .sf-social a {
  display: inline-flex;
}
.site-footer .sf-social img {
  width: 36px;
  height: 36px;
}
.site-footer .sf-right {
  display: flex;
  flex-direction: column;
  width: 533px;
  align-items: flex-end;
  gap: 22px;
  flex: 0 0 auto;
}
.site-footer .sf-cols {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  align-self: stretch;
  width: 100%;
}
.site-footer .sf-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
}
.site-footer .sf-h {
  font-family: var(--body-bold-font-family);
  font-weight: var(--body-bold-font-weight);
  font-size: var(--body-bold-font-size);
  letter-spacing: var(--body-bold-letter-spacing);
  color: #f8f9fa;
}
.site-footer .sf-col a {
  font-family: var(--body-font-family);
  font-weight: var(--body-font-weight);
  font-size: var(--body-font-size);
  letter-spacing: var(--body-letter-spacing);
  color: #f8f9fa;
  text-decoration: none;
  white-space: nowrap;
}
.site-footer .sf-col a:hover {
  text-decoration: underline;
}
.site-footer .sf-cta {
  width: 185px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffd000;
  color: #1a1d20;
  border-radius: 5px;
  font-family: var(--body-bold-font-family);
  font-weight: var(--body-bold-font-weight);
  font-size: var(--body-bold-font-size);
  text-decoration: none;
}
.site-footer .sf-cta:hover {
  background-color: #f5c800;
}
.site-footer .sf-bottom {
  width: 1254px;
}
.site-footer .sf-divider {
  width: 1254px;
  height: 2px;
  background-color: #f8f9fa;
}
.site-footer .sf-copyrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
}
.site-footer .sf-copy {
  font-family: "Inter-Regular", Helvetica;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.32px;
  color: #f8f9fa;
}
.site-footer .sf-legal {
  display: flex;
  gap: 31px;
}
.site-footer .sf-legal a {
  font-family: var(--body-font-family);
  font-weight: var(--body-font-weight);
  font-size: var(--body-font-size);
  color: #f8f9fa;
  text-decoration: none;
  white-space: nowrap;
}
.site-footer .sf-legal a:hover {
  text-decoration: underline;
}

/* ---------- Absolute-coordinate pages: pin header to top, footer to its slot ---------- */
.homepage .site-header,
.contact-us .site-header,
.programmes .site-header,
.gallery .site-header,
.testimonial .site-header,
.annual-showcase .site-header,
.career-opportunity .site-header,
.hall-of-excellence .site-header,
.ebright-referral .site-header,
.trial-class .site-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.homepage .site-footer { position: absolute; top: 5330px; left: 50%; transform: translateX(-50%); }
.contact-us .site-footer { position: absolute; top: 2588px; left: 50%; transform: translateX(-50%); }
.programmes .site-footer { position: absolute; top: 3595px; left: 50%; transform: translateX(-50%); }
.gallery .site-footer { position: absolute; top: 6973px; left: 50%; transform: translateX(-50%); }
.testimonial .site-footer { position: absolute; top: 2671px; left: 50%; transform: translateX(-50%); }
.annual-showcase .site-footer { position: absolute; top: 3218px; left: 50%; transform: translateX(-50%); }
.career-opportunity .site-footer { position: absolute; top: 2192px; left: 50%; transform: translateX(-50%); }
.hall-of-excellence .site-footer { position: absolute; top: 6489px; left: 50%; transform: translateX(-50%); }
.ebright-referral .site-footer { position: absolute; top: 3367px; left: 50%; transform: translateX(-50%); }
.trial-class .site-footer { position: absolute; top: 3951px; left: 50%; transform: translateX(-50%); }

/* ---------- In-page trial-class buttons converted to links ---------- */
.homepage a.button,
.homepage a.button-wrapper,
.weekly-classes a.button-2 {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.homepage a.button-wrapper {
  display: inline-block;
}
