/* ============================================================
   EcoVision Sustainability Foundation — Brand Override CSS
   Imports main ESI stylesheet then overrides colour variables
   and select components with ESF green/amber palette.
   ============================================================ */

@import url('../../css/style.css');

/* ── ESF Colour Palette ── */
:root {
  --navy:      #1F6B38;   /* Forest green  — replaces ESI navy   */
  --teal:      #4DB06A;   /* Medium green  — replaces ESI teal   */
  --mint:      #F5A623;   /* Golden amber  — replaces ESI mint   */
  --dark:      #0D3319;   /* Deep forest   — replaces ESI dark   */
  --light-bg:  #F3F9F5;   /* Soft green bg — replaces ESI light  */
}

/* ── ESF Header ── */
#site-header {
  background: rgba(31, 107, 56, 0.96);
}

#site-header.scrolled {
  background: rgba(13, 51, 25, 0.99);
}

/* ── ESF Hero gradient ── */
.hero::before {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(77,176,106,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,166,35,0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(31,107,56,0.4) 0%, transparent 50%);
}

.page-hero::before {
  background:
    radial-gradient(circle at 30% 50%, rgba(77,176,106,0.2) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(245,166,35,0.1) 0%, transparent 50%);
}

/* ── ESF Mission/Vision card overrides ── */
.mv-card--mission { background: #1F6B38; }
.mv-card--vision  { background: #2D8A50; }

/* ── ESF Featured pub card ── */
.pub-card--featured,
.pub-featured { background: #2D8A50; }

/* ── ESF Stats bar ── */
.stats-bar { background: #1F6B38; }

/* ── ESF About visual card ── */
.about-visual-card { background: #1F6B38; }

/* ── ESF CTA banner ── */
.cta-banner { background: #1F6B38; }
.cta-banner::before {
  background: radial-gradient(circle at 50% 50%, rgba(77,176,106,0.25) 0%, transparent 70%);
}

/* ── ESF Footer ── */
#site-footer { background: #0D3319; }

/* ── Program cards (ESF-specific) ── */
.program-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid #c8e6d0;
  overflow: hidden;
  transition: all var(--transition);
}

.program-card:hover {
  box-shadow: 0 6px 24px rgba(31,107,56,0.15);
  border-color: var(--mint);
  transform: translateY(-4px);
}

.program-card__header {
  background: #1F6B38;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.program-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245,166,35,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.program-card__header h3 {
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.35;
}

.program-card__body {
  padding: 2rem;
}

.program-card__body p {
  font-size: 0.93rem;
  color: var(--grey-700);
  margin-bottom: 1.25rem;
}

.program-card__body ul li {
  font-size: 0.88rem;
  color: var(--grey-700);
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
  border-bottom: 1px solid var(--grey-100);
}

.program-card__body ul li:last-child { border-bottom: none; }

.program-card__body ul li::before {
  content: '🌿';
  position: absolute;
  left: 0;
  font-size: 0.8rem;
  top: 0.4rem;
}

/* ── ESF Impact stats ── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .impact-grid { grid-template-columns: 1fr 1fr; } }

/* ── ESF Nav mobile ── */
.nav__mobile { background: #0D3319; }


/* ── ESF Focus areas strip ── */
.focus-strip {
  background: #1F6B38;
  padding: 4rem 0;
}

.focus-strip .section__header h2,
.focus-strip .section__header p { color: var(--white); }
.focus-strip .section__header p { color: rgba(255,255,255,0.75); }
.focus-strip .accent-line { background: var(--mint); }

.focus-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  color: var(--white);
  transition: all var(--transition);
  text-decoration: none;
}

.focus-chip:hover {
  background: rgba(245,166,35,0.2);
  border-color: var(--mint);
  color: var(--white);
  transform: translateY(-4px);
}

.focus-chip__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.focus-chip h3 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ── ESI link note ── */
.esi-link-note {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #e8f5ec;
  border-radius: var(--radius);
  border-left: 4px solid #4DB06A;
}
