/* ================================================
   PROGRAM PAGES — SHARED CSS
   Paste into each program's CSS file OR link as
   a separate stylesheet after your main stylesheet.
   All classes prefixed with .pg- to avoid conflicts.
   ================================================ */

/* ---- HERO ---- */
.pg-hero {
  position: relative;
  width: 100%;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.pg-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.pg-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 30, 12, 0.92) 0%,
    rgba(10, 30, 12, 0.65) 45%,
    rgba(10, 30, 12, 0.15) 100%
  );
  z-index: 1;
}

.pg-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 8% 70px;
  max-width: 780px;
}

.pg-hero__tag {
  display: inline-block;
  background: #3cbe71;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.pg-hero__content h1 {
  font-family: "Julius Sans One", sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1.05;
  color: #fff;
  margin: 0 0 20px 0;
  text-align: left;
  letter-spacing: -0.01em;
}

.pg-hero__content p {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 0 36px 0;
  line-height: 1.75;
  text-align: left;
}

.pg-hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pg-btn-primary {
  background: #2a7d2e;
  color: #fff;
  padding: 13px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.pg-btn-primary:hover { background: #1f5e22; transform: translateY(-2px); }

.pg-btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 11px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.pg-btn-outline:hover { background: #fff; color: #111; }

/* ---- BREADCRUMB ---- */
.pg-breadcrumb {
  padding: 16px 8%;
  background: #f7fdf8;
  border-bottom: 1px solid #e0f0e2;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  color: #666;
}
.pg-breadcrumb a { color: #2a7d2e; text-decoration: none; }
.pg-breadcrumb a:hover { text-decoration: underline; }
.pg-breadcrumb span { margin: 0 8px; color: #aaa; }

/* ---- INTRO BAND ---- */
.pg-intro {
  background: #fff;
  padding: 70px 8%;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 100%;
  box-sizing: border-box;
}

.pg-intro__left {
  flex: 0 0 38%;
  position: sticky;
  top: 100px;
}

.pg-intro__eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2a7d2e;
  margin-bottom: 14px;
  display: block;
}

.pg-intro__left h2 {
  font-family: "Julius Sans One", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: #111;
  line-height: 1.15;
  text-align: left;
  margin-bottom: 20px;
}

.pg-intro__line {
  width: 50px;
  height: 3px;
  background: #2a7d2e;
  margin-bottom: 24px;
}

.pg-intro__stat {
  margin-top: 36px;
  padding: 24px;
  background: #f0faf3;
  border-left: 3px solid #2a7d2e;
  border-radius: 0 8px 8px 0;
}

.pg-intro__stat strong {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #2a7d2e;
}

.pg-intro__stat span {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
}

.pg-intro__right {
  flex: 1;
}

.pg-intro__right p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.85;
  text-align: left;
  margin-bottom: 20px;
}

/* ---- SITUATION / SOLUTION ALTERNATING ---- */
.pg-section {
  padding: 80px 8%;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.pg-section--light { background: #fff; }
.pg-section--tinted { background: #f7fdf8; }
.pg-section--dark { background: #0d1f10; }

.pg-section__inner {
  display: flex;
  gap: 60px;
  align-items: center;
}

.pg-section__inner.reverse { flex-direction: row-reverse; }

.pg-section__image {
  flex: 0 0 46%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.pg-section__image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.pg-section__text { flex: 1; }

.pg-section__label {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2a7d2e;
  border: 1.5px solid #2a7d2e;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.pg-section--dark .pg-section__label {
  color: #3cbe71;
  border-color: #3cbe71;
}

.pg-section__text h2 {
  font-family: "Julius Sans One", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: #111;
  line-height: 1.15;
  text-align: left;
  margin-bottom: 20px;
}

.pg-section--dark .pg-section__text h2 { color: #fff; }

.pg-section__text p {
  font-family: 'Lato', sans-serif;
  font-size: 0.96rem;
  color: #444;
  line-height: 1.85;
  text-align: left;
  margin-bottom: 16px;
}

.pg-section--dark .pg-section__text p { color: rgba(255,255,255,0.75); }

/* ---- OUTCOMES GRID ---- */
.pg-outcomes {
  padding: 80px 8%;
  background: #fff;
  box-sizing: border-box;
}

.pg-outcomes__header {
  margin-bottom: 48px;
}

.pg-outcomes__header h2 {
  font-family: "Julius Sans One", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: #111;
  text-align: left;
  margin-bottom: 12px;
}

.pg-outcomes__header p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #555;
  text-align: left;
  max-width: 560px;
  line-height: 1.7;
}

.pg-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pg-outcome-card {
  background: #f7fdf8;
  border: 1px solid #d4edda;
  border-radius: 10px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.pg-outcome-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(to right, #2a7d2e, #3cbe71);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.pg-outcome-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(42,125,46,0.1); }
.pg-outcome-card:hover::before { transform: scaleX(1); }

.pg-outcome-card__icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.pg-outcome-card h3 {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  text-align: left;
  letter-spacing: 0.01em;
}

.pg-outcome-card p {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
  text-align: left;
}

/* ---- CTA BAND ---- */
.pg-cta {
  background: linear-gradient(135deg, #2a7d2e 0%, #1a5220 60%, #0d2e10 100%);
  padding: 80px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.pg-cta__text h2 {
  font-family: "Julius Sans One", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  color: #fff;
  text-align: left;
  margin-bottom: 14px;
  line-height: 1.1;
}

.pg-cta__text p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  text-align: left;
  max-width: 480px;
  line-height: 1.75;
}

.pg-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.pg-cta .pg-btn-primary {
  background: #fff;
  color: #2a7d2e;
}
.pg-cta .pg-btn-primary:hover { background: #e8f5e9; }

.pg-cta .pg-btn-outline {
  border-color: rgba(255,255,255,0.5);
}

/* ---- PROGRAM NAV (sidebar links) ---- */
.pg-sidenav {
  padding: 50px 8%;
  background: #f7fdf8;
  border-top: 1px solid #e0f0e2;
}

.pg-sidenav h3 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2a7d2e;
  margin-bottom: 20px;
  text-align: left;
}

.pg-sidenav__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pg-sidenav__links li a {
  display: inline-block;
  padding: 10px 20px;
  border: 1.5px solid #c8e6c9;
  border-radius: 30px;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  color: #2a7d2e;
  text-decoration: none;
  background: #fff;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pg-sidenav__links li a:hover,
.pg-sidenav__links li a.active {
  background: #2a7d2e;
  color: #fff;
  border-color: #2a7d2e;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 900px) {
  .pg-intro { flex-direction: column; gap: 40px; }
  .pg-intro__left { position: static; flex: 0 0 auto; width: 100%; }
  .pg-section__inner, .pg-section__inner.reverse { flex-direction: column; gap: 30px; }
  .pg-section__image { flex: 0 0 auto; width: 100%; }
  .pg-outcomes__grid { grid-template-columns: repeat(2, 1fr); }
  .pg-cta { flex-direction: column; text-align: left; }
}

@media (max-width: 600px) {
  .pg-hero__content { padding: 0 24px 50px; }
  .pg-hero__content h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .pg-intro, .pg-section, .pg-outcomes, .pg-cta { padding: 50px 24px; }
  .pg-outcomes__grid { grid-template-columns: 1fr; }
  .pg-hero__btns { flex-direction: column; }
  .pg-btn-primary, .pg-btn-outline { width: 100%; text-align: center; box-sizing: border-box; }
  .pg-cta__actions { flex-direction: column; width: 100%; }
  .pg-cta__actions a { text-align: center; }
  .pg-section__image img { height: 260px; }
}

/*expected outcome image*/
.pg-outcomes__top {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 48px;
}

.pg-outcomes__header {
  flex: 1;
  margin-bottom: 0;
}

.pg-outcomes__side-image {
  flex: 0 0 42%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.pg-outcomes__side-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .pg-outcomes__top {
    flex-direction: column;
    gap: 28px;
  }
  .pg-outcomes__side-image {
    flex: 0 0 auto;
    width: 100%;
  }
  .pg-outcomes__side-image img {
    height: 240px;
  }
}