/* =========================
   ABOUT US PAGE
   (membutuhkan style.css + footer.css)
========================= */

/* ---- Page banner ---- */
.page-banner {
  padding: 50px 0 56px;
  text-align: center;
  background-color: #dc3545;
    border-bottom: 1px solid #ffffff;
}

.page-banner-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.breadcrumb-lite {
  display: inline-flex;
  gap: 8px;
  font-size: 0.8rem;
  color: #ffffff;
}

.breadcrumb-lite a {
  color: #ffffff;
  text-decoration: none;
}

.breadcrumb-lite a:hover {
  text-decoration: underline;
}

/* ---- Profile ---- */
.about-profile {
  padding: 80px 0;
  background: #f7f7f7;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.profile-media img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  padding: 6px;
  background: #fff;
  border: 1px solid #f0c9ce;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #dc3545;
}

.profile-body .about-text:last-child {
  margin-bottom: 0;
}

/* ---- Vision & mission ---- */
.about-vm {
  padding: 80px 0;
  background: #fff;
}

.vm-grid {
  display: grid;
  /* kartu sebaris selama muat (min. 240px per kartu), otomatis turun jika sempit */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.vm-card {
  padding: 36px 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  border-top: 3px solid #dc3545;
}

.vm-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: #dc3545;
}

.vm-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.vm-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
}

.vm-card p,
.vm-list {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #666;
}

.vm-list {
  padding-left: 1.1rem;
}

/* ---- Grade showcase (referensi) ---- */
.grade-showcase { position: relative; }

.grade-panels {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 330px;
  border-radius: 12px;
  overflow: hidden;
}

/* ganti dengan foto pelet asli: --ps-img / --abs-img / --pp-img */
.grade-panel { background-size: cover; background-position: center; }
.grade-ps  { background-image: var(--ps-img,  url("images/grade-ps.jpg")); }
.grade-abs { background-image: var(--abs-img, url("images/grade-abs.jpg")); }

.grade-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 270px;
  height: 270px;
  transform: translate(-50%, -50%);
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background: var(--pp-img, url("images/grade-pp.jpg")) center / cover;
}

.grade-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -26px;
  position: relative;
  z-index: 1;
}

.grade-item { text-align: center; }

.grade-pill {
  display: inline-block;
  max-width: 100%;
  padding: 9px 22px;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.grade-pill-ps  { background: #d9669a; }
.grade-pill-pp  { background: #4a4a4a; }
.grade-pill-abs { background: #5f93d6; font-size: 0.8rem; }

.grade-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
  color: #444;
}

/* K3 & Mission */
.about-policy { padding: 70px 0 80px; background: #f7f7f7; }

@media (max-width: 767px) {
  .grade-panels { grid-template-columns: 1fr; height: 400px; }
  .grade-circle { width: 200px; height: 200px; }
  .grade-labels { grid-template-columns: 1fr; margin-top: 24px; gap: 28px; }
  .about-policy { padding: 56px 0; }
}

/* strip keunggulan: panel gelap, 3 kolom */
.vm-strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  background: #2f2f2f;
  border-radius: 12px;
  border-bottom: 4px solid #dc3545;
  overflow: hidden;
}

.vm-strengths li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 30px;
}

.vm-strengths li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.vm-strength-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 11px;
  border-radius: 50%;
  background: #dc3545;
  color: #fff;
}

.vm-strength-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.vm-strength-text strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: #fff;
}

.vm-strength-text span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #b9b9b9;
}

@media (max-width: 767px) {
  .vm-strengths { grid-template-columns: 1fr; }
  .vm-strengths li + li {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* ---- Values (kartu dengan ikon bulat di atas) ---- */
.about-values {
  padding: 80px 0 90px;
  background: #f0f0f0;
}

.values-title {
  margin: 0 0 0.4rem;
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  color: #dc3545;
}

.values-title strong {
  font-weight: 800;
}

.values-subtitle {
  margin: 0 0 4rem;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 56px 24px;
  text-align: center;
}

.value-item {
  position: relative;
  padding: 56px 22px 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.value-item .service-icon {
  position: absolute;
  top: -32px;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 16px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(220, 53, 69, 0.18);
}

.value-item:hover .service-icon {
  transform: translateX(-50%);
}

.value-item .service-name {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.value-item .service-text {
  max-width: none;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.7;
}

/* ---- Certifications ---- */
.about-cert {
  padding: 44px 0 48px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.about-cert .services-title {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
}

.cert-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cert-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100px;
  padding: 10px;
}

.cert-row img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ---- CTA ---- */
.about-cta {
  padding: 56px 0;
  background: #dc3545;
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.about-cta h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.about-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.about-cta .btn-green {
  padding: 0.7rem 1.6rem;
  font-size: 0.8rem;
  background: #fff;
  color: #dc3545;
}

.about-cta .btn-green:hover {
  background: #2f2f2f;
  color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
}

@media (max-width: 767px) {
  .page-banner { padding: 48px 0 40px; }
  .about-profile,
  .about-vm,
  .about-values { padding: 56px 0; }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---- History: timeline horizontal ---- */
.about-history {
  padding: 80px 0 90px;
  background: #f0f0f0 url("images/world-map.svg") center / contain no-repeat;
}

.about-history .services-title {
  margin-bottom: 3rem;
}

.timeline {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 8px;
  text-align: center;
}

/* garis penghubung antar tahun */
.timeline-item::before {
  content: "";
  position: absolute;
  top: 39.5px;           /* tepat di tengah titik (pusat titik = 41px) */
  left: 0;
  right: 0;
  height: 3px;
  background: #dc3545;
  opacity: 0.35;
}

.timeline-item:first-child::before {
  left: 50%;
}

.timeline-item:last-child::before {
  right: 50%;
}

.timeline-year {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: #dc3545;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 1.4rem;
  border: 4px solid #dc3545;
  border-radius: 50%;
  background: #fff;
  transition: background 0.25s ease, transform 0.25s ease;
}

.timeline-item:hover .timeline-dot {
  background: #dc3545;
  transform: scale(1.25);
}

.timeline-card {
  padding: 16px 12px 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}

.timeline-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
}

.timeline-card p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.65;
  color: #666;
  overflow-wrap: break-word;
}

/* tablet & mobile: garis jadi vertikal (tanpa slide) */
@media (max-width: 991px) {
  .about-history {
    padding: 56px 0;
  }

  .timeline {
    flex-direction: column;
    overflow: visible;
    padding: 0;
  }

  .timeline-item {
    flex: none;
    padding: 0 0 28px 44px;
    text-align: left;
  }

  .timeline-item:last-child {
    padding-bottom: 0;
  }

  .timeline-item::before,
  .timeline-item:first-child::before,
  .timeline-item:last-child::before {
    top: 0;
    bottom: 0;
    left: 8px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .timeline-item:first-child::before { top: 8px; }
  .timeline-item:last-child::before { bottom: calc(100% - 8px); }

  .timeline-dot {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }

  .timeline-year {
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
  }
}

/* ---- Company profile table ---- */
.profile-table-title {
  margin: 56px 0 18px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}

.profile-table {
  margin: 0;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.profile-table > div {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.profile-table > div + div {
  border-top: 1px solid #eee;
}

.profile-table dt,
.profile-table dd {
  margin: 0;
  padding: 14px 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.profile-table dt {
  font-weight: 700;
  color: #222;
  background: #fdf3f4;
  border-right: 3px solid #dc3545;
}

.profile-table dd {
  color: #555;
}

@media (max-width: 575px) {
  .profile-table > div { grid-template-columns: 1fr; }
  .profile-table dt { border-right: 0; border-left: 3px solid #dc3545; padding-bottom: 6px; }
  .profile-table dd { padding-top: 6px; }
}