:root {
  --royal-blue: #173f9a;
  --royal-blue-dark: #102d6d;
  --royal-blue-soft: #eaf1ff;
  --orange: #f57c00;
  --orange-deep: #d96400;
  --orange-soft: #fff1df;
  --text: #1e2b45;
  --muted: #5d6b88;
  --bg: #f8fbff;
  --white: #ffffff;
  --border: #d9e3f5;
  --shadow: 0 18px 50px rgba(19, 49, 110, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a { color: var(--royal-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 10px 14px; z-index: 9999; }
.skip-link:focus { left: 10px; }

.top-strip {
  background: var(--royal-blue-dark);
  color: var(--white);
  font-size: 14px;
}
.top-strip a { color: var(--white); }
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  align-items: center;
}
.contact-quick { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-badge {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(145deg, var(--orange), var(--royal-blue));
  box-shadow: var(--shadow);
}
.brand-text strong {
  display: block;
  font-size: 18px;
  line-height: 1.15;
}
.brand-text small { color: var(--muted); }

.menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
  font-weight: 600;
}
.menu a { color: var(--text); }
.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 22px;
}

.hero {
  background:
    radial-gradient(circle at 15% 10%, rgba(245,124,0,0.16), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(23,63,154,0.16), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #edf4ff 100%);
  padding: 78px 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}
.tag,
.section-label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-dark));
  box-shadow: 0 12px 26px rgba(23,63,154,0.25);
}
.btn-outline {
  background: transparent;
  border-color: var(--royal-blue);
  color: var(--royal-blue);
}
.btn-light,
.btn-white {
  background: var(--white);
  color: var(--royal-blue);
}
.quick-highlights {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.quick-highlights div,
.contact-card,
.feature-item,
.facility-card,
.info-card,
.feature-box,
.enquiry-form,
.map-box,
.panel-card,
.table-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.quick-highlights div {
  padding: 16px;
}
.quick-highlights strong {
  display: block;
  font-size: 18px;
  color: var(--royal-blue);
}
.quick-highlights span { color: var(--muted); font-size: 14px; }

.hero-panel {
  display: grid;
  gap: 16px;
}
.panel-card { padding: 26px; }
.panel-title {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--orange-deep);
  margin-bottom: 10px;
}
.panel-main ul {
  margin: 0;
  padding-left: 20px;
}
.panel-main li { margin-bottom: 10px; }
.panel-side {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: var(--white);
}
.panel-side h3 { margin: 0 0 8px; }
.panel-side p { margin: 0 0 16px; }

.announcement { padding-top: 18px; }
.announcement-inner {
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-dark));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow);
}
.announcement-inner h2 { margin: 0 0 8px; }
.announcement-inner .section-label {
  background: rgba(255,255,255,0.15);
  color: #ffd6a3;
}

.section { padding: 76px 0; }
.section-soft { background: linear-gradient(180deg, #f2f7ff, #ffffff); }
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h3 { margin: 0 0 10px; }
.feature-box { padding: 28px; }
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feature-item {
  padding: 16px;
  border-left: 5px solid var(--orange);
}
.card-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card,
.facility-card { padding: 24px; }
.card-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: var(--royal-blue-soft);
  color: var(--royal-blue);
  font-weight: 800;
  margin-bottom: 14px;
}
.facility-card {
  border-top: 4px solid var(--orange);
}

.disclosure-section h2 { margin-bottom: 8px; }
.note-box {
  background: var(--orange-soft);
  border-left: 5px solid var(--orange);
  color: #7a4700;
  border-radius: 16px;
  padding: 14px 16px;
}
code {
  background: var(--white);
  border: 1px solid #f1d6b6;
  border-radius: 8px;
  padding: 2px 6px;
}
.tab-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 18px;
}
.tab-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: var(--white);
  border-color: transparent;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.table-card {
  overflow-x: auto;
  padding: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
caption {
  text-align: left;
  padding: 14px 12px 8px;
  font-weight: 800;
  color: var(--royal-blue);
  font-size: 20px;
}
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--royal-blue-soft);
  color: var(--royal-blue-dark);
}
tr:last-child td { border-bottom: 0; }

.process-list { padding-left: 20px; margin: 0; }
.process-list li { margin-bottom: 12px; }
.enquiry-form {
  padding: 26px;
  display: grid;
  gap: 14px;
}
.enquiry-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
input:focus, textarea:focus {
  outline: 3px solid rgba(245,124,0,0.2);
  border-color: var(--orange);
}
.contact-card-list {
  display: grid;
  gap: 14px;
}
.contact-card,
.map-box {
  padding: 20px;
}
.contact-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--royal-blue);
}
.contact-card span { color: var(--muted); }
.map-box {
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(23,63,154,0.08), rgba(245,124,0,0.1));
}

.footer {
  background: var(--royal-blue-dark);
  color: #dbe6ff;
  padding: 48px 0 22px;
}
.footer a { display: block; color: #dbe6ff; margin: 8px 0; }
.footer h3,
.footer h4 { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 28px;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 24px;
  padding-top: 18px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .quick-highlights { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: 1fr; }
  .card-grid.four { grid-template-columns: 1fr 1fr; }
  .menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 82px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu-toggle { display: block; }
}

@media (max-width: 640px) {
  .top-strip-inner,
  .announcement-inner { flex-direction: column; align-items: flex-start; }
  .feature-list,
  .quick-highlights,
  .card-grid.four { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 58px 0 52px; }
  .brand-text strong { font-size: 16px; }
  .brand-badge { width: 48px; height: 48px; }
}


.section-intro {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
}

.kbc-pyramid {
  margin-top: 28px;
  width: min(420px, 100%);
  display: grid;
  gap: 8px;
}
.kbc-layer {
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.layer-1 {
  width: 58%;
  justify-self: center;
  background: #c9465d;
  border-radius: 16px 16px 8px 8px;
}
.layer-2 {
  width: 78%;
  justify-self: center;
  background: var(--orange);
  border-radius: 12px;
}
.layer-3 {
  width: 100%;
  background: var(--royal-blue);
  border-radius: 8px 8px 18px 18px;
}

.feature-item strong {
  display: block;
  color: var(--royal-blue);
  margin-bottom: 4px;
}
.feature-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.feature-list.one-col {
  grid-template-columns: 1fr;
}
.blue-box {
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-dark));
  color: #fff;
}
.blue-box h3 {
  color: #fff;
}
.check-list {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 900;
  color: #ffd166;
}
.check-list li:last-child {
  border-bottom: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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


.map-embed-box {
  display: block;
  text-align: left;
  min-height: auto;
  padding: 22px;
}
.google-map {
  display: block;
  width: 100%;
  min-height: 360px;
  margin: 14px 0 16px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(19, 49, 110, 0.12);
}
.map-open-btn {
  margin-top: 4px;
}


.orange-box {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
}
.orange-box h3 {
  color: #fff;
}
.orange-list {
  margin: 0;
  padding-left: 20px;
}
.orange-list li {
  margin-bottom: 10px;
}


/* Final detailed content + clean desktop header */
.nav-wrap {
  gap: 18px;
}

.brand {
  min-width: 300px;
  flex-shrink: 0;
}

.brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.brand-text strong {
  font-size: 17px;
  line-height: 1.08;
  max-width: 230px;
}

.brand-text small {
  display: block;
  font-size: 14px;
  line-height: 1.15;
}

.menu {
  flex: 1;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 6px;
  line-height: 1;
}

.orange-box {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
}

.orange-box h3 {
  color: #fff;
}

.orange-list {
  margin: 0;
  padding-left: 20px;
}

.orange-list li {
  margin-bottom: 10px;
}

.info-card p + p,
.facility-card p + p {
  margin-top: 10px;
}

#management .feature-box p {
  margin-bottom: 0;
  font-size: 17px;
  color: var(--muted);
}

.map-embed-box {
  display: block;
  text-align: left;
  min-height: auto;
  padding: 22px;
}

.google-map {
  display: block;
  width: 100%;
  min-height: 360px;
  margin: 14px 0 16px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(19, 49, 110, 0.12);
}

.map-fallback-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .brand {
    min-width: 260px;
  }

  .brand-text strong {
    font-size: 16px;
    max-width: 210px;
  }

  .menu {
    gap: 6px;
    font-size: 13px;
  }

  .menu a {
    padding-left: 4px;
    padding-right: 4px;
  }
}

@media (max-width: 980px) {
  .brand {
    min-width: auto;
  }

  .menu {
    white-space: normal;
    font-size: 16px;
    gap: 10px;
  }

  .menu a {
    min-height: auto;
    padding: 8px 4px;
  }
}



/* Dummy image sections */
.panel-photo-card {
  overflow: hidden;
  padding: 0;
}

.hero-campus-photo {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.photo-card-content {
  padding: 22px 24px 24px;
}

.image-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(18, 47, 102, 0.08);
  overflow: hidden;
}

.section-photo {
  display: block;
  width: 100%;
  height: auto;
}

.portrait-photo {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.wide-photo {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.compact-box {
  margin-top: 18px;
  padding: 20px;
}

.photo-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-tile {
  margin: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(18, 47, 102, 0.08);
}

.gallery-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-tile figcaption {
  padding: 18px 20px 22px;
  display: grid;
  gap: 8px;
}

.photo-tile figcaption strong {
  font-size: 20px;
  color: var(--navy);
}

.photo-tile figcaption span {
  color: var(--muted);
  line-height: 1.6;
}

.leadership-layout,
.staff-layout {
  align-items: center;
}

@media (max-width: 980px) {
  .three-grid {
    grid-template-columns: 1fr;
  }
  .hero-campus-photo {
    height: 220px;
  }
}



.inline-photo-card {
  margin-top: 24px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(18, 47, 102, 0.08);
}

.inline-section-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.inline-photo-caption {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}


.board-grid .photo-tile {
  height: 100%;
}

.tall-photo {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}


.four-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.center-actions {
  text-align: center;
  margin-top: 28px;
}

.section-actions .btn {
  display: inline-flex;
}

.hero-compact {
  padding: 62px 0 40px;
}

.centered-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.preview-grid .photo-tile figcaption strong,
.gallery-card figcaption strong {
  display: block;
}

.gallery-card a {
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 14, 32, 0.88);
  z-index: 2000;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: min(1100px, calc(100vw - 120px));
  max-height: calc(100vh - 120px);
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.lightbox-content p {
  color: #fff;
  margin: 14px auto 0;
  max-width: 860px;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 30px;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.prev { left: 22px; }
.lightbox-nav.next { right: 22px; }

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .lightbox {
    padding: 16px;
  }

  .lightbox-content {
    max-width: calc(100vw - 32px);
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}
