:root {
  --primary: #12395b;
  --primary-deep: #0b2740;
  --accent: #b88a44;
  --accent-soft: #e7d1aa;
  --surface: #f6f1e8;
  --paper: #ffffff;
  --text: #20303f;
  --muted: #617080;
  --border: #d9e1e8;
  --shadow: 0 18px 45px rgba(11, 39, 64, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(184, 138, 68, 0.18), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, #f4f7fb 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.topbar-content,
.header-main,
.footer-bottom,
.topbar-links,
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.topbar-links a {
  opacity: 0.95;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(17, 42, 66, 0.08);
}

.header-main {
  padding: 1rem 0;
}

.branding {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.crest {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Merriweather", serif;
  font-size: 1.5rem;
  color: white;
  background: linear-gradient(135deg, var(--accent), #d3b27a);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--accent);
  margin: 0 0 0.35rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  font-family: "Merriweather", serif;
  margin-top: 0;
  color: var(--primary-deep);
}

h1 {
  margin-bottom: 0.2rem;
  font-size: clamp(1.45rem, 2vw, 2.4rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.recognition,
.address {
  margin: 0;
}

.recognition {
  color: var(--accent);
  font-weight: 700;
}

.address {
  color: var(--muted);
}

.main-nav {
  border-top: 1px solid rgba(18, 57, 91, 0.08);
  border-bottom: 1px solid rgba(18, 57, 91, 0.08);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  font-weight: 600;
}

.main-nav a:hover,
.topbar a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--accent);
}

.cta-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button {
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 28px rgba(18, 57, 91, 0.18);
}

.secondary-button {
  border: 1px solid rgba(18, 57, 91, 0.18);
  background: rgba(255, 255, 255, 0.75);
}

.cta-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero,
.page-hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid,
.page-hero-grid,
.section-grid,
.split-panel,
.footer-grid,
.gallery-preview {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.hero-grid,
.page-hero-grid {
  grid-template-columns: 1.25fr 0.95fr;
}

.hero-copy p {
  font-size: 1.1rem;
  max-width: 60ch;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.feature-image,
.gallery-photo {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 57, 91, 0.08);
  background: var(--paper);
}

.stats-card,
.info-card,
.program-card,
.notice-box,
.mini-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 57, 91, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.stats-card div,
.department-list div {
  background: var(--surface);
  padding: 1rem;
  border-radius: 18px;
}

.stats-card strong,
.stats-card span {
  display: block;
}

.page-main section,
main section {
  padding: 2rem 0 4rem;
}

.cards-grid,
.department-list {
  display: grid;
  gap: 1.25rem;
}

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

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

.section-heading {
  margin-bottom: 1.5rem;
}

.about-section,
.campus-section,
.quick-showcase {
  background: rgba(255, 255, 255, 0.45);
}

.section-grid,
.split-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.department-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.text-link {
  font-weight: 700;
  color: var(--primary);
}

.feature-list,
.site-footer ul {
  padding-left: 1.1rem;
  margin: 0;
}

.site-footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.88);
  padding-top: 3rem;
}

.site-footer h3,
.site-footer h4 {
  color: white;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .page-hero-grid,
  .cards-grid,
  .gallery-preview,
  .footer-grid,
  .section-grid,
  .split-panel,
  .department-list {
    grid-template-columns: 1fr;
  }

  .stats-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar-content,
  .header-main,
  .hero-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    justify-content: flex-start;
    gap: 0.8rem 1rem;
  }

  .branding {
    align-items: flex-start;
  }
}
