﻿/* Aturan khusus halaman Tentang; navigasi memakai Dashboard Umum.css agar sama dengan beranda. */
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Bagian pembuka: teks di kiri dan foto terpisah di kanan. */
.about-hero {
  background: #e5f1e0;
}

.about-hero-inner {
  max-width: 1000px;
  min-height: 295px;
  margin: auto;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
  gap: 12px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 15px;
  border-radius: 12px;
  background: #c9e7b5;
  color: #296629;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.about-intro h1 {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -1.4px;
}

.about-intro p {
  max-width: 360px;
  margin: 15px 0 0;
  color: #5c6267;
  font-size: 18px;
  line-height: 1.25;
}

.about-hero img {
  display: block;
  width: 100%;
  height: 253px;
  object-fit: cover;
  border-radius: 26px;
}

.content-width {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Kotak-kotak penjelasan dibuat menggunakan CSS Grid. */
.about-features {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 14px;
  padding: 33px 0 25px;
}

.features-intro h2,
.workflow h2 {
  font-size: 28px;
  line-height: 1.15;
}

.features-intro p {
  max-width: 270px;
  margin: 14px 0 0;
  color: #62666f;
  font-size: 16px;
  line-height: 1.25;
}

.feature-card,
.monitor-card {
  background: #eaf4e5;
  border-radius: 14px;
}

.feature-card {
  min-height: 168px;
  padding: 12px 18px;
}

.icon-box {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #cee8bb;
  color: #1d5424;
}

.icon-box svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.monitor-card h3 {
  margin: 8px 0 7px;
  font-size: 19px;
}

.feature-card p,
.monitor-card p {
  margin: 0;
  color: #60646c;
  font-size: 14px;
  line-height: 1.18;
}

/* Bagian informasi sensor sesuai gambar kedua. */
.monitor-section {
  padding: 22px 0 28px;
}

.monitor-section > h2 {
  text-align: center;
  font-size: 30px;
}

.title-underline {
  width: 80px;
  height: 7px;
  margin: 15px auto 20px;
  border-radius: 5px;
  background: #bddba9;
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.monitor-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 125px;
  padding: 20px;
  background: #f0f7ed;
}

.monitor-card h3 {
  margin-top: 1px;
}

/* Empat langkah penggunaan, diatur berurutan dari kiri ke kanan. */
.workflow {
  margin-bottom: 20px;
  padding: 12px 20px 20px;
  border-radius: 18px;
  background: #f0f7ed;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 28px;
}

.workflow-list li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -14px;
  color: #29682c;
  font-size: 21px;
}

.step-number {
  position: absolute;
  top: -8px;
  left: 0;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #29652b;
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.workflow-list .icon-box {
  width: 48px;
  height: 48px;
}

.workflow-list h3 {
  margin: 0 0 3px;
  font-size: 15px;
  white-space: nowrap;
}

.workflow-list p {
  margin: 0;
  color: #60646c;
  font-size: 12px;
  line-height: 1.2;
}

/* Atur ulang kolom agar tetap nyaman dibaca di tablet dan ponsel. */
@media (max-width: 1050px) {
  .about-hero-inner,
  .content-width {
    margin-left: 4%;
    margin-right: 4%;
  }
}

@media (max-width: 750px) {
.about-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0;
  }

  .about-intro h1 {
    font-size: 40px;
  }

  .about-hero img {
    height: 220px;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .monitor-grid {
    grid-template-columns: 1fr;
  }

  .workflow-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 25px;
  }

  .workflow-list li:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 440px) {
  .about-features,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li::after {
    display: none;
  }

  .monitor-section > h2 {
    font-size: 26px;
  }
}



