@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --bg: #f4f6fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-soft: #edf3ff;
  --text: #1f2937;
  --muted: #617187;
  --line: #d8e1ee;
  --primary: #1b5ed7;
  --primary-dark: #1548a2;
  --accent: #0b9a76;
  --navy: #0d1d38;
  --shadow: 0 20px 60px rgba(14, 30, 55, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(27, 94, 215, 0.06), transparent 24%),
    linear-gradient(180deg, #f8faff 0%, #f4f6fb 35%, #f7f9fd 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(216, 225, 238, 0.75);
}

.site-header.transparent {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.site-header:not(.transparent) .brand {
  color: var(--navy);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 6px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.site-header:not(.transparent) .nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.14);
}

.site-header:not(.transparent) .nav-links a:hover,
.site-header:not(.transparent) .nav-links a.active {
  background: rgba(27, 94, 215, 0.1);
  color: var(--primary-dark);
}

.hero {
  color: #fff;
}

.hero-home {
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px;
  background:
    linear-gradient(120deg, rgba(7, 18, 40, 0.86), rgba(13, 34, 78, 0.84)),
    url("assets/campus-hero.jpg") center/cover no-repeat;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.eyebrow.dark,
.section-kicker {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 800px;
}

.lead,
.page-lead {
  max-width: 760px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
}

.page-lead {
  color: var(--muted);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 12px 28px rgba(13, 29, 56, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.button.tertiary {
  background: rgba(27, 94, 215, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(27, 94, 215, 0.14);
}

.hero-card,
.card,
.feature-card,
.download-card,
.quick-link-card,
.day-card,
.person-card,
.profile-card,
.program-table-wrapper,
.info-banner {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-card {
  overflow: hidden;
}

.hero-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card-body {
  padding: 22px;
  color: var(--text);
}

.fact-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.fact-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.fact-list strong {
  color: var(--primary-dark);
}

.fact-list span {
  text-align: right;
  color: var(--muted);
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(27, 94, 215, 0.03), rgba(27, 94, 215, 0.06));
}

.section-heading {
  margin-bottom: 28px;
}

.grid-three,
.grid-two,
.downloads-grid,
.quick-links {
  display: grid;
  gap: 20px;
}

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

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

.card,
.download-card,
.quick-link-card,
.day-card {
  padding: 24px;
}

.card p,
.download-card p,
.quick-link-card p,
.person-copy p,
.profile-copy p {
  color: var(--muted);
}

.highlight-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px;
}

.feature-index {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #4d86eb);
  color: #fff;
  font-weight: 800;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.image-panel img,
.info-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.people-preview {
  display: grid;
  gap: 24px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.course-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.course-card-copy {
  padding: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--primary-dark);
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.person-card.wide {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}

.person-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-copy,
.profile-copy {
  padding: 26px;
}

.affiliation {
  margin: 6px 0 10px;
  font-weight: 600;
}

.course-title {
  margin: 0 0 12px;
  color: var(--primary-dark) !important;
  font-weight: 700;
}

.talk-slot {
  margin: 4px 0 12px;
  font-weight: 600;
}

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

.quick-link-card {
  min-height: 170px;
  border: 1px solid var(--line);
}

.quick-link-card:hover,
.download-card:hover {
  transform: translateY(-2px);
  transition: transform 0.18s ease, border-color 0.18s ease;
  border-color: rgba(27, 94, 215, 0.28);
}

.page-hero {
  padding: 118px 0 56px;
  background:
    linear-gradient(180deg, rgba(27, 94, 215, 0.03), transparent),
    linear-gradient(180deg, #ffffff, #f7f9fd);
}

.page-hero-program,
.page-hero-lecturers,
.page-hero-materials,
.page-hero-practical {
  position: relative;
  overflow: hidden;
}

.page-hero-program::after,
.page-hero-lecturers::after,
.page-hero-materials::after,
.page-hero-practical::after {
  content: "";
  position: absolute;
  right: -50px;
  top: 30px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 94, 215, 0.1), transparent 70%);
}

.program-table-wrapper {
  overflow: auto;
  padding: 10px;
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  background: var(--surface-solid);
  border-radius: 18px;
  overflow: hidden;
}

.program-table th,
.program-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.program-table th:nth-child(2),
.program-table td:nth-child(2) {
  white-space: nowrap;
  width: 140px;
  min-width: 140px;
}

.program-table th {
  background: #edf4ff;
  color: var(--primary-dark);
  font-weight: 800;
}

.stack-large {
  display: grid;
  gap: 30px;
}

.profile-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
}

.profile-card.reverse {
  grid-template-columns: 1fr 320px;
}

.profile-card.reverse img {
  order: 2;
}

.topic-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.topic-list.compact li + li {
  margin-top: 8px;
}

.profile-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.downloads-grid.roomy .download-card {
  min-height: 180px;
}

.info-banner {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
}

.info-banner div {
  padding: 28px;
}

.site-footer {
  margin-top: 30px;
  padding: 32px 0 42px;
  border-top: 1px solid rgba(216, 225, 238, 0.8);
  background: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  color: var(--muted);
}

.footer-grid h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .highlight-layout,
  .grid-three,
  .quick-links,
  .downloads-grid,
  .grid-two,
  .course-grid,
  .person-card.wide,
  .profile-card,
  .profile-card.reverse,
  .info-banner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .profile-card.reverse img {
    order: 0;
  }

  .person-card.wide img,
  .profile-card img,
  .info-banner img {
    max-height: 360px;
  }

  .hero-home {
    padding-top: 140px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
  }

  .fact-list li {
    flex-direction: column;
  }

  .fact-list span {
    text-align: left;
  }

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