body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: #f9f6ef;
  color: #333;
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 720px;
}

.hero-header img {
  width: 100%;
  display: block;
}




/* MAIN NAV BAR (BELOW HERO IMAGE) */
.main-nav-bar {
  background-color: #b3b27a;
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 16px 0;
}

.main-nav-bar a {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.hero {
  position: relative;
  padding: 80px 20px 140px;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  box-shadow: inset 0 -40px 40px -40px rgba(0, 0, 0, 0.05);
}

/* Soft overlay so image never dominates text */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(252, 248, 240, 0.75),
    rgba(252, 248, 240, 0.9)
  );
}



/* Keep text above overlay */
.hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  color: #2f2f2f;
}

.hero p {
  font-size: 1.1rem;
  color: #444;
}




/* INTRO */
.intro {
  text-align: center;
  padding: 80px 0 60px;
}

.intro h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.intro-text {
  font-size: 18px;
}

/* HIGHLIGHTS */
.highlights {
  padding: 70px 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.highlight-card {
  background: #f1ede3;
  padding: 32px;
  border-radius: 6px;
}

.highlight-card h3 {
  margin-top: 0;
}


/* WHO WE ARE SECTION */

.who-we-are {
  background-color: #fbf7ef;
  padding: 60px 20px;  
}

.who-we-are-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.who-we-are-image {
  display: flex;
  align-items: stretch;
}

.who-we-are-image img {
  width: 100%;
  height: 100%;
  max-height: 420px;        /* KEY: controls length */
  object-fit: cover;
  display: block;
  border-radius: 6px;
}


.who-we-are-content h2 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.who-we-are-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.who-we-are-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;       /* important */
}


/* WHAT WE DO SECTION */

.what-we-do {
  background-color: #f3efe6;
  padding: 70px 20px;
}

.what-we-do-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 64px;
  align-items: stretch; /* KEY: makes image follow content height */
}

/* TEXT */

.what-we-do-content h2 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.what-we-do-content ul {
  padding-left: 20px;
}

.what-we-do-content li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* IMAGE */

.what-we-do-image {
  display: flex;
  align-self: center;
}

.what-we-do-image img {
  width: 100%;
  height: 100%;
  max-height: 340px;      /* controls length */
  object-fit: cover;
  border-radius: 6px;
  display: block;
}



/* RESPONSIVE STACKING */

@media (max-width: 900px) {
  .who-we-are-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .who-we-are {
    padding: 80px 20px;
  }
}



/* SECTIONS */
.section {
  padding: 80px 0;
}

.soft-bg {
  background: #f1ede3;
}

h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.what-we-do {
  padding-left: 20px;
}

.what-we-do li {
  margin-bottom: 10px;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 20px 0 14px;
  font-size: 14px;
  color: #333;
}


.support-approach {
  background-color: #f4efe6;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding: 2.5rem 1.5rem 4rem;
  margin-top: -1rem;
}

.support-approach__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 1024px) {
  .support-approach {
    padding-top: 2rem;
  }
}


.support-approach__heading {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #2b2b2b;
}

.support-approach__subheading {
  line-height: 1.7;
  font-size: 1.1rem;
  color: #555;
  max-width: 620px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.support-approach__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.support-card {
  background-color: #f2ede4;
  padding: 2.25rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;  
  text-align: left;
}

.support-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
  color: #2b2b2b;  
}

.support-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #3f3f3f;  
}

@media (hover: hover) {
  .support-card:hover {
    transform: translateY(-2px);
  }
}


.support-card::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  margin-bottom: 1rem;
}


/* Keeps content away from screen extremes */
.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 40px;
}

.footer-logo {
  max-height: 100px;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo img {
  width: 120px;   /* was likely ~70–80px */
  max-width: 100%;
  height: auto;
}


.footer-center {
  text-align: center;
  font-size: 15px;
}

.footer-right {
  text-align: right;
  font-size: 13px;
  line-height: 1.4;
}

.footer-right p {
  margin: 0;
}

/* Bottom section */
.footer-bottom {
  margin-top: 14px;
  text-align: center;
}

.footer-email {
  margin-bottom: 6px;
}

.footer-email a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.footer-copy {
  font-size: 12px;
  color: #777;
}

.footer-center strong {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2b2b2b;
  display: inline-block;
}


/* WHY THIS MATTERS SECTION */
.why-matters-section {
  background-color: #efe9dd; /* slightly deeper than previous section */
  padding: 80px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.why-matters-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

/* IMAGE */
.why-matters-image img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
  filter: contrast(0.95) brightness(1.02);
}

/* TEXT */
.why-matters-content h2 {
  margin-bottom: 20px;
}

.why-matters-content p {
  margin-bottom: 16px;
}

/* MOBILE STACK */
@media (max-width: 768px) {
  .why-matters-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-matters-section {
    padding: 56px 20px;
  }
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-header {
    height: 200px;
  }

  .main-nav-bar {
    flex-wrap: wrap;
    gap: 20px;
    padding: 14px 10px;
  }

  .main-nav-bar a {
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  .what-we-do-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .what-we-do-image img {
    max-height: 300px;
  }

  .what-we-do {
    padding: 50px 20px;
  }
}

@media (max-width: 900px) {
  .what-we-do-image img {
    max-height: 280px;
  }
}




/* =========================
   ABOUT PAGE STYLES
========================= */

.about-intro {
  background: #f4f8f6;
  padding: 20px 20px;
  text-align: center;
}

.about-intro-inner {
  max-width: 900px;
  margin: 0 auto;
}

.about-intro h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.about-story,
.about-impact,
.about-vision {
  padding: 20px 20px;
}

.about-story-inner,
.about-impact-inner,
.about-vision-inner,
.about-abuse-types-inner,
.about-team-inner {
  max-width: 900px;
  margin: 0 auto;
}

.about-abuse-types {
  background: #ffffff;
  padding: 20px 20px;
}

.about-abuse-types ul,
.about-vision ul {
  margin-top: 20px;
  padding-left: 20px;
}

.about-abuse-types li,
.about-vision li {
  margin-bottom: 10px;
}

/* Our Vision – background highlight */
.about-vision {
  background-color: #edf2ef; /* soft, calm green-grey */
  padding: 20px 20px;
}


.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin: 40px 0;
  text-align: center;
}

.impact-stat strong {
  display: block;
  font-size: 2.2rem;
  color: #1f6b4a;
}

.about-team-placeholder {
  background: #f4f8f6;
  padding: 20px 20px;
  text-align: center;
}

.main-nav-bar a.active {
  border-bottom: 3px solid #1f6b4a;
}


/* =========================
   CONTACT PAGE STYLES
========================= */

.contact-intro {
  background: #f4f8f6;
  padding: 20px 20px;
  text-align: center;
}

.contact-intro-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-details {
  padding: 60px 20px;
}

.contact-details-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  padding: 30px;
}

.contact-card h2 {
  margin-bottom: 12px;
}

.contact-card a {
  color: #1f6b4a;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #555;
}

.contact-reassurance {
  background: #edf2ef;
  padding: 40px 20px;
}

.contact-reassurance-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
}

.main-nav-bar a.active {
  border-bottom: 3px solid #1f6b4a;
}


/* =========================
   POLICIES PAGE STYLES
========================= */

.policies-intro {
  background: #f4f8f6;
  padding: 20px 20px;
  text-align: center;
}

.policies-intro-inner {
  max-width: 800px;
  margin: 0 auto;
}

.policy-section {
  padding: 20px 20px;
}

.policy-section.alt-bg {
  background: #edf2ef;
}

.policy-inner {
  max-width: 900px;
  margin: 0 auto;
}

.policy-inner h2 {
  margin-bottom: 16px;
}

.policy-inner p {
  margin-bottom: 14px;
}

.policy-inner ul {
  margin-top: 12px;
  padding-left: 20px;
}

.policy-inner li {
  margin-bottom: 8px;
}

/* Our Work – Community Workshops */
/* Our Work page */
.our-work-section {
  padding: 30px 20px;
}

.our-work-section.alt-bg {
  background: #faf7f2;
}

.our-work-inner {
  max-width: 900px;
  margin: 0 auto;
}

.workshop-points {
  margin-top: 20px;
  padding-left: 20px;
}

.workshop-points li {
  margin-bottom: 10px;
}

.workshop-note {
  margin-top: 20px;
  font-style: italic;
}

/* Upcoming Workshops */
.workshop-flyer {
  margin: 30px 0;
  text-align: center;
}

.workshop-flyer img {
  max-width: 100%;
  height: auto;
  border: 1px solid #e6e1d8;
}

.workshop-contact {
  margin-top: 20px;
  text-align: center;
}

/* Upcoming Workshops – distinct background */
.upcoming-workshops {
  background-color: #edf2ef; /* soft sage-grey */
  border-top: 1px solid #dfe7e2;
  padding: 20px 20px;
}

/* =========================
   MOBILE HEADER FIX
========================= */
@media (max-width: 768px) {

  .hero-header img {
    height: 140px;          /* reduce header height on mobile */
    object-fit: cover;     /* keep image nicely cropped */
  }

  .hero-header {
    margin-bottom: 0;      /* remove extra spacing */
  }

  .main-nav-bar {
    margin-top: 0;
  }
}

/* =========================
   MOBILE HERO SPACING FIX
========================= */

@media (max-width: 768px) {

  .hero {
    padding: 24px 16px 48px;   /* tighter top spacing */
    box-shadow: none;         /* remove visual "fake gap" */
  }

}

/* =========================
   FINAL MOBILE HERO OVERLAY FIX
========================= */
@media (max-width: 768px) {

  .hero::before {
    content: none;   /* remove overlay that creates visual gap */
  }

}
/* =========================
   FIX HERO HEADING GAP (MOBILE)
========================= */
@media (max-width: 768px) {

  .hero-content h1 {
    margin-top: 0;
  }

  .hero-content p:first-of-type {
    margin-top: 12px;
  }

}

.hero h1:first-child {
  margin-top: 0;
}

/* =========================
   FINAL MOBILE NAV GAP FIX
========================= */
@media (max-width: 768px) {

  .main-nav-bar {
    margin-bottom: 0;
  }

}
/* =========================
   FIX MOBILE HEADER IMAGE GAP (FINAL)
========================= */
@media (max-width: 900px) {

  .hero-header {
    height: 200px;
    overflow: hidden;
  }

  .hero-header img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

}


/* =========================
   MOBILE FOOTER FIX
========================= */
@media (max-width: 768px) {

  .site-footer {
    text-align: center;
  }

  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-col {
    width: 100%;
    max-width: 320px;
  }

  .footer-left img.footer-logo {
    max-width: 140px;
    margin: 0 auto;
    display: block;
  }

  .footer-center {
    font-size: 1.1rem;
  }

  .footer-right p {
    text-align: center;
    line-height: 1.5;
  }

  .footer-bottom {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

}


/* =========================
   DESKTOP HERO BACKGROUND FIX
========================= */
@media (min-width: 1024px) {

  .hero {
    min-height: 520px;
    background-position: center 55%;
    background-size: cover;
    padding: 120px 40px 140px;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 255, 255, 0.55) 40%,
      rgba(255, 255, 255, 0.75) 100%
    );
    pointer-events: none;
  }

}

@media (min-width: 1024px) {
  .hero h1 {
    max-width: 900px;
    margin: 0 auto;
  }
}
/* =========================
   TIGHTEN DESKTOP HERO HEIGHT
========================= */
@media (min-width: 1024px) {

  .hero {
    min-height: auto;              /* remove forced height */
    padding: 100px 40px 100px;      /* reduce vertical padding */
  }

}
