/* ================================================================
   PHONICS UNIVERSITY — NEW HOMEPAGE STYLES
   File: css/index-new.css   (used only by index-new.php)
   Look: DBUU (cards, tiles, program finder) + DIT (serif headings
   with italic accent words, big photos, clean whitespace)
================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&display=swap');

:root {
  --nh-serif: 'Playfair Display', Georgia, serif;
  --nh-red: var(--primary, #c8102e);
  --nh-red-dk: var(--primary-dk, #9b0d22);
  --nh-ink: #14161c;
  --nh-text: #4a4f5a;
  --nh-soft: #f6f4f1;
  --nh-line: #e7e3de;
  --nh-gold: #f0bc2e;
  --nh-navy: #1b2340;
}

/* ── Shared type ───────────────────────────────────────────── */
.nh-h2 {
  font-family: var(--nh-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.18;
  color: var(--nh-ink);
  margin-bottom: 14px;
}
.nh-h2.xl { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.nh-h2.sm { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0; }
.nh-h2 em, .nh-h3 em { font-style: italic; color: var(--nh-red); }
.nh-h2.light { color: #fff; }
.nh-h2.light em { color: #ff9aa9; }
.nh-h3 {
  font-family: var(--nh-serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--nh-ink);
}
.nh-kicker {
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--nh-red); margin-bottom: 8px;
}
.nh-kicker.light { color: #ff9aa9; }
.nh-lead { color: var(--nh-text); font-size: 1rem; line-height: 1.8; }
.nh-rule { display: block; width: 64px; height: 4px; background: var(--nh-red); border-radius: 2px; margin-bottom: 20px; }
.nh-rule.light { background: #fff; }
.nh-rule.wide { width: 220px; margin-top: 26px; }
.op-8 { color: rgba(255,255,255,0.82); }

.nh-link { font-weight: 700; font-size: 0.86rem; color: var(--nh-red); display: inline-flex; align-items: center; gap: 6px; }
.nh-link i { transition: transform .25s; }
.nh-link:hover i { transform: translateX(4px); }
.nh-link.light { color: #fff; }

/* Buttons */
.nh-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.92rem;
  padding: 13px 28px; border-radius: 6px; border: 2px solid transparent;
  transition: all .25s ease; cursor: pointer; white-space: nowrap;
}
.nh-btn.sm { padding: 9px 20px; font-size: 0.84rem; }
.nh-btn-red { background: var(--nh-red); color: #fff; }
.nh-btn-red:hover { background: var(--nh-red-dk); color: #fff; transform: translateY(-2px); }
.nh-btn-ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.nh-btn-ghost:hover { background: #fff; color: var(--nh-ink); }
.nh-btn-white { background: #fff; color: var(--nh-red); }
.nh-btn-white:hover { background: var(--nh-ink); color: #fff; }
.nh-btn-outline { border-color: var(--nh-red); color: var(--nh-red); }
.nh-btn-outline:hover { background: var(--nh-red); color: #fff; }
.nh-btn-outline-w { border-color: rgba(255,255,255,0.55); color: #fff; }
.nh-btn-outline-w:hover { background: #fff; color: var(--nh-ink); }

/* Round arrow buttons for carousels */
.nh-arrows { display: flex; gap: 10px; }
.nh-arrows button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4); background: transparent; color: #fff;
  transition: all .25s;
}
.nh-arrows button:hover { background: var(--nh-red); border-color: var(--nh-red); }
.nh-arrows.dark button { border-color: var(--nh-line); color: var(--nh-ink); }
.nh-arrows.dark button:hover { color: #fff; }

/* ================================================================
   1. HERO
================================================================ */
.nh-hero { position: relative; background: #111; }
.nh-hero-swiper { height: clamp(520px, 82vh, 780px); }
.nh-hero .swiper-slide { position: relative; overflow: hidden; }
.nh-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  transform: scale(1.08); transition: transform 7s ease-out;
}
.nh-hero .swiper-slide-active .nh-hero-img { transform: scale(1); }
.nh-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,14,0.86) 0%, rgba(10,10,14,0.55) 45%, rgba(10,10,14,0.05) 75%),
    linear-gradient(0deg, rgba(10,10,14,0.55) 0%, transparent 35%);
}
.nh-hero-text {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-bottom: 90px;
}
.nh-hero-text > * { max-width: 640px; }
.nh-hero-badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 40px; margin-bottom: 22px;
}
.nh-hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nh-gold); animation: nhPulse 1.4s infinite; }
@keyframes nhPulse { 50% { opacity: .3; } }
.nh-hero-title {
  font-family: var(--nh-serif); font-weight: 800; color: #fff;
  font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.08; margin-bottom: 18px;
}
.nh-hero-title em { color: #ff9aa9; font-style: italic; font-weight: 700; }
.nh-hero-desc { color: rgba(255,255,255,0.85); font-size: clamp(0.98rem, 1.4vw, 1.12rem); line-height: 1.75; margin-bottom: 30px; max-width: 540px; }
.nh-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Entrance animation for active slide */
.nh-hero .swiper-slide .nh-hero-text > * { opacity: 0; transform: translateY(26px); transition: all .8s cubic-bezier(.22,1,.36,1); }
.nh-hero .swiper-slide-active .nh-hero-text > * { opacity: 1; transform: none; }
.nh-hero .swiper-slide-active .nh-hero-text > *:nth-child(2) { transition-delay: .12s; }
.nh-hero .swiper-slide-active .nh-hero-text > *:nth-child(3) { transition-delay: .24s; }
.nh-hero .swiper-slide-active .nh-hero-text > *:nth-child(4) { transition-delay: .36s; }

.nh-hero-nav {
  position: absolute; z-index: 5; right: max(24px, calc((100vw - 1320px) / 2 + 12px)); bottom: 110px;
  display: flex; align-items: center; gap: 14px;
}
.nh-hero-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.45);
  background: rgba(0,0,0,0.25); color: #fff; transition: all .25s;
}
.nh-hero-nav button:hover { background: var(--nh-red); border-color: var(--nh-red); }
.nh-hero-pagination { display: flex; gap: 6px; width: auto !important; position: static !important; }
.nh-hero-pagination .swiper-pagination-bullet { width: 26px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.5); opacity: 1; margin: 0 !important; transition: all .3s; }
.nh-hero-pagination .swiper-pagination-bullet-active { width: 44px; background: #fff; }

/* Quick links over hero bottom */
.nh-quick-wrap { position: relative; z-index: 6; margin-top: -58px; }
.nh-quick {
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.16);
}
.nh-quick a {
  display: flex; align-items: center; gap: 12px; padding: 22px 20px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.86rem; line-height: 1.3; color: var(--nh-ink);
  border-right: 1px solid var(--nh-line); transition: all .25s;
}
.nh-quick a:last-child { border-right: 0; }
.nh-quick a i { font-size: 1.35rem; color: var(--nh-red); width: 26px; text-align: center; transition: color .25s; }
.nh-quick a:hover { background: var(--nh-soft); }
.nh-quick a.apply { background: var(--nh-red); color: #fff; }
.nh-quick a.apply i { color: #fff; }
.nh-quick a.apply:hover { background: var(--nh-red-dk); }

/* ================================================================
   2. AT A GLANCE
================================================================ */
.nh-glance { padding: 64px 0 70px; }
.nh-stat {
  position: relative; overflow: hidden; height: 100%; min-height: 150px;
  border-radius: 14px; padding: 24px 22px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
  transition: transform .3s;
}
.nh-stat:hover { transform: translateY(-4px); }
.nh-stat.c1 { background: linear-gradient(135deg, #e0213f, #9b0d22); }
.nh-stat.c2 { background: linear-gradient(135deg, #2b3766, #161d38); }
.nh-stat.c3 { background: linear-gradient(135deg, #2b3766, #161d38); }
.nh-stat.c4 { background: linear-gradient(135deg, #f0a52e, #d9741a); }
.nh-stat-ico { position: absolute; top: 18px; right: 20px; font-size: 2.6rem; opacity: 0.22; }
.nh-stat-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; }
.nh-stat-num small { font-size: 0.5em; font-weight: 700; }
.nh-stat-lbl { margin-top: 6px; font-size: 0.9rem; font-weight: 600; opacity: 0.92; }

.nh-notice {
  height: 100%; background: #fff; border: 1px solid var(--nh-line); border-radius: 14px;
  padding: 24px 24px 10px; display: flex; flex-direction: column;
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}
.nh-notice-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--nh-soft); }
.nh-notice-viewport { position: relative; overflow: hidden; height: 300px; flex: none;
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent);
          mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent); }
.nh-notice-list { animation: nhScrollUp 26s linear infinite; }
.nh-notice-viewport:hover .nh-notice-list { animation-play-state: paused; }
@keyframes nhScrollUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.nh-notice-list li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px dashed var(--nh-line); }
.nh-notice-list a { color: var(--nh-ink); font-weight: 600; font-size: 0.92rem; line-height: 1.5; }
.nh-notice-list a:hover { color: var(--nh-red); }
.nh-notice-tag {
  flex: 0 0 auto; min-width: 92px; text-align: center;
  background: #fff0f2; color: var(--nh-red); font-size: 0.68rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; margin-top: 1px;
}

/* ================================================================
   3. STUDY AT PHONICS
================================================================ */
.nh-study { padding: 40px 0 90px; }
.nh-search { display: flex; margin-top: 26px; border: 2px solid var(--nh-ink); border-radius: 6px; overflow: hidden; max-width: 460px; }
.nh-search input { flex: 1; border: 0; padding: 14px 16px; font-size: 0.95rem; outline: none; min-width: 0; }
.nh-search button { border: 0; background: var(--nh-ink); color: #fff; width: 56px; font-size: 1.05rem; transition: background .25s; }
.nh-search button:hover { background: var(--nh-red); }
.nh-study-img { position: relative; }
.nh-study-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; display: block; }
.nh-study-img::after { content: ''; position: absolute; left: 24px; right: -12px; bottom: -12px; height: 6px; background: var(--nh-red); border-radius: 3px; z-index: -1; }
.nh-study-chip {
  position: absolute; left: -18px; bottom: 34px;
  background: #fff; padding: 14px 22px; border-radius: 8px; font-size: 0.95rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.nh-study-chip strong { color: var(--nh-red); font-family: 'Poppins', sans-serif; font-size: 1.2rem; }
.nh-level {
  height: 100%; padding: 30px 28px 32px; background: #fff;
  border-top: 4px solid var(--nh-ink); box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  display: flex; flex-direction: column; transition: all .3s;
}
.nh-level:hover { border-top-color: var(--nh-red); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.10); }
.nh-level h3 { font-family: var(--nh-serif); font-size: 1.6rem; font-weight: 700; color: var(--nh-ink); margin: 0; }
.nh-level .sub { color: var(--nh-text); margin-bottom: 14px; }
.nh-level p { color: var(--nh-text); font-size: 0.93rem; line-height: 1.75; flex: 1; }
.nh-level .nh-btn { align-self: flex-start; }

/* ================================================================
   4. BEST UNIVERSITY + ABOUT + ACCREDITATION
================================================================ */
.nh-best { padding: 90px 0; background: var(--nh-soft); }
.nh-rank-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 0; position: relative; z-index: 2; }
.nh-rank {
  background: #fff; border-radius: 12px; padding: 22px 16px 20px; text-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,0.07); border-bottom: 4px solid var(--nh-red);
  transition: transform .3s;
}
.nh-rank:hover { transform: translateY(-6px); }
.nh-rank:nth-child(even) { border-bottom-color: var(--nh-gold); }
.nh-rank .big { font-family: var(--nh-serif); font-weight: 800; font-size: 2.2rem; color: var(--nh-red); line-height: 1; }
.nh-rank:nth-child(even) .big { color: var(--nh-navy); }
.nh-rank .tag { font-size: 0.66rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--nh-ink); margin: 6px 0 10px; }
.nh-rank .t { font-weight: 700; font-size: 0.86rem; color: var(--nh-ink); line-height: 1.35; }
.nh-rank .o { font-size: 0.75rem; color: #888; margin-top: 6px; }

.nh-about { margin-top: -40px; background: var(--nh-navy); border-radius: 16px; overflow: hidden; color: #fff; }
.nh-about-img { position: relative; height: 100%; min-height: 340px; }
.nh-about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nh-about-badge {
  position: absolute; left: 0; bottom: 28px; background: var(--nh-red); color: #fff;
  padding: 14px 22px; font-family: var(--nh-serif); font-size: 1.15rem; line-height: 1.3; border-radius: 0 8px 8px 0;
}
.nh-about-body { padding: 80px 44px 44px; }
.nh-about-body p { color: rgba(255,255,255,0.84); line-height: 1.85; font-size: 0.97rem; }
.nh-about-body strong { color: #fff; }

.nh-accred { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 34px; }
.nh-accred-item { text-align: center; width: 120px; }
.nh-accred-item .circle {
  width: 112px; height: 112px; margin: 0 auto 10px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; padding: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08); border: 3px solid #fff; outline: 2px solid var(--nh-line);
  transition: all .3s;
}
.nh-accred-item:hover .circle { outline-color: var(--nh-red); transform: translateY(-4px); }
.nh-accred-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nh-accred-item span { font-weight: 700; font-size: 0.84rem; color: var(--nh-ink); }

/* ================================================================
   5. ADMISSION BAND
================================================================ */
.nh-admband { background: linear-gradient(110deg, var(--nh-red-dk), var(--nh-red)); color: #fff; padding: 54px 0; }
.nh-admlinks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 30px; }
.nh-admlinks a {
  color: #fff; font-weight: 600; font-size: 0.95rem; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18); display: flex; gap: 10px; align-items: center; transition: padding .25s;
}
.nh-admlinks a:hover { padding-left: 8px; color: var(--nh-gold); }

/* ================================================================
   6. WHY — photo tiles
================================================================ */
.nh-why { padding: 90px 0; }
.nh-tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 16px; }
.nh-tile { position: relative; overflow: hidden; border-radius: 14px; display: block; }
.nh-tile.wide { grid-column: span 2; }
.nh-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.nh-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.05) 55%); transition: background .3s; }
.nh-tile:hover img { transform: scale(1.07); }
.nh-tile:hover::after { background: linear-gradient(0deg, rgba(155,13,34,0.88) 0%, rgba(155,13,34,0.15) 70%); }
.nh-tile-label {
  position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1.3;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
}
.nh-tile-label i { font-size: 0.85rem; opacity: 0; transform: translateX(-6px); transition: all .3s; }
.nh-tile:hover .nh-tile-label i { opacity: 1; transform: none; }

/* ================================================================
   7. PROGRAM FINDER
================================================================ */
.nh-finder { padding: 90px 0; background: var(--nh-soft); scroll-margin-top: 110px; }
.nh-finder-search {
  position: relative; max-width: 100%; margin: 0 0 28px;
}
.nh-finder-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #999; }
.nh-finder-search input {
  width: 100%; padding: 16px 20px 16px 50px; font-size: 1rem;
  border: 1px solid var(--nh-line); border-radius: 10px; background: #fff; outline: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04); transition: border-color .25s;
}
.nh-finder-search input:focus { border-color: var(--nh-red); }
.nh-finder-tabs { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 130px; }
.nh-ftab {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 16px 18px; border-radius: 10px; border: 1px solid var(--nh-line); background: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--nh-ink);
  transition: all .25s;
}
.nh-ftab i:first-child { color: var(--nh-red); width: 20px; }
.nh-ftab .arr { margin-left: auto; font-size: 0.75rem; opacity: .5; }
.nh-ftab:hover { border-color: var(--nh-red); }
.nh-ftab.active { background: var(--nh-red); color: #fff; border-color: var(--nh-red); box-shadow: 0 10px 24px rgba(200,16,46,0.25); }
.nh-ftab.active i { color: #fff; opacity: 1; }
.nh-finder-help {
  margin-top: 10px; border-radius: 12px; overflow: hidden; background: var(--nh-navy); color: #fff;
}
.nh-finder-help img { width: 100%; height: 130px; object-fit: cover; display: block; }
.nh-finder-help > div { padding: 16px 18px 18px; display: flex; flex-direction: column; }
.nh-finder-help strong { font-family: var(--nh-serif); font-size: 1.1rem; }
.nh-finder-help span { font-size: 0.84rem; opacity: .8; }
.nh-finder-help .nh-btn { align-self: flex-start; }
.nh-fpane { display: none; }
.nh-fpane.active { display: block; animation: nhFade .4s ease; }
@keyframes nhFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.nh-finder.searching .nh-fpane { display: block; }
.nh-fcard {
  height: 100%; background: #fff; border-radius: 12px; padding: 20px 22px;
  border: 1px solid var(--nh-line); border-left: 4px solid var(--nh-red); transition: box-shadow .25s;
}
.nh-fcard:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.nh-fcard h4 { font-family: 'Poppins', sans-serif; font-size: 0.98rem; font-weight: 700; color: var(--nh-ink); margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.nh-fcard h4 i { width: 32px; height: 32px; border-radius: 50%; background: #fff0f2; color: var(--nh-red); display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; flex: 0 0 auto; }
.nh-fcard ul { display: flex; flex-direction: column; }
.nh-fcard li a { display: flex; gap: 8px; padding: 5px 0; font-size: 0.9rem; color: var(--nh-text); transition: color .2s, padding .2s; }
.nh-fcard li a i { color: var(--nh-red); padding-top: 4px; font-size: 0.75rem; }
.nh-fcard li a:hover { color: var(--nh-red); padding-left: 4px; }
.nh-fcard li.hide, .nh-fcard-col.hide { display: none; }
.nh-finder-empty { display: none; text-align: center; padding: 40px 0; color: var(--nh-text); }
.nh-finder-empty a { color: var(--nh-red); font-weight: 700; }
.nh-finder-empty.show { display: block; }

/* ================================================================
   8. OUR SCHOOLS
================================================================ */
.nh-schools { padding: 90px 0; background: var(--nh-ink); overflow: hidden; }
.nh-schools-swiper { overflow: visible; }
.nh-school { position: relative; display: block; height: 380px; border-radius: 14px; overflow: hidden; }
.nh-school img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.nh-school::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%); }
.nh-school:hover img { transform: scale(1.08); }
.nh-school-cap { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; color: #fff; }
.nh-school-cap small { font-size: 0.74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.nh-school-cap h3 { font-family: var(--nh-serif); font-weight: 700; font-size: 1.45rem; margin: 2px 0 8px; }
.nh-school-cap span { font-size: 0.82rem; font-weight: 700; color: #ff9aa9; display: inline-flex; gap: 6px; align-items: center; }
.nh-school-cap span i { transition: transform .25s; }
.nh-school:hover .nh-school-cap span i { transform: translateX(4px); }

/* ================================================================
   9. PLACEMENTS
================================================================ */
.nh-place { padding: 100px 0 80px; }
.nh-place-photo { position: relative; padding-right: 60px; }
.nh-place-photo img { width: 100%; aspect-ratio: 4/3.3; object-fit: cover; object-position: 60% center; border-radius: 4px; display: block; }
.nh-place-box {
  position: absolute; right: 0; top: 40px; background: var(--nh-navy); color: #fff;
  padding: 26px 28px; border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.nh-place-box .num { font-family: 'Poppins', sans-serif; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; }
.nh-place-box .lbl { margin-top: 8px; font-weight: 600; opacity: .85; }
.nh-pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.nh-pstats > div { background: var(--nh-soft); border-radius: 10px; padding: 16px 12px; text-align: center; border: 1px solid var(--nh-line); }
.nh-pstats strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--nh-ink); }
.nh-pstats span { font-size: 0.78rem; color: var(--nh-text); font-weight: 600; }
.nh-pstats .hl { background: var(--nh-red); border-color: var(--nh-red); }
.nh-pstats .hl strong, .nh-pstats .hl span { color: #fff; }

.nh-recruit-head { display: flex; align-items: center; gap: 18px; margin: 70px 0 22px; }
.nh-recruit-head span { font-family: var(--nh-serif); font-size: 1.4rem; font-weight: 700; color: var(--nh-ink); white-space: nowrap; }
.nh-recruit-head::after { content: ''; flex: 1; height: 1px; background: var(--nh-line); }
.nh-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nh-marquee-track { display: flex; gap: 16px; width: max-content; animation: nhMarquee 45s linear infinite; }
.nh-marquee:hover .nh-marquee-track { animation-play-state: paused; }
@keyframes nhMarquee { to { transform: translateX(calc(-50% - 8px)); } }
.nh-logo { width: 170px; height: 88px; background: #fff; border: 1px solid var(--nh-line); border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 12px 18px; flex: 0 0 auto; }
.nh-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(0.2); }

/* ================================================================
   10. VIBRANT LIFE
================================================================ */
.nh-life { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; background: #111; }
.nh-life-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .8s ease, transform 6s ease; }
.nh-life-bg.active { opacity: 1; transform: scale(1); }
.nh-life-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,20,0.88) 0%, rgba(10,12,20,0.6) 50%, rgba(10,12,20,0.35) 100%); }
.nh-life-inner { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; }
.nh-life-tabs li button {
  background: none; border: 0; color: rgba(255,255,255,0.75); text-align: left;
  font-family: var(--nh-serif); font-weight: 600; font-size: 1.25rem; padding: 8px 0;
  transition: all .25s; position: relative;
}
.nh-life-tabs li button:hover { color: #fff; padding-left: 6px; }
.nh-life-tabs li button.active { color: var(--nh-gold); padding-left: 22px; }
.nh-life-tabs li button.active::before { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 2px; background: var(--nh-gold); }
.nh-life-text { display: none; color: #fff; border-left: 3px solid var(--nh-red); padding-left: 24px; }
.nh-life-text.active { display: block; animation: nhFade .5s ease; }
.nh-life-text h3 { font-family: var(--nh-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--nh-gold); font-weight: 700; }
.nh-life-text p { color: rgba(255,255,255,0.85); font-size: 1.02rem; line-height: 1.8; }

/* ================================================================
   11. EXPLORE + REASONS
================================================================ */
.nh-explore { padding: 100px 0 90px; }
.nh-bignum { font-family: 'Poppins', sans-serif; font-weight: 800; color: var(--nh-red); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; margin-top: 14px; }
.nh-bignum-lbl { font-weight: 700; color: var(--nh-ink); }
.nh-explore-links { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 22px; font-weight: 700; font-size: 0.9rem; }
.nh-explore-links a { color: var(--nh-ink); }
.nh-explore-links a:hover { color: var(--nh-red); }
.nh-explore-links span { color: var(--nh-red); }
.nh-explore-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; display: block; }
.nh-reason { display: block; height: 100%; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.07); transition: all .3s; }
.nh-reason .img { overflow: hidden; }
.nh-reason .img img { width: 100%; aspect-ratio: 16/11; object-fit: cover; display: block; transition: transform .6s; }
.nh-reason:hover .img img { transform: scale(1.06); }
.nh-reason:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.nh-reason .body { padding: 20px 22px 24px; border-bottom: 3px solid transparent; transition: border-color .3s; }
.nh-reason:hover .body { border-bottom-color: var(--nh-red); }
.nh-reason h4 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--nh-ink); }
.nh-reason p { color: var(--nh-text); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* ================================================================
   12. LEADERS
================================================================ */
.nh-leaders { padding: 90px 0; background: var(--nh-soft); }
.nh-leader { display: block; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: all .3s; height: 100%; }
.nh-leader:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0,0,0,0.12); }
.nh-leader .photo { background: linear-gradient(160deg, #fff0f2, #f3ece4); height: 300px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.nh-leader .photo img { height: 100%; width: 100%; object-fit: cover; object-position: top center; }
.nh-leader .info { padding: 20px 22px 22px; border-top: 4px solid var(--nh-red); }
.nh-leader h4 { font-family: var(--nh-serif); font-weight: 700; font-size: 1.3rem; color: var(--nh-ink); margin-bottom: 2px; }
.nh-leader span { display: block; color: var(--nh-text); font-size: 0.88rem; margin-bottom: 10px; }
.nh-leader em { font-style: normal; color: var(--nh-red); font-weight: 700; font-size: 0.85rem; }

/* ================================================================
   13. NEWS
================================================================ */
.nh-news { padding: 90px 0; background: #101218; }
.nh-newscard { display: block; color: #fff; height: 100%; }
.nh-newscard .img { position: relative; overflow: hidden; border-radius: 4px; }
.nh-newscard .img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .6s; }
.nh-newscard:hover .img img { transform: scale(1.06); }
.nh-newscard .cat { position: absolute; left: 12px; top: 12px; background: var(--nh-red); color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.nh-newscard .date { margin: 14px 0 6px; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.nh-newscard h4 { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.5; color: #fff; transition: color .25s; }
.nh-newscard:hover h4 { color: #ff9aa9; }

/* ================================================================
   14. TESTIMONIALS
================================================================ */
.nh-testi { padding: 90px 0; }
.nh-testi .swiper-slide { height: auto; }
.nh-tcard {
  height: 100%; background: #fff; border: 1px solid var(--nh-line); border-radius: 16px;
  padding: 30px 28px 24px; display: flex; flex-direction: column; position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.nh-tcard .q { color: var(--nh-red); font-size: 1.8rem; margin-bottom: 12px; }
.nh-tcard p { color: var(--nh-text); font-size: 0.95rem; line-height: 1.8; flex: 1; }
.nh-tcard .who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--nh-line); }
.nh-tcard .av { width: 48px; height: 48px; border-radius: 50%; background: var(--nh-red); color: #fff; font-family: var(--nh-serif); font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.nh-tcard .who strong { display: block; color: var(--nh-red); font-size: 0.96rem; }
.nh-tcard .who span { font-size: 0.8rem; color: var(--nh-text); }
.nh-tcard .placed { margin-left: auto; text-align: right; font-size: 0.72rem; color: #888; line-height: 1.35; }
.nh-tcard .placed b { color: var(--nh-ink); font-size: 0.78rem; }

/* ================================================================
   15. GALLERY
================================================================ */
.nh-gallery { padding: 90px 0; background: var(--nh-soft); }
.nh-masonry { columns: 3; column-gap: 16px; }
.nh-gitem { position: relative; margin-bottom: 16px; break-inside: avoid; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.nh-gitem img { width: 100%; display: block; transition: transform .6s; }
.nh-gitem:hover img { transform: scale(1.05); }
.nh-gitem .ov { position: absolute; inset: 0; background: rgba(155,13,34,0.55); color: #fff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.nh-gitem:hover .ov { opacity: 1; }

/* ================================================================
   16. CTA + FORM
================================================================ */
.nh-cta { position: relative; padding: 100px 0; overflow: hidden; color: #fff; background: var(--nh-navy); }
.nh-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.nh-cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,22,30,0.92) 0%, rgba(120,10,28,0.82) 100%); }
.nh-form { background: #fff; border-radius: 16px; padding: 32px 30px 24px; box-shadow: 0 24px 60px rgba(0,0,0,0.3); color: var(--nh-ink); }
.nh-form h3 { font-family: var(--nh-serif); font-weight: 700; font-size: 1.5rem; margin-bottom: 20px; }
.nh-form h3 i { color: var(--nh-red); font-size: 1.1rem; margin-right: 6px; }
.nh-form input, .nh-form select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--nh-line); border-radius: 8px;
  font-size: 0.93rem; background: #faf9f7; outline: none; transition: border-color .25s, background .25s; color: var(--nh-ink);
}
.nh-form input:focus, .nh-form select:focus { border-color: var(--nh-red); background: #fff; }
.nh-form button[type="submit"] {
  width: 100%; border: 0; background: var(--nh-red); color: #fff; padding: 15px; border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.95rem; transition: background .25s;
}
.nh-form button[type="submit"]:hover { background: var(--nh-red-dk); }
.nh-form .note { text-align: center; font-size: 0.8rem; color: #888; margin: 12px 0 0; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1199.98px) {
  .nh-quick { grid-template-columns: repeat(3, 1fr); }
  .nh-quick a:nth-child(3) { border-right: 0; }
  .nh-quick a:nth-child(-n+3) { border-bottom: 1px solid var(--nh-line); }
  .nh-rank-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .nh-hero-nav { bottom: 150px; }
  .nh-hero-text { padding-bottom: 130px; }
  .nh-tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .nh-finder-tabs { position: static; flex-direction: row; flex-wrap: wrap; }
  .nh-ftab { flex: 1 1 45%; }
  .nh-finder-help { display: none; }
  .nh-about { margin-top: 24px; }
  .nh-about-body { padding: 32px 28px; }
  .nh-place-photo { padding-right: 0; }
  .nh-place-box { right: 16px; top: auto; bottom: 16px; padding: 16px 20px; }
  .nh-masonry { columns: 2; }
  .nh-life-text { margin-top: 10px; }
}
@media (max-width: 767.98px) {
  .nh-hero-swiper { height: 600px; }
  .nh-hero-shade { background: linear-gradient(0deg, rgba(10,10,14,0.92) 0%, rgba(10,10,14,0.55) 60%, rgba(10,10,14,0.25) 100%); }
  .nh-hero-text { justify-content: flex-end; padding-bottom: 150px; }
  .nh-hero-nav { left: 16px; right: auto; bottom: 90px; }
  .nh-hero-nav button { display: none; }
  .nh-quick-wrap { margin-top: -50px; }
  .nh-quick { grid-template-columns: repeat(2, 1fr); }
  .nh-quick a { padding: 16px 14px; font-size: 0.8rem; border-bottom: 1px solid var(--nh-line); }
  .nh-quick a:nth-child(3) { border-right: 1px solid var(--nh-line); }
  .nh-quick a:nth-child(even) { border-right: 0; }
  .nh-rank-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .nh-admlinks { grid-template-columns: 1fr; }
  .nh-study-chip { left: 12px; bottom: 16px; font-size: 0.85rem; padding: 10px 14px; }
  .nh-study-img::after { display: none; }
  .nh-notice-tag { min-width: 80px; }
  .nh-pstats { grid-template-columns: repeat(2, 1fr); }
  .nh-school { height: 320px; }
  .nh-life { min-height: 0; }
  .nh-life-tabs li button { font-size: 1.05rem; }
  .nh-tcard .who { flex-wrap: wrap; }
  .nh-tcard .placed { margin-left: 60px; text-align: left; }
  .nh-glance, .nh-study, .nh-best, .nh-why, .nh-finder, .nh-schools, .nh-place, .nh-explore, .nh-leaders, .nh-news, .nh-testi, .nh-gallery, .nh-cta { padding-top: 60px; padding-bottom: 60px; }
  .nh-glance { padding-top: 40px; }
  .nh-study { padding-top: 10px; }
}
@media (max-width: 575.98px) {
  .nh-tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .nh-tile.wide { grid-column: span 2; }
  .nh-tile-label { font-size: 0.86rem; left: 12px; right: 12px; bottom: 12px; }
  .nh-ftab { flex: 1 1 100%; }
  .nh-masonry { columns: 2; column-gap: 10px; }
  .nh-gitem { margin-bottom: 10px; }
  .nh-form { padding: 24px 18px 18px; }
  .nh-accred-item { width: 96px; }
  .nh-accred-item .circle { width: 90px; height: 90px; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .nh-notice-list, .nh-marquee-track { animation: none; }
  .nh-hero-img, .nh-life-bg { transition: none; }
}
