:root {
  --hw-green: #0D5C2F;
  --hw-green-dark: #062d1a;
  --hw-gold: #F6C445;
  --hw-black: #111111;
  --hw-white: #FFFFFF;
  --hw-gray: #EAEAEA;
  --hw-ink: #17221b;
  --hw-muted: #637067;
  --hw-line: rgba(13, 92, 47, .16);
  --hw-glass: rgba(255, 255, 255, .78);
  --hw-shadow: 0 24px 70px rgba(3, 30, 17, .14);
  --hw-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--hw-ink);
  background:
    radial-gradient(circle at top left, rgba(246, 196, 69, .12), transparent 24rem),
    linear-gradient(180deg, #fbfffd 0%, #ffffff 40%, #f4f7f5 100%);
  overflow-x: hidden;
}

body.loading-active {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p {
  color: var(--hw-muted);
  line-height: 1.8;
}

.section-padding {
  padding: 96px 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  color: var(--hw-green);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--hw-gold), var(--hw-green));
}

.section-title {
  margin-bottom: 1rem;
  color: var(--hw-black);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: #5d6b62;
}

.text-gold {
  color: var(--hw-gold);
}

.bg-soft {
  background:
    linear-gradient(135deg, rgba(13, 92, 47, .06), rgba(246, 196, 69, .08)),
    #f7fbf8;
}

.bg-dark-green {
  background:
    linear-gradient(135deg, rgba(5, 33, 19, .96), rgba(13, 92, 47, .92)),
    var(--hw-green-dark);
  color: var(--hw-white);
}

.bg-dark-green p,
.bg-dark-green .section-title,
.bg-dark-green .section-kicker {
  color: var(--hw-white);
}

.btn-hw-primary,
.btn-hw-outline,
.btn-hw-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .78rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn-hw-primary {
  border: 1px solid var(--hw-gold);
  color: var(--hw-black);
  background: linear-gradient(135deg, #ffe18a, var(--hw-gold));
  box-shadow: 0 16px 32px rgba(246, 196, 69, .34);
}

.btn-hw-outline {
  border: 1px solid rgba(255, 255, 255, .55);
  color: var(--hw-white);
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(14px);
}

.btn-hw-light {
  border: 1px solid rgba(13, 92, 47, .14);
  color: var(--hw-green);
  background: var(--hw-white);
  box-shadow: 0 14px 28px rgba(13, 92, 47, .09);
}

.btn-hw-primary:hover,
.btn-hw-outline:hover,
.btn-hw-light:hover {
  transform: translateY(-3px);
}

.btn-hw-outline:hover {
  border-color: var(--hw-gold);
  color: var(--hw-gold);
}

.btn-hw-light:hover {
  color: var(--hw-black);
  box-shadow: 0 20px 36px rgba(13, 92, 47, .15);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, #0f743d, #041b10 68%);
  color: var(--hw-white);
  transition: opacity .45s ease, visibility .45s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-orbit {
  position: relative;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}

.loader-orbit::before,
.loader-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.loader-orbit::before {
  inset: 10px;
  border: 3px solid transparent;
  border-top-color: var(--hw-gold);
  border-right-color: var(--hw-gold);
  animation: spin 1s linear infinite;
}

.loader-orbit::after {
  inset: 28px;
  background: var(--hw-gold);
  box-shadow: 0 0 22px rgba(246, 196, 69, .75);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.navbar-hw {
  padding: 1rem 0;
  background: rgba(4, 31, 17, .38);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}

.navbar-hw.navbar-scrolled {
  padding: .55rem 0;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 42px rgba(3, 30, 17, .12);
}

.navbar-hw .navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--hw-white);
  font-weight: 800;
  letter-spacing: .03em;
}

.navbar-hw.navbar-scrolled .navbar-brand,
.navbar-hw.navbar-scrolled .nav-link {
  color: var(--hw-black);
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(246, 196, 69, .32), 0 12px 30px rgba(0, 0, 0, .18);
}

.navbar-hw .nav-link {
  position: relative;
  margin: 0 .15rem;
  color: rgba(255, 255, 255, .88);
  font-size: .92rem;
  font-weight: 600;
}

.navbar-hw .nav-link::after {
  content: "";
  position: absolute;
  right: .5rem;
  bottom: .2rem;
  left: .5rem;
  height: 2px;
  background: var(--hw-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.navbar-hw .nav-link:hover::after,
.navbar-hw .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-hw .navbar-toggler {
  border: 1px solid rgba(246, 196, 69, .55);
  box-shadow: none;
}

.navbar-hw .navbar-toggler-icon {
  filter: invert(1);
}

.navbar-hw.navbar-scrolled .navbar-toggler-icon {
  filter: none;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--hw-white);
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(115deg, rgba(3, 30, 17, .9) 0%, rgba(13, 92, 47, .7) 45%, rgba(17, 17, 17, .38) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.05);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(4, 31, 17, .82));
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 78%);
}

.hero-content {
  max-width: 850px;
  padding-top: 90px;
}

.hero-logo {
  width: 92px;
  height: 92px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(246, 196, 69, .34);
}

.hero-title {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 7.6rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.floating-badge {
  position: absolute;
  right: 8%;
  bottom: 14%;
  width: min(280px, 34vw);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--hw-radius);
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .2);
  animation: float 5s ease-in-out infinite;
}

.floating-badge strong {
  display: block;
  color: var(--hw-gold);
  font-size: 1.8rem;
}

.floating-badge span {
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

.glass-card,
.feature-card,
.activity-card,
.news-card,
.stat-card,
.contact-card,
.value-card,
.accordion-item {
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-radius);
  background: var(--hw-glass);
  box-shadow: var(--hw-shadow);
  backdrop-filter: blur(18px);
}

.feature-card,
.stat-card,
.value-card,
.contact-card {
  height: 100%;
  padding: 1.45rem;
}

.icon-box {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  place-items: center;
  border-radius: var(--hw-radius);
  color: var(--hw-green);
  background: linear-gradient(135deg, rgba(246, 196, 69, .34), rgba(13, 92, 47, .11));
  box-shadow: inset 0 0 20px rgba(255, 255, 255, .55);
}

.image-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--hw-radius);
  box-shadow: var(--hw-shadow);
}

.image-panel img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 30, 17, .65));
}

.image-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--hw-radius);
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(16px);
  color: var(--hw-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  text-align: center;
}

.stat-card .counter {
  display: block;
  color: var(--hw-green);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.activity-card,
.news-card {
  height: 100%;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.activity-card:hover,
.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(246, 196, 69, .6);
  box-shadow: 0 28px 75px rgba(13, 92, 47, .18);
}

.activity-card .card-img,
.news-card .card-img {
  height: 235px;
  overflow: hidden;
}

.activity-card img,
.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.activity-card:hover img,
.news-card:hover img,
.gallery-item:hover img {
  transform: scale(1.08);
}

.activity-card .card-body,
.news-card .card-body {
  padding: 1.3rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .8rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  color: var(--hw-green);
  background: rgba(13, 92, 47, .08);
  font-size: .78rem;
  font-weight: 700;
}

.timeline {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--hw-gold), var(--hw-green), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(50% - 10px);
  width: 20px;
  height: 20px;
  border: 4px solid var(--hw-white);
  border-radius: 50%;
  background: var(--hw-gold);
  box-shadow: 0 0 0 6px rgba(246, 196, 69, .18);
}

.timeline-card {
  padding: 1.35rem;
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-radius);
  background: var(--hw-white);
  box-shadow: 0 18px 45px rgba(13, 92, 47, .09);
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 2;
}

.timeline-year {
  color: var(--hw-green);
  font-size: 1.8rem;
  font-weight: 900;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid rgba(13, 92, 47, .18);
  border-radius: 999px;
  padding: .68rem 1rem;
  color: var(--hw-green);
  background: var(--hw-white);
  font-weight: 700;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--hw-black);
  background: var(--hw-gold);
  transform: translateY(-2px);
}

.masonry-gallery {
  columns: 3 260px;
  column-gap: 1rem;
}

.gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--hw-radius);
  background: transparent;
  box-shadow: 0 20px 55px rgba(13, 92, 47, .13);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.gallery-item::after {
  content: attr(data-title);
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  left: .8rem;
  padding: .75rem;
  border-radius: var(--hw-radius);
  color: var(--hw-white);
  background: rgba(3, 30, 17, .64);
  backdrop-filter: blur(12px);
  font-size: .86rem;
  font-weight: 700;
  transform: translateY(130%);
  transition: transform .3s ease;
}

.gallery-item:hover::after {
  transform: translateY(0);
}

.gallery-item.is-hidden {
  display: none;
}

.is-filter-hidden,
.is-page-hidden {
  display: none !important;
}

.public-pagination {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: 1.5rem;
}

.public-pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 .75rem;
  border: 1px solid var(--hw-line);
  border-radius: 999px;
  color: var(--hw-ink);
  background: var(--theme-card, #fff);
  font-size: .7rem;
  font-weight: 800;
}

.public-pagination button.active {
  border-color: var(--hw-green);
  color: #fff;
  background: var(--hw-green);
}

.public-pagination button:disabled { opacity: .38; cursor: not-allowed; }

.social-links-empty {
  color: var(--hw-muted);
  font-size: .82rem;
  line-height: 1.6;
}

.public-empty-state {
  width: 100%;
  padding: 1.25rem;
  border: 1px dashed var(--border, var(--hw-line));
  border-radius: var(--hw-radius);
  color: var(--text-muted, var(--hw-muted));
  background: var(--card, var(--theme-card, #fff));
  text-align: center;
}

@media (max-width: 575.98px) {
  .public-pagination button span { display: none; }
}

.swiper {
  padding: .5rem .25rem 3rem;
}

.swiper-pagination-bullet-active {
  background: var(--hw-gold);
}

.achievement-card,
.testimonial-card {
  height: 100%;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--hw-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)),
    rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  color: var(--hw-white);
}

.achievement-card i {
  color: var(--hw-gold);
  font-size: 2rem;
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border: 3px solid var(--hw-gold);
  border-radius: 50%;
  object-fit: cover;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  border-radius: var(--hw-radius);
  background:
    linear-gradient(135deg, rgba(13, 92, 47, .96), rgba(4, 31, 17, .94)),
    var(--hw-green);
  color: var(--hw-white);
  box-shadow: 0 32px 80px rgba(13, 92, 47, .28);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .35;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.form-control,
.form-select {
  min-height: 48px;
  border-color: rgba(13, 92, 47, .16);
  border-radius: var(--hw-radius);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--hw-gold);
  box-shadow: 0 0 0 .25rem rgba(246, 196, 69, .22);
}

.accordion-item {
  overflow: hidden;
  margin-bottom: .8rem;
  border: 1px solid rgba(13, 92, 47, .12);
}

.accordion-button {
  font-weight: 800;
}

.accordion-button:not(.collapsed) {
  color: var(--hw-black);
  background: rgba(246, 196, 69, .2);
  box-shadow: none;
}

.map-frame {
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--hw-radius);
  box-shadow: var(--hw-shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.footer {
  padding: 70px 0 24px;
  color: rgba(255, 255, 255, .78);
  background: #061d11;
}

.footer h5,
.footer h6 {
  color: var(--hw-white);
}

.footer-logo {
  width: 58px;
  height: 58px;
}

.footer-link {
  display: block;
  margin-bottom: .65rem;
  color: rgba(255, 255, 255, .74);
  transition: color .25s ease, transform .25s ease;
}

.footer-link:hover {
  color: var(--hw-gold);
  transform: translateX(4px);
}

.social-link {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-right: .45rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  color: var(--hw-white);
  background: rgba(255, 255, 255, .06);
  transition: transform .25s ease, color .25s ease, border-color .25s ease;
}

.social-link:hover {
  color: var(--hw-gold);
  border-color: var(--hw-gold);
  transform: translateY(-4px);
}

.page-header {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  color: var(--hw-white);
  overflow: hidden;
  isolation: isolate;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(115deg, rgba(3, 30, 17, .92), rgba(13, 92, 47, .68), rgba(17, 17, 17, .45)),
    var(--page-image);
  background-position: center;
  background-size: cover;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
}

.page-title {
  max-width: 820px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, .65);
}

.breadcrumb a,
.breadcrumb-item.active {
  color: rgba(255, 255, 255, .82);
}

.program-list {
  display: grid;
  gap: 1rem;
}

.program-list li {
  display: flex;
  gap: .8rem;
  padding: 1rem;
  border: 1px solid rgba(13, 92, 47, .13);
  border-radius: var(--hw-radius);
  background: rgba(255, 255, 255, .78);
}

.program-list i {
  color: var(--hw-green);
  margin-top: .25rem;
}

.scroll-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1030;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--hw-black);
  background: var(--hw-gold);
  box-shadow: 0 16px 35px rgba(13, 92, 47, .25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal-content {
  border: 0;
  border-radius: var(--hw-radius);
  overflow: hidden;
}

/* Synchronized final styles for the generated multi-page website. */
:root {
  --hw-green: #0D5C2F;
  --hw-green-dark: #06351D;
  --hw-gold: #F6C445;
  --hw-black: #111111;
  --hw-white: #FFFFFF;
  --hw-gray: #EAEAEA;
  --hw-cyan: #45F0D2;
  --text-muted: #6D746F;
  --surface: rgba(255, 255, 255, 0.78);
  --shadow-soft: 0 22px 70px rgba(8, 30, 20, 0.14);
  --shadow-hover: 0 30px 90px rgba(13, 92, 47, 0.24);
  --radius: 8px;
}

html {
  scroll-padding-top: 92px;
}

body.loaded .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--hw-green-dark);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 196, 69, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 35px rgba(246, 196, 69, 0.26);
  animation: loaderPulse 1.35s ease-in-out infinite;
}

.loader-mark img {
  width: 48px;
  height: 48px;
}

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.hw-navbar {
  min-height: 82px;
  padding: 16px 0;
  background: rgba(5, 30, 17, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.hw-navbar.navbar-scrolled,
.hw-navbar.inner-navbar {
  padding: 10px 0;
  background: rgba(6, 53, 29, 0.94);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.hw-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--hw-white);
  font-weight: 800;
}

.hw-navbar .brand-logo {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 10px rgba(246, 196, 69, 0.4));
}

.brand-text span {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.hw-navbar .navbar-toggler {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--hw-white);
  box-shadow: none;
}

.hw-navbar .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 12px !important;
  transition: color 0.25s ease, transform 0.25s ease;
}

.hw-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--hw-gold), var(--hw-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.hw-navbar .nav-link:hover,
.hw-navbar .nav-link.active {
  color: var(--hw-white);
  transform: translateY(-1px);
}

.hw-navbar .nav-link:hover::after,
.hw-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.btn-hw-primary,
.btn-hw-outline,
.btn-hw-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: normal;
}

.btn-hw-primary {
  background: linear-gradient(135deg, var(--hw-gold), #FFE28B);
  color: var(--hw-black);
  box-shadow: 0 14px 32px rgba(246, 196, 69, 0.3);
}

.btn-hw-primary:hover,
.btn-hw-light:hover,
.btn-hw-outline:hover {
  transform: translateY(-3px);
}

.btn-hw-outline {
  color: var(--hw-white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.btn-hw-light {
  color: var(--hw-green-dark);
  background: var(--hw-white);
  border-color: rgba(13, 92, 47, 0.12);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.1);
}

.hero-section {
  position: relative;
  min-height: calc(100svh - 26px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--hw-white);
  isolation: isolate;
  background-image:
    linear-gradient(120deg, rgba(3, 29, 16, 0.96), rgba(13, 92, 47, 0.78), rgba(13, 92, 47, 0.28)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-section::before,
.page-hero::before,
.stats-section::before,
.cta-section::before,
.registration-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(251, 255, 253, 0.98));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  padding-bottom: 86px;
}

.hero-kicker,
.section-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--hw-gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before,
.page-kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--hw-gold), var(--hw-cyan));
}

.hero-title {
  margin: 18px 0;
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--hw-white);
  text-shadow: 0 0 30px rgba(246, 196, 69, 0.18);
}

.hero-subtitle {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 2vw, 1.35rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-panel {
  position: relative;
  z-index: 2;
  min-height: 410px;
}

.hero-card {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(360px, 92%);
  padding: 26px;
  color: var(--hw-white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  transform: translateY(-50%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  animation: floatCard 5s ease-in-out infinite;
}

.hero-card img {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
}

.hero-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.floating-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--hw-white);
  background: rgba(6, 53, 29, 0.64);
  border: 1px solid rgba(246, 196, 69, 0.24);
  backdrop-filter: blur(15px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  animation: floatBadge 4.4s ease-in-out infinite;
}

.floating-badge i {
  color: var(--hw-gold);
}

.floating-badge.badge-one {
  left: 8%;
  top: 16%;
}

.floating-badge.badge-two {
  right: 7%;
  bottom: 15%;
  animation-delay: 0.8s;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 14px));
  }
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.section-padding {
  padding: 104px 0;
}

.section-padding-sm {
  padding: 76px 0;
}

.section-title {
  margin: 10px 0 16px;
  color: var(--hw-black);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.12;
  font-weight: 850;
}

.section-lead {
  max-width: 760px;
  color: var(--text-muted);
  line-height: 1.82;
}

.section-head {
  margin-bottom: 48px;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 22px;
  border: 2px solid rgba(246, 196, 69, 0.55);
  border-radius: var(--radius);
  z-index: -1;
}

.about-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about-content {
  padding-left: 22px;
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.86;
}

.vision-card,
.mission-card,
.value-card,
.stat-card,
.activity-card,
.news-card,
.achievement-card,
.testimonial-card,
.contact-card,
.info-card {
  border: 1px solid rgba(13, 92, 47, 0.09);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.vision-card,
.mission-card,
.value-card {
  height: 100%;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vision-card:hover,
.mission-card:hover,
.value-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--hw-green);
  background: linear-gradient(145deg, rgba(246, 196, 69, 0.26), rgba(69, 240, 210, 0.14));
  border-radius: var(--radius);
  font-size: 1.25rem;
}

.stats-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hw-green-dark), var(--hw-green));
  color: var(--hw-white);
}

.stat-card {
  position: relative;
  height: 100%;
  padding: 28px;
  color: var(--hw-white);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}

.stat-card i {
  color: var(--hw-gold);
  font-size: 1.65rem;
}

.stat-number {
  margin: 14px 0 4px;
  font-size: 2.45rem;
  font-weight: 900;
}

.activity-card,
.news-card {
  height: 100%;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.activity-card:hover,
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.activity-media,
.news-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.activity-media img,
.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-media img,
.news-card:hover .news-media img {
  transform: scale(1.08);
}

.activity-body,
.news-body {
  padding: 24px;
}

.activity-body h3,
.news-body h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 800;
}

.activity-body p,
.news-body p,
.vision-card p,
.mission-card p,
.value-card p,
.testimonial-card p {
  color: var(--text-muted);
  line-height: 1.72;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hw-green);
  font-weight: 800;
  transition: gap 0.25s ease, color 0.25s ease;
}

.link-arrow:hover {
  gap: 13px;
  color: var(--hw-green-dark);
}

.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--hw-gold), var(--hw-green), var(--hw-cyan));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 38px 40px;
}

.timeline-item::before {
  content: none;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 9px;
  width: 18px;
  height: 18px;
  background: var(--hw-gold);
  border: 4px solid var(--hw-white);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(246, 196, 69, 0.18);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
}

.timeline-content {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--hw-white);
  box-shadow: var(--shadow-soft);
}

.timeline-year {
  color: var(--hw-green);
  font-size: 1.55rem;
  font-weight: 900;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-btn {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid rgba(13, 92, 47, 0.15);
  border-radius: var(--radius);
  background: var(--hw-white);
  color: var(--hw-green-dark);
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--hw-green);
  color: var(--hw-white);
  transform: translateY(-2px);
}

.gallery-grid {
  column-count: 4;
  column-gap: 18px;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-tile {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  background: var(--hw-green-dark);
  box-shadow: var(--shadow-soft);
}

.gallery-tile img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-tile:hover img {
  transform: scale(1.08);
  opacity: 0.72;
}

.gallery-caption {
  position: absolute;
  inset: auto 14px 14px;
  padding: 14px;
  color: var(--hw-white);
  text-align: left;
  background: rgba(6, 53, 29, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-tile:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--hw-green);
  font-size: 0.86rem;
  font-weight: 800;
}

.achievement-card {
  min-height: 265px;
  padding: 34px;
  color: var(--hw-white);
  background: linear-gradient(145deg, rgba(13, 92, 47, 0.94), rgba(3, 29, 16, 0.94));
  border-color: rgba(246, 196, 69, 0.18);
}

.achievement-card i {
  color: var(--hw-gold);
  font-size: 2rem;
}

.testimonial-card {
  height: 100%;
  padding: 28px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-user img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--hw-gold);
}

.cta-section,
.registration-section {
  position: relative;
  overflow: hidden;
  color: var(--hw-white);
  isolation: isolate;
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(6, 53, 29, 0.98), rgba(13, 92, 47, 0.92)),
    url("/assets/img/offline/photo-1523987355523-c7b5b0dd90a7.jpg") center / cover;
}

.registration-section {
  --registration-image: url("/assets/img/offline/photo-1523987355523-c7b5b0dd90a7.jpg");
  --registration-image-opacity: 1;
  --registration-background-position: center center;
  --registration-background-size: cover;
  --registration-overlay-start: rgba(6, 53, 29, .98);
  --registration-overlay-end: rgba(13, 92, 47, .92);
  background: var(--hw-green-dark);
}

.registration-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--registration-image);
  background-position: var(--registration-background-position);
  background-size: var(--registration-background-size);
  background-repeat: no-repeat;
  opacity: var(--registration-image-opacity);
  pointer-events: none;
}

.registration-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(135deg, var(--registration-overlay-start), var(--registration-overlay-end));
  background-size: 50px 50px, 50px 50px, auto;
  pointer-events: none;
}

.registration-section > .container {
  position: relative;
  z-index: 2;
}

.registration-card {
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.registration-closed-message {
  display: grid;
  min-height: 280px;
  padding: 34px;
  align-content: center;
  justify-items: center;
  gap: .7rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  color: var(--hw-white);
  background: rgba(3, 30, 17, .82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
  text-align: center;
  backdrop-filter: blur(20px);
}

.registration-closed-message[hidden] {
  display: none !important;
}

.registration-closed-message i {
  color: var(--hw-gold);
  font-size: 2rem;
}

.registration-closed-message h3,
.registration-closed-message p {
  margin: 0;
}

.registration-closed-message p {
  max-width: 34rem;
  color: rgba(255, 255, 255, .84);
}

.form-control,
.form-select {
  min-height: 50px;
  border-radius: var(--radius);
}

.registration-card .form-control {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--hw-white);
  background: rgba(255, 255, 255, 0.12);
}

.registration-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.form-feedback {
  display: none;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: var(--radius);
  font-weight: 700;
}

.form-feedback.success {
  display: block;
  color: #0D5C2F;
  background: #E3F8EB;
}

.form-feedback.error {
  display: block;
  color: #7D1F1F;
  background: #FFE6E6;
}

.contact-card,
.info-card {
  height: 100%;
  padding: 28px;
}

.contact-unavailable-section[hidden],
[data-contact-active-section][hidden] {
  display: none !important;
}

.contact-unavailable-message {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(30px, 7vw, 64px);
  border: 1px solid var(--border, var(--hw-line));
  border-radius: var(--radius);
  color: var(--text, var(--hw-ink));
  background: var(--card, var(--surface));
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.contact-unavailable-message i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  color: var(--hw-green);
  background: rgba(246, 196, 69, .24);
  font-size: 1.55rem;
}

.contact-unavailable-message h2 {
  margin-bottom: .75rem;
  color: var(--text, var(--hw-black));
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  font-weight: 800;
}

.contact-unavailable-message p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted, var(--hw-muted));
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(13, 92, 47, 0.09);
}

.contact-item > div {
  min-width: 0;
}

.contact-item p {
  overflow-wrap: anywhere;
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  color: var(--hw-green);
  background: rgba(246, 196, 69, 0.22);
  border-radius: var(--radius);
}

.map-frame {
  width: 100%;
  min-height: 430px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  padding-top: 116px;
  color: var(--hw-white);
  overflow: hidden;
  background-image:
    linear-gradient(120deg, rgba(3, 29, 16, 0.95), rgba(13, 92, 47, 0.66)),
    var(--page-image);
  background-size: cover;
  background-position: center;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-title {
  max-width: 820px;
  margin: 14px 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  font-weight: 900;
}

.page-title.leadership-page-title {
  font-size: clamp(
    calc(2.4rem - 5px),
    calc(5vw - 5px),
    calc(4.6rem - 5px)
  );
  letter-spacing: .02em;
}

@media (max-width: 576px) {
  .page-title.leadership-page-title {
    font-size: clamp(
      calc(2.2rem - 8px),
      calc(13vw - 8px),
      calc(3rem - 8px)
    );
    letter-spacing: .02em;
  }
}

.page-subtitle {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.78;
}

.featured-news {
  padding: 28px;
  border: 1px solid var(--border, var(--hw-line));
  border-radius: var(--radius);
  color: var(--text, var(--hw-black));
  background: var(--card, var(--surface));
  box-shadow: var(--shadow-soft);
}

.featured-news img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
}

.news-list-section {
  background: var(--theme-surface, var(--hw-white));
}

.footer {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  background: #061E11;
  overflow: hidden;
  padding-top: 0;
}

.footer-top {
  padding: 78px 0 42px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  color: var(--hw-white);
  font-size: 1.22rem;
  font-weight: 850;
}

.footer-logo img {
  width: 48px;
  height: 48px;
}

.footer h3 {
  margin-bottom: 18px;
  color: var(--hw-white);
  font-size: 1.05rem;
  font-weight: 850;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  display: inline-block;
  color: var(--hw-gold);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--hw-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
  color: var(--hw-black);
  background: var(--hw-gold);
  transform: translateY(-4px);
}

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--hw-black);
  background: var(--hw-gold);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lightbox-modal .modal-content {
  background: transparent;
  border: 0;
  overflow: visible;
}

.lightbox-modal img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--hw-black);
  background: var(--hw-gold);
}

.schedule-table {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.schedule-table .table {
  margin-bottom: 0;
  --bs-table-color: var(--text, var(--hw-black));
  --bs-table-bg: var(--card, var(--hw-white));
  --bs-table-border-color: var(--border, var(--hw-line));
  --bs-table-striped-color: var(--text, var(--hw-black));
  --bs-table-striped-bg: color-mix(in srgb, var(--primary, var(--hw-green)) 7%, var(--card, var(--hw-white)));
  --bs-table-hover-color: var(--text, var(--hw-black));
  --bs-table-hover-bg: color-mix(in srgb, var(--accent, var(--hw-gold)) 10%, var(--card, var(--hw-white)));
}

.schedule-table th {
  color: var(--hw-white);
  background: var(--hw-green);
}

/* Compatibility layer for the generated page markup. */
body.loaded .preloader {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 1px rgba(246, 196, 69, .42), 0 0 34px rgba(246, 196, 69, .32);
}

.loader-mark img {
  width: 68px;
  height: 68px;
}

.hw-navbar {
  padding: 1rem 0;
  background: rgba(4, 31, 17, .38);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}

.hw-navbar.navbar-scrolled,
.hw-navbar.inner-navbar {
  padding: .65rem 0;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 42px rgba(3, 30, 17, .12);
}

.hw-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--hw-white);
  font-weight: 800;
}

.hw-navbar.navbar-scrolled .navbar-brand,
.hw-navbar.inner-navbar .navbar-brand,
.hw-navbar.navbar-scrolled .nav-link,
.hw-navbar.inner-navbar .nav-link {
  color: var(--hw-black);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text span {
  color: var(--hw-gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.hw-navbar .nav-link {
  position: relative;
  color: rgba(255, 255, 255, .88);
  font-size: .92rem;
  font-weight: 600;
}

.hw-navbar .nav-link::after {
  content: "";
  position: absolute;
  right: .5rem;
  bottom: .15rem;
  left: .5rem;
  height: 2px;
  background: var(--hw-gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.hw-navbar .nav-link:hover::after,
.hw-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.hw-navbar .navbar-toggler {
  border: 1px solid rgba(246, 196, 69, .55);
  color: var(--hw-gold);
  box-shadow: none;
}

.hero-kicker,
.page-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: .4rem .75rem;
  border: 1px solid rgba(246, 196, 69, .34);
  border-radius: 999px;
  color: var(--hw-gold);
  background: rgba(255, 255, 255, .08);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  min-height: 360px;
}

.hero-card {
  position: relative;
  z-index: 2;
  max-width: 360px;
  margin-left: auto;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--hw-radius);
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  color: var(--hw-white);
}

.hero-card img {
  width: 92px;
  height: 92px;
  margin-bottom: 1rem;
}

.hero-card h2 {
  font-weight: 800;
}

.hero-card p {
  color: rgba(255, 255, 255, .78);
}

.hero-panel .floating-badge {
  position: absolute;
  z-index: 3;
  width: auto;
  padding: .8rem 1rem;
  color: var(--hw-white);
}

.badge-one {
  top: 28px;
  left: 0;
}

.badge-two {
  right: 0;
  bottom: 34px;
}

.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  color: var(--hw-white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(115deg, rgba(3, 30, 17, .92), rgba(13, 92, 47, .68), rgba(17, 17, 17, .44)),
    var(--page-image);
  background-position: center;
  background-size: cover;
}

.page-subtitle {
  max-width: 760px;
  color: rgba(255, 255, 255, .8);
  font-size: 1.08rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-padding-sm {
  padding: 72px 0;
}

.stats-section {
  background: var(--hw-green-dark);
  color: var(--hw-white);
}

.stats-section p,
.stats-section .section-title {
  color: var(--hw-white);
}

.stat-number {
  display: block;
  color: var(--hw-green);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.stats-section .stat-number {
  color: var(--hw-gold);
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--hw-radius);
  box-shadow: var(--hw-shadow);
}

.about-image img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--hw-radius);
  background: rgba(3, 30, 17, .62);
  color: var(--hw-white);
  backdrop-filter: blur(16px);
}

.vision-card,
.mission-card,
.info-card,
.registration-card {
  height: 100%;
  padding: 1.45rem;
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-radius);
  background: var(--hw-glass);
  box-shadow: var(--hw-shadow);
  backdrop-filter: blur(18px);
}

.card-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: var(--hw-radius);
  color: var(--hw-green);
  background: linear-gradient(135deg, rgba(246, 196, 69, .34), rgba(13, 92, 47, .11));
}

.activity-media,
.news-media {
  height: 235px;
  overflow: hidden;
}

.activity-media img,
.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.activity-card:hover .activity-media img,
.news-card:hover .news-media img {
  transform: scale(1.08);
}

/* Keep every Program Inti Kepanduan card image consistent at every width. */
#programGrid .activity-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#programGrid .activity-media {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  overflow: hidden;
}

#programGrid .activity-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

#programGrid .activity-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

#programGrid .activity-body .link-arrow {
  align-self: flex-start;
  margin-top: auto;
}

.activity-body,
.news-body {
  padding: 1.3rem;
}

.activity-tag,
.news-date {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .8rem;
  color: var(--hw-green);
  font-size: .78rem;
  font-weight: 800;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--hw-green);
  font-weight: 800;
}

.gallery-grid {
  columns: 3 260px;
  column-gap: 1rem;
}

.gallery-tile {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--hw-radius);
  background: transparent;
  box-shadow: 0 20px 55px rgba(13, 92, 47, .13);
  cursor: zoom-in;
}

.gallery-tile img {
  width: 100%;
  transition: transform .45s ease;
}

.gallery-tile:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  left: .8rem;
  display: grid;
  padding: .75rem;
  border-radius: var(--hw-radius);
  color: var(--hw-white);
  background: rgba(3, 30, 17, .68);
  backdrop-filter: blur(12px);
  transform: translateY(130%);
  transition: transform .3s ease;
}

.gallery-tile:hover .gallery-caption {
  transform: translateY(0);
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(13, 92, 47, .96), rgba(4, 31, 17, .94)),
    var(--hw-green);
  color: var(--hw-white);
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(13, 92, 47, .12);
}

.contact-item i {
  color: var(--hw-green);
  font-size: 1.25rem;
  margin-top: .25rem;
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 800;
}

.form-feedback {
  min-height: 1.4rem;
  margin-top: .8rem;
  font-weight: 700;
}

.form-feedback.success {
  color: var(--hw-green);
}

.form-feedback.error {
  color: #b42318;
}

.footer-top {
  padding-bottom: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
  color: var(--hw-white);
  font-weight: 800;
}

.footer-logo img {
  width: 58px;
  height: 58px;
}

.footer h3 {
  color: var(--hw-white);
  font-size: 1rem;
  font-weight: 800;
}

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a,
.social-links a {
  color: rgba(255, 255, 255, .74);
}

.footer-links li {
  margin-bottom: .65rem;
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--hw-gold);
}

.social-links {
  display: flex;
  gap: .55rem;
}

.social-links a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  transition: transform .25s ease, color .25s ease, border-color .25s ease;
}

.social-links a:hover {
  border-color: var(--hw-gold);
  transform: translateY(-4px);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lightbox-modal .modal-content {
  position: relative;
  padding: 1rem;
  background: rgba(3, 15, 9, .96);
}

.lightbox-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--hw-white);
  background: rgba(255, 255, 255, .14);
}

/* Final lock: keep the website chrome aligned with the requested green and gold identity. */
.hw-navbar.navbar-scrolled,
.hw-navbar.inner-navbar {
  background: rgba(6, 53, 29, 0.94);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.hw-navbar .navbar-brand,
.hw-navbar.navbar-scrolled .navbar-brand,
.hw-navbar.inner-navbar .navbar-brand,
.hw-navbar .nav-link,
.hw-navbar.navbar-scrolled .nav-link,
.hw-navbar.inner-navbar .nav-link {
  color: var(--hw-white);
}

.brand-text span,
.hw-navbar.navbar-scrolled .brand-text span,
.hw-navbar.inner-navbar .brand-text span {
  color: rgba(255, 255, 255, 0.72);
}

.hw-navbar .brand-logo {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 10px rgba(246, 196, 69, 0.4));
}

.hw-navbar .nav-link::after {
  background: linear-gradient(90deg, var(--hw-gold), var(--hw-cyan));
}

.scroll-top.show {
  visibility: visible;
}

.lightbox-modal img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

/* Leadership and profile history pages. */
.leader-card {
  height: 100%;
  display: block;
  overflow: hidden;
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-radius);
  background: #fff;
  box-shadow: 0 20px 52px rgba(3, 30, 17, .11);
  transition: transform .3s ease, box-shadow .3s ease;
}

.leader-card:hover {
  color: inherit;
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(3, 30, 17, .17);
}

.leader-photo {
  height: 330px;
  overflow: hidden;
  background: var(--hw-green-dark);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.leader-card:hover .leader-photo img {
  transform: scale(1.05);
}

.leader-body {
  padding: 1.4rem;
}

.leader-body > span {
  color: var(--hw-green);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.leader-body h3 {
  margin: .45rem 0 1rem;
  color: var(--hw-black);
  font-size: 1.35rem;
  font-weight: 800;
}

.leadership-public-page .leader-body h3 {
  font-size: calc(1.35rem - 3px);
  letter-spacing: .02em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.leadership-public-page .cta-section .section-kicker {
  color: var(--hw-gold) !important;
}

.leader-body dl {
  display: grid;
  gap: .55rem;
  margin: 0 0 1.15rem;
}

.leader-body dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(13, 92, 47, .1);
}

.leader-body dt {
  color: var(--hw-muted);
  font-size: .7rem;
  font-weight: 500;
}

.leader-body dd {
  margin: 0;
  color: var(--hw-ink);
  font-size: .72rem;
  font-weight: 700;
}

.leader-body > strong {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--hw-green);
  font-size: .76rem;
}

.history-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 74px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(3, 30, 17, .98), rgba(13, 92, 47, .88)),
    var(--hw-green-dark);
}

.history-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 52px 52px;
}

.history-back {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, .7);
  font-size: .75rem;
  font-weight: 700;
}

.history-back:hover {
  color: var(--hw-gold);
}

.history-hero h1 {
  max-width: 880px;
  margin: .7rem 0 .3rem;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.055em;
}

.history-hero p {
  margin: 0;
  color: var(--hw-gold);
  font-size: 1rem;
  font-weight: 700;
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.history-profile {
  position: sticky;
  top: 110px;
  overflow: hidden;
  border: 1px solid var(--hw-line);
  background: #fff;
  box-shadow: var(--hw-shadow);
}

.history-photo {
  height: 440px;
}

.history-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hw-line);
}

.history-facts > div {
  display: grid;
  gap: .3rem;
  padding: 1rem;
  background: #fff;
}

.history-facts span {
  color: var(--hw-muted);
  font-size: .62rem;
}

.history-facts strong {
  color: var(--hw-green);
  font-size: .78rem;
}

.history-article {
  padding-top: 1rem;
}

.history-article > p {
  color: #4f5d54;
  font-size: 1rem;
  line-height: 2;
  white-space: pre-line;
}

.history-article blockquote {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--hw-gold);
  color: var(--hw-green-dark);
  background: linear-gradient(135deg, rgba(246, 196, 69, .16), rgba(13, 92, 47, .06));
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  .history-layout {
    grid-template-columns: 1fr;
  }

  .history-profile {
    position: static;
    max-width: 520px;
  }
}

@media (max-width: 575.98px) {
  .leader-photo {
    height: 290px;
  }

  .history-hero {
    min-height: 410px;
    padding: 130px 0 54px;
  }

  .history-photo {
    height: 360px;
  }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  .hw-navbar .nav-link {
    padding-right: .42rem;
    padding-left: .42rem;
    font-size: .76rem;
  }

  .hw-navbar .navbar-brand {
    margin-right: .65rem;
  }
}

/* Homepage composition inspired by the supplied school reference. */
.site-topbar {
  position: relative;
  z-index: 1031;
  min-height: 38px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, .9);
  background: #073f24;
  font-size: .76rem;
}

.topbar-contact,
.topbar-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-contact a,
.topbar-contact span,
.topbar-social a {
  color: inherit;
}

.topbar-contact i {
  margin-right: .4rem;
  color: var(--hw-gold);
}

.topbar-social {
  gap: .4rem;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  transition: color .2s ease, background .2s ease;
}

.topbar-social a:hover {
  color: #073f24;
  background: var(--hw-gold);
}

.home-navbar,
.home-navbar.navbar-scrolled {
  padding: .72rem 0;
  color: var(--hw-black);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(13, 92, 47, .12);
  box-shadow: 0 10px 35px rgba(3, 30, 17, .09);
  backdrop-filter: blur(18px);
}

.home-navbar .navbar-brand,
.home-navbar.navbar-scrolled .navbar-brand,
.home-navbar .nav-link,
.home-navbar.navbar-scrolled .nav-link {
  color: var(--hw-black);
}

.home-navbar .brand-text span,
.home-navbar.navbar-scrolled .brand-text span {
  color: var(--hw-green);
}

.home-navbar .nav-cta,
.home-navbar.navbar-scrolled .nav-cta {
  padding: .72rem 1rem !important;
  color: #102017;
  background: var(--hw-gold);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(246, 196, 69, .28);
}

.home-navbar .nav-cta::after {
  display: none;
}

.home-hero {
  min-height: 700px;
  background-image:
    linear-gradient(90deg, rgba(2, 32, 17, .96) 0%, rgba(7, 63, 36, .88) 43%, rgba(7, 63, 36, .34) 100%),
    var(--hero-image);
  background-position: center 56%;
}

.home-hero::after {
  display: none;
}

.home-hero .hero-content {
  padding: 74px 0 64px;
}

.home-hero .hero-kicker {
  padding: .45rem .75rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  letter-spacing: 0;
  text-transform: none;
}

.home-hero .hero-kicker::before {
  display: none;
}

.home-hero .hero-kicker i {
  color: var(--hw-gold);
}

.hero-title-ref {
  max-width: 760px;
  margin: 1.25rem 0 1rem;
  font-size: clamp(3.25rem, 6.2vw, 6.2rem);
  line-height: .91;
  letter-spacing: -.055em;
  text-transform: none;
}

.hero-title-ref span,
.hero-title-ref strong {
  display: block;
}

.hero-title-ref .hero-eyebrow {
  margin-bottom: .3rem;
  color: var(--hw-gold);
  font-size: .28em;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-title-ref strong {
  margin-top: .45rem;
  color: #fff;
  font-size: .48em;
  font-weight: 700;
  letter-spacing: -.025em;
}

.home-hero .hero-subtitle {
  max-width: 660px;
  font-size: 1rem;
}

.home-hero .btn-hw-primary,
.home-hero .btn-hw-outline {
  border-radius: 5px;
}

.hero-metrics {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.75rem;
}

.hero-metrics > div {
  display: grid;
  gap: .1rem;
  padding: 0 1.1rem;
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.hero-metrics > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-metrics strong {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-metrics span {
  color: rgba(255, 255, 255, .64);
  font-size: .7rem;
}

.quick-access {
  position: relative;
  z-index: 4;
  padding: 0 0 2rem;
  background: var(--quick-section-bg);
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: -1px;
  border: 1px solid var(--quick-card-border);
  border-top: 0;
  background: var(--quick-grid-bg);
  box-shadow: 0 24px 60px rgba(3, 30, 17, .11);
}

.quick-access-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--quick-card-border);
  color: var(--quick-card-text);
  background: var(--quick-card-bg);
  transition: color .22s ease, background .22s ease, transform .22s ease;
}

.quick-access-card:last-child {
  border-right: 0;
}

.quick-access-card:hover {
  color: var(--quick-hover-text);
  background: var(--quick-hover-bg);
  transform: translateY(-4px);
}

.quick-access-card > span:nth-child(2) {
  display: grid;
  gap: .28rem;
}

.quick-access-card strong {
  color: var(--quick-card-text);
  font-size: .86rem;
  line-height: 1.25;
}

.quick-access-card small {
  color: var(--quick-card-muted);
  font-size: .67rem;
  line-height: 1.45;
}

.quick-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--quick-icon-text);
  background: var(--quick-icon-bg);
  border-radius: 4px;
}

.quick-arrow {
  color: var(--quick-arrow-text);
  font-size: .72rem;
}

.quick-access-primary {
  color: var(--quick-primary-text);
  background: var(--quick-primary-bg);
}

.quick-access-primary strong,
.quick-access-primary .quick-icon {
  color: var(--quick-primary-text);
}

.quick-access-primary .quick-icon {
  background: var(--quick-primary-icon-bg);
}

.quick-access-primary small,
.quick-access-primary .quick-arrow {
  color: var(--quick-primary-muted);
}

.quick-access-primary:hover {
  color: var(--quick-primary-text);
  background: var(--quick-primary-hover-bg);
}

.quick-access-primary:hover strong {
  color: var(--quick-primary-text);
}

@media (max-width: 1199.98px) {
  .quick-access-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-access-card:nth-child(3) {
    border-right: 0;
  }

  .quick-access-card:nth-child(-n+3) {
    border-bottom: 1px solid var(--quick-card-border);
  }
}

@media (max-width: 991.98px) {
  .site-topbar {
    display: none;
  }

  .home-navbar .navbar-collapse {
    margin-top: .8rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(13, 92, 47, .12);
    box-shadow: 0 20px 50px rgba(3, 30, 17, .12);
  }

  .home-navbar .nav-link {
    color: var(--hw-black);
  }

  .home-hero {
    min-height: 660px;
  }
}

@media (max-width: 767.98px) {
  .home-hero {
    min-height: 690px;
    background-image:
      linear-gradient(90deg, rgba(2, 32, 17, .96), rgba(7, 63, 36, .72)),
      var(--hero-image);
  }

  .home-hero .hero-content {
    padding: 54px 0 44px;
  }

  .hero-title-ref {
    font-size: clamp(2.75rem, 15vw, 4.4rem);
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0;
  }

  .hero-metrics > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .quick-access-grid {
    grid-template-columns: 1fr;
  }

  .quick-access-card,
  .quick-access-card:nth-child(3) {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid var(--quick-card-border);
  }
}

/* Pustaka file Materi */
.material-category-summary {
  display: grid;
  grid-template-columns: minmax(240px, 36%) 1fr;
  align-items: stretch;
  margin-bottom: 2rem;
  overflow: hidden;
  border: 1px solid var(--hw-line);
  border-radius: 18px;
  background: var(--hw-white);
  box-shadow: var(--hw-shadow);
}

.material-category-summary .material-detail-image { height: 100%; min-height: 290px; }
.material-category-summary > div:last-child { display: grid; align-content: center; padding: clamp(1.5rem, 4vw, 3rem); }
.material-category-summary span,
.material-file-manager-head > div > span { color: var(--hw-green); font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.material-category-summary h2 { margin: .55rem 0 .75rem; color: var(--hw-black); font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 800; }
.material-category-summary p { margin: 0; }

.material-file-manager {
  overflow: hidden;
  border: 1px solid var(--hw-line);
  border-radius: 18px;
  background: var(--hw-white);
  box-shadow: 0 18px 45px rgba(3, 30, 17, .08);
}

.material-file-manager-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
  border-bottom: 1px solid var(--hw-line);
}
.material-file-manager-head h2 { margin: .25rem 0 0; color: var(--hw-black); font-size: 1.35rem; font-weight: 800; }
.material-file-manager-head p { margin: .2rem 0 0; color: var(--hw-muted); font-size: .72rem; }
.material-file-toolbar { display: flex; gap: .65rem; }
.material-file-toolbar label { margin: 0; }
.material-file-toolbar input,
.material-file-toolbar select {
  min-height: 43px;
  border: 1px solid var(--hw-line);
  border-radius: 10px;
  color: var(--hw-black);
  background: #fff;
  font-size: .75rem;
}
.material-file-toolbar input { width: min(290px, 38vw); padding: 0 .8rem 0 2.35rem; }
.material-file-toolbar select { padding: 0 2.2rem 0 .75rem; }
.material-file-search { position: relative; }
.material-file-search i { position: absolute; z-index: 1; top: 50%; left: .85rem; color: var(--hw-muted); transform: translateY(-50%); }
.material-file-table-wrap { overflow-x: auto; }
.material-file-table { width: 100%; border-collapse: collapse; }
.material-file-table th,
.material-file-table td { padding: .95rem 1.1rem; border-bottom: 1px solid var(--hw-line); text-align: left; vertical-align: middle; }
.material-file-table th { color: var(--hw-muted); background: #f6faf7; font-size: .65rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.material-file-table td { color: var(--hw-muted); font-size: .72rem; }
.material-file-table tbody tr:last-child td { border-bottom: 0; }
.material-file-table tbody tr:hover { background: rgba(13, 92, 47, .035); }
.material-file-name { min-width: 250px; display: flex; align-items: center; gap: .8rem; }
.material-file-name > div { min-width: 0; display: grid; gap: .2rem; }
.material-file-name strong { overflow-wrap: anywhere; color: var(--hw-black); font-size: .78rem; }
.material-file-name small { color: var(--hw-muted); font-size: .65rem; }
.material-file-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 9px; color: #506057; background: #eef3ef; font-size: 1.05rem; }
.material-file-icon.is-pdf { color: #b42318; background: #fff0ee; }
.material-file-icon.is-word { color: #175cd3; background: #eff6ff; }
.material-file-icon.is-excel { color: #067647; background: #ecfdf3; }
.material-file-icon.is-powerpoint { color: #b54708; background: #fff6ed; }
.material-file-icon.is-image { color: #6938ef; background: #f4f3ff; }
.material-file-icon.is-video { color: #c11574; background: #fdf2fa; }
.material-file-actions { display: flex; gap: .45rem; }
.material-file-actions a,
.material-file-actions button { padding: .42rem .65rem; border: 1px solid rgba(13, 92, 47, .2); border-radius: 8px; color: var(--hw-green); background: transparent; font: inherit; font-size: .66rem; font-weight: 800; }
.material-file-actions a:last-child,
.material-file-actions button { border-color: var(--hw-green); color: #fff; background: var(--hw-green); }

.material-video-dialog { width: min(94vw, 980px); max-width: 980px; padding: 0; border: 0; border-radius: 18px; color: var(--hw-green-dark); background: var(--hw-white); box-shadow: 0 24px 70px rgba(3, 29, 16, .35); }
.material-video-dialog::backdrop { background: rgba(2, 24, 14, .72); backdrop-filter: blur(4px); }
.material-video-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid rgba(13, 92, 47, .14); }
.material-video-dialog-head span { color: var(--hw-green); font-size: .58rem; font-weight: 800; letter-spacing: .08em; }
.material-video-dialog-head h2 { margin: .18rem 0 0; color: var(--hw-green-dark); font-size: 1rem; }
.material-video-dialog-head button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(13, 92, 47, .2); border-radius: 9px; color: var(--hw-green-dark); background: var(--hw-white); }
.material-video-frame { width: min(100%, 860px); aspect-ratio: 16 / 9; display: grid; margin: 1rem auto; overflow: hidden; border-radius: 12px; background: #07170f; }
.material-video-frame.ratio-portrait { width: min(100%, 420px); aspect-ratio: 9 / 16; max-height: 70vh; }
.material-video-frame.ratio-square { width: min(100%, 620px); aspect-ratio: 1; }
.material-video-frame.ratio-free { min-height: min(60vh, 540px); aspect-ratio: auto; }
.material-video-frame > video,
.material-video-frame > iframe,
.material-video-frame > .hw-video-fallback { width: 100%; height: 100%; }
.material-video-frame > video { object-fit: contain; }
.material-video-frame.fit-cover > video { object-fit: cover; }
.material-video-dialog > p { margin: 0; padding: 0 1.1rem 1.1rem; color: var(--hw-text-muted); font-size: .78rem; line-height: 1.65; }
.hw-video-fallback { display: grid; place-content: center; gap: .75rem; padding: 1.5rem; color: #f4fbf6; background: linear-gradient(rgba(2, 24, 14, .66), rgba(2, 24, 14, .92)), var(--hw-video-thumbnail) center/cover; text-align: center; }
.hw-video-fallback i { color: var(--hw-gold); font-size: 1.8rem; }
.hw-video-fallback p { max-width: 480px; margin: 0; color: #d4e1d8; font-size: .76rem; line-height: 1.6; }
.hw-video-fallback a { width: fit-content; margin: 0 auto; padding: .65rem .85rem; border-radius: 8px; color: #092719; background: var(--hw-gold); font-size: .7rem; font-weight: 800; }
.material-file-empty { display: grid; justify-items: center; gap: .5rem; padding: 3.5rem 1.2rem; color: var(--hw-muted); text-align: center; }
.material-file-empty i { color: var(--hw-green); font-size: 2rem; }
.material-file-empty strong { color: var(--hw-black); font-size: .9rem; }
.material-file-empty span { font-size: .72rem; }

@media (max-width: 767.98px) {
  .material-category-summary { grid-template-columns: 1fr; }
  .material-category-summary .material-detail-image { min-height: 220px; height: 240px; }
  .material-file-manager-head { align-items: stretch; flex-direction: column; }
  .material-file-toolbar { flex-direction: column; }
  .material-file-toolbar input,
  .material-file-toolbar select { width: 100%; }
  .material-file-table thead { display: none; }
  .material-file-table,
  .material-file-table tbody,
  .material-file-table tr,
  .material-file-table td { display: block; width: 100%; }
  .material-file-table tr { padding: 1rem; border-bottom: 1px solid var(--hw-line); }
  .material-file-table td { display: grid; grid-template-columns: 105px 1fr; gap: .75rem; padding: .42rem 0; border: 0; }
  .material-file-table td::before { content: attr(data-label); color: var(--hw-muted); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
  .material-file-name { min-width: 0; }
  .material-file-table td:first-child { display: block; margin-bottom: .55rem; }
  .material-file-table td:first-child::before { display: none; }
}

/* Final contrast lock for the registration section. */
.registration-section .section-kicker {
  color: var(--hw-gold);
}

.registration-section .text-white-50 {
  color: rgba(255, 255, 255, .84) !important;
}

.registration-section .registration-card {
  border-color: rgba(255, 255, 255, .28);
  color: var(--hw-white);
  background: rgba(3, 30, 17, .82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

/* Formulir pendaftaran bertahap — hanya berlaku pada bagian Pendaftaran Beranda. */
.registration-intro {
  position: sticky;
  top: 110px;
}

.registration-privacy-note,
.registration-submit-note {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--registration-radius-card, 12px);
  color: rgba(255, 255, 255, .9);
  background: rgba(3, 30, 17, .48);
}

.registration-privacy-note i,
.registration-submit-note i {
  flex: 0 0 auto;
  margin-top: .18rem;
  color: var(--hw-gold);
}

.registration-privacy-note p,
.registration-submit-note span {
  margin: 0;
  font-size: .82rem;
  line-height: 1.65;
}

.registration-stepper {
  padding: clamp(22px, 3vw, 36px);
}

.registration-form-head {
  margin-bottom: 1.35rem;
}

.registration-form-head > span,
.registration-step-heading > span {
  display: block;
  margin-bottom: .35rem;
  color: var(--hw-gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.registration-form-head h3,
.registration-step-heading h4 {
  margin: 0;
  color: #fff;
  overflow-wrap: anywhere;
}

.registration-form-head h3 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.registration-form-head p,
.registration-step-heading p {
  margin: .5rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .84rem;
  line-height: 1.65;
}

.registration-progress {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .35rem;
  margin: 0 0 1.65rem;
  padding: 0;
  list-style: none;
}

.registration-progress li {
  position: relative;
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: .38rem;
  color: rgba(255, 255, 255, .55);
  text-align: center;
}

.registration-progress li::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 15px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, .14);
}

.registration-progress li:first-child::before,
.registration-progress li[hidden] + li::before {
  display: none;
}

.registration-progress span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: inherit;
  background: #0a2d1b;
  font-size: .72rem;
  font-weight: 800;
}

.registration-progress small {
  max-width: 100%;
  overflow: hidden;
  font-size: .58rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.registration-progress li.is-active,
.registration-progress li.is-complete {
  color: #fff;
}

.registration-progress li.is-active span {
  border-color: var(--hw-gold);
  color: #16351f;
  background: var(--hw-gold);
  box-shadow: 0 0 0 4px rgba(246, 196, 69, .13);
}

.registration-progress li.is-complete span {
  border-color: #70e0b0;
  color: #062f1d;
  background: #70e0b0;
}

.registration-step[hidden],
.registration-progress li[hidden],
.registration-field[hidden],
.registration-signatures[hidden],
.registration-health-item [hidden] {
  display: none !important;
}

.registration-step-heading {
  margin-bottom: 1.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.registration-step-heading h4 {
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.registration-form-grid,
.registration-signatures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.registration-signatures {
  margin-top: 1.2rem;
}

.registration-field,
.registration-health-item [data-health-detail] {
  display: grid;
  min-width: 0;
  gap: .45rem;
  margin: 0;
}

.registration-field-wide {
  grid-column: 1 / -1;
}

.registration-field > span,
.registration-health-item [data-health-detail] > span,
.registration-agreements legend,
.registration-skill-field legend {
  color: #fff;
  font-size: .77rem;
  font-weight: 700;
}

.registration-field b,
.registration-health-item b {
  color: #ffd35f;
}

.registration-stepper .form-control,
.registration-stepper .form-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--registration-radius-control, 8px);
  color: #102419;
  background-color: rgba(255, 255, 255, .97);
}

.registration-stepper textarea.form-control {
  min-height: 86px;
  resize: vertical;
}

.registration-stepper input[type="file"] {
  padding: .65rem;
  font-size: .76rem;
}

.registration-stepper input[type="file"]::file-selector-button {
  margin-right: .65rem;
  padding: .45rem .7rem;
  border: 0;
  border-radius: var(--registration-radius-control, 8px);
  color: #fff;
  background: #0d5c2f;
  font-weight: 700;
}

.registration-field > small:not(.registration-field-error) {
  color: rgba(255, 255, 255, .68);
  font-size: .68rem;
}

.registration-field-error {
  min-height: 0;
  color: #ffd8d3;
  font-size: .68rem;
  font-weight: 700;
}

.registration-field-error:empty {
  display: none;
}

.registration-photo-input {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.registration-photo-preview {
  display: grid;
  width: 108px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, .45);
  border-radius: var(--registration-radius-card, 12px);
  color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .07);
  text-align: center;
}

.registration-photo-preview i {
  align-self: end;
  font-size: 1.6rem;
}

.registration-photo-preview span {
  align-self: start;
  padding: .2rem;
  font-size: .58rem;
}

.registration-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.registration-health-list {
  display: grid;
  gap: .85rem;
}

.registration-health-item,
.registration-skill-field,
.registration-agreements {
  min-width: 0;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--registration-radius-card, 12px);
  color: #fff;
  background: rgba(255, 255, 255, .055);
}

.registration-health-item legend,
.registration-skill-field legend,
.registration-agreements legend {
  float: none;
  width: auto;
  margin: 0 0 .7rem;
  padding: 0;
}

.registration-radio-row,
.registration-skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .85rem;
}

.registration-radio-row label,
.registration-skill-grid label,
.registration-check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: rgba(255, 255, 255, .9);
  font-size: .75rem;
  line-height: 1.5;
}

.registration-radio-row input,
.registration-skill-grid input,
.registration-check input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: .1rem;
  accent-color: var(--hw-gold);
}

.registration-health-item [data-health-detail] {
  margin-top: .8rem;
}

.registration-agreements > div {
  display: grid;
  gap: .65rem;
}

.registration-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.registration-review section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--registration-radius-card, 12px);
  background: rgba(255, 255, 255, .055);
}

.registration-review section:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.registration-review h5 {
  margin: 0 0 .75rem;
  color: var(--hw-gold);
  font-size: .86rem;
}

.registration-review dl {
  display: grid;
  gap: .55rem;
  margin: 0;
}

.registration-review dl > div {
  display: grid;
  grid-template-columns: minmax(105px, .65fr) minmax(0, 1.35fr);
  gap: .7rem;
}

.registration-review dt {
  color: rgba(255, 255, 255, .62);
  font-size: .66rem;
}

.registration-review dd {
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.registration-step-actions {
  display: grid;
  grid-template-columns: minmax(130px, auto) 1fr minmax(130px, auto);
  align-items: center;
  gap: .85rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.registration-step-actions button:last-child {
  grid-column: 3;
}

.registration-step-actions .btn-hw-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.registration-step-status {
  color: rgba(255, 255, 255, .68);
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
}

.registration-stepper .form-feedback {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .registration-intro {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .registration-progress {
    grid-template-columns: repeat(7, 32px);
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: .45rem;
    scrollbar-width: thin;
  }

  .registration-progress li::before,
  .registration-progress small {
    display: none;
  }

  .registration-form-grid,
  .registration-signatures,
  .registration-review {
    grid-template-columns: 1fr;
  }

  .registration-field-wide,
  .registration-review section:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .registration-step-actions {
    grid-template-columns: 1fr 1fr;
  }

  .registration-step-status {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .registration-step-actions button {
    width: 100%;
  }

  .registration-step-actions button:last-child {
    grid-column: 2;
  }
}

@media (max-width: 480px) {
  .registration-stepper {
    padding: 18px;
  }

  .registration-photo-input {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .registration-photo-preview {
    width: 82px;
  }

  .registration-review dl > div {
    grid-template-columns: 1fr;
    gap: .15rem;
  }
}

/* Formulir pendaftaran publik: tema, fokus, dan ritme field terisolasi. */
.registration-section,
.registration-form {
  --registration-radius-control: 8px;
  --registration-radius-card: 12px;
  --registration-radius-panel: 16px;
  --registration-radius-pill: 999px;
}

.registration-form {
  --registration-card-bg: rgba(248, 251, 249, .97);
  --registration-surface: #ffffff;
  --registration-surface-soft: #edf5ef;
  --registration-text: #10291d;
  --registration-label: #0e2c1d;
  --registration-muted: #5f7166;
  --registration-border: #b9c8be;
  --registration-focus: #13753f;
  --registration-focus-ring: rgba(19, 117, 63, .16);
  --registration-placeholder: #6f8075;
  --registration-error: #a22f2a;
  --registration-option-bg: #f2f7f3;
  --registration-gold: #c88805;
  color-scheme: light;
}

[data-theme="dark"] .registration-form {
  --registration-card-bg: rgba(3, 30, 17, .92);
  --registration-surface: #082417;
  --registration-surface-soft: #102f20;
  --registration-text: #f5f8f6;
  --registration-label: #f2f6f3;
  --registration-muted: #a8b9ae;
  --registration-border: #31533f;
  --registration-focus: #f5bd32;
  --registration-focus-ring: rgba(245, 189, 50, .2);
  --registration-placeholder: #8fa497;
  --registration-error: #ffc4bd;
  --registration-option-bg: #153526;
  --registration-gold: #ffd35f;
  color-scheme: dark;
}

.registration-section .registration-form,
[data-theme="dark"] .registration-section .registration-form {
  border-color: var(--registration-border);
  border-radius: var(--registration-radius-panel);
  color: var(--registration-text);
  background: var(--registration-card-bg);
}

.registration-form .registration-form-head h3,
.registration-form .registration-step-heading h4,
.registration-form .registration-field > span,
.registration-form .registration-health-item legend,
.registration-form .registration-health-item [data-health-detail] > span,
.registration-form .registration-agreements legend,
.registration-form .registration-skill-field legend {
  color: var(--registration-label);
}

.registration-form .registration-form-head p,
.registration-form .registration-step-heading p,
.registration-form .registration-field > small:not(.registration-field-error),
.registration-form .registration-step-status {
  color: var(--registration-muted);
}

.registration-form .registration-step-heading,
.registration-form .registration-step-actions {
  border-color: var(--registration-border);
}

.registration-form .registration-form-grid,
.registration-form .registration-signatures {
  gap: 1.15rem 1rem;
  align-items: start;
}

.registration-form .registration-field,
.registration-form .registration-health-item [data-health-detail] {
  gap: .5rem;
}

.registration-form .registration-form-grid > .registration-field > span:first-child,
.registration-form .registration-signatures > .registration-field > span:first-child {
  display: flex;
  min-block-size: 2.7em;
  align-items: flex-end;
  gap: .3rem;
  line-height: 1.35;
}

.registration-form .registration-field-wide > span:first-child,
.registration-form .registration-photo-field > span:first-child {
  min-block-size: auto;
}

.registration-form .registration-field > span > b,
.registration-form .registration-health-item b {
  flex: 0 0 auto;
  color: var(--registration-gold);
}

.registration-form .registration-photo-field > span > em {
  align-self: center;
  padding: .18rem .48rem;
  border: 1px solid var(--registration-border);
  border-radius: var(--registration-radius-pill);
  color: var(--registration-muted);
  background: var(--registration-surface-soft);
  font-size: .62rem;
  font-style: normal;
  font-weight: 700;
}

.registration-form.registration-stepper :is(.form-control, .form-select) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--registration-border);
  border-radius: var(--registration-radius-control);
  color: var(--registration-text);
  background-color: var(--registration-surface);
  caret-color: var(--registration-text);
}

.registration-form.registration-stepper :is(input.form-control, select.form-select):not([type="file"]) {
  height: 48px;
}

.registration-form.registration-stepper textarea.form-control {
  min-height: 96px;
  line-height: 1.55;
}

.registration-form.registration-stepper :is(.form-control, .form-select)::placeholder {
  color: var(--registration-placeholder);
  opacity: 1;
}

.registration-form.registration-stepper :is(.form-control, .form-select):focus,
.registration-form.registration-stepper :is(.form-control, .form-select):focus-visible {
  outline: 0;
  border-color: var(--registration-focus);
  color: var(--registration-text);
  background-color: var(--registration-surface);
  box-shadow: 0 0 0 .22rem var(--registration-focus-ring);
}

.registration-form.registration-stepper :is(.form-control, .form-select):disabled {
  border-color: var(--registration-border);
  color: var(--registration-muted);
  background-color: var(--registration-surface-soft);
  opacity: .72;
}

.registration-form.registration-stepper .form-select option {
  color: var(--registration-text);
  background: var(--registration-surface);
}

.registration-form.registration-stepper input[type="file"]::file-selector-button {
  color: #ffffff;
  background: #0d5c2f;
}

[data-theme="dark"] .registration-form.registration-stepper input[type="file"]::file-selector-button {
  color: #172017;
  background: var(--registration-focus);
}

.registration-form input.form-control:-webkit-autofill,
.registration-form input.form-control:-webkit-autofill:hover,
.registration-form input.form-control:-webkit-autofill:focus,
.registration-form input.form-control:-webkit-autofill:active {
  -webkit-text-fill-color: var(--registration-text);
  caret-color: var(--registration-text);
  -webkit-box-shadow: 0 0 0 1000px var(--registration-surface) inset;
  box-shadow: 0 0 0 1000px var(--registration-surface) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.registration-form input.form-control:autofill {
  color: var(--registration-text);
  background: var(--registration-surface);
  box-shadow: 0 0 0 1000px var(--registration-surface) inset;
}

.registration-form.was-validated :is(.form-control, .form-select):invalid,
.registration-form :is(.form-control, .form-select)[aria-invalid="true"] {
  border-color: var(--registration-error);
  color: var(--registration-text);
  background-color: var(--registration-surface);
}

.registration-form .registration-field-error {
  display: block;
  min-height: .95rem;
  color: var(--registration-error);
  line-height: 1.35;
}

.registration-form .registration-field-error:empty {
  display: block;
  visibility: hidden;
}

.registration-form .registration-health-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
}

.registration-form .registration-health-item,
.registration-form .registration-skill-field,
.registration-form .registration-agreements,
.registration-form .registration-review section {
  border-color: var(--registration-border);
  color: var(--registration-text);
  background: var(--registration-option-bg);
}

.registration-form .registration-health-item {
  display: grid;
  align-content: start;
  gap: .75rem;
}

.registration-form .registration-health-item legend {
  display: block;
  width: 100%;
  min-height: 2.8em;
  margin: 0;
  padding: 0;
  font-size: .8rem;
  line-height: 1.4;
}

.registration-form .registration-health-item [data-health-detail] {
  margin-top: 0;
}

.registration-form .registration-radio-row,
.registration-form .registration-skill-grid {
  gap: .65rem .9rem;
}

.registration-form .registration-radio-row label,
.registration-form .registration-skill-grid label,
.registration-form .registration-check {
  color: var(--registration-text);
}

.registration-form :is(.registration-radio-row, .registration-skill-grid, .registration-check) input:is([type="radio"], [type="checkbox"]):focus-visible {
  outline: 3px solid var(--registration-focus-ring);
  outline-offset: 2px;
}

.registration-form .registration-photo-preview {
  border-color: var(--registration-border);
  color: var(--registration-muted);
  background: var(--registration-surface-soft);
}

.registration-form .registration-review h5,
.registration-form .registration-form-head > span,
.registration-form .registration-step-heading > span {
  color: var(--registration-gold);
}

.registration-form .registration-review dt {
  color: var(--registration-muted);
}

.registration-form .registration-review dd {
  color: var(--registration-text);
}

.registration-form .registration-submit-note {
  border-color: var(--registration-border);
  color: var(--registration-text);
  background: var(--registration-surface-soft);
}

.registration-form .registration-progress li {
  color: var(--registration-muted);
}

.registration-form .registration-progress li::before {
  background: var(--registration-border);
}

.registration-form .registration-progress span {
  border-color: var(--registration-border);
  color: inherit;
  background: var(--registration-surface-soft);
}

.registration-form .registration-progress li.is-active,
.registration-form .registration-progress li.is-complete {
  color: var(--registration-text);
}

.registration-form .registration-step-actions .btn-hw-outline {
  border-color: var(--registration-border);
  color: var(--registration-text);
  background: var(--registration-surface);
}

@media (max-width: 767.98px) {
  .registration-form .registration-health-list {
    grid-template-columns: 1fr;
  }

  .registration-form .registration-form-grid > .registration-field > span:first-child,
  .registration-form .registration-signatures > .registration-field > span:first-child,
  .registration-form .registration-health-item legend {
    min-block-size: auto;
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .registration-form.registration-stepper :is(.form-control, .form-select),
  .registration-form .registration-photo-input > div:last-child {
    min-width: 0;
    max-width: 100%;
  }
}

/* Dynamic detail and leadership additions. */
.leader-avatar-list {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0 0 1rem;
}

.leader-avatar {
  width: 34px;
  height: 34px;
  display: inline-grid;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--hw-green-dark);
  box-shadow: 0 8px 18px rgba(3, 30, 17, .14);
}

.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-avatar-list small {
  margin-left: .25rem;
  color: var(--hw-muted);
  font-size: .66rem;
  font-weight: 700;
}

.history-members {
  margin: 2rem 0;
}

.history-member-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .85rem;
}

.history-member-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem;
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(13, 92, 47, .08);
}

.history-member-card img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 3px solid var(--hw-gold);
  border-radius: 50%;
  object-fit: cover;
}

.history-member-card strong,
.history-member-card span {
  display: block;
}

.history-member-card strong {
  color: var(--hw-black);
  font-size: .88rem;
}

.history-member-card span {
  color: var(--hw-muted);
  font-size: .72rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.detail-media,
.news-detail-image {
  overflow: hidden;
  border: 1px solid var(--border, var(--hw-line));
  border-radius: var(--hw-radius);
  background: var(--card, var(--surface));
  box-shadow: var(--hw-shadow);
}

.detail-media img,
.news-detail-image {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
}

.detail-article > p,
.detail-body,
.news-detail-article > p {
  color: var(--text-muted, var(--hw-muted));
  font-size: 1rem;
  line-height: 2;
  white-space: pre-line;
}

.news-detail-article {
  max-width: 920px;
  margin: 0 auto;
}

.news-detail-image {
  max-height: 520px;
}

@media (max-width: 991.98px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

.materials-intro {
  max-width: 820px;
  margin: -1.3rem auto 0;
  font-size: .92rem;
}

.material-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin: 2.4rem 0 3rem;
}

.material-filter-btn {
  min-height: 40px;
  padding: .55rem .9rem;
  border: 1px solid rgba(13, 92, 47, .18);
  border-radius: 999px;
  color: var(--hw-green);
  background: var(--hw-white);
  font-size: .74rem;
  font-weight: 700;
  transition: .25s ease;
}

.material-filter-btn:hover,
.material-filter-btn.active {
  border-color: var(--hw-green);
  color: var(--hw-white);
  background: var(--hw-green);
  transform: translateY(-2px);
}

.material-item.is-hidden {
  display: none;
}

.material-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--hw-line);
  border-radius: 16px;
  background: var(--hw-white);
  box-shadow: 0 18px 42px rgba(3, 30, 17, .09);
  transition: transform .28s ease, box-shadow .28s ease;
}

.material-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--hw-shadow);
}

.material-media {
  height: 220px;
  overflow: hidden;
  background: #dfe9e2;
}

.material-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.material-card:hover .material-media img {
  transform: scale(1.05);
}

.material-body {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 1.4rem;
}

.material-category {
  align-self: flex-start;
  margin-bottom: .7rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  color: var(--hw-green);
  background: rgba(13, 92, 47, .09);
  font-size: .66rem;
  font-weight: 800;
}

.material-body h3 {
  margin: 0 0 .4rem;
  color: var(--hw-black);
  font-size: 1.25rem;
  font-weight: 800;
}

.material-body > strong {
  color: #506057;
  font-size: .78rem;
}

.material-body p {
  margin: .8rem 0 1.2rem;
  font-size: .84rem;
}

.material-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.material-file-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--hw-green);
  font-size: .72rem;
  font-weight: 800;
}

.material-loading {
  padding: 3rem;
  border: 1px dashed var(--hw-line);
  border-radius: 16px;
  color: var(--hw-muted);
  text-align: center;
}

.compact-page-hero {
  min-height: 470px;
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  color: var(--hw-green);
  font-size: .82rem;
  font-weight: 800;
}

.material-detail-card {
  overflow: hidden;
  border: 1px solid var(--hw-line);
  border-radius: 18px;
  background: var(--hw-white);
  box-shadow: var(--hw-shadow);
}

.material-detail-image {
  height: min(48vw, 520px);
  min-height: 300px;
  overflow: hidden;
}

.material-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-detail-content {
  padding: clamp(1.5rem, 5vw, 4rem);
}

.material-detail-content h2 {
  margin: 0 0 .9rem;
  color: var(--hw-black);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
}

.material-detail-content h2:not(:first-child) {
  margin-top: 2.2rem;
}

.material-long-content {
  white-space: pre-line;
}

.material-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.material-attachment {
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem;
  border: 1px solid var(--hw-line);
  border-radius: 12px;
  background: #f7fbf8;
}

.material-attachment > i {
  color: var(--hw-green);
  font-size: 1.4rem;
}

.material-attachment span {
  display: grid;
}

.material-attachment strong {
  font-size: .82rem;
}

.material-attachment small {
  color: var(--hw-muted);
  font-size: .68rem;
}

.material-video-wrap video {
  width: 100%;
  max-height: 620px;
  border-radius: 12px;
  background: #000;
}

@media (max-width: 767.98px) {
  .material-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-inline: -12px;
    padding: 0 12px .6rem;
    overflow-x: auto;
  }

  .material-filter-btn {
    flex: 0 0 auto;
  }

  .material-media {
    height: 205px;
  }

  .material-detail-image {
    height: 280px;
    min-height: 0;
  }
}

/* Lapisan background terkelola: gambar, overlay, lalu konten. */
.hero-section,
.page-hero {
  --background-image-opacity: 1;
  --background-position: center center;
  --background-size: cover;
  --background-overlay-angle: 115deg;
  --background-overlay-start: rgba(3, 30, 17, .92);
  --background-overlay-middle: rgba(13, 92, 47, .68);
  --background-overlay-end: rgba(17, 17, 17, .44);
  isolation: isolate;
  background: var(--hw-green-dark);
}

.home-hero {
  --background-position: center 56%;
  --background-overlay-angle: 90deg;
  --background-overlay-start: rgba(2, 32, 17, .96);
  --background-overlay-middle: rgba(7, 63, 36, .88);
  --background-overlay-end: rgba(7, 63, 36, .34);
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-image, var(--page-image));
  background-position: var(--background-position);
  background-size: var(--background-size);
  background-repeat: no-repeat;
  opacity: var(--background-image-opacity);
  transform: none;
  pointer-events: none;
}

.page-hero::before {
  background-image: var(--page-image);
}

.hero-section::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  background-image: linear-gradient(
    var(--background-overlay-angle),
    var(--background-overlay-start),
    var(--background-overlay-middle),
    var(--background-overlay-end)
  );
  pointer-events: none;
}

.hero-section > .container,
.page-hero > .container {
  position: relative;
  z-index: 3;
}

.hero-section .hero-grid {
  z-index: 2;
  pointer-events: none;
}
