/* ═══════════════════════════════════════════════════════════
   Geetai Nursing College — VMCON-inspired institutional theme
   ═══════════════════════════════════════════════════════════ */
/* Poppins loaded via <link> in HTML head for faster render */

:root {
  --p-navy: #1a276b;
  --p-navy-deep: #101a4a;
  --p-red: #cc1632;
  --p-red-dark: #a81128;
  --p-pink: #f9007b;
  --p-muted: #5c727d;
  --p-bg: #ffffff;
  --p-surface: #ffffff;
  --p-alt: #f5f6f9;
  --p-card: #ffffff;
  --p-card-hover: #ffffff;
  --p-border: #e2e4e8;
  --p-text: #1a276b;
  --p-heading: #1a276b;
  --p-nav-text: #191a1c;
  --p-dropdown-bg: #ffffff;
  --p-input-bg: #ffffff;
  --p-input-text: #1a276b;
  --p-link-hover: #1a276b;
  --p-shadow: 0 2px 8px rgba(26,39,107,.06);
  --p-shadow-lg: 6px 5px 16px rgba(0,0,0,.12);
  --p-accent-soft: rgba(204,22,50,.06);
  --p-header-bg: #ffffff;
  --p-radius: 5px;
  --p-radius-lg: 10px;
  --p-font: 'Poppins', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--p-font) !important;
  color: var(--p-text) !important;
  background: var(--p-bg) !important;
  line-height: 1.65 !important;
  font-size: 16px !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--p-font) !important;
  color: var(--p-heading) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

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

a { color: var(--p-red); text-decoration: none; transition: color .25s; }
a:hover { color: var(--p-link-hover); text-decoration: none; }

/* Hide legacy template chrome */
.header-top-bar, .navigation, .footer.section.gray-bg,
.gnc-topbar, .gnc-header, .gnc-footer, .gnc-back-top { display: none !important; }

/* ── Announcement marquee ── */
.gncp-announce {
  background: var(--p-pink);
  color: #fff;
  overflow: hidden;
  padding: .55rem 0;
  font-size: .85rem;
  font-weight: 600;
}
.gncp-announce__track {
  display: inline-block;
  white-space: nowrap;
  animation: gncp-announce 28s linear infinite;
}
.gncp-announce__track a {
  color: #fff !important;
  padding: 0 3rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.gncp-announce__track a:hover { color: #fff !important; opacity: .85; }
@keyframes gncp-announce { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── Section title (VMCON pattern) ── */
.gncp-section-title { margin-bottom: 2.5rem; }
.gncp-section-title--center { text-align: center; }
.gncp-section-title h5 {
  font-size: 1rem !important;
  color: var(--p-red) !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  margin-bottom: .5rem !important;
}
.gncp-section-title h1,
.gncp-section-title h2.gncp-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  color: var(--p-pink) !important;
  margin-bottom: 1rem !important;
  line-height: 1.2 !important;
}
.gncp-section-title p {
  color: var(--p-muted);
  font-size: 1rem;
  max-width: 720px;
  margin-bottom: 0;
}
.gncp-section-title--center p { margin-left: auto; margin-right: auto; }

.gncp-bar {
  position: relative;
  width: 0;
  height: 4px;
  display: block;
  margin: 1rem 0 0;
}
.gncp-section-title--center .gncp-bar { margin-left: auto; margin-right: auto; }
.gncp-bar::before,
.gncp-bar::after {
  position: absolute;
  height: 100%;
  top: 0;
  content: "";
}
.gncp-bar::before { background: var(--p-red); width: 30px; right: -33px; }
.gncp-bar::after { background: var(--p-navy-deep); width: 25px; right: -65px; }

/* Legacy helpers */
.gncp-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--p-red);
  margin-bottom: .6rem;
}
.gncp-title { font-size: clamp(1.75rem, 3.5vw, 2.35rem); margin-bottom: .75rem; color: var(--p-pink) !important; }
.gncp-lead { color: var(--p-muted); font-size: 1.05rem; max-width: 640px; }
.gncp-lead--center { margin-left: auto; margin-right: auto; text-align: center; }
.gncp-divider {
  width: 48px; height: 4px;
  background: var(--p-red);
  border-radius: 0;
  margin: 1rem 0 1.5rem;
  position: relative;
}
.gncp-divider::after {
  content: "";
  position: absolute;
  right: -28px; top: 0;
  width: 25px; height: 100%;
  background: var(--p-navy-deep);
}
.gncp-divider--center { margin-left: auto; margin-right: auto; }

.gncp-section { padding: 5rem 0; content-visibility: auto; contain-intrinsic-size: auto 500px; }
.gncp-section--alt { background: var(--p-alt); }
.gncp-section--sky { background: var(--p-alt); }
.gncp-section--dark { background: var(--p-navy); color: #fff; }
.gncp-section--dark h2, .gncp-section--dark h3, .gncp-section--dark h4 { color: #fff !important; }
.gncp-head { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }

/* ── Buttons ── */
.gncp-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.5rem;
  font-weight: 600; font-size: .9rem;
  border-radius: var(--p-radius); border: 2px solid transparent;
  cursor: pointer; transition: all .25s;
  font-family: var(--p-font);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.gncp-btn--primary {
  background: var(--p-navy) !important; color: #fff !important; border-color: var(--p-navy) !important;
}
.gncp-btn--primary:hover {
  background: var(--p-red) !important; border-color: var(--p-red) !important;
  transform: translateY(-1px);
}
.gncp-btn--outline {
  background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.7) !important;
}
.gncp-btn--outline:hover { background: #fff !important; color: var(--p-navy) !important; }
.gncp-btn--gold {
  background: var(--p-red) !important; color: #fff !important; border-color: var(--p-red) !important;
}
.gncp-btn--gold:hover {
  background: var(--p-navy) !important; border-color: var(--p-navy) !important;
}
.gncp-btn--sm { padding: .5rem 1.1rem; font-size: .82rem; }

/* ── Top bar ── */
.gncp-topbar {
  background: var(--p-navy);
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  padding: .75rem 0;
  line-height: 1.5;
  position: relative;
  z-index: 1030;
  overflow: visible;
}
.gncp-topbar .container,
.gncp-topbar .row { overflow: visible; }
.gncp-topbar a { color: rgba(255,255,255,.92); }
.gncp-topbar a:hover { color: #fff; }
.gncp-topbar__items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.gncp-topbar__items i { color: var(--p-red); margin-right: .3rem; }
.gncp-topbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}
.gncp-topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-weight: 700;
  color: #fff !important;
  font-size: .85rem;
  line-height: 1.5;
  white-space: nowrap;
  transition: background .25s, transform .25s;
}
.gncp-topbar__cta:hover {
  background: rgba(255,255,255,.22);
  color: #fff !important;
  transform: translateY(-1px);
}
.gncp-topbar__cta--whatsapp {
  background: #25d366;
}
.gncp-topbar__cta--whatsapp:hover {
  background: #1ebe57;
}

.gncp-btn--whatsapp {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
}
.gncp-btn--whatsapp:hover {
  background: #1ebe57 !important;
  border-color: #1ebe57 !important;
  color: #fff !important;
}

.gncp-footer__connect {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

/* Reserve space so floating contact bar does not cover page content */
body {
  padding-bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px));
}

.gncp-contact-dock {
  position: fixed !important;
  left: 50%;
  bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .45rem .55rem;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(26,39,107,.12);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(16,26,74,.18);
  z-index: 10050;
  pointer-events: auto;
}

.gncp-contact-dock__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 42px;
  padding: .45rem 1rem .45rem .55rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.gncp-contact-dock__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.gncp-contact-dock__label {
  padding-right: .15rem;
}

.gncp-contact-dock__btn:hover {
  transform: translateY(-1px);
  color: #fff;
}

.gncp-contact-dock__btn--call {
  background: var(--p-navy);
  color: #fff;
}

.gncp-contact-dock__btn--call:hover {
  background: #243590;
  color: #fff;
}

.gncp-contact-dock__btn--wa {
  background: #25d366;
  color: #fff;
}

.gncp-contact-dock__btn--wa:hover {
  background: #1ebe57;
  color: #fff;
}

/* ── Header card ── */
.gncp-header {
  background: transparent;
  position: sticky; top: 0; z-index: 1045;
  padding: 0;
}
.gncp-header:has(+ .gncp-hero-slider) {
  margin-bottom: -2.5rem;
}
.gncp-header.is-scrolled .gncp-header-card {
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
}
.gncp-header-card {
  background: var(--p-header-bg);
  box-shadow: var(--p-shadow-lg);
  border-radius: 0;
  transition: box-shadow .3s;
}

.gncp-nav > .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .75rem;
}

.gncp-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none !important;
  padding: .65rem 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(340px, 52vw);
  margin-right: .5rem;
}
.gncp-brand > div {
  min-width: 0;
  overflow: hidden;
}
.gncp-brand__logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.gncp-brand__name {
  font-family: var(--p-font) !important;
  font-size: 1.05rem;
  color: var(--p-heading) !important;
  margin: 0;
  line-height: 1.2;
  font-weight: 700 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gncp-brand__tag {
  margin: 0;
  font-size: .66rem;
  font-weight: 500;
  color: var(--p-muted);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gncp-nav { padding: .5rem 0; }
.gncp-nav .navbar-toggler { flex-shrink: 0; margin-left: auto; }
.gncp-nav .navbar-collapse { flex: 1 1 auto; min-width: 0; }
.gncp-nav .nav-link {
  color: var(--p-nav-text) !important;
  font-weight: 500; font-size: .82rem;
  padding: .55rem .65rem !important;
  text-transform: uppercase;
  letter-spacing: .02em;
  position: relative;
  border-radius: 0;
}
.gncp-nav .nav-link:hover,
.gncp-nav .nav-item.active .nav-link {
  color: var(--p-red) !important;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.gncp-nav .dropdown-menu {
  background: var(--p-dropdown-bg);
  border: 1px solid var(--p-border);
  box-shadow: var(--p-shadow-lg);
  border-radius: 0;
  padding: .5rem 0; margin-top: 0;
  min-width: 240px;
}
.gncp-nav .dropdown-item {
  font-size: .82rem; font-weight: 500;
  padding: .5rem 1.25rem;
  color: var(--p-nav-text);
  text-transform: uppercase;
  border-bottom: 1px solid var(--p-border);
}
.gncp-nav .dropdown-item:hover { background: transparent; color: var(--p-red); }

.gncp-nav .navbar-toggler {
  border: 1.5px solid var(--p-border);
  padding: .35rem .55rem;
}
.gncp-nav .navbar-toggler span { font-size: 1.4rem; color: var(--p-heading); }

.gncp-nav .nav-link.gncp-nav__admissions {
  margin-left: .75rem !important;
  padding: .55rem 1.1rem !important;
  background: var(--p-navy) !important;
  color: #fff !important;
  border-radius: var(--p-radius) !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.gncp-nav .nav-link.gncp-nav__admissions:hover,
.gncp-nav .nav-item.active .nav-link.gncp-nav__admissions {
  background: var(--p-red) !important;
  color: #fff !important;
  text-decoration: none !important;
}

.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-left: .1rem; }

/* ── Hero slider ── */
.gncp-hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--p-navy-deep);
  padding-top: 2.5rem;
}
.gncp-hero-slider .slick-slide { outline: none; }
.gncp-hero-slide {
  position: relative;
  min-height: 580px;
  display: flex !important;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.gncp-hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(2,45,98,0) 0%, rgba(26,39,107,.88) 55%, rgba(26,39,107,.92) 100%);
  z-index: 1;
}
.gncp-hero-slide__inner {
  position: relative; z-index: 2;
  color: #fff;
  padding: 5rem 0;
  max-width: 600px;
}
.gncp-hero-slide__inner h5 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff !important;
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0;
}
.gncp-hero-slide__inner h5::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  background: var(--p-pink);
}
.gncp-hero-slide__inner h1 {
  font-size: clamp(2.5rem, 6vw, 3.6rem) !important;
  color: #fff !important;
  margin: 1.5rem 0 .25rem;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}
.gncp-hero-slide__inner h2 {
  font-size: clamp(2rem, 5vw, 3.2rem) !important;
  color: #fff !important;
  margin: 0 0 2rem;
  font-weight: 700 !important;
}
.gncp-hero-slide__inner p {
  font-size: 1rem;
  opacity: .9;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

/* Slick controls */
.gncp-hero-slider .slick-dots {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  left: auto;
  width: auto;
  text-align: right;
}
.gncp-hero-slider .slick-dots li {
  display: block;
  margin: 12px 0;
}
.gncp-hero-slider .slick-dots li button {
  width: 8px; height: 8px;
  padding: 0;
  background: var(--p-red);
  border-radius: 50%;
  border: none;
}
.gncp-hero-slider .slick-dots li button::before { display: none; }
.gncp-hero-slider .slick-dots li.slick-active button {
  width: 13px; height: 13px;
  border: 1px solid var(--p-red);
  background: transparent;
}

/* Legacy parallax hero (inner pages fallback) */
.gncp-hero {
  position: relative; min-height: 580px;
  display: flex; align-items: center; overflow: hidden;
}
.gncp-hero__parallax {
  position: absolute;
  top: -15%; left: 0; right: 0;
  height: 130%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.gncp-hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(2,45,98,0) 0%, rgba(26,39,107,.88) 55%, rgba(26,39,107,.92) 100%);
}
.gncp-hero__inner { position: relative; z-index: 2; padding: 5rem 0; max-width: 640px; color: #fff; }
.gncp-hero__inner h1 { color: #fff !important; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1.25rem; }
.gncp-hero__inner p { font-size: 1.08rem; opacity: .9; line-height: 1.75; margin-bottom: 2rem; }
.gncp-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Quick link cards (VMCON service row) */
.gncp-quicklinks {
  background: var(--p-alt);
  padding: 0;
  margin-top: -3rem;
  position: relative;
  z-index: 5;
}
.gncp-quicklinks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  box-shadow: var(--p-shadow-lg);
}
.gncp-quicklink {
  background: var(--p-card);
  padding: 2rem 1.75rem;
  text-align: center;
  border-right: 1px solid var(--p-border);
  transition: transform .3s, box-shadow .3s;
}
.gncp-quicklink:last-child { border-right: none; }
.gncp-quicklink:hover {
  transform: translateY(-6px);
  box-shadow: var(--p-shadow-lg);
  z-index: 2;
}
.gncp-quicklink__icon {
  width: 70px; height: 70px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
}
.gncp-quicklink__icon img { max-height: 60px; width: auto; }
.gncp-quicklink__icon i {
  font-size: 2.5rem;
  color: var(--p-red);
}
.gncp-quicklink h4 {
  font-size: 1rem !important;
  text-transform: uppercase;
  color: var(--p-heading) !important;
  margin-bottom: .5rem;
}
.gncp-quicklink a {
  font-weight: 600;
  font-size: .88rem;
  color: var(--p-red);
}
.gncp-quicklink a:hover { color: var(--p-link-hover); text-decoration: underline; text-underline-offset: 4px; }

/* Stats strip */
.gncp-stats {
  background: var(--p-navy);
  border-bottom: none;
  padding: 0;
}
.gncp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.gncp-stat {
  padding: 1.75rem 1rem;
  border-right: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.gncp-stat:last-child { border-right: none; }
.gncp-stat__num {
  font-family: var(--p-font);
  font-size: 1.75rem; font-weight: 800;
  color: #fff; line-height: 1;
}
.gncp-stat__lbl { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: .35rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }

/* Ticker */
.gncp-ticker {
  background: var(--p-pink);
  color: #fff;
  padding: .7rem 0;
  overflow: hidden;
  font-size: .88rem; font-weight: 600;
}
.gncp-ticker__inner {
  display: inline-block; white-space: nowrap;
  animation: gncp-tick 22s linear infinite;
}
.gncp-ticker__inner span { padding: 0 2.5rem; }
@keyframes gncp-tick { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── Parallax & scroll reveal ── */
.gncp-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.gncp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gncp-parallax-band {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.gncp-parallax-band__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,39,107,.9), rgba(204,22,50,.75));
}
.gncp-parallax-band__content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 4rem 1rem;
  max-width: 720px; margin: 0 auto;
}
.gncp-parallax-band__content h2 {
  color: #fff !important;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: .75rem;
}
.gncp-parallax-band__content p {
  opacity: .9; font-size: 1.05rem; margin-bottom: 0;
}

.gncp-parallax-float { will-change: transform; transition: transform .1s linear; }

/* ── Split layout ── */
.gncp-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.gncp-split__media {
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  box-shadow: var(--p-shadow-lg);
  position: relative;
}
.gncp-split__media::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 5px; height: 100%;
  background: var(--p-red);
  z-index: 1;
}
.gncp-split__media img { display: block; width: 100%; }

/* ── Cards (VMCON service style) ── */
.gncp-card {
  background: var(--p-surface);
  border: none;
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.gncp-card:hover { transform: translateY(-6px); box-shadow: var(--p-shadow-lg); }
.gncp-card__img { width: 100%; height: 210px; object-fit: cover; transition: transform .5s; }
.gncp-card:hover .gncp-card__img { transform: scale(1.05); }
.gncp-card__body { padding: 1.5rem; }
.gncp-card__body h4 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--p-pink) !important; }
.gncp-card__body p { color: var(--p-muted); font-size: .92rem; margin: 0; }
.gncp-card__icon {
  width: 60px; height: 60px;
  background: var(--p-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  margin-bottom: 1rem;
}

/* Feature panel */
.gncp-panel {
  background: var(--p-alt);
  border: none;
  border-radius: 0;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: transform .3s, box-shadow .3s, background .3s;
  position: relative;
  margin-bottom: 30px;
}
.gncp-panel::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 5px; width: 0;
  background: var(--p-red);
  transition: width .3s;
}
.gncp-panel:hover {
  background: var(--p-card-hover);
  box-shadow: var(--p-shadow-lg);
  transform: translateY(-6px);
}
.gncp-panel:hover::after { width: 100%; }
.gncp-panel__eyebrow { font-size: .75rem; font-weight: 600; color: var(--p-muted); text-transform: uppercase; letter-spacing: .06em; }
.gncp-panel h4 { margin: .5rem 0 .75rem; font-size: 1.15rem; color: var(--p-pink) !important; text-transform: uppercase; }
.gncp-panel .gncp-card__icon {
  background: transparent;
  color: var(--p-red);
  font-size: 3rem;
  width: auto; height: auto;
  border-radius: 0;
}

/* ── Data table ── */
.gncp-table {
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  max-width: 760px; margin: 0 auto;
  box-shadow: var(--p-shadow);
}
.gncp-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  padding: .9rem 1.5rem;
  border-bottom: 1px solid var(--p-border);
  font-size: .9rem;
  align-items: center;
}
.gncp-table__row:last-child { border-bottom: none; }
.gncp-table__row--head {
  background: var(--p-navy);
  color: #fff; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.gncp-table__row--accent { background: var(--p-accent-soft); font-weight: 600; }
.gncp-table__row--accent span:last-child { color: var(--p-red); }

/* ── Gallery ── */
.gncp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gncp-gallery__item {
  position: relative; border-radius: 0;
  overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3;
  border: none;
}
.gncp-gallery__item img,
.gncp-gallery__item video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  pointer-events: none;
}
.gncp-gallery__item:hover img,
.gncp-gallery__item:hover video { transform: scale(1.05); }
.gncp-gallery__item::after {
  content: '\ef7a'; font-family: 'IcoFont';
  position: absolute; inset: 0;
  background: rgba(26,39,107,.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: #fff;
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.gncp-gallery__item:hover::after { opacity: 1; }
.gncp-gallery__item--video::after { content: none; }
.gncp-gallery__badge {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: rgba(26,39,107,.78);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.gncp-gallery__item--video.is-previewing .gncp-gallery__badge {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.85);
}
.gncp-gallery__item--video.is-previewing::before {
  content: '';
  position: absolute; inset: 0;
  border: 2px solid rgba(255,255,255,.45);
  z-index: 2;
  pointer-events: none;
}

/* Lightbox */
.gncp-lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(16,26,74,.94);
  z-index: 10090;
  align-items: center; justify-content: center; padding: 2rem;
  backdrop-filter: blur(4px);
}
.gncp-lightbox.is-open { display: flex; }
.gncp-lightbox__media {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 88vh;
}
.gncp-lightbox img,
.gncp-lightbox video {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--p-radius);
}
.gncp-lightbox--video .gncp-lightbox__panel {
  width: min(920px, 92vw);
  background: #0f173f;
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
  animation: gncp-pop .35s cubic-bezier(.34,1.2,.64,1);
}
.gncp-lightbox--video video {
  width: 100%;
  max-width: none;
  max-height: 72vh;
  border-radius: 0;
  display: block;
  background: #000;
}
.gncp-lightbox__caption {
  margin: 0;
  padding: .85rem 1.1rem;
  color: #fff;
  font-size: .95rem;
  background: rgba(0,0,0,.25);
}
.gncp-lightbox__x {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.15); border: none; color: #fff;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer; line-height: 1;
  z-index: 2;
}
.gncp-lightbox__x:hover { background: rgba(255,255,255,.28); }

/* ── Form ── */
.gncp-form {
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius-lg);
  padding: 2.25rem;
  box-shadow: var(--p-shadow);
}
.gncp-form .form-control,
.gncp-main .form-control,
select.form-control,
textarea.form-control {
  background: var(--p-input-bg) !important;
  color: var(--p-input-text) !important;
  border: 1.5px solid var(--p-border);
  border-radius: var(--p-radius);
  padding: .7rem 1rem;
  height: auto; font-size: .92rem;
  font-family: var(--p-font);
}
.gncp-form .form-control:focus,
.gncp-main .form-control:focus {
  border-color: var(--p-red) !important;
  box-shadow: 0 0 0 3px var(--p-accent-soft);
  background: var(--p-input-bg) !important;
  color: var(--p-input-text) !important;
}
.form-control::placeholder { color: var(--p-muted); opacity: .75; }
.gncp-hotline {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--p-red); color: #fff;
  padding: .85rem 1.35rem; border-radius: var(--p-radius);
  font-weight: 700; font-size: 1.1rem; margin-top: 1.25rem;
}

/* ── Google Map ── */
.gncp-map {
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  box-shadow: var(--p-shadow-lg);
  border: 1px solid var(--p-border);
  background: var(--p-surface);
}
.gncp-map iframe {
  display: block;
  width: 100%;
  min-height: 300px;
  height: 420px;
}

/* Objective row */
.gncp-quote {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-left: 5px solid var(--p-red);
  border-radius: var(--p-radius);
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow .3s;
}
.gncp-quote:hover { box-shadow: var(--p-shadow-lg); }
.gncp-quote__avatar {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--p-border);
}
.gncp-quote h4 { font-size: 1rem; color: var(--p-pink) !important; margin-bottom: .3rem; }
.gncp-quote p { font-size: .9rem; color: var(--p-muted); margin: 0; }

/* ── Footer ── */
.gncp-footer {
  background: var(--p-navy);
  color: rgba(255,255,255,.75);
  padding: 4.5rem 0 0;
}
.gncp-footer h4 {
  color: #fff !important;
  margin-bottom: 1.25rem;
  font-family: var(--p-font) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .9rem !important;
  position: relative;
  padding-bottom: .75rem;
}
.gncp-footer h4::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--p-red);
}
.gncp-footer p { font-size: .9rem; line-height: 1.7; }
.gncp-footer a { color: rgba(255,255,255,.7); }
.gncp-footer a:hover { color: #fff; }
.gncp-footer__links { list-style: none; padding: 0; margin: 0; }
.gncp-footer__links li { margin-bottom: .55rem; }
.gncp-footer__links a { font-size: .88rem; }
.gncp-footer__contact { display: flex; gap: .75rem; margin-bottom: 1rem; font-size: .88rem; }
.gncp-footer__contact i { color: var(--p-red); font-size: 1.1rem; margin-top: .15rem; }
.gncp-footer__bar {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 3rem;
  padding: 1.25rem 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

.gncp-top {
  position: fixed !important;
  bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  right: 1rem;
  width: 38px; height: 38px;
  background: var(--p-red); color: #fff;
  border-radius: var(--p-radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--p-shadow-lg);
  opacity: 0; visibility: hidden;
  transition: all .3s;
  z-index: 10040;
}
.gncp-top.is-visible { opacity: 1; visibility: visible; }
.gncp-top:hover { background: var(--p-navy); color: #fff; }

/* ── Welcome popup ── */
.gncp-popup {
  position: fixed; inset: 0; z-index: 10002;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.gncp-popup.is-hidden { display: none; }
.gncp-popup__veil {
  position: absolute; inset: 0;
  background: rgba(16,26,74,.88);
  backdrop-filter: blur(8px);
}
.gncp-popup__box {
  position: relative; z-index: 1;
  max-width: 520px; width: 100%;
  animation: gncp-pop .4s cubic-bezier(.34,1.4,.64,1);
}
@keyframes gncp-pop { from{opacity:0;transform:scale(.88)} to{opacity:1;transform:scale(1)} }
.gncp-popup__box img {
  width: 100%; border-radius: var(--p-radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.gncp-popup__x {
  position: absolute; top: -12px; right: -12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--p-navy);
  border: none; font-size: 1.35rem; cursor: pointer;
  box-shadow: var(--p-shadow-lg);
  display: flex; align-items: center; justify-content: center;
}

/* ── Inner pages (legacy template overrides) ── */
.gncp-main .page-title, .gncp-main .gnc-page-banner {
  background: linear-gradient(135deg, rgba(26,39,107,.9), rgba(204,22,50,.7)),
    url('../images/campus/u3.jpeg') center/cover no-repeat !important;
  background-attachment: fixed !important;
  padding: 5rem 0 !important;
  margin: 0 !important;
  position: relative;
}
.gncp-main .page-title .overlay { display: none !important; }
.gncp-main .page-title h1, .gncp-main .page-title span {
  color: #fff !important;
}
.gncp-main .page-title span {
  font-family: var(--p-font) !important;
  font-size: .78rem !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  opacity: .85;
  color: var(--p-red) !important;
}
.gncp-main .page-title h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  color: #fff !important;
}

.gncp-main .section { padding: 4rem 0 !important; }
.gncp-main .section.gray-bg, .gncp-main .gray-bg { background: var(--p-alt) !important; }

.gncp-main .service-item {
  background: var(--p-surface) !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 5px solid transparent !important;
  padding: 2rem !important;
  box-shadow: var(--p-shadow) !important;
  transition: transform .3s, box-shadow .3s, border-color .3s !important;
}
.gncp-main .service-item:hover {
  border-bottom-color: var(--p-red) !important;
  transform: translateY(-6px);
  box-shadow: var(--p-shadow-lg) !important;
}
.gncp-main .service-item .icon i { color: var(--p-red) !important; font-size: 2.5rem !important; }

.gncp-main .team-block, .gncp-main .about-block-item {
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: var(--p-surface);
  box-shadow: var(--p-shadow);
  transition: transform .3s;
}
.gncp-main .team-block:hover, .gncp-main .about-block-item:hover { transform: translateY(-6px); box-shadow: var(--p-shadow-lg); }
.gncp-main .team-block img, .gncp-main .about-block-item img {
  height: 200px; object-fit: cover; width: 100%;
}
.gncp-main .team-block .content { padding: 1rem 1.25rem; }
.gncp-main .team-block h4 a { color: var(--p-pink) !important; }

.gncp-main .contact-block {
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius-lg);
  padding: 2rem;
  box-shadow: var(--p-shadow);
  text-align: center;
}
.gncp-main .contact-block i { color: var(--p-red); font-size: 2.25rem; display: block; margin-bottom: .75rem; }

.gncp-main .title-color { color: var(--p-pink) !important; }
.gncp-main .divider { background: var(--p-red) !important; height: 4px !important; width: 48px !important; }

.gncp-main .btn-main,
.gncp-main .btn-main-2,
.gncp-main input.btn-main,
.gncp-main button.btn-main {
  background: var(--p-navy) !important;
  border-color: var(--p-navy) !important;
  color: #fff !important;
  border-radius: var(--p-radius) !important;
  font-weight: 600 !important;
  font-family: var(--p-font) !important;
  font-size: .9rem !important;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: .75rem 2rem !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.gncp-main .btn-main:hover,
.gncp-main .btn-main-2:hover,
.gncp-main input.btn-main:hover,
.gncp-main button.btn-main:hover {
  background: var(--p-red) !important;
  border-color: var(--p-red) !important;
  color: #fff !important;
}

[style*="margin-left:-"], [style*="margin-top:-"] { margin-left: 0 !important; margin-top: 0 !important; }

.gncp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--p-radius-lg);
}
.gncp-table-wrap .gncp-table { min-width: 520px; }

body.gncp-menu-open { overflow: hidden; position: fixed; width: 100%; }

.gncp-btn, .gncp-nav .nav-link, .gncp-nav .dropdown-item {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.gncp-form-success {
  position: fixed;
  top: calc(5.5rem + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10060;
  max-width: min(520px, 92vw);
  padding: .85rem 1.25rem;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
}

@media (min-width: 1200px) {
  .gncp-brand { max-width: 300px; }
  .gncp-nav .navbar-nav {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
  .gncp-nav .nav-link {
    font-size: .76rem;
    padding: .5rem .45rem !important;
  }
  .gncp-nav .nav-link.gncp-nav__admissions {
    margin-left: .35rem !important;
    padding: .5rem .75rem !important;
    font-size: .74rem !important;
  }
}

@media (min-width: 992px) {
  body { padding-bottom: calc(2.75rem + env(safe-area-inset-bottom, 0px)); }
  .gncp-contact-dock {
    left: auto;
    right: 1.15rem;
    transform: none;
    gap: .65rem;
    padding: .4rem .5rem;
  }
  .gncp-top {
    bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
    right: 1.15rem;
  }
}

/* ── Responsive ── */
@media (max-width: 1199px) {
  .gncp-topbar__actions { display: none; }
  .gncp-header:has(+ .gncp-hero-slider) { margin-bottom: 0; }
  .gncp-quicklinks { margin-top: 0; }
  .gncp-quicklinks__grid { grid-template-columns: 1fr; }
  .gncp-quicklink { border-right: none; border-bottom: 1px solid var(--p-border); }
  .gncp-split { grid-template-columns: 1fr; gap: 2rem; }
  .gncp-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .gncp-stat:nth-child(2) { border-right: none; }
  .gncp-stat:nth-child(1), .gncp-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .gncp-hero-slide { min-height: 460px; }
  .gncp-section { padding: 3.5rem 0; }
  .gncp-brand { padding: .45rem 0; max-width: calc(100% - 52px); }
  .gncp-brand__logo { height: 46px; }
  .gncp-brand__name { font-size: .92rem !important; }
  .gncp-brand__tag { font-size: .6rem; }
  .gncp-nav { padding: .35rem 0; }
  .gncp-nav .navbar-toggler { padding: .25rem .45rem; }
  .gncp-nav .navbar-toggler span { font-size: 1.2rem; }
  .dropdown-submenu > .dropdown-menu { left: 0; position: static; box-shadow: none; border-left: 2px solid var(--p-red); }
  .gncp-table__row { grid-template-columns: 1fr; gap: .25rem; }

  .gncp-nav .navbar-collapse {
    position: fixed;
    top: calc(.5rem + env(safe-area-inset-top, 0px));
    right: .5rem;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    width: min(240px, 72vw);
    max-height: calc(100dvh - 5.5rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    background: var(--p-surface);
    padding: .65rem .85rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -4px 0 24px rgba(26,39,107,.15);
    border-radius: 12px 0 0 12px;
    border: 1px solid var(--p-border);
    z-index: 10070;
    transform: translateX(calc(100% + 1rem));
    transition: transform .28s ease;
    display: block !important;
    visibility: hidden;
  }
  .gncp-nav .navbar-collapse.show,
  .gncp-nav .navbar-collapse.collapsing {
    transform: translateX(0);
    visibility: visible;
  }
  .gncp-nav .navbar-nav { align-items: stretch !important; }
  .gncp-nav .nav-link {
    padding: .48rem .6rem !important;
    font-size: .76rem !important;
    border-bottom: 1px solid var(--p-border);
    width: 100%;
    text-decoration: none !important;
    letter-spacing: .01em;
  }
  .gncp-nav .nav-link.gncp-nav__admissions {
    margin: .5rem 0 .25rem !important;
    padding: .55rem .65rem !important;
    justify-content: center;
    width: 100%;
    font-size: .74rem !important;
  }
  .gncp-nav .dropdown-menu {
    position: static !important;
    float: none;
    border: none;
    box-shadow: none;
    padding: 0 0 .25rem .5rem;
    margin: 0;
    background: var(--p-alt);
    min-width: 0;
  }
  .gncp-nav .dropdown-item {
    font-size: .72rem !important;
    padding: .38rem .65rem !important;
    border-bottom: none;
    text-transform: none;
  }
  .gncp-nav .dropdown-toggle::after {
    margin-left: auto;
  }

  .gncp-nav-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(16,26,74,.45);
    z-index: 10065;
  }
  .gncp-nav-backdrop.is-active { display: block; }

  body.gncp-menu-open .gncp-header {
    z-index: 10080;
  }
  body.gncp-menu-open .gncp-topbar,
  body.gncp-menu-open .gncp-announce {
    z-index: 1;
  }
  body.gncp-menu-open .gncp-contact-dock,
  body.gncp-menu-open .gncp-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .gncp-parallax-band { background-attachment: scroll; min-height: 280px; }
  .gncp-gallery { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .gncp-hero-slider .slick-dots { right: 1rem; bottom: 1rem; }
}

@media (max-width: 768px) {
  .gncp-main .page-title, .gncp-main .gnc-page-banner {
    background-attachment: scroll !important;
    padding: 3.5rem 0 !important;
  }
  .gncp-hero { min-height: 420px; }
  .gncp-hero__inner { padding: 3.5rem 0; }
  .gncp-hero__inner h1 { font-size: 1.85rem; }
  .gncp-hero__actions { flex-direction: column; }
  .gncp-hero__actions .gncp-btn { width: 100%; justify-content: center; }
  .gncp-parallax-band { min-height: 260px; background-attachment: scroll; }
  .gncp-parallax-band__content { padding: 3rem 1rem; }
}

@media (max-width: 576px) {
  body { font-size: 15px !important; }
  .container { padding-left: 1rem; padding-right: 1rem; }
  .gncp-stats__grid { grid-template-columns: 1fr 1fr; }
  .gncp-stat { padding: 1.25rem .75rem; border-right: none !important; }
  .gncp-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12) !important; }
  .gncp-stat:nth-child(1), .gncp-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .gncp-quote { flex-direction: column; text-align: center; align-items: center; }
  .gncp-topbar { font-size: .75rem; }
  .gncp-topbar__items li:nth-child(2) { display: none; }
  .gncp-topbar .text-lg-right { text-align: left !important; }
  .gncp-contact-dock { gap: .6rem; padding: .4rem .45rem; }
  .gncp-contact-dock__btn { min-height: 40px; padding: .4rem .85rem .4rem .45rem; font-size: .76rem; }
  .gncp-contact-dock__icon { width: 32px; height: 32px; font-size: 1.15rem; }
  .gncp-top { width: 34px; height: 34px; font-size: .95rem; right: .75rem; }
  .gncp-brand { max-width: calc(100% - 50px); }
  .gncp-brand__logo { height: 40px; }
  .gncp-brand__name { font-size: .82rem !important; }
  .gncp-brand__tag { font-size: .55rem; }
  .gncp-nav .navbar-collapse {
    width: min(220px, 68vw);
    right: .35rem;
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    padding: .55rem .7rem .85rem;
  }
  .gncp-nav .nav-link {
    padding: .42rem .5rem !important;
    font-size: .72rem !important;
  }
  .gncp-gallery { grid-template-columns: 1fr 1fr; }
  .gncp-popup__box { max-width: 92vw; }
  .gncp-form { padding: 1.5rem; }
  .gncp-form .gncp-btn { width: 100%; justify-content: center; }
  .gncp-footer .row > div { text-align: center; }
  .gncp-footer h4::after { left: 50%; transform: translateX(-50%); }
  .gncp-footer__contact { justify-content: center; }
  .gncp-hotline { width: 100%; justify-content: center; font-size: 1rem; }
  .gncp-map iframe { height: 280px; min-height: 240px; }
  .gncp-section { padding: 2.75rem 0; }
  .gncp-head { margin-bottom: 2rem; }
  .gncp-title { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gncp-reveal { opacity: 1; transform: none; transition: none; }
  .gncp-hero__parallax, .gncp-parallax-float { transform: none !important; }
  .gncp-parallax-band { background-attachment: scroll; }
  .gncp-ticker__inner, .gncp-announce__track { animation: none; }
  html { scroll-behavior: auto; }
}