:root {
  --nh-primary: #1f2f46;
  --nh-secondary: #e0a83a;
  --nh-bg: #ffffff;
  --nh-soft: #f6f8fb;
  --nh-text: #0f172a;
  --nh-muted: #64748b;
  --nh-border: rgba(31, 47, 70, 0.12);
  --nh-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  --nh-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --nh-radius: 16px;
  --nh-radius-md: 12px;
  --nh-radius-lg: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--nh-text);
  background: var(--nh-bg);
}

/* Bootstrap theme-ish tweaks */
.btn-primary {
  --bs-btn-bg: var(--nh-primary);
  --bs-btn-border-color: var(--nh-primary);
  --bs-btn-hover-bg: #17263a;
  --bs-btn-hover-border-color: #17263a;
  --bs-btn-active-bg: #132030;
  --bs-btn-active-border-color: #132030;
  --bs-btn-focus-shadow-rgb: 31, 47, 70;
}

.btn-secondary {
  --bs-btn-bg: var(--nh-secondary);
  --bs-btn-border-color: var(--nh-secondary);
  --bs-btn-hover-bg: #d39a2f;
  --bs-btn-hover-border-color: #d39a2f;
  --bs-btn-active-bg: #c48f2b;
  --bs-btn-active-border-color: #c48f2b;
  --bs-btn-color: #152235;
  --bs-btn-hover-color: #152235;
  --bs-btn-active-color: #152235;
  --bs-btn-focus-shadow-rgb: 224, 168, 58;
}

.btn-outline-primary {
  --bs-btn-color: var(--nh-primary);
  --bs-btn-border-color: rgba(31, 47, 70, 0.35);
  --bs-btn-hover-bg: var(--nh-primary);
  --bs-btn-hover-border-color: var(--nh-primary);
  --bs-btn-hover-color: #fff;
}

.navbar .nav-link {
  font-weight: 600;
  color: #1c2b40;
}

.navbar .nav-link:hover {
  color: var(--nh-primary);
}

.navbar .nav-link.active {
  color: var(--nh-primary);
}

.nav-elevated {
  transition: box-shadow 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid transparent;
}

.nav-elevated.is-scrolled {
  box-shadow: var(--nh-shadow-soft);
  border-bottom-color: var(--nh-border);
}

/* Topbar */
.topbar {
  background: var(--nh-primary);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
}

.topbar__item i,
.topbar__link i {
  color: rgba(255, 255, 255, 0.85);
}

.topbar__link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.topbar__link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Brand */
.brand-badge {
  display: grid;
  place-items: center;
  /* width: 44px;
  height: 44px; */
  border-radius: 14px;
  background: rgba(224, 168, 58, 0.15);
  color: var(--nh-secondary);
  border: 1px solid rgba(224, 168, 58, 0.35);
}

.brand-name {
  font-family: "Roboto Slab", ui-serif, Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--nh-primary);
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--nh-muted);
}

/* Sections */
.section {
  padding: clamp(56px, 5.8vw, 96px) 0;
}

.section--soft {
  background: var(--nh-soft);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(31, 47, 70, 0.85);
  font-size: 0.78rem;
  margin: 0 0 10px;
}

.section-title {
  font-family: "Roboto Slab", ui-serif, Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.section-lead {
  color: var(--nh-muted);
  max-width: 62ch;
}

/* Hero */
.hero {
  position: relative;
}

.hero__slide {
  position: relative;
  min-height: clamp(520px, 72vh, 740px);
  display: grid;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      80% 60% at 20% 35%,
      rgba(31, 47, 70, 0.78),
      rgba(31, 47, 70, 0.58) 55%,
      rgba(31, 47, 70, 0.42) 100%
    ),
    linear-gradient(0deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.25));
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 30px 0;
  color: #fff;
}

.hero__kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  margin: 0 0 14px;
}

.hero__title {
  font-family: "Roboto Slab", ui-serif, Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(2rem, 2.6vw + 1.2rem, 3.2rem);
}

.hero__subtitle {
  margin-top: 12px;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.15rem);
}

.hero__controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
  pointer-events: none;
}

.hero__controls > * {
  pointer-events: auto;
}

.hero-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero .swiper-pagination-bullet-active {
  background: var(--nh-secondary);
  border-color: rgba(224, 168, 58, 0.35);
}

/* Cards & media */
.media-card {
  border-radius: var(--nh-radius-lg);
  overflow: hidden;
  box-shadow: var(--nh-shadow-soft);
  border: 1px solid var(--nh-border);
  background: #fff;
}

.media-card img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(224, 168, 58, 0.18);
  color: var(--nh-secondary);
  border: 1px solid rgba(224, 168, 58, 0.35);
}

.feature-card {
  border-radius: var(--nh-radius);
  border: 1px solid var(--nh-border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nh-shadow-soft);
  border-color: rgba(31, 47, 70, 0.18);
}

.house-card {
  border-radius: var(--nh-radius);
  border: 1px solid var(--nh-border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.house-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nh-shadow-soft);
}

.house-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(31, 47, 70, 0.08);
  border: 1px solid rgba(31, 47, 70, 0.14);
  color: var(--nh-primary);
}

.stat-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: var(--nh-radius);
  border: 1px solid var(--nh-border);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  padding: 16px 18px;
}

.stat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(224, 168, 58, 0.16);
  color: var(--nh-secondary);
  border: 1px solid rgba(224, 168, 58, 0.32);
}

.stat-card__value {
  font-weight: 800;
  color: var(--nh-primary);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.stat-card__label {
  color: var(--nh-muted);
  font-size: 0.92rem;
}

/* Lists */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.icon-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #23324a;
}

.icon-list i {
  color: var(--nh-secondary);
  margin-top: 2px;
}

/* Events */
.event-card {
  border-radius: var(--nh-radius);
  border: 1px solid var(--nh-border);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nh-shadow-soft);
}

.event-card img {
  height: 220px;
  object-fit: cover;
}

.event-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nh-muted);
  font-size: 0.9rem;
}

/* Gallery */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-tab {
  border: 1px solid rgba(31, 47, 70, 0.22);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--nh-primary);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.filter-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 47, 70, 0.35);
}

.filter-tab.is-active {
  background: var(--nh-primary);
  border-color: var(--nh-primary);
  color: #fff;
}

.gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--nh-border);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  background: #fff;
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 320ms ease;
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(31, 47, 70, 0.30);
  opacity: 0;
  transition: opacity 220ms ease;
  color: #fff;
  font-size: 1.1rem;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-item.is-hidden {
  display: none;
}

.video-card {
  border-radius: var(--nh-radius);
  overflow: hidden;
  border: 1px solid var(--nh-border);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.video-card__meta {
  padding: 14px 16px;
}

/* Achievements */
.achievement-card {
  border-radius: var(--nh-radius);
  border: 1px solid var(--nh-border);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.achievement-card img {
  height: 220px;
  object-fit: cover;
}

.achievements-swiper .swiper-pagination-bullet {
  background: rgba(31, 47, 70, 0.25);
  opacity: 1;
}
.achievements-swiper .swiper-pagination-bullet-active {
  background: var(--nh-secondary);
}

/* Testimonials */
.testimonial-card {
  border-radius: var(--nh-radius);
  border: 1px solid var(--nh-border);
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  padding: 20px;
  height: 100%;
}

.testimonial-card__top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.testimonial-card__top img {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--nh-border);
}

.testimonials-swiper .swiper-pagination-bullet {
  background: rgba(31, 47, 70, 0.25);
  opacity: 1;
}
.testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--nh-secondary);
}

/* Awards */
.award-tile {
  background: #fff;
  border: 1px solid var(--nh-border);
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.award-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--nh-shadow-soft);
}

.award-tile img {
  width: 100%;
  max-width: 180px;
  height: auto;
}

/* Contact */
.form-card,
.info-card {
  border-radius: var(--nh-radius);
  border: 1px solid var(--nh-border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.form-control,
.form-select {
  border-radius: 14px;
  border-color: rgba(31, 47, 70, 0.22);
  padding: 12px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(224, 168, 58, 0.65);
  box-shadow: 0 0 0 0.25rem rgba(224, 168, 58, 0.18);
}

.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-row__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(31, 47, 70, 0.08);
  border: 1px solid rgba(31, 47, 70, 0.14);
  color: var(--nh-primary);
}

.principal-signoff {
  padding-left: 12px;
  border-left: 3px solid rgba(224, 168, 58, 0.75);
}

/* Footer */
.footer {
  background: var(--nh-primary);
  color: rgba(255, 255, 255, 0.9);
  padding-top: 56px;
}

.footer-title {
  font-family: "Roboto Slab", ui-serif, Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.78);
  max-width: 44ch;
}

.brand-badge--footer {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--nh-secondary);
}

.footer-heading {
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact i {
  color: rgba(224, 168, 58, 0.95);
  margin-top: 2px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.footer-bottom {
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.72);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(31, 47, 70, 0.18);
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  color: var(--nh-primary);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 1080;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Better focus visibility */
:focus-visible {
  outline: 3px solid rgba(224, 168, 58, 0.55);
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .hero__controls {
    bottom: 10px;
  }

  .hero-prev,
  .hero-next {
    padding: 8px 10px;
  }

  .gallery-card img {
    height: 180px;
  }
}

/* Breadcrumb banner (reusable) */
.breadcrumb-hero {
  position: relative;
  min-height: clamp(220px, 24vh, 320px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.breadcrumb-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.breadcrumb-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      0deg,
      rgba(15, 23, 42, 0.62),
      rgba(15, 23, 42, 0.62)
    ),
    radial-gradient(
      80% 60% at 20% 40%,
      rgba(31, 47, 70, 0.65),
      rgba(31, 47, 70, 0.35) 60%,
      rgba(31, 47, 70, 0.22) 100%
    );
}

.breadcrumb-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 24px 0;
}

.breadcrumb-hero__title {
  font-family: "Roboto Slab", ui-serif, Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 1.2vw + 1.4rem, 2.5rem);
}

.breadcrumb-hero .breadcrumb {
  justify-content: center;
  margin: 0;
}

.breadcrumb-hero .breadcrumb-item,
.breadcrumb-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-hero .breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-hero .breadcrumb-item.active {
  color: rgba(224, 168, 58, 0.95);
}

.breadcrumb-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.65);
}

/* CTA banner (reusable) */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--nh-radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(
      135deg,
      rgba(31, 47, 70, 0.98),
      rgba(31, 47, 70, 0.88)
    ),
    radial-gradient(
      80% 60% at 85% 20%,
      rgba(224, 168, 58, 0.30),
      rgba(224, 168, 58, 0) 60%
    );
  box-shadow: var(--nh-shadow-soft);
  padding: clamp(22px, 3vw, 34px);
  color: #fff;
}

.cta-banner__title {
  font-family: "Roboto Slab", ui-serif, Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.82);
  margin: 8px 0 0;
}

/* 12px card style (reusable for new pages) */
.ui-card {
  border-radius: var(--nh-radius-md);
  border: 1px solid var(--nh-border);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ui-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nh-shadow-soft);
  border-color: rgba(31, 47, 70, 0.18);
}

.ui-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(224, 168, 58, 0.16);
  border: 1px solid rgba(224, 168, 58, 0.32);
  color: var(--nh-secondary);
}

/* Admission timeline */
.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 14px;
  border-radius: var(--nh-radius-md);
  border: 1px solid var(--nh-border);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.timeline-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(31, 47, 70, 0.08);
  border: 1px solid rgba(31, 47, 70, 0.14);
  color: var(--nh-primary);
  font-weight: 900;
}

.timeline-step h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
}

.timeline-step p {
  margin: 0;
  color: var(--nh-muted);
}

@media (min-width: 992px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .timeline-step {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 18px;
  }
}

/* Team cards + filter tabs */
.team-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-top-left-radius: var(--nh-radius-md);
  border-top-right-radius: var(--nh-radius-md);
}

.team-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  background: rgba(31, 47, 70, 0.08);
  border: 1px solid rgba(31, 47, 70, 0.14);
  color: var(--nh-primary);
}

.team-socials {
  display: flex;
  gap: 10px;
}

.team-socials a {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 47, 70, 0.14);
  background: rgba(31, 47, 70, 0.04);
  color: var(--nh-primary);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.team-socials a:hover {
  transform: translateY(-2px);
  background: rgba(224, 168, 58, 0.14);
  border-color: rgba(224, 168, 58, 0.35);
}

