@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

:root {
  --bg: #05223a;
  --text: #ffffff;
  --accent: #ffcc33;
  --gap: 3rem;
  --max-width: 1400px;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f3f3f3;
  color: #333;
}

/* MASTHEAD CONTAINER */
.masthead__nav {
  background: var(--bg);
  color: var(--text);
  width: 100%;
}

.masthead__logo {
  display: block;
  max-height: 50px;
  width: auto;
  height: auto;
}

/* --- ENHANCED LOGO STYLING --- */
.masthead__mark {
  margin-right: 2rem;
  margin-left: -1rem;
}

.masthead__logo {
  max-height: 105px;
  width: auto;
  height: auto;
  transform: translateY(-2%);
  transition: all 0.3s ease;
  position: relative;
  z-index: 5;
}

/* Give the logo a subtle pop-out effect */
.masthead__mark img {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
  /* soft shadow */
  border-radius: 8px;
  /* optional, makes edges smoother */
}

/* Optional: keep nav bar height fixed */
.masthead__wrap {
  align-items: center;
  height: 80px;
  /* lock height so logo enlargement doesn’t stretch it */
  overflow: visible !important;
  /* let logo “pop out” visually */
}

/* Optional hover effect for extra polish */
.masthead__logo:hover {
  transform: scale(1.35);
}

/* Optional: keep the navbar height consistent */
.masthead__nav {
  height: 80px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1000;
  overflow: visible;
  /* allows logo to overlap visually */
}

.masthead__wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  flex-wrap: nowrap;
  gap: 2rem;
}

/* LOGO */
.masthead__mark {
  flex-shrink: 0;
  margin-right: 4rem;
}

.svg--mark {
  display: block;
}

/* NAV MENU */
.nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--gap);
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}

.nav__menu-item {
  position: relative;
}

.nav__link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  display: inline-block;
}

.nav__link:hover {
  color: var(--accent);
}

/* DROPDOWN MENUS */
.nav__menu--level-1 {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  /* transparent background */
  backdrop-filter: blur(6px);
  /* subtle glass effect */
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
  /* keep existing vertical spacing */
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1001;
  box-sizing: border-box;
}

.nav__menu-item.has-children {
  position: relative;
}

.nav__menu-item.has-children:hover>.nav__menu--level-1 {
  display: flex;
}

/* Each dropdown item */
.nav__menu--level-1 li {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

/* Dropdown links */
.nav__menu--level-1 a {
  display: block;
  width: 100%;
  padding: 0.75rem 1.25rem;
  /* slight increase to balance right spacing */
  text-transform: none;
  color: var(--text);
  box-sizing: border-box;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: left;
  /* ensure consistent alignment */
}

/* Hover fills full width evenly */
.nav__menu--level-1 a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent);
}

/* Dropdown width auto-adjusts to content but stays aligned */
.nav__menu--level-1 {
  width: max-content;
  min-width: 220px;
  right: auto;
}



/* ACTION BUTTONS */
.btn a {
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
}

.btn--outline a {
  color: var(--text);
  border: 2px solid var(--text);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn--outline a:hover {
  background: var(--text);
  color: var(--bg);
}

.btn--solid a {
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn--solid a:hover {
  background: #ffd84d;
}

/* MOBILE TOGGLE */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .masthead__wrap {
    flex-wrap: wrap;
  }

  .nav__toggle {
    display: block;
  }

  .nav__menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 1rem;
    gap: 1rem;
  }

  .nav__menu.active {
    display: flex;
  }

  .nav__menu--level-1 {
    position: static;
    background: transparent;
    border: none;
    padding: 0;
  }

  .nav__menu--level-1 a:hover {
    background: none;
    color: var(--accent);
  }
}

/* Affordable Housing Hero Section */
.hpage-header {
  position: relative;
  width: 100%;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hpage-header__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hpage-header__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 30%;
}

.hpage-header__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  /* darker tint */
  backdrop-filter: blur(3px);
  /* subtle blur */
  -webkit-backdrop-filter: blur(6px);
  z-index: 1;
  pointer-events: none;
}


/* --- Buttons at Top Right --- */
.hpage-header__buttons {
  position: absolute;
  top: 60px;
  right: 80px;
  display: flex;
  gap: 1rem;
  z-index: 2;
}

.btn {
  padding: 1.2rem 1.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn--light {
  background: rgba(255, 255, 255, 0.85);
  color: #333;
}

.btn--light:hover {
  background: rgba(255, 255, 255, 1);
}

.btn--accent {
  background: #ffcc33;
  /* deep purple accent */
  color: #333;
}

.btn--accent:hover {
  background: #ffd84d;
}

/* Hero Content */
.hpage-header__content {
  position: absolute;
  bottom: 20%;
  /* moved slightly down */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
  z-index: 2;
}

.hpage-header__breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}

.hpage-header__title {
  font-size: 4.5rem;
  font-family: "EB Garamond", serif;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hpage-header__excerpt {
  font-size: 1.418rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

/* ============================
   MOBILE RESPONSIVENESS HERO SECTION
============================ */
@media (max-width: 900px) {

  .hpage-header {
    height: 60vh;
    /* less height prevents "zoomed" look */
  }

  .hpage-header__image {
    object-position: center;
    /* centers image properly on mobile */
  }

  /* Top right buttons move down + shrink a bit */
  .hpage-header__buttons {
    top: 20px;
    right: 20px;
    gap: 0.6rem;
  }

  .hpage-header__buttons .btn {
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
  }

  /* Center content fits on mobile */
  .hpage-header__content {
    bottom: 20%;
    width: 90%;
  }

  .hpage-header__breadcrumb {
    font-size: 0.75rem;
  }

  .hpage-header__title {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hpage-header__excerpt {
    font-size: 1rem;
    max-width: 95%;
  }
}

/* SUPER SMALL SCREENS (iPhone SE, older phones) */
@media (max-width: 480px) {

  .hpage-header {
    height: 55vh;
  }

  .hpage-header__buttons {
    top: 15px;
    right: 15px;
  }

  .hpage-header__title {
    font-size: 1.9rem;
  }

  .hpage-header__excerpt {
    font-size: 0.95rem;
  }
}

/* CTA SECTION */
.cta {
  background-color: #4b2b80;
  /* deep purple background */
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta__wrap {
  max-width: 900px;
  width: 100%;
}

.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta__title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta__button {
  padding: 0.9rem 2rem;
  border: 2px solid #fff;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta__button:hover {
  background-color: #fff;
  color: #4b2b80;
}

/* ============================
   CTA MOBILE RESPONSIVENESS
============================ */
@media (max-width: 768px) {

  .cta {
    padding: 3rem 1.2rem;
  }

  .cta__title {
    font-size: 1.6rem;
    line-height: 1.3;
    padding: 0 1rem;
  }

  .cta__content {
    gap: 1.2rem;
  }

  /* Stack buttons vertically */
  .cta__buttons {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .cta__button {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.05rem;
    border-radius: 40px;
  }
}

/* Even smaller screens (phones under 430px) */
@media (max-width: 430px) {

  .cta__title {
    font-size: 1.4rem;
  }

  .cta__button {
    font-size: 1rem;
    padding: 0.9rem 0;
  }
}


/* CHALLENGE SECTION */
.challenge-section {
  background-color: #ffffff;
  color: #333;
  padding: 5rem 1rem;
  display: flex;
  justify-content: center;
}

.challenge__wrap {
  max-width: 900px;
  text-align: center;
}

.challenge__title {
  font-size: 2.875rem;
  font-family: "EB Garamond", serif;
  color: #4b2b80;
  /* dark purple */
  font-weight: 400;
  margin-bottom: 1rem;
}

.challenge__description {
  font-size: 1.188rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
}

.challenge__source {
  font-size: 0.9rem;
  color: #666;
  max-width: 750px;
  margin: 0 auto;
}

/* ============================
   MOBILE — CHALLENGE SECTION
============================ */
@media (max-width: 768px) {

  .challenge-section {
    padding: 3rem 1.2rem;
  }

  .challenge__wrap {
    text-align: left;
    /* more readable on mobile */
  }

  .challenge__title {
    font-size: 2rem;
    /* down from 2.875rem */
    line-height: 1.2;
    text-align: center;
    /* keep title centered */
  }

  .challenge__description {
    font-size: 1rem;
    /* down from 1.188rem */
    line-height: 1.65;
    margin-top: 1rem;
  }

  .challenge__source {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 1.5rem;
  }
}


/* WHO NEEDS HOUSING SECTION */
.who-needs-housing {
  background-color: #f8f5ef;
  /* soft sand tone */
  padding: 5rem 1rem;
}

.who-needs-housing__wrap {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.who-needs-housing__title {
  font-size: 2.9rem;
  font-family: "EB Garamond", serif;
  color: #4b2b80;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.who-needs-housing__intro {
  font-size: 1.188rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* GRID: 2 cards per row */
.who-needs-housing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

/* CARD LAYOUT */
.housing-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.housing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* CONTENT SECTION */
.housing-card__content {
  flex: 1;
  padding: 2rem;
  text-align: left;
}

.housing-card__content h3 {
  font-size: 1.45rem;
  font-family: "EB Garamond", serif;
  color: #2a0a55;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.housing-card__content p {
  font-size: 1.188rem;
  color: #555;
  line-height: 1.6;
}

/* IMAGE SECTION */
.housing-card__image {
  background-color: #4b2b80;
  /* dark purple */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
  padding: 1.5rem;
}

.housing-card__image img {
  height: 90px;
  width: 90px;
  object-fit: contain;
}

/* ============================
   MOBILE RESPONSIVE (≤ 768px)
   ============================ */
@media (max-width: 768px) {

  .who-needs-housing {
    padding: 3.5rem 1rem;
  }

  .who-needs-housing__title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .who-needs-housing__intro {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  /* Grid becomes 1 card per row */
  .who-needs-housing__grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  /* Card stacks vertically */
  .housing-card {
    flex-direction: column;
    max-width: 100%;
  }

  /* Content full width */
  .housing-card__content {
    padding: 1.5rem;
    text-align: center;
  }

  .housing-card__content h3 {
    font-size: 1.35rem;
  }

  .housing-card__content p {
    font-size: 1.05rem;
  }

  /* Image spans full width at top */
  .housing-card__image {
    width: 100%;
    padding: 1.8rem 1.2rem;
  }

  .housing-card__image img {
    height: 75px;
    width: 75px;
  }
}

/* ============================
   SMALL PHONES (≤ 480px)
   ============================ */
@media (max-width: 480px) {

  .who-needs-housing__title {
    font-size: 1.95rem;
  }

  .housing-card__content {
    padding: 1.25rem;
  }

  .housing-card__image img {
    height: 65px;
    width: 65px;
  }
}


/* === RESPONSE SECTION === */
.response-section {
  background: #f9f9f9;
  padding: 5rem 2rem;
  margin-bottom: 60px;
}

.response-heading {
  color: #4b2b80;
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-size: 2.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

.response-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #444;
  font-size: 1.188rem;
  line-height: 1.7;
  text-align: center;
}

/* === TABS LAYOUT === */
.what-we-do-tabs {
  display: flex;
  justify-content: center;
}

.tabs {
  display: flex;
  max-width: 1200px;
  width: 100%;
  gap: 2rem;
  align-items: flex-start;
}

/* LEFT NAV */
.tabs__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  max-width: 250px;
}

.tab-link {
  padding: 1rem 1.2rem;
  background: #f3f3f3;
  border: none;
  cursor: pointer;
  font-size: 1.089rem;
  border-radius: 8px;
  font-weight: 500;
  color: #333;
  text-align: left;
  transition: all 0.3s ease;
}

.tab-link:hover {
  background: rgba(122, 0, 60, 0.15);
  color: #7a003c;
}

.tab-link.active {
  background: #4b2b80;
  /* darker purple */
  color: #fff;
}

/* RIGHT CONTENT AREA */
.tabs__content {
  flex: 3;
  position: relative;
}

/* TAB CONTENTS */
.tab-content {
  position: relative;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding-bottom: 4rem;
}

.tab-content.active {
  display: block !important;
  opacity: 1;
}

/* MEDIA + TEXT STYLING */
.tab-media {
  position: relative;
  border-radius: 12px;
  overflow: visible;
}

.tab-media img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tab-media img:hover {
  animation: softPulse 0.6s ease-in-out 1;
  ;
}

/* Keyframes for subtle pulse */
@keyframes softPulse {
  0% {
    transform: scale(1);
    filter: brightness(100%);
  }

  50% {
    transform: scale(1.02);
    /* very small scale-up */
    filter: brightness(105%);
    /* slightly brighter */
  }

  100% {
    transform: scale(1);
    filter: brightness(100%);
  }
}

.tab-text {
  position: absolute;
  bottom: -140px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 80%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.tab-text h2 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #7a003c;
  text-transform: uppercase;
}

.tab-text h3 {
  font-size: 2.178rem;
  font-family: "EB Garamond", serif;
  font-weight: 500;
  color: #2a0a55;
  margin-bottom: 1rem;
}

.tab-text p {
  font-size: 1.188rem;
  color: #333;
  line-height: 1.6;
}

/* MOBILE ACCORDION — HIDDEN ON DESKTOP */
.response-accordion {
  display: none;
}

/* Mobile only */
@media (max-width: 768px) {

  /* Hide DESKTOP tabs on mobile */
  .what-we-do-tabs {
    display: none !important;
  }

  .response-accordion {
    display: block;
    margin-top: 2rem;
    padding: 0 1rem;
    /* adds left + right spacing */
  }

  .acc-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #fff;
  }

  .acc-header {
    width: 100%;
    text-align: left;
    padding: 1.2rem;
    background: #f3f3f3;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .acc-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
  }

  .acc-body {
    display: none;
    padding: 1rem;
  }

  .acc-body img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
  }

  .acc-text h2 {
    font-size: 0.9rem;
    color: #7a003c;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }

  .acc-text h3 {
    font-family: "EB Garamond", serif;
    font-size: 1.9rem;
    color: #2a0a55;
    margin-bottom: 0.7rem;
  }

  .acc-text p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
  }

  /* Rotate + to × when open */
  .acc-item.open .acc-icon {
    transform: rotate(45deg);
  }
}



/* Main CTA Section */
.cta-section {
  background-color: #3a0044;
  /* darker purple */
  color: #fff;
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
}

/* Container for text + button */
.cta-container {
  display: flex;
  align-items: center;
  /* centers vertically */
  justify-content: space-between;
  /* text on left, button on right */
  width: 100%;
  max-width: 1100px;
  gap: 2rem;
}

/* Heading text */
.cta-text {
  font-size: 2.178rem;
  font-family: "EB Garamond", serif;
  font-weight: 400;
  margin: 0;
  flex: 1;
  text-align: left;
}

/* Button */
.cta-btn {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-btn:hover {
  background: #fff;
  color: #3a0044;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-text {
    margin-bottom: 1rem;
    text-align: center;
  }
}

/* IMPACT SECTION */
.impact-section {
  background: #ffffff;
  padding: 6rem 2rem;
  text-align: center;
}

.impact-heading {
  color: #4b2b80;
  /* dark purple */
  font-size: 2.9rem;
  font-family: "EB Garamond", serif;
  font-weight: 500;
  margin-bottom: 1rem;
}

.impact-intro {
  color: #333;
  font-size: 1.188rem;
  font-weight: 400;
  max-width: 850px;
  margin: 0 auto 3.5rem;
  line-height: 1.8;
}

/* Statistics Grid */
.statistics__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.statistic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.statistic__icon {
  background: #3a0044;
  /* dark purple */
  border: 10px solid #b47cc7;
  /* light purple border */
  border-radius: 50%;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.statistic__icon img {
  width: 100px;
  height: 100px;
}

.statistic__number {
  font-size: 4.538rem;
  font-weight: 400;
  color: #3a0044;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.statistic__text {
  font-size: 1.188rem;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  max-width: 320px;
}

/* Responsive */
@media (max-width: 900px) {
  .statistics__items {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .impact-heading {
    font-size: 2.2rem;
  }

  .impact-intro {
    font-size: 1.1rem;
  }

  .statistic__icon {
    width: 120px;
    height: 120px;
  }

  .statistic__icon img {
    width: 65px;
    height: 65px;
  }

  .statistic__number {
    font-size: 2.2rem;
  }

  .statistic__text {
    font-size: 1.05rem;
  }
}

/* PROGRAM LEAD SECTION */
.program-lead-section {
  background: #f7f4ed;
  /* sand background */
  padding: 6rem 2rem;
}

.program-lead__wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.program-lead__columns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.program-lead__image img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.program-lead__content {
  flex: 1;
  max-width: 650px;
}

.program-lead__kicker {
  color: #008080;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.program-lead__name {
  color: #4b2b80;
  font-family: "EB Garamond", serif;
  /* dark purple */
  font-size: 2.904rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.program-lead__text {
  color: #333;
  font-size: 1.188rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.program-lead__button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #3a0044;
  border: 2px solid #3a0044;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.program-lead__button:hover {
  background: #3a0044;
  color: #fff;
}

.right-arrow {
  transition: transform 0.3s ease;
}

.program-lead__button:hover .right-arrow {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 900px) {
  .program-lead__columns {
    flex-direction: column;
    text-align: center;
  }

  .program-lead__content {
    max-width: 100%;
  }

  .program-lead__name {
    font-size: 1.9rem;
  }

  .program-lead__text {
    font-size: 1.05rem;
  }
}

/* ===== Footer Base ===== */
footer.footer {
  background-color: #f8f8fb;
  color: #180038;
  font-family: "Inter", sans-serif;
  padding: 60px 8%;
}

/* Layout */
.footer__wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  /* extra space between contact & nav */
}

/* ===== Contact Section ===== */
.footer__contact {
  flex: 1;
  min-width: 260px;
}

.footer__contact h2 {
  font-size: 1.7rem;
  font-weight: 400;
  font-family: "EB Garamond", serif;
  letter-spacing: 3px;
  color: #2a0a55;
  margin-bottom: 30px;
}

.footer__heading {
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-transform: uppercase;
  color: #4a3a73;
  margin-bottom: 15px;
}

.footer__address {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer__phone,
.footer__email {
  font-size: 1.1rem;
  font-weight: 400;
}

.footer__email a {
  color: #6b4c9a;
  text-decoration: none;
  font-weight: 600;
}

.footer__email a:hover {
  text-decoration: underline;
}

/* ===== Footer Navigation (Sections) ===== */
.footer__nav {
  flex: 0.5;
  min-width: 200px;
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav li {
  margin-bottom: 12px;
}

.footer__nav a {
  color: #180038;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer__nav a:hover {
  color: #6b4c9a;
  transform: translateX(3px);
}

/* ===== Footer Logos Section ===== */
.footer__secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  padding-top: 25px;
}

.footer__icon-menu--logos ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__icon-menu--logos img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.footer__icon-menu--logos img:hover {
  transform: scale(1.05);
}

/* ===== Copyright ===== */
.footer__copyright {
  font-size: 1.1rem;
  color: #555;
  margin-top: 20px;
}

/* ================================
   MOBILE FOOTER RESPONSIVE FIXES
   ================================ */
@media (max-width: 768px) {

  footer.footer {
    padding: 40px 6%;
  }

  .footer__wrap {
    flex-direction: column;
    /* Stack Contact + Navigation */
    gap: 35px;
  }

  .footer__contact h2 {
    font-size: 1.45rem;
  }

  .footer__address,
  .footer__phone,
  .footer__email {
    font-size: 1rem;
  }

  .footer__nav {
    width: 100%;
  }

  .footer__nav a {
    font-size: 1rem;
  }

  .footer__secondary {
    margin-top: 30px;
    padding-top: 20px;
  }

  /* Footer Logos */
  .footer__icon-menu--logos ul {
    gap: 25px;
    flex-wrap: wrap;
  }

  .footer__icon-menu--logos img {
    height: 45px;
    /* Slightly smaller on mobile */
  }

  .footer__copyright {
    font-size: 0.95rem;
    margin-top: 15px;
  }
}

html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}


/* FOOD AND NUTRITION CSS */
/* STANDALONE HERO IMAGE SECTION */
.standalone-image-section {
  width: 100%;
  padding: 40px 0;
  /* spacing above/below */
}

.standalone-image__wrap {
  width: 100%;
  max-width: 1400px;
  /* controls how wide the image gets on large screens */
  margin: 0 auto;
  /* centers it */
  padding: 0 40px;
  /* equal left & right spacing */
}

.standalone-image {
  width: 100%;
  height: 750px;
  /* desktop height */
  object-fit: cover;
  /* keeps the image visually clean */
  border-radius: 12px;
  /* optional but makes it look modern */
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  .standalone-image__wrap {
    padding: 0 20px;
    /* tighter spacing on mobile */
  }

  .standalone-image {
    height: 260px;
    /* adjust for mobile screens */
    border-radius: 8px;
  }
}

/* INTEGRATED PAGE CSS */
/* =========================================================
   UNIQUE STYLES FOR THIS PAGE ONLY
   USING: .response-health-tabs
========================================================= */

/* Desktop layout */
.response-tabs {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.response-tabs__nav {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.response-tab-link {
  padding: 14px 18px;
  text-align: left;
  border: none;
  background: #eee;
  cursor: pointer;
  font-size: 1rem;
}

.response-tab-link.response-tab-active {
  background: #c3222b;
  color: #fff;
}

.response-tabs__content {
  flex: 1;
}

.response-accordion-header {
  display: none;
}

.response-tab-content {
  display: none;
}

.response-tab-content.response-tab-active {
  display: block;
}

.tab-media img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.tab-media {
  display: flex;
  gap: 20px;
}

.tab-text {
  max-width: 750px;
}

/* MOBILE = accordion */
@media (max-width: 768px) {
  .response-tabs {
    flex-direction: column;
  }

  .response-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 10px;
  }

  .response-accordion-header .acc-icon {
    font-size: 1.4rem;
    font-weight: bold;
  }

  .response-tabs__nav {
    width: 100%;
    display: none;
  }

  .response-tab-link {
    width: 100%;
    background: #f7f7f7;
    border: 1px solid #ddd;
  }

  .response-tab-content {
    display: none;
    padding: 15px;
    border-left: 2px solid #c3222b;
    background: #fafafa;
  }

  .response-tab-content.acc-open {
    display: block;
  }

  .tab-media {
    flex-direction: column;
  }
}