/* header.css file */

.img-template::after {
  content: '';
  background: rgb(14 14 14 / 32%);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.next, .prev {
  background: rgb(227 225 225 / 40%);
}

.video-pannel {
  height: 450px;
  background: #eee;
  background-size: cover;
  background-position: center;
}

.video-pannel video {
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  visibility: visible;
  opacity: 1;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* Header custom inline css */

.modal input {
  border: 1px solid #dfd9d9;
  width: 100%;
  border-radius: 5px;
  padding: 4px 5px;
  margin-bottom: 5px;
  margin-top: 5px;
}

.modal input:focus {
  border: 1px solid gray;
  outline: none;
}

strong {
  font-weight: 500 !important;
}

.subscribe {
  background-color: #f4910f;
  color: white;
  border: none;
  padding: 8px 24px;
  font-size: 14px;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
}

.subscribe:hover {
  background-color: #dd7e00;
  text-decoration: none;
  color: white;
}

.banner-container {
  position: relative;
}

.banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  text-align: center;
  z-index: 2;
  font-size: 62px;
}

.banner-image {
  position: relative;
  overflow: hidden;
  height: 450px !important;
}

/* Image is initially transparent */
.banner-image img {
  opacity: 0;
  transition: opacity 0.6s ease;
  /* smooth fade */
  display: block;
  width: 100%;
  height: auto;
}

.loaded {
  opacity: 1 !important;
}

/* What we do CSS file whatwedo.css */

.project-card-wrap {
  position: relative;
  height: 200px;
  width: 250px;
}

.project-card-wrap img {
  border-radius: 20px;
  margin: auto;
  height: 100%;
  width: 100%;
  display: block;
}

.project-card-label {
  position: absolute;
  bottom: 10px;
  left: 20px;
  color: white;
  font-size: 18px;
  font-weight: 600;
  padding: 0px 4px;
}

/* SIDEBAR_PATH inline css */

/* Sidebar menu setting */
.sidebar {
  background: #ffffff;
  width: 0px;
  position: fixed;
  top: 0px;
  bottom: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  overflow: auto;
  z-index: 33333;

  i {
    font-size: 12px;
  }
}

.menu li {
  list-style: none;
  margin: 0;
  padding: 15px 30px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  width: 350px;
}

.menu > li {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  padding: 15px 30px;
  color: rgb(31, 30, 30);
}

.menu > li:hover {
  background: rgba(23, 30, 39, 0.233);
  cursor: pointer;
}

.menu i {
  padding-right: 5px;
  width: 60px;
}

.menu .menu-container-items li,
.menu .menu-container-items i {
  color: rgb(31, 30, 30);
  padding-left: 25px;
}

.menu-container-items {
  display: none;
  border-bottom: 1px solid #9a9a9a;
}

.menu-container-items li:hover {
  background: rgba(39, 47, 58, 0.233);
  cursor: pointer;
}

.sidebar-open {
  width: 350px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  overflow: auto;
}

.sidebar-collapse-content {
  visibility: collapse;
}

.navbar-brand span {
  color: #1e5d2e;
  font-weight: 700;
  font-size: 20px;
}

.sidebar ul {
  padding: 0;
  margin: 0;
}

.backdrop-open {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100vw !important;
  background: rgb(0 0 0 / 74%);
  z-index: 33333;
  transition: 0.3s;
}

.backdrop-close {
  width: 0px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgb(0 0 0 / 74%);
  z-index: 33333;
  transition: 0.3s;
}

.minus {
  font-size: 18px !important;
}

/* optional: only show backdrop on mobile */
@media (min-width: 1021px) {
  .backdrop-close {
    display: none;
  }

  .backdrop-open {
    display: none;
  }
}

/* Our Journey / Story */

.timeline-container {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.timeline-grid {
  display: flex;
  gap: 40px;
  transition: transform 0.5s ease;
}

.timeline-card {
  flex: 0 0 calc(50%);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  white-space: normal;
}

.timeline-card .image {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  background: #ccc;
  border-radius: 6px;
}

.timeline-card .content {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #09383A;
}

.nav-btn {
  border: none;
  color: black;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  background-color: none;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .timeline-card {
    flex: 0 0 calc(100%);
    /* Show 2 cards */
  }
}

@media (max-width: 600px) {
  .timeline-card {
    flex: 0 0 100%;
    /* Show 1 card */
    flex-direction: column;
  }

  .timeline-card .image {
    width: 100%;
    height: auto;
  }
}

/* Support Page */

/* Custom CSS to maintain original design */
.forest-portal {
  font-family: Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header Styles */
.header {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Hero Section */
.hero {
  background: #FFFFFF;
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero-title {
  font-size: 38px;
  font-weight: 400;
  color: #603A26;
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  font-weight: 600;
  color: #F4910F;
  font-size: 24px;
}

.feature-card {
  background: #FFEFCC;
  padding: 2rem 1rem .2rem 1rem;
  border-radius: 25px;
  text-align: center;
  width: 100%;
}

.feature-icon {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.tree-icon {
  font-size: 3rem;
}

.k-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d5a27;
}

.hero-description {
  font-size: 20px;
  color: #603A26;
  margin: 2rem 0;
}

.cta-button {
  background: #F4910F;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

a {
  text-decoration: none !important;
  color: white;
}

.cta-button:hover {
  background: #c98328;
  color: white;
  text-decoration: none !important;
}

.cta-donation {
  background: #bf3838;
  color: #ffffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-donation:hover {
  background: #a8c770ff;
  color: #292828ff;
  text-decoration: none !important;
}

.protect-column {
  background: #E05555;
  color: #F0F9DC;
  padding: 3rem;
}

.grow-column {
  background: #89AC45;
  color: #F0F9DC;
  padding: 3rem;
}

.column-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.column-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  letter-spacing: .5px;
}

.column-text {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .column-title {
    font-size: 2rem;
  }

  .impact-title {
    font-size: 2rem;
  }

  .usd-section {
    padding: 0 !important;
  }
}

.form-container {
  background: #F0F9DC;
  padding: 20px 30px;
  border-radius: 10px;
  width: 350px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #09383A;
}

.tab {
  background: none;
  border: none;
  cursor: pointer;
  color: #09383A;
  flex: 1;
  padding: 10px;
  position: relative;
  transition: color 0.3s ease;
}

.tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #4b8f7b;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.tab.active::after {
  width: 100%;
}

.tab:focus,
.tab:active {
  outline: none;
  border: none;
}

select {
  padding: 8px 8px;
  border-radius: 6px;
  background: rgb(134 163 77 / 20%) !important;
  border: 1px solid #ccc;
  margin-top: 4px;
  font-size: 14px;
  width: 100%;
}

input:focus,
select:focus,
input:active,
select:active {
  border: none;
  outline: none;
}

.submit-btn {
  display: block;
  margin: 0 auto;
  max-width: 350px;
  padding: 15px 25px;
  background-color: #89ac45;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px !important;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.submit-btn:hover {
  background-color: #79983cff;
  color: white;
}

#donate-for-tree label {
  font-size: 14px;
  color: #424646ff !important;
  font-weight: 500;
}

#invest-in-carbon {
  display: none;
}

.certificate-img {
  height: 190px;
  border-radius: 10px;
  margin: 0 auto;
}

/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  border-radius: 50%;
  background:
    linear-gradient(0deg, rgb(0 0 0/50%) 30%, #0000 0 70%, rgb(0 0 0/100%) 0) 50%/8% 100%,
    linear-gradient(90deg, rgb(0 0 0/25%) 30%, #0000 0 70%, rgb(0 0 0/75%) 0) 50%/100% 8%;
  background-repeat: no-repeat;
  animation: l23 1s infinite steps(12);
}

.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  border-radius: 50%;
  background: inherit;
  opacity: 0.915;
  transform: rotate(30deg);
}

.loader::after {
  opacity: 0.83;
  transform: rotate(60deg);
}

@keyframes l23 {
  100% {
    transform: rotate(1turn);
  }
}

.modal {
  z-index: 99999 !important;
}

.modal-backdrop {
  z-index: 10000 !important;
}

.usd-donation-icon {
  margin: auto;
  cursor: pointer;
}

.usd-donation-icon img {
  border-radius: 25px;
}

/* Pagination — pill style, used by news, blogs and any other page rendering
   vendor.pagination.default inside a .pagination-container wrapper. Active page
   is orange, matching the footer's accent color. */
.pagination-container .pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-container .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 30px;
  border: 2px solid #09383a;
  color: #09383a;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
}

.pagination-container .page-item:not(.disabled):not(.active) .page-link:hover {
  background: #09383a;
  color: #fff;
}

.pagination-container .page-item.active .page-link {
  background: #f4910f;
  border-color: #f4910f;
  color: #fff;
}

.pagination-container .page-item.disabled .page-link {
  border-color: #dcdcdc;
  color: #b7b7b7;
}

/* Post grid cards (news, blogs, projects, programs) — fixed featured-image
   height so cards with differently-sized source images stay visually aligned. */
.post-featured-image figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* Our Technology */

.cta-button {
    background: #F4910F;
    color: #09383A;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

a {
    text-decoration: none !important;
    color: white;
}

.cta-button:hover {
    background: #c98328;
    color: white;
    text-decoration: none !important;
}

.try-tree-lens {
    background-color: #b73f3f;
    color: white;
    border: none;
    padding: 8px 24px;
    font-size: 14px;
    border-radius: 0px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 25px;
    text-decoration: none;
}

.try-tree-lens:hover {
    background-color: #9b3636ff;
    color: white;

}