@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&family=Outfit:wght@500;600;700;800&display=swap');

/**
 * DISDUKCAPIL KOTA SALATIGA - MAIN STYLESHEET
 * Modern, Glassmorphic, Accessible UI Design
 */

/* ==========================================================================
   1. DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Primary Brand — Biru Pemkot Salatiga */
  --primary: #0055A4;
  --primary-dark: #004080;
  --primary-darker: #003366;
  --primary-light: #E8F0FE;
  --primary-glow: rgba(0, 85, 164, 0.25);
  
  /* Dark Surfaces */
  --navy-dark: #0B1120;
  --navy-slate: #151D30;
  --navy-surface: #1E293B;
  
  /* Accent */
  --accent-amber: #F59E0B;
  --accent-amber-light: #FEF3C7;
  --accent-amber-dark: #D97706;
  --accent-green: #059669;
  --accent-green-light: #ECFDF5;
  --accent-blue: #3B82F6;
  --accent-blue-light: #EFF6FF;
  
  /* Neutrals */
  --bg-main: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-dark: rgba(11, 17, 32, 0.85);
  --border-light: #E2E8F0;
  --border-glass: rgba(255, 255, 255, 0.15);
  --border-focus: #0055A4;
  
  /* Text */
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px -2px rgba(0,85,164,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px -4px rgba(0,85,164,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 50px -8px rgba(0,85,164,0.18), 0 8px 20px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 30px rgba(0,85,164,0.2);
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Font scale for accessibility */
  --font-scale: 1;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dropdown Menu & Links styling */
.nav-dropdown-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  min-width: 240px !important;
  width: max-content !important;
  padding: 0.5rem !important;
}

.nav-dropdown-link,
.nav-dropdown-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.65rem 1rem !important;
  color: #334155 !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

.nav-dropdown-link:hover,
.nav-dropdown-item:hover {
  background: #EFF6FF !important;
  color: #0055A4 !important;
}

.nav-dropdown-link i,
.nav-dropdown-item i {
  color: #0055A4 !important;
  font-size: 1rem !important;
  width: 1.25rem !important;
  text-align: center !important;
}

/* High Contrast Mode */
body.high-contrast {
  --bg-main: #000000;
  --bg-card: #111111;
  --text-main: #ffffff;
  --text-muted: #dddddd;
  --primary: #60A5FA;
  --border-light: #444444;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --shadow-glow: none;
}

/* ==========================================================================
   2. BASE RESETS & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: calc(16px * var(--font-scale));
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Focus Visible for Accessibility */
:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Selection Color */
::selection {
  background-color: var(--primary);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Mono Font for Resi/Codes */
.mono-text {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   3. LAYOUT COMPONENTS
   ========================================================================== */

/* Top Strip */
.top-strip {
  background-color: var(--navy-dark);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.top-strip-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .top-strip-content {
    flex-direction: row;
  }
}

/* Running Marquee Ticker */
.ticker-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ticker-badge {
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-dark));
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  animation: pulse-amber 2s infinite ease-in-out;
}

@keyframes pulse-amber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

.ticker-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  cursor: pointer;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}

.ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #CBD5E1;
  padding: 0 0.5rem;
}

.ticker-item i {
  color: var(--accent-amber);
}

.ticker-item strong {
  color: #FFFFFF;
}

.ticker-separator {
  color: var(--primary-light);
  opacity: 0.4;
  margin: 0 0.5rem;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.top-strip-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.a11y-btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.a11y-btn:hover {
  background-color: var(--primary);
}

/* Main Header */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 0.75rem 1.5rem;
  transition: all var(--transition-smooth);
}

.main-header.scrolled {
  padding: 0.6rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 55, 120, 0.08);
}

body.high-contrast .main-header {
  background-color: var(--bg-card);
  border-bottom-color: var(--border-light);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 85, 164, 0.15));
  transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-img {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
  line-height: 1.1;
  display: block;
}

.brand-text span:last-child {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748B;
  font-weight: 600;
  line-height: 1.2;
  display: block;
  margin-top: 1px;
}

.nav-menu {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap !important;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.nav-link:hover {
  color: #0055A4;
  background-color: rgba(0, 85, 164, 0.06);
}

.nav-link.active {
  color: #0055A4;
  background-color: rgba(0, 85, 164, 0.1);
  font-weight: 700;
}

.nav-link::after {
  display: none;
}

/* Nav Dropdown Styling */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 85, 164, 0.18);
  padding: 0.5rem;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 100000 !important;
}

.nav-dropdown-item:hover {
  background: #EFF6FF;
  color: #0055A4;
}

.nav-dropdown-item i {
  color: #0055A4;
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.btn-header-cta {
  display: none;
  background: linear-gradient(135deg, #0055A4 0%, #003366 100%);
  color: #FFFFFF !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 85, 164, 0.25);
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.btn-header-cta i {
  color: #25D366;
  font-size: 1.05rem;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 85, 164, 0.35);
  background: linear-gradient(135deg, #0066CC 0%, #004080 100%);
}

.mobile-toggle {
  display: block;
  background: transparent;
  color: var(--text-main);
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

/* Mobile Drawer */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(11, 17, 32, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--bg-card);
  z-index: 1060;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close-btn {
  background: var(--bg-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.drawer-nav {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.drawer-link {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.drawer-link:hover, .drawer-link.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   4. PAGE SECTIONS
   ========================================================================== */

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-main);
  padding: 3.5rem 1rem 5.5rem;
}

.hero-glow-1 {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 85, 164, 0.12) 0%, rgba(0, 85, 164, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: gradient-shift 10s ease-in-out infinite alternate;
}

.hero-section::before {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.15) 0%, rgba(5, 150, 105, 0) 70%);
}

.hero-section::after {
  bottom: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0) 70%);
  animation-delay: -5s;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  display: inline-block;
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-top-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--bg-card);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #0055A4;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 85, 164, 0.06);
  white-space: nowrap;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--primary);
}
@supports (-webkit-background-clip: text) {
  .hero-title span {
    background: linear-gradient(135deg, #0055A4 0%, #2563EB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  max-width: 95%;
}

.search-wrapper {
  width: 100%;
  max-width: 580px;
  background-color: var(--bg-card);
  border-radius: var(--radius-full);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 85, 164, 0.08);
  border: 1.5px solid #BFDBFE;
  transition: all var(--transition-fast);
}

.search-wrapper:focus-within {
  border-color: #0055A4;
  box-shadow: 0 0 0 4px rgba(0, 85, 164, 0.15);
}

.search-icon-inside {
  padding: 0 1rem;
  color: #0055A4;
  font-size: 1.1rem;
}

.search-input-box {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text-main);
}

.search-input-box:focus {
  outline: none;
}

.search-btn-action {
  background: linear-gradient(135deg, #0055A4, #003366);
  color: white;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 85, 164, 0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-btn-action:hover {
  background: linear-gradient(135deg, #003366, #0B1120);
  transform: translateY(-1px);
}

.quick-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.pills-label {
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 600;
}

.pill-item {
  background-color: var(--bg-card);
  border: 1px solid #CBD5E1;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #334155;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.pill-item:hover, .pill-item.active {
  background-color: #0055A4;
  color: white;
  border-color: #0055A4;
}

/* Live Operational Banner */
.hero-live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #BFDBFE;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-top: 0;
  box-shadow: 0 4px 12px rgba(0, 85, 164, 0.06);
  white-space: nowrap;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #334155;
}

.live-dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
  animation: pulse-green 1.8s infinite;
}

.live-dot-red {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
  flex-shrink: 0;
  animation: pulse-red 1.8s infinite;
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

.status-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
  background: #E6F4EA;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.status-wa-link:hover {
  background: #25D366;
  color: white;
}

.status-wa-link.closed-mode {
  color: #B91C1C;
  background: #FEE2E2;
}

.status-wa-link.closed-mode:hover {
  background: #EF4444;
  color: white;
}

.hero-visual {
  display: none;
  position: relative;
}

.visual-card-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 85, 164, 0.22);
  border: 5px solid white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visual-card-frame:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 30px 60px -15px rgba(0, 85, 164, 0.3);
}

.visual-card-frame img {
  width: 100%;
  display: block;
}

.float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(191, 219, 254, 0.9);
  padding: 0.75rem 1.1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 10;
  animation: float-slow 5s ease-in-out infinite alternate;
}

.float-badge-1 {
  top: -15px;
  left: -20px;
}

.float-badge-2 {
  bottom: -20px;
  right: -15px;
  animation-delay: -2.5s;
}

.float-badge strong {
  display: block;
  font-size: 0.85rem;
  color: #0F172A;
}

.float-badge span {
  display: block;
  font-size: 0.75rem;
  color: #64748B;
}

@keyframes float-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* Stats Ribbon */
.stats-ribbon {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: -3rem auto 0;
  padding: 0 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

body.high-contrast .stats-grid {
  background: var(--bg-card);
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card:nth-child(1) { border-left: 4px solid var(--primary); }
.stat-card:nth-child(2) { border-left: 4px solid var(--accent-blue); }
.stat-card:nth-child(3) { border-left: 4px solid var(--accent-amber); }
.stat-card:nth-child(4) { border-left: 4px solid #8B5CF6; } /* Purple accent */

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.stat-card:nth-child(1) .stat-icon { background: var(--primary-light); color: var(--primary); }
.stat-card:nth-child(2) .stat-icon { background: var(--accent-blue-light); color: var(--accent-blue); }
.stat-card:nth-child(3) .stat-icon { background: var(--accent-amber-light); color: var(--accent-amber-dark); }
.stat-card:nth-child(4) .stat-icon { background: #EDE9FE; color: #8B5CF6; }

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Common Section Styles */
.section-padding {
  padding: 5rem 1rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-tag {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 2rem;
  color: var(--text-main);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Layout Mode Switcher & Category Tabs */
.btn-mode-switch {
  background: white;
  border: 1.5px solid #CBD5E1;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.btn-mode-switch:hover, .btn-mode-switch.active {
  background: #0055A4 !important;
  color: white !important;
  border-color: #0055A4 !important;
  box-shadow: 0 4px 14px rgba(0, 85, 164, 0.3) !important;
}

.category-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 2rem auto 2.5rem;
}

.cat-tab-btn {
  background: white;
  border: 1px solid #E2E8F0;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-tab-btn:hover, .cat-tab-btn.active {
  background: #F0F7FF;
  color: #0055A4;
  border-color: #0055A4;
  font-weight: 700;
}

/* Category Rows Container */
.category-rows-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-row-item {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.service-row-item:hover {
  transform: translateY(-3px);
  border-color: #0055A4;
  box-shadow: 0 10px 25px rgba(0, 85, 164, 0.12);
}

.row-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.row-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #F0F7FF;
  border: 1px solid #BFDBFE;
  color: #0055A4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.row-main-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.row-header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.row-header-title h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.badge-tag-populer {
  background: #FEF3C7;
  color: #D97706;
  border: 1px solid #FDE68A;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
}

.badge-tag-std {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
}

.row-main-text p {
  color: #64748B;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

.row-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-row-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .row-right-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.5rem;
  }
}

/* Card Accordion & Bento View Styles */
.acc-card-item {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.acc-card-item:hover {
  border-color: #0055A4;
  box-shadow: 0 8px 20px rgba(0, 85, 164, 0.1);
  transform: translateY(-2px);
}

.acc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.bento-card {
  transition: all 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Services Grid */
.services-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card.featured {
  background: linear-gradient(to bottom right, var(--bg-card), var(--primary-light));
}

.service-icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: white;
}

.service-card-title {
  font-size: 1.25rem;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  background: var(--bg-main);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.tag-popular {
  background: var(--accent-amber-light);
  color: var(--accent-amber-dark);
}

.service-card-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.btn-service-syarat {
  flex: 1;
  text-align: center;
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-service-syarat:hover {
  background-color: var(--primary-light);
}

.btn-service-online {
  flex: 1;
  text-align: center;
  background-color: var(--primary);
  color: white;
  border: 1px solid var(--primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-service-online:hover {
  background-color: var(--primary-dark);
}

/* Track Section */
.track-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-slate));
  color: white;
  position: relative;
  overflow: hidden;
}

.track-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.track-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.track-info .section-tag {
  align-self: flex-start;
  background-color: rgba(59, 130, 246, 0.2);
  color: var(--accent-blue-light);
}

.track-info .section-title {
  color: white;
  text-align: left;
}

.track-info .section-desc {
  color: var(--text-light);
  text-align: left;
}

.track-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.track-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: #E2E8F0;
}

.track-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(5, 150, 105, 0.2);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
}

.track-card-box {
  background: var(--bg-glass-dark);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.track-form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.track-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.track-input::placeholder {
  color: var(--text-light);
}

.track-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.btn-track-submit {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.125rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-track-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
}

.track-result-box {
  display: none;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.track-result-box.active {
  display: block;
  animation: fadeUp 0.4s ease-out forwards;
}

.track-loading {
  height: 60px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 400% 100%;
  border-radius: var(--radius-sm);
  animation: shimmer 1.5s infinite;
}

/* Flow Steps */
.flow-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

.flow-step-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 2;
  transition: transform var(--transition-fast);
}

.flow-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent-blue));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 8px 16px rgba(5, 150, 105, 0.2);
  margin-bottom: 0.5rem;
}

.flow-connector {
  display: none;
}

/* News Grid */
.news-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-img-holder {
  height: 200px;
  position: relative;
  background: linear-gradient(135deg, var(--border-light), var(--bg-main));
  overflow: hidden;
}

.news-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.news-card:hover .news-img-holder img {
  transform: scale(1.05);
}

.news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.news-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.news-date {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-title {
  font-size: 1.25rem;
  line-height: 1.4;
}

.news-card:hover .news-title {
  color: var(--primary);
}

.news-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.news-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.news-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.news-link:hover::after {
  transform: translateX(4px);
}

/* Footer */
.footer-section {
  background: linear-gradient(180deg, #0B1120 0%, #050B14 100%);
  color: var(--text-light);
  border-top: 4px solid var(--primary);
  padding-top: 4.5rem;
  padding-bottom: 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand h2 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.footer-col h4,
.footer-links h3,
.footer-contact h3 {
  color: #FFFFFF !important;
  font-size: 1.15rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--accent-amber);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.5;
}

.footer-contact-item i {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 85, 164, 0.4);
}

.footer-bottom {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.875rem;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(11, 17, 32, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

.modal-window {
  background: #FFFFFF;
  width: 94%;
  max-width: 640px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.modal-backdrop.active .modal-window {
  transform: translateY(0);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: #FFFFFF;
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.35;
  flex: 1;
  padding-right: 0.5rem;
}

.modal-close {
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #64748B;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #FEE2E2;
  color: #DC2626;
  transform: rotate(90deg);
}

.modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto !important;
  flex: 1;
  min-height: 0;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.requirement-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.requirement-item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.requirement-item input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary);
  margin-top: 0.125rem;
  cursor: pointer;
}

.checklist-progress,
.modal-progress-card {
  margin-bottom: 1.25rem;
  background: #F8FAFC;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  border: 1.5px solid #E2E8F0;
  height: auto !important;
  min-height: 60px;
  overflow: visible !important;
  display: block !important;
}

.checklist-progress-bar,
.progress-bar-container {
  background-color: #E2E8F0;
  border-radius: 50px;
  height: 8px;
  margin-top: 6px;
  overflow: hidden;
  width: 100%;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 990;
  transform: scale(0);
  opacity: 0;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.back-to-top.visible {
  transform: scale(1);
  opacity: 1;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* Scroll Reveal - Safe Fallback (Visible by default) */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ==========================================================================
   5. KEYFRAMES
   ========================================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(5, 150, 105, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes gradient-shift {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(20px, -20px);
  }
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Small Tablets (640px and up) */
@media (min-width: 640px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .flow-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .flow-connector {
    display: block;
    position: absolute;
    top: 32px; /* Half of step-number height */
    left: 50%;
    width: 100%;
    height: 2px;
    border-top: 2px dashed var(--border-light);
    z-index: 1;
  }
  
  .flow-step-card:last-child .flow-connector {
    display: none;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
  .top-strip-content {
    flex-direction: row;
  }
  
  .hero-container {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
  }
  
  .hero-visual {
    display: block;
    width: 100%;
  }

  .visual-card-frame {
    width: 100%;
    max-width: 620px;
    margin-left: auto;
  }
  
  .track-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
  
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  .btn-header-cta {
    display: inline-flex;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card.featured {
    grid-column: span 2;
  }
  
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .news-card.featured {
    grid-column: span 2;
  }
  
  .news-card.featured .news-img-holder {
    height: 300px;
  }
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
  .nav-menu {
    gap: 0.5rem;
  }

  .hero-title {
    font-size: 3.75rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   6. SAFETY BANNER & FAQ ACCORDION
   ========================================================================== */

/* Safety Banner */
.section-padding-sm {
  padding: 3rem 1rem;
}

.safety-banner-container {
  max-width: 1280px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0, 85, 164, 0.4), rgba(11, 17, 32, 0.8));
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
  .safety-banner-container {
    flex-direction: row;
    padding: 2.5rem 3rem;
  }
}

.safety-banner-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.safety-banner-text {
  flex: 1;
}

.safety-banner-text h3 {
  color: #FFFFFF !important;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.safety-banner-text p {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.safety-banner-text strong {
  color: var(--accent-amber-light);
}

.btn-safety-lapor {
  background: var(--accent-amber);
  color: #0B1120 !important;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-safety-lapor:hover {
  background: #FFFFFF;
  color: var(--navy-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
}

/* FAQ Accordion */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-tab-btn {
  background: white;
  border: 1px solid #CBD5E1;
  color: #475569;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.faq-tab-btn:hover,
.faq-tab-btn.active {
  background: #0055A4;
  color: white;
  border-color: #0055A4;
  box-shadow: 0 4px 12px rgba(0, 85, 164, 0.2);
}

.faq-item.faq-extra-item {
  display: none;
}

.faq-item.faq-extra-item.show-extra {
  display: block !important;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
  transition: color var(--transition-fast);
}

.faq-question span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.faq-question span i {
  color: var(--primary);
  font-size: 1.15rem;
  pointer-events: none;
}

.faq-icon {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform var(--transition-smooth);
  pointer-events: none;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

/* Scroll Offset for Sticky Header */
section[id],
.section-padding[id],
.section-padding-sm[id] {
  scroll-margin-top: 90px;
}

.service-row-item:hover {
  transform: translateY(-3px);
  border-color: #0055A4;
  box-shadow: 0 10px 25px rgba(0, 85, 164, 0.12);
}

.service-row-item .row-icon-badge {
  transition: all 0.25s ease;
}

.service-row-item:hover .row-icon-badge {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: scale(1.08);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px solid transparent;
  transition: max-height 0.4s ease, padding 0.35s ease, opacity 0.3s ease, border-color 0.3s ease;
  background-color: var(--bg-main);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 1000px !important;
  padding: 1.25rem 1.5rem !important;
  opacity: 1 !important;
  border-top-color: var(--border-light) !important;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Modal Print Button */
.btn-modal-print {
  background-color: var(--bg-main);
  color: var(--navy-dark);
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.btn-modal-print:hover {
  background-color: var(--border-light);
}

/* ==========================================================================
   7. ACCESSIBILITY & PRINT
   ========================================================================== */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Executive Hub Hero (Option 3 Design) */
.hero-v3 {
  background-color: #F8FAFC;
  padding: 4rem 1.5rem 5rem;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
}

.hero-v3-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-v3-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero-v3-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: #0F172A;
  margin-bottom: 1rem;
}

.hero-v3-title span {
  color: #0055A4;
}

.executive-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.exec-card {
  background: white;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 85, 164, 0.05);
  transition: all 0.25s ease;
  cursor: pointer;
}

.exec-card:hover {
  border-color: #0055A4;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 85, 164, 0.12);
}

.exec-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #EFF6FF;
  color: #0055A4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.exec-card h4 {
  font-size: 1.1rem;
  color: #0F172A;
  margin-bottom: 0.35rem;
}

.exec-card p {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .top-strip,
  .main-header,
  .mobile-drawer,
  .drawer-overlay,
  .btn-header-cta,
  .search-wrapper,
  .quick-pills,
  .stats-ribbon,
  .track-section,
  .footer-section,
  .back-to-top,
  .modal-backdrop,
  .btn-service-syarat,
  .btn-service-online {
    display: none !important;
  }
  
  .hero-section {
    padding: 2rem 0;
    background: none;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  .hero-title span {
    color: black;
    -webkit-text-fill-color: black;
  }
  
  .services-grid,
  .flow-grid,
  .news-grid {
    display: block;
  }
  
  .service-card,
  .flow-step-card,
  .news-card {
    break-inside: avoid;
    margin-bottom: 2rem;
    border: 1px solid #ccc;
    box-shadow: none;
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: underline;
    color: black;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
