/* =========================
   GLOBAL RESET + BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   HEADER
========================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.header-row {
  display: flex;
  align-items: center;
  padding: 14px 0;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Nav pushed to the right */
.nav {
  margin-left: auto;
}

/* Menu */
.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 56px);
  white-space: nowrap;
}

/* Links */
.nav__link {
  text-decoration: none;
  color: #222;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 10px 0;
  position: relative;
}

/* Active underline */
.nav__link--active {
  color: #2f7d5a;
}

.nav__link--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: #2f7d5a;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.chev {
  margin-left: 6px;
  font-size: 12px;
  color: #777;
}

.dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  z-index: 50;
}

.dropdown__menu a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #222;
  font-size: 13px;
}

.dropdown__menu a:hover {
  background: #f4f6f7;
}

.dropdown:hover .dropdown__menu {
  display: block;
}

/* Prevent overflow on smaller screens */
@media (max-width: 1100px) {
  .nav__list {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 12px;
  }
}

/* =========================
   HERO SLIDER (SWIPE)
   - stuck directly under header
========================= */
.hero {
  margin: 0;
  padding: 0;
}

.hero__viewport {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.hero__track {
  height: 100%;
  display: flex;
  transition: transform 800ms ease;
  will-change: transform;
}

.hero__slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Text overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 18px;
}

.hero__text {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
  color: #fff;
  font-weight: 300;
  text-align: center;
  font-size: clamp(28px, 4vw, 58px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero__slide.show-text .hero__text {
  opacity: 1;
  transform: translateY(0);
}

/* Arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 34px;
  line-height: 0;
}

.hero__arrow--left {
  left: 18px;
}
.hero__arrow--right {
  right: 18px;
}

/* Responsive height */
@media (max-width: 900px) {
  .hero__viewport {
    height: 440px;
  }
}
@media (max-width: 650px) {
  .hero__viewport {
    height: 360px;
  }
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #0f0f0f;
  color: #bfbfbf;
  padding: 60px 0 40px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
}

/* blocks */
.footer-block h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.footer-block p {
  line-height: 1.8;
}

.footer-block a {
  color: #bfbfbf;
  text-decoration: none;
}

.footer-block a:hover {
  color: #2f7d5a;
}

/* alignment */
.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center; /* ✅ CENTERED CONTACT */
}

.footer-right {
  text-align: right;
}

/* mobile */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
  }
}

/* =========================
   CONTACT HERO
========================= */
.contact-hero {
  height: 320px;
  background-image: url("../img/contact-hero.jpg"); /* 👈 your image */
  background-size: cover;
  background-position: center;
  position: relative;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
}

.contact-hero h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 2px;
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  background: #f4f6f7;
  padding: 70px 0;
}

/* Card */
.contact-card {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Header bar */
.contact-card__header {
  padding: 18px 24px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.contact-card__header span {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Green accent */
.contact-card__header::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #2f7d5a;
}

/* Body */
.contact-card__body {
  padding: 40px 24px;
}

/* Contact rows */
.contact-item {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-label {
  font-weight: 600;
  color: #555;
}

.contact-text {
  color: #222;
  text-decoration: none;
}

.contact-text:hover {
  color: #2f7d5a;
}

.contact-icon {
  font-size: 18px;
  text-align: right;
  color: #2f7d5a;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-item {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .contact-icon {
    text-align: left;
  }

  .contact-hero h1 {
    font-size: 32px;
  }
}

.contact-hero {
  height: 320px;
  background-image: url("../img/contact-us");
  background-size: cover;
  background-position: center;
  position: relative;
}
.contact-intro {
  margin-bottom: 80px; /* 👈 space before “Our Office” */
}

/* =========================
   PARTNERS PAGE
========================= */
.partners-hero {
  height: 300px;
  background-image: url("../img/contact-us"); /* your image */
  background-size: cover;
  background-position: center;
  position: relative;
}

.partners-hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
}

.partners-hero h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 2px;
}

.partners-section {
  background: #f4f6f7;
  padding: 70px 0;
}

.partners-intro {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
  color: #555;
  line-height: 1.7;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* ✅ 3 cards per row */
  gap: 32px;
}

.partner-card {
  background: #fff;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.partner-logo {
  height: 150px; /* ⬆️ taller logo area */
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  background: #fff; /* ✅ white background */
  overflow: hidden;
}

.partner-logo img {
  max-width: 100%;
  max-height: 150px; /* ⬆️ BIGGER logo */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partner-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.partner-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

.partner-card {
  background: #fff;
  padding: 40px 30px; /* ⬆️ more space */
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}





/* PROGRAM HERO */
.program-hero {
  height: 300px;
  background-image: url("../img/contact-us"); /* change image if needed */
  background-size: cover;
  background-position: center;
  position: relative;
}

.program-hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
}

.program-hero h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 2px;
}

/* PROGRAM CONTENT */
.program-section {
  background: #f4f6f7;
  padding: 70px 0;
}

.program-card {
  background: #fff;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.program-card__header {
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border-left: 4px solid #2f7d5a;
  padding-left: 12px;
}

.program-intro {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #555;
}

.program-block {
  margin-top: 48px;
}

.program-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #222;
}

.program-block p {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 18px;
}

.program-image {
  margin-top: 50px; /* space from text */
}

.program-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.program-paragraph {
  margin-bottom: 32px; /* space AFTER the paragraph */
  line-height: 1.8;
  font-size: 16px;
  color: #555;
}

.program-lines {
  margin-top: 24px; /* space BEFORE the list */
}

.program-lines div {
  margin-bottom: 14px; /* space BETWEEN each line */
  font-size: 15.5px;
  color: #444;
}



.program-subtitle{
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}


.program-block{
  margin-top: 44px;
}

.program-block h3{
  font-size: 20px;
  font-weight: 700;
  margin: 26px 0 16px;
  color: #222;
}

.program-block p{
  margin-bottom: 18px;
  line-height: 1.9;
  color: #444;
  font-size: 16px;
}








.programs-section{
  background: #f4f6f7;
  padding: 80px 0;
}

.programs-list{
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.program-link{
  display: block;
  padding: 26px 30px;
  background: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
}

.program-link:hover{
  color: #2f7d5a;
  transform: translateY(-3px);
}


.program-hero--health-education{
  background-image: url("../img/contact-us");
}

.program-hero{
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}



/* =========================
   HOME - 2 CARDS UNDER HERO
========================= */
.home-cards{
  background: #f4f6f7;
  padding: 60px 0;
}

.home-cards__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.home-card{
  background: #fff;
  text-decoration: none;
  color: #222;
  padding: 34px 30px;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-top: 4px solid #2f7d5a;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: block;
}

.home-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}

.home-card__icon{
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(47,125,90,0.12);
  color: #2f7d5a;
  font-size: 22px;
  margin-bottom: 16px;
}

.home-card__title{
  font-size: 20px;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.home-card__text{
  color: #555;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 16px;
}

.home-card__cta{
  color: #2f7d5a;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
}

/* Responsive */
@media (max-width: 900px){
  .home-cards__grid{ grid-template-columns: 1fr; }
}


/* HOME CARDS GRID */
.home-cards__grid{
  display: grid;
  grid-template-columns: 2fr 1fr; /* About Us bigger */
  gap: 32px;
}

/* CARD BASE */
.home-card{
  background: #fff;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-decoration: none;
  color: #222;
  transition: transform .3s ease, box-shadow .3s ease;
}

.home-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* LARGE ABOUT CARD */
.home-card--large{
  padding: 50px;
}

/* SMALL PARTNER CARD */
.home-card--small{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TITLES */
.home-card__title{
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* TEXT */
.home-card__text{
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 14px;
}

/* CTA */
.home-card__cta{
  margin-top: 20px;
  font-weight: 600;
  color: #2f7d5a;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .home-cards__grid{
    grid-template-columns: 1fr;
  }
}


/* PARTNER IMAGES INSIDE HOME CARD */
/* PARTNER IMAGES – COLUMN & BIGGER */
.home-partners-preview--column{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 22px 0 14px;
}

.home-partners-preview--column img{
  max-width: 300px;   /* 👈 bigger */
  max-height: 80px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: filter .25s ease, opacity .25s ease;
}

/* hover polish */
.home-card:hover .home-partners-preview--column img{
  filter: grayscale(0%);
  opacity: 1;
}

