/* ========== BASE RESET ========== */
html {
  overflow-y: scroll;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: #222;
  background: #f6f7f9;
}

/* ========== CONTAINER ========== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
header {
  background: #ffffff;
  border-bottom: 2px solid #003366;
}

.header-flex {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}

.logo img {
  height: 56px;
  width: auto;
}

.site-title h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.site-title .subtitle {
  margin-top: 3px;
  font-size: 14px;
  color: #555;
}

/* ========== NAVIGATION ========== */
nav {
  margin-left: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  font-size: 15px;
  color: #003366;
  font-weight: 500;
  padding: 6px 2px;
}

nav ul li a:hover {
  border-bottom: 2px solid #003366;
}

nav ul li a.active {
  font-weight: 700;
  border-bottom: 2px solid #003366;
}

/* ========== HERO IMAGE SECTION ========== */
.hero-image {
  background-image: url("../images/photos/campus/campus-building-front-01.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.45);
  width: 100%;
  padding: 40px 0;
}

.hero-image h2 {
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 12px;
}

.hero-image p {
  color: #f1f1f1;
  font-size: 17px;
  max-width: 700px;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: #ffffff;
  padding: 40px 0;
  border-bottom: 1px solid #e2e2e2;
}

.page-header h2 {
  margin: 0;
  font-size: 26px;
  color: #003366;
}

/* ========== CONTENT SECTIONS ========== */
.section {
  padding: 40px 0;
}

.section.light-bg {
  background: #ffffff;
}

.section .container {
  background: #ffffff;
  padding: 30px;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
}

.section h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 20px;
  color: #003366;
}

.section h4 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.section p {
  margin-bottom: 14px;
  font-size: 15.5px;
}

/* ========== LISTS ========== */
ul {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

/* ========== LINKS ========== */
.section a {
  color: #003366;
  font-weight: 600;
}

.section a:hover {
  text-decoration: underline;
}

/* ========== IMAGE CONTAINMENT ========== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.image-box {
  background: #ffffff;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

/* ========== TRADES PAGE ========== */
.trade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 35px;
}

.trade-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.trade-content p {
  font-size: 15.5px;
  color: #333;
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  background: #ffffff;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

/* ========== MAP ========== */
.map-container {
  margin-top: 18px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #ccc;
}

/* ========== FOOTER (LOCKED) ========== */
footer {
  background: #003366;
  color: #ffffff;
  padding: 18px 0;
  margin-top: 40px;
  text-align: center;
}

footer p {
  margin: 4px auto;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 1000px;
}

footer a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-main {
  font-weight: 400;
}

.footer-credit {
  font-size: 12.5px;
  opacity: 0.85;
}

/* ========== RESPONSIVE (MOBILE) ========== */
@media (max-width: 768px) {

  .header-flex {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .logo {
    margin: 0 auto;
  }

  .site-title {
    text-align: center;
  }

  nav {
    width: 100%;
    margin-top: 8px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
  }

  nav ul li a {
    font-size: 14px;
    padding: 4px 0;
  }

  .hero-image {
    min-height: 260px;
  }

  .hero-image h2 {
    font-size: 22px;
  }

  .hero-image p {
    font-size: 15px;
  }

  .section .container {
    padding: 20px;
  }

  .trade {
    grid-template-columns: 1fr;
  }

  footer p {
    font-size: 12.5px;
    padding: 0 10px;
  }
}
/* ========== Activities & Events GRID ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e2e2e2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Footer center alignment */
.footer-center {
  text-align: center;
}
/* ================= HERO (AUTHORITATIVE) ================= */
.hero-authoritative {
  background: url("../images/photos/campus-building-front-01.jpg") center/cover no-repeat;
  min-height: 340px;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 40, 85, 0.65);
  min-height: 340px;
  display: flex;
  align-items: center;
}

.hero-authoritative h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 10px;
}

.hero-authoritative p {
  color: #e6eef6;
  max-width: 720px;
  font-size: 17px;
}

/* ================= SECTION RHYTHM ================= */
.section {
  padding: 60px 0;
  background: #ffffff;
}

.section-muted {
  background: #f2f4f7;
}

.section h3 {
  color: #003366;
  font-size: 22px;
  margin-bottom: 12px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 25px;
}

/* ================= SPLIT LAYOUT ================= */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.split img {
  border: 1px solid #dcdcdc;
  background: #fff;
  padding: 6px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .hero-authoritative h2 {
    font-size: 26px;
  }
}
h4 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 16px;
  color: #003366;
}

ul {
  margin-bottom: 18px;
}

ul li {
  margin-bottom: 6px;
}
/* ===== ACTIVITIES & EVENTS GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.gallery-item {
  background: #fff;
  border: 1px solid #e3e3e3;
  padding: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-caption {
  margin-top: 8px;
  font-size: 14px;
  color: #333;
}

.gallery-caption span {
  display: block;
  font-size: 12px;
  color: #777;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 10px;
}

.grey-footer-link {
  color: #888888; /* The grey color you requested */
  font-size: 0.8rem;
  text-decoration: none;
}

.grey-footer-link:hover {
  color: #bbbbbb;
  text-decoration: underline;
}