/* about page: who we are */
.about-intro-area {
  overflow: hidden;
}

.about-intro-image {
  position: relative;
  z-index: 0;
  margin-right: 30px;
}

.about-intro-image:before {
  position: absolute;
  left: -30px;
  bottom: -30px;
  width: 200px;
  height: 220px;
  border-radius: 20px;
  background-color: var(--charity-color, var(--main-color-one));
  z-index: -1;
  content: '';
}

.about-intro-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.about-intro-content {
  padding-left: 30px;
}

.about-intro-content .subtitle {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--charity-color, var(--main-color-one));
}

.about-intro-content .title {
  margin-bottom: 25px;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
}

.about-intro-content p {
  font-size: 17px;
  line-height: 1.75;
}

.about-intro-content p:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 991px) {
  .about-intro-area {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .about-intro-image {
    margin: 0 0 60px 30px;
  }
  .about-intro-content {
    padding-left: 0;
  }
  .about-intro-content .title {
    font-size: 34px;
  }
}

@media only screen and (max-width: 767px) {
  .about-intro-area {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .about-intro-image {
    margin: 0 0 50px 20px;
  }
  .about-intro-image:before {
    left: -20px;
    bottom: -20px;
    width: 140px;
    height: 160px;
  }
  .about-intro-content .title {
    font-size: 28px;
  }
  .about-intro-content p {
    font-size: 16px;
  }
}

/* about page: mission & vision */
.about-mission-vision-area {
  padding: 90px 0 96px;
  background: #f5f8fc;
  border-bottom: 1px solid #e6ecf3;
}

.about-mission-vision-area .mv-head {
  margin: 0 auto 56px;
  text-align: center;
}

.about-mission-vision-area .mv-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #08427c;
}

.about-mission-vision-area .mv-title {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  color: #0d1b2e;
}

.about-mission-vision-area .mv-rule {
  display: inline-flex;
  margin-top: 18px;
}

.about-mission-vision-area .mv-rule i {
  display: block;
  width: 28px;
  height: 3px;
}

.about-mission-vision-area .mv-rule i:first-child { background: #08427c; border-radius: 3px 0 0 3px; }
.about-mission-vision-area .mv-rule i:last-child { background: #c8b530; border-radius: 0 3px 3px 0; }

/* two columns with a thin divider between them */
.about-mission-vision-area .mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}

.about-mission-vision-area .mv-card {
  padding: 4px 56px 8px;
}

.about-mission-vision-area .mv-card + .mv-card {
  border-left: 1px solid #dfe6ef;
}

.about-mission-vision-area .mv-card-icon {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 26px;
  line-height: 1;
  color: #08427c;
}

.about-mission-vision-area .mv-card-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4a5568;
}

.about-mission-vision-area .mv-card-heading {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  color: #0d1b2e;
}

.about-mission-vision-area .mv-card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #4a5568;
}

@media (max-width: 991.98px) {
  .about-mission-vision-area {
    padding: 70px 0 72px;
  }

  .about-mission-vision-area .mv-card {
    padding: 4px 32px 8px;
  }

  .about-mission-vision-area .mv-title {
    font-size: 34px;
  }
}

/* phones: stacked, divider becomes a line between them */
@media (max-width: 767.98px) {
  .about-mission-vision-area {
    padding: 56px 0 56px;
  }

  .about-mission-vision-area .mv-head {
    margin-bottom: 36px;
  }

  .about-mission-vision-area .mv-title {
    font-size: 28px;
  }

  .about-mission-vision-area .mv-grid {
    grid-template-columns: 1fr;
  }

  .about-mission-vision-area .mv-card {
    padding: 0;
  }

  .about-mission-vision-area .mv-card + .mv-card {
    margin-top: 32px;
    padding-top: 32px;
    border-left: 0;
    border-top: 1px solid #dfe6ef;
  }

  .about-mission-vision-area .mv-card-heading {
    font-size: 21px;
  }
}

/* about page: core values */
.core-values-area {
  --cv-navy: #08427c;
  --cv-gold: #c8b530;
  --cv-red: #ed383b;
  --cv-ink: #0d1b2e;
  --cv-text: #5a6a84;
  --cv-line: #e3e9f1;
  padding: 120px 0;
  background-color: #fff;
}

.core-values-intro .subtitle {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cv-navy);
}

.core-values-intro .title {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 22px;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--cv-ink);
}

.core-values-intro .title:after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 84px;
  height: 4px;
  background: linear-gradient(90deg, var(--cv-navy) 0 33.33%, var(--cv-gold) 33.33% 66.66%, var(--cv-red) 66.66% 100%);
  content: '';
}

.core-values-intro .description {
  max-width: 420px;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--cv-text);
}

.core-values-media {
  position: relative;
  margin: 0 0 40px 24px;
}

.core-values-media:before {
  position: absolute;
  left: -24px;
  top: 24px;
  width: 100%;
  height: 100%;
  background-color: #eaf1f8;
  content: '';
}

.core-values-media img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.core-values-quote {
  position: absolute;
  left: -24px;
  bottom: -40px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: min(440px, 88%);
  padding: 20px 24px;
  background-color: var(--cv-navy);
  border-left: 4px solid var(--cv-gold);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgb(8 66 124 / 22%);
}

.core-values-quote svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.core-values-quote p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 70px;
  margin: 110px 0 0;
  padding: 0;
  list-style: none;
}

.core-value {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--cv-line);
}

.core-value-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--cv-navy);
  border-radius: 50%;
}

.core-value-title {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--cv-ink);
}

.core-value-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--cv-text);
}

@media only screen and (max-width: 991px) {
  .core-values-area {
    padding: 80px 0;
  }
  .core-values-intro {
    margin-bottom: 50px;
  }
  .core-values-intro .title {
    font-size: 38px;
  }
  .core-values-grid {
    column-gap: 40px;
    margin-top: 90px;
  }
}

@media only screen and (max-width: 767px) {
  .core-values-grid {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 575px) {
  .core-values-area {
    padding: 60px 0;
  }
  .core-values-intro .title {
    font-size: 32px;
  }
  .core-values-media {
    margin: 0 0 0 14px;
  }
  .core-values-media:before {
    left: -14px;
    top: 14px;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .core-values-quote {
    position: relative;
    left: -14px;
    bottom: auto;
    width: calc(100% + 14px);
    margin-top: -20px;
  }
  .core-values-grid {
    margin-top: 50px;
  }
  .core-value {
    padding: 24px 0;
  }
  .core-value-title {
    font-size: 18px;
  }
}

/* about page: impact */
.about-impact-area {
  --impact-bg: #06325e;
  --impact-gold: #c8b530;
  --impact-line: rgb(255 255 255 / 14%);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  color: #fff;
  background-color: var(--impact-bg);
  background-image:
    radial-gradient(circle at 85% 20%, rgb(8 66 124 / 90%) 0, transparent 45%),
    radial-gradient(circle at 10% 100%, rgb(200 181 48 / 10%) 0, transparent 40%);
}

.about-impact-area:before {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: radial-gradient(rgb(255 255 255 / 10%) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0, transparent 70%);
  content: '';
}

.about-impact-area .container {
  position: relative;
  z-index: 1;
}

.impact-intro {
  padding-right: 30px;
}

.impact-intro .subtitle {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--impact-gold);
}

.impact-intro .title {
  margin-bottom: 22px;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.impact-intro .description {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgb(255 255 255 / 78%);
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin: 0;
}

.impact-stats-count-1 {
  grid-template-columns: 1fr;
}

.impact-stat {
  display: flex;
  flex-direction: column;
  padding: 32px 0;
  border-top: 1px solid var(--impact-line);
}

.impact-number {
  order: -1;
  margin: 0 0 12px;
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--impact-gold);
}

.impact-stats-count-1 .impact-number {
  font-size: 88px;
}

.impact-label {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.impact-note {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgb(255 255 255 / 68%);
}

.impact-countries {
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid var(--impact-line);
}

.impact-countries-title {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--impact-gold);
}

.impact-country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.impact-country-list li {
  padding: 8px 18px;
  font-size: 15px;
  color: rgb(255 255 255 / 90%);
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
}

@media only screen and (max-width: 991px) {
  .about-impact-area {
    padding: 80px 0;
  }
  .impact-intro {
    margin-bottom: 40px;
    padding-right: 0;
  }
  .impact-intro .title {
    font-size: 36px;
  }
}

@media only screen and (max-width: 575px) {
  .about-impact-area {
    padding: 60px 0;
  }
  .impact-intro .title {
    font-size: 30px;
  }
  .impact-stats {
    grid-template-columns: 1fr;
  }
  .impact-stat {
    padding: 24px 0;
  }
  .impact-number,
  .impact-stats-count-1 .impact-number {
    font-size: 48px;
  }
  .impact-countries {
    margin-top: 40px;
    padding-top: 30px;
  }
}

/* ---------- How we help ---------- */
.about-how-we-help {
  padding: 100px 0 90px;
  background: #fff;
}

.about-how-we-help .hwh-head {
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}

.about-how-we-help .hwh-title {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  color: #0d1b2e;
}

.about-how-we-help .hwh-rule {
  display: inline-flex;
  margin: 14px 0 16px;
}

.about-how-we-help .hwh-rule i {
  display: block;
  width: 16px;
  height: 4px;
}

.about-how-we-help .hwh-rule i:nth-child(1) { background: #08427c; border-radius: 4px 0 0 4px; }
.about-how-we-help .hwh-rule i:nth-child(2) { background: #c8b530; }
.about-how-we-help .hwh-rule i:nth-child(3) { background: #ed383b; border-radius: 0 4px 4px 0; }

.about-how-we-help .hwh-intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #4a5568;
}

/* 3 per row, a short last row stays centred */
.about-how-we-help .hwh-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-how-we-help .hwh-card {
  flex: 0 1 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  text-align: center;
}

.about-how-we-help .hwh-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 4px solid #c8b530;
  border-radius: 12px 12px 0 0;
  background: #eef2f8;
}

.about-how-we-help .hwh-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.about-how-we-help .hwh-card:hover .hwh-media img {
  transform: scale(1.04);
}

.about-how-we-help .hwh-noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #b7c4d6;
}

.about-how-we-help .hwh-body {
  padding: 18px 10px 0;
}

.about-how-we-help .hwh-card-title {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  color: #0d1b2e;
}

.about-how-we-help .hwh-card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4a5568;
}

.about-how-we-help .hwh-sdg {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #08427c;
}

@media (max-width: 991.98px) {
  .about-how-we-help {
    padding: 70px 0 60px;
  }

  .about-how-we-help .hwh-card {
    flex-basis: calc((100% - 28px) / 2);
    max-width: calc((100% - 28px) / 2);
  }
}

@media (max-width: 575.98px) {
  .about-how-we-help .hwh-title {
    font-size: 32px;
  }

  .about-how-we-help .hwh-card {
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-how-we-help .hwh-media img {
    transition: none;
  }
}
