/* Northern Resilience Initiatives - Clean Stylesheet */
:root {
  --green-dark: #002d1a;
  --green-mid: #0d4a2f;
  --green-light: #1a6b45;
  --lime: #a3e635;
  --lime-dark: #84cc16;
  --cream: #f8faf5;
  --white: #ffffff;
  --gray-100: #f1f5f0;
  --gray-200: #e2e8e0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 45, 26, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 45, 26, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--green-dark);
  color: white;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

/* ========== TOP BAR ========== */
.topbar {
  background: var(--green-dark);
  color: white;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar a {
  color: var(--lime);
  font-weight: 600;
}
.topbar a:hover { text-decoration: underline; }

/* ========== HEADER ========== */
.site-header {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand img {
  height: 56px;
  width: auto;
}
.brand-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--green-dark);
  text-transform: uppercase;
  line-height: 1.2;
}
.brand-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #555;
  text-transform: uppercase;
  margin-top: 1px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.primary-nav a {
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 8px;
  transition: all 0.2s;
}
.primary-nav a:hover,
.primary-nav a.active {
  color: var(--green-dark);
  background: var(--gray-100);
}
.primary-nav a.nav-cta {
  background: var(--green-dark);
  color: white;
  margin-left: 0.5rem;
  padding: 0.55rem 1.1rem;
}
.primary-nav a.nav-cta:hover {
  background: var(--green-mid);
  color: white;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== BUTTONS ========== */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.button-lime {
  background: var(--lime);
  color: var(--green-dark);
}
.button-lime:hover {
  background: var(--lime-dark);
  transform: translateY(-1px);
}
.button-dark {
  background: var(--green-dark);
  color: white;
}
.button-dark:hover {
  background: var(--green-mid);
}
.button-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}
.button-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
.text-link:hover { text-decoration: underline; }
.text-link-light { color: var(--lime); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background: var(--green-dark);
}
.hero-video,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 1;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,45,26,0.85) 0%, rgba(0,45,26,0.55) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 4rem 0;
  max-width: 720px;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--green-dark);
}
.eyebrow.light { color: var(--lime); }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--lime);
}
.hero-copy {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  opacity: 0.85;
}
.hero-dot {
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
}

/* ========== SECTIONS ========== */
.section-pad { padding: 4.5rem 0; }

.page-hero {
  background: var(--green-dark);
  color: white;
  padding: 4rem 0 3.5rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--lime);
}
.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 560px;
}

.intro-grid,
.split-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.intro-grid h2,
.split-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--green-dark);
}
.intro-grid h2 em,
.split-content h2 em {
  font-style: italic;
  color: var(--green-light);
}
.lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

/* Consistent body text in split / intro / photo sections */
.intro-text p,
.split-content > div:last-child p,
.photo-section > div p {
  font-size: 1.15rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-family: var(--font);
  font-weight: 400;
}
.intro-text p:last-child,
.split-content > div:last-child p:last-child,
.photo-section > div p:last-child {
  margin-bottom: 0;
}

/* ========== PROGRAM CARDS ========== */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 1rem;
}
.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--green-dark);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.program-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green-light);
  margin-bottom: 1rem;
}
.card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}
.program-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}
.program-card p {
  font-size: 0.95rem;
  color: var(--gray-700);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

/* ========== QUOTE ========== */
.quote-band {
  background: var(--green-dark);
  color: white;
  padding: 3.5rem 0;
  text-align: center;
}
.quote-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--lime);
  opacity: 0.6;
  display: block;
  margin-bottom: -0.5rem;
}
.quote-band blockquote {
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
}

/* ========== VALUES ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.values-grid article {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.values-grid span {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--lime-dark);
  background: #ecfccb;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.values-grid h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
.values-grid p {
  font-size: 0.95rem;
  color: var(--gray-700);
}

/* ========== PROGRAM DETAIL ========== */
.program-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.program-detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.program-detail:last-child { border-bottom: none; }
.program-detail-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lime-dark);
  line-height: 1;
}
.program-detail h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.tag-row span {
  background: var(--gray-100);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

/* ========== IMAGE SECTIONS ========== */
.photo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2.5rem 0;
}
.photo-section img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.photo-section.full {
  grid-template-columns: 1fr;
}
.photo-section.full img {
  height: 400px;
}

.img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.img-grid img {
  border-radius: var(--radius);
  width: 100%;
  height: 260px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ========== CTA ========== */
.cta-section {
  background: var(--green-dark);
  color: white;
  padding: 3.5rem 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2,
.cta-inner h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}

/* ========== FORMS ========== */
.contact-grid,
.involvement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.form-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
}
.form-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}
.form-card label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  margin-top: 1rem;
  color: var(--gray-700);
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: border 0.2s;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(26, 107, 69, 0.15);
}
.form-card .consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  font-size: 0.9rem;
}
.form-card .consent input {
  width: auto;
  margin-top: 0.2rem;
}
.form-submit {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}
.form-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 1rem;
}
.hidden-field { display: none; }

.involvement-option {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.involvement-option > span {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--lime-dark);
  flex-shrink: 0;
}
.involvement-option h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.25rem;
}
.editor-note {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 1.5rem;
}

/* ========== RESOURCES ========== */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.resource-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.resource-icon {
  background: var(--green-dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  flex-shrink: 0;
}
.resource-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
}
.resource-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
}
.resource-status {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}


.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--green-dark);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--green-dark);
  color: white;
  padding: 3.5rem 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand {
  margin-bottom: 1rem;
}
.footer-brand img {
  height: 48px;
  border-radius: 50%;
}
.footer-brand .brand-text strong { color: white; }
.footer-brand .brand-text small { color: var(--lime); }
.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 260px;
  margin-top: 0.75rem;
}
.footer-main h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--lime);
}
.footer-main a {
  display: block;
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
  transition: opacity 0.2s;
}
.footer-main a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 0.85rem;
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ========== THANK YOU ========== */
.thankyou {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.thankyou-mark {
  width: 70px; height: 70px;
  background: var(--lime);
  color: var(--green-dark);
  font-size: 2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.thankyou h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.thankyou h1 em { font-style: italic; color: var(--green-light); }
.thankyou p {
  max-width: 420px;
  color: var(--gray-700);
  margin-bottom: 2rem;
}

/* ========== POLICY ========== */
.policy-copy {
  max-width: 720px;
}
.policy-copy h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 2rem 0 0.75rem;
}
.policy-copy p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

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


/* ========== CONTACT BUTTONS (footer) ========== */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.contact-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}
.contact-btn.whatsapp { background: #25D366; color: white; }
.contact-btn.whatsapp:hover { background: #1ebe57; transform: translateY(-1px); }
.contact-btn.call { background: var(--green-dark); color: white; }
.contact-btn.call:hover { background: var(--green-mid); transform: translateY(-1px); }
.contact-btn.email { background: #ea4335; color: white; }
.contact-btn.email:hover { background: #d33426; transform: translateY(-1px); }
.footer-contact .contact-buttons { margin-top: 0.85rem; }

/* ========== CONTACT CARD LIST (Get Involved / Contact pages) ========== */
.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
  max-width: 420px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  text-decoration: none;
  color: var(--gray-900);
  transition: all 0.2s;
}
.contact-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.contact-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.contact-card-icon.whatsapp-icon { background: #e8f8ef; color: #25D366; }
.contact-card-icon.call-icon { background: #e8f0ec; color: var(--green-dark); }
.contact-card-icon.email-icon { background: #fdecea; color: #ea4335; }
.contact-card-icon.instagram-icon { background: #fceef5; color: #c13584; }
.contact-card-text { flex: 1; min-width: 0; }
.contact-card-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 0.15rem;
}
.contact-card-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-dark);
  word-break: break-all;
}
.contact-card-arrow {
  color: var(--gray-500);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-card:hover .contact-card-arrow { color: var(--green-dark); }

@media (max-width: 900px) {
  .cards-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .intro-grid,
  .split-content,
  .contact-grid,
  .involvement-grid,
  .photo-section {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .program-detail {
    grid-template-columns: 1fr;
  }
  .program-detail-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a {
    width: 100%;
    padding: 0.85rem 1rem;
  }
  .primary-nav a.nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
    justify-content: center;
  }
  .hero { min-height: 75vh; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr; }
  .img-grid { grid-template-columns: 1fr; }
  .resource-item { flex-wrap: wrap; }
  .resource-status { margin-left: 0; margin-top: 0.5rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .button { width: 100%; justify-content: center; }
}

/* ========== CONTACT DETAILS & SOCIAL ========== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}
.contact-details a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lime);
  font-weight: 600;
  opacity: 1;
}
.contact-details a:hover {
  text-decoration: underline;
}
.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: center;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  transition: background 0.2s, transform 0.2s;
}
.social-icon:hover {
  background: var(--lime);
  color: var(--green-dark);
  transform: translateY(-2px);
  text-decoration: none !important;
  opacity: 1 !important;
}
.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Mission / Vision cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.mv-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
}
.mv-card h3 {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.mv-card p {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.65;
}
.motto-band {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--cream);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.motto-band p {
  font-size: 1.35rem;
  font-style: italic;
  color: var(--green-dark);
  font-weight: 600;
}
@media (max-width: 900px) {
  .mv-grid { grid-template-columns: 1fr; }
}

/* ========== PROFESSIONAL ANIMATIONS ========== */

/* Core keyframes */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes softScale {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero entrance (homepage) */
.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-copy,
.hero-content .hero-actions,
.hero-content .hero-note {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-content .eyebrow { animation-delay: 0.12s; }
.hero-content h1 { animation-delay: 0.28s; }
.hero-content .hero-copy { animation-delay: 0.48s; }
.hero-content .hero-actions { animation-delay: 0.64s; }
.hero-content .hero-note { animation-delay: 0.82s; }

/* Page heroes */
.page-hero .eyebrow,
.page-hero h1,
.page-hero p {
  opacity: 0;
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-hero .eyebrow { animation-delay: 0.1s; }
.page-hero h1 { animation-delay: 0.28s; }
.page-hero p { animation-delay: 0.46s; }

/* Motto band */
.motto-band {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.motto-band.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards & grid items – staggered soft scale */
.reveal-card {
  opacity: 0;
  transform: scale(0.97) translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
  will-change: opacity, transform;
}
.reveal-card.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Images – professional scale + fade */
.reveal-img {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-img.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Photo section side content */
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Quote band */
.quote-band .quote-inner {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.quote-band.is-visible .quote-inner {
  opacity: 1;
  transform: translateY(0);
}

/* CTA section */
.cta-section .cta-inner {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-section.is-visible .cta-inner {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced image hover (photos) */
.img-grid img,
.photo-section img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}
.img-grid img:hover,
.photo-section img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(0, 45, 26, 0.18);
}

/* Program / value cards hover refinement */
.program-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.3s ease;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.values-grid article {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
}
.values-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Buttons refined motion */
.button {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}

/* Nav link subtle underline motion */
.primary-nav a:not(.nav-cta) {
  position: relative;
}
.primary-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--green-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a:not(.nav-cta).active::after {
  transform: scaleX(1);
}

/* Stagger helpers (applied via JS data-delay or nth) */
.reveal-card:nth-child(1) { transition-delay: 0.05s; }
.reveal-card:nth-child(2) { transition-delay: 0.12s; }
.reveal-card:nth-child(3) { transition-delay: 0.19s; }
.reveal-card:nth-child(4) { transition-delay: 0.26s; }
.reveal-card:nth-child(5) { transition-delay: 0.33s; }
.reveal-card:nth-child(6) { transition-delay: 0.40s; }

.img-grid .reveal-img:nth-child(1) { transition-delay: 0.08s; }
.img-grid .reveal-img:nth-child(2) { transition-delay: 0.2s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content .hero-copy,
  .hero-content .hero-actions,
  .hero-content .hero-note,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p,
  .motto-band,
  .reveal,
  .reveal-card,
  .reveal-img,
  .reveal-left,
  .reveal-right,
  .quote-band .quote-inner,
  .cta-section .cta-inner {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .img-grid img:hover,
  .photo-section img:hover,
  .program-card:hover,
  .values-grid article:hover,
  .button:hover {
    transform: none;
  }

  .primary-nav a:not(.nav-cta)::after {
    display: none;
  }
}
