* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #fffaf0;
  --soft-green: #ecf0ed;
  --green: #1f4d38;
  --deep-green: #123626;
  --orange: #f28b2d;
  --blue: #145b8f;
  --text: #20352b;
  --muted: #5d7569;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  width: 100%;
  min-height: 92px;
  padding: 12px 8%;
  display: flex;
  align-items: center;
  gap: 200px;
  background: var(--cream);
  border-top: 3px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  width: 135px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.nav {
  display: flex;
  align-items: center;
  gap: 100px;
}

.nav a {
  font-weight: 700;
  color: var(--green);
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: #d77420;
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green);
}

.btn-light {
  background: var(--white);
  color: var(--green);
}

.btn-dark-outline {
  border-color: var(--white);
  color: var(--white);
}

/*.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 110px 8%;
  color: var(--white);
  background:
    linear-gradient(rgba(18, 54, 38, 0.72), rgba(18, 54, 38, 0.72)),
    url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?q=80&w=1600&auto=format&fit=crop");
  background-size: 110%;
  background-position: center;
  background-repeat: no-repeat;

  animation: heroMove 10s ease-in-out infinite alternate;
}*/

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 110px 8%;
  color: var(--white);

  background:
    linear-gradient(rgba(18, 54, 38, 0.72), rgba(18, 54, 38, 0.72)),
    url("assets/hero-home.jpg");

  background-size: 110%;
  background-position: center;
  background-repeat: no-repeat;

  animation: heroMove 10s ease-in-out infinite alternate;
}

@keyframes heroMove {

    0% {
        background-size: 110%;
        background-position: center center;
    }

    50% {
        background-size: 115%;
        background-position: 48% 45%;
    }

    100% {
        background-size: 120%;
        background-position: 52% 55%;
    }
}

.hero-content {
  max-width: 820px;
}

.eyebrow,
.section-label {
  color: #f28b2d;/* #ffd16f */
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  margin-bottom: 24px;
  width: 850px;
}

.hero-text {
  max-width: 760px;
  font-size: 22px;
  margin-bottom: 34px;
}

.hero-tagline {
  margin-top: 28px;
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 700;
  color: #fffaf0;
  max-width: 760px;
  margin-bottom: 30px;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* .mission-text {
  max-width: 760px;
  font-size: 16px;
  margin-bottom: 25px;
}

.mission-left {
  display: flex;
  flex-direction: column;
}

.mission-image {
  width: 100%;
  margin-top: 25px;
  overflow: hidden;
  border-radius: 28px;
}

.mission-image img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.section-padding {
  padding: 95px 8%;
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: stretch;
}

.mission h2,
.section-title h2,
.final-cta h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  color: var(--green);
}

.mission-copy {
  background: var(--white);
  padding: 42px;
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(31, 77, 56, 0.1);
} */

.section-padding {
  padding: 95px 8%;
}


/* ===========================
   MISSION
=========================== */

.mission-container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}


/* Label sits ABOVE both boxes */

.mission .section-label {
  margin: 0 0 45px;

  font-size: 30px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}


/* Two EXACTLY equal columns */

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;

  align-items: stretch;
}


/* ===========================
   LEFT IMAGE BOX
=========================== */

.mission-image {
  width: 100%;
  height: 100%;
  min-height: 430px;

  overflow: hidden;
  border-radius: 28px;
}

.mission-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;
}


/* ===========================
   RIGHT TEXT BOX
=========================== */

.mission-copy {
  width: 100%;
  min-height: 430px;

  box-sizing: border-box;

  background: var(--white);

  padding: 42px;

  border-radius: 28px;

  box-shadow: 0 12px 35px rgba(31, 77, 56, 0.1);
}


.mission-text {
  max-width: none;

  margin: 0 0 25px;

  font-size: 16px;
  line-height: 1.65;
}


/* Remove margin from final paragraph */

.mission-text:last-child {
  margin-bottom: 0;
}


/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 760px) {

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mission-image,
  .mission-copy {
    min-height: auto;
  }

  .mission-image {
    height: 400px;
  }
}

.quote {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 24px;
}

.pillars {
  background: var(--soft-green);
}

.section-title {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.pillar-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card,
.stat-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(31, 77, 56, 0.1);
}

.icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: #e9f6f1;
  color: var(--orange);
  border-radius: 50%;
  font-size: 30px;
  margin-bottom: 22px;
}

.pillar-card h3 {
  color: var(--green);
  font-size: 25px;
  margin-bottom: 14px;
}

.impact {
  background: var(--cream);
}

.stat-card {
  text-align: center;
}

.stat-card h3 {
  color: var(--orange);
  font-size: 54px;
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial {
  max-width: 950px;
  margin: 48px auto 0;
  background: var(--green);
  color: var(--white);
  padding: 42px;
  border-radius: 30px;
  text-align: center;
}

.testimonial p {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
}

.testimonial span {
  color: #d7e5dc;
}

.final-cta {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  padding: 90px 8%;
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.final-cta p {
  max-width: 820px;
  margin: 0 auto 30px;
  font-size: 20px;
}

.cta-actions {
  justify-content: center;
}

.footer {
  background: #102f23;
  color: var(--white);
  padding: 58px 8% 24px;
}

.footer-grid {
  display: grid;
  /* grid-template-columns: 1.2fr 0.8fr 1fr; */
  grid-template-columns: 1.1fr 0.7fr 0.9fr 1.3fr;
  gap: 45px;
}

.footer-logo {
  width: 130px;
  display: block;
  margin-bottom: 18px;
  mix-blend-mode: screen;
}

.footer h4 {
  margin-bottom: 18px;
  font-size: 20px;
}

.footer a {
  display: block;
  color: #d7e5dc;
  margin-bottom: 10px;
}

.footer p {
  color: #d7e5dc;
}

.newsletter {
  display: flex;
  margin-top: 16px;
  gap: 8px;
}

.newsletter input {
  flex: 1;
  padding: 13px 14px;
  border: none;
  border-radius: 8px;
  outline: none;
}

.newsletter button {
  padding: 13px 18px;
  border: none;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 40px;
  padding-top: 22px;
  color: #d7e5dc;
  font-size: 14px;
  text-align: center;
}

/* ==========================================
   REGISTERED CHARITY - FOOTER
========================================== */

.charity-info {
  color: #d7e5dc;
}

.charity-info h4 {
  color: var(--white);
}

.charity-name {
  margin-bottom: 3px;

  color: var(--white) !important;

  font-size: 17px;
  font-weight: 700;
}

.charity-number {
  margin-top: 13px;

  font-size: 14px;
  line-height: 1.6;
}

.charity-number strong {
  color: var(--white);
}

@media (max-width: 920px) {
  .header {
    flex-direction: column;
    gap: 18px;
  }

  .nav {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .mission-grid,
  .pillar-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .header {
    padding: 14px 5%;
  }

  .logo img {
    width: 110px;
  }

  .hero,
  .section-padding,
  .final-cta,
  .footer {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero-text,
  .final-cta p {
    font-size: 18px;
  }

  .mission-copy,
  .testimonial {
    padding: 28px;
  }

  .newsletter {
    flex-direction: column;
  }
}


.photo-catalogue {
  background: #f8f4ec;
}

.catalogue-slide {
  min-width: 300px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: transform 0.4s ease;
}

.catalogue-slide:hover {
  transform: scale(1.05) rotate(-1deg);
}

.catalogue-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.story-text {
  padding: 20px;
}

.story-text h3 {
  margin-bottom: 10px;
}




.catalogue-wrapper{
  position:relative;
  display:flex;
  align-items:center;
}

.catalogue-book {
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;
  width: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  scrollbar-width: none;
}

.catalogue-book::-webkit-scrollbar{
  display:none;
}

.catalogue-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:50px;
  height:50px;
  border:none;
  border-radius:50%;
  background:white;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
  cursor:pointer;
  z-index:10;
  font-size:24px;
}

.prev{
  left:-20px;
}

.next{
  right:-20px;
}

.catalogue-btn:hover{
  transform:translateY(-50%) scale(1.1);
}

/* ==========================================
   OUR BELIEF — JOURNEY DESIGN
========================================== */

.belief-section {
  background: #f6efe4;
  padding: 100px 40px 115px;
  overflow: hidden;
}

.belief-container {
  max-width: 1400px;
  margin: 0 auto;
}


/* =========================
   Heading
========================= */

.belief-heading {
  max-width: 760px;
  margin: 0 auto 95px;
  text-align: center;
}

.belief-label {
  display: inline-block;
  margin-bottom: 18px;

  color: #900018;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
}

.belief-heading h2 {
  margin: 0;

  color: var(--green);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -2px;
}

.belief-heading p {
  max-width: 620px;
  margin: 25px auto 0;

  color: #5f5050;
  font-size: 17px;
  line-height: 1.7;
}


/* =========================
   Journey
========================= */

.belief-journey {
  position: relative;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    45px
    minmax(0, 1fr)
    45px
    minmax(0, 1fr)
    45px
    minmax(0, 1fr);

  align-items: center;
}


/* =========================
   Cards
========================= */

.belief-card {
  position: relative;

  min-height: 320px;

  padding: 42px 32px 35px;

  background: rgba(255, 255, 255, 0.58);

  border: 1px solid rgba(133, 0, 23, 0.10);

  border-radius: 24px;

  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.belief-card:hover {
  transform: translateY(-8px);

  background: #fffaf3;

  box-shadow:
    0 24px 55px rgba(82, 0, 15, 0.10);
}


/* staggered card */

.belief-card-up {
  transform: translateY(-35px);
}

.belief-card-up:hover {
  transform: translateY(-43px);
}


/* =========================
   Huge Background Number
========================= */

.belief-number {
  position: absolute;

  top: 12px;
  right: 18px;

  color: rgba(133, 0, 23, 0.07);

  font-size: 92px;
  line-height: 1;
  font-weight: 800;

  pointer-events: none;
}


/* =========================
   Small Icon
========================= */

.belief-small-icon {
  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 30px;

  background: var(--orange);

  border-radius: 16px;
}

.belief-small-icon svg {
  width: 31px;
  height: 31px;

  fill: none;
  stroke: #fff8ee;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================
   Card Typography
========================= */

.belief-word {
  display: block;

  margin-bottom: 13px;

  color: var(--orange);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 2px;
}

.belief-card h3 {
  position: relative;

  margin: 0 0 15px;

  color: #3f2025;

  font-size: 22px;
  line-height: 1.25;

  font-weight: 650;
}

.belief-card p {
  position: relative;

  margin: 0;

  color: #6c575b;

  font-size: 15px;
  line-height: 1.7;
}


/* =========================
   Arrows
========================= */

.belief-arrow {
  color: rgba(133, 0, 23, 0.35);

  font-size: 30px;
  font-weight: 300;

  text-align: center;
}


/* =========================
   Final card
========================= */

.belief-card-final {
  background: var(--orange);
}

.belief-card-final .belief-number {
  color: rgba(255, 255, 255, 0.09);
}

.belief-card-final .belief-small-icon {
  background: #fff8ee;
}

.belief-card-final .belief-small-icon svg {
  stroke: var(--orange);
}

.belief-card-final .belief-word {
  color: #f2d7c4;
}

.belief-card-final h3 {
  color: white;
}

.belief-card-final p {
  color: #f7e9df;
}

.belief-card-final:hover {
  background: var(--orange);
}


/* =========================
   Tablet
========================= */

@media (max-width: 1100px) {

  .belief-journey {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .belief-arrow {
    display: none;
  }

  .belief-card-up {
    transform: none;
  }

  .belief-card-up:hover {
    transform: translateY(-8px);
  }
}


/* =========================
   Mobile
========================= */

@media (max-width: 650px) {

  .belief-section {
    padding: 70px 20px;
  }

  .belief-heading {
    margin-bottom: 50px;
  }

  .belief-heading h2 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .belief-journey {
    grid-template-columns: 1fr;
  }

  .belief-card {
    min-height: auto;
  }
}

/* ==========================================
   HEADER SUBMENU / DROPDOWN NAVIGATION
========================================== */
.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 7px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.nav-item:hover > .nav-link::after,
.nav-item:focus-within > .nav-link::after {
  width: 100%;
}

.nav-caret {
  font-size: 12px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.has-submenu:hover .nav-caret,
.has-submenu:focus-within .nav-caret {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  min-width: 210px;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(31, 77, 56, 0.10);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(18, 54, 38, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1100;
}

.submenu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--white);
  border-left: 1px solid rgba(31, 77, 56, 0.10);
  border-top: 1px solid rgba(31, 77, 56, 0.10);
  transform: translateX(-50%) rotate(45deg);
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.submenu a:hover,
.submenu a:focus {
  background: var(--soft-green);
  color: var(--orange);
  transform: translateX(3px);
}

/* Keep anchored sections visible below the sticky header */
#photo-catalogue,
#belief,
#mission,
#pillars,
#impact,
#donate,
#contact {
  scroll-margin-top: 125px;
}

@media (max-width: 920px) {
  .nav-item {
    width: auto;
  }

  .submenu {
    left: 0;
    top: 100%;
    min-width: 190px;
    transform: translateY(8px);
  }

  .submenu::before {
    left: 28px;
    transform: rotate(45deg);
  }

  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu {
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 10px 18px;
  }

  .nav-link {
    font-size: 13px;
    padding: 8px 0;
  }

  .submenu {
    min-width: 175px;
  }
}


/* ==========================================
   SEPARATE PAGE LAYOUT
========================================== */
.page-banner {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 75px 8%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.page-banner-content {
  max-width: 850px;
}

.page-banner h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  margin-bottom: 18px;
}

.page-banner p:not(.eyebrow) {
  max-width: 720px;
  font-size: 20px;
}

/* The home hero is now the home page landing section. */
.home-page .hero {
  min-height: calc(100vh - 120px);
}

/* Impact legacy block */
.legacy-section {
  background: var(--soft-green);
}

.legacy-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 55px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(31, 77, 56, 0.10);
  text-align: center;
}

.legacy-card h2,
.contact-card h2 {
  color: var(--green);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 22px;
}

.legacy-card p:not(.section-label) {
  max-width: 800px;
  margin: 0 auto 18px;
  font-size: 18px;
}

/* Contact page */
.contact-page {
  background: var(--soft-green);
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.contact-card {
  background: var(--white);
  padding: 44px;
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(31, 77, 56, 0.10);
}

.contact-card p:not(.section-label) {
  margin-bottom: 20px;
}

.contact-note {
  color: var(--muted);
  font-size: 15px;
}

.contact-newsletter {
  max-width: 520px;
}

/* Keep page anchors clear of sticky header */
#heart,
#legacy {
  scroll-margin-top: 125px;
}

@media (max-width: 920px) {
  .header {
    gap: 18px;
  }

  .nav {
    gap: 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-banner {
    min-height: 290px;
    padding: 55px 6%;
  }

  .page-banner h1 {
    font-size: 38px;
  }

  .page-banner p:not(.eyebrow) {
    font-size: 17px;
  }

  .legacy-card,
  .contact-card {
    padding: 30px 24px;
  }
}

/* ==========================================================
   RESPONSIVE SITE OVERRIDES
   Added for desktop / laptop / tablet / mobile layouts
   ========================================================== */

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* ---------- Header: desktop ---------- */
.header {
  min-height: 94px;
  padding: 6px 8%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* gap: 120px; */
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  width: 220px;
  height: 78px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 70px;
  margin-left: 0;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px auto;
  border-radius: 10px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Home hero ---------- */
.home-page .hero {
  min-height: calc(100svh - 118px);
}

.hero {
  padding: clamp(70px, 8vw, 110px) clamp(24px, 8vw, 150px);
  background-size: cover;
}

@keyframes heroMove {
  0%   { background-size: cover; background-position: 50% 50%; }
  50%  { background-size: cover; background-position: 48% 47%; }
  100% { background-size: cover; background-position: 52% 53%; }
}

.hero-content {
  width: min(100%, 900px);
  max-width: 900px;
}

.hero h1 {
  width: auto;
  max-width: 900px;
  font-size: clamp(44px, 4.4vw, 78px);
  overflow-wrap: anywhere;
}

.hero-tagline {
  font-size: clamp(18px, 1.45vw, 24px);
}

/* ---------- General responsive sizing ---------- */
.section-padding {
  padding-left: clamp(24px, 8vw, 150px);
  padding-right: clamp(24px, 8vw, 150px);
}

.page-banner {
  padding-left: clamp(24px, 8vw, 150px);
  padding-right: clamp(24px, 8vw, 150px);
}

.footer {
  padding-left: clamp(24px, 8vw, 150px);
  padding-right: clamp(24px, 8vw, 150px);
}

/* ---------- Laptop / smaller desktop ---------- */
@media (max-width: 1200px) {
  .header {
    padding-left: 5%;
    padding-right: 5%;
  }

  .nav {
    gap: clamp(24px, 4vw, 52px);
  }

  .hero,
  .section-padding,
  .page-banner,
  .footer {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero h1 {
    font-size: clamp(44px, 5.5vw, 64px);
    max-width: 760px;
  }
}

/* ---------- Tablet + mobile navigation ---------- */
@media (max-width: 900px) {
  .header {
    min-height: 78px;
    padding: 5px 20px;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
  }

  .logo img {
    width: 160px;
    height: 60px;
    object-fit: contain;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1201;
    flex: 0 0 auto;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    margin: 0;
    padding: 16px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--cream);
    border-top: 1px solid rgba(31, 77, 56, .10);
    box-shadow: 0 14px 30px rgba(18, 54, 38, .12);
    max-height: calc(100svh - 88px);
    overflow-y: auto;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 11px 4px;
    font-size: 15px;
  }

  .nav-link::after {
    bottom: 5px;
  }

  .submenu {
    position: static;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0 0 4px 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none !important;
  }

  .submenu::before {
    display: none;
  }

  .submenu a {
    padding: 8px 10px;
    white-space: normal;
    font-size: 14px;
  }

  .nav-caret {
    display: none;
  }

  .home-page .hero {
    min-height: calc(100svh - 88px);
  }

  .hero {
    padding: 72px 6%;
    background-position: center;
  }

  .hero-content {
    max-width: 700px;
  }

  .hero h1 {
    font-size: clamp(42px, 7vw, 58px);
    max-width: 680px;
  }

  .mission-grid,
  .pillar-grid,
  .stats-grid,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 32px;
  }

  .belief-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .belief-arrow {
    display: none;
  }

  .catalogue-slide {
    min-width: min(72vw, 320px);
  }
}

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  .header {
    min-height: 72px;
    padding: 4px 16px;
  }

  .logo img {
    width: 140px;
  }

  .nav {
    max-height: calc(100svh - 78px);
    padding: 12px 20px 22px;
  }

  .home-page .hero {
    min-height: calc(100svh - 78px);
  }

  .hero {
    min-height: 620px;
    padding: 58px 22px;
    align-items: center;
    background-position: 58% center;
  }

  .hero-content {
    width: 100%;
  }

  .eyebrow,
  .section-label {
    letter-spacing: 2.5px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.07;
    margin-bottom: 20px;
  }

  .hero-tagline {
    margin-top: 20px;
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 13px 20px;
  }

  .section-padding {
    padding: 64px 20px;
  }

  .page-banner {
    min-height: 280px;
    padding: 52px 20px;
  }

  .page-banner h1 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .page-banner p:not(.eyebrow) {
    font-size: 17px;
  }

  .mission-image {
    height: 300px;
  }

  .mission-copy,
  .pillar-card,
  .stat-card,
  .testimonial,
  .contact-card,
  .legacy-card {
    padding: 28px 22px;
  }

  .belief-section {
    padding: 64px 20px;
  }

  .belief-heading {
    margin-bottom: 42px;
  }

  .belief-heading h2 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .belief-journey {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .belief-card {
    min-height: 0;
    padding: 34px 24px 30px;
  }

  .belief-card-up,
  .belief-card-up:hover {
    transform: none;
  }

  .catalogue-wrapper {
    position: relative;
    margin: 0;
    padding: 0 6px;
  }

  .catalogue-book {
    display: flex;
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    scrollbar-width: none;
  }

  .catalogue-book::-webkit-scrollbar {
    display: none;
  }

  .catalogue-slide {
    flex: 0 0 82%;
    min-width: 82%;
    max-width: none;
    scroll-snap-align: start;
  }

  .catalogue-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .catalogue-btn {
    display: flex;
    position: absolute;
    top: 43%;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    font-size: 22px;
    cursor: pointer;
    z-index: 20;
    transform: translateY(-50%);
  }

  .catalogue-btn.prev {
    left: 4px;
  }

  .catalogue-btn.next {
    right: 4px;
  }

  .catalogue-btn:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .footer {
    padding: 48px 20px 22px;
  }

  .newsletter {
    flex-direction: column;
  }

  .newsletter input,
  .newsletter button {
    width: 100%;
  }
}

/* ==========================================================
   RESPONSIVE HEADER / TABLET FIX
   Keeps the desktop look while preventing the navigation,
   Donate button, hero/banner text, and content from squeezing
   around laptop/tablet widths.
   ========================================================== */

/* Smaller desktop / tablet landscape */
@media (max-width: 1100px) and (min-width: 901px) {

  .header {
    min-height: 88px;
    padding: 5px 4%;
    gap: clamp(28px, 4vw, 50px);
    justify-content: flex-start;
  }

  .logo img {
    width: clamp(165px, 18vw, 185px);
    height: 68px;
    object-fit: contain;
  }

  .nav {
    flex: 1 1 auto;
    gap: clamp(22px, 3.5vw, 42px);
    justify-content: flex-start;
    min-width: 0;
  }

  .nav > a,
  .nav > .nav-item,
  .nav-link {
    flex-shrink: 0;
  }

  .nav a,
  .nav-link {
    white-space: nowrap;
  }

  /* Keep the Donate button visible instead of letting it get pushed off-screen */
  .header > .btn,
  .header .btn-primary {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 12px 22px;
  }

  .page-banner {
    min-height: 360px;
    padding-top: 70px;
    padding-bottom: 70px;
    padding-left: 6%;
    padding-right: 6%;
  }

  .page-banner-content {
    width: 100%;
    max-width: 780px;
  }

  .page-banner h1 {
    max-width: 760px;
    font-size: clamp(46px, 5.2vw, 60px);
    overflow-wrap: normal;
  }

  .page-banner p:not(.eyebrow) {
    max-width: 720px;
    font-size: 19px;
  }

  .belief-section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .belief-heading {
    max-width: 820px;
  }

  .belief-heading h2 {
    font-size: clamp(36px, 4.3vw, 48px);
  }
}

/* At narrower tablet sizes, switch cleanly to the mobile navigation
   rather than allowing the desktop navigation to compress. */
@media (max-width: 760px) {

  .header {
    min-height: 78px;
    padding: 5px 20px;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
  }

  .logo img {
    width: 160px;
    height: 60px;
    object-fit: contain;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1201;
    flex: 0 0 auto;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    margin: 0;
    padding: 16px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--cream);
    border-top: 1px solid rgba(31, 77, 56, .10);
    box-shadow: 0 14px 30px rgba(18, 54, 38, .12);
    max-height: calc(100svh - 88px);
    overflow-y: auto;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 11px 4px;
    font-size: 15px;
    white-space: normal;
  }

  .submenu {
    position: static;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0 0 4px 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none !important;
  }

  .submenu::before {
    display: none;
  }

  .submenu a {
    padding: 8px 10px;
    white-space: normal;
    font-size: 14px;
  }

  .nav-caret {
    display: none;
  }

  .page-banner {
    min-height: 340px;
    padding: 64px 6%;
  }

  .page-banner-content {
    max-width: 760px;
  }

  .page-banner h1 {
    max-width: 720px;
    font-size: clamp(42px, 6vw, 56px);
    line-height: 1.08;
  }

  .page-banner p:not(.eyebrow) {
    max-width: 680px;
    font-size: 18px;
  }

  .belief-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Extra protection for very small screens */
@media (max-width: 600px) {

  .page-banner {
    min-height: 280px;
    padding: 52px 20px;
  }

  .page-banner h1 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .belief-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}



/* ==========================================================
   FINAL LOGO SIZE TUNING
   ========================================================== */
@media (max-width: 600px) {
  .logo img {
    width: 140px;
    height: 54px;
    object-fit: contain;
  }
}


/* ==========================================================
   OUR WORK CATEGORIES
   Education + Humanitarian
   ========================================================== */

.work-categories {
  max-width: 1400px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 28px;
}

.work-category {
  background: var(--white);
  padding: 36px;
  border-radius: 28px;

  box-shadow: 0 12px 35px rgba(31, 77, 56, 0.10);

  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 35px;
  align-items: start;
}

.work-category:hover {
  transform: translateY(-5px);

  box-shadow:
    0 20px 45px rgba(31, 77, 56, 0.14);
}


/* Category Header */

.category-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.category-icon {
  width: 68px;
  height: 68px;

  flex: 0 0 68px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  background: #e9f6f1;

  font-size: 30px;
}

.category-number {
  display: block;

  margin-bottom: 5px;

  color: var(--orange);

  font-size: 13px;
  font-weight: 900;

  letter-spacing: 2px;
}

.category-header h3 {
  margin: 0 0 12px;

  color: var(--green);

  font-size: 30px;
  line-height: 1.15;
}

.category-header p {
  margin: 0;

  color: var(--text);

  font-size: 16px;
  line-height: 1.7;
}

.education-services,
.humanitarian-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

/* ==========================================================
   HUMANITARIAN SUB-CATEGORIES
   ========================================================== */

.humanitarian-services {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;

  margin-top: 35px;
}

.service-card {
  padding: 26px 22px;

  background: var(--soft-green);

  border-radius: 20px;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);

  background: #e3eee8;
}

.service-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;

  border-radius: 14px;

  background: var(--white);

  font-size: 23px;
}

.service-card h4 {
  margin: 0 0 10px;

  color: var(--green);

  font-size: 20px;
}

.service-card p {
  margin: 0;

  color: var(--text);

  font-size: 14px;
  line-height: 1.65;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1000px) {
  .work-category {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 750px) {
  .education-services,
  .humanitarian-services {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {

  .work-category {
    padding: 30px 22px;
  }

  .category-header {
    flex-direction: column;
    gap: 16px;
  }

  .category-header h3 {
    font-size: 26px;
  }

}

/* ==========================================================
   TABLET HEADER TUNING
   Keep full navigation visible from 761px to 1100px
   ========================================================== */
@media (max-width: 1100px) and (min-width: 761px) {
  .header {
    min-height: 84px;
    padding: 5px 3%;
    gap: 24px;
    justify-content: flex-start;
  }

  .logo img {
    width: 155px;
    height: 62px;
    object-fit: contain;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    width: auto;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(18px, 2.5vw, 32px);
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  .nav-item {
    width: auto;
  }

  .nav-link {
    width: auto;
    min-height: 0;
    padding: 14px 0;
    font-size: 14px;
    white-space: nowrap;
    justify-content: flex-start;
  }

  .nav-caret {
    display: inline;
  }

  .submenu {
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    width: auto;
    min-width: 190px;
    padding: 10px;
    border: 1px solid rgba(31, 77, 56, 0.10);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(18, 54, 38, 0.16);
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px) !important;
  }

  .submenu::before {
    display: block;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }

  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) !important;
  }

  .submenu a {
    padding: 10px 14px;
    white-space: nowrap;
    font-size: 13px;
  }

  .header > .btn,
  .header .btn-primary {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 11px 20px;
  }
}

@media (max-width: 600px) {
  .eyebrow,
  .section-label {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1.4;
  }
}


/* ==========================================================
   PRIVACY POLICY
   ========================================================== */

.privacy-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.privacy-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: inline-flex;
  color: var(--orange);
}

.privacy-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-link:hover,
.privacy-link:focus {
  color: var(--white);
}

.privacy-page {
  background: var(--cream);
}

.privacy-banner {
  min-height: 330px;
  display: flex;
  align-items: center;
  padding: 70px clamp(24px, 8vw, 150px);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.privacy-banner-inner {
  width: min(100%, 1050px);
  margin: 0 auto;
}

.privacy-banner-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--orange);
}

.privacy-banner-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-banner h1 {
  margin-bottom: 12px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
}

.privacy-banner p {
  max-width: 760px;
  color: #e7f0eb;
  font-size: 18px;
}

.privacy-content {
  padding: 70px clamp(24px, 8vw, 150px) 90px;
}

.privacy-card {
  width: min(100%, 1050px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px);
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(31, 77, 56, 0.10);
}

.privacy-updated {
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 700;
}

.privacy-card h2 {
  margin: 34px 0 12px;
  color: var(--green);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
}

.privacy-card p {
  margin-bottom: 16px;
}

.privacy-card ul {
  margin: 0 0 20px 24px;
}

.privacy-card li {
  margin-bottom: 10px;
}

.privacy-contact {
  margin-top: 20px;
  padding: 22px;
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  background: var(--soft-green);
}

@media (max-width: 600px) {
  .privacy-banner {
    min-height: 260px;
    padding: 52px 20px;
  }

  .privacy-content {
    padding: 48px 20px 64px;
  }

  .privacy-card {
    padding: 28px 22px;
    border-radius: 22px;
  }
}

/* Footer social media */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    background: #ffffff;
    color: #0d382c;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

/* Contact email */
.contact-email {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.contact-email > i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f58220;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  flex-shrink: 0;
}

.contact-email div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-email span {
  font-size: 14px;
  color: #666;
}

.contact-email a {
  color: #18533e;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.contact-email a:hover {
  color: #f58220;
  text-decoration: underline;
}