:root {
  --hf-primary: #c84b1c;
  --hf-primary-dark: #943214;
  --hf-navy: #102b4e;
  --hf-gold: #d7a928;
  --hf-ink: #1f2933;
  --hf-muted: #697586;
  --hf-soft: #f5f7fa;
  --hf-line: #dfe5ec;
  --hf-white: #fff;
  --hf-heading: "Poppins", "Open Sans", Arial, sans-serif;
  --hf-body: "Poppins", "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--hf-ink);
  font-family: var(--hf-body);
  line-height: 1.65;
  background: var(--hf-white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid rgba(215, 169, 40, .7); outline-offset: 3px; }

.topbar {
  background: var(--hf-navy);
  color: #edf3fb;
  font-size: .92rem;
}
.topbar .container, .site-header .container, .section .container, .footer .container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(16,43,78,.12);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 12px 30px rgba(16,43,78,.12); }
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { width: 174px; height: auto; }
.brand img[src$="hfa-logo-shield.png"] { width: 96px; }
.brand-text strong {
  display: block;
  color: var(--hf-navy);
  font-family: var(--hf-heading);
  font-size: 1.05rem;
}
.brand-text span { color: var(--hf-primary); font-weight: 800; font-size: .82rem; }

.menu-toggle {
  display: none;
  border: 1px solid var(--hf-line);
  background: #fff;
  padding: 10px 12px;
  font-weight: 800;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a, .dropdown > button {
  border: 0;
  background: none;
  font: 800 .92rem var(--hf-body);
  color: var(--hf-navy);
  padding: 10px 0;
  cursor: pointer;
  position: relative;
}
.nav a::after, .dropdown > button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover::after, .dropdown:hover > button::after, .nav a:focus-visible::after { transform: scaleX(1); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 190px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--hf-line);
  box-shadow: 0 18px 38px rgba(16,43,78,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a { display: block; padding: 9px 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #1260f0;; color: #fff; }
.btn-primary:hover { background: #0f4fca; }
.btn-secondary { background: var(--hf-navy); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-light { background: #fff; color: var(--hf-navy); border-color: var(--hf-line); }

.hero {
  min-height: 620px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--hf-navy);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.56);
  transform: scale(1.04);
  animation: slowScale 10s ease forwards;
}
.hero-content {
  position: relative;
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
}
.eyebrow { color: var(--hf-gold); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3 { font-family: var(--hf-heading); color: var(--hf-navy); line-height: 1.18; margin: 0 0 16px; }
.hero h1 { color: #fff; font-size: clamp(2.35rem, 6vw, 4.9rem); max-width: 860px; }
.hero p { max-width: 700px; font-size: 1.15rem; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.section { padding: 82px 0; }
.section-soft { background: var(--hf-soft); }
.section-title { max-width: 780px; margin-bottom: 34px; }
.section-title p { color: var(--hf-muted); margin: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--hf-line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(16,43,78,.08);
  overflow: hidden;
}
.card-body { padding: 24px; }
.media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9eef5;
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .media img { transform: scale(1.045); }
.placeholder {
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--hf-muted);
  background: repeating-linear-gradient(135deg, #f4f6f9, #f4f6f9 12px, #e9eef5 12px, #e9eef5 24px);
  text-align: center;
  font-weight: 800;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.quote {
  border-left: 4px solid var(--hf-gold);
  padding-left: 18px;
  color: var(--hf-navy);
  font-family: var(--hf-heading);
  font-size: 1.12rem;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}
.pill-list li {
  border: 1px solid var(--hf-line);
  background: #fff;
  padding: 8px 12px;
  font-weight: 800;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #e9eef5;
}
.gallery img { width: 100%; height: 230px; object-fit: cover; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 14px 12px;
  color: #fff;
  background: linear-gradient(transparent, rgba(16,43,78,.86));
  font-weight: 800;
}
.contact-card p { margin: 0 0 10px; }
.footer {
  background: #0c213d;
  color: #dbe5f0;
  padding-top: 58px;
}
.footer h3 { color: #fff; font-size: 1.15rem; }
.footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 30px;
}
.footer-logo { width: 150px;  padding: 8px; margin-bottom: 14px; }
.footer-logo[src$="hfa-logo-shield.png"] { width: 104px; }
.copyright { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes slowScale { from { transform: scale(1); } to { transform: scale(1.04); } }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--hf-line);
    padding: 0 16px 14px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav.open { max-height: 520px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .grid-2, .grid-3, .grid-4, .split, .footer-grid { grid-template-columns: 1fr; }
.hero { min-height: 560px; }
  .gallery { grid-template-columns: 1fr; }
}

.home-reference .site-header {
  border-top: 4px solid var(--hf-primary);
}
.home-reference .brand img {
  width: 250px;
}
.reference-hero {
  min-height: 560px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--hf-navy);
}
.reference-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,43,78,.84), rgba(16,43,78,.42) 52%, rgba(16,43,78,.2));
  z-index: 1;
}
.reference-hero .hero-slide {
  z-index: 0;
}
.reference-hero .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}
.reference-hero-content {
  position: relative;
  z-index: 2;
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}
.reference-hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  margin-bottom: 12px;
}
.reference-hero p {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: 1.14rem;
}
.feature-strip {
  margin-top: -52px;
  padding: 0 0 62px;
  position: relative;
  z-index: 3;
}
.feature-card {
  min-height: 250px;
  background: #fff;
  border-top: 5px solid var(--hf-primary);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16,43,78,.14);
  padding: 30px 26px;
  text-align: center;
}
.feature-card:nth-child(2) { border-top-color: var(--hf-gold); }
.feature-card:nth-child(3) { border-top-color: var(--hf-navy); }
.feature-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f6f8fb;
}
.feature-icon img {
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
}
.feature-card h2 {
  font-size: 1.35rem;
}
.feature-card p {
  margin: 0;
  color: var(--hf-muted);
}
.branch-click-section {
  background: linear-gradient(180deg, #f6f8fb 0%, #fff 100%);
  padding: 78px 0;
}
.section-title.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.branch-click-grid {
  align-items: stretch;
}
.branch-click-card {
  display: grid;
  grid-template-rows: auto 250px 1fr;
  background: #fff;
  border: 1px solid var(--hf-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16,43,78,.1);
  color: var(--hf-ink);
  transition: transform .22s ease, box-shadow .22s ease;
}
.branch-click-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(16,43,78,.16);
}
.branch-badge {
  display: block;
  background: var(--hf-navy);
  color: #fff;
  padding: 13px 18px;
  font-family: var(--hf-heading);
  font-size: 1.25rem;
}
.branch-click-card:nth-child(2) .branch-badge {
  background: var(--hf-primary);
}
.branch-click-card .placeholder {
  min-height: 250px;
}
.branch-click-body {
  padding: 24px;
}
.branch-click-body h3 {
  font-size: 1.35rem;
}
.branch-click-body p {
  min-height: 56px;
  color: var(--hf-muted);
}
.program-row,
.facility-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.program-row span,
.facility-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 16px;
  text-align: center;
  border: 1px solid var(--hf-line);
  background: #fff;
  color: var(--hf-navy);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(16,43,78,.07);
}
.facility-row span {
  gap: 10px;
}
.facility-row i {
  color: var(--hf-primary);
  font-size: 1.25rem;
}
.section.compact {
  padding: 64px 0;
}
.home-simple .simple-hero {
  min-height: 640px;
  align-items: start;
}
.home-simple .simple-highlights {
  padding: 46px 0;
  background: #fff;
}
.home-simple .feature-strip {
  margin-top: 0;
}
.simple-branches {
  padding: 18px 0 70px;
  background: #fff;
}
.simple-branch-card {
  display: block;
  min-height: 178px;
  padding: 34px 30px;
  border: 1px solid var(--hf-line);
  border-top: 5px solid var(--hf-primary);
  background: #fff;
  color: var(--hf-ink);
  box-shadow: 0 16px 36px rgba(16,43,78,.1);
  transition: transform .22s ease, box-shadow .22s ease;
}
.simple-branch-card:nth-child(2) {
  border-top-color: var(--hf-gold);
}
.simple-branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(16,43,78,.15);
}
.simple-branch-card h2 {
  font-size: 1.55rem;
}
.simple-branch-card p {
  margin: 0;
  color: var(--hf-muted);
  font-weight: 700;
}
.simple-footer {
  padding-top: 44px;
}
.footer-three {
  grid-template-columns: 1.1fr 1fr 1.2fr;
  align-items: start;
}
.footer-about p {
  max-width: auto;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.footer-links a::before {
  content: "\F285";
  color: var(--hf-gold);
  font-family: "bootstrap-icons";
  font-size: .78rem;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-social a:hover {
  background: var(--hf-primary);
  border-color: var(--hf-primary);
  transform: translateY(-2px);
}
.footer-three p i {
  color: var(--hf-gold);
  margin-right: 10px;
}
.hero-info-blocks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
}
.hero-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-info-card {
  min-height: 154px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 40px;
  color: #fff;
  background: rgba(8, 45, 84, .88);
  border-right: 1px solid rgba(255,255,255,.42);
  transition: background .2s ease, transform .2s ease;
}
.hero-info-card:last-child {
  border-right: 0;
}
.hero-info-card:hover {
  background: rgba(11, 57, 105, .94);
  transform: translateY(-3px);
}
.hero-info-card h2 {
  color: #fff;
  margin-bottom: 12px;
  font-family: var(--hf-body);
  font-size: 1.45rem;
  font-weight: 800;
}
.hero-info-card p {
  margin: 0;
  color: #fff;
  font-weight: 700;
  line-height: 1.55;
}
.hero-info-card i {
  color: var(--hf-gold);
  font-size: 2.2rem;
  flex: 0 0 auto;
}
.home-simple .reference-hero-content {
  text-align: center;
  padding-top: 180px;
  padding-bottom: 190px;
}
.home-simple .reference-hero-content p {
  margin-left: auto;
  margin-right: auto;
}
.home-simple .topbar {
  display: none;
}
.home-simple .site-header {
  position: relative;
  top: auto;
  left: 0;
  right: 0;
  z-index: 6;
  background: var(--hf-navy);
  border-top: 0;
  border-bottom: 0;
}
.home-simple .site-header.is-stuck {
  box-shadow: none;
}
.home-simple .header-inner {
  min-height: 92px;
}
.home-simple .brand {
  padding: 8px 0;
}
.home-simple .brand img {
  width: 100px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.home-simple .brand img[src$="hfa-logo-shield.png"] {
  width: 100px;
}
.home-simple .nav a {
  color: #fff;
  text-shadow: none;
}
.home-simple .reference-hero::after {
  /*background:
    linear-gradient(180deg, rgba(5,24,48,.58) 0%, rgba(5,24,48,.28) 38%, rgba(5,24,48,.74) 100%),
    linear-gradient(90deg, rgba(11,43,79,.55), rgba(11,43,79,.12));*/
}
.home-simple .reference-hero .hero-slide img {
  object-position: center center;
  transform: scale(1.02);
}
.home-simple .reference-hero h1 {
  text-shadow: 0 8px 28px rgba(0,0,0,.34);
}

@media (max-width: 900px) {
  .home-reference .brand img { width: 190px; }
  .reference-hero { min-height: 520px; }
  .home-simple .simple-hero { min-height: auto; }
  .home-simple .site-header {
    top: 0;
    position: relative;
    background: #fff;
  }
  .home-simple .brand img {
    width: 190px;
    box-shadow: none;
    padding: 0;
  }
  .home-simple .brand img[src$="hfa-logo-shield.png"] {
    width: 100px;
  }
  .home-simple .nav a {
    color: var(--hf-navy);
    text-shadow: none;
  }
  .home-simple .reference-hero-content {
    padding-top: 64px;
    padding-bottom: 46px;
  }
  .hero-info-blocks {
    position: relative;
  }
  .hero-info-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .hero-info-card {
    min-height: auto;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.34);
  }
  .feature-strip { margin-top: 0; padding-top: 34px; }
  .program-row,
  .facility-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Belghat branch homepage */
    body.belghat-home { overflow-x: hidden; background: #fff; }
    .belghat-home h1,
    .belghat-home h2,
    .belghat-home h3 {
      font-family: var(--hf-body);
      font-weight: 900;
      letter-spacing: 0;
    }
    .belghat-home h2 { font-size: 2rem; }
    .belghat-home .topbar { ; color: #fff; font-size: .86rem; }
    .belghat-home .topbar-inner { align-items: center; justify-content: space-between; padding: 8px 0; }
    .topbar-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
    .topbar-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 7px 14px;
      border: 1px solid transparent;
      border-radius: 4px;
      background: var(--hf-primary);
      color: #fff;
      font-size: .78rem;
      font-weight: 900;
      text-transform: uppercase;
      transition: background .2s ease, color .2s ease, transform .2s ease;
    }
    .topbar-button:hover {
      background: var(--hf-primary-dark);
      color: #fff;
      transform: translateY(-1px);
    }
    .topbar-button-light {
      background: #fff;
      color: var(--hf-navy);
      border-color: var(--hf-line);
    }
    .topbar-button-light:hover {
      background: #fff7df;
      color: var(--hf-navy);
      border-color: var(--hf-gold);
    }
    .belghat-home .topbar .topbar-button { color: #fff; }
    .belghat-home .topbar .topbar-button-light { color: var(--hf-navy); }
    .belghat-home .site-header {
      background: #fff;
      border-bottom: 0;
      overflow: visible;
    }
    .belghat-home .site-header.is-stuck { box-shadow: 0 16px 34px rgba(16,43,78,.22); }
    .header-brand-row {
      min-height: 92px;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 22px;
    }
    .belghat-home .brand {
      grid-column: 2;
      justify-self: center;
      align-self: center;
      min-width: auto;
      margin-left: 0;
      padding: 0;
      background: transparent;
      clip-path: none;
    }
    .header-actions {
      grid-column: 3;
      justify-self: end;
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 10px;
    }
    .nav-shell {
      background:
        repeating-linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.045) 1px, transparent 1px, transparent 7px),
        var(--hf-navy);
    }
    .belghat-home .header-inner { min-height: 50px; position: relative; justify-content: center; }
    .belghat-home .brand img { width: 150px; }
    .belghat-home .brand-text {
      display: block;
      white-space: nowrap;
    }
    .belghat-home .brand-text strong {
      color: var(--hf-navy);
      font-family: var(--hf-body);
      font-size: 1.55rem;
      font-weight: 900;
      line-height: 1.1;
    }
    .belghat-home .nav { gap: 0; margin-left: 0; justify-content: center; width: 100%; }
    .belghat-home .nav a,
    .belghat-home .dropdown > button {
      min-height: 50px;
      color: #fff;
      font-size: .82rem;
      white-space: nowrap;
      text-transform: uppercase;
      padding: 15px 17px;
    }
    .belghat-home .nav a:hover,
    .belghat-home .dropdown > button:hover { background: rgba(255,255,255,.08); }
    .belghat-home .dropdown-menu a { color: #102b4e; }
    .belghat-home .nav .btn {
      padding: 13px 22px;
      min-height: 50px;
      color: #fff;
      background: var(--hf-primary);
      border-radius: 4px;
      box-shadow: none;
    }
    .belghat-home .nav .btn:hover { background: var(--hf-primary-dark); }
    .belghat-home .nav .btn-branch {
      background: #fff;
      color: var(--hf-navy);
      border-color: #fff;
    }
    .belghat-home .nav .btn-branch:hover {
      background: var(--hf-gold);
      color: var(--hf-navy);
    }
    .belghat-home .menu-toggle { color: #102b4e; }
    .belghat-hero {
      min-height: 690px;
      position: relative;
      display: grid;
      align-items: center;
      overflow: hidden;
      color: #fff;
      background: #102b4e;
    }
    .belghat-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 76% 24%, rgba(215,169,40,.18), transparent 30%),
        linear-gradient(90deg, rgba(7,25,48,.9), rgba(16,43,78,.66) 48%, rgba(16,43,78,.2));
      z-index: 1;
    }
    .belghat-hero .hero-slide img { filter: none; object-position: center; }
    .belghat-hero-content {
      position: relative;
      z-index: 2;
      width: min(1140px, calc(100% - 32px));
      margin: 0 auto;
      padding: 96px 0 154px;
    }
    .belghat-hero h1 {
      color: #fff;
      font-size: clamp(2.45rem, 5.8vw, 5rem);
      max-width: 900px;
      text-shadow: 0 10px 26px rgba(0,0,0,.32);
    }
    .belghat-hero p { max-width: 720px; font-size: 1.15rem; margin-bottom: 28px; }
    .vision-overlap { margin-top: -96px; position: relative; z-index: 4; padding-bottom: 48px; }
    .statement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .statement-card,
    .programme-card,
    .facility-card,
    .notice-card {
      background: #fff;
      border: 1px solid #dfe5ec;
      border-radius: 8px;
      box-shadow: 0 18px 42px rgba(16,43,78,.12);
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }
    .statement-card { min-height: 224px; padding: 27px 22px; }
    .statement-card:hover,
    .programme-card:hover,
    .facility-card:hover,
    .notice-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 54px rgba(16,43,78,.17);
      border-color: rgba(200,75,28,.35);
    }
    .statement-icon,
    .programme-icon,
    .facility-icon {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      color: #c84b1c;
      background: #fff4ef;
      border-radius: 8px;
      font-size: 1.55rem;
      margin-bottom: 18px;
    }
    .statement-card h2 { font-size: 1.28rem; }
    .statement-card p,
    .programme-card p,
    .facility-card p,
    .notice-card p { color: #697586; margin: 0; }
    .value-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px 12px;
      margin: 12px 0 0;
      padding: 0;
      list-style: none;
      color: #697586;
      font-size: .9rem;
      font-weight: 700;
    }
    .value-list li::before {
      content: "";
      display: inline-block;
      width: 7px;
      height: 7px;
      margin-right: 8px;
      border-radius: 50%;
      background: #d7a928;
      vertical-align: 1px;
    }
    .section-pattern {
      background:
        linear-gradient(180deg, #f5f7fa 0%, #fff 100%),
        repeating-linear-gradient(135deg, rgba(16,43,78,.04), rgba(16,43,78,.04) 1px, transparent 1px, transparent 16px);
    }
    .image-frame {
      position: relative;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 18px 42px rgba(16,43,78,.14);
      background: #e9eef5;
    }
    .image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
    .image-frame:hover img { transform: scale(1.045); }
    .principal-panel {
      display: grid;
      grid-template-columns: .82fr 1.18fr;
      gap: 0;
      overflow: hidden;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 20px 50px rgba(16,43,78,.12);
      border: 1px solid #dfe5ec;
    }
    .principal-panel .placeholder { min-height: 100%; border-radius: 0; }
    .principal-photo {
      min-height: 100%;
      border-radius: 0;
      box-shadow: none;
    }
    .principal-photo img {
      object-position: center top;
    }
    .principal-copy { padding: clamp(28px, 5vw, 58px); }
    .programme-card { overflow: hidden; }
    .programme-section { background: #fff; position: relative; }
    .programme-category-layout {
      display: grid;
      grid-template-columns: .74fr 1.26fr;
      gap: 54px;
      align-items: center;
      position: relative;
    }
    .programme-category-layout::before {
      content: "";
      position: absolute;
      left: 36%;
      right: 8px;
      top: 42px;
      height: 2px;
      background: #e3e6ea;
      z-index: 0;
    }
    .programme-category-layout::after {
      content: "";
      position: absolute;
      right: 4px;
      top: 38px;
      width: 10px;
      height: 10px;
      background: #d7dbe0;
      transform: rotate(45deg);
      z-index: 0;
    }
    .programme-intro,
    .programme-category-grid { position: relative; z-index: 1; }
    .programme-intro {
      min-height: 238px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .programme-intro .eyebrow {
      display: inline-flex;
      gap: 9px;
      align-items: center;
      color: #1260f0;
      margin-bottom: 18px;
    }
    .programme-intro h2 {
      font-family: var(--hf-body);
      font-size: 2rem;
      font-weight: 900;
      letter-spacing: 0;
      color: #071f3d;
      margin-bottom: 28px;
    }
    .programme-intro .btn-primary,
    .programme-card .btn-primary {
      background: #1260f0;
      box-shadow: 0 10px 22px rgba(18,96,240,.24);
    }
    .programme-intro .btn-primary:hover,
    .programme-card .btn-primary:hover { background: #0f4fca; }
    .programme-category-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
    }
    .programme-card {
      min-height: 224px;
      padding: 26px 20px 20px;
      text-align: center;
    }
    .programme-card .programme-icon {
      width: 64px;
      height: 64px;
      margin: 0 auto 18px;
      border-radius: 50%;
      color: #1260f0;
      background: #eef5ff;
      font-size: 1.72rem;
    }
    .programme-body { padding: 0; }
    .programme-body h3,
    .facility-card h3 { font-size: 1.2rem; }
    .programme-body h3 {
      font-family: var(--hf-body);
      font-weight: 900;
      color: #102b4e;
      min-height: 58px;
      margin-bottom: 8px;
    }
    .programme-body p {
      min-height: 28px;
      margin-bottom: 20px;
      font-size: .95rem;
    }
    .programme-card .btn {
      width: 100%;
      min-height: 36px;
      padding: 8px 12px;
      font-size: .82rem;
    }
    .facilities-layout {
      display: grid;
      grid-template-columns: .95fr 1.05fr;
      gap: 42px;
      align-items: center;
      position: relative;
    }
    .facilities-copy {
      min-height: 430px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      z-index: 1;
    }
    .facilities-copy .eyebrow {
      color: #1260f0;
      margin-bottom: 16px;
      display: inline-flex;
      gap: 9px;
      align-items: center;
    }
    .facilities-copy h2 {
      font-family: var(--hf-body);
      font-size: 2rem;
      font-weight: 900;
      color: #071f3d;
      max-width: 590px;
    }
    .facilities-copy p {
      max-width: 650px;
      color: #415064;
      margin-bottom: 28px;
    }
    .facilities-copy .btn-primary {
      background: #1260f0;
      width: max-content;
      box-shadow: 0 10px 22px rgba(18,96,240,.24);
    }
    .facilities-copy .btn-primary:hover { background: #0f4fca; }
    .facility-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
      position: relative;
      z-index: 1;
    }
    .facility-grid::before {
      content: "";
      position: absolute;
      inset: 10% 8% auto auto;
      width: 420px;
      height: 420px;
      border: 5px solid rgba(18,96,240,.12);
      border-radius: 50%;
      z-index: -1;
    }
    .facility-card {
      min-height: 252px;
      padding: 34px 26px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .facility-card:nth-child(even) { transform: translateY(28px); }
    .facility-card:nth-child(even):hover { transform: translateY(22px); }
    .facility-card .facility-icon {
      width: 78px;
      height: 78px;
      margin: 0 auto 22px;
      color: #1260f0;
      background: #eef5ff;
      font-size: 2.15rem;
    }
    .facility-card h3 {
      font-family: var(--hf-body);
      font-size: 1.3rem;
      font-weight: 900;
      color: #071f3d;
    }
    .wellbeing-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
    .wellbeing-list li { display: flex; gap: 10px; color: #102b4e; font-weight: 800; }
    .wellbeing-list i { color: #d7a928; }
    .wellbeing-section { background: #fff; overflow: hidden; }
    .wellbeing-layout {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 70px;
      align-items: center;
    }
    .wellbeing-images {
      min-height: 470px;
      position: relative;
    }
    .wellbeing-images .image-frame:first-child {
      width: 72%;
      height: 450px;
    }
    .wellbeing-images .image-frame:nth-child(2) {
      position: absolute;
      right: 0;
      bottom: 54px;
      width: 43%;
      height: 230px;
      border: 8px solid #fff;
      box-shadow: 0 18px 42px rgba(16,43,78,.18);
    }
    .wellbeing-copy .eyebrow {
      color: #1260f0;
      margin-bottom: 14px;
      display: inline-flex;
      gap: 9px;
      align-items: center;
    }
    .wellbeing-copy h2 {
      font-family: var(--hf-body);
      font-size: 2rem;
      font-weight: 900;
      color: #071f3d;
      max-width: 650px;
    }
    .wellbeing-copy p { color: #415064; }
    .wellbeing-copy .btn-primary {
      background: #1260f0;
      margin-top: 12px;
      box-shadow: 0 10px 22px rgba(18,96,240,.24);
    }
    .wellbeing-copy .btn-primary:hover { background: #0f4fca; }
    .wellbeing-info-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      margin-top: -34px;
      position: relative;
      z-index: 2;
    }
    .wellbeing-info-card {
      min-height: 154px;
      padding: 28px;
      background: #fff;
      border: 1px solid #dfe5ec;
      border-radius: 8px;
      box-shadow: 0 18px 42px rgba(16,43,78,.12);
      transition: transform .22s ease, box-shadow .22s ease;
    }
    .wellbeing-info-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 24px 54px rgba(16,43,78,.16);
    }
    .wellbeing-info-card i {
      color: #1260f0;
      font-size: 2.2rem;
      margin-bottom: 18px;
      display: inline-block;
    }
    .wellbeing-info-card h3 {
      font-family: var(--hf-body);
      font-size: 1.18rem;
      font-weight: 900;
      color: #102b4e;
      margin-bottom: 8px;
    }
    .wellbeing-info-card p {
      margin: 0;
      color: #697586;
      font-size: .94rem;
    }
    .notice-card { padding: 28px; }
    .news-section { background: #fff; }
    .news-heading-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 24px;
      margin-bottom: 34px;
    }
    .news-heading-row .section-title { margin-bottom: 0; }
    .news-heading-row .eyebrow {
      display: inline-flex;
      gap: 9px;
      align-items: center;
      color: #1260f0;
      margin-bottom: 14px;
    }
    .news-heading-row h2 {
      font-family: var(--hf-body);
      font-size: 2rem;
      font-weight: 900;
      color: #071f3d;
    }
    .news-heading-row .btn-primary,
    .news-card-edura .btn-primary {
      background: #1260f0;
      box-shadow: 0 10px 22px rgba(18,96,240,.24);
    }
    .news-heading-row .btn-primary:hover,
    .news-card-edura .btn-primary:hover { background: #0f4fca; }
    .news-card-edura {
      padding: 30px;
      overflow: hidden;
      background: #fff;
      border: 1px solid #dfe5ec;
      border-radius: 8px;
      box-shadow: 0 16px 38px rgba(16,43,78,.08);
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }
    .news-card-edura:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 54px rgba(16,43,78,.15);
      border-color: rgba(18,96,240,.24);
    }
    .news-card-edura .media {
      aspect-ratio: 1.36 / 1;
      border-radius: 8px;
      margin-bottom: 24px;
    }
    .news-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 14px;
      color: #697586;
      font-size: .94rem;
      font-weight: 700;
    }
    .news-meta span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .news-meta i { color: #1260f0; }
    .news-card-edura h3 {
      font-family: var(--hf-body);
      font-size: 1.35rem;
      line-height: 1.3;
      font-weight: 900;
      color: #102b4e;
    }
    .news-card-edura p { color: #697586; }
    .news-card-edura .btn {
      min-height: 38px;
      padding: 8px 13px;
      font-size: .82rem;
      margin-top: 8px;
    }
    .gallery.belghat-gallery figure::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(16,43,78,.12);
      opacity: 0;
      z-index: 1;
      transition: opacity .25s ease;
    }
    .gallery.belghat-gallery figure:hover::before { opacity: 1; }
    .cta-band {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
      padding: 42px;
      border-radius: 8px;
      color: #fff;
      background: linear-gradient(135deg, #102b4e, #17406f);
      box-shadow: 0 22px 48px rgba(16,43,78,.18);
    }
    .cta-band h2 { color: #fff; }
    .cta-band p { margin: 0; max-width: 720px; }
    .contact-band { grid-template-columns: 1fr 1fr; }
    .contact-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
    .contact-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
    .contact-list i { color: #c84b1c; font-size: 1.18rem; }
    .missing-note { color: #697586; font-weight: 800; }
    .belghat-home .footer-three {
      grid-template-columns: 6fr 3fr 3fr;
      gap: 42px;
    }
    .belghat-home .footer-logo {
      
      
      padding: 8px;
    }
    @media (max-width: 1100px) {
      .header-brand-row { grid-template-columns: 1fr; justify-items: center; padding: 12px 0; }
      .belghat-home .brand { grid-column: auto; }
      .header-actions { grid-column: auto; justify-self: center; justify-content: center; }
      .belghat-home .brand img { width: 150px; }
      .belghat-home .nav { gap: 0; }
      .belghat-home .nav a, .belghat-home .dropdown > button { font-size: .72rem; }
      .belghat-home .nav .btn { padding: 11px 14px; min-height: 44px; }
    }
    @media (max-width: 900px) {
      .belghat-home .site-header { background: #fff; overflow: visible; }
      .belghat-home .header-inner { min-height: 56px; justify-content: flex-start; }
      .belghat-home .brand img { width: 120px; }
      .belghat-home .nav a,
      .belghat-home .dropdown > button { color: #102b4e; }
      .belghat-home .nav .btn { color: #fff; width: max-content; }
      .belghat-home .nav.open { max-height: 860px; }
      .belghat-hero { min-height: 580px; }
      .belghat-hero-content { padding: 72px 0 90px; }
      .vision-overlap { margin-top: 0; padding-top: 34px; }
      .statement-grid,
      .facilities-layout,
      .principal-panel,
      .programme-category-layout,
      .contact-band,
      .cta-band,
      .belghat-home .footer-three { grid-template-columns: 1fr; }
      .statement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .programme-category-layout::before,
      .programme-category-layout::after { display: none; }
      .programme-intro { min-height: auto; align-items: flex-start; }
      .programme-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .facilities-copy { min-height: auto; }
      .facility-card:nth-child(even),
      .facility-card:nth-child(even):hover { transform: none; }
      .news-heading-row { align-items: flex-start; flex-direction: column; }
      .wellbeing-layout,
      .wellbeing-info-grid { grid-template-columns: 1fr; }
      .wellbeing-images { min-height: auto; display: grid; gap: 18px; }
      .wellbeing-images .image-frame:first-child,
      .wellbeing-images .image-frame:nth-child(2) {
        width: 100%;
        height: auto;
        position: relative;
        right: auto;
        bottom: auto;
        border: 0;
        aspect-ratio: 16 / 10;
      }
      .wellbeing-info-grid { margin-top: 30px; }
      .cta-band { padding: 30px 24px; }
    }
    @media (max-width: 620px) {
      .topbar-links { display: grid; gap: 7px; }
      .statement-grid,
      .facility-grid,
      .programme-category-grid { grid-template-columns: 1fr; }
      .value-list { grid-template-columns: 1fr; }
      .belghat-hero p { font-size: 1rem; }
    }


/* Belghat homepage styles */
.belghat-home .nav a,
    .belghat-home .dropdown > button {
      text-transform: none;
    }

    .belghat-home .nav .dropdown-menu {
      display: block;
    }

    .belghat-home .vision-overlap {
      margin-top: -82px;
      padding-bottom: 72px;
    }

    .belghat-home .statement-grid {
      gap: 10px;
    }

    .belghat-home .statement-card {
      min-height: 370px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 38px 30px;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      transition: transform .25s ease, box-shadow .25s ease;
    }

    .belghat-home .statement-card:nth-child(1) {
      background: #fff5f7;
    }

    .belghat-home .statement-card:nth-child(2) {
      background: #f2f6fa;
    }

    .belghat-home .statement-card:nth-child(3) {
      background: #f5f1fb;
    }

    .belghat-home .statement-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 34px rgba(16, 43, 78, .1);
    }

    .belghat-home .statement-icon {
      width: 84px;
      height: 84px;
      margin: 0 0 20px;
      background: transparent;
      box-shadow: none;
    }

    .belghat-home .statement-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .belghat-home .statement-card h2 {
      margin-bottom: 14px;
      color: var(--hf-navy);
      font-size: 1.55rem;
      line-height: 1.25;
    }

    .belghat-home .statement-card p,
    .belghat-home .statement-card .value-list {
      color: #536277;
      font-size: .96rem;
      line-height: 1.75;
    }

    .belghat-home .statement-card p {
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .belghat-home .statement-card .value-list {
      margin-bottom: 24px;
    }

    .belghat-home .statement-read-more {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-height: 48px;
      margin-top: auto;
      padding: 10px 24px;
      border: 1px solid var(--hf-navy);
      color: var(--hf-navy);
      font-weight: 700;
      background: transparent;
      transition: color .2s ease, background .2s ease;
    }

    .belghat-home .statement-read-more:hover {
      color: #fff;
      background: var(--hf-navy);
    }

    .belghat-home .programme-section {
      background: #fff;
    }

    .belghat-home .programme-category-layout {
      display: block;
    }

    .belghat-home .programme-intro {
      max-width: 720px;
      margin: 0 auto 40px;
      min-height: auto;
      align-items: center;
      text-align: center;
    }

    .belghat-home .programme-intro h2 {
      max-width: none;
    }

    .belghat-home .programme-intro .btn-primary {
      width: auto;
      min-width: 240px;
    }

    .belghat-home .programme-category-layout::before,
    .belghat-home .programme-category-layout::after {
      display: none;
    }

    .belghat-home .programme-category-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 28px;
    }

    .belghat-home .programme-card {
      min-height: auto;
      display: block;
      padding: 0;
      overflow: visible;
      border: 0;
      background: transparent;
      box-shadow: none;
      text-align: center;
    }

    .belghat-home .programme-card:hover {
      transform: translateY(-6px);
      box-shadow: none;
    }

    .belghat-home .programme-media {
      height: 260px;
      overflow: hidden;
      background: #e9eef5;
    }

    .belghat-home .programme-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .35s ease;
    }

    .belghat-home .programme-card:hover .programme-media img {
      transform: scale(1.05);
    }

    .belghat-home .programme-body {
      width: calc(100% - 40px);
      min-height: 0;
      margin: -82px auto 0;
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 28px 22px;
      background: #fff;
      box-shadow: 0 18px 38px rgba(16, 43, 78, .09);
    }

    .belghat-home .programme-body p:first-child {
      min-height: 58px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 12px;
      color: var(--hf-navy);
      font-size: 1.15rem;
      line-height: 1.35;
    }

    .belghat-home .programme-body p:nth-child(2) {
      margin-bottom: 18px;
      color: #536277;
    }

    .belghat-home .programme-card .btn {
      margin-top: 8px;
      background: transparent;
      border: 1px solid var(--hf-line);
      color: var(--hf-navy);
      box-shadow: none;
      text-transform: capitalize;
    }

    .belghat-home .programme-card .btn:hover {
      color: #fff;
      background: var(--hf-navy);
      border-color: var(--hf-navy);
    }

    .belghat-home .news-card-edura {
      padding: 0;
      overflow: hidden;
    }

    .belghat-home .news-card-edura .media {
      height: 250px;
      aspect-ratio: auto;
      margin-bottom: 0;
      border-radius: 8px 8px 0 0;
      background: #e9eef5;
    }

    .belghat-home .news-card-edura .media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .belghat-home .news-card-edura .news-meta,
    .belghat-home .news-card-edura h3,
    .belghat-home .news-card-edura p,
    .belghat-home .news-card-edura .btn {
      margin-left: 26px;
      margin-right: 26px;
    }

    .belghat-home .news-card-edura .news-meta {
      margin-top: 24px;
    }

    .belghat-home .news-card-edura .btn {
      margin-bottom: 28px;
    }

    @media (max-width: 900px) {
      .belghat-home .nav .dropdown-menu {
        display: none;
      }

      .belghat-home .nav .dropdown.open .dropdown-menu {
        display: block;
      }

      .belghat-home .vision-overlap {
        margin-top: 0;
        padding-top: 34px;
      }

      .belghat-home .programme-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .belghat-home .programme-media {
        height: 240px;
      }

      .belghat-home .news-card-edura .media {
        height: 230px;
      }
    }

    @media (max-width: 620px) {
      .belghat-home .programme-category-grid {
        grid-template-columns: 1fr;
      }

      .belghat-home .programme-media {
        height: 250px;
      }

      .belghat-home .news-card-edura .media {
        height: 220px;
      }
    }

