.tfa-hero {
  position: relative;
  height: 100vh;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.tfa-container {
  display: flex;
  max-width: 1200px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 0 1rem;
  align-items: center;
}

.tfa-hero-content {
  max-width: 620px;
}

.tfa-hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: grayscale(100%); */
  filter: contrast(100%) brightness(90%) saturate(110%) hue-rotate(0deg);
  border-radius: 0 0 100px 100px;
}

.tfa-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(120%) brightness(55%) saturate(110%) hue-rotate(10deg);
}

.tfa-hero-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.35); */
}

.tfa-hero-title {
  color: var(--primary-white);
  margin-bottom: 1.5rem;
}

.tfa-hero-description {
  color: var(--primary-white);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
}

/* ---- */

.tfa-hero-section {
  padding: 0 0 0 0;
  /* background: #1f2937; */
  overflow: hidden;
  /* border-radius: 0 0 80px 80px; */
}

.restoration-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 540px;
  width: 100%;
  margin: 0 auto 0 auto;
  overflow: hidden;
  padding-bottom: 1rem;
}

.content-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 45%;
  height: 440px;
  background: var(--secondary-green-dark);
  color: #fff;
  padding: 48px;
  border-radius: 120px 120px 120px 120px;
  z-index: 2;

  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256' viewBox='0 0 256 256'%3E%3Cg transform='translate(94.0794 1.4066) rotate(30) scale(2.06 2.06)'%3E%3Cpath d='M80.712 20.514c-22.173 4.475-43.109 10.272-52.936 31.01-5.44 11.478-1.85 24.905 7.899 32.272 5.743-13.518 17.641-32.505 21.21-32.582C50.603 64.385 46.269 77.056 46.348 88.59c12.141 2.377 24.799-4.36 29.86-16.377 8.234-19.549-3.804-29.927 5.883-49.892.459-.947-.348-2.015-1.379-1.807z' fill='%232c5544' opacity='0.12' /%3E%3Cpath d='M32.59 87.878C20.77 78.945 16.8 62.735 23.152 49.332c6.419-13.546 17.115-21.308 29.477-26.336-3.595-5.61-6.557-12.069-7.271-21.619-.091-1.215-1.52-1.815-2.431-1.008C23.332 17.746 5.745 35.727 7.968 62.205 9.221 77.12 21.01 88.615 35.399 90l-2.809-2.122z' fill='%2316724f' opacity='0.12' /%3E%3C/g%3E%3C/svg%3E");
  background-size: 1200px;
  background-repeat: no-repeat;
  background-position: center; */
  /* background-image: url("/assets/images/cardboard.png"); */
  /* opacity: 3; */
}

.content-card h2 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 20px;
  color: white;
}

.content-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 28px;
  color: white;
}

.image-area {
  width: 70%;
  height: 100%;
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  padding-top: 3rem;
}

.image-area img {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: cover;
  display: block;
  border-radius: 100px 120px 0 120px;
  filter: contrast(120%) brightness(95%) saturate(110%) hue-rotate(10deg);
}

@media (max-width: 992px) {
  .restoration-section {
    flex-direction: column;
    height: auto;
    width: 95%;
  }

  .image-area {
    width: 100%;
    height: 280px;
    padding-top: 1rem;
  }

  .image-area img {
    height: 100%;
    /* border-radius: 28px 28px 0 0; */
  }

  .content-card {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 120px 0 120px 120px;
  }
}

@media (max-width: 768px) {
  .restoration-section {
    margin-top: 2rem !important;
  }

  /* .tfa-hero-background {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
  } */
}

/* ------------------ */

.project-card {
  display: flex;
  max-width: 90%;
  margin: 1rem auto 1rem auto;
  background: #fff;
  border-radius: 80px 0 120px 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.202);
  min-height: 600px;
}

.card-left {
  flex: 1;
  padding: 60px 50px;
  position: relative;
  background-color: #fff;
}

.title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.title-wrapper h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-blue-dark);
  margin: 0;
  position: relative;
  z-index: 2;
}

.green-blob {
  position: absolute;
  top: -10px;
  left: -20px;
  width: 120px;
  height: 120px;
  background-color: #eaf6ce;
  border-radius: 50% 40% 60% 30%;
  z-index: 1;
}

.card-left p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.verra-link {
  text-decoration: none;
  font-weight: 700;
  color: #4a3b4a;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.verra-link i {
  border: 2px solid #4a3b4a;
  border-radius: 50%;
  padding: 5px;
  font-size: 0.8rem;
  transition: 0.3s;
}

.verra-link:hover i {
  background-color: #4a3b4a;
  color: #fff;
}

.card-right {
  flex: 2;
  display: flex;
  background-color: var(--secondary-green-dark);
  color: white;
  border-bottom-right-radius: 30px;
}

.tabs-sidebar {
  width: 35%;
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
}

.tab-btn {
  background-color: #f2f2f2;
  color: #000;
  border: none;
  padding: 20px 25px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  outline: none;
  border-bottom: 1px solid #e0e0e0;
}

.tab-btn:hover {
  background-color: #e6e6e6;
}

.tab-btn.active {
  background-color: #5c7a6e;
  color: white;
  border-bottom: none;
  position: relative;
}

.tab-spacer {
  flex-grow: 1;
  background-color: #f2f2f2;
}

.tab-content-container {
  flex: 1;
  padding: 40px;
  position: relative;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s;
}

.active-content {
  display: block;
}

.country-label {
  display: block;
  color: var(--secondary-green);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tab-content h3 {
  font-size: 1.4rem;
  margin: 0 0 10px 0;
  color: white;
}

.methodology {
  font-size: 0.9rem;
  margin-bottom: 30px;
  font-weight: 400;
  color: white;
}

.stats-group h4 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: white;
}

.stats-group p {
  color: white;
}

.stats-group ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.stats-group ul li {
  padding-left: 15px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.stats-group ul li::before {
  content: "•";
  color: #fff;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.project-btn {
  background-color: #cce88b;
  color: #1e3d32;
  border: none;
  padding: 15px 25px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 20px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.project-btn:hover {
  transform: scale(1.02);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
    border-radius: 15px;
  }
  .card-right {
    flex-direction: column;
  }
  .tabs-sidebar {
    width: 100%;
    flex-direction: column;
    overflow-x: auto;
  }
  .tab-spacer {
    display: none;
  }
  .tab-btn {
    flex: 1;
    text-align: center;
  }
}

/* ------------------------------------------- */

.impact-wrapper {
  /* max-width: 1200px; */
  margin: 0 8rem;
  padding: 0 20px;
}

.impact-header {
  text-align: center;
  margin-bottom: 30px;
}

.impact-header h2 {
  color: #007749;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.impact-header p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

.impact-container {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 600px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-radius: 4px;
  transition: background-image 0.6s ease-in-out;
  filter: contrast(110%) brightness(95%) saturate(110%) hue-rotate(10deg);
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 30px;
  display: flex;
  gap: 10px;
}

.nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.info-card {
  background: rgba(255, 255, 255, 0.8);
  width: 380px;
  min-height: 400px;
  margin-right: 40px;
  padding: 30px;
}

.country-title {
  color: #007749;
  font-size: 2rem;
  margin: 0 0 10px 0;
}
.locations {
  color: #d89030;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
}
.divider {
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

.icon-gold {
  color: #d89030;
  margin-right: 8px;
}

.testimonial-section h4 {
  color: #007749;
  margin-bottom: 15px;
}
.testimonial-content {
  display: flex;
  gap: 15px;
  padding: 0;
}

.quote-text strong {
  display: block;
  color: #007749;
  margin-bottom: 5px;
}
.quote-text p {
  font-size: 0.85rem;
  font-style: italic;
  color: #555;
}

@media (max-width: 900px) {
  .impact-wrapper {
    margin: 40px auto;
  }
  .impact-container {
    flex-direction: column;
    height: auto;
    justify-content: flex-start;
  }

  .impact-container::before {
    content: "";
    width: 100%;
    min-height: 350px;
  }

  .info-card {
    width: 100%;
    min-height: 0;
    margin-right: 0;
    padding: 30px 20px;
    box-shadow: none;
  }

  .slider-nav {
    top: 20px;
    bottom: auto;
  }
}

/* --------------------------------------------------------- */

.rst-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 620px;
  width: 100%;
  margin: 0 auto 0 auto;
  overflow: hidden;
}

.cnt-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 440px;
  background-color: var(--secondary-dark);

  color: #fff;
  padding: 48px;
  border-radius: 20px 80px 10px 0;
  z-index: 2;
}

.cnt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/cardboard.png");
  background-repeat: repeat;
  opacity: 1;
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: 20px 80px 10px 0;
}

.cnt-card h1 {
  color: var(--secondary-green-dark);
}

.cnt-card h2 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 20px;
}

.cnt-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 28px;
  color: white;
}

.cnt-card strong {
  color: var(--secondary-green-dark) !important;
}

.cnt-card a {
  color: white !important;
}

@media (max-width: 992px) {
  .rst-section {
    flex-direction: column;
    height: auto;
    width: 95%;
  }

  .cnt-card {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 100px 0 100px 100px;
  }
  .cnt-card::before {
    border-radius: 100px 0 100px 100px;
  }
}
