/* =========================================
   EDUCATION WEBSITE — TYPOGRAPHY SYSTEM
   Font: Plus Jakarta Sans
   Mobile → Tablet → Desktop
   ========================================= */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Base Typography ---------- */

:root {
  --font-family: "Plus Jakarta Sans", sans-serif;
  --font-display: "Cormorant Garamond", serif;

  /* Brand Colors */
  --navy: #001040;
  --navy-mid: #0b2158;
  --red: #e80010;
  --red-maple: #f83830;

  /* Text Colors */
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #777777;

  /* Line Heights */
  --heading-line-height: 1.15;
  --body-line-height: 1.6;
}

html {
  font-family: var(--font-family);
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
}


/* =========================================
   DISPLAY — Hero / Page Title (Serif)
   ========================================= */

.heading-display {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: var(--navy);
  margin: 0;
}

.heading-display .accent {
  color: var(--red);
}


/* =========================================
   H1 — Main Page Heading
   ========================================= */

.heading-h1 {
  font-family: var(--font-family);
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin: 0;
}


/* =========================================
   H2 — Section Heading
   ========================================= */

.heading-h2 {
  font-family: var(--font-family);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin: 0;
}


/* =========================================
   H3 — Sub Section Heading
   ========================================= */

.heading-h3 {
  font-family: var(--font-family);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin: 0;
}


/* =========================================
   H4 — Card / Content Heading
   ========================================= */

.heading-h4 {
  font-family: var(--font-family);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}


/* =========================================
   H5 — Small Heading
   ========================================= */

.heading-h5 {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}


/* =========================================
   H6 — Smallest Heading
   ========================================= */

.heading-h6 {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}


/* =========================================
   BODY / DESCRIPTION
   ========================================= */

.text-body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: var(--body-line-height);
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0;
}


/* Large Description */

.text-body-lg {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0;
}


/* Small Description */

.text-body-sm {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0;
}


/* =========================================
   LABEL / EYEBROW
   ========================================= */

.text-label {
  font-family: var(--font-family);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
}


/* =========================================
   BUTTON TEXT
   ========================================= */

.text-button {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}


/* =========================================
   MOBILE
   0px – 767px
   ========================================= */

@media (max-width: 767px) {

  .heading-display {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.5px;
  }

  .heading-h1 {
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.6px;
  }

  .heading-h2 {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.4px;
  }

  .heading-h3 {
    font-size: 22px;
    line-height: 1.25;
  }

  .heading-h4 {
    font-size: 19px;
    line-height: 1.3;
  }

  .heading-h5 {
    font-size: 17px;
    line-height: 1.35;
  }

  .heading-h6 {
    font-size: 15px;
    line-height: 1.4;
  }

  .text-body-lg {
    font-size: 17px;
    line-height: 1.55;
  }

  .text-body {
    font-size: 15px;
    line-height: 1.6;
  }

  .text-body-sm {
    font-size: 13px;
    line-height: 1.55;
  }

  .text-label {
    font-size: 11px;
    letter-spacing: 0.7px;
  }

  .text-button {
    font-size: 13px;
  }
}


/* =========================================
   TABLET
   768px – 1023px
   ========================================= */

@media (min-width: 768px) and (max-width: 1023px) {

  .heading-display {
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: -0.7px;
  }

  .heading-h1 {
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -0.8px;
  }

  .heading-h2 {
    font-size: 34px;
    line-height: 1.2;
  }

  .heading-h3 {
    font-size: 26px;
    line-height: 1.25;
  }

  .heading-h4 {
    font-size: 21px;
    line-height: 1.3;
  }

  .heading-h5 {
    font-size: 18px;
  }

  .heading-h6 {
    font-size: 16px;
  }

  .text-body-lg {
    font-size: 18px;
    line-height: 1.6;
  }

  .text-body {
    font-size: 16px;
    line-height: 1.6;
  }

  .text-body-sm {
    font-size: 14px;
  }

  .text-label {
    font-size: 12px;
  }

  .text-button {
    font-size: 14px;
  }
}


/* =========================================
   DESKTOP
   1024px+
   ========================================= */

@media (min-width: 1024px) {

  .heading-display {
    font-size: 52px;
    line-height: 1.06;
    letter-spacing: -0.9px;
  }

  .heading-h1 {
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: -1.2px;
  }

  .heading-h2 {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.7px;
  }

  .heading-h3 {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.4px;
  }

  .heading-h4 {
    font-size: 22px;
    line-height: 1.3;
  }

  .heading-h5 {
    font-size: 19px;
    line-height: 1.35;
  }

  .heading-h6 {
    font-size: 16px;
    line-height: 1.4;
  }

  .text-body-lg {
    font-size: 19px;
    line-height: 1.65;
  }

  .text-body {
    font-size: 16px;
    line-height: 1.65;
  }

  .text-body-sm {
    font-size: 14px;
    line-height: 1.55;
  }

  .text-label {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .text-button {
    font-size: 14px;
  }
}
