@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root{
  --ehub-blue: #22466C;
  --ehub-accent: #3b82f6;
  --text-main: #1e293b;
  --text-muted: #64748b;

  /* tinggi navbar kamu (dari CSS: #mainNavbar min-height 72px) */
  --nav-h: 72px;
}

/* Scope font khusus halaman tentang (biar aman) */
.tentang-hero,
.tentang-section,
.tentang-hero *,
.tentang-section *{
  font-family: "Montserrat", sans-serif;
}

/* =========================
   PAGE ENTER (TENTANG ONLY)
========================= */
#tentangRoot.page-enter{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
#tentangRoot.page-enter.is-loaded{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   HERO TENTANG (FULL 100vh)
   - background parallax (desktop)
========================= */
.tentang-hero{
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;

  /* background pakai CSS variable dari blade */
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center var(--hero-y, 50%);
  background-repeat: no-repeat;

  /* anti-flicker */
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* mobile: matiin parallax biar gak patah */
@media (max-width: 991px){
  .tentang-hero{
    background-position: center;
  }
}

/* overlay: tipis */
.tentang-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.12);
  z-index: 1;
  transform: translateZ(0);
}

/* konten hero: offset navbar tanpa ngurangin tinggi hero */
.tentang-hero__content{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 64px 24px;
  padding-top: var(--nav-h);
  text-shadow: 0 4px 14px rgba(0,0,0,.45);

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tentang-container{
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
}

.tentang-hero__kicker{
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 18px;

  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;

  padding: 10px 18px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

@supports not (width: fit-content){
  .tentang-hero__kicker{ display: inline-block; }
}

.tentang-hero__title{
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px 0;
  line-height: 1.1;
}

.tentang-hero__subtitle{
  font-size: 1.15rem;
  max-width: 46rem;
  color: rgba(255,255,255,.95);
  line-height: 1.85;
  margin: 0;
}

/* =========================
   SECTION WRAPPER
========================= */
.tentang-section{
  padding: 80px 0;
}
.tentang-section--white{ background: #ffffff; }
.tentang-section--soft{ background: #F8FAFC; }

/* =========================
   CONTENT CARD FULL
========================= */
.tentang-content-card{
  width: 100%;
  padding: 5rem 24px;
  border-top: 1px solid #E6E6E6;
  border-bottom: 1px solid #E6E6E6;
  display: flex;
  justify-content: center;
  background: #fff;
}

.tentang-content-wrap{
  max-width: 900px;
  width: 100%;
}

.tentang-text{
  font-size: 1.08rem;
  line-height: 2.05;
  color: var(--text-main);
  margin: 0 0 22px 0;
  font-weight: 400;
  text-align: justify;
}

.tentang-text strong{
  color: var(--ehub-blue);
  font-weight: 800;
}
.tentang-text--last{ margin-bottom: 0; }

/* Font lebih kecil 2pt untuk section "Pengelolaan SIPENSI" */
.tentang-text--small{
  font-size: 0.96rem; /* 1.08rem - 2pt (sekitar 0.12rem) */
}

.tentang-text-list.tentang-text--small{
  font-size: 0.96rem;
}

.tentang-text-list.tentang-text--small li{
  font-size: 0.96rem;
}

/* Hilangkan space antara paragraf "Pengelolaan..." dengan ul */
.tentang-text.reveal.d-4 + .tentang-text-list{
  margin-top: 0;
}

/* Styling untuk ul di dalam tentang-text agar sama dengan paragraf */
.tentang-text-list{
  font-size: 1.08rem;
  line-height: 2.05;
  color: var(--text-main);
  margin: 0 0 22px 0;
  font-weight: 400;
  text-align: justify;
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 20px;
}

.tentang-text-list li{
  margin: 0;
  font-size: 1.08rem;
  line-height: 2.05;
  color: var(--text-main);
  font-weight: 400;
  text-align: justify;
  padding-left: 8px;
}

/* Hapus margin bottom dari li terakhir */
.tentang-text-list li:last-child{
  margin-bottom: 0;
}

/* Warna bullets sama dengan text */
.tentang-text-list li::marker{
  color: var(--text-main) !important;
}

.tentang-text-list li strong{
  color: var(--ehub-blue);
  font-weight: 800;
}

.tentang-link{
  color: var(--ehub-blue);
  font-weight: 800;
}

/* =========================
   TITLE + SUBTITLE
========================= */
.tentang-title{
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  color: #212121;
  margin: 0 0 12px 0;
  text-align: center;
  letter-spacing: -0.02em;
}

.tentang-subtitle{
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 44px;
  line-height: 1.8;
}

/* =========================
   CARDS
========================= */
.tentang-card{
  background: #fff;
  border-radius: 16px;
  padding: 2.3rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.05);
  transition:
    transform .35s cubic-bezier(.165,.84,.44,1),
    box-shadow .35s cubic-bezier(.165,.84,.44,1),
    border-color .35s cubic-bezier(.165,.84,.44,1);
  height: 100%;
}

.tentang-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.10);
  border-color: rgba(59,130,246,.55);
}

.tentang-card__title{
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: var(--ehub-blue);
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tentang-card__title::before{
  content: "";
  width: 4px;
  height: 22px;
  background: var(--ehub-accent);
  border-radius: 4px;
  display: inline-block;
}

.tentang-card__desc{
  margin: 0;
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 1rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px){
  .tentang-hero__content{
    padding: 44px 18px;
    padding-top: var(--nav-h);
  }
  .tentang-content-card{
    padding: 3rem 18px;
  }
  .tentang-text{
    text-align: left;
    line-height: 1.95;
  }
  .tentang-title{ font-size: 2rem; }

  /* kalau teks kepanjangan di HP, boleh wrap */
  .tentang-hero__kicker{
    white-space: normal;
  }
}
