 body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #f9f9f9;
      margin: 0;
      padding: 0;
      color: #333;
    }
.maintenance-section {
  background-color: #f9f9f9;
  padding: 120px 20px 60px;
  border-radius: 8px;
  max-width: 1200px;
  margin: 40px auto;
  text-align: left; /* Pastikan semua teks align kiri */
}
.routine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 60px;
}

/* Tajuk utama */
.maintenance-section h2 {
  font-size: 28px;
  color: #b90000;
  margin-top: -30px;
  
}

/* Senarai kerja dan perenggan */
.maintenance-section p,
.maintenance-section ul {
  font-size: 16px;
  color: #444;
}

.maintenance-section ul {
  margin-bottom: 40px;
  padding-left: 20px;
}

/* Tajuk subkategori (bergaris merah kiri) */
.section-heading {
  border-left: 5px solid #b90000;
  padding-left: 15px;
  margin-top: 40px;
  margin-bottom: 15px;
}

.section-heading h3 {
  font-size: 20px;
  color: #222;
  margin: 0;
}

.subtitle {
  font-size: 14px;
  color: #777;
  margin-top: 5px;
  margin-bottom: 20px;
}


  #back-to-top {
  position: fixed;
  bottom: 100px; /* dinaikkan dari 30px supaya tidak bertindih dengan butang WhatsApp */
  right: 30px;
  background-color: #b90000;
  color: #fff;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  font-size: 18px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}
    #back-to-top:hover {
      background-color: #880000;
      transform: translateY(-3px);
    }
.page-hero .overlay h1 {
  margin-top: 100px; /* awak boleh laraskan nilai ikut selera */
}
  .album-grid {
  width: 100%;
  display: block; /* elak kekangan grid sempit */
  margin-top: 20px;
}
    .album-box {
      position: relative;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
	  width: 500px; /* Tetapkan saiz supaya tak terlalu lebar dan mudah susun */
	  
    }
    .album-box:hover {
      transform: scale(1.02);
    }
    .album-box a img.bg {
  width: 100%;
  height: 360px; /* dari 250px → 360px untuk lebih tinggi */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
    .album-box a img.bg:hover {
      transform: scale(1.05);
    }
    .album-overlay {
      position: absolute;
      bottom: 0;
      width: 100%;
      padding: 10px 0;
      background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
      color: #fff;
      text-align: center;
      font-weight: normal;
      font-size: 15px;
    }
    .album-icons {
      position: absolute;
      bottom: 40px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
    }
    .album-icons img {
  width: 60px;  /* ikon preview bawah gambar */
  height: 60px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  transition: transform 0.3s ease;
}
    .album-icons img:hover {
      transform: scale(1.2);
    }
	.hero-title-spacing {
  padding-top: 100px;
}
.section-title {
  margin-top: 60px !important;
}
/* === RESPONSIVE: RUTIN GRID & ALBUM BOX === */
@media screen and (max-width: 768px) {
  .routine-grid {
    grid-template-columns: 1fr; /* Tukar kepada 1 lajur */
    gap: 20px;
  }

  .album-box {
    width: 100%; /* Guna 100% supaya ikut lebar skrin */
    margin: 0 auto;
  }

  .album-box a img.bg {
    height: auto; /* biar gambar skala ikut kandungan */
    max-height: 400px;
  }

  .album-overlay {
    font-size: 14px;
    padding: 8px 5px;
  }

  .album-icons img {
    width: 50px;
    height: 50px;
  }
}
