/* ============================================
   EDUCATION FUTURES — SHARED STYLESHEET
   CKC Cares Brand | Education Futures™
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700&family=Lato:wght@300;400;700&display=swap');

/* --- TOKENS --- */
:root {
  --blue:    #2c65b0;
  --gold:    #ddb228;
  --green:   #2ab460;
  --purple:  #623694;
  --blue-lt: #e8f0fb;
  --gold-lt: #fdf6e3;
  --green-lt:#e8f8ef;
  --purple-lt:#f3ecfa;
  --ink:     #1a1a2e;
  --mid:     #4a4a5a;
  --soft:    #f7f7f9;
  --white:   #ffffff;
  --border:  #e2e2ea;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Lato', sans-serif;

  --radius: 10px;
  --shadow: 0 4px 24px rgba(26,26,46,0.09);
  --transition: 0.22s ease;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- NAVIGATION --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 2px 12px rgba(26,26,46,0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.nav-dots {
  display: flex;
  gap: 5px;
}
.nav-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot-blue   { background: var(--blue); }
.dot-gold   { background: var(--gold); }
.dot-green  { background: var(--green); }
.dot-purple { background: var(--purple); }

.nav-links {
  display: flex;
  gap: 0.6rem 1.4rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 72%;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mid);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 2px; }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--ink) !important; color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- HERO --- */
.hero {
  padding: 80px 5vw 64px;
  background: linear-gradient(135deg, var(--ink) 0%, #1e2d5a 60%, #2c3d7a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221,178,40,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,101,176,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--gold); }
.hero-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 7px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover { background: #c99e1f; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: #245499; transform: translateY(-1px); }

/* --- SECTIONS --- */
.section {
  padding: 72px 5vw;
}
.section-alt {
  background: var(--soft);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 18px;
}
.section-title span { color: var(--blue); }
.section-intro {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 680px;
  line-height: 1.8;
  margin-bottom: 48px;
}

/* --- DIVIDER --- */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider-dots {
  display: flex;
  gap: 6px;
}
.divider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* --- CARDS --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(26,26,46,0.13); }
.card.blue   { border-top-color: var(--blue); }
.card.gold   { border-top-color: var(--gold); }
.card.green  { border-top-color: var(--green); }
.card.purple { border-top-color: var(--purple); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card.blue .card-icon   { background: var(--blue-lt); }
.card.gold .card-icon   { background: var(--gold-lt); }
.card.green .card-icon  { background: var(--green-lt); }
.card.purple .card-icon { background: var(--purple-lt); }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.card p {
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.75;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: gap var(--transition);
}
.card.blue   .card-link { color: var(--blue); }
.card.gold   .card-link { color: #9a7a15; }
.card.green  .card-link { color: var(--green); }
.card.purple .card-link { color: var(--purple); }
.card-link:hover { gap: 10px; }

/* --- PULL QUOTE / EMPHASIS --- */
.pull-quote {
  border-left: 4px solid var(--gold);
  padding: 20px 28px;
  background: var(--gold-lt);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 40px 0;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

/* --- TWO COLUMN LAYOUT --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.two-col-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.2;
}
.two-col-text p {
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 18px;
}

/* --- SIGNAL LIST (for Recognising Human Signals page) --- */
.signal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.signal-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(26,26,46,0.06);
  transition: box-shadow var(--transition);
}
.signal-item:hover { box-shadow: var(--shadow); }
.signal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.signal-item p {
  font-size: 0.97rem;
  color: var(--mid);
  line-height: 1.7;
}
.signal-item strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

/* --- ECOSYSTEM NAV STRIP --- */
.ecosystem-strip {
  background: var(--ink);
  padding: 40px 5vw;
  color: var(--white);
}
.ecosystem-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ecosystem-strip h3 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ecosystem-link {
  padding: 9px 18px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: all var(--transition);
  white-space: nowrap;
}
.ecosystem-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.ecosystem-link.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* --- CTA BAND --- */
.cta-band {
  padding: 72px 5vw;
  background: linear-gradient(135deg, #1a1a2e 0%, #1e2d5a 100%);
  color: var(--white);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 18px;
}
.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--soft);
  border-top: 1px solid var(--border);
  padding: 48px 5vw 28px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--mid);
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--mid);
  font-weight: 600;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--mid);
}
.footer-legal {
  font-size: 0.8rem;
  color: var(--mid);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 5vw;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 8px 24px rgba(26,26,46,0.1);
    gap: 16px;
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .hero { padding: 56px 5vw 48px; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .footer-top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
