/* =====================================================================
   BRAND LAYER — Edhaas Digisoft Private Limited
   ---------------------------------------------------------------------
   Everything brand-specific lives here: fonts, colours, radii, spacing
   scale and button styling. To re-skin the site for another brand,
   replace this file (and the logo / content in index.html). style.css
   only ever reads these variables.

   Colours follow the Edhaas Digisoft Brand Kit (sampled from the logo).
   The values originally proposed in the website brief are kept below
   as comments for reference:
     Primary Teal #087D7D · Accent Orange #F28C28 · Dark Teal #102C32
     Light Background #F5F7F7 · Primary Text #172B30 · Secondary #64748B
     Headings: Plus Jakarta Sans · Body: Inter
   ===================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font Licence) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- Core palette ---------- */
  --c-primary: #06827F;          /* Edhaas Teal — headings, fills, links */
  --c-primary-deep: #024644;     /* Deep Teal — dark sections */
  --c-primary-darker: #01302F;   /* Deeper shade for layered dark panels */
  --c-accent: #F58634;           /* Edhaas Orange — CTAs, highlights (ink text on it) */
  --c-accent-text: #B4530F;      /* Orange for small text on light grounds */
  --c-accent-hover: #E7741F;

  --c-bg: #FFFFFF;               /* Page background */
  --c-bg-alt: #FBF4EC;           /* Warm Sand — alternate sections */
  --c-bg-teal-tint: #E0F0EF;
  --c-bg-orange-tint: #FDE7D4;

  --c-text: #1E2A2A;             /* Ink */
  --c-text-muted: #56615F;
  --c-text-on-dark: #FFFFFF;
  --c-text-on-dark-muted: #BFD9D7;
  --c-line: #E6DCCF;             /* Hairline on light */
  --c-line-dark: rgba(255, 255, 255, 0.16);

  /* ---------- Education domain cards (monochromatic teal) ---------- */
  --dc-bg-1: #EDF5F4;
  --dc-bg-2: #E5F0EF;
  --dc-bg-3: #F2F7F6;
  --dc-heading: #102C32;
  --dc-icon: #087D7D;
  --dc-text: #475E61;
  --dc-accent: #F28C28;
  --dc-radius: 10px;
  --dc-pad: 32px;

  /* ---------- Typography ---------- */
  --font-heading: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
  --fw-heading: 700;
  --fw-heading-heavy: 800;
  --ls-heading: -0.035em;

  --fs-display: clamp(2.75rem, 1.2rem + 5.4vw, 6rem);    /* hero H1 */
  --fs-h2: clamp(2.125rem, 1.2rem + 3.3vw, 4.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-stat: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  --fs-lead: clamp(1.1875rem, 1.08rem + 0.45vw, 1.4375rem);
  --fs-body: 1.125rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;

  /* ---------- Shape & spacing ---------- */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --section-pad: clamp(80px, 4rem + 6vw, 168px);
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  /* ---------- Buttons ---------- */
  --btn-radius: var(--radius-sm);
  --btn-pad: 0.95rem 1.5rem;
  --btn-font: 600 1rem/1.2 var(--font-heading);
  --btn-primary-bg: var(--c-accent);
  --btn-primary-fg: var(--c-text);          /* white on orange fails contrast */
  --btn-primary-bg-hover: var(--c-accent-hover);
  --btn-secondary-fg: var(--c-primary-deep);
  --btn-secondary-border: var(--c-primary-deep);

  /* ---------- Misc ---------- */
  --focus-ring: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--c-primary);
  --shadow-soft: 0 24px 48px -28px rgba(2, 70, 68, 0.45);
  --header-h: 76px;
}
