/* ==========================================================================
   PT SPATIAL CITRA Arkan (PT SCA) — ENTERPRISE GEOSPATIAL SOLUTIONS
   Executive Modern Design System, Interactive Action Animations & Theme Engine
   ========================================================================== */

:root {
  /* Dynamic Light Theme Tokens (Default) */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-nav: rgba(255, 255, 255, 0.96);
  --border-glass: rgba(203, 213, 225, 0.8);
  --border-highlight: rgba(5, 150, 105, 0.4);

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-subtle: #64748b;
  --text-white: #0f172a;

  --emerald-primary: #059669;
  --emerald-bright: #10b981;
  --emerald-glow: rgba(5, 150, 105, 0.25);
  
  --cyan-bright: #0284c7;
  --cyan-glow: rgba(2, 132, 199, 0.25);

  --amber-accent: #d97706;
  --amber-glow: rgba(217, 119, 6, 0.2);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(5, 150, 105, 0.35);

  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

/* Global Hero Contrast Overrides for Dark Banner Headers */
.detail-hero-sca {
  position: relative;
  color: #ffffff !important;
}
.detail-hero-sca h1,
.detail-hero-sca .hero-title {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7) !important;
}
.detail-hero-sca p,
.detail-hero-sca .hero-desc {
  color: #e2e8f0 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6) !important;
}
.detail-hero-sca .breadcrumb-sca {
  color: #34d399 !important;
}
.detail-hero-sca .breadcrumb-sca a {
  color: #cbd5e1 !important;
}
.detail-hero-sca .breadcrumb-sca a:hover {
  color: #ffffff !important;
}
.detail-hero-sca .sec-label {
  color: #34d399 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

[data-theme="dark"] {
  /* Dark Theme Tokens */
  --bg-main: #080c14;
  --bg-surface: #0e1526;
  --bg-surface-alt: #131c33;
  --bg-card: #111a2e;
  --bg-nav: rgba(14, 21, 38, 0.96);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(16, 185, 129, 0.5);

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;
  --text-white: #ffffff;

  --emerald-primary: #10b981;
  --emerald-bright: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.35);

  --cyan-bright: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.35);

  --amber-accent: #fbbf24;
  --amber-glow: rgba(251, 191, 36, 0.35);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.5);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Topographic Background Pattern Overlay */
.bg-topo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.topo-svg {
  width: 100%;
  height: 100%;
}

.topo-line {
  fill: none;
  stroke: var(--emerald-primary);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  opacity: 0.3;
}

.topo-line-bold {
  fill: none;
  stroke: var(--cyan-bright);
  stroke-width: 1.5;
  opacity: 0.4;
}

/* Typography Utilities */
.mono { font-family: var(--font-mono); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  letter-spacing: -0.02em;
}

/* Layout Wrapper */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glass Executive Navigation with Soft Shadow Effect */
.sca-nav {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
  transition: all 0.3s ease;
}

/* Strict Single-Row Layout Container for Navbar */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  flex-wrap: nowrap !important;
  gap: 12px;
}

.sca-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Extra Prominent Logo for Maximum Text Legibility with Smooth Action Scale */
.sca-nav .brand-logo-img {
  height: 56px !important;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.sca-brand:hover .brand-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 14px rgba(2, 132, 199, 0.4));
}

/* Flush Tightly-Grouped Navigation Menu Right Up Against CTA Button */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  white-space: nowrap;
  margin-left: auto;
  margin-right: 4px;
  flex-shrink: 0;
  flex-wrap: nowrap !important;
}

.nav-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--emerald-primary);
  background: var(--bg-surface-alt);
  transform: translateY(-1.5px);
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  list-style: none;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--bg-surface-alt);
  color: var(--emerald-primary);
  padding-left: 22px;
  transform: translateX(4px);
}

.dropdown-item-icon {
  font-size: 14px;
  color: var(--cyan-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Shimmer & Sheen Animation for Buttons */
@keyframes sheenSweep {
  0% { transform: translateX(-100%) rotate(25deg); }
  25%, 100% { transform: translateX(300%) rotate(25deg); }
}

.btn-nav-cta, .btn-primary-sca, .btn-wa-direct {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-nav-cta::before, .btn-primary-sca::before, .btn-wa-direct::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  transform: translateX(-100%) rotate(25deg);
  animation: sheenSweep 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--emerald-primary), var(--cyan-bright));
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 14px var(--emerald-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-nav-cta:hover {
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 8px 25px var(--emerald-glow);
  opacity: 0.98;
}

.btn-nav-cta:active, .btn-primary-sca:active, .btn-wa-direct:active {
  transform: scale(0.96) !important;
}

/* Hero Command Center with Panoramic Drone Plantation Banner */
.hero-sca {
  position: relative;
  z-index: 1;
  padding-top: 175px;
  padding-bottom: 95px;
  background: linear-gradient(180deg, rgba(6, 11, 24, 0.76) 0%, rgba(6, 11, 24, 0.48) 50%, rgba(6, 11, 24, 0.88) 100%), url('../assets/hero_drone_plantation_hd.jpg') center center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero-sca .geo-meta-badge {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #34d399;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-sca .hero-title {
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}

.hero-sca .hero-desc {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-sca .btn-outline-sca {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.hero-sca .btn-outline-sca:hover {
  background: #ffffff;
  color: #064e3b;
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.hero-sca .hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-sca .stat-box {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero-sca .stat-num {
  color: #34d399;
  text-shadow: 0 2px 12px rgba(52, 211, 153, 0.5);
}

.hero-sca .stat-lbl {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Pulsing Radar Beacon for Geodetic Node */
@keyframes radarPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 14px var(--emerald-bright); }
  100% { transform: scale(0.95); opacity: 0.9; }
}

.geo-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-glass);
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald-primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.geo-meta-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 8px var(--emerald-bright);
  animation: radarPulse 2s infinite ease-in-out;
}

.hero-title {
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--emerald-primary), var(--cyan-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

/* VIBRANT & BRIGHT HIGH-CONTRAST DETAIL HERO OVERLAY STYLING FOR ALL SUB-PAGES */
.detail-hero-sca {
  position: relative;
  z-index: 1;
  padding-top: 175px;
  padding-bottom: 75px;
  background: linear-gradient(135deg, #0b0f19 0%, #0f172a 45%, #064e3b 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #ffffff !important;
}

.detail-hero-sca .breadcrumb-sca {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #34d399 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-shadow: none !important;
}

.detail-hero-sca .breadcrumb-sca a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  text-shadow: none !important;
}

.detail-hero-sca .breadcrumb-sca a:hover {
  color: #34d399 !important;
  transform: translateX(2px);
}

.detail-hero-sca .sec-label {
  color: #34d399 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: none !important;
}

.detail-hero-sca h1,
.detail-hero-sca .hero-title {
  color: #ffffff !important;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: 16px;
}

.detail-hero-sca p,
.detail-hero-sca .hero-desc {
  color: #f1f5f9 !important;
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-sca {
  background: var(--emerald-primary);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-sca:hover {
  background: var(--emerald-bright);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px var(--emerald-glow);
}

.btn-outline-sca {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-glass);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline-sca:hover {
  border-color: var(--emerald-primary);
  color: var(--emerald-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Stats Counter Box with Dynamic Counting Feel */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--emerald-primary);
  display: block;
  transition: transform 0.3s ease;
}

.hero-stats:hover .stat-num {
  transform: scale(1.08);
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Spatial Simulator Card with Interactive Scanline Animation */
.spatial-simulator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.spatial-simulator-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.sim-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-title-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 10px var(--emerald-bright);
  animation: radarPulse 1.5s infinite ease-in-out;
}

.sim-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.sim-tab-btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-tab-btn.active, .sim-tab-btn:hover {
  background: var(--emerald-primary);
  color: #ffffff;
  border-color: var(--emerald-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--emerald-glow);
}

.sim-display-viewport {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000000;
}

/* Radar Scanline Traverse Animation */
@keyframes scanlineSweep {
  0% { top: -10%; opacity: 0; }
  5% { opacity: 0.8; }
  95% { opacity: 0.8; }
  100% { top: 110%; opacity: 0; }
}

.sim-display-viewport::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan-bright) 50%, transparent 100%);
  box-shadow: 0 0 12px var(--cyan-bright);
  animation: scanlineSweep 3.5s infinite linear;
  pointer-events: none;
}

.sim-layer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.5s ease;
}

.sim-display-viewport:hover .sim-layer-img {
  transform: scale(1.04);
}

.sim-overlay-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 40%, rgba(0,0,0,0.85) 100%);
}

.hud-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #ffffff;
  font-weight: 600;
}

.hud-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.legend-bar {
  width: 140px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, #1e293b, #0284c7, #10b981, #f59e0b, #ef4444);
  border: 1px solid rgba(255,255,255,0.4);
}

/* Trust Bar / Logos Strip */
.trust-strip {
  padding: 36px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.trust-strip-title {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 20px;
}

.trust-logos-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-logo-item {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.trust-logo-item:hover { 
  opacity: 1; 
  color: var(--emerald-primary);
  transform: scale(1.08) translateY(-2px);
}

/* Section Standard Layout */
.sca-section {
  padding: 96px 0;
  position: relative;
}

.bg-surface {
  background: var(--bg-surface);
}

.sec-head {
  max-width: 820px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.sec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--emerald-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.sec-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-white);
}

.sec-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 500;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Value Grid / Product Grid Action Cards with 3D Elevation */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.value-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px -10px var(--emerald-glow), var(--shadow-md);
}

.value-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-primary);
  margin-bottom: 20px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon-box {
  transform: scale(1.15) rotate(5deg);
}

.value-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-white);
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

/* Core Services Rows */
/* Core Services 3-Column Grid */
.services-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-row-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.service-row-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px -10px var(--emerald-glow), var(--shadow-md);
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  min-height: 220px;
  background: #000000;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row-card:hover .service-img-wrapper img {
  transform: scale(1.06);
}

.service-badge-num {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.service-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-cat-pill {
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.service-details h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-white);
  line-height: 1.3;
}

.service-details p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  font-weight: 500;
}

.service-output-box {
  background: var(--bg-surface-alt);
  border-left: 3.5px solid var(--emerald-primary);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--text-main);
  margin-bottom: 20px;
  margin-top: auto;
  font-weight: 500;
}

.btn-service-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--emerald-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.btn-service-link:hover { 
  gap: 12px; 
  color: var(--emerald-bright); 
  transform: translateX(4px);
}

/* Interactive Estimator Widget Card */
.estimator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-group {
  margin-bottom: 24px;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-white);
}

.range-val-badge {
  color: var(--emerald-primary);
  font-family: var(--font-mono);
  font-weight: 800;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--emerald-primary);
  box-shadow: 0 0 0 3px var(--emerald-glow);
}

.calc-display-box {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}

.calc-res-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--emerald-primary);
  line-height: 1.1;
}

.calc-res-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 4px;
}

/* Workflow Steps Grid */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.wf-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.wf-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.wf-step {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan-bright);
  margin-bottom: 12px;
  display: block;
}

.wf-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-white);
}

.wf-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}

/* Portfolio Grid & Filter */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.pf-filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pf-filter-btn.active, .pf-filter-btn:hover {
  background: var(--emerald-primary);
  color: #ffffff;
  border-color: var(--emerald-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--emerald-glow);
}

.portfolio-grid-sca {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pf-sca-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-sca-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: 0 16px 32px -8px var(--emerald-glow);
}

.pf-loc-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--emerald-primary);
  margin-bottom: 8px;
}

.pf-sca-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-white);
}

.pf-sca-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  font-weight: 500;
}

.pf-meta-footer {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
  padding-top: 12px;
  border-top: 1px solid var(--border-glass);
  font-weight: 600;
}

/* FAQ Accordion */
.faq-stack {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--border-highlight);
}

.faq-question {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--emerald-primary);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
  font-weight: 500;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-item.active .faq-question span:last-child {
  transform: rotate(45deg);
  color: var(--emerald-primary);
}

/* Executive Contact Form Terminal */
.contact-grid-sca {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.info-box-sca {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 36px;
}

.info-item {
  margin-bottom: 24px;
}

.info-item-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.info-item-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-white);
}

/* WhatsApp Interactive Action Buttons with Radar Glow */
@keyframes waPulseRing {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.btn-wa-direct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  animation: waPulseRing 3s infinite;
}

.btn-wa-direct:hover { 
  background: #20ba5a;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* UNIFIED CONNECTED FLOATING CAPSULE: 3D TOUR, GALERI & WHATSAPP DOCK */
.fab-actions-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: stretch;
  padding: 4px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.4), 0 0 25px rgba(5, 150, 105, 0.2);
  gap: 4px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-actions-dock:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 45px -6px rgba(0, 0, 0, 0.5), 0 0 30px rgba(2, 132, 199, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
}

.fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #ffffff !important;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

.fab-btn-gallery {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.fab-btn-gallery:hover {
  background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  border-color: #ffffff;
}

.fab-btn-wa {
  background: #25d366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.fab-btn-wa:hover {
  background: #1ebc57;
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.fab-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .fab-actions-dock {
    bottom: 14px;
    right: 14px;
    padding: 3px;
    gap: 3px;
  }
  .fab-btn {
    padding: 7px 10px;
    font-size: 11px;
    gap: 4px;
  }
}

/* Responsive Video Embed & YouTube Direct Cards */
.gallery-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #000000;
}

.gallery-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-video-thumb-box {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #080c14;
  border-radius: var(--radius-sm);
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.yt-video-thumb-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.yt-video-thumb-box:hover img {
  transform: scale(1.06);
  filter: brightness(1.1);
}

.yt-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.yt-video-thumb-box:hover .yt-play-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.yt-play-btn-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.5), 0 0 25px rgba(255, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.yt-play-btn-circle svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  margin-left: 3px;
}

.yt-video-thumb-box:hover .yt-play-btn-circle {
  transform: scale(1.18);
  box-shadow: 0 16px 35px rgba(255, 0, 0, 0.7), 0 0 35px rgba(255, 0, 0, 0.6);
}

.btn-yt-watch {
  background: #ff0000;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.btn-yt-watch:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

/* Dedicated YouTube Player Direct Redirect Card */
.yt-custom-player-card {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.yt-thumb-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.yt-thumb-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.yt-custom-player-card:hover .yt-thumb-layer img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.yt-overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.yt-channel-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.yt-channel-avatar img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.yt-title-group {
  overflow: hidden;
}

.yt-video-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  line-height: 1.2;
}

.yt-channel-name {
  font-size: 11.5px;
  color: #cbd5e1;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.yt-play-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.yt-red-play-btn {
  width: 68px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.8));
}

.yt-play-svg {
  width: 100%;
  height: 100%;
}

.yt-custom-player-card:hover .yt-red-play-btn {
  transform: scale(1.18);
  filter: drop-shadow(0 10px 25px rgba(255,0,0,0.7));
}

.yt-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

.yt-left-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yt-action-icon {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.yt-pill-watch {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 100px;
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.yt-custom-player-card:hover .yt-pill-watch {
  background: #ff0000;
  border-color: #ff0000;
  transform: scale(1.05);
}

.yt-logo-mini {
  width: 14px;
  height: 14px;
}

/* —— PT SCA ON-SITE GALLERY (EXACT REPLICA OF SCREENSHOT) —— */
.onsite-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 50px 0 28px 0;
  text-align: center;
}

.onsite-title-line {
  height: 3px;
  width: 48px;
  background: #0284c7;
  border-radius: 10px;
}

.onsite-main-title {
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.onsite-grid-layout {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.onsite-grid-row-2 {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  margin-bottom: 60px;
}

.onsite-photo-card {
  position: relative;
  background: #000000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  aspect-ratio: 3/4;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.onsite-photo-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: #38bdf8;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.4);
  z-index: 5;
}

.onsite-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.onsite-photo-card:hover img {
  transform: scale(1.08);
}

.onsite-zoom-icon {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #ffffff;
}

.onsite-photo-card:hover .onsite-zoom-icon {
  opacity: 1;
}

.onsite-zoom-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.onsite-photo-card:hover .onsite-zoom-btn {
  transform: scale(1);
}

/* —— FULLSCREEN EXACT REPLICA LIGHTBOX MODAL (MATCHING SCREENSHOT) —— */
.onsite-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px 20px;
  user-select: none;
}

.onsite-lightbox.active {
  opacity: 1;
  visibility: visible;
}

/* TOP TOOLBAR: COUNTER ON LEFT, ACTIONS ON RIGHT */
.lightbox-top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  padding: 4px 8px;
}

.lightbox-counter-badge {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
}

.lightbox-action-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lightbox-tool-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  padding: 0;
}

.lightbox-tool-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.lightbox-tool-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

/* CENTER STAGE & SIDE ARROWS */
.lightbox-stage-container {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 10px 0;
}

.lightbox-side-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  width: 50px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 500;
}

.lightbox-side-arrow:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%) scale(1.15);
}

.lightbox-side-arrow.prev { left: 16px; }
.lightbox-side-arrow.next { right: 16px; }

.lightbox-main-img-wrap {
  position: relative;
  max-width: 82vw;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-main-img-wrap img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.lightbox-main-img-wrap.zoomed img {
  transform: scale(1.6);
  cursor: zoom-out;
}

/* BOTTOM CAPTION */
.lightbox-bottom-bar {
  width: 100%;
  text-align: center;
  z-index: 1000;
  padding: 4px 0 8px 0;
}

.lightbox-filename-caption {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  background: rgba(0, 0, 0, 0.45);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .onsite-grid-layout, .onsite-grid-row-2 {
    grid-template-columns: repeat(3, 1fr);
  }
  .onsite-main-title { font-size: 22px; }
  .lightbox-side-arrow.prev { left: 4px; }
  .lightbox-side-arrow.next { right: 4px; }
  .lightbox-main-img-wrap { max-width: 95vw; max-height: 70vh; }
  .lightbox-main-img-wrap img { max-height: 70vh; }
}

/* LIGHTBOX SHARE DROPDOWN MENU */
.lightbox-share-wrapper {
  position: relative;
  display: inline-block;
}

.lightbox-share-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.12);
  min-width: 190px;
  padding: 6px 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.lightbox-share-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lightbox-share-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lightbox-share-item:hover {
  background: #f1f5f9;
  color: #059669;
}

.lightbox-share-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lightbox-share-item.fb svg { color: #1877f2; }
.lightbox-share-item.x-tw svg { color: #0f172a; }
.lightbox-share-item.pin svg { color: #e60023; }
.lightbox-share-item.dl svg { color: #059669; }

.yt-player-interactive {
  position: relative;
  background: #000000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  user-select: none;
  cursor: pointer;
}

.yt-player-interactive video.yt-native-video,
.yt-player-interactive canvas.yt-canvas-stream,
.yt-player-interactive .yt-bg-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Top Controls Header */
.yt-ctrl-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 14px 28px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: auto;
}

.yt-ctrl-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.yt-channel-avatar-sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.yt-channel-avatar-sm img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.yt-title-box {
  overflow: hidden;
}

.yt-main-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  line-height: 1.2;
}

.yt-sub-channel {
  font-size: 11.5px;
  color: #cbd5e1;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.yt-ctrl-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yt-top-icon-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

.yt-top-icon-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

.yt-cc-badge {
  font-size: 11px;
  font-weight: 800;
  border: 1.5px solid #ffffff;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1;
}

/* Center Play Button Overlay */
.yt-center-play-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8;
  pointer-events: none;
}

.yt-big-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

.yt-big-play-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  margin-left: 3px;
}

.yt-player-interactive:hover .yt-big-play-btn {
  transform: scale(1.12);
  background: rgba(255, 0, 0, 0.85);
  border-color: #ff0000;
}

.yt-player-interactive.is-playing .yt-big-play-btn {
  opacity: 0;
  transform: scale(0.7);
}
.yt-player-interactive.is-playing:hover .yt-big-play-btn {
  opacity: 0.9;
  transform: scale(0.9);
}

/* Bottom Controls Bar */
.yt-ctrl-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 14px 10px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Progress bar */
.yt-progress-bar-wrap {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: height 0.15s ease;
}

.yt-progress-bar-wrap:hover {
  height: 6px;
}

.yt-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3.5%;
  background: #ff0000;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.yt-progress-scrubber {
  position: absolute;
  top: 50%;
  left: 3.5%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 0 6px rgba(255,0,0,0.8);
  transition: left 0.1s linear;
}

/* Bottom Controls Row */
.yt-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #ffffff;
}

.yt-bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yt-time-display {
  font-weight: 700;
  font-size: 11.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.yt-pill-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
}

.yt-pill-icon-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.yt-bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yt-fullscreen-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

.yt-brand-logo-text {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.yt-brand-logo-text svg {
  width: 20px;
  height: 20px;
}

/* Cinematic Video Modal Theater Lightbox */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.video-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-container {
  width: 100%;
  max-width: 920px;
  background: #0b0f19;
  border: 1.5px solid var(--border-highlight);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px var(--emerald-glow);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-backdrop.active .video-modal-container {
  transform: scale(1) translateY(0);
}

.video-modal-header {
  padding: 16px 22px;
  background: #0f172a;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-modal-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  background: #ff0000;
  border-color: #ff0000;
  transform: scale(1.1);
}

.video-modal-screen {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000000;
}

.video-modal-screen iframe,
.video-modal-screen video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Multi-Column Vibrant Emerald-to-Cyan Gradient Footer */
.sca-footer {
  background: linear-gradient(135deg, #059669 0%, #00a887 45%, #0284c7 100%);
  color: #ffffff !important;
  padding-top: 72px;
  padding-bottom: 0;
  position: relative;
  overflow-x: hidden;
  border-top: none;
}

/* Force All Footer Text, Links, and Labels to Pure Crisp White (#FFFFFF) */
.sca-footer p,
.sca-footer span,
.sca-footer div,
.sca-footer a:not(.btn-wa-direct),
.sca-footer h4,
.sca-footer .info-item-label {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  font-weight: 600;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff !important;
  margin-bottom: 20px;
  text-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:not(.btn-wa-direct) {
  font-size: 13px;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  opacity: 0.95;
}

.footer-col a:not(.btn-wa-direct):hover {
  opacity: 1;
  text-decoration: underline;
  transform: translateX(3px);
  display: inline-block;
}

/* Prominent & Large Logo in Footer Column */
.footer-col .brand-logo-img {
  height: 105px !important;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-col .brand-logo-img:hover {
  transform: scale(1.08);
}

/* Executive Social Media Icons (Follow Us Row) */
.footer-social-box {
  margin-top: 20px;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  padding: 0 !important;
  margin: 0;
  line-height: 1;
}

.social-icon-btn svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  fill: #ffffff !important;
  color: #ffffff !important;
  display: block !important;
  margin: auto !important;
  transform: none !important;
  transition: none !important;
  flex-shrink: 0;
}

.social-icon-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  border-color: #ffffff;
}

.social-icon-btn[aria-label="LinkedIn"]:hover,
.social-icon-btn[title="LinkedIn"]:hover {
  background: #0077b5 !important;
  border-color: #0077b5 !important;
}

.social-icon-btn[aria-label="Instagram"]:hover,
.social-icon-btn[title="Instagram"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border-color: #d6249f !important;
}

.social-icon-btn[aria-label="TikTok"]:hover,
.social-icon-btn[title="TikTok"]:hover {
  background: #000000 !important;
  border-color: #00f2fe !important;
}

.social-icon-btn[aria-label*="Twitter"]:hover,
.social-icon-btn[aria-label*="X"]:hover,
.social-icon-btn[title*="Twitter"]:hover,
.social-icon-btn[title*="X"]:hover {
  background: #000000 !important;
  border-color: #ffffff !important;
}

.social-icon-btn[aria-label="Facebook"]:hover,
.social-icon-btn[title="Facebook"]:hover {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
}

.social-icon-btn:hover svg {
  transform: none !important;
  fill: #ffffff !important;
}

.social-icon-btn:active {
  transform: scale(0.94);
}

/* ==========================================================================
   APLIKASI SECTION — EMERALD GREEN GRADIENT THEME
   ========================================================================== */
.app-section {
  padding: 85px 0;
  background: linear-gradient(160deg, #061a0f 0%, #0a2218 40%, #061a10 70%, #081c14 100%);
  border-top: 1px solid rgba(16, 185, 129, 0.3);
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
}

.app-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(5, 150, 105, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 80% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.app-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.app-title-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.app-main-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.app-lead-text {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 55px auto;
  font-size: 15px;
  line-height: 1.7;
  color: #a7f3d0;
  font-weight: 400;
}

.app-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.app-feature-card {
  background: rgba(5, 150, 105, 0.06);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  padding: 44px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 230px;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.app-feature-card:hover {
  transform: translateY(-8px);
  background: rgba(16, 185, 129, 0.12);
  border-color: #10b981;
  box-shadow:
    0 16px 40px rgba(5, 150, 105, 0.3),
    0 0 0 1px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(52, 211, 153, 0.15);
}

.app-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.25);
  transition: all 0.3s ease;
}

.app-feature-card:hover .app-icon-wrap {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.app-icon-wrap svg {
  width: 34px;
  height: 34px;
  stroke: #34d399;
  stroke-width: 1.8;
  fill: none;
  transition: stroke 0.3s ease;
}

.app-feature-card:hover .app-icon-wrap svg {
  stroke: #6ee7b7;
}

.app-card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.app-card-desc {
  font-size: 13px;
  color: #a7f3d0;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 992px) {
  .app-grid-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .app-grid-layout {
    grid-template-columns: 1fr;
  }
  .app-main-title {
    font-size: 24px;
  }
  .app-lead-text {
    font-size: 13.5px;
  }
}

/* Crisp White Horizontal Separator Line like PT Spatial Citra Arkan Official Website */
.footer-bottom {
  background: transparent;
  padding: 24px 0;
  margin-top: 48px;
  border-top: 2px solid #ffffff !important;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff !important;
}

.footer-bottom-inner div, 
.footer-bottom-inner a {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Dynamic Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Click Ripple Feedback Effect Container */
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  background-color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================================================
   MOBILE NAVIGATION, HAMBURGER DRAWER & RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

/* Mobile Hamburger Toggle Button (Menu Garis 3 HP) */
.sca-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4.5px;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  color: #1e3a8a;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sca-nav-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: #1e3a8a;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.sca-nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: #1e3a8a; /* Deep blue exact to screenshot */
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

[data-theme="dark"] .sca-nav-toggle {
  background: #111a2e;
  border-color: rgba(255, 255, 255, 0.2);
  color: #38bdf8;
}

[data-theme="dark"] .sca-nav-toggle svg {
  stroke: #38bdf8;
}

[data-theme="dark"] .sca-nav-toggle span {
  background: #38bdf8;
}

.sca-nav-toggle:hover {
  background: #f1f5f9;
  border-color: #1e3a8a;
}

.sca-nav-toggle.active {
  background: #1e3a8a !important;
  border-color: #1e3a8a !important;
  color: #ffffff !important;
}

.sca-nav-toggle.active svg {
  stroke: #ffffff !important;
}

.sca-nav-toggle.active span {
  background: #ffffff !important;
}

.sca-nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.sca-nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.sca-nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Drawer Container & Backdrop */
.nav-drawer-cta {
  display: none !important;
}

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.nav-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Rules for Tablet & Mobile Screen Sizes */
@media (max-width: 992px) {
  .sca-nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    color: #047857 !important;
    cursor: pointer !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
    z-index: 1001 !important;
  }
  .sca-nav-toggle svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    stroke: #047857 !important;
  }
  .sca-nav-toggle.active {
    background: #047857 !important;
    border-color: #047857 !important;
    color: #ffffff !important;
  }
  .sca-nav-toggle.active svg {
    stroke: #ffffff !important;
  }

  .nav-container {
    height: 64px !important;
    padding: 0 16px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .sca-nav .brand-logo-img {
    height: 46px !important;
  }

  /* HIDE Telekonsultasi Spasial from mobile top navbar (Moved to inside mobile drawer) */
  .nav-actions {
    display: none !important;
  }

  /* SHOW Contact Button inside Mobile Drawer Menu */
  .nav-drawer-cta {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-glass);
    width: 100%;
  }

  .nav-drawer-cta a {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 800;
  }

  /* Mobile Drawer Menu */
  .nav-menu {
    position: fixed;
    top: 102px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 102px);
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-glass);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px 18px 50px 18px;
    gap: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.35s;
    z-index: 998;
    margin: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu > li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    background: var(--bg-surface-alt);
    border: 1px solid transparent;
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(5, 150, 105, 0.12);
    border-color: rgba(5, 150, 105, 0.3);
    color: var(--emerald-primary);
    transform: none;
  }

  /* Mobile Dropdown Accordion */
  .nav-item-dropdown {
    position: static;
  }

  .nav-item-dropdown:hover .dropdown-menu {
    opacity: initial;
    visibility: initial;
    transform: none;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(5, 150, 105, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 6px 0;
    display: none;
    box-shadow: none;
    min-width: 100%;
  }

  .nav-item-dropdown.open .dropdown-menu {
    display: block;
    animation: fadeInAccordion 0.25s ease;
  }

  @keyframes fadeInAccordion {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .dropdown-item {
    padding: 12px 18px;
    font-size: 13.5px;
  }

  .nav-item-dropdown .dropdown-arrow {
    font-size: 11px;
    transition: transform 0.25s ease;
  }

  .nav-item-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--emerald-primary);
  }

  /* Drawer Mobile CTA Button Container */
  .nav-drawer-cta {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .nav-drawer-cta .btn-nav-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }

  /* Grids & Cards */
  .hero-grid { grid-template-columns: 1fr; }
  .services-stack { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .portfolio-grid-sca { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .estimator-card, .contact-grid-sca { grid-template-columns: 1fr; }
}

/* Smartphone & Screen <= 768px */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .wrap {
    padding: 0 16px;
  }

  /* Sections Spacing */
  .sca-section {
    padding: 60px 0;
  }

  /* Hero Command Center */
  .hero-sca {
    padding-top: 108px;
    padding-bottom: 55px;
  }

  .detail-hero-sca {
    padding-top: 108px;
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: clamp(26px, 6.5vw, 36px);
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .detail-hero-sca .hero-title {
    font-size: clamp(24px, 6vw, 34px);
    margin-bottom: 12px;
  }

  .hero-desc, .detail-hero-sca .hero-desc {
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .hero-action-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-action-row .btn-primary-sca,
  .hero-action-row .btn-outline-sca {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 20px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
  }

  .hero-sca .stat-box {
    padding: 14px 16px;
  }

  .hero-sca .stat-num {
    font-size: 24px;
  }

  /* Section Headers */
  .sec-head {
    margin-bottom: 34px;
  }

  .sec-title {
    font-size: clamp(22px, 5.5vw, 30px);
  }

  .sec-subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Services Rows */
  .services-stack {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-img-wrapper {
    min-height: 200px;
    height: 200px;
  }

  .service-details {
    padding: 22px 18px;
  }

  .service-details h3 {
    font-size: 19px;
  }

  .service-details p {
    font-size: 13.5px;
  }

  .service-output-box {
    padding: 10px 14px;
    font-size: 12.5px;
  }

  /* Product Catalog Cards */
  .product-catalog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 24px !important;
  }

  .product-catalog-card {
    grid-template-columns: 1fr !important;
  }

  .product-catalog-card .product-thumb-frame,
  .product-catalog-card > div:first-child {
    min-height: 180px;
    height: 180px;
  }

  /* Grids Stack to 1 Column */
  .value-grid, 
  .portfolio-grid-sca, 
  .workflow-grid,
  .about-split-grid,
  .vm-grid { 
    grid-template-columns: 1fr !important; 
    gap: 18px;
  }

  /* Stats About Grid */
  .stats-about-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    margin: 32px 0 !important;
  }

  .stat-card-about {
    padding: 20px 14px !important;
  }

  .stat-card-about .num {
    font-size: 24px !important;
  }

  .stat-card-about .lbl {
    font-size: 12px !important;
  }

  /* Estimator Widget Card */
  .estimator-card {
    padding: 24px 18px;
    gap: 24px;
  }

  .calc-display-box {
    padding: 20px 16px;
  }

  .calc-res-num { 
    font-size: 26px; 
  }

  /* Contact Form Card */
  .contact-form-card, 
  .info-box-sca {
    padding: 24px 18px;
  }

  /* Trust Strip */
  .trust-strip {
    padding: 24px 0;
  }

  .trust-logos-grid {
    gap: 16px;
  }

  .trust-logo-item {
    font-size: 12px;
  }

  /* Footer */
  .sca-footer {
    padding-top: 50px;
  }

  .footer-top { 
    grid-template-columns: 1fr !important; 
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer-col .brand-logo-img { 
    height: 72px !important; 
  }

  .footer-bottom {
    margin-top: 32px;
    padding: 20px 0;
  }

  .footer-bottom-inner { 
    flex-direction: column; 
    text-align: center; 
    justify-content: center; 
    gap: 8px;
  }

  /* Floating Dock Widget */
  .fab-actions-dock {
    bottom: 14px;
    right: 14px;
    padding: 4px;
    gap: 4px;
  }

  .fab-btn {
    padding: 8px 12px;
    font-size: 11.5px;
    gap: 5px;
  }

  /* Video Modal Theater */
  .video-modal-container {
    width: 96vw;
    margin: 10px;
  }

  .video-modal-header {
    padding: 12px 16px;
  }

  .video-modal-title {
    font-size: 13px;
  }
}

/* Small Smartphone Screen <= 480px */
@media (max-width: 480px) {
  .nav-container {
    height: 62px !important;
    padding: 0 12px;
  }

  .sca-nav .brand-logo-img {
    height: 42px !important;
  }

  .nav-menu {
    top: 98px;
    height: calc(100vh - 98px);
    padding: 16px 14px 40px 14px;
  }

  .hero-sca, .detail-hero-sca {
    padding-top: 118px !important;
    padding-bottom: 45px;
  }

  .geo-meta-badge {
    font-size: 9.5px;
    padding: 4px 10px;
    gap: 6px;
    margin-bottom: 16px;
  }

  .stats-about-grid {
    grid-template-columns: 1fr !important;
  }

  .onsite-grid-layout, .onsite-grid-row-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .social-icons-row {
    gap: 8px;
  }

  .social-icon-btn {
    width: 38px;
    height: 38px;
  }
}



/* ==========================================================================
   BLOG & ARTICLES SYSTEM STYLES (PT SPATIAL CITRA ARKAN)
   ========================================================================== */

/* Blog Search & Filter Bar */
.blog-filter-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto 24px auto;
}

.blog-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-glass);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text-main);
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.blog-search-input:focus {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 0 4px var(--emerald-glow), 0 6px 20px rgba(0, 0, 0, 0.08);
}

.blog-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.blog-categories-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-cat-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.blog-cat-btn:hover {
  border-color: var(--emerald-primary);
  color: var(--emerald-primary);
  transform: translateY(-1px);
}

.blog-cat-btn.active {
  background: var(--emerald-primary);
  color: #ffffff !important;
  border-color: var(--emerald-primary);
  box-shadow: 0 4px 14px var(--emerald-glow);
}

/* Featured Article Card */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12), 0 0 30px var(--emerald-glow);
}

.blog-featured-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.blog-featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-featured-card:hover .blog-featured-img-wrap img {
  transform: scale(1.06);
}

.blog-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--emerald-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.blog-featured-content {
  padding: 36px 36px 36px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 14px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-featured-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.blog-featured-card:hover .blog-featured-title {
  color: var(--emerald-primary);
}

.blog-featured-excerpt {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Articles Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.blog-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0f172a;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.08);
}

.blog-cat-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--emerald-primary);
}

.blog-card-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.blog-read-more {
  color: var(--emerald-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Article Reader Modal */
.article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 20px;
}

.article-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.article-modal-container {
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
  transform: translateY(20px) scale(0.96);
  transition: all 0.35s ease;
}

.article-modal-backdrop.active .article-modal-container {
  transform: translateY(0) scale(1);
}

.article-modal-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.article-modal-close {
  background: #f1f5f9;
  border: none;
  color: #475569;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.article-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.article-modal-body {
  padding: 32px 40px 48px 40px;
  color: #334155;
  line-height: 1.8;
  font-size: 15.5px;
}

@media (max-width: 992px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
  }
  .blog-featured-content {
    padding: 24px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .article-modal-body {
    padding: 24px 20px;
  }
}


/* ==========================================================================
   TOP CONTACT & SOCIAL ANNOUNCEMENT BAR (PT SPATIAL CITRA ARKAN EMERALD THEME)
   ========================================================================== */
.sca-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #047857;
  background: linear-gradient(90deg, #059669 0%, #047857 50%, #064e3b 100%);
  color: #ffffff;
  z-index: 1000;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.top-bar-item:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.top-icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.top-follow-label {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.top-social-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-social-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.top-social-btn:hover {
  transform: scale(1.15);
  background: #34d399;
  color: #ffffff;
}

/* Adjust fixed position of navbar when top bar is present */
.sca-nav {
  top: 40px !important;
}

/* Hero padding adjustment for top bar + navbar height */
.hero-sca, .detail-hero-sca {
  padding-top: 155px !important;
}

@media (max-width: 992px) {
  .sca-top-bar {
    height: 38px;
  }
  .sca-nav {
    top: 38px !important;
  }
  .hero-sca, .detail-hero-sca {
    padding-top: 135px !important;
  }
  .top-bar-container {
    padding: 0 12px !important;
  }
  .top-bar-left, .top-bar-right {
    gap: 8px !important;
  }
  .top-follow-label {
    display: none !important;
  }
  /* Hide all text inside top-bar items on mobile & tablet, showing ONLY icons */
  .top-bar-item > span:not(.top-icon-circle),
  .top-bar-text {
    display: none !important;
  }
  .hide-mobile-top {
    display: inline-flex !important;
  }
  .top-icon-circle, .top-social-btn {
    width: 24px !important;
    height: 24px !important;
  }
  .top-icon-circle svg, .top-social-btn svg {
    width: 12px !important;
    height: 12px !important;
  }
  .top-social-row {
    gap: 6px !important;
  }
}

