/**
 * Homepage Dedicated Stylesheet
 * Sistem Informasi Desa Mekarwangi
 * Optimized for Core Web Vitals & Browser Caching
 */

html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

body {
  background-color: #0f172a;
  margin: 0;
  padding: 0;
}
.aparatur-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(4px);
  z-index: 9999; align-items: center; justify-content: center; padding: 1rem;
}
.aparatur-modal-overlay.show { display: flex; }
.aparatur-modal-box {
  background: #ffffff; border-radius: 24px; width: 100%; max-width: 400px;
  position: relative; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  animation: modalSlideUp 0.3s ease forwards;
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.aparatur-modal-header {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  padding: 2.5rem 1.5rem 1rem; text-align: center; color: white; position: relative;
}
.aparatur-modal-close {
  position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.2);
  border: none; color: white; width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.aparatur-modal-close:hover { background: rgba(255,255,255,0.4); }
.aparatur-modal-photo {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  border: 4px solid white; box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  margin: 0 auto; background: #e2e8f0; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 3rem;
}
.aparatur-modal-body { padding: 1.5rem; text-align: center; }
.aparatur-modal-name { font-size: 1.25rem; font-weight: 800; color: #0f172a; margin-bottom: 0.2rem; }
.aparatur-modal-role { font-size: 0.9rem; color: #059669; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.aparatur-modal-info { text-align: left; background: #f8fafc; border-radius: 12px; padding: 1rem; border: 1px solid #e2e8f0; }
.aparatur-info-item { display: flex; gap: 12px; margin-bottom: 0.75rem; font-size: 0.9rem; color: #334155; }
.aparatur-info-item:last-child { margin-bottom: 0; }
.aparatur-info-item i { color: #059669; font-size: 1.1rem; }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 5% 50px;
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  object-fit: cover;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
  z-index: 1;
}
.hero::after { content: none; }
.hero-content {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.hero h1 span {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: #13D4D4;
  display: inline-block;
  filter: none;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #f1f5f9;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero p {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-cta {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 10;
  width: 100%;
  justify-content: center;
  margin-top: 2rem;
}
.custom-hero-btn {
  display: inline-flex;
  align-items: center;
  background: #525252;
  border-radius: 50px;
  position: relative;
  text-decoration: none;
  height: 52px;
  padding: 0;
  box-shadow: 0 4px 0 #3f3f46, 0 8px 15px rgba(0,0,0,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
  overflow: hidden;
}
.custom-hero-btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #3f3f46, 0 2px 4px rgba(0,0,0,0.3);
}
.custom-hero-btn .btn-text {
  background: linear-gradient(to bottom, #3b82f6, #1e3a8a);
  color: #ffffff;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 24px 0 35px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
  clip-path: polygon(15px 50%, 0 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -15px;
  text-transform: uppercase;
}
.custom-hero-btn .btn-icon-wrapper {
  width: 52px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  position: relative;
}
.custom-hero-btn .btn-icon-wrapper i {
  background: radial-gradient(circle, #2563eb 0%, #1e3a8a 100%);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 
    inset 0 0 0 2px rgba(255,255,255,0.9),
    0 0 0 2px #525252;
  font-size: 1.1rem;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.hero-stat {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 0.9rem 1.5rem;
  text-align: center;
  min-width: 110px;
}
.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.hero-stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.70);
  margin-top: 4px;
  display: block;
}
.home-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}
.home-title h2 { 
  font-size: 2.8rem; 
  font-weight: 800; 
  color: #0f172a; 
  letter-spacing: -0.02em;
}
.home-title h2 span {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-title p { 
  color: #64748b; 
  font-size: 1.15rem; 
  max-width: 600px; 
  margin: 1rem auto 0; 
  line-height: 1.7;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem 2rem;
  border-radius: 28px;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,1);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature-card:hover { 
  transform: translateY(-12px); 
  box-shadow: 0 20px 40px -5px rgba(5, 150, 105, 0.15), inset 0 1px 0 rgba(255,255,255,1);
  border-color: rgba(5, 150, 105, 0.2);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 80px; height: 80px;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.75rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1);
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }
.icon-blue { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: #2563eb; border: 1px solid #bfdbfe; }
.icon-green { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); color: #16a34a; border: 1px solid #bbf7d0; }
.icon-purple { background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%); color: #9333ea; border: 1px solid #e9d5ff; }
.feature-card h3 { font-size: 1.4rem; font-weight: 700; color: #1e293b; margin-bottom: 1rem; }
.feature-card p { color: #64748b; line-height: 1.6; font-size: 1rem; }
.news-grid, .video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.news-card, .video-card { 
    display: flex; flex-direction: row; align-items: flex-start; 
    background: transparent; border-radius: 0; box-shadow: none; 
    padding: 16px 0; border-bottom: 1px solid #e2e8f0; text-decoration: none; position: relative;
}
.news-card:last-child, .video-card:last-child { border-bottom: none; }
.news-card:nth-child(1), .video-card:nth-child(1) { grid-column: 1 / -1; flex-direction: column; align-items: stretch; border: none; padding: 0; border-radius: 24px; overflow: hidden; background: #0f172a; margin-bottom: 12px; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4); height: 460px; justify-content: flex-end; position: relative; }
.news-img, .video-card img { 
    position: static !important; width: 120px !important; height: 120px !important; 
    object-fit: cover !important; flex-shrink: 0 !important; border-radius: 8px !important; margin-bottom: 0; margin-right: 16px; transition: transform 0.3s;
}
.news-card:hover .news-img { transform: scale(1.05); }
.news-card:nth-child(1) .news-img, .video-card:nth-child(1) img { position: absolute !important; top: 0; left: 0; width: 100% !important; height: 100% !important; margin-right: 0; border-radius: 24px !important; z-index: 1; transition: transform 0.6s ease; }
.news-card:nth-child(1):hover .news-img { transform: scale(1.03); }
.news-overlay { display: none !important; }
.news-card:nth-child(1) .news-overlay, .video-card:nth-child(1) .video-overlay { display: block !important; position: absolute !important; top: 0; left: 0; width: 100%; height: 100% !important; background: linear-gradient(to top, rgba(15,23,42,0.98) 0%, rgba(15,23,42,0.85) 35%, transparent 100%) !important; z-index: 2; border-radius: 24px; pointer-events: none; }
.news-body { 
    position: static !important; padding: 0 !important; 
    display: flex; flex-direction: column; justify-content: flex-start; width: calc(100% - 136px); background: transparent !important;
}
.news-card:nth-child(1) .news-body::before { content: "LAPORAN UTAMA"; display: inline-block; background: #e11d48; color: white; padding: 6px 14px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; width: fit-content; margin-bottom: 12px; order: 1; box-shadow: 0 4px 10px rgba(225,29,72,0.4); }
.news-card:nth-child(1) .news-body, .video-card:nth-child(1) .video-title-glass { position: relative !important; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; height: auto; padding: 0 32px 0 32px !important; background: transparent !important; z-index: 3; pointer-events: none; }
.news-date { color: #64748b !important; background: transparent !important; padding: 0 !important; border: none !important; border-radius: 0 !important; display: block !important; font-size: 0.85rem !important; margin-top: 12px !important; margin-bottom: 0 !important; font-weight: 400; width: auto; order: 3; }
.news-card:nth-child(1) .news-date { color: #cbd5e1 !important; margin-top: 20px !important; font-size: 0.95rem !important; order: 4; display: inline-flex; align-items: center; gap: 6px; }
.news-title { color: #0f172a !important; font-size: 1.1rem !important; line-height: 1.4 !important; -webkit-line-clamp: 3 !important; text-shadow: none !important; font-weight: 700; order: 1; margin: 0 !important; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.3s ease; }
.news-card:nth-child(1) .news-title, .video-card:nth-child(1) .video-title-glass h3 { color: #ffffff !important; font-size: 2.2rem !important; margin-bottom: 0 !important; -webkit-line-clamp: 3 !important; font-weight: 800; text-shadow: 0 4px 15px rgba(0,0,0,0.8) !important; order: 2; line-height: 1.3 !important; letter-spacing: -0.5px; }
.news-card:nth-child(1) .news-summary-box { display: block !important; background: transparent !important; padding: 12px 32px 32px 32px !important; position: relative; z-index: 4; pointer-events: none; }
.news-card:nth-child(1) .news-summary-box > div { display: none !important; }
.news-summary { display: -webkit-box; color: #f8fafc !important; font-size: 1rem !important; line-height: 1.5 !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 400; margin: 0 !important; opacity: 0.95; }
.news-card:nth-child(1) .news-summary { font-size: 1.1rem !important; color: #94a3b8 !important; line-height: 1.6 !important; -webkit-line-clamp: 3; font-weight: 400; }
.news-card:hover .news-title { color: #38bdf8 !important; }
.news-summary-box { display: none; }
.news-link { position: absolute; top: 0; left: 0; right: 0; bottom: 0; color: transparent; font-size: 0; z-index: 10; overflow: hidden; }
.video-wrapper iframe, .video-wrapper video { width: 100%; height: 100%; border: none; object-fit: cover; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.2) 40%, transparent 100%); z-index: 2; pointer-events: none; }
.video-title-glass { position: absolute; top: 0; left: 0; width: 100%; padding: 1.2rem; z-index: 3; pointer-events: none; }
.video-card:nth-child(1) .video-title-glass { padding: 2rem; }
.video-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(225, 29, 72, 0.9); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); color: #ffffff; padding: 4px 10px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; margin-bottom: 0.8rem; letter-spacing: 0.5px; border: 1px solid rgba(255,255,255,0.2); text-transform: uppercase; }
.video-title-glass h3 { color: #ffffff; font-weight: 800; font-size: 1rem; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 2px 4px rgba(0,0,0,0.8); transition: color 0.3s ease; }
.video-card:nth-child(1) .video-title-glass h3 { font-size: 1.6rem; -webkit-line-clamp: 3; }

.footer {
  background: #111827;
  color: #fff;
  padding: 5rem 5% 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 1rem; color: white; }
.footer-brand p { color: #9ca3af; line-height: 1.6; max-width: 400px; }
.footer-links h4 { font-size: 1.1rem; margin-bottom: 1.5rem; color: white; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #9ca3af; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #6b7280; font-size: 0.9rem; }

.aparatur-fader-container {
  position: relative;
  width: 130px;
  height: 180px;
  margin: 0 auto;
}
.fader-item {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(0.95);
  pointer-events: none;
}
.fader-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}
.perangkat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  width: 130px;
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -4px 0 rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.perangkat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}
.perangkat-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.perangkat-card:hover .perangkat-img {
  transform: scale(1.1);
}
.perangkat-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}
.perangkat-role {
  font-size: 0.65rem;
  color: #13D4D4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}

.stat-section { padding: 4rem 0; background: #ffffff; position: relative; z-index: 5; overflow: hidden; }
.marquee-container { width: 100%; overflow: hidden; white-space: nowrap; position: relative; padding: 10px 0; }
.stat-grid { display: inline-flex; flex-wrap: nowrap; gap: 1.5rem; padding: 0 0.75rem; position: relative; z-index: 2; width: max-content; animation: marquee 25s linear infinite; }
.stat-grid:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.75rem)); }
}
.stat-box { text-align: center; position: relative; z-index: 1; cursor: pointer; width: 175px; flex-shrink: 0; margin-bottom: 2.2rem; }
.stat-img-wrapper { 
  width: 100%; aspect-ratio: 3/2; border-radius: 20px; overflow: hidden; position: relative; 
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); 
  border: 1px solid #e2e8f0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); 
  background: #f8fafc;
}
.stat-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.stat-box:hover .stat-img-wrapper { 
  transform: translateY(-8px) scale(1.02); 
  box-shadow: 0 20px 35px rgba(2, 132, 199, 0.25); 
  border-color: #38bdf8;
}
.stat-box:hover .stat-img-wrapper img { transform: scale(1.08); }
.stat-label { 
  position: absolute; bottom: -1.75rem; left: 50%; transform: translateX(-50%); 
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%); 
  color: #0f172a; padding: 0.6rem 1.1rem; border-radius: 18px; 
  font-size: 0.74rem; font-weight: 800; white-space: nowrap; 
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08); 
  border: 1.5px solid #bbf7d0; 
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); 
  min-width: 90%; display: flex; flex-direction: column; line-height: 1.2; z-index: 10; 
}
.stat-label .num { 
  font-size: 1.35rem; font-weight: 900; color: #047857; margin-bottom: 2px; letter-spacing: -0.02em; 
}
.stat-label span:not(.num) {
  text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; font-size: 0.72rem;
}
.stat-box:hover .stat-label { 
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%); 
  color: #065f46; 
  transform: translateX(-50%) translateY(-4px) scale(1.04); 
  box-shadow: 0 12px 25px rgba(5, 150, 105, 0.25); 
  border-color: #10b981;
}
.stat-box:hover .stat-label .num { color: #059669; }
.lembaga-item { 
  text-align: center; position: relative; z-index: 1; cursor: pointer; width: 165px; flex-shrink: 0; 
  display: flex; flex-direction: column; align-items: center; gap: 12px; 
  padding: 1.1rem 1rem; border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); 
  text-decoration: none; 
}
.lembaga-item:hover { 
  transform: translateY(-6px) scale(1.02); 
  border-color: #38bdf8;
  box-shadow: 0 16px 30px rgba(14, 165, 233, 0.15);
  background: #ffffff;
}
.lembaga-logo-wrap { 
  width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; 
  transition: all 0.3s ease; border-radius: 18px; 
  background: #f0f9ff; border: 1px solid #bae6fd;
}
.lembaga-logo-wrap img { width: 85%; height: 85%; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06)); transition: all 0.3s ease; }
.lembaga-item:hover .lembaga-logo-wrap img { filter: drop-shadow(0 6px 12px rgba(14,165,233,0.3)); transform: scale(1.1); }
.lembaga-logo-wrap i { font-size: 2.5rem; color: #0284c7; transition: all 0.3s ease; }
.lembaga-item:hover .lembaga-logo-wrap i { transform: scale(1.12); filter: drop-shadow(0 6px 12px rgba(14,165,233,0.3)); }
.lembaga-text { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.lembaga-text .num { font-size: 1.35rem; font-weight: 900; color: #0284c7; letter-spacing: -0.02em; }
.lembaga-text .desc { font-size: 0.74rem; font-weight: 800; color: #64748b; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 576px) {
  .stat-box { width: 110px; margin-bottom: 1.5rem; }
  .stat-label { font-size: 0.65rem; padding: 0.4rem 0.5rem; border-radius: 12px; bottom: -1.5rem; }
  .stat-label .num { font-size: 0.95rem; }
  .stat-img-wrapper { border-radius: 14px; }
  .stat-grid { gap: 1rem; }
  .lembaga-item { width: 100px; gap: 8px; }
  .lembaga-logo-wrap { width: 70px; height: 70px; }
  .lembaga-text .num { font-size: 1.1rem; }
  .lembaga-text .desc { font-size: 0.65rem; }
}

.info-map-section { padding: 6.5rem 5%; background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); position: relative; overflow: hidden; }
.info-map-section::before { content: ''; position: absolute; top: -10%; right: -5%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; pointer-events: none; }
.info-map-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.info-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.2rem; background: rgba(37,99,235,0.08); color: #1e3a8a; font-weight: 700; font-size: 0.85rem; border-radius: 50px; margin-bottom: 1.5rem; letter-spacing: 1px; text-transform: uppercase; border: 1px solid rgba(37,99,235,0.15); box-shadow: 0 4px 10px rgba(37,99,235,0.05); }
.info-content h2 { font-size: 3rem; font-weight: 900; color: #0f172a; margin-bottom: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; }
.info-content h2 span { background: linear-gradient(135deg, #1e3a8a, #0ea5e9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.info-desc-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,249,255,0.5) 100%);
  border: 1px solid rgba(224, 242, 254, 0.8);
  border-left: 4px solid #0284c7;
  border-radius: 0 18px 18px 0;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.06);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}
.info-scroll-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.8;
}
.info-scroll-text p {
  margin: 0;
  text-align: justify;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.info-scroll-hint {
  display: none;
}
.map-container { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); height: 420px; border: 8px solid #ffffff; transition: transform 0.4s ease, box-shadow 0.4s ease; background: #fff; }
.map-container:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -15px rgba(37,99,235,0.25); }
.map-container iframe { width: 100%; height: 100%; border: none; filter: contrast(1.05) saturation(1.1); }

/* Floating Map Overlay Badge & Controls */
.map-floating-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.map-badge-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.map-badge-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.map-badge-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}
.leaflet-popup-content-wrapper {
  border-radius: 14px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
  padding: 2px !important;
}
.leaflet-popup-tip {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}
.leaflet-bar {
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  border: none !important;
}
.leaflet-control-attribution {
  display: none !important;
}
.leaflet-bar a {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #1e293b !important;
}
.btn-outline-primary { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 2.2rem; background: transparent; color: #1e3a8a; border: 2px solid #1e3a8a; border-radius: 50px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-outline-primary:hover { background: #1e3a8a; color: #ffffff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2); }

.chat-widget-btn-container {
  position: fixed; bottom: 20px; right: 20px; width: 75px; height: 90px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  cursor: pointer; z-index: 9999; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chat-widget-btn-container:hover { transform: translateY(-5px) scale(1.05); }
.chat-btn-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #d4f0f0, #73a8b2 60%, #4a7d88 100%);
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4), inset 0 -3px 5px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.8);
  position: relative; z-index: 2;
}
.chat-btn-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 50% 20%, #fcd34d, #f59e0b 50%, #b45309 90%);
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.4), inset 0 4px 8px rgba(255,255,255,0.6), 0 2px 4px rgba(0,0,0,0.5);
  display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden;
}
.chat-btn-inner::before {
  content: ''; position: absolute; top: 5%; left: 15%; width: 70%; height: 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0.05));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; z-index: 1;
}
.chat-btn-inner i {
  font-size: 1.5rem; color: #1e3a8a; z-index: 2; text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}
.chat-btn-label {
  background: linear-gradient(to bottom, #d4f0f0, #73a8b2 40%, #4a7d88 100%);
  border: 1px solid #3f6f79; border-radius: 12px; padding: 2px 10px; margin-top: -8px; z-index: 3;
  box-shadow: 0 3px 6px rgba(0,0,0,0.4), inset 0 2px 3px rgba(255,255,255,0.8), inset 0 -2px 4px rgba(0,0,0,0.3);
  font-family: 'Arial Black', Arial, sans-serif; font-weight: 900; font-size: 0.75rem; color: #222;
  letter-spacing: 0.5px; text-shadow: 1px 1px 0px rgba(255,255,255,0.5); white-space: nowrap;
}
.chat-popup-window {
  position: fixed; bottom: 100px; right: 25px; width: 360px; max-width: calc(100vw - 40px);
  background: #ffffff; border-radius: 20px; box-shadow: 0 15px 50px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.1);
  z-index: 999999; overflow: hidden; display: flex; flex-direction: column;
  transform: translateY(20px) scale(0.95); opacity: 0; pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.05);
}
.chat-popup-window.active { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-header {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
}
.chat-header h3 { font-size: 1.2rem; font-weight: 700; margin: 0; letter-spacing: 0.3px; }
.chat-header p { font-size: 0.85rem; opacity: 0.9; margin: 4px 0 0 0; }
.btn-close-chat { background: transparent; border: none; color: white; font-size: 1.5rem; cursor: pointer; opacity: 0.8; transition: opacity 0.2s; padding: 0; }
.btn-close-chat:hover { opacity: 1; }
.chat-body { 
  padding: 1.5rem; max-height: 400px; overflow-y: auto; 
}
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
.chat-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.chat-body::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-weight: 700; color: #1e293b; margin-bottom: 0.5rem; font-size: 0.9rem; text-align: left; }
.form-control-modern { 
  width: 100%; padding: 0.8rem 1rem; border-radius: 8px; border: 1px solid #cbd5e1; 
  background: #ffffff; font-size: 0.95rem; font-family: inherit; transition: all 0.3s ease; 
}
.form-control-modern:focus { 
  outline: none; border-color: #1e3a8a; background: #ffffff; box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15); 
}
.btn-submit-aspirasi { 
  background: #1e3a8a; color: white; padding: 1rem; border-radius: 8px; border: none; 
  font-size: 1rem; font-weight: 700; width: 100%; cursor: pointer; transition: all 0.3s ease; 
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 0.5rem; 
}
.btn-submit-aspirasi:hover { background: #1e40af; transform: translateY(-2px); box-shadow: 0 8px 15px rgba(30, 58, 138, 0.3); }

/* Hero Entrance Animations */
.hero-anim-item { opacity: 1; transform: translateX(0); filter: none; }

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 36px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-text-content {
  flex: 1 1 500px;
  color: white;
  min-width: 0;
  padding-top: 10px;
  box-sizing: border-box;
}

.hero-greeting-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hero-title-new, h1.hero-title-new { 
  font-weight: 900; 
  text-transform: none; 
  letter-spacing: -1.2px; 
  margin: 0; 
  line-height: 1.08; 
  text-align: left; 
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-family: 'Outfit', sans-serif;
  word-break: break-word;
}
.hero-welcome-text { 
  font-family: 'Inter', 'Poppins', sans-serif; 
  font-size: 1.15rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 3.5px; 
  display: block; 
  color: #f8fafc; 
  text-shadow: 0 4px 10px rgba(34, 211, 238, 0.6), 0 0 5px rgba(0,0,0,0.8); 
  margin: 0; 
  line-height: 1.2;
}
.hero-village-text { 
  font-family: 'Outfit', sans-serif; 
  font-weight: 900; 
  letter-spacing: -1.5px; 
  text-transform: capitalize; 
  line-height: 1.05; 
  display: inline-block; 
  white-space: normal; 
  color: #22d3ee; 
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.4), 0 4px 20px rgba(0,0,0,0.7); 
}

.hero-cta-new {
  display: flex !important;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 5px 16px 5px 6px;
    border-radius: 50px;
    background: linear-gradient(145deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.4) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.25),
        inset 0 1px 2px rgba(255,255,255,0.15);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-link-btn .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.3);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-link-btn:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(145deg, rgba(37,99,235,0.9) 0%, rgba(30,58,138,0.9) 100%);
    box-shadow: 0 12px 28px rgba(37,99,235,0.35);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}
.hero-link-btn:hover .icon-circle {
    background: #ffffff;
    color: #1e3a8a;
    transform: rotate(8deg) scale(1.08);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

.hero-aparatur {
  flex: 0 0 380px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  box-sizing: border-box;
}

.aparatur-fader-container {
  width: 100%;
  max-width: 380px;
  height: 480px;
  position: relative;
  margin: 0 auto;
}

.fader-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(15px) scale(0.96);
  z-index: 1;
}
.fader-item.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  z-index: 2;
}
.fader-item img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}
.fader-placeholder {
  width: 100%;
  flex: 1;
  min-height: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 6rem;
}
.aparatur-meta-box {
  background: transparent;
  padding: 12px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  z-index: 5;
}
.aparatur-meta-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 4px 12px rgba(0,0,0,0.9);
  font-family: 'Outfit', sans-serif;
}
.aparatur-meta-line {
  width: 40px;
  height: 3px;
  background: #22d3ee;
  border-radius: 2px;
  margin-bottom: 6px;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.8), 0 0 5px #ffffff;
}
.aparatur-meta-role {
  font-size: 0.82rem;
  color: #22d3ee;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  width: 100%;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 4px 10px rgba(0,0,0,0.9);
}

@media (max-width: 992px) {
  .hero-container { gap: 24px; }
  .hero-aparatur { flex: 0 0 320px; }
  .aparatur-fader-container { max-width: 320px; height: 420px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .info-map-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-grid, .news-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  #aparatur { bottom: 2rem; left: 2%; }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  .hero { 
    min-height: auto !important; 
    padding: 85px 16px 40px !important; 
    overflow: hidden !important; 
  }
  .hero-container { 
    flex-direction: column !important; 
    align-items: center !important; 
    text-align: center !important; 
    gap: 16px !important; 
    width: 100% !important; 
    max-width: 100% !important; 
    padding: 0 !important; 
    margin: 0 !important; 
  }
  .hero-text-content { 
    flex: none !important; 
    width: 100% !important; 
    max-width: 100% !important; 
    padding: 0 !important; 
    text-align: center !important; 
  }
  .hero-greeting-group {
    margin-bottom: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-welcome-text { 
    font-size: 0.8rem !important; 
    letter-spacing: 2px !important; 
    margin: 0 !important; 
    display: block !important; 
    line-height: 1.2 !important;
  }
  .hero-title-new, h1.hero-title-new { 
    font-size: clamp(1.85rem, 7.5vw, 2.5rem) !important; 
    margin: 0 !important; 
    line-height: 1.12 !important; 
    text-align: center !important;
  }
  .hero-cta-new { 
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important; 
    gap: 8px !important; 
    flex-wrap: wrap !important; 
    margin-bottom: 14px !important; 
    width: 100% !important; 
  }
  .hero-link-btn { 
    padding: 5px 13px 5px 5px !important; 
    font-size: 0.78rem !important; 
    border-radius: 9999px !important; 
    gap: 6px !important; 
  }
  .hero-link-btn .icon-circle { 
    width: 28px !important; 
    height: 28px !important; 
    font-size: 0.85rem !important; 
  }
  .hero-aparatur { 
    flex: none !important; 
    width: 100% !important; 
    max-width: 280px !important; 
    margin: 0 auto !important; 
    display: flex !important; 
    justify-content: center !important; 
  }
  .aparatur-fader-container { 
    width: 100% !important; 
    max-width: 280px !important; 
    height: 270px !important; 
    margin: 0 auto !important; 
  }
  .fader-item img { 
    max-height: 190px !important; 
  }
  .aparatur-meta-box { 
    padding: 8px 10px 0 !important; 
    max-width: 270px !important; 
  }
  .aparatur-meta-name { 
    font-size: 1.1rem !important; 
    margin-bottom: 4px !important; 
  }
  .aparatur-meta-line { 
    width: 32px !important; 
    margin-bottom: 4px !important; 
  }
  .aparatur-meta-role { 
    font-size: 0.74rem !important; 
    letter-spacing: 1.2px !important; 
  }

  .form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
  .aspirasi-wrapper { padding: 1.5rem; }
  .home-title h2 { font-size: 1.8rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .map-container { height: 280px !important; border-width: 4px !important; border-radius: 20px !important; }
  .map-floating-badge { top: 8px; left: 8px; padding: 4px 10px; gap: 6px; }
  .map-badge-title { font-size: 0.72rem; }
  .map-badge-btn { font-size: 0.65rem; padding: 3px 8px; }
  .news-grid, .video-grid { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column; gap: 0; }
  .news-img, .video-card img { width: 85px !important; height: 85px !important; margin-right: 16px !important; }
  .news-card:nth-child(1) { height: 400px; margin-bottom: 24px; box-shadow: 0 15px 30px -10px rgba(0,0,0,0.3); border-radius: 20px; }
  .news-card:nth-child(1) .news-img, .video-card:nth-child(1) img { height: 100% !important; border-radius: 20px !important; }
  .news-card:nth-child(1) .news-overlay, .video-card:nth-child(1) .video-overlay { height: 100% !important; border-radius: 20px !important; background: linear-gradient(to top, rgba(15,23,42,0.98) 0%, rgba(15,23,42,0.85) 45%, transparent 100%) !important; }
  .news-body { width: calc(100% - 101px) !important; }
  .news-card:nth-child(1) .news-body, .video-card:nth-child(1) .video-title-glass { height: auto !important; padding: 0 20px 0 20px !important; }
  .news-card:nth-child(1) .news-body::before { font-size: 0.65rem; padding: 4px 10px; margin-bottom: 8px; }
  .news-date { font-size: 0.75rem !important; margin-top: 8px !important; }
  .news-card:nth-child(1) .news-date { margin-top: 12px !important; font-size: 0.8rem !important; }
  .news-title { font-size: 0.95rem !important; }
  .news-card:nth-child(1) .news-title, .video-card:nth-child(1) .video-title-glass h3 { font-size: 1.5rem !important; line-height: 1.3 !important; text-shadow: 0 2px 8px rgba(0,0,0,0.8) !important; }
  .news-card:nth-child(1) .news-summary-box { padding: 8px 20px 24px 20px !important; }
  .news-summary { font-size: 0.85rem !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .info-map-section, .stat-section, #video { padding: 2.5rem 15px !important; box-sizing: border-box !important; }
  #informasi { padding: 2.2rem 14px !important; box-sizing: border-box !important; }
  #informasi .container { padding-left: 0 !important; padding-right: 0 !important; width: 100% !important; max-width: 100% !important; margin: 0 auto !important; }
  .chat-widget-btn-container { bottom: 90px; right: 15px; width: 65px; height: 80px; z-index: 1000000; }
  .chat-btn-circle { width: 50px; height: 50px; padding: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
  .chat-btn-inner i { font-size: 1.25rem; }
  .chat-btn-label { font-size: 0.6rem; padding: 2px 7px; margin-top: -7px; }
  .chat-popup-window { bottom: 75px !important; right: 0 !important; width: 100%; max-width: 100%; border-radius: 20px 20px 0 0; max-height: 80vh; transform: translateY(120%); z-index: 1000000; }
  .chat-popup-window.active { transform: translateY(0); }
  .chat-body { max-height: calc(80vh - 70px); }
  .chat-input-wrapper { padding: 10px; }
}

@media (max-width: 480px) {
  .hero { 
    padding: 75px 12px 30px !important; 
  }
  .hero-greeting-group {
    margin-bottom: 10px !important;
    gap: 2px !important;
  }
  .hero-welcome-text { 
    font-size: 0.74rem !important; 
    letter-spacing: 1.8px !important; 
  }
  .hero-title-new, h1.hero-title-new { 
    font-size: clamp(1.7rem, 8vw, 2.15rem) !important; 
    margin: 0 !important; 
  }
  .hero-cta-new { 
    gap: 6px !important; 
    margin-bottom: 12px !important; 
  }
  .hero-link-btn { 
    padding: 4px 11px 4px 4px !important; 
    font-size: 0.74rem !important; 
    gap: 5px !important; 
  }
  .hero-link-btn .icon-circle { 
    width: 26px !important; 
    height: 26px !important; 
    font-size: 0.8rem !important; 
  }
  .hero-aparatur { 
    max-width: 240px !important; 
  }
  .aparatur-fader-container { 
    max-width: 240px !important; 
    height: 240px !important; 
  }
  .fader-item img { 
    max-height: 165px !important; 
  }
  .aparatur-meta-box { 
    max-width: 230px !important; 
    padding: 6px 8px 0 !important; 
  }
  .aparatur-meta-name { 
    font-size: 0.98rem !important; 
    margin-bottom: 3px !important; 
  }
  .aparatur-meta-line { 
    width: 28px !important; 
    margin-bottom: 3px !important; 
  }
  .aparatur-meta-role { 
    font-size: 0.68rem !important; 
    letter-spacing: 1px !important; 
  }
  .hero-link-btn { padding: 10px 18px; font-size: 0.85rem; }
  .feature-card { padding: 1.5rem 1rem; }
  .feature-icon { width: 60px; height: 60px; font-size: 1.8rem; margin-bottom: 1rem; }
  .footer { padding: 3rem 5% 1.5rem; }
  .info-map-section, .stat-section { padding: 2rem 5%; }
  
  /* Tentang Kami Mobile Scrollable Box */
  .info-content h2 { font-size: 2rem !important; margin-bottom: 1rem !important; }
  .info-desc-card {
    padding: 1.1rem 1rem 0.8rem 1.1rem !important;
    border-radius: 0 16px 16px 0 !important;
    border-left-width: 4px !important;
    margin-bottom: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08) !important;
  }
  .info-scroll-text {
    max-height: 145px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-right: 8px;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
  }
  .info-scroll-text::-webkit-scrollbar {
    width: 4px;
  }
  .info-scroll-text::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
  }
  .info-scroll-text::-webkit-scrollbar-thumb {
    background: #38bdf8;
    border-radius: 4px;
  }
  .info-scroll-hint {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.7rem;
    color: #0284c7;
    font-weight: 600;
  }
  .btn-outline-primary {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
