/* =========================================================
   BEDAS SERVE – GLOBAL STYLE (PROFESSIONAL ENHANCED)
   ========================================================= */

:root {
  --toska-dark: #036e67;
  --toska-main: #058a83;
  --toska-soft: #d9f4ef;
  --toska-mid: #66c7b8;
  --toska-glass: rgba(5, 138, 131, 0.06);

  --gold-soft: #f4d35e;
  --white: #ffffff;

  --text-heading: #02403a;
  --text-body: #37474f;
  --text-light: #607d8b;

  --gradient-primary: linear-gradient(135deg, #058a83, #2ab7a9);
  --gradient-soft: linear-gradient(180deg, #e5fdf8, #b3ebe3);
  --container-max: 1160px;
  --section-pad-b: clamp(3rem, 6vw, 4.5rem);
  --hero-panel-h: clamp(29.5rem, 60vh, 36rem);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --radius-2: 0.75rem;
  --radius-3: 1.125rem;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background: var(--toska-soft);
  color: var(--text-body);
  line-height: 1.6;
  animation: fadeIn 0.8s ease-in-out;
  font-size: clamp(14px, 3.6vw, 16px);
  width: 100%;
  overflow-x: hidden;
  touch-action: manipulation; /* Removes 300ms delay */
}

/* Sentuhan mobile umum */
body {
  -webkit-tap-highlight-color: rgba(5, 138, 131, 0.2);
}

/* Ensure accessible touch targets */
a, button, input, select, textarea {
  min-height: 44px;
  min-width: 44px;
}
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

button, .btn-cta, .nav a, .mini-link {
  touch-action: manipulation;
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gradient-primary);
  padding: 14px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  user-select: none; /* Prevent text selection on mobile taps */
}
.header-right { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.header-right .btn-cta { 
  padding: 8px 16px; 
  font-size: clamp(0.85rem, 2.2vw, 0.95rem); 
  border-radius: 40px; 
  box-shadow: 0 3px 10px rgba(244, 211, 94, 0.32);
}

.header:hover {
  background: linear-gradient(135deg, #048177, #1aa89b);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 18px;
  margin: 0 20px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  transition: background 0.25s ease, color 0.25s ease;
  font-size: clamp(0.85rem, 2.6vw, 1rem);
  min-height: 48px;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.nav a.active {
  background: rgba(255, 255, 255, 0.26);
}

/* Navigasi mobile */
@media (max-width: 820px) {
  .menu-toggle { display: block; } /* Ensure it's visible */
  .nav { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 8px; padding-bottom: 8px; }
  .nav a { flex: 0 0 auto; }
  .header.nav-open .nav { position: static; display: flex; background: none; padding: 0; }
}

@media (max-width: 480px) {
  .menu-toggle {
    font-size: 16px; /* Diperkecil lagi dari 18px */
    padding: 4px;    /* Diperkecil lagi dari 6px */
  }
}

.logo-img {
  height: clamp(36px, 8vw, 54px);
  transition: transform 0.4s ease;
}

.logo-img:hover {
  transform: scale(1.08);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}

.btn-cta {
  background: var(--gold-soft);
  color: #222;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.35s ease;
  box-shadow: 0 4px 14px rgba(244, 211, 94, 0.35);
  font-size: clamp(0.9rem, 3.2vw, 1rem);
}

.btn-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(244, 211, 94, 0.5);
}

.btn-cta:focus-visible,
.quick-access a:focus-visible,
.mini-link:focus-visible,
.card:focus-visible {
  outline: 3px solid rgba(244, 211, 94, 0.9);
  outline-offset: 3px;
}

.theme-toggle {
  margin-left: 12px;
  background: #fbd46d;
  color: #222;
  border: none;
  border-radius: 40px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
}
.a11y-toggle {
  margin-left: 8px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
}
@media (hover: hover) {
  .a11y-toggle:hover {
    transform: translateY(-2px);
  }
}
.a11y-bubble {
  position: absolute;
  top: 48px;
  right: 0;
  background: #ffffff;
  color: #111;
  border: 2px solid #111;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.14);
  display: none;
  align-items: center;
  gap: 10px;
  max-width: 280px;
  font-weight: 700;
}
.a11y-bubble::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 18px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
  filter: drop-shadow(0 -2px 0 #111);
}
.a11y-bubble .bubble-close {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 4px 8px;
  cursor: pointer;
  font-weight: 700;
}
.a11y-bubble.show { display: inline-flex; animation: fadeSlide 0.3s ease; }

.admin-login-btn {
  margin-left: 8px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 40px;
  padding: 8px 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
@media (hover: hover) {
  .admin-login-btn:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-2px);
  }
}
.admin-login-btn:active {
  transform: translateY(0);
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
  position: relative;
  min-height: var(--hero-panel-h);
  background: var(--gradient-primary);
  padding: clamp(20px, 3vw, 36px) 5%;
  padding-left: 0;
  color: white;
  overflow: hidden;
  animation: fadeSlide 1.2s ease forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/pattern.svg") repeat;
  opacity: 0.08;
}

.hero::before {
  content: "";
  position: absolute;
  right: -6%;
  top: 12%;
  width: clamp(280px, 34vw, 560px);
  height: clamp(280px, 34vw, 560px);
  border-radius: 50%;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.12) 45%, rgba(255,255,255,0.0) 70%),
    radial-gradient(50% 50% at 30% 30%, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.0) 60%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  pointer-events: none;
}

.hero.motif-layered {
  background:
    conic-gradient(from 172deg at -10% 6%, rgba(155,225,93,0.55) 0 140deg, transparent 140deg 360deg),
    conic-gradient(from 14deg at 110% 94%, rgba(111,218,68,0.52) 0 130deg, transparent 130deg 360deg),
    radial-gradient(130% 115% at 50% 60%, rgba(5,138,131,0.46) 0%, rgba(5,138,131,0.22) 42%, transparent 75%),
    radial-gradient(100% 80% at 50% -10%, rgba(3,110,103,0.30) 22%, transparent 60%),
    var(--gradient-primary);
}
.hero.motif-layered::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  background:
    radial-gradient(220px 220px at 88% 22%, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.26) 35%, rgba(255,255,255,0.0) 62%),
    radial-gradient(280px 280px at 84% 64%, rgba(5,138,131,0.32) 0%, rgba(5,138,131,0.20) 38%, rgba(5,138,131,0.0) 66%),
    radial-gradient(140px 140px at 70% 36%, rgba(111,218,68,0.30) 0%, rgba(111,218,68,0.18) 38%, rgba(111,218,68,0.0) 66%),
    radial-gradient(180px 180px at 12% 86%, rgba(155,225,93,0.30) 0%, rgba(155,225,93,0.18) 40%, rgba(155,225,93,0.0) 70%),
    radial-gradient(200px 200px at 10% 54%, rgba(5,138,131,0.30) 0%, rgba(5,138,131,0.18) 40%, rgba(5,138,131,0.0) 70%),
    radial-gradient(160px 160px at 6% 28%, rgba(255,255,255,0.40) 0%, rgba(255,255,255,0.22) 38%, rgba(255,255,255,0.0) 66%),
    radial-gradient(140px 140px at 18% 72%, rgba(111,218,68,0.28) 0%, rgba(111,218,68,0.16) 38%, rgba(111,218,68,0.0) 66%),
    radial-gradient(120px 120px at 28% 40%, rgba(155,225,93,0.28) 0%, rgba(155,225,93,0.16) 38%, rgba(155,225,93,0.0) 66%),
    radial-gradient(100px 100px at 40% 24%, rgba(255,255,255,0.36) 0%, rgba(255,255,255,0.20) 36%, rgba(255,255,255,0.0) 64%),
    radial-gradient(220px 220px at 92% 84%, rgba(5,138,131,0.28) 0%, rgba(5,138,131,0.16) 38%, rgba(5,138,131,0.0) 66%),
    radial-gradient(180px 180px at 34% 88%, rgba(5,138,131,0.26) 0%, rgba(5,138,131,0.14) 38%, rgba(5,138,131,0.0) 66%);
  z-index: 1;
}
.hero.motif-layered::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    conic-gradient(from 24deg at 102% 18%, rgba(255,255,255,0.40) 0 84deg, rgba(255,255,255,0) 84deg 360deg),
    conic-gradient(from -8deg at 98% 70%, rgba(3,110,103,0.26) 0 96deg, rgba(3,110,103,0) 96deg 360deg),
    radial-gradient(220px 220px at 96% 50%, rgba(111,218,68,0.22) 0%, rgba(111,218,68,0.0) 70%);
  z-index: 1;
}

/* Generic motif-layered for other sections */
.motif-layered {
  position: relative;
  overflow: visible;
  background:
    conic-gradient(from 170deg at -12% 8%, rgba(155,225,93,0.28) 0 140deg, transparent 140deg 360deg),
    radial-gradient(130% 115% at 44% 60%, rgba(5,138,131,0.22) 0%, rgba(5,138,131,0.12) 42%, transparent 75%),
    radial-gradient(100% 80% at 40% -10%, rgba(3,110,103,0.14) 22%, transparent 60%),
    var(--gradient-primary);
}
.motif-layered::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  will-change: opacity, transform;
  background:
    radial-gradient(160px 160px at 18% 24%, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.14) 35%, rgba(255,255,255,0.0) 62%),
    radial-gradient(200px 200px at 14% 68%, rgba(186, 231, 224, 0.24) 0%, rgba(186, 231, 224, 0.12) 38%, rgba(186, 231, 224, 0.0) 66%),
    radial-gradient(120px 120px at 28% 36%, rgba(199, 239, 195, 0.22) 0%, rgba(199, 239, 195, 0.12) 38%, rgba(199, 239, 195, 0.0) 66%),
    radial-gradient(180px 180px at 32% 30%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.10) 36%, rgba(255,255,255,0.0) 60%),
    radial-gradient(160px 160px at 26% 80%, rgba(186, 231, 224, 0.20) 0%, rgba(186, 231, 224, 0.10) 36%, rgba(186, 231, 224, 0.0) 60%),
    radial-gradient(140px 140px at 46% 48%, rgba(199, 239, 195, 0.20) 0%, rgba(199, 239, 195, 0.10) 34%, rgba(199, 239, 195, 0.0) 58%),
    radial-gradient(220px 220px at 50% 54%, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.12) 38%, rgba(255,255,255,0.0) 64%);
  animation: bubbleDrift 26s ease-in-out infinite alternate, bubbleFade 12s ease-in-out infinite alternate;
  z-index: 0;
}
.motif-layered::after {
  content: none;
}

.motif-soft-bottom {
  position: relative;
  background:
    linear-gradient(180deg, #f7fffd 0%, #d9f4ef 40%, #bfeee7 72%, #058a83 100%);
}
.motif-soft-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  will-change: opacity, transform;
  background:
    radial-gradient(360px 360px at 8% 22%, rgba(186,231,224,0.26) 0%, rgba(186,231,224,0.12) 44%, rgba(186,231,224,0.0) 70%),
    radial-gradient(240px 240px at 32% 38%, rgba(199,239,195,0.22) 0%, rgba(199,239,195,0.12) 42%, rgba(199,239,195,0.0) 68%),
    radial-gradient(260px 260px at 18% 70%, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.18) 36%, rgba(255,255,255,0.0) 64%),
    radial-gradient(200px 200px at 44% 62%, rgba(186,231,224,0.20) 0%, rgba(186,231,224,0.10) 36%, rgba(186,231,224,0.0) 60%),
    radial-gradient(160px 160px at 28% 86%, rgba(199,239,195,0.20) 0%, rgba(199,239,195,0.10) 34%, rgba(199,239,195,0.0) 58%),
    radial-gradient(240px 240px at 50% 50%, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.14) 38%, rgba(255,255,255,0.0) 66%);
  animation: bubbleDrift 24s ease-in-out infinite alternate, bubbleFade 10s ease-in-out infinite alternate;
  z-index: 0;
}
.motif-soft-bottom::after {
  content: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.hero-content {
  max-width: 100%;
  z-index: 2;
  display: flex;
  justify-content: center;
}
 
.hero-row {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 2cm;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}
.hero-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  width: clamp(380px, 40vw, 520px);
  min-width: 360px;
  overflow: hidden;
  position: relative;
}
.hero-camat-container { display:grid; place-items:center; position:relative; width:auto; min-height: auto; height: auto; max-width: 100%; }
.hero-camat-container > * { grid-area: 1 / 1; }
.hero-camat-container img { transition: opacity 500ms ease-in-out; will-change: opacity; }
.hero-caption { text-align:center; margin-top:8px; }
.hero-caption .name { font-weight:800; color: #1b3a3a; font-size: clamp(1rem, 2.4vw, 1.2rem); letter-spacing: 0.2px; }
.hero-caption .position { font-weight:700; color:#333; font-size: clamp(0.95rem, 2.2vw, 1.1rem); }
.hero-caption .tenure { font-size:0.85rem; color:#555; }
.hero-card { 
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.87)),
    var(--toska-glass);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  padding: 16px;
  width: auto;
  max-width: clamp(280px, 40vw, 520px);
  display: inline-block;
  box-sizing: border-box;
  backdrop-filter: blur(6px);
}
.hero-card img { border-radius: 12px; }
.hero-btn { position:absolute; top:50%; transform:translateY(-50%); background: rgba(0,0,0,0.45); color:#fff; border:none; width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:2; }
.hero-btn.prev { left:8px; }
.hero-btn.next { right:8px; }
.hero-dots { display:flex; justify-content:center; gap:8px; padding:6px 0; }
.hero-dots.overlay { position:absolute; bottom:6px; left:50%; transform:translateX(-50%); z-index:2; }
.hero-dot { 
  width:8px; 
  height:8px; 
  border-radius:50%; 
  border:2px solid var(--toska-dark); 
  background:transparent; 
  cursor:pointer; 
  padding:0; 
  line-height:0; 
  display:inline-block; 
  box-sizing:content-box; 
  -webkit-appearance:none; 
  appearance:none; 
}
.hero-dot.active { background: var(--toska-dark); }
.hero-row .hero-camat-inline {
  width: 100%;
  height: auto;
  max-height: clamp(220px, 46vh, 380px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}
.hero-text h1 { margin-bottom: 12px; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding-left: 0; }
.hero-text .btn-cta { display: inline-flex; margin: 12px 0 0; }

.hero-panel {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
  padding: 24px;
  min-height: var(--hero-panel-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.panel-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  gap: 12px;
}
 
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  gap: 16px;
  z-index: 2;
}

.hero-center {
  max-width: none;
  width: 100%;
  margin: 14px 0 0;
}

.hero-mini-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 14px;
  justify-content: flex-start;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hero-image-side {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.image-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: inline-block;
  text-align: center;
}

.image-card img {
  display: block;
  height: 140px;
  width: auto;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-content p {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: #e0f7f4;
  margin-bottom: 8px;
  line-height: 1.6;
}

.hero-description {
  text-align: left;
  max-width: 640px;
  margin-left: 0;
  margin-right: 0;
}

.hero-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.hero-camat-inline {
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 220px;
}

.mini-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.97), rgba(255,255,255,0.92));
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  width: 100%;
  scroll-snap-align: start;
  backdrop-filter: blur(6px);
}

.mini-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-heading);
}

.mini-body {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.mini-link {
  font-size: 0.8rem;
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 600;
}

.mini-link:hover {
  text-decoration: underline;
}

/* Hero-specific pill style */
.hero-center .mini-link {
  color: #222;
  font-weight: 700;
  background: var(--gold-soft);
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-block;
}

.hero-center .mini-link:hover {
  filter: brightness(0.95);
}

.hero-slider {
  margin: 14px 0 0;
  max-width: none;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.97), rgba(255,255,255,0.92));
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  padding: 8px 10px;
  backdrop-filter: blur(6px);
}
.hero-slider .knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--toska-main);
  margin-right: 10px;
}
.hero-slider .more-btn {
  margin-left: auto;
  background: var(--gold-soft);
  color: #222;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

/* ================================2=======================
   FEATURES
   ========================================================= */

.features-section {
  background: var(--gradient-soft);
  padding: var(--section-pad-b) 5%;
  animation: fadeIn 1s ease;
}

/* Lazy rendering untuk performa mobile */
.features-section,
.quick-access,
.stats-section,
.popular-section,
.faq-section,
.slogan-section,
.map-section,
.social-section {
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.3rem);
  font-weight: 800;
  color: var(--toska-dark);
}
.features-section.motif-layered .section-header h2 { color: #fff; }
.features-section.motif-layered .section-header p { color: #e0f7f4; }
.social-inline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0, 90, 81, 0.12);
  color: var(--text-heading);
  text-decoration: none;
  margin: var(--space-2) auto 0;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.social-inline:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}
.social-inline img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.card {
  background: var(--white);
  padding: 26px 22px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transition: left 0.4s ease;
}

.card:hover::before {
  left: 0;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
  font-size: 2.6rem;
  color: var(--toska-main);
}

.card h3 {
  margin: 16px 0 12px;
  color: var(--toska-dark);
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* =========================================================
   QUICK ACCESS (IMPROVED)
   ========================================================= */

.quick-access {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3);
  padding: var(--section-pad-b) 5%;
  background: linear-gradient(180deg, #f9fffe, #c8f0ea);
  max-width: var(--container-max);
  margin: 0 auto;
}

.quick-access a {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 90, 81, 0.15);
  padding: var(--space-3);
  border-radius: var(--radius-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--text-heading);
  box-shadow: 0 8px 18px rgba(0, 150, 136, 0.12);
  transition: all 0.4s ease;
  position: relative;
  will-change: transform;
}

.quick-access a:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 150, 136, 0.25);
  background: var(--gradient-soft);
}

.quick-access a span {
  font-size: 1.45rem;
  font-weight: 700;
}

/* =========================================================
   QUICK FAQ (COLLAPSIBLE LIST)
   ========================================================= */
.quick-faq {
  padding: 22px 5%;
  background: linear-gradient(180deg, rgba(233, 252, 247, 0.65), rgba(217, 244, 239, 0.65));
}
.quick-faq-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.faq-card > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
}
.faq-card > summary::-webkit-details-marker { display: none; }
.faq-title {
  font-weight: 800;
  color: var(--toska-dark);
}
.faq-chev {
  color: var(--text-light);
  transition: transform 0.2s ease;
}
.faq-card[open] .faq-chev { transform: rotate(180deg); }
.faq-body {
  padding: 6px 16px 14px;
}
.faq-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-heading);
}
.faq-list li {
  margin: 4px 0;
}
.faq-actions {
  margin-top: 8px;
}
.faq-actions .mini-link {
  color: #222;
  font-weight: 700;
  background: var(--gold-soft);
  padding: 7px 12px;
  border-radius: 999px;
  display: inline-block;
  text-decoration: none;
}
.faq-actions .mini-link:hover {
  filter: brightness(0.95);
}

/* =========================================================
   SLOGAN SECTION
   ========================================================= */

.slogan-section {
  padding: var(--section-pad-b) 5%;
  background: var(--white);
  text-align: center;
}
.slogan-carousel {
  max-width: var(--container-max);
  margin: clamp(40px, 7vw, 80px) auto 0;
}
.slogan-dots { 
  padding-top: 12px; 
}
.wave-top-slogan {
  display: none;
}


.slogan-section h2 {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  margin-bottom: 20px;
  color: var(--toska-dark);
}

.slogan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.slogan-item {
  padding: var(--space-2);
  border-radius: var(--radius-3);
  background: var(--toska-soft);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  min-height: 200px;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.slogan-item:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-8px);
}

.slogan-item img {
  max-height: 80px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  border-radius: 8px;
}

/* Extra-small phones tuning */
@media (max-width: 360px) {
  .logo-img { height: 34px; }
  .btn-cta { padding: 10px 18px; }
  .mini-card { padding: 12px; }
  .hero-content h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
.hero-content p { font-size: clamp(0.9rem, 3.5vw, 1rem); }
}

@media (max-width: 480px) {
  .hero-mini-row { grid-auto-columns: minmax(92%, 1fr); gap: 12px; }
  .mini-card { padding: 12px 14px; min-height: 96px; }
  .mini-title { font-size: clamp(0.95rem, 4vw, 1.05rem); }
  .mini-body { font-size: clamp(0.9rem, 3.6vw, 1rem); }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 1rem 1rem; }
  .card h3 { font-size: clamp(1rem, 4.6vw, 1.15rem); }
  .card p { font-size: clamp(0.9rem, 3.8vw, 1rem); }
}

.slogan-item h4 {
  color: var(--toska-dark);
  font-weight: 800;
}

.slogan-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: var(--toska-dark);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-text {
  margin-left: 10px;
}

.brand-subtitle {
  color: #e0f7f4;
  font-size: clamp(0.8rem, 2.6vw, 0.95rem);
  opacity: 0.9;
}

.btn-cta.stacked {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  background: #fbd46d;
}

.hero-content .btn-cta {
  display: inline-flex;
  margin: 8px auto 0;
}
.hero-center .btn-cta {
  display: inline-flex;
  margin: 0 auto 8px;
}

.section-desc {
  color: var(--text-heading);
  max-width: 720px;
  margin: 10px auto 0;
  text-align: center;
}

.stats-section {
  background: var(--white);
  padding: var(--section-pad-b) 5%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.stat-item {
  background: var(--toska-soft);
  border-radius: var(--radius-2);
  padding: var(--space-2);
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.stat-change { animation: statPulse 0.9s ease; }
@keyframes statPulse { 0%{transform:scale(1); filter:brightness(1)} 30%{transform:scale(1.06); filter:brightness(1.15)} 100%{transform:scale(1); filter:brightness(1)} }

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
  color: var(--toska-dark);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--text-light);
}

.popular-section {
  background: var(--gradient-soft);
  padding: var(--section-pad-b) 5%;
}

.popular-section h2 {
  text-align: center;
  color: var(--toska-dark);
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 4.2vw, 2.3rem);
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 12px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.popular-grid > div {
  background: var(--white);
  padding: var(--space-2);
  border-radius: var(--radius-2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-weight: 600;
  color: var(--text-heading);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.faq-section {
  padding: var(--section-pad-b) 5%;
  background: var(--white);
}

.faq-section h2 {
  text-align: center;
  color: var(--toska-dark);
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 4.2vw, 2.3rem);
}

.faq-section details {
  border: 1px solid rgba(0, 90, 81, 0.18);
  border-radius: 12px;
  padding: var(--space-2);
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.8);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-heading);
}

.faq-section details[open] {
  background: var(--toska-soft);
}

.map-section {
  padding: var(--section-pad-b) 5%;
  background: var(--white);
}

.map-section h2 {
  text-align: center;
  color: var(--toska-dark);
  margin-bottom: var(--space-2);
  font-size: clamp(1.9rem, 4.2vw, 2.3rem);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.map-section iframe {
  width: min(100%, var(--container-max));
  height: 520px;
  border: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.map-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: start;
}
.map-pane iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
}
.map-grid .social-card {
  margin-top: var(--space-1);
}
.app-links {
  padding: var(--section-pad-b) 5%;
  background: var(--white);
}
.app-links h2 {
  text-align: center;
  color: var(--toska-dark);
  margin-bottom: var(--space-2);
  font-size: clamp(1.9rem, 4.2vw, 2.3rem);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}
.app-link-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.app-link-card {
  background: var(--white);
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0,90,81,0.12);
}
.app-link-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1rem, 2.6vw, 1.1rem);
  color: var(--toska-dark);
}
.app-link-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #222;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(244, 211, 94, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.2s ease;
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
}
.app-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(244, 211, 94, 0.5);
  filter: brightness(0.95);
}
.insta-card {
  align-self: start;
  background: linear-gradient(135deg, #fffbe6, #ffe8a3);
  border-color: rgba(244, 211, 94, 0.35);
}
.insta-card .social-info h3 {
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #5f4b00;
}
.insta-card .social-info p {
  font-style: italic;
  color: #6b5a10;
}
.insta-card .social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.social-section {
  padding: var(--section-pad-b) 5%;
}
.social-carousel { 
  max-width: 670px; 
  margin: 0 auto; 
  position: relative;
  padding: 0 48px;
}
.social-carousel .carousel-slide { padding: 0 8px; box-sizing: border-box; }


.map-route-btn {
  display: inline-block;
  margin: 12px auto 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #222;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(244, 211, 94, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.2s ease;
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
  text-align: center;
}
.map-route-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(244, 211, 94, 0.5);
  filter: brightness(0.95);
}
.map-route-btn:focus-visible {
  outline: 3px solid rgba(244, 211, 94, 0.9);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .map-section iframe { height: 420px; }
  .map-pane iframe { min-height: 420px; }
  .map-route-btn { padding: 10px 16px; font-size: clamp(0.9rem, 3vw, 1rem); }
  .social-carousel { max-width: 100%; padding: 0; } /* Restore width on mobile */
  .carousel-btn { width: 32px; height: 32px; }
  .carousel-btn.prev { left: 4px; }
  .carousel-btn.next { right: 4px; }
}
.social-carousel .social-card { 
  max-width: 260px; /* Reduced to be more compact */
  margin: 0 auto; 
}

/* =========================================
   DESKTOP ONLY: MODERN SOCIAL CARDS & GAP
   ========================================= */
@media (min-width: 821px) {
  /* Gap handled via padding to keep JS alignment correct */
  .social-carousel .carousel-slide {
    padding: 0 19px; /* 19*2 = 38px visual gap */
  }

  .social-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 32px 20px;
    box-shadow: 
      0 10px 30px -10px rgba(0, 0, 0, 0.08),
      0 4px 12px -4px rgba(0, 0, 0, 0.04),
      inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Springy pop */
    overflow: visible; /* Allow elements to pop out if needed */
  }

  .social-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
      0 20px 40px -12px rgba(5, 138, 131, 0.15),
      0 8px 16px -4px rgba(0, 0, 0, 0.06);
    border-color: #fff;
    z-index: 10;
  }

  .social-preview {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0fdfa, #ffffff);
    border-radius: 22px;
    box-shadow: 
      0 8px 16px rgba(5, 138, 131, 0.06),
      inset 0 -2px 4px rgba(0, 0, 0, 0.02);
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.4s ease;
  }
  
  .social-card:hover .social-preview {
    transform: scale(1.1) rotate(-3deg);
  }

  .social-info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-heading);
    margin-bottom: 6px;
  }

  .social-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 20px;
  }

  .mini-link {
    background: var(--toska-soft);
    color: var(--toska-dark);
    padding: 10px 24px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }

  .social-card:hover .mini-link {
    background: var(--toska-main);
    color: #fff;
    box-shadow: 0 4px 12px rgba(5, 138, 131, 0.3);
    transform: translateY(2px);
  }
}

.carousel-viewport { position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: 0; transition: transform 400ms ease-in-out; will-change: transform; }
.carousel-slide { flex: 0 0 auto; }
.carousel-btn { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  background: rgba(0,0,0,0.45); 
  color: #fff; 
  border: none; 
  width: 40px; 
  height: 40px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer; 
  z-index: 2; 
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: clamp(4px, 1vw, 8px); padding: 8px 0; }
.carousel-dot { 
  cursor: pointer; 
  padding: 8px; /* Touch target buffer */
  margin: 0;
  line-height: 0; 
  display: inline-flex; /* Better centering */
  align-items: center;
  justify-content: center;
  box-sizing: border-box; /* Standard box model */
  -webkit-appearance: none; 
  appearance: none; 
  border: none !important;
  background: transparent !important;
  min-width: 0 !important; /* Override global 44px */
  min-height: 0 !important; /* Override global 44px */
  width: auto !important;
  height: auto !important;
  box-shadow: none !important;
}
.carousel-dot::before {
  content: "";
  display: block;
  width: clamp(6px, 0.8vw, 8px);
  height: clamp(6px, 0.8vw, 8px);
  border-radius: 50%;
  background-color: rgba(5, 138, 131, 0.75);
}
.carousel-dot.active::before { 
  background-color: rgba(5, 138, 131, 1); 
  box-shadow: 0 1px 3px rgba(0,0,0,0.15); 
}
.carousel-viewport:focus { outline: 3px solid rgba(244, 211, 94, 0.9); outline-offset: 3px; }
.social-section h2 {
  text-align: center;
  color: var(--toska-dark);
  margin-bottom: var(--space-2);
  font-size: clamp(1.9rem, 4.2vw, 2.3rem);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

/* Komitmen slow rotator overrides */
.slogan-viewport { 
  min-height: clamp(320px, 40vw, 520px); 
  overflow: visible;
}
.slogan-track { position: relative; display: block; }
.slogan-track .carousel-slide { 
  position: absolute; 
  inset: 0; 
  opacity: 0; 
  pointer-events: none; 
  z-index: 1; 
  display: flex; 
  align-items: flex-start; 
  justify-content: center; 
  padding: 32px 8px 8px; 
}
.slogan-track .carousel-slide.active { 
  opacity: 1; 
  pointer-events: auto; 
  z-index: 2; 
  transition: opacity 1000ms cubic-bezier(0.645, 0.045, 0.355, 1);
}
.rotator-inner { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 100%; 
  max-width: 960px; 
  margin: 0 auto; 
}
.rotator-inner.center { justify-content: center; align-items: center; }
.rotator-inner.flex { display: flex; align-items: center; }
.rotator-inner.around { justify-content: space-around; gap: 40px; }
.rotator-inner.akhlaq { text-shadow: 1px 1px 3px rgba(0,0,0,0.2); }
.rotator-img { max-width: 100%; height: auto; }
.slogan-track .rotator-img { 
  width: auto; 
  height: clamp(180px, 26vw, 300px); 
  object-fit: contain;
}
.slogan-viewport .rotator-preloader { 
  position: absolute; 
  inset: 0; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: rgba(255,255,255,0.7); 
  color: var(--toska-dark); 
  font-weight: 700; 
  z-index: 3; 
}
@media (max-width: 768px) {
  .rotator-img { width: 95vw; max-width: 95%; }
  .slogan-track .rotator-img { 
    width: auto; 
    height: clamp(150px, 40vw, 220px);
  }
}

.gallery-section { padding: var(--section-pad-b) 5%; }
.gallery-section h2 { text-align: center; color: var(--toska-dark); margin-bottom: var(--space-2); font-size: clamp(1.9rem, 4.2vw, 2.3rem); max-width: var(--container-max); margin-left:auto; margin-right:auto; }
.gallery-viewport { position: relative; overflow: hidden; max-width: var(--container-max); margin: 0 auto; }
.gallery-track { display: flex; gap: 0; transition: transform 400ms ease-in-out; will-change: transform; }
.gallery-slide { flex: 0 0 auto; }
.gallery-card { 
  display:flex; 
  flex-direction:column; 
  gap:8px; 
  background:
    linear-gradient(180deg, rgba(255,255,255,0.97), rgba(255,255,255,0.92));
  border:1px solid rgba(255,255,255,0.35); 
  border-radius:16px; 
  padding:10px; 
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);
}
.gallery-card img { width:100%; height:auto; display:block; border-radius:8px; }
.gallery-info { padding:0 6px 6px; text-align:center; }
.gallery-info .name { font-weight:800; color: var(--toska-dark); }
.gallery-info .role { font-size:0.9rem; color:#666; }
.gallery-info .desc { font-size:0.85rem; color:#555; }
.gallery-btn { position:absolute; top:50%; transform:translateY(-50%); background: rgba(0,0,0,0.45); color:#fff; border:none; width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:2; }
.gallery-btn.prev { left:8px; }
.gallery-btn.next { right:8px; }
.gallery-btn.fs { top:8px; right:8px; transform:none; background: rgba(0,0,0,0.55); }
.gallery-dots { display:flex; justify-content:center; gap:8px; padding:8px 0; }
.gallery-dot { width:8px; height:8px; border-radius:50%; border:2px solid var(--toska-dark); background:transparent; cursor:pointer; }
.gallery-dot.active { background: var(--toska-dark); }
.social-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}
.instagram-embed {
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0, 90, 81, 0.12);
  border-radius: var(--radius-3);
  padding: var(--space-3);
}
.instagram-media {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
.social-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-heading);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
}
.social-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-color: rgba(0, 90, 81, 0.1);
}
/* Shine effect on hover */
.social-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.5s;
}
.social-card:hover::after {
  left: 100%;
}

.social-card.rotator-will,
.social-card.rotator-active {
  transition: opacity 500ms cubic-bezier(0.25, 0.1, 0.25, 1.0), transform 500ms cubic-bezier(0.25, 0.1, 0.25, 1.0);
  will-change: opacity, transform;
}
.social-card.rotator-will {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.social-card.rotator-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.social-card.rotator-hidden {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .social-card { transition: none; }
  .social-card::after { display: none; }
}
.social-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--toska-soft);
  border-radius: 14px;
  padding: 10px;
  width: 64px;
  height: 64px;
}
.social-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
@keyframes bounce-icon {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.1); }
}

.social-card:hover .social-preview img {
  animation: bounce-icon 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}
.social-info h3 {
  margin: 0 0 2px 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--toska-dark);
}
.social-info p {
  margin: 0 0 4px 0;
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.3;
}
.mini-link {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--toska-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.social-card:hover .mini-link {
  opacity: 1;
  text-decoration: underline;
}

/* Remove old specific card colors for minimalist look, or keep them very subtle? 
   User said "minimalist", so uniform clean look is better. 
   But I will keep the classes but reset their backgrounds to maintain the minimalist white theme 
   unless they are needed for differentiation. */
.web-card, .insta-card, .tiktok-card, .naker-card {
  background: #ffffff !important;
  border-color: rgba(0,0,0,0.04) !important;
}

.floating-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-chat:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.floating-wa {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: 24px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1dd1a1);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-size: 24px;
}

.floating-wa:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

.floating-wa img, .floating-wa svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* Mode hemat data */
body.save-data .motif-layered::before,
body.save-data .motif-layered::after,
body.save-data .hero::before,
body.save-data .hero::after { opacity: 0; animation: none; }
body.save-data .card,
body.save-data .stat-item,
body.save-data .social-card { box-shadow: none !important; }
body.save-data .hero-panel { backdrop-filter: none; border-color: rgba(255,255,255,0.2); }

/* Target tap minimum 48x48 untuk elemen interaktif */
button,
.btn-cta,
.faq-card > summary,
.quick-access a,
.mini-link,
.social-card { min-height: 48px; }

.back-to-top {
  position: fixed;
  bottom: calc(96px + env(safe-area-inset-bottom));
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--toska-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
 
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(3, 110, 103, 0.08) 40%, rgba(3, 110, 103, 0.22) 100%);
  z-index: 1;
}

.brand-text h1.brand-title {
  margin-bottom: 4px;
}
.brand-title .brand-logo-inline {
  height: 1em;
  width: auto;
  vertical-align: -0.18em;
  margin-right: 8px;
}
.header-left .brand-logo-left {
  height: clamp(3.6em, 10vw, 4.2em);
  width: clamp(3.6em, 10vw, 4.2em);
  object-fit: contain;
  image-rendering: auto;
}

.header-left .logo-slogan {
  /* filter: brightness(0.7) contrast(1.2); Removed filter to show original colors */
  height: clamp(4.0em, 11vw, 4.8em);
  width: auto;
  margin-left: 0;
}

body.theme-alt {
  --toska-dark: #0b3c5d;
  --toska-main: #1261a0;
  --toska-soft: #e3f2fd;
  --text-heading: #09324e;
  --text-body: #2d3e50;
  --gradient-primary: linear-gradient(135deg, #1261a0, #3f88c5);
  --gradient-soft: linear-gradient(180deg, #eaf5ff, #cfe6ff);
}
body.color-safe {
  --toska-dark: #000000;
  --toska-main: #111111;
  --toska-soft: #ffffff;
  --toska-mid: #666666;
  --toska-glass: rgba(0,0,0,0.05);

  --gold-soft: #ffcc00;
  --white: #ffffff;

  --text-heading: #000000;
  --text-body: #000000;
  --text-light: #222222;

  --gradient-primary: linear-gradient(135deg, #222222, #000000);
  --gradient-soft: linear-gradient(180deg, #ffffff, #eeeeee);
  
  /* Chat specific overrides */
  --user-msg: #000000;
  --bot-msg: #ffffff;
  --accent: #000000;
  --bg-gradient: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
}

body.color-safe .nav a { 
    color: #fff; 
    text-decoration: underline; 
    font-weight: 700;
}
body.color-safe .mini-link { text-decoration: underline; color: #0000EE; }
body.color-safe .social-preview { border: 2px solid #000; }

body.color-safe .btn-cta,
body.color-safe button,
body.color-safe .option-btn {
    border: 2px solid #000;
    box-shadow: 2px 2px 0 #000 !important;
}

body.color-safe .card,
body.color-safe .messages-card,
body.color-safe .input-area,
body.color-safe .chat-panel {
    border: 2px solid #000;
    box-shadow: 4px 4px 0 #000 !important;
}

body.color-safe .user-message {
    background: #000;
    color: #fff;
}
body.color-safe .bot-message {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}
body.color-safe input,
body.color-safe textarea {
    border: 2px solid #000;
    background: #fff;
    color: #000;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@supports not (backdrop-filter: blur(12px)) {
  .quick-access a {
    background: rgba(255, 255, 255, 0.98);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bubbleDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, 6px, 0); }
}
@keyframes bubbleFade {
  from { opacity: 0.18; }
  to   { opacity: 0.30; }
}
/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  :root { --hero-panel-h: clamp(360px, 56vh, 460px); }
  .hero { 
    text-align: left; 
    padding: 24px 5%; 
  }
  .hero-image-container { display: none !important; }
  .hero-content { max-width: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-center { max-width: none; }
  .hero-mini-row { grid-auto-columns: minmax(240px, 85%); }
  .hero-slider { max-width: none; }
  .hero-row { grid-template-columns: minmax(160px, 38vw) 1fr; gap: 14px; justify-content: center; }
  .hero-figure { justify-content: center; width: clamp(280px, 56vw, 360px); min-width: auto; }
  .hero-row .hero-camat-inline { height: clamp(160px, 40vw, 220px); transform: none; }
  .hero-text { justify-content: flex-start; padding-left: 0; }
}

@media (max-width: 768px) {
  .header { padding: 10px 4%; }
  .features-section { padding: 60px 5%; }
  .quick-access { padding: 60px 5%; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .stats-section { padding: 60px 5%; }
  .popular-section { padding: 60px 5%; }
  .slogan-section { padding: 70px 5%; }
  .map-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .floating-wa { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .hero { min-height: auto; padding: 24px 4%; }
  .hero-image-container { display: none !important; }
  .hero-camat { display: none !important; }
  .hero-content h1 { font-size: 1.9rem; }
  .hero-content p { font-size: 0.95rem; }
  .chat-page .floating-wa { bottom: calc(140px + env(safe-area-inset-bottom)); right: 16px; }
  .chat-page .messages-card { padding-bottom: 120px; }
}

@media (max-width: 820px) {
  .hero { min-height: auto; padding: 24px 5%; }
  .hero-image-container { display: none !important; }
  .hero-camat { display: none !important; }
  .hero-content { max-width: none; margin-top: 24px; }
  .hero-row { grid-template-columns: minmax(160px, 38vw) 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Scalable font sizes for cross-device stability */
.brand-title { font-size: clamp(1rem, 3.5vw, 1.35rem); }
.hero-content h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
.hero-content p { font-size: clamp(0.95rem, 2.5vw, 1.1rem); }

.motif-layered.stats-section,
.motif-layered.quick-access,
.motif-layered.popular-section,
.motif-layered.features-section { 
  background: var(--gradient-primary);
}
.motif-soft-bottom.faq-section,
.motif-soft-bottom.slogan-section,
.motif-soft-bottom.map-section {
  background: linear-gradient(180deg, #f7fffd 0%, #d9f4ef 40%, #bfeee7 72%, #058a83 100%);
}
.motif-layered::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.0) 10%),
    linear-gradient(to top, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.0) 12%);
}
.motif-soft-bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.0) 10%),
    linear-gradient(to top, rgba(5,138,131,0.18) 0%, rgba(5,138,131,0.0) 14%);
}

.deep-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(10px, 2vw, 14px) clamp(16px, 3vw, 22px);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  color: #0f172a;
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  margin: 8px 0;
  text-align: center;
}
.deep-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  border-color: #BDBDBD;
}
.deep-link-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
  border-color: #AAAAAA;
}
.deep-link-btn .apk-logo {
  width: clamp(24px, 4vw, 32px);
  height: clamp(24px, 4vw, 32px);
  object-fit: contain;
}
.deep-link-btn .apk-label {
  line-height: 1;
}
@media (max-width: 768px) {
  .deep-link-btn {
    width: 100%;
  }

  /* --- HEADER MOBILE FIXES (WEB FIDELITY - OPTIMIZED) --- */
  .header {
    padding: 8px 12px;
    display: flex;
    flex-direction: row; /* Keep row for wrapping */
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    background: var(--gradient-primary);
    height: auto;
  }
  
  /* Remove unused wrapper class if I added it previously */
  
  .header-left {
    flex: 1;
    min-width: 0;
    width: auto;
    margin-right: 4px;
    display: flex;
    align-items: center;
    order: 1; /* First */
  }
  
  .header-left .brand-logo-left {
    height: 32px;
    width: 32px;
    flex-shrink: 0;
  }
  
  .header-left .logo-slogan {
    height: 32px;
    flex-shrink: 0;
  }

  .brand-text {
    margin-left: 8px;
    min-width: 0;
    flex: 1;
  }

  .brand-title {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  .brand-subtitle {
    display: block;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .menu-toggle { display: none; }

  /* Tools (Right side) */
  .header-right {
    width: auto;
    flex: 0 0 auto;
    padding: 0;
    border: none;
    gap: 4px;
    order: 2; /* Second (Same line as left) */
  }
  
  /* Show CTA but compact */
  .header-right .btn-cta { 
    display: inline-flex; 
    padding: 6px 12px;
    font-size: 0.75rem;
    height: 30px;
    align-items: center;
  } 
  
  /* --- HEADER MOBILE FIXES --- */
  .header {
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    height: auto !important;
    min-height: auto !important;
    position: relative; /* Context for absolute positioning */
  }
  
  .header-left {
    flex: 1 1 auto;
    min-width: 0; /* Allow text truncation */
    margin-right: 8px;
    z-index: 1001;
    position: relative;
    pointer-events: none; /* Prevent logo area from capturing clicks outside content */
    padding-right: 90px; /* Reserve space for absolute buttons */
  }
  .header-left > * { pointer-events: auto; } /* Re-enable clicks on children */

  .header-right {
    position: absolute !important;
    top: 10px !important;
    transform: none !important;
    right: 12px;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1005; /* Highest priority */
    gap: 8px !important;
    pointer-events: auto;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  .theme-toggle {
    display: none !important;
  }

  .a11y-toggle, .admin-login-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important; /* Adjust icon size */
    border-radius: 50%;
    background: rgba(255,255,255,0.2) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    position: relative;
    z-index: 1006; /* Ensure buttons are clickable */
    margin: 0 !important;
  }
  
  /* Increase touch target to exactly 44px (36 + 4 + 4) to avoid overlap */
  .a11y-toggle::after, .admin-login-btn::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    z-index: 1;
    border-radius: 50%;
  }

  /* Second Row: Navigation */
  .nav {
    order: 3;
    width: 100%;
    margin-top: 12px !important;
    padding: 4px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1);
    justify-content: flex-start !important; /* Start align for scroll */
    align-items: center; /* Ensure items are vertically centered */
    gap: 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    position: relative;
    z-index: 1002;
    scroll-padding-left: 16px;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .nav::-webkit-scrollbar { display: none; }
  
  .nav a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 32px !important; /* Override global 44px to make visual pill compact */
    height: 32px !important;
    padding: 0 16px;
    font-size: 0.8rem;
    border-radius: 99px; /* Perfect pill */
    background: transparent; 
    border: none; 
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    font-weight: 500;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  
  /* Extend touch target to meet 44px requirement */
  .nav a::after {
    content: '';
    position: absolute;
    top: -6px; bottom: -6px; left: -4px; right: -4px;
    z-index: 1;
    border-radius: 99px;
  }
  
  @media (hover: hover) {
    .nav a:hover {
      background: rgba(255, 255, 255, 0.16);
    }
  }

  .nav a.active {
    background: rgba(255, 255, 255, 0.25); 
    color: #fff;
    font-weight: 700;
    box-shadow: none; /* Clean look */
  }
  
  /* Compact Header Button */
  .header-right .btn-cta {
    display: none; /* Hide 'Mulai Chat' in header to clean up */
  }

  /* --- HERO MOBILE FIXES (WEB FIDELITY - AGGRESSIVE FIT) --- */
  .hero {
    padding-top: 84px !important; /* Fixed Header buffer */
    padding-bottom: 24px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    min-height: auto;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
  }

  .hero-inner,
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; 
    width: 100%;
    padding: 0 !important; /* Full bleed force */
    margin: 0 !important;
    box-sizing: border-box;
  }

  /* Person Card (Top) */
  .hero-figure {
    width: 100%; 
    max-width: 260px; /* More compact */
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible; 
  }

  /* Reset the JS-injected card styling for mobile */
  .hero-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important; 
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
    background: transparent !important; 
    border: none !important;
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
  }
  
  .hero-caption {
    margin-top: auto !important; 
    padding-top: 4px;
    background: rgba(255,255,255,0.9); 
    border-radius: 8px;
    padding: 6px 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .hero-caption .name {
    font-size: 0.8rem !important; 
    line-height: 1.1;
    margin-bottom: 0;
    color: #000 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-caption .position {
    font-size: 0.65rem !important;
    line-height: 1.2;
    color: #444 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-caption .tenure {
    display: none !important; 
  }
  
  .hero-camat-inline {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0;
    box-shadow: none; 
  }
  
  /* Fix arrows on card */
  button.hero-btn,
  .hero-figure .hero-btn {
    width: 40px !important; /* Larger touch target */
    height: 40px !important;
    min-width: 40px !important; 
    min-height: 40px !important;
    background: rgba(0,0,0,0.4) !important; 
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    line-height: 1;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 50% !important;
    position: absolute;
    top: 45% !important; 
    margin-top: -20px !important;
    z-index: 99 !important;
    padding: 0 !important;
    transform: none !important;
    backdrop-filter: blur(4px);
  }
  button.hero-btn svg,
  .hero-figure .hero-btn svg { width: 14px !important; height: 14px !important; }
  .hero-figure .hero-btn.prev { left: -10px !important; } 
  .hero-figure .hero-btn.next { right: -10px !important; } 

  /* Reset caption to fit better */
  .hero-caption {
    margin-top: -12px !important; 
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,1)); 
    border-radius: 0 0 16px 16px !important;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .hero-card {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
  }
  .hero-camat-inline {
    width: 100%;
    height: auto;
    aspect-ratio: 3/3.8;
    object-fit: cover;
    border-radius: 16px 16px 0 0 !important;
    margin-bottom: 0;
    box-shadow: none; 
    display: block;
  } 

  /* Text Panel (Right - Service Card) */
  .hero-text {
    min-width: 0; 
    width: 100%;
    padding: 0;
    overflow: visible; 
  }
  
  .hero-panel {
    background: rgba(255,255,255,0.15); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 24px 20px; 
    border-radius: 20px; 
    height: auto; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    margin-left: 0 !important; 
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  }
  
  .hero-content h1 {
    font-size: 1.5rem; 
    text-align: center; 
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    width: 100%;
    letter-spacing: -0.02em;
    font-weight: 800;
  }
  
  .hero-description {
    text-align: center; 
    font-size: 0.9rem; 
    color: rgba(255,255,255,0.95); 
    display: block; 
    margin-bottom: 24px; 
    line-height: 1.6;
    max-width: 100%; 
  }
  
  .hero-content .btn-cta {
    margin: 0 auto 16px; 
    width: 100%;
    max-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px; 
    padding: 0 24px;
    font-size: 1rem;
    font-weight: 700;
    align-self: center;
    white-space: nowrap;
    background: var(--gold-soft);
    color: #222;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    border-radius: 40px;
    letter-spacing: 0.02em;
  }

  /* Mini Cards (Floating Deck) */
  .hero-center { margin-top: 0; width: 100%; }
  
  .hero-mini-row {
    margin-top: 0;
    gap: 12px; 
    display: flex;
    flex-direction: row; 
    width: 100%; 
    min-width: 0;
    padding: 4px 2px 12px 2px; /* Bottom padding for shadow */
    overflow-x: auto; 
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
    justify-content: flex-start;
  }
  .hero-mini-row::-webkit-scrollbar { display: none; } 
  
  .mini-card {
    background: rgba(255,255,255,0.95);
    padding: 14px 12px;
    border-radius: 16px; 
    width: calc(50% - 6px); /* Show 2 cards fully */
    min-width: calc(50% - 6px); 
    box-sizing: border-box;
    scroll-snap-align: start;
    flex: 0 0 auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,0.5);
    height: 100%;
    min-height: 120px;
  }
  
  .mini-title { 
    font-size: 0.75rem; 
    color: #0f766e; 
    margin-bottom: 4px; 
    font-weight: 800; 
    letter-spacing: -0.01em; 
  }
  .mini-body { 
    font-size: 0.65rem; 
    color: #444; 
    line-height: 1.3; 
    margin-bottom: 8px; 
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mini-link { 
    font-size: 0.7rem; 
    padding: 6px 14px; 
    display: inline-block; 
    margin-top: auto;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    width: 100%; 
    min-width: 0 !important; 
    min-height: 0 !important; 
    box-sizing: border-box;
  }
  
  /* Ensure container width */
  #heroCamat { width: 100%; }
  
  /* Hide slider controls on mobile */
  .hero-slider { display: none; }

  /* --- OTHER SECTIONS MOBILE FIXES --- */

  /* Social Carousel (Ikuti Kami) - Mobile Optimized (Native Scroll) */
  .social-carousel {
    padding: 0;
    width: 100%;
    overflow: hidden; /* Prevent horizontal scroll on body */
  }
  .social-carousel .carousel-viewport {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px 24px; /* Side padding for peek + bottom space */
    scrollbar-width: none;
    border-radius: 0;
    width: 100%;
    display: block !important; /* Changed from flex to block to allow scroll */
    touch-action: pan-x;
  }
  .social-carousel .carousel-viewport::-webkit-scrollbar { display: none; }

  .social-carousel .carousel-track {
    display: flex !important;
    gap: 16px;
    width: max-content !important; /* Force width to fit all children */
    min-width: 100%;
    transform: none !important;
    justify-content: flex-start;
    margin: 0;
    padding-right: 20px; /* End padding */
  }
  
  .social-carousel .carousel-slide {
    flex: 0 0 calc(100vw - 48px); /* Single card focused with padding */
    width: calc(100vw - 48px);
    max-width: 400px;
    scroll-snap-align: center;
    padding: 0;
    height: auto;
    display: flex; /* Enables height stretch for child */
    margin: 0;
  }

  .social-carousel .social-card {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  /* Hide desktop nav buttons for carousel on mobile (Swipe enabled) */
  .social-carousel .carousel-btn,
  .slogan-viewport .carousel-btn { display: none !important; }

  /* Komitmen Carousel - Mobile Optimized (Native Scroll) */
  .slogan-viewport {
    min-height: auto !important;
    height: auto !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 24px;
    scrollbar-width: none;
    display: block !important;
    touch-action: pan-x;
  }
  .slogan-viewport::-webkit-scrollbar { display: none; }

  .slogan-track {
    display: flex !important;
    width: max-content !important;
    min-width: 100%;
    transform: none !important;
    margin: 0;
    padding: 0 20px;
    gap: 16px;
  }
  
  .slogan-track .carousel-slide {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1 !important;
    display: flex !important;
    flex: 0 0 85vw;
    width: 85vw;
    max-width: 320px;
    scroll-snap-align: center;
    padding: 0 !important;
  }

  /* Adjust rotator inner for mobile card style */
  .slogan-track .rotator-inner {
    flex-direction: column !important;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 24px;
    border: 1px solid rgba(0,90,81,0.1);
    height: 100%;
    box-sizing: border-box;
  }
  
  .slogan-track .rotator-img {
    height: 180px !important;
    width: auto !important;
    margin-bottom: 16px;
  }

  /* Info Sections / Footer */
  .info-grid, .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  
  /* Floating WA */
  .floating-wa {
    bottom: 24px !important;
    right: 24px !important;
    width: 56px !important;
    height: 56px !important;
  }
  .floating-wa img {
    width: 32px !important;
    height: 32px !important;
  }

  /* Adjust section headings */
  section h2 {
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
  }
}

/* =========================================================
   DESKTOP RESTORATION (Fix for Header Alignment)
   ========================================================= */
@media (min-width: 769px) {
  /* Force restore Header Right Layout on Desktop */
  .header-right {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    right: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* Restore Buttons on Desktop */
  .a11y-toggle {
    margin-left: 8px !important;
    background: #222 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 40px !important;
    padding: 8px 12px !important;
    width: auto !important;
    height: auto !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    position: static !important;
    font-size: 1rem !important; /* Reset font size */
  }
  
  .a11y-toggle:hover {
    background: #333 !important;
  }

  .admin-login-btn {
    margin-left: 8px !important;
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 40px !important;
    padding: 8px 12px !important;
    width: auto !important;
    height: auto !important;
    min-width: 44px !important;
    min-height: 44px !important;
    position: static !important;
    font-size: 1rem !important; /* Reset font size */
  }

  /* Remove pseudo-elements used for touch targets on mobile */
  .a11y-toggle::after, .admin-login-btn::after {
    content: none !important;
    display: none !important;
  }
}
