:root {
  --green: #1a6b3c;
  --green-light: #e8f5ee;
  --green-mid: #2d8a52;
  --green-dark: #0f4425;
  --gold: #c8860a;
  --gold-light: #fdf3e0;
  --teal: #0d7a6b;
  --teal-light: #e0f5f2;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #1a56a0;
  --blue-light: #e8f0fb;
  --bg: #f6f8f5;
  --bg-white: #ffffff;
  --text: #1a1e18;
  --text-muted: #6b7568;
  --border: #dce4d8;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.11);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* NAV */
.topbar {
  background: var(--green-dark);
  color: #b8d4c2;
  font-size: 12px;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 16px; }
.topbar span { display: flex; align-items: center; gap: 5px; }

nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
  position: relative;
}
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 14px; letter-spacing: -0.5px;
}
.logo-text { font-weight: 700; font-size: 16px; color: var(--green-dark); line-height: 1.2; }
.logo-sub { font-size: 10px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.3px; }

.nav-links {
  display: flex; gap: 2px; list-style: none; margin-left: auto;
}
.nav-links li { list-style: none; }
.nav-links a {
  padding: 8px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text-muted); font-size: 13px; font-weight: 500;
  transition: all 0.2s ease; white-space: nowrap; display: block;
}
.nav-links a:hover { background: var(--green-light); color: var(--green); }
.nav-links a.active { background: var(--green); color: white; font-weight: 600; }
.nav-cta {
  background: var(--green); color: white !important;
  border-radius: var(--radius-sm); padding: 8px 16px !important;
}
.nav-cta:hover { background: var(--green-mid) !important; color: white !important; }

.mobile-menu-btn {
  display: none; background: var(--green-light); border: none; font-size: 22px;
  cursor: pointer; color: var(--green-dark); margin-left: auto;
  width: 40px; height: 40px; border-radius: 8px;
  align-items: center; justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-btn:hover { background: var(--green); color: white; }
.nav-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3); z-index: 150;
}
.nav-overlay.show { display: block; }

/* SIDEBAR HEADER (mobile only) */
.sidebar-header {
  display: none;
  align-items: center; gap: 10px;
  padding: 0 16px 16px; margin-bottom: 4px;
}
.sidebar-divider {
  display: none;
  height: 1px; background: var(--border);
  margin: 0 16px 12px; list-style: none;
}
@media (max-width: 768px) {
  .sidebar-header { display: flex; }
  .sidebar-divider { display: block; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-mid) 100%);
  color: white;
  padding: 52px 24px 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px; padding: 5px 14px; font-size: 12px;
  margin-bottom: 16px; color: rgba(255,255,255,0.9);
}
.hero h1 {
  font-size: 38px; font-weight: 800; line-height: 1.15;
  margin-bottom: 14px; letter-spacing: -0.5px;
}
.hero h1 span { color: #7de8a8; }
.hero p { font-size: 16px; opacity: 0.85; margin-bottom: 28px; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary {
  background: white; color: var(--green-dark); font-weight: 700;
  padding: 12px 22px; border-radius: var(--radius-sm); text-decoration: none;
  font-size: 14px; transition: all 0.15s; cursor: pointer; border: none;
}
.btn-primary:hover { background: #f0fff5; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-outline {
  background: transparent; color: white; font-weight: 600;
  padding: 12px 22px; border-radius: var(--radius-sm); text-decoration: none;
  font-size: 14px; border: 1.5px solid rgba(255,255,255,0.4);
  transition: all 0.15s; cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.hero-stats {
  display: flex; gap: 24px;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 26px; font-weight: 800; color: #7de8a8; }
.hero-stat .lbl { font-size: 11px; opacity: 0.7; margin-top: 2px; }

.hero-right {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 20px;
  backdrop-filter: blur(10px);
}
.hero-widget-title {
  font-size: 12px; font-weight: 600; opacity: 0.7; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 14px;
}
.alert-item {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 10px;
  display: flex; gap: 10px; align-items: flex-start;
}
.alert-dot {
  width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; flex-shrink: 0;
}
.dot-red { background: #ff6b6b; }
.dot-amber { background: #ffd166; }
.dot-green { background: #7de8a8; }
.alert-item p { font-size: 13px; font-weight: 500; line-height: 1.4; }
.alert-item small { font-size: 11px; opacity: 0.6; }

/* WEATHER STRIP */
.weather-strip {
  background: var(--green-dark);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.weather-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.weather-main { display: flex; align-items: center; gap: 10px; color: white; }
.weather-temp { font-size: 22px; font-weight: 700; }
.weather-desc { font-size: 13px; opacity: 0.7; }
.weather-details { display: flex; gap: 16px; flex-wrap: wrap; }
.weather-detail { font-size: 12px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 4px; }
.solat-times { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.solat-time { text-align: center; }
.solat-time .name { font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }
.solat-time .time { font-size: 13px; font-weight: 600; color: #7de8a8; }
.solat-time.active .name { color: #ffd166; }
.solat-time.active .time { color: #ffd166; }

/* CONTENT AREA */
.main-wrap { max-width: 1160px; margin: 0 auto; padding: 32px 24px; }

/* SECTION HEADERS */
.section-header { margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-title {
  font-size: 19px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.section-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.icon-green { background: var(--green-light); }
.icon-gold { background: var(--gold-light); }
.icon-red { background: var(--red-light); }
.icon-blue { background: var(--blue-light); }
.icon-teal { background: var(--teal-light); }
.see-all {
  font-size: 13px; color: var(--green); font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
.see-all:hover { text-decoration: underline; }

/* GRID LAYOUTS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

/* CARDS */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.card-tag {
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.4px;
}
.tag-green { background: var(--green-light); color: var(--green); }
.tag-gold { background: var(--gold-light); color: var(--gold); }
.tag-red { background: var(--red-light); color: var(--red); }
.tag-blue { background: var(--blue-light); color: var(--blue); }
.tag-teal { background: var(--teal-light); color: var(--teal); }
.tag-gray { background: #f0f0ee; color: #666; }

/* KULIAH CALENDAR */
.kuliah-list { display: flex; flex-direction: column; gap: 10px; }
.kuliah-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: background 0.15s;
}
.kuliah-item:hover { background: var(--green-light); border-color: #b8d4c2; }
.kuliah-date {
  background: var(--green); color: white;
  border-radius: var(--radius-sm); padding: 6px 10px;
  text-align: center; flex-shrink: 0; min-width: 50px;
}
.kuliah-date .day { font-size: 20px; font-weight: 800; line-height: 1; }
.kuliah-date .month { font-size: 10px; opacity: 0.8; text-transform: uppercase; }
.kuliah-info { flex: 1; }
.kuliah-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.kuliah-info p { font-size: 12px; color: var(--text-muted); }
.kuliah-time {
  font-size: 12px; font-weight: 600; color: var(--green);
  background: var(--green-light); padding: 4px 10px; border-radius: 20px;
}

/* KEMATIAN CARD */
.kematian-card {
  background: #1a2620;
  border-radius: var(--radius);
  padding: 20px;
  color: white;
}
.kematian-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: #7de8a8; margin-bottom: 16px; }
.jenazah-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0;
  display: flex; gap: 14px; align-items: flex-start;
}
.jenazah-item:last-child { border-bottom: none; padding-bottom: 0; }
.jenazah-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.jenazah-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.jenazah-info p { font-size: 12px; opacity: 0.6; line-height: 1.4; }
.jenazah-status {
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 10px;
  text-transform: uppercase; margin-top: 4px; display: inline-block;
}
.status-selesai { background: rgba(125,232,168,0.2); color: #7de8a8; }
.status-sedang { background: rgba(255,209,102,0.2); color: #ffd166; }

/* TABUNG */
.tabung-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tabung-item {
  background: var(--gold-light);
  border: 1px solid #e8c870;
  border-radius: var(--radius-sm);
  padding: 14px;
}
.tabung-item h4 { font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.progress-bar { background: #e8c870; border-radius: 4px; height: 6px; margin: 8px 0; }
.progress-fill { background: var(--gold); border-radius: 4px; height: 100%; }
.tabung-amounts { display: flex; justify-content: space-between; font-size: 11px; color: #8a6010; }
.qr-btn {
  display: flex; align-items: center; gap: 6px; margin-top: 10px;
  background: var(--gold); color: white; border: none; border-radius: 6px;
  padding: 7px 12px; font-size: 12px; font-weight: 600; cursor: pointer;
  width: 100%; justify-content: center;
}

/* MARKETPLACE */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.service-item {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 12px; text-align: center;
  cursor: pointer; transition: all 0.15s; text-decoration: none;
}
.service-item:hover { background: var(--green-light); border-color: #b8d4c2; }
.service-emoji { font-size: 24px; margin-bottom: 6px; }
.service-name { font-size: 12px; font-weight: 600; color: var(--text); }
.service-count { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* JOBS */
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.2s;
  display: flex; flex-direction: column;
}
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.job-card-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 16px 0;
}
.job-logo {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--blue); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; text-align: center; flex-shrink: 0;
  line-height: 1.2; letter-spacing: 0.3px;
}
.job-header-info { flex: 1; min-width: 0; }
.job-header-info h4 {
  font-size: 15px; font-weight: 700; margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.job-company { font-size: 12px; color: var(--text-muted); margin: 0; }

.job-status {
  font-size: 10px; font-weight: 700; padding: 3px 10px;
  border-radius: 12px; white-space: nowrap; flex-shrink: 0;
}
.status-new { background: #fff3e0; color: #e65100; }
.status-urgent { background: #fce4ec; color: #c62828; }
.status-open { background: #e8f5e9; color: #2e7d32; }

.job-card-body { padding: 12px 16px; flex: 1; }
.job-detail-row {
  display: flex; gap: 12px; font-size: 12px; color: var(--text-muted);
  margin-bottom: 10px; flex-wrap: wrap;
}
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.job-tag {
  font-size: 11px; padding: 4px 10px; border-radius: 16px;
  font-weight: 600; white-space: nowrap;
}
.job-tag.tag-salary { background: #e8f5e9; color: #2e7d32; }
.job-tag.tag-time { background: #e3f2fd; color: #1565c0; }
.job-tag.tag-type { background: #f3e5f5; color: #7b1fa2; }

.job-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-top: 1px solid var(--border);
  background: var(--bg);
}
.job-posted { font-size: 11px; color: var(--text-muted); }
.job-apply-btn {
  background: var(--green); color: white; border: none;
  border-radius: 8px; padding: 9px 18px; font-size: 13px;
  font-weight: 700; cursor: pointer; font-family: inherit;
  transition: all 0.15s; white-space: nowrap;
}
.job-apply-btn:hover { background: var(--green-dark); transform: scale(1.03); }

/* ALERT SECTION */
.alert-section { }
.incident-feed { display: flex; flex-direction: column; gap: 10px; }
.incident-item {
  border-left: 3px solid var(--border);
  padding: 12px 16px;
  background: var(--bg-white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow);
  transition: border-color 0.15s;
}
.incident-item.critical { border-left-color: var(--red); }
.incident-item.warning { border-left-color: var(--gold); }
.incident-item.info { border-left-color: var(--blue); }
.incident-item.resolved { border-left-color: #2ecc71; }
.incident-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.incident-title { font-size: 14px; font-weight: 600; }
.incident-time { font-size: 11px; color: var(--text-muted); margin-left: auto; }
.incident-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* EMERGENCY NUMBERS */
.emer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.emer-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px; text-align: center;
  cursor: pointer; transition: all 0.15s; text-decoration: none; display: block;
}
.emer-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.emer-item.red { border-top: 3px solid var(--red); }
.emer-item.blue { border-top: 3px solid var(--blue); }
.emer-item.teal { border-top: 3px solid var(--teal); }
.emer-item.gold { border-top: 3px solid var(--gold); }
.emer-emoji { font-size: 26px; margin-bottom: 8px; }
.emer-name { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.emer-num { font-size: 17px; font-weight: 800; color: var(--red); }
.emer-item.blue .emer-num { color: var(--blue); }
.emer-item.teal .emer-num { color: var(--teal); }
.emer-item.gold .emer-num { color: var(--gold); }

/* FORUM */
.forum-list { display: flex; flex-direction: column; gap: 10px; }
.forum-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px;
  transition: background 0.15s; cursor: pointer;
}
.forum-item:hover { background: var(--bg); }
.forum-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.forum-body { flex: 1; }
.forum-body h4 { font-size: 14px; font-weight: 600; margin-bottom: 3px; line-height: 1.4; }
.forum-body p { font-size: 12px; color: var(--text-muted); }
.forum-meta { display: flex; gap: 12px; margin-top: 6px; }
.forum-stat { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.forum-pin { color: var(--green); font-weight: 600; }

/* POLL */
.poll-card { background: var(--green-dark); color: white; border-radius: var(--radius); padding: 20px; }
.poll-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; line-height: 1.5; }
.poll-option {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 8px;
  cursor: pointer; transition: all 0.15s; display: flex; align-items: center; justify-content: space-between;
}
.poll-option:hover { background: rgba(255,255,255,0.18); }
.poll-option.selected { background: rgba(125,232,168,0.25); border-color: #7de8a8; }
.poll-bar-wrap { height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; margin-top: 6px; }
.poll-bar-fill { height: 100%; border-radius: 2px; background: #7de8a8; }
.poll-count { font-size: 11px; opacity: 0.6; margin-top: 12px; text-align: center; }

/* EVENTS / GALLERY */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.event-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  background: var(--bg-white); transition: all 0.15s;
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.event-thumb {
  height: 130px; background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative; overflow: hidden;
}
.event-thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-thumb.theme-2 { background: var(--gold-light); }
.event-thumb.theme-3 { background: var(--blue-light); }
.event-thumb.theme-4 { background: var(--teal-light); }
.event-body { padding: 12px; }
.event-body h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; line-height: 1.4; }
.event-body p { font-size: 11px; color: var(--text-muted); }
.event-reg {
  display: flex; align-items: center; gap: 6px; margin-top: 10px;
  background: var(--green); color: white; border: none; border-radius: 6px;
  padding: 7px 12px; font-size: 12px; font-weight: 600; cursor: pointer;
  width: 100%; justify-content: center;
}

/* ADUAN */
.aduan-form {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px; font-family: inherit; font-size: 14px; color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green); background: white;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.submit-btn {
  background: var(--green); color: white; border: none; border-radius: var(--radius-sm);
  padding: 12px 24px; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background 0.15s; font-family: inherit;
}
.submit-btn:hover { background: var(--green-mid); }

/* DIVIDER */
.section-divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* FOOTER */
footer {
  background: var(--green-dark); color: rgba(255,255,255,0.7);
  padding: 40px 24px 24px;
  margin-top: 40px;
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand h3 { font-size: 18px; font-weight: 800; color: white; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: white; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-col ul li a:hover { color: #7de8a8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; }

/* NIAGA ITEMS */
.niaga-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.niaga-item {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; transition: all 0.15s;
}
.niaga-item:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.niaga-thumb {
  height: 110px; background: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 42px; overflow: hidden;
}
.niaga-thumb img { width: 100%; height: 100%; object-fit: cover; }
.niaga-info { padding: 10px; }
.niaga-info h4 { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.niaga-info p { font-size: 12px; color: var(--text-muted); }
.niaga-price { font-size: 15px; font-weight: 700; color: var(--green); margin-top: 4px; }

/* INFO SBY */
.info-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.info-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.taman-list { display: flex; flex-direction: column; gap: 8px; }
.taman-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; background: var(--bg); border-radius: var(--radius-sm);
  font-size: 13px;
}
.taman-item span:first-child { font-weight: 500; }
.taman-item span:last-child { color: var(--text-muted); font-size: 12px; }

/* PENDAFTARAN MODAL STYLE */
.reg-form {
  background: var(--green-light); border: 1px solid #b8d4c2;
  border-radius: var(--radius); padding: 20px;
}
.reg-form h3 { font-size: 15px; font-weight: 700; color: var(--green-dark); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

/* SCROLLABLE SECTION */
.scroll-x { overflow-x: auto; padding-bottom: 4px; }
.scroll-x::-webkit-scrollbar { height: 4px; }
.scroll-x::-webkit-scrollbar-track { background: var(--bg); }
.scroll-x::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* PAGE TABS */
.page-tabs { display: flex; gap: 4px; margin-bottom: 24px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px; flex-wrap: wrap; }
.tab-btn {
  padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; background: transparent; color: var(--text-muted);
  transition: all 0.15s; font-family: inherit;
}
.tab-btn.active { background: var(--green); color: white; }
.tab-btn:hover:not(.active) { background: var(--green-light); color: var(--green); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* SEARCH BAR */
.search-bar {
  position: relative; margin-bottom: 16px;
}
.search-bar input {
  width: 100%; padding: 12px 16px 12px 42px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 14px; color: var(--text);
  background: var(--bg-white); transition: all 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.search-bar input:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,107,60,0.1);
}
.search-bar input::placeholder { color: #aaa; }
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 16px; pointer-events: none; opacity: 0.5;
}
.no-results {
  text-align: center; padding: 40px 20px; color: var(--text-muted);
  font-size: 14px; grid-column: 1 / -1;
}
.no-results span { font-size: 40px; display: block; margin-bottom: 10px; }

/* SEWA RENTAL */
.sewa-filter {
  padding: 7px 16px; border-radius: 20px; font-size: 12px; font-weight: 600;
  cursor: pointer; border: 1px solid var(--border); background: var(--bg-white);
  color: var(--text-muted); transition: all 0.2s; font-family: inherit;
}
.sewa-filter.active { background: var(--green); color: white; border-color: var(--green); }
.sewa-filter:hover:not(.active) { background: var(--green-light); color: var(--green); border-color: #b8d4c2; }

.sewa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sewa-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.2s;
}
.sewa-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sewa-thumb {
  height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative; overflow: hidden;
}
.sewa-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sewa-thumb.motor { background: linear-gradient(135deg, #e8f5ee 0%, #d4edda 100%); }
.sewa-thumb.kereta { background: linear-gradient(135deg, #e8f0fb 0%, #ccd9f0 100%); }
.sewa-thumb.peralatan { background: linear-gradient(135deg, #fdf3e0 0%, #f5e6c8 100%); }
.sewa-body { padding: 14px; }
.sewa-badge {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 10px;
  border-radius: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
}
.badge-motor { background: var(--green-light); color: var(--green); }
.badge-kereta { background: var(--blue-light); color: var(--blue); }
.badge-peralatan { background: var(--gold-light); color: var(--gold); }
.sewa-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.sewa-body p { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.sewa-details {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--text-muted); margin-bottom: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.sewa-footer { display: flex; justify-content: space-between; align-items: center; }
.sewa-price { font-size: 20px; font-weight: 800; color: var(--green); }
.sewa-price small { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.sewa-btn {
  background: var(--green); color: white; border: none; border-radius: var(--radius-sm);
  padding: 8px 16px; font-size: 12px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: all 0.15s;
}
.sewa-btn:hover { background: var(--green-mid); transform: scale(1.03); }
.sewa-card.hide { display: none; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .topbar { padding: 6px 16px; font-size: 11px; flex-direction: column; gap: 2px; text-align: center; }
  .topbar-left { justify-content: center; gap: 12px; }
  .nav-inner { padding: 0 16px; }
  .mobile-menu-btn { display: flex; }
  .nav-links {
    display: none; flex-direction: column; position: fixed;
    top: 0; right: 0; width: 280px; height: 100vh;
    background: var(--bg-white); padding: 24px 12px 20px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15); margin-left: 0; z-index: 200;
    gap: 4px; overflow-y: auto;
  }
  .nav-links.show { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 14px 16px; width: 100%; border-radius: 8px; font-size: 14px; }
  .nav-links a.active { background: var(--green); color: white; }
  .hero { padding: 32px 16px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-right { display: none; }
  .hero h1 { font-size: 28px; }
  .hero-btns { flex-direction: column; }
  .main-wrap { padding: 20px 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .sewa-grid { grid-template-columns: 1fr; }
  .job-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tabung-grid { grid-template-columns: 1fr; }
  .solat-times { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; }
  footer { padding: 32px 16px 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .kuliah-item { flex-wrap: wrap; }
  .kuliah-time { margin-left: auto; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 13px; margin-bottom: 16px; }
  .hero-stats { gap: 8px; }
  .hero-stat .num { font-size: 18px; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; padding: 14px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .weather-inner { flex-direction: column; gap: 10px; }
  .weather-temp { font-size: 18px; }
  .page-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tab-btn { flex-shrink: 0; font-size: 12px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .emer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* BADGE NEW */
.badge-new {
  font-size: 10px; font-weight: 700; background: var(--red);
  color: white; padding: 2px 7px; border-radius: 10px; margin-left: 6px;
}

/* HIGHLIGHT STRIP */
.highlight-strip {
  background: #fffbeb; border: 1px solid #e8c870; border-radius: var(--radius-sm);
  padding: 10px 16px; display: flex; align-items: center; gap: 10px;
  font-size: 13px; margin-bottom: 16px;
}
.highlight-strip strong { color: var(--gold); }

/* MOBILE BOTTOM NAV */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  z-index: 999;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
.mobile-nav-inner {
  display: flex; justify-content: space-around; padding: 6px 0 8px;
}
.mobile-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-decoration: none; color: var(--text-muted); font-size: 10px; font-weight: 600;
  padding: 4px 8px; border-radius: 8px; transition: all 0.2s;
}
.mobile-nav-item.active { color: var(--green); background: var(--green-light); }
.mobile-nav-icon { font-size: 20px; }
@media (max-width: 768px) {
  .mobile-nav { display: block; }
  body { padding-bottom: 62px; }
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-inner { animation: fadeInUp 0.4s ease both; }
.card { animation: fadeInUp 0.3s ease both; }
.main-wrap { animation: fadeInUp 0.35s ease both; }

/* SMOOTH TRANSITIONS */
a, button { transition: all 0.2s ease; }
img { max-width: 100%; height: auto; }

