@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

/* GLOBAL */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: #24302b;
  background: #fff;
  line-height: 1.65;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1020px, 87%);
  margin: auto;
}

/* HEADER */

#nav-img {
  height: 70px;
  border: none;
  margin-top: 2px;
}

#link {
  border: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8eee9;
}

.nav-wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand span {
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 50px;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
}

.nav a:hover {
  opacity: 0.75;
  color: #1f7a55;
}

.nav-donate,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  padding: 11px 25px;
  font-weight: 700;
}

.nav-donate,
.primary {
  background: #1f7a55;
  color: #fff;
}

.secondary {
  border: 1px solid #cbd8d0;
}

.light {
  background: #fff;
  color: #1f7a55;
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
}

/* HERO */

.hero {
  background: #f2f7f3;
  padding: 90px 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #1f7a55;
}

.hero h1,
.page-hero h1 {
  font:
    700 clamp(42px, 6vw, 70px)/1.08 "Playfair Display",
    serif;
  letter-spacing: -2px;
  margin: 18px 0;
}

.hero h1 span {
  color: #1f7a55;
}

.hero p {
  font-size: 18px;
  max-width: 650px;
  color: #5d6963;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-card {
  background: #dcebe2;
  border-radius: 24px;
  padding: 25px;
  transform: rotate(1deg);
}

.hero-photo {
  height: 360px;
  border-radius: 18px;
  background: #b9d5c4;
  display: grid;
  place-items: center;
  font-size: 110px;
}

/* IMPACT */

.impact-box {
  background: #fff;
  margin: -40px 25px 0;
  padding: 18px 22px;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 10px 30px #173c2b15;
  display: flex;
  gap: 14px;
  align-items: center;
}

.impact-box strong {
  font-size: 25px;
  color: #1f7a55;
}

.impact-box span {
  font-size: 13px;
}

/* SECTIONS */

.section {
  padding: 85px 0;
}

.muted {
  background: #f6f8f6;
}

.center {
  text-align: center;
}

.center .lead {
  max-width: 650px;
  margin: 0 auto;
}

.section h2 {
  font:
    700 40px/1.15 "Playfair Display",
    serif;
  margin: 12px 0 18px;
}

/* CARDS */

.cards {
  display: grid;
  gap: 22px;
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.card {
  padding: 30px;
  border: 1px solid #e4ebe6;
  border-radius: 16px;
  background: #fff;
}

.icon {
  font-size: 34px;
}

.card h3 {
  font-size: 21px;
  margin: 15px 0 8px;
}

.card p {
  color: #68736e;
}

/* PUBLIC CAMPAIGN */

.campaign.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.campaign.card:hover {
  transform: translateY(-5px);
  border-color: #cdded4;
  box-shadow: 0 14px 35px rgba(31, 122, 85, 0.1);
}

.campaign-img {
  width: 100%;
  height: 190px;
  border-radius: 12px;
  background: #e6f1e9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.campaign-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.campaign-img:not(:has(img)) {
  font-size: 65px;
}

.tag {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: #1f7a55;
  margin-bottom: 5px;
}

.campaign h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 1.25;
  margin: 10px 0 10px;
  color: #24302b;
}

.campaign p {
  font-size: 14px;
  line-height: 1.65;
  color: #68736e;
  margin: 0;
}

.progress {
  width: 100%;
  height: 7px;
  background: #e7ece8;
  border-radius: 10px;
  margin: 22px 0 8px;
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: #1f7a55;
  border-radius: 10px;
  transition: width 0.5s ease;
}

.campaign small {
  display: block;
  min-height: 36px;
  color: #65706b;
  font-size: 12px;
  line-height: 1.5;
}

.campaign .small {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 15px;
  font-size: 15px;
}

.campaign .small:hover {
  background: #176645;
  transform: translateY(-1px);
}

.no-campaigns {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 30px;
  background: #f4f8f5;
  border: 1px solid #e2e9e4;
  border-radius: 16px;
}

.no-campaigns h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin: 0 0 8px;
}

.no-campaigns p {
  margin: 0;
  color: #68736e;
}

/* STATS */

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.stats div {
  padding: 28px;
  background: #fff;
  border: 1px solid #e2e9e4;
  border-radius: 14px;
}

.stats strong {
  display: block;
  font-size: 30px;
  color: #1f7a55;
}

.stats span {
  font-size: 14px;
  color: #6b746f;
}

/* CTA */

.text-link {
  color: #1f7a55;
  font-weight: 800;
}

.cta {
  padding: 75px 0;
  background: #1f7a55;
  color: #fff;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 25px;
}

/* PAGE HERO */

.page-hero {
  background: #f2f7f3;
  padding: 75px 0;
}

.page-hero h1 {
  font-size: 54px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 18px;
  max-width: 650px;
  color: #5d6963;
}

/* FORMS */

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 950px;
}

.form {
  display: grid;
  gap: 17px;
}

.form label {
  font-weight: 700;
  font-size: 14px;
}

.form input,
.form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d7e0da;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-color: #1f7a55;
}

.form-side,
.contact-info,
.about-box {
  background: #f4f8f5;
  padding: 40px;
  border-radius: 16px;
}

.check {
  margin-top: 16px;
  font-weight: 600;
}

/* DONATIONS */

.donation-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 950px;
}

.amounts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.amounts button {
  background: #fff;
  border: 1px solid #cdd9d1;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
}

/* FOOTER */

.footer {
  background: #17241e;
  color: #dce5df;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer h4 {
  color: #fff;
  margin-top: 0;
}

.footer a {
  display: block;
  margin: 8px 0;
  color: #c7d1cb;
  font-size: 14px;
}

.footer p {
  color: #aebbb3;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #33423a;
  margin-top: 45px;
  padding: 20px;
  font-size: 13px;
  color: #9eaaa3;
}

/* ================================
   SUCCESS MESSAGE
================================ */

.cont {
  width: 100%;
  max-width: 700px;
  min-height: 55vh;
  margin: 0 auto;
  padding: 60px 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

/* Success Icon */

.success-icon {
  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  border-radius: 50%;
  background-color: #eaf6f0;
  color: #1f7a55;

  font-size: 30px;
  font-weight: 700;
}

/* Heading */

.cont h2 {
  margin: 0 0 12px;

  color: #1f2937;

  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

/* Main Message */

.success-message {
  width: 100%;
  max-width: 600px;

  margin: 0 0 10px;

  color: #4b5563;

  font-size: 16px;
  line-height: 1.7;
}

/* Secondary Message */

.success-note {
  width: 100%;
  max-width: 560px;

  margin: 0 0 25px;

  color: #6b7280;

  font-size: 14px;
  line-height: 1.6;
}

/* Home Button */

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 11px 22px;

  border-radius: 8px;

  background-color: #1f7a55;
  color: #ffffff;

  font-size: 14px;
  font-weight: 600;

  text-decoration: none;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.home-btn:hover {
  background-color: #176443;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .cont {
    max-width: 620px;
    min-height: 50vh;
    padding: 50px 25px;
  }

  .success-icon {
    width: 60px;
    height: 60px;

    margin-bottom: 18px;

    font-size: 28px;
  }

  .cont h2 {
    font-size: 25px;
  }

  .success-message {
    font-size: 15px;
    line-height: 1.65;
  }

  .success-note {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .cont {
    width: 100%;
    min-height: 55vh;

    padding: 40px 18px;
  }

  .success-icon {
    width: 54px;
    height: 54px;

    margin-bottom: 16px;

    font-size: 25px;
  }

  .cont h2 {
    font-size: 21px;
    line-height: 1.35;

    margin-bottom: 10px;
  }

  .success-message {
    max-width: 100%;

    font-size: 14px;
    line-height: 1.6;
  }

  .success-note {
    max-width: 100%;

    margin-bottom: 22px;

    font-size: 13px;
    line-height: 1.55;
  }

  .home-btn {
    width: 100%;
    max-width: 220px;

    min-height: 44px;

    padding: 11px 18px;

    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .cont {
    padding: 35px 15px;
  }

  .success-icon {
    width: 50px;
    height: 50px;

    font-size: 23px;
  }

  .cont h2 {
    font-size: 19px;
  }

  .success-message {
    font-size: 13px;
  }

  .success-note {
    font-size: 12px;
  }

  .home-btn {
    max-width: 200px;
    font-size: 13px;
  }
}
/* TABLET */

@media (max-width: 900px) {
  .three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    gap: 20px;
  }
}

/* MOBILE */

@media (max-width: 800px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    border-bottom: 1px solid #e8eee9;
  }

  .nav.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid,
  .split,
  .form-wrap,
  .donation-box {
    grid-template-columns: 1fr;
  }

  .three {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 55px 0;
  }

  .hero-card {
    margin-top: 20px;
  }

  .hero-photo {
    height: 250px;
  }

  .page-hero {
    padding: 55px 0;
  }

  .page-hero h1 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .campaign.card {
    padding: 22px;
  }

  .campaign-img {
    height: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .stats {
    margin-top: 20px;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .container {
    width: 90%;
  }

  .brand {
    font-size: 21px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .campaign-img {
    height: 180px;
  }

  .campaign h3 {
    font-size: 20px;
  }
}

/* ABOUT */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1f7a55;
  --primary-dark: #155b3e;
  --primary-light: #eaf6f0;
  --primary-soft: #f5faf7;
  --text: #17251f;
  --text-light: #65736d;
  --white: #ffffff;
  --border: #e3ebe7;
  --shadow: 0 12px 35px rgba(19, 68, 47, 0.08);
}

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

.container {
  width: min(1120px, 90%);
  margin: auto;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 20px 100px;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 255, 255, 0.12),
      transparent 25%
    ),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  text-align: center;
}

.hero-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  right: -130px;
  top: -130px;
}

.hero-circle-two {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  left: -110px;
  bottom: -120px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.hero-label {
  display: inline-block;
  padding: 7px 15px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.about-hero h1 {
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.about-hero h1 span {
  color: #c9f0dc;
}

.about-hero p {
  max-width: 680px;
  margin: auto;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.86;
}

.intro-section {
  padding: 90px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 65px;
  align-items: center;
}

.section-label {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.section-text {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 15px;
}

.intro-highlight {
  padding: 35px;
  border-radius: 22px;
  background: var(--primary-soft);
  border: 1px solid rgba(31, 122, 85, 0.08);
  position: relative;
  overflow: hidden;
}

.intro-highlight::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(31, 122, 85, 0.07);
  right: -45px;
  top: -45px;
}

.highlight-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 15px;
  background: var(--primary);
  color: white;
  font-size: 23px;
}

.intro-highlight h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.intro-highlight p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

.vm-section {
  padding: 90px 0;
  background: var(--primary-soft);
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading p {
  color: var(--text-light);
  font-size: 14px;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.vm-card {
  padding: 35px;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(19, 68, 47, 0.12);
}

.vm-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
}

.vm-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.vm-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

.areas-section {
  padding: 95px 0;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.area-card {
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.area-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 122, 85, 0.25);
  box-shadow: var(--shadow);
}

.area-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 21px;
}

.area-card h3 {
  font-size: 17px;
  margin-bottom: 9px;
}

.area-card p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.7;
}

.values-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #f3faf6, #ffffff);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card {
  padding: 28px 22px;
  text-align: center;
  background: white;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 20px;
}

.value-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.6;
}

.team-section {
  padding: 100px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 5px 20px rgba(19, 68, 47, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(19, 68, 47, 0.12);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--primary-light);
}

.team-info {
  padding: 18px 17px 20px;
  text-align: center;
}

.team-info h3 {
  font-size: 15px;
  margin-bottom: 5px;
}

.team-info p {
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
}

.cta-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  text-align: center;
}

.cta-section h2 {
  max-width: 700px;
  margin: auto auto 15px;
  font-size: clamp(29px, 5vw, 45px);
  line-height: 1.2;
}

.cta-section p {
  max-width: 650px;
  margin: auto;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.82;
}

/* ABOUT RESPONSIVE */

@media (max-width: 950px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .about-hero {
    padding: 80px 20px 75px;
  }

  .about-hero p {
    font-size: 14px;
  }

  .intro-section,
  .vm-section,
  .areas-section,
  .values-section,
  .team-section {
    padding: 70px 0;
  }

  .vm-grid {
    grid-template-columns: 1fr;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .team-info {
    padding: 15px 10px 17px;
  }
}

@media (max-width: 450px) {
  .container {
    width: 92%;
  }

  .about-hero {
    padding: 65px 16px;
  }

  .hero-label {
    font-size: 10px;
  }

  .section-title {
    font-size: 29px;
  }

  .intro-highlight,
  .vm-card {
    padding: 25px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-photo {
    aspect-ratio: 0.9 / 1;
  }

  .team-info h3 {
    font-size: 13px;
  }

  .team-info p {
    font-size: 10px;
  }

  .cta-section {
    padding: 70px 20px;
  }
}

/* HOME HERO */

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #fff;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.2s ease,
    transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.5) 45%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.hero-content h1 {
  color: #fff;
}

.hero-content h1 span {
  color: #8ed5b1;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.hero-content .secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-content .secondary:hover {
  background: #fff;
  color: #1f7a55;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 48px;
  background: #fff;
}

/* HOME MOBILE */

@media (max-width: 700px) {
  .hero {
    min-height: 520px;
    background: #000;
  }

  .hero-grid {
    min-height: 520px;
  }

  .hero-slide img {
    object-fit: cover;
    object-position: center center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.42)
    );
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 42px;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 500px;
  }

  .hero-grid {
    min-height: 500px;
  }

  .hero-slide img {
    object-fit: cover;
    object-position: center center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content .actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content .btn {
    text-align: center;
  }

  .hero-dots {
    bottom: 22px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.3s ease;
    transform: none;
  }
}

.latest-campaigns {
  position: relative;
  background: #f8faf8;
  overflow: hidden;
}

/* Section Header */

.latest-campaigns .container.center {
  max-width: 760px;
}

.latest-campaigns .eyebrow {
  display: inline-block;
  margin-bottom: 4px;
}

.latest-campaigns h2 {
  margin-top: 10px;
  margin-bottom: 14px;
}

.latest-campaigns .lead {
  color: #68736e;
  font-size: 15px;
  line-height: 1.75;
}

.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 48px;
}

.home-campaign-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;
  height: 100%;

  background: #ffffff;

  border: 1px solid #e5ebe7;
  border-radius: 20px;

  overflow: hidden;

  box-shadow: 0 8px 30px rgba(20, 60, 42, 0.055);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.home-campaign-card:hover {
  transform: translateY(-7px);

  border-color: #d1ded6;

  box-shadow: 0 20px 45px rgba(20, 60, 42, 0.11);
}

.home-campaign-image {
  position: relative;

  display: block;

  width: 100%;
  height: 225px;

  overflow: hidden;

  background: #eaf3ed;
}

/* Image */

.home-campaign-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-campaign-card:hover .home-campaign-image img {
  transform: scale(1.06);
}

/* Image Bottom Gradient */

.home-campaign-image::after {
  content: "";

  position: absolute;

  inset: auto 0 0 0;

  height: 80px;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.32), transparent);

  pointer-events: none;
}

.home-campaign-location {
  position: absolute;

  left: 16px;
  bottom: 15px;

  z-index: 2;

  display: inline-flex;
  align-items: center;

  max-width: calc(100% - 32px);

  padding: 7px 11px;

  border-radius: 7px;

  background: rgba(255, 255, 255, 0.94);

  color: #1f7a55;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 1px;
  text-transform: uppercase;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.home-campaign-content {
  display: flex;
  flex-direction: column;
  flex: 1;

  padding: 25px 24px 24px;
}

/* Hide old location position */

.home-campaign-content > .home-campaign-location {
  display: none;
}

.home-campaign-content h3 {
  margin: 0 0 11px;

  color: #17251f;

  font-family: "Playfair Display", serif;

  font-size: 23px;
  font-weight: 700;

  line-height: 1.25;
  letter-spacing: -0.3px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
}

.home-campaign-description {
  display: -webkit-box;

  margin: 0;

  color: #6a756f;

  font-size: 13.5px;
  line-height: 1.7;

  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  overflow: hidden;
}

.home-campaign-progress {
  margin-top: 23px;
}

/* Amount Row */

.home-campaign-amounts {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 10px;

  margin-bottom: 9px;

  font-size: 11.5px;
  line-height: 1.4;
}

.home-campaign-amounts span:first-child {
  color: #1f7a55;
  font-weight: 800;
}

.home-campaign-amounts span:last-child {
  color: #7b8580;
}

/* Progress */

.home-progress-bar {
  width: 100%;
  height: 6px;

  overflow: hidden;

  background: #e9eeeb;

  border-radius: 20px;
}

.home-progress-bar i {
  display: block;

  height: 100%;
  width: 0;

  background: #1f7a55;

  border-radius: inherit;

  transition: width 0.6s ease;
}

/* Percentage */

.home-progress-percent {
  display: block;

  margin-top: 7px;

  color: #8a938e;

  font-size: 10.5px;
  font-weight: 600;
}

.home-campaign-btn {
  width: 100%;

  min-height: 46px;

  margin-top: 21px;
  padding: 12px 18px;

  border-radius: 9px;

  background: #1f7a55;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 0.1px;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-campaign-btn:hover {
  background: #155b3e;

  transform: translateY(-2px);

  box-shadow: 0 7px 18px rgba(31, 122, 85, 0.18);
}

.campaigns-view-all {
  margin-top: 38px;
}

.campaigns-view-all .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding-bottom: 3px;

  border-bottom: 1px solid rgba(31, 122, 85, 0.35);

  color: #1f7a55;

  font-size: 13px;
  font-weight: 800;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.campaigns-view-all .text-link:hover {
  color: #155b3e;

  border-color: #155b3e;

  transform: translateX(3px);
}

.latest-campaigns .no-campaigns {
  grid-column: 1 / -1;

  padding: 75px 25px;

  background: #ffffff;

  border: 1px solid #e4ebe6;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .campaigns-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;
  }

  .home-campaign-image {
    height: 215px;
  }
}

@media (max-width: 700px) {
  .latest-campaigns {
    padding: 70px 0;
  }

  .campaigns-grid {
    grid-template-columns: 1fr;

    gap: 22px;

    margin-top: 35px;
  }

  .home-campaign-image {
    height: 225px;
  }

  .home-campaign-content {
    padding: 23px 22px 22px;
  }

  .home-campaign-content h3 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .latest-campaigns {
    padding: 60px 0;
  }

  .campaigns-grid {
    gap: 20px;
    margin-top: 30px;
  }

  .home-campaign-card {
    border-radius: 17px;
  }

  .home-campaign-image {
    height: 205px;
  }

  .home-campaign-content {
    padding: 21px 20px 20px;
  }

  .home-campaign-content h3 {
    font-size: 20px;
  }

  .home-campaign-description {
    font-size: 13px;
  }

  .home-campaign-amounts {
    font-size: 11px;
  }

  .home-campaign-btn {
    min-height: 44px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .home-campaign-image {
    height: 185px;
  }

  .home-campaign-content {
    padding: 19px 18px;
  }

  .home-campaign-content h3 {
    font-size: 19px;
  }

  .home-campaign-description {
    font-size: 12.5px;
  }

  .home-campaign-amounts {
    font-size: 10px;
  }
}
