/* =====================================================
   GEODESA.ID STYLE - Desa Perkhapesong
   Redesign sesuai tampilan geodesa.id
   ===================================================== */

:root {
  --gd-green: #b4865f;
  --gd-green-dark: #6f4b34;
  --gd-orange: #d3a06a;
  --gd-orange-dark: #b9834d;
  --gd-dark: #1a1a2e;
  --gd-topbar: #2c2c2c;
  --gd-nav-bg: #ffffff;
  --gd-text: #333333;
  --gd-text-light: #666;
  --gd-border: #e8e8e8;
  --gd-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --gd-craft-bg: #f4efe6;
  --gd-craft-board: #e8d9bf;
  --gd-craft-board-dark: #d5bf9d;
  --gd-craft-brown: #7a5a3e;
  --gd-craft-brown-dark: #5b3f2a;
  --gd-craft-paper: #f6f0e5;
}

* { box-sizing: border-box; }

body {
  background: radial-gradient(circle at 20% 20%, #f8f2e8 0%, #efe4d3 48%, #e5d6c0 100%);
}

/* ===== TOPBAR ===== */
.gd-topbar {
  background: var(--gd-topbar);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  padding: 0.45rem 0;
}
.gd-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gd-topbar-left { display: flex; gap: 1.5rem; align-items: center; }
.gd-topbar-left a { color: rgba(255,255,255,0.8); text-decoration: none; display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; }
.gd-topbar-left a:hover { color: #fff; }
.gd-topbar-right { display: flex; gap: 0.5rem; align-items: center; }
.gd-social-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.gd-social-btn:hover { transform: scale(1.15); opacity: 0.9; }
.gd-social-yt { background: #ff0000; color: white; }
.gd-social-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; }
.gd-social-fb { background: #1877f2; color: white; }
.gd-social-tw { background: #1da1f2; color: white; }

/* ===== NAVBAR ===== */
.gd-navbar {
  background: #fff;
  border-bottom: 1px solid var(--gd-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.gd-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.gd-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
.gd-logo-circle {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #4285f4, #ea4335, #fbbc05, #34a853);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 900; color: white;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.gd-logo-img {
  width: 50px; height: 50px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.gd-brand-text { line-height: 1.2; }
.gd-brand-main {
  display: block;
  font-size: 1.1rem; font-weight: 900;
  color: var(--gd-green-dark);
  letter-spacing: -0.01em;
  font-family: 'Inter', sans-serif;
}
.gd-brand-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--gd-text-light);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Navigation Menu */
.gd-nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
.gd-nav a {
  color: var(--gd-text);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 0.35rem;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 0.3rem;
  white-space: nowrap;
}
.gd-nav a:hover { color: var(--gd-orange); background: rgba(249,115,22,0.05); }
.gd-nav a.active { color: var(--gd-orange); }
.gd-nav-home-link { font-size: 1.1rem !important; }

/* Dropdown */
.gd-dropdown { position: relative; }
.gd-dropdown > a { cursor: pointer; }
.gd-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid #e8e8e8;
  padding: 0.5rem 0;
  z-index: 1001;
}
.gd-dropdown:hover .gd-dropdown-menu { display: block; }
.gd-dropdown-menu a {
  display: block;
  padding: 0.55rem 1.25rem;
  border-radius: 0;
  color: #333;
  font-size: 0.8rem;
  font-weight: 500;
}
.gd-dropdown-menu a:hover { background: rgba(249,115,22,0.07); color: var(--gd-orange); }

/* CTA Button */
.gd-btn-pengaduan {
  background: linear-gradient(135deg, var(--gd-orange), var(--gd-orange-dark));
  color: white !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 0.5rem !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
  transition: all 0.2s !important;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
}
.gd-btn-pengaduan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249,115,22,0.4);
  color: white !important;
}

/* Mobile hamburger */
.gd-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gd-text);
  padding: 0.25rem;
}
.gd-mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--gd-border);
  padding: 1rem;
}
.gd-mobile-nav a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--gd-text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0.35rem;
}
.gd-mobile-nav a:hover { background: rgba(249,115,22,0.07); color: var(--gd-orange); }
.gd-mobile-nav.open { display: block; }

/* ===== HERO SECTION ===== */
.gd-craft-hero {
  padding: 2rem 1rem 3rem;
}

.gd-craft-board {
  max-width: 980px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(0,0,0,0.04)),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.08) 0,
      rgba(255,255,255,0.08) 3px,
      rgba(0,0,0,0.03) 3px,
      rgba(0,0,0,0.03) 9px
    ),
    var(--gd-craft-board);
  border: 1px solid rgba(122, 90, 62, 0.25);
  border-radius: 22px;
  box-shadow:
    0 18px 40px rgba(65, 45, 24, 0.18),
    inset 0 0 0 6px rgba(255,255,255,0.18);
  padding: 1.8rem 1.6rem 1.5rem;
}

.gd-craft-head {
  text-align: center;
  margin-bottom: 1.2rem;
}

.gd-craft-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  background: #fff;
  border: 3px solid #f6f1e7;
  box-shadow: 0 6px 18px rgba(73, 47, 25, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gd-craft-badge img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.gd-craft-title {
  margin: 0;
  color: var(--gd-craft-brown-dark);
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 rgba(255,255,255,0.55), 0 3px 12px rgba(92, 62, 38, 0.28);
}

.gd-craft-subtitle {
  margin: 0.55rem 0 0;
  color: #5d5246;
  font-size: 0.92rem;
  font-weight: 600;
}

.gd-craft-window {
  width: 100%;
  min-height: 230px;
  border-radius: 90px;
  border: 8px solid rgba(244, 235, 219, 0.95);
  box-shadow: 0 10px 22px rgba(87, 62, 40, 0.28);
  background-size: cover;
  background-position: center;
  margin-bottom: 1.1rem;
}

.gd-craft-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #b99163, #8f6c48);
  border-radius: 999px;
  padding: 0.5rem;
  margin: 0 auto 1rem;
  max-width: 720px;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.2), 0 8px 16px rgba(72, 51, 31, 0.2);
}

.gd-craft-pill {
  text-decoration: none;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.gd-craft-pill:hover,
.gd-craft-pill.active {
  background: #f5ebdb;
  color: #5b3f2a;
  border-color: rgba(91,63,42,0.2);
}

.gd-craft-content {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.9rem;
}

.gd-craft-card {
  border-radius: 16px;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(123, 91, 63, 0.22);
  box-shadow: 0 8px 16px rgba(83, 59, 39, 0.12);
}

.gd-craft-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gd-craft-brown-dark);
}

.gd-craft-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #574b3f;
}

.gd-craft-card-paper {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.85), rgba(246, 239, 226, 0.95)),
    var(--gd-craft-paper);
}

.gd-craft-card-search {
  background: #efe4cf;
}

.gd-craft-search {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(122,90,62,0.35);
  background: rgba(255,255,255,0.85);
  padding: 0.6rem 0.8rem;
  font-size: 0.84rem;
  margin-bottom: 0.6rem;
}

.gd-craft-search:focus {
  outline: none;
  border-color: #8d6b47;
  box-shadow: 0 0 0 3px rgba(141,107,71,0.16);
}

.gd-craft-btn {
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #7f6244, #5f442f);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.58rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  cursor: pointer;
}

.gd-craft-btn:hover {
  background: linear-gradient(180deg, #8b6d4d, #644934);
}

.gd-hero {
  position: relative;
  min-height: 75vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.gd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.6) 100%
  );
}
.gd-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem 6rem;
  width: 100%;
  max-width: 800px;
}
.gd-hero-logo-wrap {
  margin-bottom: 1.5rem;
}
.gd-hero-logo-img {
  width: 90px; height: 90px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  padding: 10px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.gd-hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.gd-hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 2rem;
}
.gd-search-wrap {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.gd-search-bar {
  width: 100%;
  border: none;
  outline: none;
  padding: 1rem 1.5rem 1rem 3.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  color: #333;
  backdrop-filter: blur(8px);
}
.gd-search-bar::placeholder { color: #aaa; }
.gd-search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gd-green);
  font-size: 1.2rem;
  pointer-events: none;
}

/* ===== QUICK LINKS (floating over hero bottom) ===== */
.gd-quicklinks-wrap {
  position: relative;
  z-index: 3;
  margin-top: -3.5rem;
}
.gd-quicklinks {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.gd-quicklinks-row {
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  padding: 1.5rem 1rem;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.5rem;
}
.gd-ql-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.75rem 0.25rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
  cursor: pointer;
}
.gd-ql-item:hover { background: rgba(249,115,22,0.06); transform: translateY(-3px); }
.gd-ql-icon {
  width: 52px; height: 52px;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.gd-ql-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #444;
  text-align: center;
  line-height: 1.2;
}
/* Icon colors */
.gd-ql-icon.gallery { background: linear-gradient(135deg, #4caf50, #2e7d32); }
.gd-ql-icon.berita { background: linear-gradient(135deg, #ffc107, #f57f17); }
.gd-ql-icon.pengaduan { background: linear-gradient(135deg, #9c27b0, #6a1b9a); }
.gd-ql-icon.produk { background: linear-gradient(135deg, #f44336, #b71c1c); }
.gd-ql-icon.informasi { background: linear-gradient(135deg, #2196f3, #0d47a1); }
.gd-ql-icon.pengumuman { background: linear-gradient(135deg, #ff9800, #e65100); }
.gd-ql-icon.bantuan { background: linear-gradient(135deg, #795548, #3e2723); }
.gd-ql-icon.peta { background: linear-gradient(135deg, #f44336, #880808); }
.gd-ql-icon i { color: white; font-size: 1.5rem; }

/* ===== SECTION BASE (ENHANCED PREMIUM) ===== */
.gd-section { 
  padding: 4rem 1.5rem; 
}

.gd-section-inner { 
  max-width: 1200px; 
  margin: 0 auto; 
}

.gd-section-head { 
  text-align: center; 
  margin-bottom: 2.5rem; 
}

.gd-section-tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, rgba(15, 77, 125, 0.1) 0%, rgba(10, 52, 86, 0.08) 100%);
  border: 1px solid rgba(15, 77, 125, 0.2);
  border-radius: 999px;
  color: #0f4d7d;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gd-section-tag:hover {
  background: linear-gradient(135deg, rgba(15, 77, 125, 0.15) 0%, rgba(10, 52, 86, 0.12) 100%);
  border-color: rgba(15, 77, 125, 0.3);
  transform: scale(1.05);
}

.gd-section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  margin: 0;
  background: linear-gradient(135deg, #0a2540 0%, #0f4d7d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  font-family: 'Inter', sans-serif;
}

.gd-section-title span {
  background: linear-gradient(135deg, #0f4d7d 0%, #1a6ba8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gd-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.gd-view-all {
  color: #0f4d7d;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid #0f4d7d;
  padding: 0.6rem 1.3rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.gd-view-all:hover {
  background: linear-gradient(135deg, #0f4d7d 0%, #0a3456 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 77, 125, 0.25);
}

/* ===== STATISTICS SECTION (ENHANCED PREMIUM) ===== */
.gd-stats-section {
  background: linear-gradient(to bottom, #f8fbff 0%, #ffffff 100%);
  padding: 3.5rem 1.5rem;
  position: relative;
}

.gd-stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(15, 77, 125, 0.15) 50%,
    transparent 100%
  );
}

.gd-stats-inner { 
  max-width: 1140px; 
  margin: 0 auto; 
}

.gd-stats-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
  gap: 1.8rem; 
}

.gd-stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fcff 100%);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 
    0 8px 24px rgba(10, 37, 64, 0.08),
    0 2px 8px rgba(10, 37, 64, 0.04);
  border: 1px solid rgba(15, 77, 125, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.gd-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0f4d7d 0%, #0a3456 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gd-stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 16px 48px rgba(10, 37, 64, 0.15),
    0 6px 18px rgba(10, 37, 64, 0.08);
  border-color: rgba(15, 77, 125, 0.15);
}

.gd-stat-card:hover::before {
  transform: scaleX(1);
}

.gd-stat-card .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f4d7d 0%, #0a3456 100%);
  border-radius: 50%;
  color: #fff;
  font-size: 2.2rem;
  box-shadow: 
    0 8px 24px rgba(15, 77, 125, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gd-stat-card:hover .icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 
    0 12px 32px rgba(15, 77, 125, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.gd-stat-card .num {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0a2540 0%, #0f4d7d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: 'Inter', sans-serif;
}

.gd-stat-card .label {
  font-size: 0.95rem;
  color: #5a6e82;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== JADWAL SHOLAT (ENHANCED PREMIUM) ===== */
.gd-sholat-section {
  background: linear-gradient(to bottom, #ffffff 0%, #f8fbff 100%);
  padding: 3rem 1.5rem;
}

.gd-sholat-card {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff 0%, #f9fcff 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 8px 24px rgba(10, 37, 64, 0.08),
    0 2px 8px rgba(10, 37, 64, 0.04);
  border: 1px solid rgba(15, 77, 125, 0.08);
}

.gd-sholat-head {
  background: linear-gradient(135deg, #0f4d7d 0%, #0a3456 100%);
  color: #fff;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.gd-sholat-head i {
  font-size: 2rem;
  color: #f5d991;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.gd-sholat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: rgba(15, 77, 125, 0.08);
  padding: 1px;
}

.gd-sholat-item {
  background: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.gd-sholat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #0f4d7d 0%, #0a3456 100%);
  border-radius: 2px 2px 0 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gd-sholat-item:hover {
  background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
  transform: translateY(-2px);
}

.gd-sholat-item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.gd-sholat-item .sholat-name {
  font-size: 0.85rem;
  color: #5a6e82;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}

.gd-sholat-item .sholat-time {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0a2540 0%, #0f4d7d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Inter', sans-serif;
}

/* ===== APARATUR DESA (ENHANCED PREMIUM) ===== */
.gd-aparatur-section {
  background: linear-gradient(to bottom, #f8fbff 0%, #ffffff 100%);
  padding: 4rem 1.5rem;
}

.gd-aparatur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.gd-pegawai-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fcff 100%);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  box-shadow: 
    0 6px 20px rgba(10, 37, 64, 0.08),
    0 2px 8px rgba(10, 37, 64, 0.04);
  border: 1px solid rgba(15, 77, 125, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.gd-pegawai-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0f4d7d 0%, #0a3456 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gd-pegawai-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 16px 48px rgba(10, 37, 64, 0.15),
    0 6px 18px rgba(10, 37, 64, 0.08);
  border-color: rgba(15, 77, 125, 0.15);
}

.gd-pegawai-card:hover::after {
  transform: scaleX(1);
}

.gd-pegawai-img-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #e3f1ff 0%, #d4e8ff 100%);
}

.gd-pegawai-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 37, 64, 0.03) 100%
  );
  pointer-events: none;
}

.gd-pegawai-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gd-pegawai-card:hover .gd-pegawai-img {
  transform: scale(1.08);
}

.gd-pegawai-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f4d7d 0%, #0a3456 100%);
  color: rgba(255, 255, 255, 0.5);
}

.gd-pegawai-placeholder i {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.gd-pegawai-body {
  padding: 1.3rem 1.2rem 1.5rem;
  background: #fff;
}

.gd-pegawai-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0a2540;
  margin: 0 0 0.4rem;
  line-height: 1.3;
  font-family: 'Inter', sans-serif;
}

.gd-pegawai-pos {
  font-size: 0.82rem;
  color: #5a6e82;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ===== SAMBUTAN ===== */
.gd-sambutan-section { background: linear-gradient(135deg, #f8f9fa, #e8f5e9); padding: 4rem 1.5rem; }
.gd-sambutan-card {
  max-width: 900px; margin: 0 auto;
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: 280px 1fr;
}
.gd-sambutan-left {
  background: linear-gradient(135deg, var(--gd-green-dark), var(--gd-green));
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.gd-sambutan-photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  margin-bottom: 1rem;
}
.gd-sambutan-photo-placeholder {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  border: 4px solid rgba(255,255,255,0.5);
  margin: 0 auto 1rem;
}
.gd-sambutan-nama { font-size: 1.05rem; font-weight: 800; color: white; margin: 0 0 0.25rem; }
.gd-sambutan-jabatan { font-size: 0.75rem; color: rgba(255,255,255,0.8); font-weight: 500; }
.gd-sambutan-right { padding: 2.5rem; }
.gd-sambutan-right h3 { font-size: 1.35rem; font-weight: 900; color: #1a1a2e; margin: 0 0 1rem; font-family: 'Inter', sans-serif; }
.gd-sambutan-right p { color: #555; line-height: 1.8; font-size: 0.9rem; }

/* ===== BERITA SECTION ===== */
.gd-berita-section { background: #f8f9fa; padding: 4rem 1.5rem; }
.gd-berita-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.gd-berita-main { grid-column: span 1; }
.gd-berita-side { grid-column: span 1; display: flex; flex-direction: column; gap: 1rem; }
.gd-berita-card-big {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  border: 1px solid #eee;
  text-decoration: none;
  display: block;
  transition: all 0.25s;
}
.gd-berita-card-big:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.13); }
.gd-berita-card-big img { width: 100%; height: 230px; object-fit: cover; display: block; }
.gd-berita-card-big .placeholder { width: 100%; height: 230px; background: linear-gradient(135deg, #e8f5e9, #c8e6c9); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.gd-bc-body { padding: 1.25rem; }
.gd-bc-cat {
  display: inline-block;
  background: rgba(39,174,96,0.12);
  color: var(--gd-green-dark);
  font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}
.gd-bc-title {
  font-size: 1rem; font-weight: 800;
  color: #1a1a2e; margin: 0 0 0.5rem;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
}
.gd-berita-card-big .gd-bc-title { font-size: 1.1rem; }
.gd-bc-excerpt { color: #666; font-size: 0.82rem; line-height: 1.6; margin: 0 0 0.75rem; }
.gd-bc-meta { font-size: 0.7rem; color: #999; display: flex; align-items: center; gap: 0.5rem; }
.gd-berita-card-small {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  text-decoration: none;
  display: grid;
  grid-template-columns: 110px 1fr;
  transition: all 0.2s;
}
.gd-berita-card-small:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.1); transform: translateX(3px); }
.gd-berita-card-small img { width: 110px; height: 100%; object-fit: cover; }
.gd-berita-card-small .placeholder { width: 110px; min-height: 100px; background: linear-gradient(135deg, #e8f5e9, #c8e6c9); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.gd-bcs-body { padding: 0.85rem; }
.gd-bc-read {
  display: inline-flex; align-items: center; gap: 0.3rem;
  color: var(--gd-green-dark); font-size: 0.73rem; font-weight: 700;
  text-decoration: none; margin-top: 0.5rem;
}
.gd-bc-read:hover { color: var(--gd-orange); }
.gd-berita-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.gd-berita-card-row {
  background: white; border-radius: 0.75rem;
  overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #eee; text-decoration: none; display: block;
  transition: all 0.2s;
}
.gd-berita-card-row:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.gd-berita-card-row img { width: 100%; height: 130px; object-fit: cover; display: block; }
.gd-berita-card-row .placeholder { width: 100%; height: 130px; background: linear-gradient(135deg, #e8f5e9, #c8e6c9); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.gd-bcr-body { padding: 0.85rem; }
.gd-bcr-title { font-size: 0.82rem; font-weight: 700; color: #1a1a2e; margin: 0 0 0.4rem; line-height: 1.4; font-family: 'Inter', sans-serif; }
.gd-bcr-date { font-size: 0.68rem; color: #aaa; display: flex; align-items: center; gap: 0.3rem; }

/* ===== GALERI SECTION ===== */
.gd-galeri-section { background: white; padding: 4rem 1.5rem; }
.gd-galeri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 180px);
  gap: 0.75rem;
  margin-top: 2rem;
}
.gd-galeri-grid .gd-gitem:first-child { grid-row: 1 / 3; }
.gd-gitem { border-radius: 0.75rem; overflow: hidden; position: relative; display: block; }
.gd-gitem img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.gd-gitem:hover img { transform: scale(1.08); }
.gd-gitem-ov {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.gd-gitem:hover .gd-gitem-ov { opacity: 1; }
.gd-gitem-ov i { font-size: 2rem; color: white; }

/* ===== TRANSPARANSI ANGGARAN ===== */
.gd-anggaran-section { background: #f8f9fa; padding: 4rem 1.5rem; }
.gd-anggaran-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.gd-anggaran-card {
  background: white; border-radius: 1rem;
  padding: 1.75rem; box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  border: 1px solid #eee; text-align: center;
}
.gd-anggaran-card .ang-icon { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; }
.gd-anggaran-card .ang-label { font-size: 0.9rem; font-weight: 800; color: #1a1a2e; margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; }
.gd-anggaran-card .ang-total { font-size: 0.8rem; color: #666; margin-bottom: 1rem; }
.gd-progress-bar { background: #eee; border-radius: 999px; height: 8px; overflow: hidden; }
.gd-progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gd-green), var(--gd-orange)); }
.gd-anggaran-card .ang-amount { font-size: 1.25rem; font-weight: 900; color: var(--gd-green-dark); margin-top: 0.75rem; font-family: 'Inter', sans-serif; }

/* ===== PROGRAM SINERGI ===== */
.gd-sinergi-section { background: white; padding: 3rem 1.5rem; }
.gd-sinergi-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.gd-sinergi-logos img { height: 60px; object-fit: contain; filter: grayscale(40%); transition: filter 0.2s, transform 0.2s; }
.gd-sinergi-logos img:hover { filter: grayscale(0%); transform: scale(1.08); }

/* ===== PENGADUAN CTA ===== */
.gd-pengaduan-section {
  background: linear-gradient(135deg, var(--gd-green-dark), #4f3626);
  padding: 4.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gd-pengaduan-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.gd-pengaduan-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.gd-pengaduan-inner h2 { font-size: 1.75rem; font-weight: 900; color: white; margin: 0 0 0.75rem; font-family: 'Inter', sans-serif; }
.gd-pengaduan-inner p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.7; margin: 0 0 2rem; }
.gd-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--gd-green-dark);
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: all 0.2s;
}
.gd-btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }

/* ===== PENGUMUMAN SECTION ===== */
.gd-pengumuman-section { background: #f8f9fa; padding: 4rem 1.5rem; }
.gd-pengumuman-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.gd-pengumuman-item {
  background: white;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid var(--gd-green);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  transition: all 0.2s;
}
.gd-pengumuman-item:hover { transform: translateX(4px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.gd-pengumuman-date { flex-shrink: 0; text-align: center; }
.gd-pengumuman-date .date-day { font-size: 1.5rem; font-weight: 900; color: var(--gd-green-dark); line-height: 1; font-family: 'Inter', sans-serif; }
.gd-pengumuman-date .date-mo { font-size: 0.65rem; font-weight: 600; color: #999; text-transform: uppercase; }
.gd-pengumuman-body { flex: 1; }
.gd-pengumuman-title { font-size: 0.88rem; font-weight: 700; color: #1a1a2e; margin: 0 0 0.25rem; line-height: 1.4; }
.gd-pengumuman-excerpt { font-size: 0.75rem; color: #777; margin: 0; }

/* ===== AGENDA SECTION ===== */
.gd-agenda-section { background: white; padding: 4rem 1.5rem; }
.gd-agenda-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.gd-agenda-card {
  background: white; border-radius: 0.875rem;
  border: 1px solid #eee;
  border-left: 5px solid var(--gd-green);
  padding: 1.25rem; display: flex; gap: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s;
}
.gd-agenda-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); background: #f0fdf4; }
.gd-agenda-date-box {
  background: var(--gd-green-dark); color: white;
  border-radius: 0.625rem; padding: 0.5rem 0.75rem;
  text-align: center; flex-shrink: 0; min-width: 52px;
}
.gd-agenda-date-box .day { font-size: 1.5rem; font-weight: 900; line-height: 1; font-family: 'Inter', sans-serif; }
.gd-agenda-date-box .mo { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.gd-agenda-info h4 { font-size: 0.85rem; font-weight: 700; color: #1a1a2e; margin: 0 0 0.3rem; line-height: 1.4; }
.gd-agenda-info p { font-size: 0.72rem; color: #888; margin: 0; display: flex; align-items: center; gap: 0.3rem; }

/* ===== FOOTER ===== */
.gd-footer { background: #1a1a2e; color: rgba(255,255,255,0.75); font-family: 'Inter', sans-serif; }
.gd-footer-top-bar { height: 4px; background: linear-gradient(90deg, var(--gd-green), var(--gd-orange)); }
.gd-footer-inner { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 2rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.gd-footer-brand .f-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.gd-footer-brand .f-logo-g {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #ea4335, #fbbc05, #34a853);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: white;
  font-family: 'Inter', sans-serif;
}
.gd-footer-brand .f-site-name { font-size: 1rem; font-weight: 800; color: white; }
.gd-footer-brand .f-site-sub { font-size: 0.68rem; color: rgba(255,255,255,0.5); }
.gd-footer-brand p { font-size: 0.75rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin: 0 0 1rem; }
.gd-footer-contact-row { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.72rem; color: rgba(255,255,255,0.6); margin-bottom: 0.4rem; }
.gd-footer-contact-row i { color: var(--gd-green); flex-shrink: 0; }
.gd-footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gd-green); margin: 0 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(39,174,96,0.2); }
.gd-footer-links { list-style: none; margin: 0; padding: 0; }
.gd-footer-links li { margin-bottom: 0.4rem; }
.gd-footer-links a { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-decoration: none; display: flex; align-items: center; gap: 0.35rem; transition: color 0.2s; }
.gd-footer-links a:hover { color: var(--gd-green); }
.gd-footer-socials { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.gd-footer-socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.gd-footer-socials a:hover { transform: scale(1.1); opacity: 0.9; }
.gd-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 1.5rem;
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.gd-footer-bottom p { font-size: 0.7rem; color: rgba(255,255,255,0.35); margin: 0; }
.gd-footer-bottom a { color: var(--gd-green); text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .gd-quicklinks-row { grid-template-columns: repeat(4, 1fr); }
  .gd-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gd-aparatur-grid { grid-template-columns: repeat(3, 1fr); }
  .gd-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gd-berita-grid { grid-template-columns: 1fr; }
  .gd-berita-main { grid-column: span 1; }
  .gd-berita-side { flex-direction: row; flex-wrap: wrap; }
  .gd-berita-card-small { flex: 1; min-width: 200px; }
  .gd-sholat-grid { grid-template-columns: repeat(3, 1fr); }
  .gd-galeri-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .gd-craft-title { font-size: 2.1rem; }
  .gd-craft-window { min-height: 175px; border-radius: 52px; }
  .gd-craft-content { grid-template-columns: 1fr; }
  .gd-nav { display: none; }
  .gd-hamburger { display: flex; }
  .gd-navbar-inner { flex-wrap: wrap; }
  .gd-hero-title { font-size: 1.6rem; }
  .gd-hero-content { padding: 2rem 1rem 5rem; }
  .gd-quicklinks-row { grid-template-columns: repeat(4, 1fr); padding: 1rem 0.5rem; }
  .gd-ql-icon { width: 44px; height: 44px; font-size: 1.3rem; }
  .gd-ql-label { font-size: 0.65rem; }
  .gd-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gd-aparatur-grid { grid-template-columns: repeat(2, 1fr); }
  .gd-berita-row { grid-template-columns: 1fr; }
  .gd-anggaran-grid { grid-template-columns: 1fr; }
  .gd-agenda-grid { grid-template-columns: 1fr; }
  .gd-sambutan-card { grid-template-columns: 1fr; }
  .gd-galeri-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gd-galeri-grid .gd-gitem:first-child { grid-row: auto; }
  .gd-footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .gd-sholat-grid { grid-template-columns: repeat(3, 1fr); }
  .gd-topbar-left span:last-child { display: none; }
}

@media (max-width: 480px) {
  .gd-craft-board { padding: 1.2rem 0.95rem 1rem; border-radius: 16px; }
  .gd-craft-title { font-size: 1.7rem; }
  .gd-craft-ribbon { justify-content: flex-start; border-radius: 14px; }
  .gd-craft-pill { font-size: 0.7rem; }
  .gd-quicklinks-row { grid-template-columns: repeat(4, 1fr); gap: 0.25rem; }
  .gd-aparatur-grid { grid-template-columns: repeat(2, 1fr); }
  .gd-sholat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== PAGE HEADER (Halaman Dalam) ===== */
.gd-page-header {
  background: linear-gradient(135deg, var(--gd-green-dark) 0%, #8d6341 62%, #c19265 100%);
  padding: 2.5rem 1.5rem 2rem;
  color: #fff;
}
.gd-page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.gd-page-header-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}
.gd-page-header-title i {
  margin-right: 0.4rem;
  opacity: 0.9;
}
.gd-breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.gd-breadcrumb .breadcrumb-item a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.gd-breadcrumb .breadcrumb-item a:hover { color: #fff; }
.gd-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.65); }
.gd-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* Pagination pada inner pages */
.pagination .page-item .page-link {
  color: var(--gd-green-dark);
  border-color: #ddd;
}
.pagination .page-item.active .page-link {
  background: var(--gd-green-dark);
  border-color: var(--gd-green-dark);
  color: #fff;
}
.pagination .page-item .page-link:hover {
  background: #e8f5e9;
  color: var(--gd-green-dark);
}

/* Berita isi (artikel) */
.berita-isi img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }
.berita-isi table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.berita-isi table td, .berita-isi table th { padding: 8px 12px; border: 1px solid #ddd; }

/* ===== GLOBAL CRAFT OVERRIDES (ALL PUBLIC PAGES) ===== */
.gd-theme-craft {
  color: #3f352b;
}

.gd-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1050;
}

.gd-topbar {
  background: linear-gradient(180deg, #8f6d4b, #795637);
}

.gd-topbar-left a,
.gd-topbar-right a { color: rgba(255,255,255,0.92); }

.gd-navbar {
  background: linear-gradient(180deg, #f6f0e5, #ecdfca);
  border-bottom: 1px solid rgba(112, 81, 53, 0.2);
  box-shadow: 0 8px 20px rgba(90, 64, 38, 0.12);
}

.gd-logo-img {
  border: 2px solid rgba(125, 92, 62, 0.2);
  background: #fffefb;
}

.gd-brand-main { color: #5d432d; }
.gd-brand-sub { color: #7a6958; }

.gd-nav a {
  color: #5f4833;
}

.gd-nav a:hover,
.gd-nav a.active {
  color: #7d3f00;
  background: rgba(124, 75, 27, 0.08);
}

.gd-dropdown-menu {
  background: #fffaf2;
  border-color: rgba(118, 86, 58, 0.22);
}

.gd-dropdown-menu a:hover {
  background: #f2e8d8;
  color: #6a3f1d;
}

.gd-btn-pengaduan {
  background: linear-gradient(180deg, #7d5b3f, #5d402a);
  box-shadow: 0 6px 14px rgba(78, 53, 30, 0.22);
}

.gd-main-content {
  padding-bottom: 0.5rem;
}

.gd-main-content .gd-page-header {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(0,0,0,0.03)),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.08) 0,
      rgba(255,255,255,0.08) 3px,
      rgba(0,0,0,0.03) 3px,
      rgba(0,0,0,0.03) 9px
    ),
    #d9c3a0;
  border-top: 1px solid rgba(108, 76, 46, 0.25);
  border-bottom: 1px solid rgba(108, 76, 46, 0.25);
}

.gd-main-content .gd-page-header-title {
  color: #5a3f28;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

.gd-main-content .gd-breadcrumb .breadcrumb-item a,
.gd-main-content .gd-breadcrumb a {
  color: #6b4b2f;
}

.gd-main-content .gd-breadcrumb .breadcrumb-item.active,
.gd-main-content .gd-breadcrumb span {
  color: #8b6f55;
}

.gd-main-content .gd-section {
  background: transparent !important;
}

.gd-main-content .gd-card,
.gd-main-content .card,
.gd-main-content .list-group-item,
.gd-main-content .table,
.gd-main-content .alert,
.gd-main-content .accordion-item {
  background: #fffaf1;
  border-color: rgba(121, 90, 61, 0.2) !important;
  box-shadow: 0 8px 18px rgba(98, 69, 42, 0.08);
}

.gd-main-content .card-header,
.gd-main-content .gd-card-header {
  background: linear-gradient(180deg, #876447, #6f4e36) !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.gd-main-content .btn,
.gd-main-content button,
.gd-main-content .gd-view-all {
  border-radius: 10px;
}

.gd-main-content .btn-primary,
.gd-main-content .btn-success,
.gd-main-content button[type="submit"] {
  background: linear-gradient(180deg, #876447, #6a4a31);
  border-color: #6a4a31;
}

.gd-main-content .btn-primary:hover,
.gd-main-content .btn-success:hover,
.gd-main-content button[type="submit"]:hover {
  background: linear-gradient(180deg, #956f4f, #6f4e36);
  border-color: #6f4e36;
}

.gd-main-content .form-control,
.gd-main-content .form-select,
.gd-main-content textarea,
.gd-main-content input {
  background: #fffdf8;
  border: 1px solid rgba(122, 90, 62, 0.35);
  border-radius: 10px;
}

.gd-main-content .form-control:focus,
.gd-main-content .form-select:focus,
.gd-main-content textarea:focus,
.gd-main-content input:focus {
  border-color: #7f5b3e;
  box-shadow: 0 0 0 0.2rem rgba(127, 91, 62, 0.16);
}

.gd-main-content .table {
  color: #4a3a2b;
}

.gd-main-content .table thead th {
  background: #efe0c9;
  color: #5e442e;
  border-color: rgba(120, 90, 62, 0.2);
}

.gd-main-content .pagination .page-link {
  color: #6a4a31;
  border-color: rgba(122, 90, 62, 0.28);
  background: #fffaf1;
}

.gd-main-content .pagination .page-item.active .page-link {
  background: #7d5b3f;
  border-color: #7d5b3f;
  color: #fff;
}

.gd-main-content .text-success,
.gd-main-content .text-success i,
.gd-main-content .badge.bg-success,
.gd-main-content .bg-success {
  color: #7a5539 !important;
}

.gd-main-content .badge.bg-success,
.gd-main-content .bg-success {
  background-color: #ecd8bf !important;
  border-color: #c39a6d !important;
}

.gd-main-content .alert-success {
  background: #f4e8d8;
  border-color: #d0b08b;
  color: #62472f;
}

.gd-footer {
  background: linear-gradient(180deg, #3f2f23, #2d2119);
}

.gd-footer-top-bar {
  background: linear-gradient(90deg, #d6b98a, #8a6444);
}

.gd-footer-col h4,
.gd-footer-bottom a,
.gd-footer-contact-row i {
  color: #d9bc8f;
}

@media (max-width: 768px) {
  .gd-main-content .gd-page-header {
    padding-top: 1.6rem;
    padding-bottom: 1.3rem;
  }
}

/* ===== THEME PORTAL BLUE-GOLD (REFERENCE STYLE) ===== */
.gd-theme-portal {
  background: #eef3f8;
  color: #0e1f2f;
}

.gd-theme-portal .gd-topbar {
  background: linear-gradient(90deg, #082949, #0e3c67, #194f82);
}

.gd-theme-portal .gd-navbar {
  background: #f5f8fc;
  border-bottom: 1px solid rgba(15, 53, 89, 0.12);
  box-shadow: 0 6px 16px rgba(8, 41, 73, 0.08);
}

.gd-theme-portal .gd-brand-main,
.gd-theme-portal .gd-nav a,
.gd-theme-portal .gd-page-header-title {
  color: #0d375f;
}

.gd-theme-portal .gd-brand-sub {
  color: #5f7387;
}

.gd-theme-portal .gd-btn-pengaduan {
  background: linear-gradient(135deg, #0e3d69, #1f5b93);
  box-shadow: 0 6px 16px rgba(9, 46, 81, 0.24);
}

.gd-theme-portal .gd-section-tag {
  background: rgba(20, 81, 136, 0.12);
  color: #0f4678;
}

.gd-theme-portal .gd-section-title span,
.gd-theme-portal .gd-view-all,
.gd-theme-portal .gd-main-content .pagination .page-link {
  color: #0f477b;
}

.gd-theme-portal .gd-view-all {
  border-color: #0f477b;
}

.gd-theme-portal .gd-view-all:hover {
  background: #0f477b;
  color: #fff;
}

.gd-theme-portal .gd-stats-section,
.gd-theme-portal .gd-pengaduan-section {
  background: linear-gradient(135deg, #0b2f52 0%, #0f4d83 100%);
}

.gd-theme-portal .gd-footer {
  background: linear-gradient(180deg, #081d33, #050f1a);
}

.gd-theme-portal .gd-footer-top-bar {
  background: linear-gradient(90deg, #d6b15b, #a1782d);
}

/* Hero khusus homepage ala screenshot */
.sv-portal-hero {
  position: relative;
  min-height: 700px;
  background-size: cover;
  background-position: center center;
  padding: 1.5rem;
  overflow: hidden;
}

.sv-portal-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08), transparent 50%),
    linear-gradient(180deg, rgba(7, 31, 54, 0.32), rgba(5, 28, 47, 0.58));
}

.sv-portal-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.sv-portal-header {
  text-align: center;
  margin-top: 0.15rem;
}

.sv-portal-title {
  margin: 0 0 0.2rem;
  text-align: center;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
  color: #f5f7fb;
  text-shadow: 0 3px 14px rgba(0,0,0,0.45);
}

.sv-portal-subtitle {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(236, 244, 252, 0.86);
  font-weight: 600;
}

.sv-portal-goldbar {
  margin: 0.8rem auto 0;
  max-width: 1020px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(90deg, #0a3a67 0%, #144f84 45%, #a98438 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(255,255,255,0.15);
}

.sv-portal-goldbar i {
  color: #ecd39a;
  font-size: 1.5rem;
}

.sv-portal-emblem {
  display: flex;
  justify-content: center;
  margin-top: -8px;
}

.sv-portal-emblem img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  padding: 8px;
  border: 3px solid rgba(255,255,255,0.7);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.36));
}

.sv-portal-board {
  margin-top: 0.2rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 43, 74, 0.24), rgba(7, 29, 49, 0.16));
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(2px);
  padding: 0.85rem;
  box-shadow: 0 14px 26px rgba(0,0,0,0.22);
}

.sv-portal-main {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 1rem;
  align-items: start;
}

.sv-portal-side-menu {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.sv-portal-side-menu a {
  display: block;
  text-decoration: none;
  background: linear-gradient(180deg, #0d4a7f, #0a355a);
  color: #f6fbff;
  border-radius: 9px;
  padding: 0.5rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.24), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.sv-portal-side-menu a:hover {
  background: linear-gradient(180deg, #15558e, #0a3e6a);
}

.sv-portal-bottom-content {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr 1.05fr;
  gap: 0.8rem;
  align-items: end;
}

.sv-portal-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.sv-stat-card {
  background: linear-gradient(180deg, #0f4b7d, #0b3559);
  border: 2px solid rgba(213, 181, 99, 0.65);
  border-radius: 10px;
  padding: 0.78rem 0.55rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 18px rgba(0,0,0,0.26);
}

.sv-stat-card i {
  display: block;
  font-size: 1.35rem;
  color: #e6c77f;
  margin-bottom: 0.35rem;
}

.sv-stat-card small {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 0.3rem;
}

.sv-stat-card strong {
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 800;
}

.sv-portal-chart-box {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.sv-pie {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 16px rgba(0,0,0,0.28);
  position: relative;
}

.sv-pie::after {
  content: '';
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  background: rgba(248, 251, 255, 0.92);
}

.sv-pie-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #1d3350;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  z-index: 2;
}

.sv-pie-center b {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.05rem;
}

.sv-pie-label {
  position: absolute;
  font-size: 0.7rem;
  text-align: center;
  color: #11263b;
  line-height: 1.3;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
  z-index: 3;
}

.sv-pie-label b {
  font-size: 1rem;
}

.sv-pie-label-urban {
  top: 46px;
  left: 20px;
}

.sv-pie-label-rural {
  right: 18px;
  bottom: 38px;
}

.sv-portal-updates {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sv-update-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  background: rgba(255,255,255,0.96);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  text-decoration: none;
  border: 1px solid rgba(10, 56, 96, 0.12);
}

.sv-update-text small {
  display: block;
  color: #6f7f8f;
  font-size: 0.6rem;
}

.sv-update-text span {
  display: block;
  color: #15293d;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.3;
}

.sv-update-item img {
  width: 58px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d5dde5;
}

@media (max-width: 1024px) {
  .sv-portal-hero {
    min-height: 760px;
  }

  .sv-portal-board {
    padding: 0.75rem;
  }

  .sv-portal-main {
    grid-template-columns: 1fr;
  }

  .sv-portal-side-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sv-portal-bottom-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sv-portal-chart-box {
    width: 190px;
    height: 190px;
  }
}

@media (max-width: 640px) {
  .sv-portal-hero {
    min-height: 780px;
    padding: 1rem;
  }

  .sv-portal-subtitle {
    font-size: 0.7rem;
  }

  .sv-portal-goldbar {
    height: 42px;
  }

  .sv-portal-emblem img {
    width: 96px;
    height: 96px;
  }

  .sv-portal-stat-cards {
    grid-template-columns: 1fr;
  }

  .sv-portal-side-menu a {
    width: calc(50% - 0.3rem);
    text-align: center;
  }
}

/* ===== HERO MODERN (DIFFERENT LOOK) ===== */
.ak-hero-modern {
  position: relative;
  min-height: 620px;
  background-size: cover;
  background-position: center;
  padding: 2rem 1.2rem;
  overflow: hidden;
}

.ak-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.14), transparent 45%),
    linear-gradient(120deg, rgba(4, 22, 39, 0.82), rgba(7, 39, 66, 0.58));
}

.ak-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 1.1rem;
  align-items: stretch;
}

.ak-hero-left,
.ak-hero-right {
  border: 1px solid rgba(255,255,255,0.23);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 26px rgba(0,0,0,0.26);
}

.ak-hero-left {
  padding: 1.25rem 1.25rem 1.15rem;
}

.ak-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(221, 183, 102, 0.18);
  border: 1px solid rgba(221, 183, 102, 0.45);
  color: #f5d991;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ak-title-row {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.ak-title-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.82);
  padding: 5px;
}

.ak-title-row h1 {
  margin: 0;
  color: #f5fbff;
  font-size: clamp(1.38rem, 2.2vw, 2.05rem);
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.ak-title-row p {
  margin: 0.22rem 0 0;
  color: rgba(228, 240, 250, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
}

.ak-hero-desc {
  margin: 0.95rem 0 0;
  color: rgba(229, 241, 251, 0.88);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 92%;
}

.ak-hero-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.ak-hero-actions a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.56rem 0.95rem;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.28);
  background: linear-gradient(135deg, #0f4c7d, #0b355a);
  color: #f6fbff;
}

.ak-hero-actions a.alt {
  background: linear-gradient(135deg, #b1873a, #896224);
  color: #fff;
}

.ak-mini-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.ak-mini-stats > div {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(7, 39, 66, 0.42);
  padding: 0.62rem 0.55rem;
}

.ak-mini-stats small {
  display: block;
  color: rgba(207, 227, 243, 0.82);
  font-size: 0.62rem;
}

.ak-mini-stats strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.03rem;
  line-height: 1;
  color: #ffffff;
  font-weight: 800;
}

.ak-hero-right {
  padding: 1rem;
}

.ak-hero-right h3 {
  margin: 0 0 0.75rem;
  color: #f5fbff;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ak-news-list {
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
}

.ak-news-item {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
  border-radius: 10px;
  padding: 0.52rem;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(248, 252, 255, 0.94);
}

.ak-news-item .text small {
  display: block;
  color: #6d7f92;
  font-size: 0.6rem;
}

.ak-news-item .text span {
  display: block;
  color: #12263a;
  font-size: 0.72rem;
  line-height: 1.3;
  font-weight: 700;
}

.ak-news-item img,
.ak-thumb-placeholder {
  width: 60px;
  height: 40px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid #d1dae3;
  flex-shrink: 0;
}

.ak-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6a7f95;
  background: #edf3f9;
}

.ak-news-empty {
  color: rgba(232, 243, 252, 0.85);
  font-size: 0.82rem;
  padding: 0.8rem;
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: 10px;
}

.ak-quick-links {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.ak-quick-links a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.71rem;
  color: #e8f4ff;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  background: rgba(10, 45, 75, 0.52);
  border: 1px solid rgba(255,255,255,0.18);
}

.ak-quick-links a i { color: #e3c57f; }

@media (max-width: 1024px) {
  .ak-hero-modern {
    min-height: 760px;
  }

  .ak-hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ak-hero-modern {
    min-height: 820px;
    padding: 1rem;
  }

  .ak-title-row {
    align-items: flex-start;
  }

  .ak-title-row img {
    width: 62px;
    height: 62px;
  }

  .ak-mini-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ak-quick-links {
    grid-template-columns: 1fr;
  }
}

/* ===== HERO SLIDESHOW BANNER ===== */
/* === SLIDESHOW FRAME WRAPPER === */
.slideshow-frame-wrap {
  background: linear-gradient(135deg, #0a2540 0%, #0f3060 100%);
  padding: 1.6rem 2rem 0;
  position: relative;
}
.slideshow-frame-wrap::before {
  content: '';
  position: absolute;
  inset: 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='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2540 0%, #0f4d7d 100%);
  border-radius: 16px 16px 0 0;
  box-shadow:
    0 -4px 0 0 rgba(255,255,255,0.08),
    -4px 0 0 0 rgba(255,255,255,0.05),
    4px 0 0 0 rgba(255,255,255,0.05),
    0 20px 60px rgba(0,0,0,0.4);
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide-item.active {
  opacity: 1;
  z-index: 2;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 37, 64, 0.25) 0%,
    rgba(10, 37, 64, 0.4) 50%,
    rgba(10, 37, 64, 0.6) 100%
  );
  z-index: 3;
}

.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a2540 0%, #0f4d7d 100%);
  color: rgba(255, 255, 255, 0.5);
}

.slide-placeholder i {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.slide-placeholder p {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  font-size: 1.8rem;
}

.slide-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.slide-nav.prev {
  left: 2rem;
}

.slide-nav.next {
  right: 2rem;
}

.slide-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.dot.active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

/* ===== HERO OVERLAY CONTENT ===== */
.hero-overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  text-align: center;
  width: 90%;
  max-width: 700px;
  animation: fadeInUp 0.8s ease-out backwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  animation: scaleIn 0.6s ease-out 0.2s backwards;
}

.hero-badge-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
              0 4px 16px rgba(255, 255, 255, 0.2) inset;
  border: 4px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge-logo:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4),
              0 6px 20px rgba(255, 255, 255, 0.3) inset;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6),
               0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
  line-height: 1.15;
  animation: slideInFromLeft 0.7s ease-out 0.3s backwards;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.5rem 0;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  animation: slideInFromRight 0.7s ease-out 0.4s backwards;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.6s ease-out 0.5s backwards;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-tagline i {
  font-size: 1.3rem;
}

.hero-tagline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ===== WELCOME SECTION (replaces old hero-brand) ===== */
.mn-welcome-section {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out backwards;
}

.mn-welcome-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0f4d7d 0%, #0a3456 100%);
  color: #ffffff;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(15, 77, 125, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mn-welcome-tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(15, 77, 125, 0.4);
}

.mn-welcome-tag i {
  font-size: 1.2rem;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20%, 40% { transform: rotate(-8deg); }
}

.mn-welcome-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #0f4d7d 0%, #0a3456 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.mn-welcome-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #5a6c7d;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 500;
}

@media (max-width: 768px) {
  .slideshow-frame-wrap {
    padding: 1.1rem 1.1rem 0;
  }
  .hero-slideshow {
    height: 280px;
    border-radius: 12px 12px 0 0;
  }

  .slide-nav {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
  }

  .slide-nav.prev {
    left: 1rem;
  }

  .slide-nav.next {
    right: 1rem;
  }

  .slide-dots {
    bottom: 1.5rem;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    width: 26px;
  }

  .hero-badge-logo {
    width: 85px;
    height: 85px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 0.85rem;
    padding: 0.7rem 1.3rem;
  }

  .mn-welcome-section {
    margin-bottom: 2.5rem;
  }

  .mn-welcome-tag {
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem;
  }

  .mn-welcome-title {
    font-size: 2rem;
  }

  .mn-welcome-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .slideshow-frame-wrap {
    padding: 0.8rem 0.8rem 0;
  }
  .hero-slideshow {
    height: 220px;
    border-radius: 10px 10px 0 0;
  }

  .slide-placeholder i {
    font-size: 3rem;
  }

  .slide-placeholder p {
    font-size: 0.95rem;
  }

  .hero-overlay-content {
    width: 95%;
  }

  .hero-badge-logo {
    width: 70px;
    height: 70px;
    padding: 8px;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
  }

  .hero-tagline {
    font-size: 0.75rem;
    padding: 0.6rem 1rem;
    gap: 0.4rem;
  }

  .hero-tagline i {
    font-size: 1.1rem;
  }

  .slide-nav {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .slide-nav.prev {
    left: 0.5rem;
  }

  .slide-nav.next {
    right: 0.5rem;
  }

  .slide-dots {
    bottom: 1rem;
    gap: 0.4rem;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    width: 24px;
  }

  .mn-welcome-section {
    margin-bottom: 2rem;
  }

  .mn-welcome-tag {
    font-size: 0.72rem;
    padding: 0.45rem 1rem;
  }

  .mn-welcome-tag i {
    font-size: 1rem;
  }

  .mn-welcome-title {
    font-size: 1.6rem;
  }

  .mn-welcome-text {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }
}

/* ===== MINIMALIST CLEAN HERO (BRIGHT & AIRY) ===== */
/* ===== WAVE SEPARATOR ===== */
.mn-wave-sep {
  display: block;
  line-height: 0;
  background: linear-gradient(135deg, #0a2540 0%, #0f3060 100%);
}
.mn-wave-sep svg {
  display: block;
  width: 100%;
  height: 56px;
}

/* ===== HERO CLEAN SECTION (2-COLUMN LAYOUT) ===== */
.mn-hero-clean {
  background: #f0f6ff;
  padding: 3.5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.mn-hero-clean::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15,77,125,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mn-hero-container {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Split 2-column grid */
.mn-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* ===== LEFT COLUMN ===== */
.mn-hero-left {
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.mn-welcome-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e8f0fe;
  color: #0f4d7d;
  border: 1px solid rgba(15, 77, 125, 0.2);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.3rem;
  letter-spacing: 0.02em;
}
.mn-welcome-tag i {
  font-size: 1rem;
  color: #1a73e8;
}

.mn-welcome-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 900;
  color: #0a2540;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
}
.mn-welcome-title span {
  color: #0f4d7d;
}

.mn-welcome-text {
  font-size: 1.05rem;
  color: #4a5d6e;
  line-height: 1.75;
  margin: 0 0 1.8rem;
  font-weight: 400;
}

/* Feature list */
.mn-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
}

.mn-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #334e68;
  font-weight: 500;
}

.mn-feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #0f4d7d, #0a3456);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
}

/* CTA Buttons */
.mn-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.mn-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(135deg, #0f4d7d 0%, #0a3456 100%);
  color: #fff;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(15, 77, 125, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.mn-btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
}
.mn-btn-primary:hover::before { left: 100%; }
.mn-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 77, 125, 0.4);
}

.mn-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.8rem;
  background: #ffffff;
  color: #0f4d7d;
  border: 2px solid #b8d0e8;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mn-btn-outline:hover {
  border-color: #0f4d7d;
  background: #e8f0fe;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(15, 77, 125, 0.15);
}

/* ===== RIGHT COLUMN: STATS ===== */
.mn-hero-right {
  animation: fadeInUp 0.6s ease-out 0.25s backwards;
}

.mn-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.2rem;
}

.mn-stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.07);
  border: 1px solid rgba(15, 77, 125, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.mn-stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  transition: height 0.3s ease;
}
.mn-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.13);
}
.mn-stat-card:hover::after {
  height: 5px;
}

.mn-stat-blue::after  { background: linear-gradient(90deg, #1a73e8, #0f4d7d); }
.mn-stat-teal::after  { background: linear-gradient(90deg, #00b4d8, #0077b6); }
.mn-stat-purple::after{ background: linear-gradient(90deg, #7b2ff7, #9b59b6); }
.mn-stat-orange::after{ background: linear-gradient(90deg, #f7931e, #e65c00); }

.mn-stat-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.2rem;
  transition: transform 0.3s ease;
}
.mn-stat-card:hover .mn-stat-ico {
  transform: scale(1.1) rotate(5deg);
}
.mn-stat-blue  .mn-stat-ico { background: linear-gradient(135deg, #1a73e8, #0f4d7d); box-shadow: 0 4px 12px rgba(26,115,232,0.3); }
.mn-stat-teal  .mn-stat-ico { background: linear-gradient(135deg, #00b4d8, #0077b6); box-shadow: 0 4px 12px rgba(0,180,216,0.3); }
.mn-stat-purple.mn-stat-ico { background: linear-gradient(135deg, #7b2ff7, #9b59b6); }
.mn-stat-purple .mn-stat-ico{ background: linear-gradient(135deg, #7b2ff7, #9b59b6); box-shadow: 0 4px 12px rgba(123,47,247,0.3); }
.mn-stat-orange .mn-stat-ico{ background: linear-gradient(135deg, #f7931e, #e65c00); box-shadow: 0 4px 12px rgba(247,147,30,0.3); }

.mn-stat-num {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0a2540;
  line-height: 1;
  letter-spacing: -0.03em;
}
.mn-stat-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a8fa5;
}

/* Pengaduan Banner */
.mn-aduan-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #0f4d7d 0%, #0a3456 100%);
  color: #fff;
  text-decoration: none;
  padding: 1.3rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 77, 125, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mn-aduan-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 77, 125, 0.4);
}
.mn-aduan-banner > i:first-child {
  font-size: 2rem;
  flex-shrink: 0;
  opacity: 0.9;
}
.mn-aduan-banner div {
  flex: 1;
}
.mn-aduan-banner strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.mn-aduan-banner span {
  font-size: 0.78rem;
  opacity: 0.8;
  line-height: 1.4;
}
.mn-aduan-arrow {
  font-size: 1.4rem;
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.3s ease;
}
.mn-aduan-banner:hover .mn-aduan-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ===== BERITA SECTION ===== */
.mn-news-section {
  border-top: 1px solid rgba(15, 77, 125, 0.12);
  padding-top: 3rem;
  animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.mn-news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.mn-news-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #e8f0fe;
  color: #0f4d7d;
  border: 1px solid rgba(15, 77, 125, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.mn-news-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: #0a2540;
  margin: 0;
  letter-spacing: -0.02em;
}

.mn-news-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0f4d7d;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border: 2px solid #b8d0e8;
  border-radius: 999px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.mn-news-all:hover {
  background: #0f4d7d;
  color: #fff;
  border-color: #0f4d7d;
  transform: translateX(2px);
}
.mn-news-all i {
  transition: transform 0.3s ease;
}
.mn-news-all:hover i {
  transform: translateX(3px);
}

.mn-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mn-news-card {
  text-decoration: none;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.07);
  border: 1px solid rgba(15, 77, 125, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.mn-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.14);
}

.mn-news-img {
  width: 100%;
  height: 195px;
  background-size: cover;
  background-position: center;
  background-color: #dde8f0;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.mn-news-card:hover .mn-news-img {
  transform: scale(1.06);
}
.mn-news-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a8bdd0;
  font-size: 3rem;
  background: linear-gradient(135deg, #eef4fb, #dde8f4);
}

.mn-news-content {
  padding: 1.3rem 1.3rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mn-news-content small {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #8a9bab;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.mn-news-content small i {
  font-size: 0.9rem;
  color: #0f4d7d;
}

.mn-news-content h4 {
  margin: 0 0 auto;
  font-size: 1rem;
  line-height: 1.5;
  color: #0a2540;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mn-news-card:hover .mn-news-content h4 {
  color: #0f4d7d;
}

.mn-news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f4d7d;
  letter-spacing: 0.02em;
  transition: gap 0.2s ease;
}
.mn-news-card:hover .mn-news-readmore {
  gap: 0.5rem;
}

/* Keep fadeInUp keyframe */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 900px) {
  .mn-hero-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .mn-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mn-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .mn-hero-clean {
    padding: 2.5rem 1rem 3rem;
  }
  .mn-hero-split {
    gap: 2rem;
  }
  .mn-welcome-title {
    font-size: 1.9rem;
  }
  .mn-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
  .mn-news-grid {
    grid-template-columns: 1fr;
  }
  .mn-news-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .mn-stat-num {
    font-size: 1.7rem;
  }
  .mn-stat-card {
    padding: 1.4rem 1.1rem;
  }
  .mn-cta-buttons {
    flex-direction: column;
  }
  .mn-btn-primary,
  .mn-btn-outline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .mn-hero-clean {
    padding: 2rem 1rem 2.5rem;
  }
  .mn-welcome-title {
    font-size: 1.6rem;
  }
  .mn-welcome-text {
    font-size: 0.95rem;
  }
  .mn-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .mn-stat-card {
    padding: 1.2rem 1rem;
    border-radius: 16px;
  }
  .mn-stat-ico {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
    border-radius: 12px;
  }
  .mn-stat-num {
    font-size: 1.5rem;
  }
  .mn-stat-lbl {
    font-size: 0.68rem;
  }
  .mn-aduan-banner {
    padding: 1.1rem;
    gap: 0.8rem;
  }
  .mn-aduan-banner > i:first-child {
    font-size: 1.6rem;
  }
  .mn-aduan-banner strong {
    font-size: 0.85rem;
  }
  .mn-news-img {
    height: 170px;
  }
  .mn-news-section {
    padding-top: 2rem;
  }
  .mn-wave-sep svg {
    height: 36px;
  }
}

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for cards */
.gd-stat-card,
.gd-sholat-item,
.gd-pegawai-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.gd-stat-card:nth-child(1) { animation-delay: 0.1s; }
.gd-stat-card:nth-child(2) { animation-delay: 0.2s; }
.gd-stat-card:nth-child(3) { animation-delay: 0.3s; }
.gd-stat-card:nth-child(4) { animation-delay: 0.4s; }

.gd-sholat-item:nth-child(1) { animation-delay: 0.1s; }
.gd-sholat-item:nth-child(2) { animation-delay: 0.15s; }
.gd-sholat-item:nth-child(3) { animation-delay: 0.2s; }
.gd-sholat-item:nth-child(4) { animation-delay: 0.25s; }
.gd-sholat-item:nth-child(5) { animation-delay: 0.3s; }
.gd-sholat-item:nth-child(6) { animation-delay: 0.35s; }

.gd-pegawai-card:nth-child(1) { animation-delay: 0.1s; }
.gd-pegawai-card:nth-child(2) { animation-delay: 0.15s; }
.gd-pegawai-card:nth-child(3) { animation-delay: 0.2s; }
.gd-pegawai-card:nth-child(4) { animation-delay: 0.25s; }
.gd-pegawai-card:nth-child(5) { animation-delay: 0.3s; }
.gd-pegawai-card:nth-child(6) { animation-delay: 0.35s; }
.gd-pegawai-card:nth-child(7) { animation-delay: 0.4s; }
.gd-pegawai-card:nth-child(8) { animation-delay: 0.45s; }

/* ===== COMPREHENSIVE RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 768px) {
  .gd-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .gd-sholat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gd-aparatur-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .gd-stat-card {
    padding: 1.5rem 1rem;
  }

  .gd-stat-card .icon {
    width: 65px;
    height: 65px;
    font-size: 1.8rem;
  }

  .gd-stat-card .num {
    font-size: 2rem;
  }

  .gd-sholat-head {
    padding: 1.2rem 1.5rem;
    font-size: 0.95rem;
  }

  .gd-sholat-head i {
    font-size: 1.6rem;
  }

  .gd-sholat-item {
    padding: 1.2rem 0.8rem;
  }

  .gd-sholat-item .sholat-time {
    font-size: 1.3rem;
  }

  .gd-section-title {
    font-size: 1.8rem;
  }

  .gd-pegawai-img-wrap {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .gd-stats-section,
  .gd-sholat-section,
  .gd-aparatur-section {
    padding: 2.5rem 1rem;
  }

  .gd-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gd-sholat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gd-aparatur-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gd-stat-card {
    padding: 1.3rem 1rem;
  }

  .gd-stat-card .icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .gd-stat-card .num {
    font-size: 1.8rem;
  }

  .gd-stat-card .label {
    font-size: 0.85rem;
  }

  .gd-sholat-card {
    border-radius: 18px;
  }

  .gd-sholat-head {
    padding: 1rem;
    font-size: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .gd-sholat-item {
    padding: 1rem 0.6rem;
  }

  .gd-sholat-item .sholat-name {
    font-size: 0.75rem;
  }

  .gd-sholat-item .sholat-time {
    font-size: 1.15rem;
  }

  .gd-section-tag {
    font-size: 0.72rem;
    padding: 0.4rem 1rem;
  }

  .gd-section-title {
    font-size: 1.5rem;
  }

  .gd-pegawai-card {
    border-radius: 16px;
  }

  .gd-pegawai-img-wrap {
    height: 200px;
  }

  .gd-pegawai-body {
    padding: 1rem;
  }

  .gd-pegawai-name {
    font-size: 0.95rem;
  }

  .gd-pegawai-pos {
    font-size: 0.75rem;
  }

  .gd-view-all {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Touch optimization */
@media (hover: none) {
  .gd-stat-card:hover,
  .gd-sholat-item:hover,
  .gd-pegawai-card:hover,
  .mn-btn-primary:hover,
  .mn-btn-secondary:hover {
    transform: none;
  }
}
