/* =========================
   who_we_are.css
   ========================= */

/* =========================
   UTILITIES UNTUK ANIMASI SCROLL
========================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   WHO WE ARE: TEXT + PHOTO COLLAGE (HERO)
========================= */
.who-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}
.who-hero-text h1 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpLoad 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.who-hero-text p {
  max-width: 750px;
  line-height: 1.7;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpLoad 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.who-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  border-radius: 18px;
}
.who-collage .c1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.who-collage .c2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.who-collage .c3 { grid-column: 2 / 3; grid-row: 2 / 3; }

.who-collage .c1 { opacity: 0; animation: fadeUpLoad 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; }
.who-collage .c2 { opacity: 0; animation: fadeUpLoad 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards; }
.who-collage .c3 { opacity: 0; animation: fadeUpLoad 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards; }

.who-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  transition: transform .35s ease, box-shadow .35s ease;
}
.who-collage img:hover {
  transform: scale(1.03);
  z-index: 2;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
}
.section.cream .who-collage img { box-shadow: 0 10px 24px rgba(0,0,0,.10); }

@keyframes fadeUpLoad {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .who-hero { grid-template-columns: 1fr; gap: 22px; }
  .who-collage { max-width: 520px; }
}

/* =========================
   STORY: RIGHT HALF BG IMAGE + WHITE TEXT BOX
========================= */
.story-split-bg { position: relative; overflow: hidden; }
.story-split-bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  background-image: var(--story-bg, url("../img/contact1.jpg")); /* Fallback relative path css */
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  pointer-events: none;
}
.story-split-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0));
  pointer-events: none;
}
.story-split-bg .container { position: relative; z-index: 2; }
.story-textbox {
  max-width: 820px;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}
.story-textbox h2 { margin: 0 0 14px; color: #111827; }
.story-textbox p {
  margin: 0;
  line-height: 1.7;
  color: #0b1f26;
}
.story-textbox.right-pull {
  margin-left: auto;
  margin-right: 24px;
}
@media (max-width: 900px) {
  .story-split-bg::after { width: 100%; opacity: 0.28; }
  .story-split-bg::before { display: none; }
  .story-textbox.right-pull { margin: 0; }
}

/* =========================
   VISION & MISSION – FIX MOBILE & HOVER EFFECTS
========================= */
.vm-title-center {
  text-align: center;
  margin-bottom: 2.2rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px;
}

.pillars-grid .pillar-card {
  width: 100%;
  padding: 40px 42px;
  border-radius: 20px;
  min-width: 0;
  background-color: #ffffff; /* Background default */
  text-align: center; /* Teks dirapikan di tengah */
  border: 1px solid rgba(0,0,0,0.05); /* Garis batas tipis agar rapi sebelum di-hover */
  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

/* Efek Hover berubah Hijau */
.pillars-grid .pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(28, 122, 77, 0.2);
  background-color: #1c7a4d; /* Hijau Farmers4Forest */
  color: #ffffff; /* Teks berubah putih */
  border-color: transparent;
}

.pillars-grid .pillar-card h3 {
  font-size: 26px;
  margin-bottom: 16px;
  font-weight: 600;
  transition: color 0.4s ease;
}

.pillars-grid .pillar-card p {
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
  transition: color 0.4s ease;
}

@media (max-width: 820px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 720px;
    padding: 0 14px;
  }
  .pillars-grid .pillar-card {
    padding: 22px 18px;
    border-radius: 16px;
    min-height: auto;
  }
  .pillars-grid .pillar-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .pillars-grid .pillar-card p {
    font-size: 15px;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .pillars-grid { padding: 0 12px; }
  .pillars-grid .pillar-card {
    padding: 18px 16px;
    border-radius: 14px;
  }
}

/* =========================
   SAFEGUARDS – SPLIT CENTER
========================= */
.safeguards-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
  position: relative;
  margin-top: 22px;
}
.safeguards-split::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #003249;
  transform: translateX(-1px);
}
.safeguards-col:first-child {
  padding-right: 42px;
  text-align: right;
}
.safeguards-col:last-child {
  padding-left: 42px;
  text-align: left;
}

.safeguards-col h3 {
  margin: 0 0 12px;
  font-weight: 600;
  color: #d4a534;
}
.safeguards-col h4 {
  margin: 14px 0 6px;
  font-weight: 600;
}
.safeguards-col ul {
  margin: 0 0 14px;
  line-height: 1.6;
}
.safeguards-col:first-child ul {
  padding-right: 1.2rem;
  padding-left: 0;
  list-style-position: inside;
}
.safeguards-col:last-child ul {
  padding-left: 1.2rem;
  list-style-position: outside;
}
@media (max-width: 900px) {
  .safeguards-split { grid-template-columns: 1fr; }
  .safeguards-split::before { display: none; }
  .safeguards-col { padding: 0; text-align: left; margin-bottom: 24px; }
  .safeguards-col:first-child { padding-right: 0; text-align: left; }
  .safeguards-col:first-child ul { padding-left: 1.2rem; padding-right: 0; list-style-position: outside; }
}

/* =========================
   CODE OF CONDUCT (KODE ETIK)
========================= */
.ethics-wrap { max-width: 1100px; }
.ethics-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 22px;
}
.ethics-pill {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,50,73,.14);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.ethics-pill:hover {
  transform: translateY(-2px);
  background: #003249;
  color: #fff;
}

.ethics-accordion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ethics-accordion details {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,50,73,.14);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
  transition: box-shadow 0.3s ease;
}
.ethics-accordion details:hover {
  box-shadow: 0 18px 32px rgba(0,0,0,.12);
}
.ethics-accordion summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 28px;
  color: #111827;
  transition: color 0.2s ease;
}
.ethics-accordion summary:hover { color: #d4a534; }
.ethics-accordion summary::-webkit-details-marker { display:none; }
.ethics-accordion summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  line-height: 1;
  opacity: .8;
  transform: translateY(2px);
  transition: transform 0.3s ease;
}
.ethics-accordion details[open] summary::after { content: "–"; transform: translateY(2px) rotate(180deg); }
.ethics-accordion .ethics-body { margin-top: 10px; line-height: 1.7; color: #4b5563; }
.ethics-accordion ul { margin: 0; padding-left: 1.1rem; }
.ethics-accordion ul ul { margin-top: 8px; padding-left: 1.1rem; }
@media (max-width: 900px) {
  .ethics-accordion { grid-template-columns: 1fr; }
}