/* =====================================================
   AIRG INSTITUTE — Global Stylesheet
   Colors: Navy #0A2342 | Gold #C8A96B | White #FFFFFF
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy: #0A2342;
  --navy-dark: #071929;
  --navy-light: #12325e;
  --gold: #C8A96B;
  --gold-light: #dfc48e;
  --white: #FFFFFF;
  --off-white: #F8F8F6;
  --light-gray: #F2F3F5;
  --mid-gray: #D0D3D8;
  --text-gray: #4A4F5A;
  --text-dark: #1A1E26;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', Arial, sans-serif;
  --max-width: 1160px;
  --section-pad: 80px 0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--navy); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; color: var(--navy); }
h3 { font-size: 1.25rem; font-weight: 600; color: var(--navy); }
p  { margin-bottom: 1.25rem; color: var(--text-gray); }
p:last-child { margin-bottom: 0; }

/* ── NAV ────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; max-width: var(--max-width); margin: 0 auto; height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; color: var(--white);
  font-family: var(--font-body); font-weight: 600; letter-spacing: 0.04em;
}
.nav-logo .logo-mark {
  width: 40px; height: 40px; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  color: var(--navy); letter-spacing: 0;
}
.nav-logo .logo-text { font-size: 0.8rem; line-height: 1.3; white-space: nowrap; }
.nav-logo .logo-text span { display: block; color: var(--gold); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.82); font-size: 0.78rem; font-weight: 500;
  padding: 7px 10px; border-radius: 4px; transition: all 0.2s;
  letter-spacing: 0.03em; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); background: rgba(255,255,255,0.07); }

.nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 7px 16px !important; border-radius: 4px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; }

/* ── CREDIBILITY STRIP ──────────────────────────────── */
.cred-strip {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(200,169,107,0.3);
  padding: 10px 0;
  text-align: center;
}
.cred-strip p {
  color: rgba(255,255,255,0.7); font-size: 0.78rem; letter-spacing: 0.08em;
  margin: 0; text-transform: uppercase;
}
.cred-strip strong { color: var(--gold); font-weight: 600; }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,169,107,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 780px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--gold);
}
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 24px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero .lead {
  color: rgba(255,255,255,0.75); font-size: 1.15rem; line-height: 1.75;
  margin-bottom: 40px; max-width: 640px;
}
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-primary {
  background: var(--gold); color: var(--navy); font-weight: 600;
  padding: 14px 32px; border-radius: 4px; font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s; display: inline-block;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.4); color: var(--white);
  padding: 13px 30px; border-radius: 4px; font-size: 0.95rem; font-weight: 500;
  transition: all 0.2s; display: inline-block; font-family: var(--font-body);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy {
  background: var(--navy); color: var(--white); font-weight: 600;
  padding: 14px 32px; border-radius: 4px; font-size: 0.95rem;
  transition: background 0.2s; display: inline-block; border: 2px solid var(--navy);
  font-family: var(--font-body);
}
.btn-navy:hover { background: var(--navy-light); color: var(--white); }

/* ── MISSION STRIP ──────────────────────────────────── */
.mission-strip { background: var(--gold); padding: 40px 0; }
.mission-strip p {
  color: var(--navy); font-size: 1.05rem; font-weight: 500; text-align: center;
  max-width: 820px; margin: 0 auto; line-height: 1.7;
}

/* ── SECTIONS ───────────────────────────────────────── */
section { padding: var(--section-pad); }
.section-light { background: var(--white); }
.section-gray  { background: var(--off-white); }
.section-navy  { background: var(--navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.75); }

.section-header { margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block; color: var(--gold); font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header .lead { font-size: 1.05rem; max-width: 620px; color: var(--text-gray); }
.section-header.centered { text-align: center; }
.section-header.centered .lead { margin: 0 auto; }

/* ── PILLARS / CARDS ────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar-card {
  background: var(--white); border: 1px solid var(--mid-gray);
  border-top: 4px solid var(--gold); padding: 36px 28px; border-radius: 4px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pillar-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }
.pillar-icon {
  width: 48px; height: 48px; background: rgba(200,169,107,0.12);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.4rem;
}
.pillar-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.pillar-card p { font-size: 0.92rem; margin: 0; }

/* ── ERAC BANNER ────────────────────────────────────── */
.erac-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  border-left: 6px solid var(--gold); padding: 48px 56px; border-radius: 4px;
}
.erac-banner h2 { color: var(--white); margin-bottom: 12px; }
.erac-banner p  { color: rgba(255,255,255,0.78); margin-bottom: 28px; }

/* ── STATS ROW ──────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--mid-gray); }
.stat-box { background: var(--navy); padding: 40px 28px; text-align: center; }
.stat-num  { font-family: var(--font-heading); font-size: 2.6rem; color: var(--gold); font-weight: 700; display: block; }
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; }

/* ── PUB CARDS ──────────────────────────────────────── */
.pub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pub-card {
  background: var(--white); border: 1px solid var(--mid-gray);
  padding: 32px 28px; border-radius: 4px; display: flex; flex-direction: column;
}
.pub-tag {
  display: inline-block; background: rgba(200,169,107,0.15); color: var(--gold);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; margin-bottom: 16px; width: fit-content;
}
.pub-card h3 { font-size: 1.05rem; margin-bottom: 12px; flex: 1; }
.pub-card p  { font-size: 0.9rem; margin-bottom: 20px; }
.pub-link { color: var(--gold); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; }
.pub-link:hover { color: var(--navy); }

/* ── VALUES GRID ────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value-item { text-align: center; padding: 28px 16px; }
.value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-item h3 { font-size: 0.95rem; margin-bottom: 8px; }
.value-item p  { font-size: 0.85rem; }

/* ── SERVICES LIST ──────────────────────────────────── */
.services-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-item {
  background: var(--white); border: 1px solid var(--mid-gray);
  border-left: 4px solid var(--gold); padding: 24px 28px; border-radius: 0 4px 4px 0;
}
.service-item h3 { font-size: 1rem; margin-bottom: 6px; }
.service-item p  { font-size: 0.88rem; margin: 0; }

/* ── ERAC PILLARS ───────────────────────────────────── */
.erac-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.erac-pillar {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(200,169,107,0.25);
  padding: 32px 28px; border-radius: 4px;
}
.erac-pillar h3 { color: var(--gold); font-size: 1rem; margin-bottom: 10px; }
.erac-pillar p  { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin: 0; }

/* ── INVOLVE GRID ───────────────────────────────────── */
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.involve-card {
  background: var(--white); border: 1px solid var(--mid-gray);
  padding: 32px 28px; border-radius: 4px; text-align: center;
}
.involve-icon { font-size: 2.4rem; margin-bottom: 16px; }
.involve-card h3 { margin-bottom: 10px; }
.involve-card p  { font-size: 0.9rem; margin-bottom: 20px; }

/* ── CONTACT FORM ───────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-detail-icon { font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.contact-detail h3 { font-size: 0.85rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact-detail p  { font-size: 0.95rem; margin: 0; color: var(--text-dark); }
.contact-form-wrap { background: var(--off-white); padding: 48px; border-radius: 4px; }
.contact-form-wrap h2 { margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; border: 1px solid var(--mid-gray);
  border-radius: 4px; padding: 12px 16px; font-family: var(--font-body);
  font-size: 0.95rem; color: var(--text-dark); background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 15px; background: var(--navy); color: var(--white); border: none; border-radius: 4px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; letter-spacing: 0.02em; }
.form-submit:hover { background: var(--navy-light); }

/* ── FOUNDER SECTION ────────────────────────────────── */
.founder-layout { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; }
.founder-photo {
  width: 200px; height: 200px; background: var(--navy);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; flex-shrink: 0; border: 4px solid var(--gold);
}
.founder-creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.cred-badge {
  background: rgba(200,169,107,0.12); border: 1px solid rgba(200,169,107,0.4);
  color: var(--navy); font-size: 0.75rem; font-weight: 600; padding: 4px 12px;
  border-radius: 2px; letter-spacing: 0.04em;
}

/* ── INLINE HIGHLIGHT ───────────────────────────────── */
.highlight-box {
  background: rgba(200,169,107,0.1); border-left: 4px solid var(--gold);
  padding: 24px 28px; border-radius: 0 4px 4px 0; margin: 32px 0;
}
.highlight-box p { font-size: 1.05rem; font-style: italic; color: var(--text-dark); margin: 0; }

/* ── DIVIDER ────────────────────────────────────────── */
.gold-divider { border: none; border-top: 2px solid var(--gold); margin: 48px 0; opacity: 0.4; }

/* ── NEWSLETTER ─────────────────────────────────────── */
.newsletter-form { display: flex; gap: 12px; max-width: 480px; }
.newsletter-form input { flex: 1; padding: 13px 16px; border: 2px solid rgba(255,255,255,0.2); border-radius: 4px; background: rgba(255,255,255,0.08); color: white; font-family: var(--font-body); font-size: 0.95rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-form button { padding: 13px 28px; background: var(--gold); color: var(--navy); border: none; border-radius: 4px; font-weight: 600; font-family: var(--font-body); cursor: pointer; font-size: 0.95rem; white-space: nowrap; }

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer { background: var(--navy-dark); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-mark { width: 48px; height: 48px; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.1rem; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; max-width: 280px; }
.footer-brand .tagline { color: var(--gold); font-style: italic; font-size: 0.88rem; margin-top: 12px; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin: 0; }

/* ── PAGE HERO (inner pages) ────────────────────────── */
.page-hero { background: var(--navy); padding: 72px 0 56px; }
.page-hero .eyebrow { color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .lead { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 620px; margin: 0; }

/* ── BREADCRUMB ─────────────────────────────────────── */
.breadcrumb { background: var(--light-gray); padding: 12px 0; border-bottom: 1px solid var(--mid-gray); }
.breadcrumb p { font-size: 0.8rem; color: var(--text-gray); margin: 0; }
.breadcrumb a { color: var(--navy); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold); }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pub-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .services-list { grid-template-columns: 1fr; }
  .erac-pillars { grid-template-columns: 1fr; }
  .involve-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .involve-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .founder-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .erac-banner { padding: 32px 28px; }
  .contact-form-wrap { padding: 28px; }
  .newsletter-form { flex-direction: column; }
}
