:root {
  --ink: #132238;
  --muted: #607086;
  --line: #dfe6ef;
  --soft: #f5f8fb;
  --navy: #102c54;
  --navy-dark: #081b35;
  --blue: #1f6fae;
  --gold: #c69a2d;
  --green: #2f7d67;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 44, 84, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}

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

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

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

#navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

#navbar.top {
  background: linear-gradient(to bottom, rgba(8, 27, 53, 0.9), rgba(8, 27, 53, 0));
}

#navbar.scrolled {
  background: rgba(8, 27, 53, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.nav-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  color: var(--white);
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--white);
  padding: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.95rem;
  line-height: 1.1;
}

.brand-copy small {
  color: #f3cf71;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-left: auto;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  transition: right 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  right: 0;
}

.nav-cta,
.whatsapp-link,
.btn-primary,
.btn-outline {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.whatsapp-link {
  width: 44px;
  background: #21a65b;
  color: var(--white);
  font-size: 1.25rem;
}

.whatsapp-link:hover {
  background: #168247;
}

.nav-cta {
  padding: 0 18px;
  background: var(--gold);
  color: var(--navy-dark);
}

.menu-button,
.close-menu {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  display: none;
  place-items: center;
}

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 27, 53, 0.98);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 28px;
}

#mobile-menu.open {
  display: flex;
}

#mobile-menu img {
  width: 104px;
  border-radius: 10px;
  background: var(--white);
  padding: 8px;
}

#mobile-menu .nav-link {
  font-size: 1.25rem;
}

.close-menu {
  display: grid;
  position: absolute;
  top: 22px;
  right: 22px;
}

.site-hero {
  min-height: 96vh;
  position: relative;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 27, 53, 0.9), rgba(8, 27, 53, 0.54), rgba(8, 27, 53, 0.16)),
    linear-gradient(0deg, rgba(8, 27, 53, 0.86), rgba(8, 27, 53, 0.08) 50%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  align-items: end;
}

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

.eyebrow,
.section-tag {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(3.3rem, 8vw, 7.3rem);
  line-height: 0.92;
  max-width: 900px;
}

.hero-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions.center {
  justify-content: center;
}

.hero-notice {
  width: min(100%, 560px);
  margin-top: 24px;
  min-height: 74px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.hero-notice span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--navy-dark);
  background: var(--gold);
}

.hero-notice strong,
.hero-notice small {
  display: block;
}

.hero-notice strong {
  font-size: 0.94rem;
  line-height: 1.25;
}

.hero-notice small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.35;
}

.hero-notice > i {
  color: var(--gold);
}

.btn-primary {
  padding: 0 22px;
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 12px 26px rgba(198, 154, 45, 0.28);
}

.btn-outline {
  padding: 0 22px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  border-radius: 8px;
  padding: 22px;
  display: grid;
  gap: 18px;
}

.hero-panel div {
  display: grid;
  gap: 5px;
}

.hero-panel strong {
  color: var(--white);
  font-size: 0.85rem;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.5;
}

.stat-strip {
  background: var(--navy-dark);
  color: var(--white);
  padding: 26px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-grid div {
  background: var(--navy-dark);
  padding: 20px;
  display: grid;
  gap: 7px;
}

.stat-grid strong {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
}

.stat-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.section {
  padding: 86px 0;
}

.bg-white {
  background: var(--white);
}

.bg-soft {
  background: var(--soft);
}

.bg-navy {
  background: var(--navy);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.section-title {
  margin: 12px 0 18px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.03;
  color: var(--navy);
}

.lead,
.section-head p,
.feature-card p,
.footer-main p {
  color: var(--muted);
  line-height: 1.72;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.check-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
}

.check-list i {
  color: var(--green);
}

.image-stack {
  min-height: 520px;
  position: relative;
}

.image-main,
.image-small {
  position: absolute;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-main {
  inset: 0 70px 70px 0;
  width: calc(100% - 70px);
  height: calc(100% - 70px);
}

.image-small {
  right: 0;
  bottom: 0;
  width: 44%;
  height: 42%;
  border: 8px solid var(--white);
}

.image-stack img,
.band-photo,
.gallery-card {
  cursor: zoom-in;
}

.principal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 24px;
  align-items: start;
}

.principal-card,
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.principal-card {
  padding: clamp(26px, 4vw, 42px);
}

.principal-card blockquote {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.principal-card p {
  color: var(--muted);
  line-height: 1.76;
}

.principal-signature {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.principal-signature strong,
.principal-signature span {
  display: block;
}

.principal-signature strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.principal-signature span {
  color: var(--muted);
  margin-top: 4px;
}

.why-card {
  padding: 28px;
  position: sticky;
  top: 98px;
}

.why-card h2 {
  margin: 10px 0 22px;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.why-list {
  display: grid;
  gap: 16px;
}

.why-list > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
}

.why-list i {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(47, 125, 103, 0.12);
  color: var(--green);
  font-size: 0.9rem;
}

.why-list strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.why-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

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

.feature-card,
.leader-card,
.doc-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(16, 44, 84, 0.07);
}

.feature-card {
  padding: 26px;
}

.feature-card i {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(31, 111, 174, 0.11);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

.image-band {
  background: linear-gradient(180deg, var(--soft), var(--white));
  padding-top: 0;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}

.band-photo {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.band-photo.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.band-photo img,
.gallery-card img,
.leader-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.leader-card {
  overflow: hidden;
}

.leader-card img {
  height: 320px;
  object-position: top center;
  background: var(--soft);
}

.leader-card div {
  padding: 22px;
}

.leader-card span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.leader-card h3 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.cta-section {
  color: var(--white);
}

.cta-inner {
  text-align: center;
  max-width: 760px;
}

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.08;
  margin: 12px 0 12px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  padding: 150px 0 72px;
  background: linear-gradient(120deg, rgba(8, 27, 53, 0.94), rgba(16, 44, 84, 0.82)), var(--page-image, url("/assets/images/School%20Building.jpg")) center/cover;
  color: var(--white);
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.95;
  margin: 12px 0 16px;
}

.page-hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.gallery-card {
  height: 235px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--soft);
  cursor: pointer;
}

.gallery-card.tall {
  grid-row: span 2;
  height: 484px;
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card::after {
  content: "View";
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(8, 27, 53, 0.76);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 0.76rem;
  font-weight: 900;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-card:hover::after {
  opacity: 1;
}

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

.doc-card {
  min-height: 112px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.doc-card i {
  color: #c0362c;
  font-size: 1.6rem;
  margin-top: 2px;
}

.doc-card strong {
  display: block;
  color: var(--navy);
  line-height: 1.35;
}

.doc-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.doc-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.file-manager {
  display: grid;
  gap: 18px;
}

.file-folder {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(16, 44, 84, 0.07);
  overflow: hidden;
}

.folder-title {
  min-height: 64px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.folder-title i {
  color: var(--gold);
  font-size: 1.35rem;
}

.folder-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.25rem;
}

.folder-title span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.file-list {
  display: grid;
}

.file-row {
  min-height: 58px;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.file-row:last-child {
  border-bottom: 0;
}

.file-row:hover {
  background: #fbfcfe;
}

.file-row i {
  color: #c0362c;
  font-size: 1.2rem;
}

.file-row span {
  font-weight: 800;
  line-height: 1.35;
}

.file-row small {
  color: var(--muted);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  padding: 26px;
}

.contact-card.map-card {
  display: flex;
  flex-direction: column;
}

.contact-card h3 {
  color: var(--navy);
  margin-top: 0;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list div {
  display: flex;
  gap: 13px;
}

.contact-list i {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(31, 111, 174, 0.1);
  flex: 0 0 auto;
}

.map-box {
  height: 430px;
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-main {
  background: var(--navy-dark);
  color: var(--white);
}

.footer-grid {
  padding: 58px 0;
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr;
  gap: 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: var(--white);
  padding: 6px;
  border-radius: 8px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
.footer-main p,
.footer-main a {
  color: rgba(255, 255, 255, 0.66);
}

.footer-main h3 {
  color: var(--white);
  font-family: Inter, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
}

.footer-main a {
  display: block;
  margin: 9px 0;
}

.footer-main a:hover {
  color: var(--gold);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-row a {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.social-row a:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .container {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
}

.dev-credit {
  white-space: nowrap;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #21a65b;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 16px 38px rgba(33, 166, 91, 0.38);
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.floating-whatsapp:hover {
  background: #168247;
  color: var(--white);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: grid;
    margin-left: auto;
  }

  .hero-inner,
  .two-col,
  .principal-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    position: static;
  }

  .hero-panel {
    max-width: 520px;
  }

  .facility-grid,
  .leader-grid,
  .doc-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid,
  .band-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 0.82rem;
  }

  .brand-copy small {
    font-size: 0.64rem;
  }

  .hero-inner {
    padding-top: 126px;
    padding-bottom: 42px;
  }

  .site-hero {
    min-height: 100vh;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 17vw, 4.4rem);
  }

  .hero-copy p,
  .page-hero p {
    font-size: 1rem;
  }

  .stat-grid,
  .facility-grid,
  .leader-grid,
  .doc-grid,
  .footer-grid,
  .check-list,
  .gallery-grid,
  .band-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .image-stack {
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  .image-main,
  .image-small {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border: 0;
  }

  .band-photo.wide,
  .gallery-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-card,
  .gallery-card.tall {
    height: 260px;
  }

  .folder-title,
  .file-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .folder-title span,
  .file-row small {
    grid-column: 2;
  }

  .leader-card img {
    height: 280px;
  }

  .map-box {
    height: 360px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }

  .footer-bottom .container {
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}
