/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #e6ffe6; /* very light green */
  color: #0f172a;
  line-height: 1.6;
}

/* Page wrapper to enable sticky footer */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Header / Navbar ===== */
.header {
  background: #1e3a8a; /* blue */
  color: #ffffff;
  padding: 12px 16px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.brand {
  font-weight: 800;
  font-size: 32px;
  align-items: center;
  justify-content: center;
}
.navbar {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.navbar a,
.navitem > button {
  background: transparent;
  border: 0;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
}
.navbar a:hover,
.navitem > button:hover,
.navitem > button:focus {
  background: rgba(255,255,255,0.12);
  outline: none;
}

/* Dropdowns */
.navitem {
  position: relative;
}
.menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: #ffffff;
  color: #0f172a;
  min-width: 220px;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: none;
  z-index: 20;
}
.menu a {
  display: block;
  padding: 10px 12px;
  color: #0f172a;
  border-radius: 8px;
}
.menu a:hover { background: #f1f5f9; }
.navitem.open .menu { display: block; }

/* Notice bar */
.noticebar {
  background: #facc15; /* yellow */
  color: #0b1324;
  padding: 8px 16px;
  font-weight: 600;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
}
.noticebar span { display: inline-flex; align-items: center; gap: 6px; }

/* ===== Main ===== */
main {
  width: min(1100px, 92%);
  margin: 28px auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
h1, h2 { color: #0b1324; }
.lead { font-size: 18px; }

/* Tables (for staff lists / fees) */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}
.table th, .table td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
}
.table th { background: #f8fafc; }

/* Cards / lists */
.card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
  background: #ffffff;
}

/* ===== Footer (sticky) ===== */
.footer {
  margin-top: auto;
  text-align: center;
  padding: 12px 16px;
  background: #064e3b; /* dark green */
  color: #ffffff;
  font-size: 14px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Responsive */
@media (max-width: 640px) {
  .navbar { justify-content: flex-start; }


/* Image Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

  .menu { min-width: 180px; }
}
