/* ==========================================================================
   Noor Institute of Nursing & Allied Health Sciences — site stylesheet
   ========================================================================== */

:root {
  --ink: #0d2744;          /* headings */
  --text: #46586d;         /* body copy */
  --muted: #6c7d90;
  --brand: #1c7ed6;        /* logo blue */
  --brand-600: #1565b5;
  --brand-50: #eaf3fc;
  --accent: #7ac231;       /* logo green */
  --accent-700: #4b8a12;   /* green for text on light bg */
  --accent-50: #eff8e5;
  --navy: #0a2240;
  --navy-2: #0f2f55;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --line: #e2e9f1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 39, 68, .06), 0 2px 8px rgba(13, 39, 68, .05);
  --shadow: 0 10px 30px -12px rgba(13, 39, 68, .18), 0 2px 6px rgba(13, 39, 68, .05);
  --shadow-lg: 0 30px 60px -20px rgba(13, 39, 68, .28);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(28, 126, 214, .45); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.lead { font-size: 18px; color: var(--text); }
.text-accent { color: var(--accent-700); }
.text-brand { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn i { font-size: 14px; transition: transform .2s; }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(28, 126, 214, .7); }
.btn--primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #0b2a07; box-shadow: 0 8px 20px -8px rgba(122, 194, 49, .8); }
.btn--accent:hover { background: #6cb023; color: #0b2a07; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn[disabled], .btn.is-disabled { background: var(--bg-soft); color: var(--muted); border-color: var(--line); box-shadow: none; cursor: not-allowed; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.link-arrow i { transition: transform .2s; font-size: 13px; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.topbar__list li { display: flex; align-items: center; gap: 8px; }
.topbar__list i { color: var(--accent); font-size: 13px; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile drawer and clip it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
body.nav-open .site-header { z-index: 160; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -12px rgba(13, 39, 68, .25); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 60px; width: auto; mix-blend-mode: multiply; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-link i { font-size: 11px; transition: transform .25s var(--ease); opacity: .7; }
.nav-link:hover, .has-dropdown:hover > .nav-link { background: var(--brand-50); color: var(--brand); }
.nav-link.is-active { color: var(--brand); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 3px;
  margin-left: -9px; border-radius: 3px; background: var(--accent);
}

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 290px;
  padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.dropdown a, .dropdown .dropdown-label {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink);
}
.dropdown a:hover, .dropdown a.is-active { background: var(--brand-50); color: var(--brand); }
.dropdown .has-sub { position: relative; }
.dropdown .has-sub > a i { font-size: 11px; opacity: .6; }
.dropdown--sub { top: -9px; left: calc(100% + 8px); }
.dropdown--sub::before { left: -12px; top: 0; bottom: 0; width: 12px; height: auto; right: auto; }

@media (min-width: 992px) {
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown,
  .has-dropdown.is-open > .dropdown,
  .has-sub:hover > .dropdown,
  .has-sub:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
  .has-dropdown:hover > .nav-link i, .has-dropdown.is-open > .nav-link i { transform: rotate(180deg); }
  .nav-drawer-head, .nav-drawer-foot { display: none; }
}

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 20px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-overlay { position: fixed; inset: 0; background: rgba(10, 34, 64, .5); z-index: 140; opacity: 0; visibility: hidden; transition: .3s; }

/* Mobile drawer */
@media (max-width: 991.98px) {
  :root { --header-h: 72px; }
  .brand img { height: 50px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
    width: min(360px, 88vw); background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    transform: translateX(100%); transition: transform .35s var(--ease);
    overflow-y: auto; box-shadow: var(--shadow-lg);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { transform: none; }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
  .nav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .nav-drawer-head img { height: 44px; width: auto; }
  .nav-close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 18px; color: var(--ink); cursor: pointer; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; }
  .nav-link { width: 100%; justify-content: space-between; border-radius: 10px; padding: 14px 14px; font-size: 16px; }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { background: var(--brand-50); }
  .dropdown, .dropdown--sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; min-width: 0;
    padding: 0 0 0 14px; margin-left: 14px; border-left: 2px solid var(--line);
    display: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.is-open > .dropdown, .has-sub.is-open > .dropdown { display: block; }
  .has-dropdown.is-open > .nav-link i { transform: rotate(180deg); }
  .has-sub > a i { transform: rotate(90deg); }
  .has-sub.is-open > a i { transform: rotate(-90deg); }
  .nav-cta { display: none; }
  .nav-drawer-foot { padding: 20px; margin-top: auto; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14px; }
  .nav-drawer-foot .btn { width: 100%; }
  .nav-drawer-foot a:not(.btn) { color: var(--text); display: flex; gap: 10px; align-items: center; }
  .nav-drawer-foot i { color: var(--brand); width: 16px; }
}
@media (max-width: 767.98px) {
  .topbar__list li.hide-sm { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__aside { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(122, 194, 49, .16), transparent 32%),
    radial-gradient(circle at 0% 0%, rgba(28, 126, 214, .12), transparent 40%),
    linear-gradient(180deg, #f6fafe 0%, #eaf3fc 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(28, 126, 214, .14) 1px, transparent 1.2px) 0 0 / 24px 24px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding-top: 64px; padding-bottom: 148px;
}
.hero__content { max-width: 600px; }
.hero__visual { position: relative; }
.hero__visual > img {
  width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: 74% 20%;
  border-radius: 32px; box-shadow: var(--shadow-lg); border: 8px solid #fff;
}
.hero__chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow-lg);
  font-size: 13px; color: var(--muted); line-height: 1.3;
}
.hero__chip strong { display: block; color: var(--ink); font-size: 15px; }
.hero__chip-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: #fff; background: var(--accent); }
.hero__chip--a { left: -36px; top: 18%; }
.hero__chip--b { right: -24px; bottom: 16%; }
.hero__chip--b .hero__chip-icon { background: var(--brand); }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.pill b { background: var(--accent-50); color: var(--accent-700); padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em;
  background: var(--accent); opacity: .35; border-radius: 4px; z-index: -1;
}
.hero p.lead { max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks i { color: var(--accent-700); }

@media (max-width: 1199.98px) {
  .hero__chip--a { left: -12px; }
  .hero__chip--b { right: -8px; }
}
@media (max-width: 991.98px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; padding-bottom: 124px; }
  .hero__visual { max-width: 560px; }
  .hero__visual > img { aspect-ratio: 4 / 3; }
  .hero__chip--a { left: 12px; top: 16px; }
  .hero__chip--b { right: 12px; bottom: 16px; }
}
@media (max-width: 479.98px) {
  .hero__chip--a { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- Stats ---------- */
.stats-wrap { position: relative; z-index: 2; margin-top: -84px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.stat { display: flex; align-items: center; gap: 16px; padding: 28px 26px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); font-size: 22px;
}
.stat:nth-child(even) .stat__icon { background: var(--accent-50); color: var(--accent-700); }
.stat__num { font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.stat__label { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.3; }
@media (max-width: 991.98px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 479.98px) {
  .stat { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 18px; }
  .stat__num { font-size: 28px; }
}

/* ---------- Welcome / about split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.4vw, 42px); }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; object-fit: cover; }
.split__media::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; border-radius: 24px; z-index: -1;
  background: radial-gradient(var(--accent) 1.5px, transparent 1.6px) 0 0 / 18px 18px; opacity: .45;
}
.float-badge {
  position: absolute; left: -28px; bottom: 36px; display: flex; align-items: center; gap: 14px;
  background: #fff; padding: 16px 22px 16px 16px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.float-badge__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 20px; }
.float-badge strong { display: block; font-size: 22px; color: var(--ink); line-height: 1.1; }
.float-badge span { font-size: 13px; color: var(--muted); }
.signature { display: flex; align-items: center; gap: 14px; margin: 28px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.signature strong { display: block; color: var(--ink); font-size: 17px; }
.signature span { font-size: 14px; color: var(--muted); }
.inline-links { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 991.98px) {
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split__media { max-width: 560px; }
  .float-badge { left: 16px; bottom: 16px; }
}

/* ---------- Programs ---------- */
.program-group + .program-group { margin-top: 56px; }
.group-title { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.group-title h3 { font-size: 20px; margin: 0; }
.group-title .tag { font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand); }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991.98px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .card-grid { grid-template-columns: 1fr; } }

.program-card {
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.program-card__icon {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-size: 24px; color: var(--brand); background: var(--brand-50); transition: background .25s, color .25s;
}
.program-card:hover .program-card__icon { background: var(--brand); color: #fff; }
.program-card--diploma .program-card__icon { background: var(--accent-50); color: var(--accent-700); }
.program-card--diploma:hover .program-card__icon { background: var(--accent); color: #fff; }
.program-card h4 { font-size: 17px; margin: 0 0 4px; }
.program-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.program-card__go { margin-left: auto; color: var(--brand); opacity: .4; transition: opacity .2s, transform .2s; }
.program-card:hover .program-card__go { opacity: 1; transform: translateX(3px); }
a.program-card::after { content: ""; position: absolute; inset: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991.98px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .team-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }
.team-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card__body { padding: 20px 22px 24px; text-align: center; }
.team-card__body h4 { font-size: 18px; margin-bottom: 4px; }
.team-card__body span { font-size: 14px; color: var(--accent-700); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #134a83 100%);
  color: rgba(255, 255, 255, .8);
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 60px solid rgba(122, 194, 49, .14);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.cta p { margin: 0; font-size: 17px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 991.98px) { .cta { grid-template-columns: 1fr; padding: 44px 28px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .68); font-size: 15px; margin-top: 96px; }
.site-footer.no-gap { margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 20px; }
.footer-logo img { height: 56px; width: auto; }
.site-footer h5 { color: #fff; font-size: 16px; margin-bottom: 20px; letter-spacing: 0; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: rgba(255, 255, 255, .68); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: #fff; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .7; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact i { color: var(--accent); margin-top: 5px; width: 16px; text-align: center; }
.footer-contact a { color: rgba(255, 255, 255, .85); }
.footer-contact a:hover { color: #fff; }
.footer-hours { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.footer-hours strong { color: #fff; display: block; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 14px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom a { color: #fff; }
@media (max-width: 991.98px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 575.98px) { .footer-main { grid-template-columns: 1fr; padding-top: 64px; gap: 32px; } }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; background: var(--brand-600); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .75);
  background:
    radial-gradient(circle at 88% 10%, rgba(122, 194, 49, .22), transparent 38%),
    radial-gradient(circle at 5% 100%, rgba(28, 126, 214, .5), transparent 45%),
    var(--navy);
  padding: 72px 0 76px;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px) 0 0 / 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); margin: 0 0 14px; }
.breadcrumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
.breadcrumbs a { color: rgba(255, 255, 255, .75); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "\f054"; font: var(--fa-font-solid); font-size: 9px; opacity: .5; }
.breadcrumbs li:last-child { color: var(--accent); }

/* ---------- Message (chairman / principal) ---------- */
.profile-layout { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.profile-card { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 14px; box-shadow: var(--shadow); }
.profile-card img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 16px; }
.profile-card__body { padding: 20px 10px 10px; text-align: center; }
.profile-card__body h3 { font-size: 22px; margin-bottom: 6px; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; background: var(--accent-50); color: var(--accent-700); }
.prose { font-size: 17px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose p { margin-bottom: 1.2em; }
.quote-mark { font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 12px; display: block; }
.prose .first { font-size: 19px; color: var(--ink); font-weight: 500; }
.sign-off { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.sign-off strong { display: block; color: var(--ink); font-size: 18px; }
.sign-off span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 991.98px) {
  .profile-layout { grid-template-columns: 1fr; gap: 40px; }
  .profile-card { position: static; max-width: 380px; }
}

/* ---------- Vision / Mission ---------- */
.statement {
  position: relative; max-width: 920px; margin: 0 auto; text-align: center;
  padding: 64px 56px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.statement__icon { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 24px; display: grid; place-items: center; font-size: 28px; color: #fff; background: var(--brand); box-shadow: 0 12px 24px -10px rgba(28, 126, 214, .8); }
.statement p { font-size: clamp(18px, 2vw, 22px); line-height: 1.65; color: var(--ink); font-weight: 500; margin: 0; }
@media (max-width: 575.98px) { .statement { padding: 44px 24px; } }
.commit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 48px 0; }
@media (max-width: 767.98px) { .commit-grid { grid-template-columns: 1fr; } }
.commit { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.commit__num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--brand); background: var(--brand-50); }
.commit p { margin: 0; color: var(--ink); font-weight: 500; }
.callout {
  display: flex; gap: 18px; align-items: flex-start; padding: 28px 32px; border-radius: var(--radius);
  background: var(--accent-50); border: 1px solid #d9eec3; color: var(--ink); font-size: 17px;
}
.callout i { color: var(--accent-700); font-size: 22px; margin-top: 4px; }
.callout p:last-child { margin: 0; }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 920px; margin: 40px auto 0; }
@media (max-width: 575.98px) { .related { grid-template-columns: 1fr; } }

/* ---------- Downloads ---------- */
.download-list { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.download {
  display: flex; align-items: center; gap: 20px; padding: 22px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s var(--ease);
}
.download:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.download__icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: #fdecec; color: #d64545; }
.download__body { flex: 1; min-width: 0; }
.download__body h3 { font-size: 18px; margin: 0 0 4px; }
.download__body p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 575.98px) {
  .download { flex-wrap: wrap; }
  .download .btn { width: 100%; }
}

/* ---------- Events ---------- */
.event-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.05); }
.date-badge {
  position: absolute; top: 16px; left: 16px; background: #fff; border-radius: 12px; padding: 8px 12px;
  text-align: center; line-height: 1; box-shadow: var(--shadow-sm); min-width: 58px;
}
.date-badge strong { display: block; font-size: 22px; color: var(--ink); }
.date-badge span { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.event-card__body { padding: 22px 24px 26px; }
.event-card__meta { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent-700); margin-bottom: 8px; }
.event-card__body h3 { font-size: 19px; }
.event-card__body p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item::after {
  content: "\f00e"; font: var(--fa-font-solid); position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 22px; color: #fff; background: rgba(10, 34, 64, .45); opacity: 0; transition: opacity .3s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 18, 34, .92); display: none; align-items: center; justify-content: center; padding: 60px 72px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 600; }
@media (max-width: 575.98px) { .lightbox { padding: 72px 12px; } .lightbox__prev, .lightbox__next { top: auto !important; bottom: 14px; transform: none !important; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: stretch; }
@media (max-width: 991.98px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 16px; align-content: start; }
.contact-card { display: flex; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: var(--brand); background: var(--brand-50); }
.contact-card:nth-child(even) .contact-card__icon { color: var(--accent-700); background: var(--accent-50); }
.contact-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; font-weight: 700; }
.contact-card p, .contact-card a { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.contact-card > div { min-width: 0; }
.contact-card a:hover { color: var(--brand); }
.map-card { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; display: flex; flex-direction: column; }
#map { flex: 1; min-height: 440px; z-index: 0; }
.map-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 14.5px; }

/* ---------- Program detail (BS Nursing) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -48px; position: relative; z-index: 2; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.fact i { color: var(--brand); font-size: 20px; margin-bottom: 12px; display: block; }
.fact strong { display: block; font-size: 24px; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.fact span { font-size: 14px; color: var(--muted); }
@media (max-width: 767.98px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.semester-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 991.98px) { .semester-grid { grid-template-columns: 1fr; } }
.semester { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.semester__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.semester__head h3 { font-size: 18px; margin: 0; }
.semester__head span { font-size: 13px; font-weight: 700; color: var(--brand); }
.table-scroll { overflow-x: auto; }
.course-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.course-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 12px 22px; }
.course-table td { padding: 13px 22px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.course-table tr:hover td { background: #fafcfe; }
.course-table code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; padding: 3px 8px; border-radius: 6px; background: var(--brand-50); color: var(--brand-600); white-space: nowrap; }
.course-table td:last-child, .course-table th:last-child { text-align: right; white-space: nowrap; }
.course-table td:first-child { color: var(--muted); width: 40px; }
@media (max-width: 575.98px) {
  .course-table { font-size: 14px; }
  .course-table th, .course-table td { padding: 11px 10px; }
  .course-table th:first-child, .course-table td:first-child { display: none; }
  .course-table th:nth-child(2), .course-table td:nth-child(2) { padding-left: 16px; }
  .course-table th:last-child, .course-table td:last-child { padding-right: 16px; }
  .semester__head { padding: 16px; }
}
.eligibility { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 48px; padding: 32px; border-radius: 20px; background: var(--accent-50); border: 1px solid #d9eec3; }
.eligibility__icon { width: 60px; height: 60px; border-radius: 16px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 24px; }
.eligibility h3 { margin: 0 0 4px; font-size: 20px; }
.eligibility p { margin: 0; color: var(--ink); }
@media (max-width: 767.98px) { .eligibility { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 767.98px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .site-footer { margin-top: 72px; }
}
