    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
      font-family: 'Arial','sans-serif';
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    /* pastikan body posisi relative agar pseudo element tampil */
    body {
      position: relative;
      background-color: #f0f2f5;
    }

    /* gambar dekoratif di samping (tidak mengganggu interaksi) */
    body::before,
    body::after {
      content: "";
      position: fixed;
      top: 0;
      bottom: 0;
      width: 150px;              /* ubah lebar sesuai gambar */
      background-repeat: no-repeat;
      background-position: center top;
      background-size: cover;
      pointer-events: none;      /* biar tidak menangkap klik */
      z-index: 0;                /* di bawah konten utama */
    }
    /* body::before { left: 0;  background-image: url('img/dummybgcover1.jpg'); }
    body::after  { right: 0; background-image: url('img/dummybgcover1.jpg'); } */

    /* pastikan semua konten berada di atas gambar */
    .site {
      position: relative;
      z-index: 1;
    }

    /* sembunyikan dekorasi samping pada layar kecil */
    @media (max-width: 1300px) {
      body::before, body::after { display: none; }
    }
    
     /* === HEADER dengan background === */
    header {
      position: relative;
      color: rgb(0, 0, 0);
      padding: 15px 20px;
      background: rgb(255, 255, 255);
      overflow: hidden;
      min-height:40px;
      display:flex;
      z-index:1;
      box-shadow: 0 4px 12px rgba(0, 0, 0,0.1);

    }

    /* Overlay gelap agar teks terbaca */
    header::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: transparent;
      z-index: 0;
    }

    header h1, header p {
      position: relative;
      top: 50%;
      left : 100px;
      z-index: 1;
      margin: 0;
      padding: 0 12px;
      font-size: clamp(1rem, 2.8vw, 2.2rem);
      line-height: 2;
    }

    /* Logo kiri dan kanan atas */
    .logo-kiri {
      position: absolute;
      top: 50%;
      left: 20px;
      transform: translateY(-50%);
      height: clamp(40px, 6vw, 70px);
      width: auto;
      border-radius: 10px;
      z-index: 2;
    }

    .logo-kiriMid {
      position: absolute;
      top: 50%;
      left: 13%;
      transform: translateY(-50%);
      height: clamp(40px, 6vw, 70px);
      width: auto;
      border-radius: 10px;
      z-index: 2;
    }

    .logo-kanan {
      position: absolute;
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      height: clamp(40px, 6vw, 70px);
      width: auto;
      border-radius: 10px;
      z-index: 2;
    }

    /* ISI */
    section {
      position: relative;
      max-width: 1150px;
      padding: 18px 20px;
      margin: 0 auto;   /* INI YANG MEMBUAT CENTER */
    }

    .content{
        background-color:#ffffff;
        padding:0px;
        border-radius:8px;
        box-shadow:0 2px 6px rgba(0, 0, 0, 0.1);
        margin-bottom:0px;
    }
    #ask{
        padding:20px;
    }

    .content h1{
        color:#306d07;
        margin-bottom:12px;
    }

    a.back{
        display: inline-block;
        margin-bottom: 0px;
        padding: 15px;
        border-radius: 5px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        text-align: center;
        text-decoration: none;
        color: #ffffff;
        transition: transform 0.3s, box-shadow 0.3s;
        background-color: #306d07;
    }

.materi-wrapper {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.materi-item {
  position: relative;
  display: block;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
  background: url('img/alexzel-abstract-4226274.jpg') center/cover no-repeat;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.materi-item::after {
  content: "";
  position: absolute;
  inset: 0;
}

.materi-item .card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.95);
  /* Menghilangkan blur agar teks tetap jelas */
  /* backdrop-filter: blur(10px); */

}

.materi-item .card-info h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: #0e0e0e;
}

.materi-item .card-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #2a2a2a;
  opacity: 0.9;
}

.materi-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.32);
}


    /* Footer */

footer {
  width: 100vw;        /* paksa selebar viewport */
  margin-left: calc(-50vw + 50%);
  background-color: #393939;
  color: white;
  text-align: center;
  padding: 30px 20px;
  box-sizing: border-box;
  z-index : 1;
}