/* Hira College — EduBuzz-inspired palette
   1. Navy  #1f3971
   2. Orange #ffae27
   3. Slate  #2d3e50
   4. Light  #f5f6f8 / white
*/

:root {
  --hc-navy: #1f3971;
  --hc-orange: #ffae27;
  --hc-slate: #2d3e50;
  --hc-light: #f5f6f8;

  --hc-navy-deep: #162a56;
  --hc-navy-soft: #e8eef8;
  --hc-orange-bright: #ffb94a;
  --hc-orange-soft: #fff3de;
  --hc-muted: #5a6675;
  --hc-line: #e4e7ec;
  --hc-white: #ffffff;
  --hc-shadow: 0 12px 30px rgba(31, 57, 113, 0.1);
  --hc-radius: 4px;
  --hc-header: 5.75rem;
  --hc-max: 72rem;
  --hc-font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --hc-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --hc-space: clamp(3.25rem, 7vw, 6.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hc-header) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hc-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--hc-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--hc-slate);
  background: var(--hc-white);
}

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

a {
  color: #3f3f3f;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--hc-navy);
}

:focus-visible {
  outline: 3px solid var(--hc-orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--hc-navy);
  color: #fff;
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.hc-container {
  width: min(calc(100% - 2rem), var(--hc-max));
  margin-inline: auto;
}

.hc-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hc-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Header */
.hc-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hc-line);
}

.hc-header__bar {
  background: #203a72;
  color: #fff;
  font-size: 0.875rem;
}

.hc-header__utility {
  display: none;
  justify-content: flex-end;
  gap: 1.5rem;
  min-height: 2.35rem;
  align-items: center;
}

.hc-header__utility-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
}

.hc-header__utility-link:hover {
  color: var(--hc-orange);
}

.hc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.hc-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.hc-brand__mark {
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--hc-line);
}

.hc-brand__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hc-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hc-brand__name {
  font-family: var(--hc-serif);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--hc-navy);
}

.hc-brand__tagline {
  font-size: 0.75rem;
  color: var(--hc-muted);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hc-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  padding: 0.45rem 0.7rem;
  min-height: 2.75rem;
  cursor: pointer;
  color: var(--hc-slate);
  font: inherit;
}

.hc-nav-toggle__close {
  display: none;
}

.hc-nav-toggle[aria-expanded="true"] .hc-nav-toggle__open {
  display: none;
}

.hc-nav-toggle[aria-expanded="true"] .hc-nav-toggle__close {
  display: inline-flex;
}

.hc-nav {
  display: none;
}

.hc-nav.is-open {
  display: flex;
}

.hc-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hc-nav__list a {
  display: block;
  padding: 0.7rem 0.2rem;
  color: var(--hc-slate);
  text-decoration: none;
  font-weight: 600;
}

.hc-nav__list a:hover,
.hc-nav__list a[aria-current="page"] {
  color: var(--hc-navy);
}

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--hc-radius);
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.2;
}

.hc-btn--gold,
.hc-btn--primary {
  background: var(--hc-navy);
  color: #fff;
}

.hc-btn--gold:hover,
.hc-btn--primary:hover {
  background: var(--hc-navy-deep);
  color: #fff;
}

.hc-btn--orange {
  background: var(--hc-orange);
  color: var(--hc-navy-deep);
  border-color: var(--hc-orange);
}

.hc-btn--orange:hover {
  background: var(--hc-orange-bright);
  color: var(--hc-navy-deep);
  border-color: var(--hc-orange-bright);
}

.hc-btn--ghost {
  background: transparent;
  color: var(--hc-navy);
  border-color: var(--hc-navy);
}

.hc-btn--ghost:hover {
  background: var(--hc-navy);
  color: #fff;
}

.hc-btn--sm {
  min-height: 2.45rem;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
}

.hc-header__cta {
  margin-top: 0.75rem;
}

/* Hero */
.hc-hero {
  position: relative;
  padding: 2.25rem 0 var(--hc-space);
  background-color: #eef1f6;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.65) 0, transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(31, 57, 113, 0.05) 0, transparent 32%),
    linear-gradient(rgba(31, 57, 113, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 57, 113, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #f4f6fa 0%, #e8ecf3 100%);
  background-size:
    auto,
    auto,
    28px 28px,
    28px 28px,
    auto;
  overflow: hidden;
}

.hc-hero__grid {
  display: grid;
  gap: 2rem;
}

.hc-kicker {
  margin: 0 0 0.6rem;
  color: var(--hc-orange);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hc-hero h1,
.hc-section h2,
.hc-page h1 {
  font-family: var(--hc-serif);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--hc-navy);
}

.hc-hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.55rem);
  max-width: 21ch;
}

.hc-hero__motto {
  margin: 0 0 1rem;
  font-family: var(--hc-serif);
  font-style: italic;
  color: var(--hc-orange);
  font-size: 1.2rem;
}

.hc-lead,
.hc-section__intro {
  margin: 0 0 1.4rem;
  color: var(--hc-muted);
  max-width: 42rem;
  font-size: 1.08rem;
}

.hc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero image: matching navy corner brackets (top-right + bottom-left) */
.hc-hero__media {
  position: relative;
  margin: 0;
  z-index: 0;
  padding: 0.85rem;
}

.hc-hero__media::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-bottom: 4px solid var(--hc-navy);
  border-left: 4px solid var(--hc-navy);
  z-index: 2;
  pointer-events: none;
}

.hc-hero__media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-top: 4px solid var(--hc-navy);
  border-right: 4px solid var(--hc-navy);
  z-index: 2;
  pointer-events: none;
}

.hc-hero__frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--hc-shadow);
  background: #d8dde6;
  aspect-ratio: 5 / 4;
}

.hc-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(31, 57, 113, 0.18));
  pointer-events: none;
}

.hc-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Framed sliders keep existing hero/about chrome */
.hc-hero__frame .hc-slider,
.hc-about__frame .hc-slider {
  height: 100%;
}

.hc-hero__frame .hc-slider__viewport,
.hc-about__frame .hc-slider__viewport {
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.hc-hero__frame .hc-slider__controls,
.hc-about__frame .hc-slider__controls {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 3;
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35rem 0.5rem;
  border-radius: var(--hc-radius);
}

.hc-hero__frame .hc-slider__image,
.hc-about__frame .hc-slider__image,
.hc-hero__frame .hc-hero__image,
.hc-about__frame .hc-about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-academics-layout {
  display: grid;
  gap: 1.75rem;
}

.hc-academics-aside__header {
  margin-bottom: 1.25rem;
  max-width: none;
}

.hc-academics-aside__header .hc-section__intro {
  margin-bottom: 0;
}

.hc-academics-media {
  margin: 0;
  max-width: none;
}

.hc-academics-programs-heading {
  font-family: var(--hc-serif);
  font-size: 1.35rem;
  color: var(--hc-navy);
  margin: 0 0 1rem;
}

.hc-academics-layout--split .hc-cards {
  grid-template-columns: 1fr;
}

/* Sections */
.hc-section {
  padding: var(--hc-space) 0;
  background: var(--hc-white);
}

.hc-section--soft {
  background: #eef1f6;
}

.hc-section--campus {
  background: #dde3ec;
}

.hc-section--warm {
  background: #d7dee9;
}

.hc-section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.hc-section__header {
  margin-bottom: 2rem;
  max-width: 44rem;
}

.hc-about__grid,
.hc-contact__grid,
.hc-gallery-layout {
  display: grid;
  gap: 2rem;
}

/*
  About image — navy corner brackets (top-left + bottom-right)
  Soft navy plate via offset shadow (different from hero)
*/
.hc-about__media {
  position: relative;
  margin: 0;
  z-index: 0;
  padding: 1rem;
}

.hc-about__media::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4.25rem;
  height: 4.25rem;
  border-bottom: 4px solid var(--hc-navy);
  border-right: 4px solid var(--hc-navy);
  z-index: 2;
  pointer-events: none;
}

.hc-about__media::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4.25rem;
  height: 4.25rem;
  border-top: 4px solid var(--hc-navy);
  border-left: 4px solid var(--hc-navy);
  z-index: 2;
  pointer-events: none;
}

.hc-about__frame {
  position: relative;
  z-index: 1;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #d8dde6;
  border: 5px solid var(--hc-white);
  box-shadow:
    -12px -12px 0 0 var(--hc-navy-soft),
    var(--hc-shadow);
}

.hc-about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-richtext p {
  margin: 0 0 1rem;
  color: var(--hc-muted);
}

.hc-cards,
.hc-faculty,
.hc-values,
.hc-contact-list,
.hc-footer-nav,
.hc-nav__list,
.hc-slider__track {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-cards {
  display: grid;
  gap: 1.25rem;
}

.hc-card,
.hc-panel,
.hc-faculty__card,
.hc-contact__form,
.hc-faculty-empty {
  background: var(--hc-white);
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
}

.hc-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(31, 57, 113, 0.14);
}

.hc-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--hc-orange-soft);
  color: var(--hc-navy);
}

.hc-card__title,
.hc-faculty h3,
.hc-values h3 {
  font-family: var(--hc-serif);
  margin: 0;
  font-size: 1.35rem;
  color: var(--hc-navy);
}

.hc-card p,
.hc-faculty p,
.hc-values p,
.hc-panel p {
  margin: 0;
  color: var(--hc-muted);
}

.hc-card__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.hc-card__actions .hc-btn {
  width: 100%;
  justify-content: center;
}

.hc-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 650;
  text-decoration: none;
  margin-top: auto;
  color: #3f3f3f;
}

.hc-card__actions .hc-text-link {
  margin-top: 0;
  align-self: flex-start;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--hc-navy);
}

.hc-text-link:hover {
  color: var(--hc-navy);
}

.hc-card__actions .hc-text-link:hover {
  color: var(--hc-navy-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Faculty empty */
.hc-faculty-empty {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.hc-faculty-empty__accent {
  background:
    linear-gradient(135deg, var(--hc-navy-deep) 0%, var(--hc-navy) 100%);
  color: #fff;
  padding: 1.85rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
}

.hc-faculty-empty__accent::before {
  content: "";
  position: absolute;
  width: 9rem;
  height: 9rem;
  right: -2.5rem;
  bottom: -3rem;
  border-radius: 50%;
  background: rgba(255, 174, 39, 0.16);
}

.hc-faculty-empty__accent::after {
  content: "";
  position: absolute;
  width: 5rem;
  height: 5rem;
  right: 3rem;
  top: -1.5rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 174, 39, 0.35);
}

.hc-faculty-empty__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--hc-orange);
  position: relative;
  z-index: 1;
}

.hc-faculty-empty__accent h3 {
  margin: 0;
  font-family: var(--hc-serif);
  font-size: 1.45rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hc-faculty-empty__accent p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 1;
  max-width: 28rem;
}

.hc-faculty-empty__body {
  padding: 1.5rem 1.6rem 1.7rem;
  display: grid;
  gap: 1rem;
}

.hc-faculty-empty__body .hc-hero__actions {
  align-items: center;
}

.hc-faculty-empty__body .hc-btn {
  min-height: 2.85rem;
  height: 2.85rem;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

.hc-faculty-empty__points {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-faculty-empty__points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--hc-muted);
  font-size: 0.98rem;
}

.hc-faculty-empty__points li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hc-orange);
}

.hc-faculty {
  display: grid;
  gap: 1.25rem;
}

.hc-faculty__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hc-faculty__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.hc-faculty__role {
  color: var(--hc-orange) !important;
  font-weight: 650;
}

.hc-values {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.hc-values li {
  padding-left: 1rem;
  border-left: 3px solid var(--hc-orange);
}

/* Slider */
.hc-slider {
  position: relative;
}

.hc-slider__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  border: 1px solid var(--hc-line);
  background: #d8dde6;
  aspect-ratio: 16 / 10;
}

.hc-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.hc-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
}

.hc-slider__btn-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hc-slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.hc-slider__nav {
  display: inline-flex;
  gap: 0.45rem;
}

.hc-slider__arrow {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--hc-line);
  background: var(--hc-white);
  color: var(--hc-navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hc-slider__arrow:hover {
  background: var(--hc-navy);
  border-color: var(--hc-navy);
  color: #fff;
}

.hc-slider__dots {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hc-slider__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #cfd5de;
  cursor: pointer;
}

.hc-slider__dot[aria-current="true"] {
  background: var(--hc-navy);
  width: 1.15rem;
  border-radius: 999px;
}

.hc-slider__status {
  font-size: 0.85rem;
  color: var(--hc-muted);
  font-weight: 600;
}

.hc-contact {
  background: var(--hc-white);
}

/* Full-width map */
.hc-map {
  width: 100%;
  background: #eef1f6;
  color: var(--hc-slate);
}

.hc-map__bar {
  padding: 1.75rem 0 1.35rem;
}

.hc-map__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.hc-map .hc-kicker {
  color: var(--hc-orange);
}

.hc-map h2 {
  color: var(--hc-navy);
  margin-bottom: 0.35rem;
}

.hc-map__address {
  margin: 0;
  color: var(--hc-muted);
  max-width: 36rem;
}

.hc-map .hc-btn--primary {
  background: var(--hc-navy);
  color: #fff;
}

.hc-map .hc-btn--primary:hover {
  background: var(--hc-navy-deep);
  color: #fff;
}

.hc-map__frame {
  width: 100%;
  height: min(52vw, 26rem);
  min-height: 16rem;
  line-height: 0;
  border: 0;
}

.hc-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.02);
}

.hc-contact-list {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.4rem;
}

.hc-contact-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.hc-contact-list svg {
  color: var(--hc-orange);
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.hc-contact-list__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hc-muted);
}

.hc-contact-list address {
  font-style: normal;
  margin: 0;
}

.hc-contact__form {
  padding: 1.35rem 1.4rem 1.45rem;
  background: #eef1f6;
  border-color: var(--hc-line);
  color: var(--hc-slate);
}

.hc-contact__form .wpcf7-form p {
  margin: 0 0 0.45rem;
}

.hc-contact__form .hc-form-grid {
  display: grid;
  gap: 0.45rem;
}

.hc-contact__form .hc-form-field label,
.hc-contact__form .wpcf7 label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.15rem;
  color: var(--hc-slate);
}

.hc-contact__form .wpcf7 input[type="text"],
.hc-contact__form .wpcf7 input[type="email"],
.hc-contact__form .wpcf7 input[type="tel"],
.hc-contact__form .wpcf7 textarea {
  width: 100%;
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  background: #fff;
  color: var(--hc-slate);
}

.hc-contact__form .wpcf7 textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.hc-contact__form .wpcf7 input:focus,
.hc-contact__form .wpcf7 textarea:focus {
  border-color: var(--hc-navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 57, 113, 0.12);
}

.hc-contact__form .wpcf7-submit {
  background: var(--hc-navy);
  color: #fff;
  border: 0;
  min-height: 2.85rem;
  height: 2.85rem;
  padding: 0 1.3rem;
  font: inherit;
  font-weight: 700;
  border-radius: var(--hc-radius);
  cursor: pointer;
}

.hc-contact__form .wpcf7-submit:hover {
  background: var(--hc-navy-deep);
  color: #fff;
}

.hc-contact__form .wpcf7-not-valid-tip,
.hc-contact__form .wpcf7-response-output {
  font-size: 0.95rem;
}

.hc-contact__form .wpcf7-form-control-wrap {
  display: block;
}

.hc-contact__form .hc-form-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--hc-muted);
}

/* Footer — EduBuzz navy */
.hc-footer {
  background: var(--hc-navy);
  color: #e8eef8;
}

.hc-footer a {
  color: #fff;
  text-decoration: none;
}

.hc-footer a:hover {
  color: var(--hc-orange);
}

.hc-footer__grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 2.2rem;
}

.hc-footer__heading {
  font-family: var(--hc-serif);
  font-size: 1.15rem;
  margin: 0 0 0.8rem;
  color: #fff;
}

.hc-footer__note,
.hc-footer__address p {
  margin: 0 0 0.55rem;
  color: rgba(232, 238, 248, 0.82);
}

.hc-brand--footer {
  margin-bottom: 0.9rem;
}

.hc-brand--footer .hc-brand__name {
  color: #fff;
}

.hc-brand--footer .hc-brand__tagline {
  color: var(--hc-orange);
}

.hc-brand__mark--on-dark {
  background: #fff;
}

.hc-social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-weight: 650;
}

.hc-footer-nav {
  display: grid;
  gap: 0.4rem;
}

.hc-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1rem 0 1.2rem;
  font-size: 0.9rem;
  background: var(--hc-navy-deep);
}

.hc-footer__legal-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hc-footer__legal p {
  margin: 0;
}

.hc-footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hc-page {
  padding: var(--hc-space) 0;
}

.hc-prose {
  max-width: 46rem;
}

.hc-article__content p {
  color: var(--hc-muted);
}

.hc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hc-lightbox[hidden] {
  display: none;
}

.hc-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 42, 86, 0.86);
}

.hc-lightbox__dialog {
  position: relative;
  max-width: min(92vw, 64rem);
  max-height: 92vh;
  background: #111;
  border-radius: 6px;
  overflow: auto;
}

.hc-lightbox__dialog img {
  max-height: 80vh;
  margin: 0 auto;
}

.hc-lightbox__caption {
  margin: 0;
  padding: 0.7rem 1rem 1rem;
  color: #eee;
}

.hc-lightbox__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--hc-slate);
  cursor: pointer;
  display: grid;
  place-items: center;
}

body.hc-nav-open {
  overflow: hidden;
}

@media (max-width: 899px) {
  .hc-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--hc-line);
    padding: 0.5rem 1rem 1.25rem;
    flex-direction: column;
    box-shadow: var(--hc-shadow);
  }

  .hc-header__main {
    position: relative;
  }
}

@media (min-width: 768px) {
  .hc-cards {
    grid-template-columns: 1fr 1fr;
  }

  .hc-about__grid,
  .hc-contact__grid,
  .hc-gallery-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }

  /* About: top-align + sticky media so long copy does not leave a mid-column void */
  .hc-about__grid {
    align-items: start;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); /* ~60% slider / ~40% copy */
  }

  .hc-about__media {
    position: sticky;
    top: calc(var(--hc-header, 5.5rem) + 1.25rem);
  }

  /* Academics: sticky left (title + intro + slider) | programmes right */
  .hc-academics-layout--split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
    gap: 2.5rem;
  }

  .hc-academics-aside {
    position: sticky;
    top: calc(var(--hc-header, 5.5rem) + 1.25rem);
  }

  .hc-academics-layout--split .hc-cards {
    grid-template-columns: 1fr;
  }

  .hc-faculty-empty {
    grid-template-columns: 1.05fr 1fr;
  }

  .hc-footer__grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }

  .hc-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hc-form-field--full {
    grid-column: 1 / -1;
  }

  .hc-footer__legal-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hc-hero__frame {
    aspect-ratio: 4 / 3;
  }

  .hc-about__media {
    padding: 1.15rem;
  }

  .hc-map__frame {
    height: 28rem;
  }
}

@media (min-width: 900px) {
  :root {
    --hc-header: 6.75rem;
  }

  .hc-header__utility {
    display: flex;
  }

  .hc-nav-toggle {
    display: none;
  }

  .hc-nav,
  .hc-nav.is-open {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    flex-direction: row;
  }

  .hc-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .hc-nav__list a {
    padding: 0.5rem 0.65rem;
    font-size: 0.95rem;
  }

  .hc-header__cta {
    margin-top: 0;
    white-space: nowrap;
  }

  .hc-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
    min-height: 32rem;
  }

  .hc-brand__mark {
    width: 3.6rem;
    height: 3.6rem;
  }
}

@media (min-width: 1024px) {
  .hc-container {
    width: min(calc(100% - 3rem), 76rem);
  }
}

@media (min-width: 1440px) {
  .hc-hero h1 {
    font-size: 3.7rem;
  }
}

@media (max-width: 390px) {
  .hc-brand__tagline {
    display: none;
  }

  .hc-hero h1 {
    font-size: 1.9rem;
  }
}
