/* ============================================================
   DESA CIKAROYA - STYLE FINAL
   Clean, Modern, Profesional (Terinspirasi Kersik)
   ============================================================ */

/* ---------- IMPORTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- ROOT VARIABLES ---------- */
:root {
  --primary: #0A4C3C;
  --primary-dark: #06382B;
  --primary-light: #1A6D56;
  --gold: #C8A84E;
  --gold-light: #DEC67A;
  --gold-dark: #A8883A;
  --white: #FFFFFF;
  --bg: #F5F7F6;
  --text: #1A1A1A;
  --text-muted: #6C757D;
  --border: #E5E7EB;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --max-width: 1200px;
  --nav-height: 68px;
  --font: 'Inter', -apple-system, sans-serif;
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding-top: 68px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- CONTAINER ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SECTION ---------- */
.section { padding: 60px 0; }
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header .label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 4px;
}
.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 15px;
}

/* ---------- BUTTON ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200, 168, 78, 0.25);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 168, 78, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}
.btn-secondary {
  background: var(--primary);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--primary-light);
}

/* ---------- NAVBAR ---------- */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  background: rgba(10, 76, 60, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.brand .icon {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
}
.brand h1 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.brand span {
  font-size: 10px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-top: -2px;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.nav-links a.active {
  color: var(--gold);
  background: rgba(200, 168, 78, 0.1);
}

/* Search */
.search-wrap {
  position: relative;
  margin: 0 6px;
}
#searchInput {
  padding: 5px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  font-size: 12px;
  width: 110px;
  transition: var(--transition);
}
#searchInput::placeholder { color: rgba(255,255,255,0.25); }
#searchInput:focus {
  outline: none;
  border-color: var(--gold);
  width: 150px;
  background: rgba(255,255,255,0.06);
}
.search-wrap .icon {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.15);
  font-size: 11px;
}

/* Dark Mode & Hamburger */
.dark-toggle {
  background: none; border: none;
  color: rgba(255,255,255,0.4);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: var(--transition);
}
.dark-toggle:hover { color: var(--white); }

.hamburger {
  display: none;
  background: none; border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 480px;
  max-height: 700px;
  overflow: hidden;
  margin-top: 0;
}
.hero .slides {
  width: 100%; height: 100%;
  position: relative;
}
.hero .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}
.hero .slide.active { opacity: 1; z-index: 2; }

.hero .slide video {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}
.hero .slide .fallback {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(10,76,60,0.85) 0%, rgba(10,76,60,0.3) 60%, rgba(10,76,60,0.6) 100%);
  z-index: 1;
}

.hero .content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: 24px;
}
.hero .content .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  background: rgba(200, 168, 78, 0.12);
  border: 1px solid rgba(200, 168, 78, 0.15);
  padding: 4px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.hero .content h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero .content h1 .gold {
  color: var(--gold);
}
.hero .content p {
  font-size: clamp(14px, 1.1vw, 17px);
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero .content .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Dots */
.hero .dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hero .dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}
.hero .dots span.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* ---------- GRID ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- CARD ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card .card-img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ---------- KADES ---------- */
.kades-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
}
.kades-grid img {
  border-radius: var(--radius-sm);
  height: 320px;
  object-fit: cover;
  width: 100%;
}
.kades-grid h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.kades-grid .title { color: var(--gold); font-size: 13px; font-weight: 600; display: block; margin-bottom: 12px; }
.kades-grid p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; line-height: 1.7; }
.kades-grid .signature {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.kades-grid .signature strong { font-size: 15px; color: var(--primary); }

@media (max-width: 900px) {
  .kades-grid { grid-template-columns: 1fr; padding: 20px; }
  .kades-grid img { height: 220px; }
}

/* ---------- STATS ---------- */
.stats {
  background: var(--primary);
  padding: 40px 24px;
  border-radius: var(--radius);
  text-align: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.stats h3 {
  font-size: 32px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 2px;
}
.stats p {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .stats { grid-template-columns: 1fr; } }

/* ---------- TABS ---------- */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tabs-nav button {
  padding: 8px 20px;
  border: none;
  background: var(--white);
  border-radius: 30px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
}
.tabs-nav button.active,
.tabs-nav button:hover {
  background: var(--primary);
  color: var(--white);
}
.tab-content {
  display: none;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.tab-content.active { display: block; animation: fadeUp 0.3s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- TABLE ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
tr:hover td { background: #F0F4F2; }
.copy-btn {
  background: none; border: none;
  color: var(--gold);
  cursor: pointer;
  font-size: 13px;
  padding: 2px 6px;
  transition: var(--transition);
}
.copy-btn:hover { color: var(--gold-light); }

/* ---------- ACCORDION ---------- */
.accordion { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.accordion-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.accordion-header {
  padding: 14px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--primary);
  transition: var(--transition);
}
.accordion-header:hover { background: #F8FAF9; }
.accordion-header i { color: var(--gold); transition: var(--transition); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 4px 20px 16px;
  border-top: 1px solid var(--border);
}
.accordion-item.active .accordion-header i { transform: rotate(180deg); }

/* ---------- WORKING HOURS ---------- */
.working-hours {
  background: var(--gold);
  color: var(--white);
  padding: 10px 20px;
  text-align: center;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 24px;
}

/* ---------- UMKM ---------- */
.umkm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.umkm-grid .card-img { height: 180px; }

/* ---------- CHART ---------- */
.chart-box {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 16px auto 0;
}

/* ---------- NEWS ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.news-grid .card-img { height: 170px; cursor: pointer; }
.news-grid .date {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}
.news-grid h3 { font-size: 17px; margin-bottom: 6px; }

/* ---------- WHATSAPP ---------- */
.whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
  z-index: 99;
  transition: var(--transition);
}
.whatsapp:hover { transform: scale(1.05); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 24px 20px;
  margin-top: 48px;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 24px;
}
.footer-grid h4 {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-grid p,
.footer-grid a {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  line-height: 1.8;
  display: block;
}
.footer-grid a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
}
.lightbox .close {
  position: absolute;
  top: 20px; right: 28px;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  background: none; border: none;
  transition: var(--transition);
}
.lightbox .close:hover { transform: rotate(90deg); color: var(--gold); }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-info p { color: var(--text-muted); margin-bottom: 12px; font-size: 14px; }
.contact-info p i { width: 24px; color: var(--gold); }
.contact-form {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-form label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  transition: var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,168,78,0.06);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; width: 100%;
    background: var(--primary);
    padding: 16px;
    border-bottom: 2px solid var(--gold);
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 10px 16px; width: 100%; font-size: 14px; }
  #searchInput { width: 100%; }
  .hero { height: 80vh; min-height: 420px; max-height: 600px; }
  .container { padding: 0 16px; }
}

@media (max-width: 576px) {
  .section { padding: 40px 0; }
  .section-header h2 { font-size: 22px; }
  .section-header p { font-size: 14px; }
  .hero { height: 75vh; min-height: 360px; max-height: 500px; }
  .hero .content h1 { font-size: 24px; }
  .hero .content p { font-size: 14px; }
  .hero .content .actions { flex-direction: column; align-items: center; }
  .hero .content .actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .kades-grid { padding: 16px; }
  .kades-grid img { height: 180px; }
  .kades-grid h3 { font-size: 20px; }
  .stats { padding: 24px 16px; }
  .stats h3 { font-size: 24px; }
  .tab-content { padding: 16px; }
  .card { padding: 16px; }
  .whatsapp { width: 46px; height: 46px; font-size: 20px; bottom: 16px; right: 16px; }
}

/* ---------- DARK MODE ---------- */
body.dark {
  background: #0D1117;
  color: #E6EDF3;
}
body.dark .card,
body.dark .kades-grid,
body.dark .tab-content,
body.dark .accordion-item,
body.dark .contact-info,
body.dark .contact-form,
body.dark .chart-box {
  background: #161B22;
  color: #E6EDF3;
  border-color: #30363D;
}
body.dark .section-header h2,
body.dark .card h3,
body.dark .kades-grid h3 {
  color: #F0E6D0;
}
body.dark .card p,
body.dark .kades-grid p,
body.dark .tab-content p,
body.dark .accordion-body,
body.dark .contact-info p {
  color: #8B949E;
}
body.dark .tabs-nav button {
  background: #161B22;
  color: #8B949E;
}
body.dark .tabs-nav button.active,
body.dark .tabs-nav button:hover {
  background: var(--primary);
  color: var(--white);
}
body.dark .accordion-header {
  background: #161B22;
  color: #F0E6D0;
}
body.dark .accordion-header:hover { background: #1C2128; }
body.dark .accordion-item.active .accordion-body { border-top-color: #30363D; }
body.dark .kades-grid .signature { border-top-color: #30363D; }
body.dark table th { background: #0D1117; }
body.dark table td { border-bottom-color: #30363D; }
body.dark tr:hover td { background: #161B22; }
body.dark .stats { background: #0D1117; }
body.dark .footer-grid p,
body.dark .footer-grid a { color: #8B949E; }
body.dark .footer-grid a:hover { color: var(--gold); }
body.dark .working-hours { background: var(--gold-dark); }
/* ============================================================
   FIX: KONTEN KETIMPA NAVBAR
   ============================================================ */

/* Beri jarak di bagian atas semua halaman */
body {
  padding-top: 68px !important;
}

/* Atau alternatif: beri margin ke konten utama */
main, .hero, .section:first-of-type {
  margin-top: 0 !important;
}

/* Hero section kasih padding top biar ga ketutupan */
.hero {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Untuk halaman yang pake container di awal */
.container:first-of-type {
  padding-top: 20px !important;
}
/* ============================================================
   FIX: NAVBAR MENUTUPI KONTEN + TAMPILAN HP
   ============================================================ */

/* ---------- SPACING UNTUK NAVBAR ---------- */
body {
  padding-top: 72px !important; /* Kasih jarak biar konten gak ketutupan navbar */
}

/* ---------- HERO DI HP ---------- */
@media (max-width: 576px) {
  .hero {
    height: 70vh !important;
    min-height: 320px !important;
    max-height: 480px !important;
  }
  .hero .content h1 {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }
  .hero .content p {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }
  .hero .content .tag {
    font-size: 9px !important;
    padding: 3px 12px !important;
    margin-bottom: 10px !important;
  }
  .hero .content .actions .btn {
    font-size: 12px !important;
    padding: 8px 18px !important;
  }
  .hero .dots {
    bottom: 16px !important;
    gap: 8px !important;
  }
  .hero .dots span {
    width: 8px !important;
    height: 8px !important;
  }
}

/* ---------- KADES DI HP ---------- */
@media (max-width: 576px) {
  .kades-grid {
    padding: 16px !important;
  }
  .kades-grid img {
    height: 160px !important;
  }
  .kades-grid h3 {
    font-size: 18px !important;
  }
  .kades-grid p {
    font-size: 13px !important;
  }
  .kades-grid .signature {
    flex-direction: column !important;
    gap: 4px !important;
  }
}

/* ---------- STATS DI HP ---------- */
@media (max-width: 576px) {
  .stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 20px 12px !important;
  }
  .stats h3 {
    font-size: 20px !important;
  }
  .stats p {
    font-size: 10px !important;
  }
}

/* ---------- SECTION & CARD DI HP ---------- */
@media (max-width: 576px) {
  .section {
    padding: 32px 0 !important;
  }
  .section-header {
    margin-bottom: 24px !important;
  }
  .section-header h2 {
    font-size: 20px !important;
  }
  .section-header p {
    font-size: 13px !important;
  }
  .card {
    padding: 16px !important;
  }
  .card h3 {
    font-size: 15px !important;
  }
  .card p {
    font-size: 13px !important;
  }
}

/* ---------- TAB & TABLE DI HP ---------- */
@media (max-width: 576px) {
  .tabs-nav button {
    padding: 6px 14px !important;
    font-size: 11px !important;
  }
  .tab-content {
    padding: 12px !important;
  }
  table {
    font-size: 12px !important;
  }
  th, td {
    padding: 6px 8px !important;
  }
}

/* ---------- ACCORDION DI HP ---------- */
@media (max-width: 576px) {
  .accordion-header {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
  .accordion-body {
    font-size: 13px !important;
    padding: 0 14px !important;
  }
  .accordion-item.active .accordion-body {
    padding: 4px 14px 12px !important;
  }
}

/* ---------- WHATSAPP DI HP ---------- */
@media (max-width: 576px) {
  .whatsapp {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
    bottom: 14px !important;
    right: 14px !important;
  }
}

/* ---------- FOOTER DI HP ---------- */
@media (max-width: 576px) {
  footer {
    padding: 24px 16px 16px !important;
    margin-top: 32px !important;
  }
  .footer-grid {
    gap: 20px !important;
  }
  .footer-grid h4 {
    font-size: 13px !important;
  }
  .footer-grid p,
  .footer-grid a {
    font-size: 12px !important;
  }
}

/* ---------- NAVBAR DI HP ---------- */
@media (max-width: 576px) {
  header {
    height: 60px !important;
    padding: 0 12px !important;
  }
  .brand h1 {
    font-size: 14px !important;
  }
  .brand span {
    font-size: 8px !important;
  }
  .brand .icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
  }
  .nav-links a {
    font-size: 13px !important;
    padding: 8px 14px !important;
  }
  #searchInput {
    font-size: 12px !important;
    padding: 4px 12px !important;
  }
}