:root {
  --navy: #14213f;
  --navy-deep: #0e1932;
  --red: #cc263d;
  --red-dark: #b51e34;
  --cream: #fff8f4;
  --blush: #fbe9e7;
  --ink: #172340;
  --muted: #667086;
  --line: #eee1dc;
  --green: #168b68;
  --heading: 'Playfair Display', Georgia, serif;
  --body: 'DM Sans', Arial, sans-serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.7;
  background: #fff
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 10px;
  z-index: 9999
}

.skip-link:focus {
  left: 10px
}

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  padding: 6px 0;
  letter-spacing: .02em
}

.topbar a {
  color: #fff
}

.site-header {
  background: rgba(255, 250, 247, .96);
  border-bottom: 1px solid rgba(20, 33, 63, .05);
  backdrop-filter: blur(14px);
  z-index: 1000
}

.navbar {
  min-height: 72px;
  padding: 8px 0
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  margin-right: 0
}

.logo-mark {
  width: 40px;
  height: 40px;
  border: 2px solid var(--navy);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 22px;
  background: #fff
}

.brand-name {
  font-weight: 800;
  line-height: 1.05;
  font-size: 16px;
  letter-spacing: -.03em
}

.brand-name small {
  display: block;
  font-size: 8px;
  letter-spacing: .24em;
  margin-top: 4px
}

.navbar-nav {
  gap: 18px
}

.nav-link {
  font-size: 12px;
  color: var(--navy);
  font-weight: 600;
  transition: color .2s
}

.nav-link:hover,
.nav-link:focus {
  color: var(--red)
}

.btn {
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .25s, box-shadow .25s, background .25s;
  border: 1px solid transparent
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 7px 18px rgba(204, 38, 61, .13)
}

.btn-red:hover,
.btn-red:focus {
  background: var(--red-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(204, 38, 61, .24)
}

.btn-red i,
.btn-white i {
  margin-left: 7px
}

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important
}

.nav-donate {
  padding: 10px 18px
}

.hero-section {
  background: linear-gradient(120deg, #fbe9e7 0%, #fff8f4 78%);
  padding: 68px 0 72px;
  overflow: hidden
}

.hero-copy {
  position: relative;
  z-index: 2
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 17px
}

.eyebrow>span {
  width: 22px;
  height: 2px;
  background: var(--red);
  display: inline-block
}

.hero-copy h1 {
  font: 800 clamp(42px, 5.3vw, 70px)/.99 var(--heading);
  letter-spacing: -.045em;
  margin: 0 0 22px;
  color: var(--navy)
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--red)
}

.hero-copy>p {
  max-width: 430px;
  color: #5e687b;
  font-size: 14px;
  margin-bottom: 25px
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 11px
}

.mini-avatars {
  display: flex;
  padding-left: 4px
}

.mini-avatars span {
  width: 27px;
  height: 27px;
  margin-left: -4px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3d6cc;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800
}

.mini-avatars span:nth-child(2) {
  background: #d2e5d8
}

.mini-avatars span:nth-child(3) {
  background: var(--red);
  color: #fff
}

.hero-visual {
  position: relative;
  max-width: 470px;
  margin-left: auto;
  padding: 0 10px 12px 0
}

.hero-image-wrap {
  height: 440px;
  overflow: hidden;
  border-radius: 24px 24px 90px 24px;
  box-shadow: 0 25px 50px rgba(20, 33, 63, .16);
  position: relative
}

.hero-image-wrap:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 33, 63, .12))
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s
}

.hero-visual:hover .hero-image-wrap img {
  transform: scale(1.04)
}

.floating-card {
  position: absolute;
  bottom: 36px;
  left: -26px;
  background: #fff;
  border-radius: 15px;
  padding: 16px 19px;
  box-shadow: 0 14px 35px rgba(20, 33, 63, .15);
  min-width: 150px;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 8px;
  align-items: center
}

.floating-card strong {
  font: 800 28px var(--heading);
  color: var(--red)
}

.floating-card strong span {
  font-size: 20px
}

.floating-card small {
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted);
  grid-column: 1
}

.floating-card>i {
  grid-column: 2;
  grid-row: 1/3;
  color: var(--red);
  font-size: 24px
}

.hero-dot {
  position: absolute;
  border-radius: 50%;
  z-index: -1
}

.dot-one {
  width: 110px;
  height: 110px;
  border: 1px dashed rgba(204, 38, 61, .4);
  top: -28px;
  right: -28px
}

.dot-two {
  width: 65px;
  height: 65px;
  background: #f7d7b7;
  bottom: -15px;
  right: 20px;
  opacity: .7
}

.trust-strip {
  background: var(--navy);
  color: #fff;
  padding: 17px 0;
  font-size: 17px
}

.trust-strip i {
  color: #ff8b8b;
  margin-right: 5px;
  font-size: 11px
}

.section-pad {
  padding: 95px 0
}

.about-section {
  background: var(--cream)
}

.about-art {
  position: relative;
  max-width: 470px;
  min-height: 350px;
  margin: auto
}

.about-main-img {
  position: absolute;
  left: 12%;
  top: 8%;
  width: 68%;
  height: 300px;
  border-radius: 50% 50% 48% 48%;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(20, 33, 63, .13)
}

.about-main-img img,
.about-small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.about-small-img {
  position: absolute;
  right: 1%;
  top: 34%;
  width: 36%;
  height: 150px;
  border: 7px solid var(--cream);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 33, 63, .15)
}

.art-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%
}

.art-dot-orange {
  left: 5%;
  top: 15%;
  background: #f5a623
}

.art-dot-green {
  right: 6%;
  bottom: 8%;
  background: var(--green)
}

.art-caption {
  position: absolute;
  left: 0;
  bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 13px 17px;
  box-shadow: 0 10px 30px rgba(20, 33, 63, .09);
  font-size: 11px;
  font-weight: 700
}

.art-caption i {
  font-size: 20px;
  color: var(--red)
}

h2 {
  font: 700 clamp(30px, 3.4vw, 43px)/1.12 var(--heading);
  letter-spacing: -.03em;
  color: var(--navy);
  margin: 0 0 18px
}

.section-copy p {
  color: var(--muted);
  font-size: 13px;
  max-width: 570px
}

.section-copy .btn {
  margin-top: 12px
}

/* .causes-section {
  background: #fff
} */

/* .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px
} */

/* .section-heading h2 {
  max-width: 650px;
  margin-bottom: 12px
} */

/* .section-heading p {
  color: var(--muted);
  font-size: 13px;
  max-width: 540px;
  margin-bottom: 0
} */

/* .text-link {
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  padding-bottom: 8px
} */

/* .cause-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  background: #fff;
  transition: transform .3s, box-shadow .3s, border-color .3s
} */

/* .cause-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 36px rgba(20, 33, 63, .1);
  border-color: #f2c5c6
} */

/* .cause-img {
  height: 185px;
  position: relative;
  overflow: hidden;
  background: var(--blush)
} */

/* .cause-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s
} */

.cause-card:hover .cause-img img {
  transform: scale(1.07)
}

/* .cause-icon {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 13px;
  color: var(--red);
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(20, 33, 63, .12)
} */

/* .cause-body {
  padding: 20px 18px 19px
} */

/* .cause-body h3 {
  font: 700 19px/1.2 var(--heading);
  color: var(--navy);
  margin-bottom: 10px
} */

/* .cause-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  min-height: 78px;
  margin-bottom: 13px
} */

/* .cause-body>a {
  font-size: 15px;
  font-weight: 800;
  color: var(--red)
} */

/* .cause-body>a i {
  margin-left: 4px;
  transition: margin .2s
} */

/* .cause-body>a:hover i {
  margin-left: 9px
} */

.monthly-section {
  background: var(--red);
  color: #fff;
  padding: 58px 0;
  position: relative;
  overflow: hidden
}

.monthly-section:after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  right: -80px;
  top: -170px;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .035), 0 0 0 60px rgba(255, 255, 255, .025)
}

.monthly-section h2 {
  color: #fff;
  font-size: clamp(30px, 3.3vw, 42px);
  margin-bottom: 12px
}

.monthly-section p {
  color: rgba(255, 255, 255, .83);
  font-size: 13px;
  max-width: 650px;
  margin-bottom: 0
}

.eyebrow-light {
  color: #ffd9d9
}

.eyebrow-light>span {
  background: #ffd9d9
}

.monthly-heart {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px
}

.btn-white {
  background: #fff;
  color: var(--red)
}

.btn-white:hover {
  background: #fff0f0;
  color: var(--red-dark);
  box-shadow: 0 10px 22px rgba(65, 0, 0, .15)
}

.impact-section {
  background: var(--blush)
}

.heading-side-copy {
  max-width: 280px !important;
  padding-bottom: 12px
}

.impact-number {
  height: 100%;
  border-left: 3px solid var(--red);
  padding: 0 0 0 18px
}

.impact-number strong {
  font: 800 clamp(34px, 4vw, 49px)/1 var(--heading);
  letter-spacing: -.04em;
  color: var(--navy)
}

.impact-number strong span {
  color: var(--red)
}

.impact-number p {
  font-size: 12px;
  color: var(--muted);
  max-width: 200px;
  margin: 12px 0 0
}

.small-note {
  font-size: 10px;
  color: #7c8492;
  margin: 25px 0 0
}

.stories-section {
  background: var(--cream)
}

.story-controls {
  display: flex;
  gap: 8px;
  padding-bottom: 8px
}

.story-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid #dfd5d1;
  background: #fff;
  color: var(--navy);
  border-radius: 50%;
  transition: all .2s
}

.story-arrow:hover {
  background: var(--navy);
  color: #fff
}

.testimonial-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  transition: transform .3s, box-shadow .3s
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(20, 33, 63, .07)
}

.quote-mark {
  font: 700 50px/.7 var(--heading);
  color: var(--red);
  margin-bottom: 16px
}

.testimonial-card>p {
  color: #586176;
  font-size: 12px;
  line-height: 1.8;
  min-height: 100px
}

.person {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #f1e9e5;
  padding-top: 16px
}

.person img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover
}

.person strong,
.person small {
  display: block
}

.person strong {
  font-size: 15px;
  color: var(--navy)
}

.person small {
  font-size: 10px;
  color: var(--muted)
}

.stars {
  margin-left: auto;
  color: #e9a22b;
  letter-spacing: 1px;
  font-size: 10px
}

.contact-wrap {
  background: var(--cream);
  padding: 0 0 95px
}

.contact-panel {
  background: var(--navy);
  border-radius: 24px;
  padding: 48px 50px;
  color: #fff;
  box-shadow: 0 20px 45px rgba(20, 33, 63, .13)
}

.contact-copy h2 {
  color: #fff
}

.contact-copy p {
  font-size: 12px;
  color: #d3d9e5;
  max-width: 340px;
  margin-bottom: 22px
}

.contact-copy>a {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-top: 8px
}

.contact-copy>a i {
  color: #ff929c;
  margin-right: 8px
}

.contact-form .form-control {
  border: 1px solid #e7e9ef;
  border-radius: 10px;
  padding: 13px 15px;
  font: 12px var(--body);
  background: #fff;
  color: var(--ink)
}

.contact-form .form-control:focus {
  border-color: #ef8997;
  box-shadow: 0 0 0 .2rem rgba(204, 38, 61, .15)
}

.contact-form textarea {
  resize: vertical;
  min-height: 125px
}

.form-message {
  font-size: 11px;
  margin: 10px 0 0;
  color: #c7f5df
}

/* =========================================
   PREMIUM BACK TO TOP — HUMANITY FOUNDATION
========================================= */

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 1020;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg,
      #fff95c 0%,
      #fff200 48%,
      #f3d900 100%);
  color: #fff200;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px 22px 7px 22px;
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.15),
    0 4px 0 #171717,
    inset 0 2px 3px rgba(255, 255, 255, 0.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px) scale(0.88);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.35s cubic-bezier(.2, .8, .2, 1),
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* Inner black circle */
.back-to-top i {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171717;
  color: #fff200;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-size: 23px;
  font-weight: 900;
  -webkit-text-stroke: 0.8px currentColor;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.12);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

/* Reveal on scroll */
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Premium hover */
.back-to-top:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.2),
    0 5px 0 #171717,
    0 0 0 5px rgba(255, 242, 0, 0.2),
    inset 0 2px 3px rgba(255, 255, 255, 0.8);
}

/* Arrow motion */
.back-to-top:hover i {
  transform: translateY(-3px);
  background: #fff200;
  color: #171717;
}

/* Click feedback */
.back-to-top:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.15),
    0 1px 0 #171717;
}

/* Keyboard accessibility */
.back-to-top:focus-visible {
  outline: 3px solid #171717;
  outline-offset: 5px;
}

/* Mobile responsive */
@media (max-width: 576px) {
  .back-to-top {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
    border-radius: 18px 18px 6px 18px;
  }

  .back-to-top i {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {

  .back-to-top,
  .back-to-top i {
    transition: none;
  }
}


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0)
}

@media(max-width:991.98px) {
  .navbar-nav {
    gap: 4px;
    padding: 15px 0
  }

  .nav-donate {
    display: inline-block;
    margin: 0 0 12px
  }

  .hero-section {
    padding: 55px 0 65px
  }

  .hero-visual {
    margin: 15px auto 0;
    max-width: 520px
  }

  .hero-image-wrap {
    height: 400px
  }

  .section-pad {
    padding: 75px 0
  }

  .about-art {
    max-width: 430px
  }

  .contact-panel {
    padding: 38px 30px
  }

  .heading-side-copy {
    display: none
  }

  /* .cause-img {
    height: 165px
  } */
}

@media(max-width:575.98px) {
  body {
    font-size: 13px
  }

  .topbar {
    font-size: 8px
  }

  .topbar .container {
    align-items: flex-start
  }

  .navbar {
    min-height: 65px
  }

  .logo-mark {
    width: 36px;
    height: 36px
  }

  .brand-name {
    font-size: 14px
  }

  .hero-section {
    padding: 42px 0 55px
  }

  .hero-copy h1 {
    font-size: clamp(42px, 12vw, 58px)
  }

  .hero-copy>p {
    font-size: 13px
  }

  .hero-actions .btn {
    padding: 11px 16px
  }

  .hero-image-wrap {
    height: 330px;
    border-radius: 20px 20px 65px 20px
  }

  .floating-card {
    left: -4px;
    bottom: 25px;
    padding: 12px 14px;
    min-width: 130px
  }

  .floating-card strong {
    font-size: 24px
  }

  .trust-strip {
    padding: 15px 0;
    font-size: 10px
  }

  .trust-strip .row {
    row-gap: 13px !important
  }

  .section-pad {
    padding: 62px 0
  }

  .about-art {
    min-height: 295px
  }

  .about-main-img {
    height: 250px;
    width: 70%;
    left: 10%
  }

  .about-small-img {
    height: 120px;
    width: 36%;
    border-width: 5px
  }

  .art-caption {
    bottom: 0;
    font-size: 10px;
    padding: 10px 12px
  }

  .section-heading {
    align-items: flex-start
  }

  .section-heading h2,
  h2 {
    font-size: 31px
  }

  /* .section-heading p {
    font-size: 12px
  } */

  .cause-img {
    height: 155px
  }

  /* .cause-body {
    padding: 15px 13px
  } */

  /* .cause-body h3 {
    font-size: 17px
  } */

  /* .cause-body p {
    font-size: 11px;
    min-height: 100px
  } */

  .monthly-section {
    padding: 43px 0
  }

  .monthly-section h2 {
    font-size: 31px
  }

  .monthly-section .btn {
    margin-top: 5px
  }

  .impact-number {
    padding-left: 12px
  }

  .impact-number strong {
    font-size: 32px
  }

  .impact-number p {
    font-size: 10px
  }

  .story-controls {
    padding-top: 4px
  }

  .story-arrow {
    width: 35px;
    height: 35px
  }

  .testimonial-card {
    padding: 20px
  }

  .testimonial-card>p {
    min-height: auto
  }

  .contact-wrap {
    padding-bottom: 60px
  }

  .contact-panel {
    padding: 30px 20px;
    border-radius: 18px
  }

  .contact-copy h2 {
    font-size: 32px
  }

  .site-footer {
    padding-top: 42px
  }

  .footer-bottom {
    margin-top: 25px
  }

  .footer-bottom div {
    gap: 12px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

.person-initial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  background: #fbe9e7;
  color: #14213f;
  font-weight: 800;
  font-size: 19px;
  border: 1px solid #f0d9d5
}

/* Monthly-giving heart: gentle heartbeat + expanding halo animation. */
.monthly-heart {
  position: relative;
  isolation: isolate;
  animation: monthly-heart-float 3.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .24);
}

.monthly-heart::before,
.monthly-heart::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: monthly-heart-ripple 2.4s ease-out infinite;
}

.monthly-heart::after {
  animation-delay: 1.2s
}

.monthly-heart i {
  display: block;
  transform-origin: center;
  animation: monthly-heartbeat 1.45s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, .16));
}

.monthly-heart:hover {
  animation-play-state: paused
}

.monthly-heart:hover i {
  animation-duration: .75s
}

@keyframes monthly-heartbeat {

  0%,
  42%,
  70%,
  100% {
    transform: scale(1)
  }

  14% {
    transform: scale(1.18)
  }

  28% {
    transform: scale(1.04)
  }

  56% {
    transform: scale(1.13)
  }
}

@keyframes monthly-heart-ripple {
  0% {
    transform: scale(.86);
    opacity: 0
  }

  18% {
    opacity: .55
  }

  100% {
    transform: scale(1.62);
    opacity: 0
  }
}

@keyframes monthly-heart-float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-4px)
  }
}

@media(prefers-reduced-motion:reduce) {

  .monthly-heart,
  .monthly-heart::before,
  .monthly-heart::after,
  .monthly-heart i {
    animation: none !important;
  }
}


/* Circular, larger Humanity Foundation emblem */
.navbar {
  min-height: 88px
}

.logo-only {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important
}

.foundation-logo {
  width: 76px;
  height: 76px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  border: 0;
  filter: drop-shadow(0 2px 3px rgba(11, 34, 42, .13))
}

.footer-brand .foundation-logo {
  width: 64px;
  height: 64px
}

/* Accessible homepage hero slider */
.hero-section {
  background: linear-gradient(120deg, #f5f5f3 0%, #f8f9fb 72%, #fff8f4 100%);
  padding-top: 56px;
  padding-bottom: 40px
}

.hero-slider {
  position: relative
}

.hero-slide {
  display: none
}

.hero-slide.is-active {
  display: block;
  animation: heroSlideIn .65s ease both
}

.hero-slide .hero-copy h1 {
  color: #101010
}

.hero-slide .hero-visual {
  max-width: 510px
}

.hero-slide .hero-image-wrap {
  height: 440px;
  border-radius: 23px;
  box-shadow: 0 18px 42px rgba(20, 33, 63, .14)
}

.hero-slide .hero-image-wrap:after {
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(20, 33, 63, .08))
}

.hero-slide .hero-image-wrap img {
  object-position: center
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 8px;
  position: relative;
  z-index: 3
}

.hero-slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(20, 33, 63, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  color: var(--navy);
  font-size: 15px;
  transition: background .2s, color .2s, transform .2s, border-color .2s
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-1px)
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 2px
}

.hero-pagination-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8cbd2;
  transition: width .25s, background .25s
}

.hero-pagination-dot.is-active {
  width: 25px;
  background: var(--red)
}

.hero-pagination-dot:focus-visible,
.hero-slider-arrow:focus-visible {
  outline: 3px solid rgba(204, 38, 61, .32);
  outline-offset: 3px
}

.hero-slider-caption {
  margin-left: 5px;
  color: #747c89;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums
}

@keyframes heroSlideIn {
  from {
    opacity: .2;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media(max-width:991.98px) {
  .navbar {
    min-height: 82px
  }

  .foundation-logo {
    width: 68px;
    height: 68px
  }

  .footer-brand .foundation-logo {
    width: 60px;
    height: 60px
  }

  .hero-section {
    padding-top: 42px
  }

  .hero-slider-controls {
    justify-content: center;
    margin-top: 22px
  }

  .hero-slide .hero-image-wrap {
    height: 400px
  }
}

@media(max-width:575.98px) {
  .navbar {
    min-height: 74px
  }

  .foundation-logo {
    width: 60px;
    height: 60px
  }

  .footer-brand .foundation-logo {
    width: 54px;
    height: 54px
  }

  .hero-section {
    padding-top: 34px;
    padding-bottom: 38px
  }

  .hero-slide .hero-copy h1 {
    font-size: clamp(39px, 11.7vw, 56px);
    line-height: 1.02
  }

  .hero-slide .hero-image-wrap {
    height: 330px;
    border-radius: 20px
  }

  .hero-slider-controls {
    margin-top: 17px;
    gap: 9px
  }

  .hero-slider-arrow {
    width: 34px;
    height: 34px
  }

  .hero-slider-caption {
    font-size: 9px
  }
}

@media(prefers-reduced-motion:reduce) {
  .hero-slide.is-active {
    animation: none
  }
}

/* Reference-matched Humanity Foundation navbar: desktop proportions, type, logo and CTA. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #f2f2f1;
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(255, 255, 255, .76) 0 13%, transparent 32%),
    radial-gradient(ellipse at 78% 90%, rgba(222, 222, 220, .22) 0 9%, transparent 30%),
    linear-gradient(100deg, #f4f4f3 0%, #eeeeed 52%, #f5f5f4 100%);
  border: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .14);
  backdrop-filter: blur(12px);
}

.site-header .navbar {
  min-height: 102px;
  padding: 7px 0;
  font-family: 'Barlow', Arial, sans-serif;
}

.site-header .header-inner {
  width: 100%;
  max-width: none;
  padding-left: 81px;
  padding-right: 88px;
  display: flex;
  align-items: center;
}

.site-header .navbar-brand,
.site-header .logo-only,
.site-header .brand-mark {
  flex: 0 0 81px;
  width: 81px;
  height: 81px;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.site-header .foundation-logo,
.site-header .brand-mark img {
  display: block;
  width: 80px !important;
  height: 80px !important;
  max-width: none;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  filter: none;
  box-shadow: none;
}

.site-header .navbar-collapse {
  align-items: center;
  min-width: 0;
}

.site-header .navbar-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
}

.site-header .navbar-nav.mx-auto {
  margin-left: clamp(38px, 7.3vw, 100px) !important;
  margin-right: auto !important;
}

.site-header .navbar-nav>.nav-item>.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #090909;
  font-family: 'Barlow', Arial, sans-serif;
  /* font-size: 14px; */
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .005em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 12px 7px !important;
  transform: translateY(0);
  transition: color .25s ease, transform .25s ease;
}

.site-header .navbar-nav>.nav-item>.nav-link::before {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: #e52332;
  transform: translateX(-50%);
  transition: width .3s cubic-bezier(.2, .75, .25, 1);
}

.site-header .navbar-nav>.nav-item>.nav-link:hover,
.site-header .navbar-nav>.nav-item>.nav-link:focus-visible,
.site-header .navbar-nav>.nav-item>.nav-link.active,
.site-header .navbar-nav>.nav-item>.nav-link[aria-current="page"] {
  color: #e52332;
}

.site-header .navbar-nav>.nav-item>.nav-link:hover,
.site-header .navbar-nav>.nav-item>.nav-link:focus-visible {
  transform: translateY(-1px);
}

.site-header .navbar-nav>.nav-item>.nav-link:hover::before,
.site-header .navbar-nav>.nav-item>.nav-link:focus-visible::before {
  width: calc(100% - 14px);
}

.site-header .navbar-nav>.nav-item>.nav-link.active::before,
.site-header .navbar-nav>.nav-item>.nav-link[aria-current="page"]::before {
  width: 0;
}

.site-header .navbar-nav .dropdown-toggle::after {
  margin-left: 4px;
  vertical-align: .15em;
  border-top-width: .28em;
  border-right-width: .28em;
  border-left-width: .28em;
  transition: transform .25s ease;
}

.site-header .navbar-nav .dropdown:hover>.dropdown-toggle::after,
.site-header .navbar-nav .dropdown:focus-within>.dropdown-toggle::after,
.site-header .navbar-nav .dropdown.show>.dropdown-toggle::after {
  transform: rotate(180deg);
}

.site-header .navbar-nav .dropdown-menu {
  margin-top: 2px;
  padding: 8px;
  min-width: 190px;
  border: 1px solid rgba(0, 0, 0, .04);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.site-header .navbar-nav .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header .navbar-nav .dropdown-item {
  padding: 8px 10px;
  border-radius: 4px;
  color: #171717;
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 12px;
  transition: color .2s ease, background-color .2s ease, padding-left .2s ease;
}

.site-header .navbar-nav .dropdown-item:hover,
.site-header .navbar-nav .dropdown-item:focus-visible {
  color: #e52332;
  background: #fffbd7;
  padding-left: 15px;
}

.site-header .header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 20px;
  margin-left: 28px;
}

.site-header .phone-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #090909;
  /* font-family: 'Playfair Display', Georgia, serif; */
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  transition: color .22s ease;
}

.site-header .phone-link:hover,
.site-header .phone-link:focus-visible {
  color: #e52332;
}

.site-header .phone-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f02637;
  /* font-family: 'bootstrap-icons'; */
  font-size: 10px;
  line-height: 1;
  transition: transform .25s ease;
  border: 2px solid #f05e6a;
  border-radius: 50px;
  padding: 5px;
}

.site-header .phone-link:hover i {
  transform: rotate(-12deg) scale(1.06);
}

.site-header .donate-button,
.site-header .nav-donate {
  min-width: 198px;
  min-height: 52px;
  padding: 14px 25px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  background: #ffed00;
  color: #111;
  box-shadow: 0 7px 17px rgba(150, 140, 0, .12);
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.site-header .donate-button i,
.site-header .nav-donate i {
  font-size: 15px;
  line-height: 1;
}

.site-header .donate-button:hover,
.site-header .donate-button:focus-visible,
.site-header .nav-donate:hover,
.site-header .nav-donate:focus-visible {
  color: #111;
  background: #ffe100;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(150, 140, 0, .2);
}

.site-header .navbar-toggler {
  border: 2px solid #ffed00;
  border-radius: 8px;
  padding: 7px;
  box-shadow: none !important;
}

.site-header .navbar-toggler:focus-visible {
  outline: 2px solid #e52332;
  outline-offset: 3px;
}

@media (min-width: 1200px) {
  .site-header .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .navbar {
    min-height: 82px;
  }

  .site-header .header-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header .navbar-brand,
  .site-header .logo-only,
  .site-header .brand-mark {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .site-header .foundation-logo,
  .site-header .brand-mark img {
    width: 64px !important;
    height: 64px !important;
  }

  .site-header .navbar-nav.mx-auto {
    margin-left: 25px !important;
  }

  .site-header .navbar-nav {
    gap: 1px;
  }

  .site-header .navbar-nav>.nav-item>.nav-link {
    font-size: 11px;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .site-header .header-actions {
    gap: 10px;
    margin-left: 12px;
  }

  .site-header .phone-link {
    font-size: 14px;
    gap: 6px;
  }

  .site-header .phone-link i {
    font-size: 19px;
  }

  .site-header .donate-button,
  .site-header .nav-donate {
    min-width: 145px;
    min-height: 44px;
    padding: 12px 15px !important;
    font-size: 11px;
    gap: 7px;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar {
    min-height: 72px;
    padding: 7px 0;
  }

  .site-header .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header .navbar-brand,
  .site-header .logo-only,
  .site-header .brand-mark {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .site-header .foundation-logo,
  .site-header .brand-mark img {
    width: 52px !important;
    height: 52px !important;
  }

  .site-header .navbar-toggler {
    margin-left: auto;
  }

  .site-header .navbar-toggler-icon {
    width: 1.15em;
    height: 1.15em;
  }

  .site-header .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    padding: 8px 0 14px;
  }

  .site-header .navbar-nav,
  .site-header .navbar-nav.mx-auto {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0 !important;
    width: 100%;
  }

  .site-header .navbar-nav>.nav-item {
    width: 100%;
  }

  .site-header .navbar-nav>.nav-item>.nav-link {
    display: flex;
    width: 100%;
    min-height: 38px;
    align-items: center;
    padding: 10px 9px !important;
    border-bottom: 1px solid rgba(0, 0, 0, .055);
    font-size: 12px;
    transform: none;
  }

  .site-header .navbar-nav>.nav-item>.nav-link::before {
    left: 9px;
    bottom: 1px;
    transform: none;
  }

  .site-header .navbar-nav>.nav-item>.nav-link:hover::before,
  .site-header .navbar-nav>.nav-item>.nav-link:focus-visible::before {
    width: 28px;
  }

  .site-header .navbar-nav .dropdown-menu,
  .site-header .navbar-nav .dropdown-menu:not(.show) {
    display: none !important;
    position: static;
    margin: 0 0 4px 9px;
    width: calc(100% - 9px);
    padding: 4px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    box-shadow: none;
    border: 0;
    background: #f8f8f5;
  }

  .site-header .navbar-nav .dropdown-menu.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 12px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid rgba(0, 0, 0, .06);
  }

  .site-header .phone-link {
    padding: 5px 8px;
    font-size: 16px;
  }

  .site-header .phone-link i {
    font-size: 20px;
  }

  .site-header .donate-button,
  .site-header .nav-donate {
    width: 100%;
    max-width: 280px;
    min-width: 0;
    min-height: 45px;
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  .site-header .navbar {
    min-height: 66px;
  }

  .site-header .navbar-brand,
  .site-header .logo-only,
  .site-header .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .site-header .foundation-logo,
  .site-header .brand-mark img {
    width: 46px !important;
    height: 46px !important;
  }

  .site-header .navbar-toggler {
    padding: 6px;
  }

  .site-header .navbar-collapse {
    padding-top: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .site-header *,
  .site-header *::before,
  .site-header *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Donate button shine effect */
/* ==================================
   ATTRACTIVE DONATE NOW BUTTON
================================== */

.site-header .donate-button,
.site-header .nav-donate,
.donate-button,
.nav-donate {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 15px 30px;
  min-height: 52px;

  background: linear-gradient(135deg,
      #fff879 0%,
      #ffed00 45%,
      #ffd600 100%) !important;

  color: #222 !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  white-space: nowrap;

  box-shadow:
    0 5px 15px rgba(255, 214, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* Moving shine effect */
.site-header .donate-button::before,
.site-header .nav-donate::before,
.donate-button::before,
.nav-donate::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;

  background: linear-gradient(110deg,
      transparent,
      rgba(255, 255, 255, 0.75),
      transparent);

  transform: skewX(-20deg);
  animation: donateShine 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes donateShine {

  0%,
  65% {
    left: -120%;
  }

  100% {
    left: 150%;
  }
}

/* Icon animation */
.site-header .donate-button i,
.site-header .nav-donate i,
.donate-button i,
.nav-donate i {
  transition: transform 0.3s ease;
}

/* Hover interaction */
.site-header .donate-button:hover,
.site-header .nav-donate:hover,
.donate-button:hover,
.nav-donate:hover {
  color: #171717 !important;
  transform: translateY(-3px);

  box-shadow:
    0 10px 25px rgba(255, 214, 0, 0.42),
    0 0 0 4px rgba(255, 237, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.site-header .donate-button:hover i,
.site-header .nav-donate:hover i,
.donate-button:hover i,
.nav-donate:hover i {
  transform: translateX(4px);
}

/* Keyboard accessibility */
.site-header .donate-button:focus-visible,
.site-header .nav-donate:focus-visible,
.donate-button:focus-visible,
.nav-donate:focus-visible {
  outline: 3px solid #222;
  outline-offset: 4px;
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {

  .site-header .donate-button,
  .site-header .nav-donate,
  .donate-button,
  .nav-donate,
  .donate-button::before,
  .nav-donate::before {
    animation: none;
    transition: none;
  }
}


/* Premium dropdown hover animation */
@media (min-width: 992px) {
  .site-header .navbar-nav>.dropdown {
    position: relative;
  }

  .site-header .navbar-nav>.dropdown>.dropdown-menu {
    top: 100%;
    margin-top: 0;
    transform: translateY(12px) scale(.98);
    transform-origin: top center;
    transition: opacity .24s ease,
      transform .24s ease,
      visibility .24s ease;
  }

  .site-header .navbar-nav>.dropdown>.dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
  }

  .site-header .navbar-nav>.dropdown:hover>.dropdown-menu,
  .site-header .navbar-nav>.dropdown:focus-within>.dropdown-menu,
  .site-header .navbar-nav>.dropdown>.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-header .navbar-nav .dropdown-item {
    position: relative;
  }

  .site-header .navbar-nav .dropdown-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 3px;
    background: #fff200;
    transform: scaleY(0);
    transition: transform .2s ease;
  }

  .site-header .navbar-nav .dropdown-item:hover::before,
  .site-header .navbar-nav .dropdown-item:focus-visible::before {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .site-header .navbar-nav .dropdown-menu,
  .site-header .navbar-nav .dropdown-item,
  .site-header .navbar-nav .dropdown-item::before {
    transition: none !important;
  }
}


/* Make navbar dropdown caret larger */
.site-header .navbar-nav .dropdown-toggle::after {
  display: inline-block;
  margin-left: 8px;
  vertical-align: 3px;
  border-top: 7px solid currentColor;
  border-right: 5px solid transparent;
  border-bottom: 0;
  border-left: 5px solid transparent;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Rotate caret when dropdown is open */
.site-header .navbar-nav .dropdown-toggle.show::after {
  transform: rotate(180deg);
}

/* Highlight caret on hover */
.site-header .navbar-nav .dropdown-toggle:hover::after {
  color: #e9273f;
}

/* =========================================================
   RESPONSIVE FINISHING LAYER
   Keeps the existing Humanity Foundation design and colours.
   Added after the original styles so the responsive rules win.
========================================================= */

/* Prevent accidental horizontal scrolling on narrow devices. */
html {
  width: 100%;
  overflow-x: clip;
  scroll-padding-top: 110px;
}

body {
  width: 100%;
  min-width: 320px;
  overflow-x: clip;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

.container,
.container-fluid {
  --bs-gutter-x: clamp(1.25rem, 3vw, 3rem);
}

/* Fluid section spacing and type scale. */
.section-pad {
  padding-block: clamp(3.75rem, 6vw, 7rem);
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.25rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

p,
li {
  overflow-wrap: break-word;
}

/* Banner: flexible columns, image ratio and fluid typography. */
.hero-section {
  padding-block: clamp(2.5rem, 5vw, 5.75rem);
}

.hero-section>.container {
  width: 100%;
}

.hero-slide .row {
  --bs-gutter-x: clamp(1.5rem, 4vw, 5rem);
  --bs-gutter-y: clamp(1.75rem, 3vw, 3rem);
}

.hero-copy {
  min-width: 0;
}

.hero-slide .hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.45rem, 5.1vw, 5.8rem);
  line-height: .99;
  letter-spacing: -.045em;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero-slide .hero-copy>p {
  width: 100%;
  max-width: min(100%, 34rem);
  font-size: clamp(.95rem, 1.05vw, 1.125rem);
  line-height: 1.75;
}

.hero-slide .hero-visual {
  width: 100%;
  max-width: min(100%, 44rem);
  margin-inline: auto;
  padding: 0 10px 12px 0;
}

.hero-slide .hero-image-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: 1.08 / 1;
  min-height: 0;
  max-height: 680px;
  overflow: hidden;
}

.hero-slide .hero-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-slide .floating-card {
  max-width: min(13rem, 48%);
  left: clamp(-1rem, -1.3vw, -0.25rem);
  bottom: clamp(1rem, 3vw, 2.25rem);
}

.hero-slide .hero-dot {
  pointer-events: none;
}

.hero-actions {
  align-items: center;
  gap: clamp(.6rem, 1.2vw, 1rem);
}

.hero-actions .btn {
  white-space: normal;
  text-align: center;
}

/* Images and cards in the remaining sections should scale with their columns. */
.about-art,
.cause-card,
.testimonial-card,
.contact-panel {
  max-width: 100%;
}

.about-art {
  width: 100%;
}

.about-main-img img,
.about-small-img img,
.cause-img img,
.person img {
  display: block;
}

.cause-img {
  height: clamp(10rem, 16vw, 15rem);
}

.contact-panel {
  padding: clamp(1.5rem, 3.2vw, 3.25rem);
}

input,
select,
textarea,
button {
  max-width: 100%;
}

/* Ultra-wide desktop and large monitors: use more of the available canvas. */
@media (min-width: 1600px) {
  .container {
    max-width: 1560px;
  }

  .hero-section>.container,
  main>section:not(.hero-section)>.container {
    max-width: 1560px;
  }

  .hero-slide .row {
    --bs-gutter-x: 5rem;
  }

  .hero-slide .hero-copy h1 {
    font-size: clamp(5rem, 5.15vw, 6.8rem);
  }

  .hero-slide .hero-copy>p {
    max-width: 39rem;
    font-size: 1.15rem;
  }

  .hero-slide .hero-visual {
    max-width: 46rem;
  }

  .hero-slide .hero-image-wrap {
    aspect-ratio: 1.1 / 1;
    max-height: 690px;
  }

  .section-pad {
    padding-block: 7rem;
  }
}

@media (min-width: 2000px) {

  .container,
  .hero-section>.container,
  main>section:not(.hero-section)>.container {
    max-width: 1760px;
  }

  .hero-slide .row {
    --bs-gutter-x: 6rem;
  }

  .hero-slide .hero-copy h1 {
    font-size: clamp(6rem, 4.8vw, 7.5rem);
  }

  .hero-slide .hero-visual {
    max-width: 50rem;
  }

  .hero-slide .hero-image-wrap {
    max-height: 740px;
  }
}

/* Mid-size desktop/laptop: avoid squeezing the header and hero columns. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-header .header-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header .navbar-brand,
  .site-header .logo-only,
  .site-header .brand-mark {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }

  .site-header .foundation-logo,
  .site-header .brand-mark img {
    width: 64px !important;
    height: 64px !important;
  }

  .site-header .navbar-nav.mx-auto {
    margin-left: 24px !important;
  }

  .site-header .navbar-nav {
    gap: 2px;
  }

  .site-header .navbar-nav>.nav-item>.nav-link {
    padding-inline: 5px !important;
    font-size: 12px;
  }

  .site-header .header-actions {
    gap: 12px;
    margin-left: 14px;
  }

  .site-header .phone-link {
    font-size: 14px;
  }

  .site-header .donate-button,
  .site-header .nav-donate {
    min-width: 150px;
    min-height: 46px;
    padding: 12px 16px !important;
    font-size: 12px;
  }

  .hero-slide .hero-image-wrap {
    aspect-ratio: 1 / 1;
  }
}

/* Tablet and smaller laptops. */
@media (max-width: 1199.98px) {
  .hero-slide .hero-copy h1 {
    font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  }

  .hero-slide .hero-image-wrap {
    aspect-ratio: 1.02 / 1;
  }

  .section-pad {
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-block: 2.75rem 3.5rem;
  }

  .hero-slide .row {
    text-align: center;
  }

  .hero-slide .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-slide .hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  }

  .hero-slide .hero-copy>p {
    max-width: 42rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-slide .hero-visual {
    max-width: min(100%, 39rem);
  }

  .hero-slide .hero-image-wrap {
    aspect-ratio: 1.25 / 1;
    max-height: 520px;
  }

  .hero-slide .floating-card {
    left: .5rem;
  }

  .about-art {
    max-width: 34rem;
  }
}

/* Mobile: stack everything, keep banner image and CTAs inside viewport. */
@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 80px;
  }

  .hero-section {
    padding-block: 2rem 2.75rem;
  }

  .hero-slide .row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.5rem;
  }

  .hero-slide .hero-copy h1 {
    font-size: clamp(2.35rem, 9vw, 3.65rem);
    line-height: 1.03;
  }

  .hero-slide .hero-copy>p {
    font-size: .95rem;
    line-height: 1.65;
  }

  .hero-slide .hero-image-wrap {
    aspect-ratio: 1.18 / 1;
    max-height: 430px;
    border-radius: 18px;
  }

  .hero-slide .floating-card {
    min-width: 0;
    max-width: 48%;
    padding: .7rem .85rem;
    left: .25rem;
    bottom: .75rem;
  }

  .hero-slide .floating-card strong {
    font-size: 1.5rem;
  }

  .hero-slide .floating-card small {
    font-size: .62rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    min-height: 44px;
    padding: .7rem 1rem;
    font-size: .85rem;
  }

  .trust-strip {
    font-size: .85rem;
  }

  .cause-img {
    height: clamp(11rem, 48vw, 16rem);
  }

  .contact-panel {
    border-radius: 18px;
  }
}

@media (max-width: 575.98px) {

  .container,
  .container-fluid {
    --bs-gutter-x: 1.25rem;
  }

  .hero-slide .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.25rem);
  }

  .hero-slide .hero-image-wrap {
    aspect-ratio: 1.08 / 1;
    max-height: 360px;
  }

  .hero-slide .floating-card {
    max-width: 52%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-pad {
    padding-block: 3.5rem;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .about-art {
    min-height: 275px;
  }

  .about-main-img {
    height: 235px;
  }

  .about-small-img {
    height: 112px;
  }

  .contact-panel {
    padding: 1.25rem;
  }
}

@media (max-width: 359.98px) {
  .hero-slide .hero-copy h1 {
    font-size: 2.05rem;
  }

  .hero-slide .floating-card {
    padding: .55rem .65rem;
  }

  .hero-slide .floating-card strong {
    font-size: 1.25rem;
  }

  .hero-slide .floating-card small {
    font-size: .56rem;
  }

  .site-header .header-inner {
    padding-inline: 10px;
  }
}

/* Landscape phones and short viewports. */
@media (max-height: 560px) and (orientation: landscape) {
  .hero-section {
    padding-block: 1.5rem;
  }

  .hero-slide .hero-image-wrap {
    max-height: 300px;
    aspect-ratio: 1.35 / 1;
  }
}

/* High-density and accessibility preferences. */
@media (prefers-reduced-motion: reduce) {

  .hero-slide.is-active,
  .hero-slide .hero-image-wrap img,
  .cause-card:hover .cause-img img {
    animation: none !important;
    transition: none !important;
  }
}


/* =========================================
   HUMANITY FOUNDATION — REFERENCE HEADER
   Desktop header sizing correction
========================================= */

@media (min-width: 1200px) {

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #f2f2f1;
    background-image:
      radial-gradient(ellipse at 12% 8%,
        rgba(255, 255, 255, .76) 0 13%,
        transparent 32%),
      radial-gradient(ellipse at 78% 90%,
        rgba(222, 222, 220, .22) 0 9%,
        transparent 30%),
      linear-gradient(100deg,
        #f4f4f3 0%,
        #eeeeed 52%,
        #f5f5f4 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .14);
    backdrop-filter: blur(12px);
  }

  .site-header .navbar {
    min-height: 102px;
    padding: 7px 0;
  }

  .site-header .header-inner {
    width: 100%;
    max-width: none;
    padding-left: 22px !important;
    padding-right: 22px !important;
    display: flex;
    align-items: center;
  }

  /* Original circular logo */

  .site-header .navbar-brand,
  .site-header .logo-only {
    flex: 0 0 81px;
    width: 81px;
    height: 81px;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .site-header .foundation-logo {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
    border-radius: 50%;
  }

  /* Navigation */

  .site-header .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
    align-items: center;
    min-width: 0;
  }

  .site-header .navbar-nav,
  .site-header .navbar-nav.mx-auto {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 7px;
    margin-left: clamp(48px, 7.4vw, 102px) !important;
    margin-right: auto !important;
  }

  .site-header .navbar-nav>.nav-item>.nav-link {
    padding: 12px 7px !important;
    color: #090909;
    font-family: 'Barlow', Arial, sans-serif;
    font-size: clamp(12px, 1.10vw, 15px);
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .site-header .navbar-nav>.nav-item>.nav-link.active,
  .site-header .navbar-nav>.nav-item>.nav-link[aria-current="page"] {
    color: #e52332;
  }

  /* Phone number */

  .site-header .header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(10px, 1.4vw, 20px);
    margin-left: clamp(14px, 2vw, 28px);
  }

  .site-header .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #090909;
    /* font-family: 'Playfair Display', Georgia, serif; */
    font-size: clamp(15px, 1.4vw, 19px);
    font-weight: 700;
    white-space: nowrap;
  }

  .site-header .phone-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border: 2px solid #f05e6a;
    border-radius: 50%;
    color: #f02637;
    font-size: 13px;
  }

  /* Yellow Donate Now button */

  .site-header .donate-button {
    width: clamp(160px, 14.5vw, 198px);
    min-width: 0;
    min-height: 52px;
    padding: 14px 20px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg,
        #fff879,
        #ffed00 45%,
        #ffd600) !important;
    color: #111 !important;
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
  }
}



/* =========================================
   CENTER NAVIGATION ON ALL DEVICES
========================================= */

/* Desktop and laptop */
@media (min-width: 992px) {

  .site-header .header-inner {
    display: flex;
    align-items: center;
  }

  .site-header .navbar-collapse {
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
  }

  .site-header .navbar-nav,
  .site-header .navbar-nav.mx-auto {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    gap: clamp(2px, .45vw, 7px);

    /* Remove previous left offset */
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .site-header .navbar-nav>.nav-item>.nav-link {
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    padding-inline: 5px !important;
    /* font-size: clamp(10px, .95vw, 14px); */
  }

  .site-header .header-actions {
    flex: 0 0 auto;
    align-items: center;
    margin-left: clamp(10px, 1.5vw, 24px);
  }
}

/* Tablet and mobile */
@media (max-width: 991.98px) {

  /* Tablet and Mobile — Left Aligned Menu */

  @media (max-width: 991.98px) {

    .site-header .navbar-collapse {
      text-align: left !important;
    }

    .site-header .navbar-nav,
    .site-header .navbar-nav.mx-auto {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-start !important;
      justify-content: flex-start !important;
      margin: 0 !important;
      padding: 10px 0 !important;
      gap: 0;
    }

    .site-header .navbar-nav>.nav-item {
      width: 100%;
      text-align: left !important;
    }

    .site-header .navbar-nav>.nav-item>.nav-link {
      display: flex;
      width: 100%;
      min-height: 44px;
      align-items: center;
      justify-content: flex-start !important;
      padding: 11px 20px !important;
      text-align: left !important;
    }

    .site-header .navbar-nav .dropdown-menu {
      width: calc(100% - 20px);
      margin: 3px 0 9px 20px !important;
      padding: 6px 10px;
      border-left: 2px solid #ffed00;
      text-align: left !important;
    }

    .site-header .navbar-nav .dropdown-item {
      display: block;
      padding: 9px 12px;
      text-align: left !important;
    }
  }
}


/* ==========================================
   HOW WE HELP - CAMPAIGN CARDS
========================================== */

.help-campaigns {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.help-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 42px;
}

.help-heading-content {
  max-width: 700px;
}

.help-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin-bottom: 16px;
}

.help-eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--red);
}

.help-heading h2 {
  font-size: clamp(32px, 4vw, 49px);
  line-height: 1.12;
  margin-bottom: 15px;
  max-width: 620px;
}

.help-heading h2 span {
  color: var(--red);
}

.help-heading p {
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.help-heading-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  padding-bottom: 5px;
  transition: gap .25s ease;
}

.help-heading-link:hover {
  color: var(--red-dark);
  gap: 14px;
}

/* Campaign card */

.help-campaign-grid {
  align-items: stretch;
}

.help-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.help-card:hover {
  transform: translateY(-8px);
  border-color: rgba(204, 38, 61, .35);
  box-shadow: 0 20px 45px rgba(20, 33, 63, .11);
}

/* Image */

.help-card-image {
  height: 235px;
  position: relative;
  overflow: hidden;
  background: var(--blush);
}

.help-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(14, 25, 50, .05) 30%,
      rgba(14, 25, 50, .48) 100%);
  pointer-events: none;
}

.help-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.help-card:hover .help-card-image img {
  transform: scale(1.07);
}

.help-card-number {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 17px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .12);
}

.help-category {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 17px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

/* Card content */

.help-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 25px 24px 23px;
}

.help-card-content h3 {
  color: var(--navy);
  font: 700 23px/1.25 var(--heading);
  margin: 0 0 12px;
}

.help-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 23px;
  min-height: 70px;
}

/* Target amount */

.help-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 16px;
  margin-top: auto;
  margin-bottom: 19px;
}

.help-target small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  margin-bottom: 5px;
}

.help-target strong {
  display: block;
  color: var(--red);
  font: 800 27px/1.1 var(--heading);
}

.help-target-icon {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blush);
  color: var(--red);
  font-size: 21px;
}

/* Donate button */

.help-donate-btn {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  transition: background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.help-donate-btn i {
  font-size: 17px;
  transition: transform .25s ease;
}

.help-donate-btn:hover {
  color: #fff;
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.help-donate-btn:hover i {
  transform: translate(3px, -3px);
}

/* Bottom message */

.help-bottom-note {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 42px;
  padding: 23px 26px;
  background: var(--navy);
  border-radius: 15px;
  color: #fff;
}

.help-bottom-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: #ff9ba5;
  font-size: 19px;
}

.help-bottom-note strong {
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}

.help-bottom-note p {
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
  margin: 0;
}

.help-bottom-link {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  transition: gap .25s ease;
}

.help-bottom-link:hover {
  color: #ffb5bd;
  gap: 14px;
}

/* Tablet */

@media (max-width: 991.98px) {
  .help-heading {
    margin-bottom: 32px;
  }

  .help-card-image {
    height: 205px;
  }

  .help-card-content {
    padding: 21px 19px;
  }

  .help-description {
    min-height: 95px;
  }

  .help-bottom-note {
    flex-wrap: wrap;
  }
}

/* Mobile */

@media (max-width: 767.98px) {
  .help-campaigns {
    padding: 60px 0;
  }

  .help-heading {
    display: block;
    margin-bottom: 28px;
  }

  .help-heading h2 {
    font-size: 34px;
  }

  .help-heading p {
    font-size: 13px;
  }

  .help-heading-link {
    margin-top: 17px;
  }

  .help-card-image {
    height: 230px;
  }

  .help-card-content {
    padding: 22px;
  }

  .help-description {
    min-height: 0;
  }

  .help-bottom-note {
    padding: 20px;
    gap: 13px;
  }

  .help-bottom-note>div:nth-child(2) {
    flex: 1;
    min-width: 180px;
  }

  .help-bottom-link {
    margin: 8px 0 0 61px;
  }
}

/* Small phones */

@media (max-width: 420px) {
  .help-heading h2 {
    font-size: 30px;
  }

  .help-card-image {
    height: 205px;
  }

  .help-card-content {
    padding: 19px;
  }

  .help-card-content h3 {
    font-size: 21px;
  }

  .help-target strong {
    font-size: 25px;
  }

  .help-bottom-note {
    align-items: flex-start;
  }

  .help-bottom-link {
    margin-left: 0;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {

  .help-card,
  .help-card-image img,
  .help-donate-btn,
  .help-donate-btn i,
  .help-heading-link,
  .help-bottom-link {
    transition: none !important;
  }
}

/* Normal size bottom Donate Now button */
.help-bottom-cta a {
  /* display: inline-flex !important; */
  /* width: auto !important; */
  /* min-width: 150px; */
  /* max-width: max-content; */
  /* padding: 14px 28px !important; */
  /* align-items: center; */
  /* justify-content: center; */
  border-radius: 8px;
  /* text-decoration: none; */
}

/* Align button to the right */
.help-bottom-cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* View More - Normal Button */
.help-bottom-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
  padding: 25px 0 0;
  margin: 0;
  border: none;
}

.help-view-more {
  display: inline-flex !important;
  width: auto !important;
  min-width: unset !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 28px !important;
  background: #14213f;
  color: #fff !important;
  border-radius: 50px;
  font-size: 17 px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s ease;
}

.help-view-more:hover {
  background: #2c3a58;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(204, 38, 61, .18);
}

.help-view-more i {
  transition: transform .3s ease;
}

.help-view-more:hover i {
  transform: translateX(4px);
}


/* ========================================
   NGO CAUSES - FRIENDLY RESPONSIVE DESIGN
======================================== */

.ngo-causes {
  background: #fff8f4;
  padding: 85px 0;
}

.ngo-causes-heading {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.ngo-eyebrow {
  display: inline-block;
  color: #cc263d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: 12px;
}

.ngo-causes-heading h2 {
  color: #14213f;
  font-family: var(--heading);
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.2;
  margin: 0 0 13px;
}

.ngo-causes-heading h2 span {
  color: #cc263d;
}

.ngo-causes-heading p {
  color: #667086;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* Cards grid */

.ngo-causes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  align-items: stretch;
}

.ngo-cause-card {
  background: #fff;
  border: 1px solid #eee6e2;
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 5px 22px rgba(20, 33, 63, .045);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ngo-cause-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(20, 33, 63, .10);
}

/* Image */

.ngo-cause-image {
  height: 235px;
  position: relative;
  overflow: hidden;
  background: #fbe9e7;
}

.ngo-cause-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.ngo-cause-card:hover .ngo-cause-image img {
  transform: scale(1.05);
}

.ngo-cause-category {
  position: absolute;
  left: 16px;
  bottom: 15px;
  display: inline-block;
  padding: 8px 13px;
  background: #fff;
  color: #14213f;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
}

/* Card content */

.ngo-cause-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ngo-cause-content h3 {
  color: #14213f;
  font-family: var(--heading);
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.ngo-cause-content>p {
  color: #667086;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 20px;
  flex: 1;
}

/* Campaign amount */

.ngo-cause-target {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid #eee6e2;
  border-bottom: 1px solid #eee6e2;
  margin-bottom: 17px;
}

.ngo-cause-target span {
  color: #667086;
  font-size: 15px;
}

.ngo-cause-target strong {
  color: #cc263d;
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}

/* Donate button */

.ngo-donate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  background: #cc263d;
  color: #fff !important;
  border: 1px solid #cc263d;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background .3s ease, border-color .3s ease;
}

.ngo-donate-btn:hover {
  background: #14213f;
  border-color: #14213f;
  color: #fff !important;
}

.ngo-donate-btn i {
  transition: transform .3s ease;
}

.ngo-donate-btn:hover i {
  transform: translateX(4px);
}

/* Bottom area */

.ngo-causes-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 35px;
}

.ngo-causes-footer p {
  color: #667086;
  font-size: 14px;
  margin: 0;
}

.ngo-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid #14213f;
  border-radius: 6px;
  color: #14213f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s ease;
}

.ngo-view-more:hover {
  background: #14213f;
  color: #fff;
}

/* Tablet */

@media (max-width: 991px) {
  .ngo-causes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .ngo-cause-image {
    height: 210px;
  }
}

/* Mobile */

@media (max-width: 575px) {
  .ngo-causes {
    padding: 55px 0;
  }

  .ngo-causes-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .ngo-causes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ngo-cause-image {
    height: 215px;
  }

  .ngo-cause-content {
    padding: 20px;
  }

  .ngo-cause-content h3 {
    font-size: 21px;
  }

  .ngo-causes-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    margin-top: 27px;
  }

  .ngo-view-more {
    align-self: center;
  }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
  .ngo-cause-card,
  .ngo-cause-image img,
  .ngo-donate-btn,
  .ngo-view-more {
    transition: none;
  }

  .ngo-cause-card:hover {
    transform: none;
  }
}


/* ==========================================
   HUMANITY FOUNDATION - CAMPAIGN SHOWCASE
========================================== */

.hf-showcase {
    background: #fff8f4;
    padding: 90px 0;
    overflow: hidden;
}

.hf-showcase-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 38px;
}

.hf-kicker {
    display: block;
    color: #cc263d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.hf-showcase-heading h2 {
    font-family: var(--heading);
    color: #14213f;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.13;
    margin: 0;
}

.hf-showcase-heading h2 span {
    color: #cc263d;
}

.hf-showcase-heading > p {
    max-width: 340px;
    color: #667086;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 5px;
}

/* Campaign grid */

.hf-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.hf-campaign {
    position: relative;
    min-width: 0;
    height: 370px;
    overflow: hidden;
    border-radius: 12px;
    background: #14213f;
    isolation: isolate;
}

.hf-campaign > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .7s ease;
}

.hf-campaign:hover > img {
    transform: scale(1.07);
}

/* Dark image overlay */

.hf-campaign::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        to bottom,
        rgba(14, 25, 50, .05) 10%,
        rgba(14, 25, 50, .18) 38%,
        rgba(14, 25, 50, .96) 100%
    );
}

/* Image category */

.hf-campaign-overlay {
    position: relative;
    height: 100%;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hf-campaign-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 4px;
    background: #fff;
    color: #14213f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
}

/* Campaign information */

.hf-campaign-details {
    color: #fff;
}

.hf-campaign-details h3 {
    color: #fff;
    font-family: var(--heading);
    font-size: 25px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.hf-campaign-details > p {
    color: rgba(255,255,255,.85);
    font-size: 12px;
    line-height: 1.7;
    margin: 0 0 20px;
    min-height: 42px;
}

.hf-campaign-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.3);
}

.hf-campaign-bottom small {
    display: block;
    color: rgba(255,255,255,.7);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.hf-campaign-bottom strong {
    display: block;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    white-space: nowrap;
}

/* Donate button */

.hf-donate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 13px;
    border-radius: 5px;
    background: #cc263d;
    color: #fff !important;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transition: .3s ease;
}

.hf-donate:hover {
    background: #fff;
    color: #14213f !important;
}

/* Footer */

.hf-showcase-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.hf-showcase-footer p {
    color: #667086;
    font-size: 13px;
    margin: 0;
}

.hf-all-causes {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 21px;
    background: #14213f;
    border: 1px solid #14213f;
    border-radius: 5px;
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: .3s ease;
}

.hf-all-causes:hover {
    background: #cc263d;
    border-color: #cc263d;
}

/* Tablet */

@media (max-width: 991px) {
    .hf-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hf-campaign {
        height: 420px;
    }

    .hf-campaign-three {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

/* Mobile */

@media (max-width: 575px) {
    .hf-showcase {
        padding: 60px 0;
    }

    .hf-showcase-heading {
        display: block;
        margin-bottom: 28px;
    }

    .hf-showcase-heading > p {
        margin-top: 15px;
    }

    .hf-showcase-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hf-campaign,
    .hf-campaign-three {
        grid-column: auto;
        height: 410px;
        width: 100%;
    }

    .hf-campaign-overlay {
        padding: 19px;
    }

    .hf-campaign-details h3 {
        font-size: 23px;
    }

    .hf-showcase-footer {
        flex-direction: column;
        /* align-items: flex-start; */
    }
}

/* Small mobile */

@media (max-width: 360px) {
    .hf-campaign {
        height: 430px;
    }

    .hf-campaign-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .hf-donate {
        width: 100%;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .hf-campaign > img,
    .hf-donate,
    .hf-all-causes {
        transition: none;
    }
}
