/* =========================================================
   Global Education Alliance — Site Stylesheet
   Design tokens
   Navy   #1F3E6D   deep, institutional
   Teal   #2F9C90   the "bridge" accent, from the GEA mark
   Gold   #C79A4B   the compass / achievement accent
   Ink    #16213A   near-black text on light
   Paper  #FBFAF7   base background (soft, not stark white)
   Mist   #EEF2F4   section tint
   ========================================================= */

:root{
  --navy: #1F3E6D;
  --navy-deep: #142A4B;
  --teal: #2F9C90;
  --teal-deep: #1F6E66;
  --gold: #C79A4B;
  --gold-deep: #A87C31;
  --ink: #16213A;
  --ink-soft: #4A5568;
  --paper: #FBFAF7;
  --mist: #EFF3F3;
  --line: #DDE3E1;
  --white: #FFFFFF;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --radius: 4px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--navy-deep); }
p{ margin: 0 0 1em; }
.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

:focus-visible{ outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark{ color: #9FD9D1; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,250,247,.98);
  border-bottom: 1px solid var(--line);
}
.nav-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img{ height: 46px; width: auto; }
.brand-text{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy-deep);
  line-height: 1.2;
}
.brand-text span{
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-top: 2px;
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"]{
  color: var(--navy-deep);
  border-bottom-color: var(--gold);
}
.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 42px;
  height: 38px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-deep);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-gold{ background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover{ background: var(--gold-deep); color: var(--white); }
.btn-outline-light{ border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-light:hover{ background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline-navy{ border-color: var(--navy); color: var(--navy-deep); }
.btn-outline-navy:hover{ background: var(--navy-deep); color: var(--white); }

/* ---------- Hero (page-level) ---------- */
.page-hero{
  position: relative;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 62%, var(--teal-deep) 130%);
  color: var(--white);
  overflow: hidden;
  padding: 86px 0 74px;
}
.page-hero .container{ position: relative; z-index: 2; }
.page-hero h1{ color: var(--white); font-size: clamp(34px, 5vw, 54px); max-width: 820px; }
.page-hero .lede{ color: rgba(255,255,255,.82); font-size: 18px; max-width: 640px; }
.page-hero .breadcrumb{
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.page-hero .breadcrumb a:hover{ color: var(--white); }

/* signature arc motif */
.arc-motif{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
}
.arc-motif svg{ width: 100%; height: 100%; }

/* ---------- Sections ---------- */
section{ padding: 84px 0; }
.section-tight{ padding: 60px 0; }
.section-mist{ background: var(--mist); }
.section-navy{ background: var(--navy-deep); color: var(--white); }
.section-navy h2, .section-navy h3{ color: var(--white); }
.section-head{ max-width: 700px; margin-bottom: 46px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 40px); }
.section-head p{ color: var(--ink-soft); font-size: 17px; }
.section-navy .section-head p{ color: rgba(255,255,255,.75); }

/* ---------- Grids & cards ---------- */
.grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3{ display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4{ display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.card h3{ font-size: 20px; }
.card p{ color: var(--ink-soft); font-size: 15.5px; margin-bottom: 0; }
.card .num{
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: .04em;
}

/* ---------- Link cards (icon + heading + arrow) ---------- */
.link-card{
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.link-card:hover{
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -22px rgba(20,42,75,.35);
}
.link-card .icon-circle{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.link-card h3{ font-size: 19px; margin-bottom: 8px; }
.link-card p{ color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }
.link-card .go{
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-card .go svg{ transition: transform .2s ease; }
.link-card:hover .go svg{ transform: translateX(3px); }

.stat{
  text-align: center;
  padding: 18px 10px;
}
.stat .figure{
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 600;
  color: var(--gold);
}
.stat .label{
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-top: 6px;
}

/* ---------- Photo frame ---------- */
.photo-frame{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 46px -22px rgba(20,42,75,.35);
}
.photo-frame img{ width: 100%; height: 100%; object-fit: cover; }
figure{ margin: 0; }
figcaption{
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 10px;
  line-height: 1.5;
}

/* ---------- Lists with markers ---------- */
.check-list li{
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink-soft);
}
.check-list li:last-child{ border-bottom: none; }
.check-list li::before{
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.section-navy .check-list li{ color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.14); }

/* ---------- Team ---------- */
.team-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.team-card .initials{
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 18px;
}
.team-card h3{ font-size: 18px; margin-bottom: 2px; }
.team-card .role{ font-size: 13.5px; color: var(--teal-deep); font-weight: 600; margin-bottom: 12px; }
.team-card p{ font-size: 14.5px; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Partner lists ---------- */
.partner-list{ display: grid; grid-template-columns: 1fr 1fr; gap: 2px 32px; }
.partner-list li{
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.partner-list li .mark{
  font-family: var(--serif);
  color: var(--gold-deep);
  font-size: 13px;
}
.note-box{
  border-left: 3px solid var(--gold);
  background: var(--mist);
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 22px;
}

/* ---------- Gallery ---------- */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.gallery-item .photo-frame{ border: none; box-shadow: none; border-radius: 0; aspect-ratio: 4 / 3; }
.gallery-item .photo-frame img{ width: 100%; height: 100%; object-fit: cover; }
.gallery-item .gtext{ padding: 16px 18px 20px; flex: 1; }
.gallery-item .gtext p{ font-size: 14px; color: var(--ink-soft); margin: 0; }

.press-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.press-chip{
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.press-chip::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--teal); }

/* ---------- Testimonial ---------- */
.testimonial{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 46px;
  position: relative;
}
.testimonial .quote-mark{
  font-family: var(--serif);
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.testimonial p.quote{
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy-deep);
  line-height: 1.5;
  margin-bottom: 22px;
}
.testimonial .attrib{ font-size: 14.5px; color: var(--ink-soft); }
.testimonial .attrib strong{ color: var(--ink); display: block; font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.contact-card .icon{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--mist);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--teal-deep);
}
.contact-card h3{ font-size: 16px; letter-spacing: .02em; }
.contact-card a, .contact-card .val{ font-size: 15.5px; color: var(--ink-soft); }
.contact-card a:hover{ color: var(--teal-deep); }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 54px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2{ color: var(--white); margin-bottom: 8px; font-size: 28px; }
.cta-band p{ color: rgba(255,255,255,.75); margin: 0; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 60px 0 26px;
  margin-top: 90px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand{ display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img{ height: 40px; }
.footer-brand span{ font-family: var(--serif); color: var(--white); font-size: 17px; font-weight: 600; }
.site-footer p{ font-size: 14.5px; }
.site-footer h4{ color: var(--white); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul li{ margin-bottom: 10px; font-size: 14.5px; }
.site-footer ul li a:hover{ color: var(--white); }
.footer-bottom{
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */
.mt-0{ margin-top: 0; }
.text-center{ text-align: center; }
.tag-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.tag{
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .grid-2{ grid-template-columns: 1fr; gap: 34px; }
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .grid-4{ grid-template-columns: 1fr 1fr; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .partner-list{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px){
  .nav-links{
    position: fixed; inset: 66px 0 0 0;
    z-index: 200;
    background: var(--paper);
    opacity: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
    gap: 8px;
    transform: translateY(-12px);
    visibility: hidden;
    pointer-events: none;
    transition: transform .2s ease, visibility .2s ease;
    border-top: 1px solid var(--line);
  }
  .nav-links.open{ transform: translateY(0); visibility: visible; pointer-events: auto; }
  .nav-links a{ width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle{ display: flex; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .cta-band{ flex-direction: column; align-items: flex-start; }
  .testimonial{ padding: 32px 26px; }
}
