/* import google font "DM Sans"  */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
}

/* ==============================================
          BANNER 
================================================= */
.pmk-banner {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #ffffff;
  background-color: #052b24;
  font-family: "DM Sans", sans-serif;
}

.pmk-banner .swiper-wrapper,
.pmk-banner .swiper-slider {
  width: 100%;
  height: 100%;
}

/* banner item (article) */
.banner-item {
  position: relative;
  height: 100%;
  overflow: hidden;
}

/* gradient overlay over image  */
.banner-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  /* too dark  */
  /* background:
    linear-gradient(
      90deg,
      rgba(2, 27, 24, 0.94) 0%,
      rgba(3, 37, 31, 0.84) 32%,
      rgba(3, 37, 31, 0.45) 58%,
      rgba(3, 25, 22, 0.13) 100%
    ),
    linear-gradient(0deg, rgba(2, 24, 21, 0.68) 0%, transparent 45%); */

  /* light  */
  /* background:
    linear-gradient(
      90deg,
      rgba(2, 27, 24, 0.7) 0%,
      rgba(3, 37, 31, 0.58) 32%,
      rgba(3, 37, 31, 0.28) 58%,
      rgba(3, 25, 22, 0.05) 100%
    ),
    linear-gradient(0deg, rgba(2, 24, 21, 0.4) 0%, transparent 45%); */

  /* medium tone  */
  background:
    linear-gradient(
      90deg,
      rgba(2, 27, 24, 0.82) 0%,
      rgba(3, 37, 31, 0.7) 32%,
      rgba(3, 37, 31, 0.36) 58%,
      rgba(3, 25, 22, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(2, 24, 21, 0.52) 0%, transparent 45%);
}

/* green deem light effect on the top left  */
.banner-item::after {
  content: "";
  position: absolute;
  top: -240px;
  left: -180px;
  z-index: -1;

  width: 580px;
  height: 580px;
  border-radius: 50%;
  background-color: rgba(24, 174, 104, 0.12);
  filter: blur(90px);
  pointer-events: none;
}

/* banner image (full background on img tag ) */
.banner-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.01);
  transition: transform 7s ease;
}

/* banner image active states  */
.banner-item.swiper-slide-active .banner-image {
  transform: scale(1.07);
}

/* ==============================================
          BANNER CONTENT
================================================= */
.banner-inner-container {
  width: min(1280px, calc(100% - 100px));
  height: 100%;
  margin-inline: auto;
  padding: 50px 0 115px;

  display: flex;
  align-items: center;
}

.banner-content {
  width: min(720px, 68%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;

  color: #a8e86d;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;

  opacity: 0;
  transform: translateY(18px);
}

.banner-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  flex-shrink: 0;
  background-color: #23bb79;
}

.banner-title {
  max-width: 760px;
  margin: 0;

  color: #ffffff;
  font-family: inherit;
  font-size: clamp(2.375rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -2.5px;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 0.16);

  opacity: 0;
  transform: translateY(28px);
}

.banner-title::first-letter {
  color: inherit;
}

.banner-title-accent {
  color: #a8e86d;
}

.banner-description {
  max-width: 580px;
  margin: 24px 0 0;

  color: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: clamp(0.95rem, 1.2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.8;

  opacity: 0;
  transform: translateY(20px);
}

/* banner action buttons  */
.banner-action-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;

  opacity: 0;
  transform: translateY(18px);
}

.banner-action-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;

  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 5px;

  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;

  transition: all 0.35s ease-in-out;
}

.btn-project {
  color: #fff;
  background: #00946a;
  box-shadow: 0 8px 24px rgba(0, 120, 78, 0.2);
}

.btn-project:hover {
  background: #176f4e;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 120, 78, 0.32);
}

.btn-involved {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-involved:hover {
  color: rgba(0, 0, 0, 1);
  border-color: #fff;
  background: #fff;
  /* border-color: #00946a;
  background: #00946a; */
  transform: translateY(-3px);
}

.btn-go-arrow {
  font-size: 1.25rem;
  line-height: 1;
  transition: all 0.35s ease-in-out;
}

.banner-action-button:hover .btn-go-arrow {
  transform: translateX(4px);
}

/* ==============================================
           BANNER PAGINATION
================================================= */
.banner-slider-controls {
  position: absolute;
  right: max(25px, calc(100% - 1280px) / 2);
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.banner-slide-count {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
}

.banner-slide-count span {
  color: #a8e86d;
}

.banner-pagination-controller {
  position: static !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: auto !important;
}

.banner-pagination-controller .swiper-pagination-bullet {
  width: 4px;
  height: 20px;
  margin: 0 !important;
  border-radius: 4px;

  background-color: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: all 0.35s ease-in-out;
}
.banner-pagination-controller .swiper-pagination-bullet-active {
  height: 38px;
  background-color: #a8e86d;
}

/* ==============================================
    BANNER NAVIGATION ARROW (LARGER DEVICES)
================================================= */
.banner-controller-arrows {
  position: absolute;
  right: max(25px, calc(100% - 1280px) / 2);
  bottom: 120px;
  z-index: 8;

  display: flex;
  gap: 8px;
}

.banner-controller-arrow {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;

  color: #fff;
  background-color: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.banner-controller-arrow:hover {
  color: #052b24;
  background-color: #a8e86d;
  border-color: #a8e86d;
}

/* ==============================================
    BANNER SLIDING ANIMATION
================================================= */
.banner-item.swiper-slide-active .banner-eyebrow {
  animation: fadeAnimation 0.65s 0.1s ease forwards;
}
.banner-item.swiper-slide-active .banner-title {
  animation: fadeAnimation 0.75s 0.3s ease forwards;
}
.banner-item.swiper-slide-active .banner-description {
  animation: fadeAnimation 0.65s 0.48s ease forwards;
}
.banner-item.swiper-slide-active .banner-action-buttons {
  animation: fadeAnimation 0.65s 0.65s ease forwards;
}

@keyframes fadeAnimation {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================================
           BANNER IMPACT
================================================= */
.pmk-banner-impact {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;

  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(2, 28, 24, 0.48);
  backdrop-filter: blur(12px);
}

.banner-impact-inner {
  width: min(1280px, calc(100% - 100px));
  min-height: 92px;
  margin-inline: auto;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.banner-impact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.banner-impact-item:first-child {
  padding-left: 0;
}

.banner-impact-item:last-child {
  border-right: none;
  padding-right: 0;
}

.banner-impact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;

  display: grid;
  place-items: center;

  border: 1px solid rgba(168, 232, 109, 0.65);
  border-radius: 50%;

  color: #a8e86d;
  background-color: rgba(35, 187, 121, 0.08);
  font-size: 1.25rem;
}

.banner-impact-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.bic-value {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.bic-lbl {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ====================================================================
BANNER RESPONSIVE STYLES FOR LARGE DEVICES (TABLET, LAPTOP)
======================================================================= */
@media (max-width: 1024px) {
  .pmk-banner {
    height: clamp(540px, 78svh, 760px);
  }

  .banner-inner-container {
    width: calc(100% - 64px);
  }

  .banner-content {
    width: min(650px, 82%);
  }

  .banner-title {
    font-size: clamp(2.625rem, 6vw, 4rem);
    letter-spacing: -1.8px;
  }

  .banner-slider-controls {
    right: 20px;
  }

  .pmk-banner-impact {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;

    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(2, 28, 24, 0.48);
    backdrop-filter: blur(12px);
  }

  .banner-impact-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .banner-impact-item {
    gap: 8px;
    padding-inline: 10px;
  }

  .banner-impact-icon {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .bic-value {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
  }

  .bic-lbl {
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
  }
}

/* ====================================================================
BANNER RESPONSIVE STYLES FOR SMALL DEVICES (MOBILE)
======================================================================= */
@media (max-width: 767px) {
  .pmk-banner {
    height: auto;
    min-height: 690px;
    height: min(790px, 100svh);
    min-height: 680px;
  }

  .banner-item::before {
    background:
      linear-gradient(
        90deg,
        rgba(2, 27, 24, 0.83) 0%,
        rgba(3, 37, 31, 0.56) 65%,
        rgba(3, 25, 22, 0.25) 100%
      ),
      linear-gradient(
        0deg,
        rgba(2, 24, 21, 0.92) 0%,
        rgba(2, 24, 21, 0.48) 38%,
        rgba(2, 24, 21, 0.05) 100%
      );
  }

  .banner-image {
    object-position: 58% center;
  }

  .banner-inner-container {
    width: calc(100% - 40px);
    padding: 35px 0 205px;
    align-items: center;
  }

  .banner-content {
    width: 100%;
  }

  .banner-eyebrow {
    gap: 8px;
    margin: 0 0 18px;
    font-size: 0.625rem;
    letter-spacing: 2.6px;
  }

  .banner-eyebrow::before {
    width: 24px;
  }

  .banner-title {
    max-width: 540px;
    font-size: clamp(2.3rem, 9vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -1.4px;
  }

  .banner-description {
    max-width: 540px;
    margin-top: 16px;
    font-size: 0.875rem;
    line-height: 1.7;
  }

  .banner-action-buttons {
    gap: 10px;
    margin-top: 24px;
  }

  .banner-action-button {
    min-height: 48px;
    padding-inline: 16px;
    gap: 10px;
    font-size: 0.75rem;
  }

  .banner-slider-controls {
    top: 24px;
    right: 20px;
    transform: none;
    flex-direction: row;
    gap: 18px;
  }

  .banner-slide-count {
    writing-mode: horizontal-tb;
    font-size: 0.625rem;
  }

  .banner-pagination-controller {
    flex-direction: row;
    gap: 6px;
  }

  .banner-pagination-controller .swiper-pagination-bullet {
    width: 12px;
    height: 3px;
  }

  .banner-pagination-controller .swiper-pagination-bullet-active {
    width: 24px;
    height: 3px;
  }

  .banner-controller-arrows {
    display: none;
  }

  .banner-impact-inner {
    width: calc(100% - 40px);
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 0;
  }

  .banner-impact-item {
    min-height: 66px;
    padding: 10px 8px;
    border-right: none;
  }

  .banner-impact-item:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .banner-impact-item:nth-child(even) {
    padding-right: 0;
    padding-left: 12px;
  }

  .banner-impact-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .bic-value {
    font-size: 0.95rem;
  }

  .bic-lbl {
    font-size: 0.725rem;
  }
}

@media (max-width: 380px) {
  .pmk-banner {
    min-height: 700px;
  }

  .banner-inner-container,
  .banner-impact-inner {
    width: calc(100% - 30px);
  }
  
  .banner-eyebrow {
    gap: 6px;
    margin: 0 0 18px;
    font-size: 0.625rem;
    letter-spacing: normal;
  }

  .banner-title {
    font-size: 2.125rem;
  }

  .banner-impact-item {
    gap: 8px;
  }

  .banner-impact-icon {
    width: 30px;
    height: 30px;
    font-size: 0.875rem;
  }
}

/* ====================================================================
REDUCE MOTION
======================================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
