:root {
  --primary-color: #20487c;
  --secondary-color: #eef2fb;
  --accent-color: #ffcc33;
  --accent-dark: #d19a1e;
  --text-color: #1d2435;
  --muted-color: #4a5875;
  --panel-border: #b5c2dd;
  --shadow-color: rgba(25, 48, 92, 0.25);
  --gloss-highlight: rgba(255, 255, 255, 0.65);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background:
      repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.35) 0px,
        rgba(255, 255, 255, 0.35) 12px,
        rgba(230, 236, 248, 0.35) 12px,
        rgba(230, 236, 248, 0.35) 24px
      ),
    linear-gradient(180deg, #f6f8ff 0%, #dde6f5 45%, #ccd8ef 100%);
  background-attachment: fixed;
  line-height: 1.7;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

header {
  position: relative;
  background:
      linear-gradient(120deg, rgba(26, 62, 115, 0.92), rgba(46, 87, 155, 0.82)),
    url('../images/school-building.jpg') center/cover;
  color: white;
  padding: 0 1.5rem 4.5rem;
  box-shadow: 0 28px 55px rgba(18, 42, 88, 0.45);
  border-bottom: 6px solid rgba(255, 255, 255, 0.25);
}

header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 45%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.top-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.logo {
  font-family: 'Oswald', 'Open Sans', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.3));
  color: #17345c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 12px rgba(9, 30, 70, 0.45);
}

.contact-bar {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.contact-bar a {
  color: inherit;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

nav {
  position: relative;
  margin-top: 1.8rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(199, 210, 236, 0.9) 100%);
  border: 1px solid rgba(106, 131, 179, 0.65);
  box-shadow: inset 0 1px 0 var(--gloss-highlight), 0 14px 22px rgba(13, 32, 68, 0.45);
  z-index: 1;
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  pointer-events: none;
}

nav a {
  position: relative;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a2844;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(225, 233, 249, 0.85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 14px rgba(16, 39, 82, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

nav a:hover,
nav a:focus,
nav a.active {
  background: linear-gradient(180deg, #ffe37a 0%, #ffc032 100%);
  color: #2d2b1d;
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 24px rgba(26, 41, 76, 0.35);
}


.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.4rem;
  align-items: center;
  margin-top: 3.5rem;
  z-index: 1;
}

.hero-text h1 {
  font-family: 'Oswald', 'Open Sans', sans-serif;
  font-size: clamp(2.8rem, 4.8vw, 3.8rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 0 rgba(15, 38, 82, 0.45);
}

.hero-text p {
  font-size: 1.12rem;
  max-width: 36rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}


.hero-cta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2.1rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background-image: linear-gradient(180deg, #ffe892 0%, #f7ad1f 100%);
  color: #2e2510;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 14px 24px rgba(169, 112, 7, 0.4);
}

.btn-outline {
  color: white;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(0, 0, 0, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 20px rgba(0, 0, 0, 0.35);
}

.btn:hover,
.btn:focus {
  transform: translateY(-4px);
  filter: brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 28px rgba(25, 51, 95, 0.35);
}

main {
  position: relative;
  z-index: 2;
  padding: 4.5rem 1.5rem 5.5rem;
  max-width: 1100px;
  margin: -3rem auto 4rem;
}

section {
  margin: 0 auto 3.5rem;
  padding: 2.5rem 2.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(237, 241, 252, 0.96) 100%);
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  box-shadow: 0 24px 45px rgba(20, 46, 92, 0.18);
}

.section-title {
  font-family: 'Oswald', 'Open Sans', sans-serif;
  font-size: clamp(1.9rem, 3.1vw, 2.5rem);
  margin-bottom: 1.75rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  padding-bottom: 0.75rem;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.85), 0 4px 12px rgba(14, 36, 78, 0.45);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--accent-color), #ffe37a);
  box-shadow: 0 4px 10px rgba(225, 167, 32, 0.55);
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.image-showcase {
  margin: 3rem 0 4rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.photo-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(229, 236, 250, 0.97));
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 42px rgba(25, 51, 96, 0.22);
  border: 1px solid rgba(153, 173, 214, 0.6);
}

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

.photo-card figcaption {
  padding: 1.2rem 1.4rem;
  color: var(--muted-color);
  font-size: 0.98rem;
}

.feature-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  margin: 3.5rem 0;
}

.feature-split.reverse .card {
  order: 2;
}

.feature-split.reverse .feature-image {
  order: 1;
}

.feature-image {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(228, 235, 250, 0.94));
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(22, 46, 96, 0.2);
  border: 1px solid rgba(150, 170, 212, 0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}

.feature-image figcaption {
  padding: 1.25rem 1.5rem 1.75rem;
  font-size: 0.98rem;
  color: var(--muted-color);
}


.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(229, 235, 250, 0.98) 100%);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 24px 45px rgba(27, 52, 98, 0.18);
  border: 1px solid rgba(146, 165, 204, 0.6);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.card p {
  color: var(--muted-color);
  font-size: 1rem;
}

.highlight {
  background: linear-gradient(180deg, rgb(26 69 198 / 95%), rgb(11 32 54 / 95%));
  border-left: 8px solid var(--accent-color);
  padding: 1.75rem 1.75rem 1.75rem 2.25rem;
  box-shadow: 0 18px 35px rgba(19, 48, 96, 0.22);
  border-radius: 16px;
  border: 1px solid rgba(255, 212, 104, 0.65);
}

.timeline {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.timeline-item {
  padding: 1.5rem 1.75rem;
  border-left: 6px solid var(--primary-color);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 238, 252, 0.98));
  border-radius: 0 18px 18px 0;
  box-shadow: 0 18px 40px rgba(21, 46, 92, 0.16);
}

.timeline-item h4 {
  margin: 0 0 0.5rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.fact {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(226, 234, 252, 0.95));
  padding: 1.75rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 20px 38px rgba(17, 45, 94, 0.18);
  border: 1px solid rgba(137, 162, 209, 0.6);
}

.fact strong {
  display: block;
  font-size: 2.1rem;
  color: var(--primary-color);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.85);
}


.callout {
  background: linear-gradient(135deg, rgba(37, 72, 128, 0.96), rgba(18, 41, 86, 0.9));
  color: white;
  padding: 3rem;
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: center;
  box-shadow: 0 30px 55px rgba(8, 18, 42, 0.55);
  border: 1px solid rgba(139, 170, 225, 0.4);
}

.callout p {
  margin: 0;
  font-size: 1.1rem;
}

footer {
  background: linear-gradient(180deg, #14294d 0%, #0a1731 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: 3.5rem 1.5rem;
  border-top: 5px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 12px 18px rgba(255, 255, 255, 0.05), 0 -20px 40px rgba(10, 20, 42, 0.65);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid h4 {
  margin-top: 0;
  color: white;
  font-family: 'Oswald', 'Open Sans', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.75rem;
  letter-spacing: 0.08em;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.15rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 240, 252, 0.96));
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(21, 44, 92, 0.18);
}

.table th,
.table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(134, 156, 197, 0.35);
}

.table tr {
  background: linear-gradient(180deg, rgba(131, 140, 159, 0.95), rgba(158, 172, 193, 0.95));
}

.table th {
  background: linear-gradient(180deg, rgba(220, 230, 249, 0.95), rgba(197, 214, 243, 0.95));
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.notice-board {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.notice {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 242, 254, 0.96));
  border-left: 6px solid var(--accent-color);
  padding: 1.5rem 1.85rem;
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(14, 37, 80, 0.18);
  border: 1px solid rgba(156, 176, 218, 0.45);
}

@media (max-width: 768px) {
  header {
    padding: 0 1rem 3.5rem;
  }

  nav {
    justify-content: center;
  }

  .top-bar {
    flex-direction: column;
    gap: 0.75rem;
  }

  .contact-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  main {
    margin: -2.5rem auto 3rem;
    padding: 4rem 1rem 4.5rem;
  }

  section {
    padding: 2rem 1.5rem;
  }

  .callout {
    padding: 2.25rem;
  }
}
