:root {
  --navy: #0A3D66;
  --blue: #155FA0;
  --blue-mid: #2E7FC7;
  --sky: #EAF3FC;
  --white: #FFFFFF;
  --ink: #132430;
  --ink-soft: #516779;
  --line: #D9E6F2;
  --max: 1180px;
}

/* ---------- Global ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Top Strip ---------- */

.topstrip {
  background: var(--navy);
  color: #D9E9FA;
  font-size: 0.92rem;
}

.topstrip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 6px;
}

.topstrip .leaders {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.topstrip .leaders span b {
  color: #fff;
  font-weight: 600;
}

.topstrip .social a {
  margin-left: 12px;
  opacity: 0.85;
}

.topstrip .social a:hover {
  opacity: 1;
}

/* ---------- Header ---------- */

header.site {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow 0.25s ease;
}

header.site.is-scrolled {
  box-shadow: 0 8px 24px rgba(10, 61, 102, 0.12);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 15px 0;
  gap: 24px;
  flex-wrap: wrap;
  row-gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  flex-shrink: 1;
  order: 1;
  max-width: 100%;
}

.emblem {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 0 3px 10px rgba(10, 61, 102, 0.12);
}

.emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  min-width: 0;
  flex-shrink: 1;
}

.brand-text .dept-line {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text h1 {
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.taraqqi-mark {
  width: 140px;
  height: 140px;
  margin-left: -6px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid #d5b05a;
  background: #fff;
  box-shadow: 0 3px 10px rgba(10, 61, 102, 0.12);
  order: 2;
  position: relative;
  z-index: 1;
}

.taraqqi-mark img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home opportunities and updates rail ---------- */

.home-updates { padding: 48px 0; background: #f3f8fd; }
.home-updates-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.opportunities-panel, .updates-rail { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 26px rgba(10, 61, 102, .07); }
.panel-heading { padding: 20px 22px 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.panel-heading .tag { display: block; margin-bottom: 5px; }
.panel-heading h3 { font-size: 1.25rem; color: var(--navy); }
.text-link { color: var(--blue); font-weight: 700; white-space: nowrap; }
.opportunity-list { padding: 4px 0 12px; }
.opportunity-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 17px 22px; border-bottom: 1px solid var(--line); transition: background 0.2s ease; }
.opportunity-item:last-child { border-bottom: 0; }
.opportunity-item:hover { background: #f3f8fd; }
.opportunity-item .opp-arrow { color: var(--blue); font-weight: 700; font-size: 1.1rem; transition: transform 0.2s ease; }
.opportunity-item:hover .opp-arrow { transform: translateX(3px); }
.opportunity-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #eaf3fc; font-size: 1.15rem; }
.opportunity-type, .update-label { color: var(--blue); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.opportunity-item h4, .update-item h4 { color: var(--navy); font-family: "Source Sans 3", sans-serif; font-size: 1rem; margin: 2px 0 1px; }
.opportunity-item p, .update-item p { margin: 0; color: var(--ink-soft); font-size: .86rem; }
.mini-apply { background: var(--navy); color: #fff; padding: 7px 12px; border-radius: 5px; font-size: .82rem; font-weight: 700; }
.featured-updates { max-width: 860px; margin: 0 auto; width: 100%; }
.updates-scroll { max-height: 290px; overflow-y: auto; padding: 4px 18px 10px 22px; scrollbar-color: var(--blue-mid) #edf4fa; scrollbar-width: thin; }
.update-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.update-item:last-child { border-bottom: 0; }
.update-date { height: 44px; display: flex; flex-direction: column; justify-content: center; text-align: center; border-radius: 8px; color: var(--navy); background: #eaf3fc; font-size: .65rem; font-weight: 700; line-height: 1.1; }
.update-date b { font-size: 1.15rem; }
.update-label.notice { color: #95711e; }

/* ---------- Admin dashboard ---------- */
.admin-page { background: #f3f8fd; }
.admin-top { background: var(--navy); color: #fff; padding: 30px 0; }
.admin-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.admin-top h2 { color: #fff; font-size: 1.8rem; }
.admin-top p { margin: 4px 0 0; color: #d9e9fa; }
.admin-logo { width: 66px; height: 66px; border-radius: 50%; overflow: hidden; border: 2px solid #d5b05a; background:#fff; flex: 0 0 auto; }
.admin-logo img { width: 100%; height: 100%; object-fit: cover; }
.admin-content { padding: 42px 0 64px; }
.admin-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 24px; }
.admin-stat { padding: 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.admin-stat span { display: block; font-size: .82rem; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.admin-stat b { display: block; color: var(--navy); font-family: "Fraunces", serif; font-size: 2rem; margin-top: 3px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 26px rgba(10, 61, 102, .07); }
.admin-card-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.admin-card-head h3 { color: var(--navy); font-size: 1.25rem; }
.admin-card-head p { color: var(--ink-soft); margin: 2px 0 0; font-size: .88rem; }
.admin-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.admin-button { appearance: none; border: 1px solid var(--blue); background: #fff; border-radius: 5px; color: var(--blue); cursor: pointer; font-family: inherit; font-size: .84rem; font-weight: 700; padding: 8px 12px; }
.admin-button.primary { background: var(--blue); color: #fff; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 750px; }
.admin-table th, .admin-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { background: #f6faff; color: var(--ink-soft); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.admin-table td { font-size: .9rem; }
.admin-table tr:last-child td { border-bottom: none; }
.record-badge { display:inline-block; background:#eaf3fc; color:var(--blue); border-radius:99px; padding:3px 8px; font-weight:700; font-size:.75rem; }
.record-badge.employer { background:#edf7ef; color:#267343; }
.empty-records { padding: 48px 24px; text-align: center; color: var(--ink-soft); }
.admin-note { font-size: .85rem; color: var(--ink-soft); margin: 16px 2px 0; }

/* ---------- Marquee ---------- */

/* Top-of-page announcement bar — sits above everything, full width */
.top-announcement-bar {
  background: #0a3d66;
  overflow: hidden;
  border-bottom: 2px solid #fbbf24;
  padding: 9px 0;
}

.top-announcement-track {
  display: inline-block;
  white-space: nowrap;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  animation: top-announcement-scroll 32s linear infinite;
}

.top-announcement-track .marquee-highlight {
  display: inline-block;
  background: #fef08a;
  color: #7c2d12;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
}

@keyframes top-announcement-scroll {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.marquee-wrap {
  flex: 1;
  min-width: 220px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 0 22px;
  order: 2;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  animation: marquee-scroll 34s linear infinite;
}

.marquee-track .marquee-highlight {
  display: inline-block;
  background: #fef08a;
  color: #7c2d12;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ---------- Leaders ---------- */

.leaders-strip {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  order: 3;
  flex-wrap: wrap;
}

.leader {
  display: flex;
  align-items: center;
  gap: 9px;
}

.leader-photo {
  width: 62px;
  height: 62px;
  border-radius: 60%;
  flex-shrink: 0;
  border: 3px solid var(--blue);
  background: var(--sky);
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(10,61,102,0.18);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leader b {
  display: block;
  font-size: 0.98rem;
  white-space: nowrap;
}

.leader span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  max-width: 210px;
  white-space: normal;
  line-height: 1.3;
}

/* ---------- Navy Navigation ---------- */

.navybar {
  background: var(--navy);
  position: relative;
}

.navybar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navlinks {
  display: flex;
}

.navlinks a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #EAF3FC;
  font-weight: 600;
  font-size: 0.87rem;
  padding: 15px 16px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.navlinks a:hover {
  border-bottom-color: var(--blue-mid);
  background: rgba(255, 255, 255, 0.06);
}

.navlinks svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ---------- Dropdown ---------- */

.navlinks li.has-dropdown {
  position: relative;
}

.navlink-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: #EAF3FC;
  font-weight: 600;
  font-size: 0.87rem;
  padding: 15px 16px;
  white-space: nowrap;
}

.navlink-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.navlink-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.caret-mini {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}

.has-dropdown.open .caret-mini {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(8, 40, 70, 0.16);
  display: none;
  flex-direction: column;
  z-index: 80;
}

.dropdown-menu.open {
  display: flex;
}

.dropdown-menu a {
  padding: 14px 18px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--sky);
  color: var(--blue);
}

/* ---------- Login Dropdown ---------- */

.login-dropdown {
  position: relative;
  flex-shrink: 0;
}

.login-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-mid);
  color: #fff;
  border: none;
  padding: 15px 20px;
  font-weight: 600;
  font-size: 0.87rem;
  cursor: pointer;
  height: 100%;
}

.login-trigger svg {
  width: 16px;
  height: 16px;
}

.login-trigger .caret {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.login-trigger.open .caret {
  transform: rotate(180deg);
}

.login-menu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: none;
  box-shadow: 0 14px 28px rgba(8, 40, 70, 0.16);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 80;
}

.login-menu.open {
  display: flex;
}

.login-menu a {
  padding: 13px 18px;
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.login-menu a:last-child {
  border-bottom: none;
}

.login-menu a:hover {
  background: var(--sky);
  color: var(--blue);
}

/* ---------- Mobile Navigation ---------- */

.navtoggle-mobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 14px 18px;
}

.navtoggle-mobile svg {
  width: 22px;
  height: 22px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(135deg, #082F52 0%, #0A3D66 55%, #0E4A7D 100%);
  color: #EAF3FC;
  overflow: hidden;
}

/* Ambient animated glow field — pure CSS, no dependency */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 480px;
  height: 480px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(212,175,55,0.28) 0%, rgba(212,175,55,0) 70%);
  animation: heroDrift1 16s ease-in-out infinite;
}
.hero::after {
  width: 420px;
  height: 420px;
  bottom: -180px;
  left: -100px;
  background: radial-gradient(circle, rgba(46,127,199,0.35) 0%, rgba(46,127,199,0) 70%);
  animation: heroDrift2 20s ease-in-out infinite;
}
@keyframes heroDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.12); }
}
@keyframes heroDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.08); }
}
.hero .wrap { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hero-copy .eyebrow,
.hero-copy h2,
.hero-copy p,
.hero-copy .hero-cta,
.hero-visual {
  animation: heroRise 0.85s cubic-bezier(.2,.7,.2,1) both;
}
.hero-copy .eyebrow { animation-delay: .05s; }
.hero-copy h2       { animation-delay: .15s; }
.hero-copy p         { animation-delay: .3s; }
.hero-copy .hero-cta { animation-delay: .45s; }
.hero-visual         { animation-delay: .25s; }

.hero-copy .accent-word {
  position: relative;
  white-space: nowrap;
}
.hero-copy .accent-word::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: 2px;
  height: 0.34em;
  background: linear-gradient(90deg, #D4AF37, #f0d27a);
  z-index: -1;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: accentSwipe 0.6s ease 0.75s forwards;
}
@keyframes accentSwipe {
  to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy .accent-word::after { animation: none; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow, .hero-copy h2, .hero-copy p, .hero-copy .hero-cta, .hero-visual {
    animation: none;
  }
}

.hero .wrap {
  display: grid;
  grid-template-columns: 0.92fr 1.18fr;
  align-items: center;
  gap: 52px;
  padding-top: 76px;
  padding-bottom: 44px;
}

.hero-copy {
  max-width: 640px;
}

.hero-copy .eyebrow {
  color: #8FC4F2;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.hero-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  max-width: 14ch;
  color: #fff;
}

.hero-copy p {
  max-width: 46ch;
  margin-top: 20px;
  color: #CFE3F5;
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual img {
  display: block;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 560px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 64px rgba(4, 20, 36, 0.5);
  border: 5px solid rgba(255, 255, 255, 0.16);
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-slideshow img.active {
  opacity: 1;
}

.hero-visual .ribbon-badge {
  position: absolute;
  top: 18px;
  right: 2px;
  background: #D4AF37;
  color: #132430;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.hero-visual .floating-badge {
  position: absolute;
  bottom: -22px;
  left: -16px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 14px 34px rgba(4, 20, 36, 0.28);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  min-width: 254px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-visual .floating-badge.fb-fade {
  opacity: 0;
  transform: translateY(6px);
}

.hero-visual .floating-badge .fb-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-visual .floating-badge b {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.1;
}

.hero-visual .floating-badge span {
  font-size: 0.72rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .hero-slideshow { height: 460px; }
}

@media (max-width: 680px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .hero-visual { margin-top: 12px; }
  .hero-slideshow { height: 400px; }
}

@media (max-width: 600px) {
  .hero-slideshow { height: 300px; }
}

@media (max-width: 540px) {
  .hero-visual .floating-badge {
    position: static;
    margin-top: 18px;
    width: fit-content;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(120%);
  transition: transform 0.6s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: #fff;
  color: var(--navy);
}

.btn-outline {
  border: 1.5px solid #CFE3F5;
  color: #EAF3FC;
}

/* ---------- Hero Stats ---------- */

.hero-stats {
  background: var(--blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-stats .wave-divider {
  display: block;
  width: 100%;
  height: 34px;
  margin-top: -2px;
}

.hero-stats .wave-top {
  margin-top: 0;
  margin-bottom: -2px;
  position: relative;
  z-index: 0;
}

.hero-stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 10px;
  padding-bottom: 18px;
}

.hero-stats .stat {
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stats .stat:first-child {
  border-left: none;
}

.hero-stats .stat b {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
}

.hero-stats .stat span {
  font-size: 0.82rem;
  color: #D9E9FA;
}

/* ---------- CTA Band (bottom of home page) ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A3D66 0%, #082F52 100%);
  padding: 52px 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, rgba(212,175,55,0) 70%);
  pointer-events: none;
}

/* ---------- Sections ---------- */

section {
  padding: 80px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head .tag {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.section-head h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.band-alt {
  background: var(--sky);
}

/* ---------- Dashboard ---------- */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  align-items: start;
}

.dash-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 38px 34px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dash-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 2;
}

.dash-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(10, 61, 102, 0.18);
  border-color: transparent;
}

.dash-card:hover::before {
  transform: scaleX(1);
}

.dash-card .icon-badge {
  transition: transform 0.3s ease;
}

.dash-card:hover .icon-badge {
  transform: scale(1.08) rotate(-4deg);
}

.dash-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--sky);
  z-index: 0;
}

.dash-card > * {
  position: relative;
  z-index: 1;
}

.dash-card .icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.dash-card.employer .icon-badge {
  background: var(--blue);
}

.dash-card.events .icon-badge {
  background: var(--blue-mid);
}

.dash-card.infrastructure .icon-badge {
  background: var(--navy);
}

.dash-card.events .btn-solid {
  background: var(--blue-mid);
  color: #fff;
}

.dash-card.infrastructure .btn-solid {
  background: var(--navy);
  color: #fff;
}

.dash-card.team .icon-badge {
  background: var(--navy);
}

.dash-card.team .btn-solid {
  background: var(--blue);
  color: #fff;
}

.dash-card.counselling .icon-badge {
  background: var(--blue-mid);
}

.dash-card.counselling .btn-solid {
  background: var(--navy);
  color: #fff;
}

.dash-card h4 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.dash-card p.lead {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.dash-card ul {
  margin-bottom: 26px;
}

.dash-card li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.dash-card li .tick {
  color: var(--blue);
  font-weight: 700;
}

.dash-card .btn-solid {
  background: var(--navy);
  color: #fff;
}

.dash-card.employer .btn-solid {
  background: var(--blue);
  color: #fff;
}

/* ---------- Subtopics ---------- */

.dash-card .subtopics {
  margin-bottom: 24px;
}

.dash-card .subtopic {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.dash-card .subtopic:first-child {
  border-top: none;
  padding-top: 0;
}

.dash-card .subtopic h5 {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-card .subtopic p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.dash-card .subtopic a.sub-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
}

.dash-card .subtopic a.sub-link:hover {
  text-decoration: underline;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-grid p {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 1.02rem;
}

.about-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
}

.about-panel h4 {
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.about-panel li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.about-panel li:first-child {
  border-top: none;
  padding-top: 0;
}

.about-panel li .mark {
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Vision Mission ---------- */

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.vm-card {
  background: var(--sky);
  border-radius: 6px;
  padding: 28px 30px;
  border: 1px solid var(--line);
}

.vm-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.vm-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.about-goal {
  margin-top: 36px;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 30px 24px;
}

.about-goal .tag {
  color: #9FC6E8;
  margin-bottom: 10px;
}

.about-goal p {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 600;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ---------- Services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 26px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(10, 61, 102, 0.13);
}

.service-card .service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card.alt .service-icon {
  background: var(--blue);
}

.service-card.light .service-icon {
  background: var(--blue-mid);
}

.service-card .num {
  font-family: "Fraunces", serif;
  font-size: 0.85rem;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: block;
}

.service-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--navy);
  border-radius: 4px 0 0 4px;
}

.service-card.alt::before {
  background: var(--blue);
}

.service-card.light::before {
  background: var(--blue-mid);
}

/* ---------- Eligibility / Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.process .step {
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.process .step:first-child {
  border-left: none;
}

.process .step .k {
  font-family: "Fraunces", serif;
  color: var(--blue);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 10px;
}

.process .step h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process .step p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Testimonials ---------- */

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.test-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.test-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 18px;
  font-family: "Fraunces", serif;
  font-size: 3.4rem;
  color: var(--line);
  line-height: 1;
  pointer-events: none;
}

.test-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(10, 61, 102, 0.12);
}

.test-card p {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.98rem;
  position: relative;
}

.test-card .who {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(
    160deg,
    var(--blue-mid),
    var(--navy)
  );
  flex-shrink: 0;
}

.who b {
  display: block;
  font-size: 0.92rem;
}

.who span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

/* ---------- Batches ---------- */

.batch-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

.batch-table th,
.batch-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.batch-table th {
  background: var(--navy);
  color: #EAF3FC;
  font-weight: 600;
  font-family: "Fraunces", serif;
  font-size: 0.9rem;
}

.batch-table tr:last-child td {
  border-bottom: none;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.pill.open {
  background: #E1EFFB;
  color: var(--navy);
}

.pill.soon {
  background: #EAF3FC;
  color: var(--blue);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-info li:first-child {
  border-top: none;
}

.contact-info .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-weight: 700;
}

.contact-info b {
  display: block;
}

.contact-info span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Form ---------- */

form.enquiry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px;
}

form.enquiry label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 16px;
}

form.enquiry label:first-child {
  margin-top: 0;
}

form.enquiry input,
form.enquiry select,
form.enquiry textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #F7FAFD;
}

form.enquiry button {
  margin-top: 22px;
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
  padding: 14px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.98rem;
}

form.enquiry button:hover {
  background: var(--blue);
}

/* ---------- Footer ---------- */

footer {
  background: var(--ink);
  color: #B9C7D2;
}

footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 30px;
}

footer h5 {
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

footer p {
  font-size: 0.9rem;
  color: #93A6B4;
}

footer ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

footer ul li a:hover {
  color: #fff;
}

.foot-social a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #37505F;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 0.8rem;
}

.foot-bottom {
  border-top: 1px solid #263B47;
  padding: 18px 0;
  font-size: 0.82rem;
  color: #7690A0;
  text-align: center;
}

/* ---------- Responsive: 1320px ---------- */

@media (max-width: 1320px) {
  /* Keep the leadership row available on desktop/laptop widths. */
  .leaders-strip {
    gap: 12px;
  }

  .leader-photo {
    width: 54px;
    height: 54px;
  }

  .leader b {
    font-size: 0.86rem;
  }

  .leader span {
    font-size: 0.72rem;
  }
}

/* ---------- Responsive: 1180px ---------- */

@media (max-width: 1180px) {
  .brand-text h1 {
    font-size: 0.86rem;
  }

  .brand-text .dept-line {
    font-size: 0.62rem;
  }
}

/* ---------- Responsive: 920px ---------- */

@media (max-width: 920px) {
  /* Keep leadership photos and the notice ticker visible on tablets/phones. */
  .header-top {
    gap: 14px;
    row-gap: 10px;
  }

  .leaders-strip {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
    order: 3;
  }

  .leader {
    min-width: 0;
    gap: 7px;
  }

  .leader-photo {
    width: 52px;
    height: 52px;
  }

  .leader b {
    font-size: 0.84rem;
    line-height: 1.15;
    white-space: normal;
  }

  .leader span {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .marquee-wrap {
    display: block;
    flex-basis: 100%;
    order: 4;
    min-width: 0;
    padding: 7px 0;
    border-left: 0;
    border-right: 0;
  }

  .marquee-track {
    font-size: 0.78rem;
    animation-duration: 20s;
  }
  .hero-stats .wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .hero-stats .stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 14px;
  }

  .hero-stats .stat:first-child,
  .hero-stats .stat:nth-child(2) {
    border-top: none;
  }

  .about-grid,
  .contact-grid,
  .dashboard-grid,
  .vision-mission {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .process .step:nth-child(3) {
    border-left: none;
  }

  footer .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .marquee-wrap {
    display: block;
    flex-basis: 100%;
    order: 4;
    border-left: 0;
    border-right: 0;
    padding: 8px 0;
    min-width: 0;
  }
}

/* ---------- Responsive: 820px ---------- */

@media (max-width: 820px) {
  .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
    z-index: 70;
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks a {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navtoggle-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navlink-btn {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.06);
  }

  .dropdown-menu a {
    color: #EAF3FC;
    padding: 12px 24px 12px 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
}

/* ---------- Responsive: 680px ---------- */

@media (max-width: 680px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  section {
    padding: 55px 0;
  }

  .hero .wrap {
    padding-top: 55px;
    padding-bottom: 45px;
  }

  .brand-text h1 {
    font-size: 0.62rem;
  }

  .brand-text .dept-line {
    font-size: 0.5rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process .step {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .process .step:first-child {
    border-top: none;
  }

  .test-grid {
    grid-template-columns: 1fr;
  }

  footer .wrap {
    grid-template-columns: 1fr;
  }

  .topstrip .leaders {
    gap: 14px;
  }

  .login-trigger {
    padding: 15px 14px;
    font-size: 0;
  }

  .login-trigger svg {
    width: 18px;
    height: 18px;
  }

  .login-trigger .caret {
    display: none;
  }
}

/* ---------- Small Mobile ---------- */

@media (max-width: 480px) {
  .header-top {
    gap: 10px;
  }

  .emblem {
    width: 64px;
    height: 64px;
  }

  .hero-copy h2 {
    font-size: 2rem;
  }

  .hero-copy p {
    font-size: 0.95rem;
  }

  .hero-stats .wrap {
    grid-template-columns: 1fr;
  }

  .hero-stats .stat {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 0;
  }

  .hero-stats .stat:first-child {
    border-top: none;
  }

  .dash-card {
    padding: 28px 22px;
  }

  .about-panel {
    padding: 22px;
  }

  .service-card {
    padding: 25px 22px;
  }

  .test-card {
    padding: 22px;
  }

  form.enquiry {
    padding: 22px;
  }

  .batch-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
/* =========================================
   Career Counselling Centre Image
   ========================================= */

.career-counselling-image {
  max-width: 800px;
  margin: 0 auto 45px;
  text-align: center;
}

.career-counselling-image img {
  max-height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .home-updates-grid { grid-template-columns: 1fr; }
  .admin-summary { grid-template-columns: repeat(2, 1fr); }
  .admin-top .wrap { align-items: flex-start; }
  .taraqqi-mark { width: 96px; height: 96px; }
  .opportunity-list { padding-left: 16px; padding-right: 16px; }
  .panel-heading { padding-left: 16px; padding-right: 16px; }
  .career-counselling-image {
    max-width: 100%;
    margin-bottom: 32px;
  }

  .career-counselling-image img {
    max-height: 320px;
  }
}

@media (max-width: 460px) {
  .admin-summary { grid-template-columns: 1fr; }
  .opportunity-item { grid-template-columns: 38px minmax(0, 1fr); }
  .opportunity-item .opp-arrow { display: none; }
  .mini-apply { grid-column: 2; justify-self: start; }
}

/* =========================================
   Multi-Page Enhancements & Dedicated Components
   ========================================= */

/* Active navlink highlight */
.navlinks a.active,
.dropdown-menu a.active,
.login-menu a.active {
  border-bottom-color: #D4AF37 !important;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--sky);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.breadcrumbs .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--blue);
  font-weight: 500;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.breadcrumbs .sep {
  opacity: 0.5;
}

.breadcrumbs .current {
  font-weight: 600;
  color: var(--ink);
}

/* Dedicated Page Hero Banner */
.page-hero {
  background: linear-gradient(135deg, #0A3D66 0%, #155FA0 100%);
  color: #fff;
  padding: 44px 0 46px;
  border-bottom: 4px solid #D4AF37;
  position: relative;
}

.page-hero .eyebrow {
  color: #D4AF37;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.page-hero h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.page-hero p {
  font-size: 1.05rem;
  color: #EAF3FC;
  max-width: 820px;
  line-height: 1.65;
  margin: 0;
}

/* Two Column Layout for Dedicated Pages */
.layout-two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .layout-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Dedicated Form Styles & Feedback */
.form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  padding: 30px 28px;
  box-shadow: 0 4px 18px rgba(10, 61, 102, 0.07);
}

.form-card h4 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-card .form-subtitle {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group label .req {
  color: #D32F2F;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #BACEDF;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 95, 160, 0.15);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 580px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-success-banner {
  display: none;
  background: #E8F5E9;
  border: 1px solid #81C784;
  color: #1B5E20;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.94rem;
  line-height: 1.5;
}

.form-success-banner.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Feature & Benefit Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Feature Box */
.feature-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(10, 61, 102, 0.1);
  border-color: var(--blue-mid);
}

.feature-box .box-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-box h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* Program Badges & List Cards */
.program-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.program-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 16px rgba(10, 61, 102, 0.08);
}

.program-card h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.program-card .badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--blue);
  margin-bottom: 12px;
}

.program-card ul {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.program-card ul li {
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
}

/* Event Filter Tabs & Event Cards */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.tab-btn {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.tab-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 61, 102, 0.08);
  border-color: var(--blue-mid);
}

@media (max-width: 768px) {
  .event-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.event-date-box {
  background: var(--sky);
  border: 1px solid #C9DFFA;
  border-radius: 8px;
  text-align: center;
  padding: 10px 6px;
  color: var(--navy);
}

.event-date-box .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.event-date-box .month {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-top: 4px;
}

.event-details h4 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.event-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.event-desc {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

/* News clipping variant — shows the full clipping instead of cropping it */
.gallery-card.news-clip img {
  height: 340px;
  object-fit: contain;
  background: #f4f5f7;
  padding: 10px;
  box-sizing: border-box;
  cursor: zoom-in;
}

.news-source-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy, #1a3a6b);
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.gallery-card-body {
  padding: 16px 18px;
}

.gallery-card-body h5 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 4px;
}

.gallery-card-body p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1080px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 61, 102, 0.1);
  border-color: var(--blue-mid);
}

.team-card .team-img-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--blue);
  background: var(--sky);
}

.team-card .team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}

.team-card .team-spec {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 0;
}

/* Staff profile slider */
.staff-slider { position: relative; display: flex; align-items: center; gap: 16px; max-width: 940px; margin: 0 auto; }
.staff-slider-window { overflow: hidden; width: 100%; }
.staff-slider-track { display: flex; transition: transform .55s ease; }
.staff-slide { flex: 0 0 100%; min-height: 300px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.staff-slide img { width: 250px; height: 250px; object-fit: cover; object-position: top; border-radius: 10px; background: var(--sky); }
.staff-slide h4 { font-size: 1.55rem; color: var(--navy); margin-bottom: 8px; }
.staff-slide p { margin: 0; color: var(--blue); font-size: 1rem; font-weight: 700; }
.staff-slider-btn { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid var(--blue); border-radius: 50%; background: #fff; color: var(--blue); cursor: pointer; font-size: 1.25rem; font-weight: 700; transition: background .2s, color .2s; }
.staff-slider-btn:hover, .staff-slider-btn:focus-visible { background: var(--blue); color: #fff; outline: none; }

@media (max-width: 768px) {
  .staff-slider { gap: 8px; }
  .staff-slide { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; min-height: 200px; padding: 16px; }
  .staff-slide img { width: 150px; height: 170px; }
  .staff-slide h4 { font-size: 1.2rem; }
}

@media (max-width: 460px) {
  .staff-slider { gap: 5px; }
  .staff-slider-btn { width: 32px; height: 32px; flex-basis: 32px; font-size: 1rem; }
  .staff-slide { grid-template-columns: 1fr; justify-items: center; text-align: center; min-height: 0; }
  .staff-slide img { width: 132px; height: 150px; }
}

/* Campus Photo Carousel */
.photo-slider {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.photo-slider-window {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(10, 61, 102, 0.18);
}

.photo-slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.photo-slide {
  flex: 0 0 100%;
  position: relative;
  height: 460px;
  background: var(--sky);
}

.photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 34px 22px;
  background: linear-gradient(180deg, rgba(8, 20, 36, 0) 0%, rgba(8, 20, 36, 0.82) 88%);
  color: #fff;
}

.photo-slide-caption h4 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 6px;
}

.photo-slide-caption p {
  font-size: 0.92rem;
  color: #D9E9FA;
  max-width: 60ch;
  margin: 0;
}

.photo-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 3;
  transition: background 0.2s, color 0.2s;
}

.photo-slider-btn.prev { left: 16px; }
.photo-slider-btn.next { right: 16px; }

.photo-slider-btn:hover,
.photo-slider-btn:focus-visible {
  background: var(--navy);
  color: #fff;
  outline: none;
}

.photo-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.photo-slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.photo-slider-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .photo-slide { height: 320px; }
  .photo-slide-caption { padding: 18px 18px 14px; }
  .photo-slide-caption h4 { font-size: 1.1rem; }
  .photo-slide-caption p { font-size: 0.84rem; }
  .photo-slider-btn { width: 38px; height: 38px; font-size: 1.1rem; }
  .photo-slider-btn.prev { left: 8px; }
  .photo-slider-btn.next { right: 8px; }
}

@media (max-width: 460px) {
  .photo-slide { height: 240px; }
}

/* Opportunity Cards */
.opp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.opp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(10, 61, 102, 0.08);
}

.opp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.opp-header h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0;
}

.opp-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.opp-desc {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 12px;
}

/* District Centres Directory */
.district-search-wrap {
  margin-bottom: 24px;
}

.district-search-wrap input {
  width: 100%;
  max-width: 480px;
  padding: 12px 16px;
  border: 1px solid #BACEDF;
  border-radius: 24px;
  font-size: 0.94rem;
  background: #fff;
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-height: 480px;
  overflow-y: auto;
  padding: 4px;
}

@media (max-width: 840px) {
  .district-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .district-grid {
    grid-template-columns: 1fr;
  }
}

.district-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  transition: border-color 0.2s;
}

.district-card:hover {
  border-color: var(--blue);
}

.district-card h5 {
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 4px;
}

.district-card p {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.35;
}

/* Notice badge / callout */
.callout-box {
  background: #F4F8FC;
  border-left: 4px solid var(--blue);
  padding: 18px 22px;
  border-radius: 0 6px 6px 0;
  margin: 24px 0;
  font-size: 0.94rem;
  color: var(--ink);
}

/* ---- Upcoming event popup (home page) ---- */
.event-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 20, 34, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 24px;
}
.event-popup-overlay.open {
  display: flex;
}
.event-popup {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 70px rgba(6, 20, 34, 0.45);
  animation: eventPopupIn 0.25s ease;
}
@keyframes eventPopupIn {
  from { transform: translateY(14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.event-popup-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.event-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 20, 34, 0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.event-popup-close:hover {
  background: var(--navy);
}
.event-popup img {
  width: 100%;
  display: block;
  max-height: 72vh;
  object-fit: contain;
  background: #fff;
}
.event-popup-footer {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.event-popup-footer .event-popup-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.84rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.event-popup-footer .event-popup-btn:hover {
  transform: translateY(-1px);
}
.event-popup-footer .event-popup-btn.primary {
  background: var(--blue);
  color: #fff;
  border: 1.5px solid var(--blue);
}
.event-popup-footer .event-popup-btn.primary:hover {
  background: var(--navy);
  border-color: var(--navy);
}
.event-popup-footer .event-popup-btn.secondary {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.event-popup-footer .event-popup-btn.secondary:hover {
  background: var(--sky);
}
@media (max-width: 480px) {
  .event-popup {
    max-width: 100%;
  }
  .event-popup img {
    max-height: 62vh;
  }
}

/* ---------- Scroll Reveal ---------- */

.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.in-view {
  opacity: 1;
  transform: none;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.reveal-fade.in-view {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Instagram reel floating quick-access button (home page) */
.ig-float-btn {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  left: auto !important;
  top: auto !important;
  z-index: 2147483647 !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ig-float-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 26px rgba(220, 39, 67, 0.55);
}
@media (max-width: 640px) {
  .ig-float-btn span { display: none; }
  .ig-float-btn { padding: 12px; right: 16px; bottom: 16px; }
}

/* ---------- Global scroll-progress bar (injected via script.js) ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #D4AF37, #2E7FC7);
  z-index: 2000;
  transition: width 0.1s linear;
}

/* ---------- Featured Document card (home page) ---------- */
.featured-doc { padding: 8px 0 44px; background: #fff; }

.doc-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 61, 102, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(10, 61, 102, 0.14);
}

.doc-thumb {
  position: relative;
  min-height: 100%;
}

.doc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doc-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.doc-info {
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doc-info .tag {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.doc-info h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.doc-info p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-width: 620px;
}

.doc-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.doc-btn-outline {
  border-color: var(--blue) !important;
  color: var(--blue) !important;
}

@media (max-width: 720px) {
  .doc-card { grid-template-columns: 1fr; }
  .doc-thumb { height: 190px; }
  .doc-info { padding: 24px 22px; }
}
