/* ============================================================
   BASE — reset, CSS variables, typography, global elements
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-tu:      #2B5EA7;
  --color-mpei:    #ed6b21;
  --color-dark:    #1a1a1a;
  --color-muted:   #555;
  --color-bg:      #f5f5f5;
  --color-border:  #e0e0e0;
  --nav-height:    68px;
  --radius:        6px;
  --max-width:     1200px;
  --font:          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-dark);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  padding-top: var(--nav-height); /* offset for fixed navbar */
}


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

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

/* ---- Reusable section wrapper ---- */
.section {
  padding: 5rem 1.5rem;
}

.section--light {
  background: var(--color-bg);
}

.section--dark {
  background: var(--color-dark);
  color: #fff;
}

/* ---- Section heading ---- */
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.section-head p {
  margin-top: 0.75rem;
  color: var(--color-muted);
  max-width: 680px;
  margin-inline: auto;
}

/* ---- Shared button style ---- */
.btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--color-tu);
  color: #fff;
  border-radius: var(--radius);
  transition: background 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: #1e4a8a;
}
